Bug 44975 - 51_samba4.56evaluate_windows_gpo.test fails
51_samba4.56evaluate_windows_gpo.test fails
Status: CLOSED FIXED
Product: UCS Test
Classification: Unclassified
Component: Samba
unspecified
Other Linux
: P5 normal (vote)
: ---
Assigned To: Florian Best
http://jenkins.knut.univention.de:808...
:
Depends on: 41571
Blocks:
  Show dependency treegraph
 
Reported: 2017-07-11 20:19 CEST by Florian Best
Modified: 2019-02-20 10:08 CET (History)
1 user (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 Florian Best univentionstaff 2017-07-11 20:19:48 CEST
[2017-07-11 16:55:42.520832] Looking for 'IP-0AD2F1A6' host ip address:
[2017-07-11 16:55:42.555500] Host IP is: 10.210.241.166
(2017-07-11 16:55:42.555540) Traceback (most recent call last):
(2017-07-11 16:55:42.555554)   File "56evaluate_windows_gpo", line 484, in <module>
(2017-07-11 16:55:42.555566)     445, dns_get_host_ip(windows_client['hostname']), loglevel=0)
(2017-07-11 16:55:42.555577)   File "/usr/lib/pymodules/python2.7/univention/winexe.py", line 99, in __init__
(2017-07-11 16:55:42.555586)     raise ValueError('--loglevel must be one of 1, 2, 3 or 4!')
(2017-07-11 16:55:42.555596) ValueError: --loglevel must be one of 1, 2, 3 or 4!
Comment 1 Arvid Requate univentionstaff 2017-07-11 21:29:08 CEST
Apparently the job installs an old version of ucs-windows-tools. Stefan knows the details. After the Errata-Update I've announced it as unmaintained to the errata scope. No clue what's required here..
Comment 2 Florian Best univentionstaff 2017-07-14 08:30:30 CEST
If I look at the blame in winexe.py I see that a check for the value of loglevel has been added in Bug #41571 / r78040. This check is still present with the latest ucs-windows-tools version. So I set the loglevel to 4.

ucs-test (7.0.22-28):
r81165 | Bug #44975: fix loglevel parameter (introduced by Bug #41571)