Bug 45373 - Test case 56evaluate_windows_gpo fails in Jenkins
Test case 56evaluate_windows_gpo fails in Jenkins
Status: REOPENED
Product: UCS Test
Classification: Unclassified
Component: Samba
unspecified
Other Linux
: P5 normal (vote)
: ---
Assigned To: Samba maintainers
:
Depends on: 39186
Blocks:
  Show dependency treegraph
 
Reported: 2017-09-09 08:32 CEST by Stefan Gohmann
Modified: 2020-05-06 17:00 CEST (History)
2 users (show)

See Also:
What kind of report is it?: Development Internal
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Gohmann univentionstaff 2017-09-09 08:32:23 CEST
The test case 51_samba4.56evaluate_windows_gpo.test fails in Jenkins:

http://jenkins.knut.univention.de:8080/job/UCS-4.2/job/UCS-4.2-2/job/AutotestJoin/8/SambaVersion=s4,Systemrolle=slave/testReport/51_samba4/56evaluate_windows_gpo/test/

=> Execute: . utils.sh; install_gpmc_windows 10.210.247.217 autotest095.local on [slave095]

[slave095]      ++ release_update=public
[slave095]      ++ errata_update=testing
[slave095]      ++ JOB_NAME=UCS-4.2/UCS-4.2-2/AutotestJoin/SambaVersion=s4,Systemrolle=slave
[slave095]      + install_gpmc_windows 10.210.247.217 autotest095.local
[slave095]      + local HOST=10.210.247.217
[slave095]      + local DOMAIN=autotest095.local
[slave095]      + local DOMAIN_ADMIN_ACCOUNT=administrator
[slave095]      ++ ucr get tests/domainadmin/pwd
[slave095]      + local DOMAIN_ADMIN_PWD=Univention@99
[slave095]      + local LOCAL_ADMIN_ACCOUNT=testadmin
[slave095]      + local LOCAL_ADMIN_PWD=Univention@99
[slave095]      + python -c '
[slave095]      import univention.winexe
[slave095]      win=univention.winexe.WinExe('\''autotest095.local'\'', '\''administrator'\'', '\''Univention@99'\'', '\''testadmin'\'', '\''Univention@99'\'', 445, '\''10.210.247.217'\'')
[slave095]      win.add_gpo_management_console()
[slave095]      '
[slave095]      Traceback (most recent call last):
[slave095]        File "<string>", line 4, in <module>
[slave095]        File "/usr/lib/pymodules/python2.7/univention/winexe.py", line 417, in add_gpo_management_console
[slave095]          self.winexec("univention-install-gpmc", self.domain)
[slave095]        File "/usr/lib/pymodules/python2.7/univention/winexe.py", line 251, in winexec
[slave095]          self.__copy_scripts()
[slave095]        File "/usr/lib/pymodules/python2.7/univention/winexe.py", line 189, in __copy_scripts
[slave095]          raise WinExeFailed("failed to copy scripts to %s  (%s, %s, %s)" % (self.client, ret, stdout, stderr))
[slave095]      univention.winexe.WinExeFailed: failed to copy scripts to 10.210.247.217  (1, session setup failed: NT_STATUS_LOGON_FAILURE, None)
*** Failed 1: . utils.sh; install_gpmc_windows 10.210.247.217 autotest095.local
Comment 2 Stefan Gohmann univentionstaff 2017-09-09 08:40:51 CEST
I've disabled the test case in 4.2-2. Please re-enable the test case once the issue is fixed:

459e5ca
by Stefan Gohmann at 2017-09-09T08:37:37+02:00
51_samba4/56evaluate_windows_gpo: skip test case (Bug #45373)
Comment 3 Felix Botner univentionstaff 2017-11-28 16:57:15 CET
i have also disabled the windows client in scenarios/autotest-095-slave-s4.cfg
Comment 4 Philipp Hahn univentionstaff 2020-05-06 15:07:59 CEST
The test has been removed due to the removal of winexe.
Comment 5 Arvid Requate univentionstaff 2020-05-06 16:54:10 CEST
Still we want this test case to get fixed, using the new winrm methods. Please restore the test case.
Comment 6 Arvid Requate univentionstaff 2020-05-06 17:00:05 CEST
Has been restored:

[4.4-4] dd99355507 Revert "Bug #39186: Remove winexe tests"
 .../tests/51_samba4/56evaluate_windows_gpo         | 582 +++++++++++++++++++++
 1 file changed, 582 insertions(+)