Bug 44975

Summary: 51_samba4.56evaluate_windows_gpo.test fails
Product: UCS Test Reporter: Florian Best <best>
Component: SambaAssignee: Florian Best <best>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P5 CC: requate
Version: unspecified   
Target Milestone: ---   
Hardware: Other   
OS: Linux   
URL: http://jenkins.knut.univention.de:8080/job/UCS-4.2/job/UCS-4.2-1/job/AutotestJoin/SambaVersion=s4,Systemrolle=slave/lastCompletedBuild/testReport/51_samba4/56evaluate_windows_gpo/test/
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:
Bug Depends on: 41571    
Bug Blocks:    

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)