Bug 42813 - AD Connector tests are no longer executed
AD Connector tests are no longer executed
Status: RESOLVED FIXED
Product: UCS Test
Classification: Unclassified
Component: AD Connector
unspecified
Other Linux
: P5 normal (vote)
: ---
Assigned To: Stefan Gohmann
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2016-11-02 07:02 CET by Stefan Gohmann
Modified: 2016-11-02 07:18 CET (History)
0 users

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 2016-11-02 07:02:40 CET
All AD Connector tests are currently skipped:
 http://jenkins.knut.univention.de:8080/job/UCS-4.1/job/UCS-4.1-3/job/ADConnectorMultiEnv/lastCompletedBuild/testReport/

It worked with 4.1-2:
http://jenkins.knut.univention.de:8080/job/UCS-4.1/job/UCS-4.1-2/job/ADConnectorMultiEnv/lastCompletedBuild/testReport/

From the logfile:
------------------------------------------------------------------------------
Setting connector/ad/ldap/ssl
Execute: . utils.sh; promote_ad_w2k8r2 10.210.242.1 autotest232win.local
Traceback (most recent call last):
  File "<string>", line 4, in <module>
  File "/usr/lib/pymodules/python2.7/univention/winexe.py", line 434, in promote_ad
    self.set_local_user_password(self.domain_admin, self.domain_password)
  File "/usr/lib/pymodules/python2.7/univention/winexe.py", line 445, in set_local_user_password
    self.winexec("cmd /C net user %s" % (user + " " + password), domain_mode=False)
  File "/usr/lib/pymodules/python2.7/univention/winexe.py", line 231, in winexec
    return self.__run_command(cmd, dont_fail=dont_fail)
  File "/usr/lib/pymodules/python2.7/univention/winexe.py", line 154, in __run_command
    raise WinExeFailed("command '%s' failed with: %s %s" % (" ".join(cmd), stdout, stderr))
univention.winexe.WinExeFailed: command 'winexe --interactive=0 -U testadmin%Univention@99 //10.210.242.1 cmd /C net user administrator univention' failed with: The password does not meet the password policy requirements. Check the minimum password length, password complexity and password history requirements.

More help is available by typing NET HELPMSG 2245.

 None
*** Failed 1: . utils.sh; promote_ad_w2k8r2 10.210.242.1 autotest232win.local
------------------------------------------------------------------------------
Comment 1 Stefan Gohmann univentionstaff 2016-11-02 07:18:48 CET
This was introduced by r71819. promote_ad now uses the local ucs-test administrator password. The local ucs-test administrator password is now set before promote_ad is started:
4.1-3: r73998
4.1-4: r73999
4.2-0: r74000