Bug 42867 - Test case 80_docker.30_installed.test fails
Test case 80_docker.30_installed.test fails
Status: NEW
Product: UCS Test
Classification: Unclassified
Component: App Center
unspecified
Other Linux
: P5 normal (vote)
: ---
Assigned To: App Center maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2016-11-08 06:52 CET by Stefan Gohmann
Modified: 2017-01-02 16:09 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-08 06:52:56 CET
The test case 80_docker.30_installed.test fails in Jenkins:

http://jenkins.knut.univention.de:8080/job/UCS-4.1/job/UCS-4.1-4/job/AutotestJoin/SambaVersion=s3,Systemrolle=member/12/testReport/junit/80_docker/30_installed/test/


*** BEGIN *** ['/usr/bin/python', '30_installed'] ***
*** 80_docker/30_installed *** Test repository/app_center/installed with Docker/NonDocker Apps ***
*** START TIME: 2016-11-07 19:56:18 ***
Setting update/secure_apt
Create appcenter/index/verify
Setting repository/app_center/server
File: /etc/apt/apt.conf.d/20secureapt
<dockertest.Appcenter object at 0x248d650>
dpkg-buildpackage: Warnung: Verwendung eines root-werde-Befehls, obwohl bereits root
dpkg-buildpackage: Quellpaket day68b87jb
dpkg-buildpackage: Quellversion 5.9.1.2.2.1
dpkg-buildpackage: Quellen geändert durch Univention GmbH <packages@univention.de>
dpkg-buildpackage: Warnung: debian/rules ist nicht ausführbar: wird korrigiert
 dpkg-source --before-build day68b87jb
dpkg-buildpackage: Host-Architektur amd64
 fakeroot debian/rules clean

[...]

Fetched 0 B in 0s (0 B/s)

07.11.16 19:58:50.651 MODULE      ( ERROR   ) : Registering LDAP object failed. {'desc': "Can't contact LDAP server"}
Registration of the application in LDAP failed. It will be retried every time the App Center module is opened.

07.11.16 19:58:50.696 MODULE      ( WARN    ) : Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.7/univention/management/console/modules/appcenter/app_center.py", line 1740, in install
    self.tell_ldap(component_manager.ucr, package_manager)
  File "/usr/lib/pymodules/python2.7/univention/management/console/modules/appcenter/app_center.py", line 1530, in tell_ldap
    lo, pos = get_machine_connection(write=True)
  File "/usr/lib/pymodules/python2.7/univention/management/console/ldap.py", line 96, in get_machine_connection
    return connection()
  File "/usr/lib/pymodules/python2.7/univention/management/console/ldap.py", line 132, in _decorated
    kwargs[loarg], kwargs[poarg] = lo, po = getter()
  File "/usr/lib/pymodules/python2.7/univention/management/console/ldap.py", line 123, in getter
    conn = connection()
  File "/usr/lib/pymodules/python2.7/univention/management/console/ldap.py", line 61, in connection
    return _getMachineConnection(**kwargs)
  File "/usr/lib/pymodules/python2.7/univention/admin/uldap.py", line 79, in getMachineConnection
    lo = univention.uldap.getMachineConnection(start_tls, decode_ignorelist=decode_ignorelist, ldap_master=ldap_master)
  File "/usr/lib/pymodules/python2.7/univention/uldap.py", line 84, in getMachineConnection
    return access(host=ucr['ldap/master'], port=port, base=ucr['ldap/base'], binddn=ucr['ldap/hostdn'], bindpw=bindpw, start_tls=start_tls, decode_ignorelist=decode_ignorelist, reconnect=reconnect)
  File "/usr/lib/pymodules/python2.7/univention/uldap.py", line 150, in __init__
    self.__open(ca_certfile)
  File "/usr/lib/pymodules/python2.7/univention/uldap.py", line 185, in __open
    self.lo.start_tls_s()
  File "/usr/lib/python2.7/dist-packages/ldap/ldapobject.py", line 884, in start_tls_s
    res = self._apply_method_s(SimpleLDAPObject.start_tls_s,*args,**kwargs)
  File "/usr/lib/python2.7/dist-packages/ldap/ldapobject.py", line 865, in _apply_method_s
    self.reconnect(self._uri,retry_max=self._retry_max,retry_delay=self._retry_delay)
  File "/usr/lib/python2.7/dist-packages/ldap/ldapobject.py", line 839, in reconnect
    raise e
SERVER_DOWN: {'desc': "Can't contact LDAP server"}

07.11.16 19:59:00.717 MODULE      ( ERROR   ) : Registering LDAP object failed. {'desc': "Can't contact LDAP server"}