Univention Bugzilla – Bug 34508
66_udm-computers.02_all_roles_creation_with_all_attributes.test fails now and then
Last modified: 2023-03-25 06:42:38 CET
With some KeyError: macm Note that in the manager modules there is a "raise e" which should be changed to a "raise" in _ldap_post_create() Here is what I got in the test logs: raise UCSTestUDM_CreateUDMObjectFailed({'module': modulename, 'kwargs': kwargs, 'returncode': child.returncode, 'stdout': stdout, 'stderr': stderr}) univention.testing.udm.UCSTestUDM_CreateUDMObjectFailed: {'returncode': 3, 'stdout': 'Traceback (most recent call last): File "/usr/share/univention-directory-manager-tools/univention-cli-server", line 222, in doit output = univention.admincli.admin.doit(arglist) File "/usr/lib/pymodules/python2.6/univention/admincli/admin.py", line 393, in doit out=_doit(arglist) File "/usr/lib/pymodules/python2.6/univention/admincli/admin.py", line 804, in _doit dn=object.create() File "/usr/lib/pymodules/python2.6/univention/admin/handlers/__init__.py", line 333, in create return self._create() File "/usr/lib/pymodules/python2.6/univention/admin/handlers/__init__.py", line 766, in _create raise e KeyError: 'macm' ', 'stderr': '', 'module': 'computers/ubuntu', 'kwargs': {'domain': 'qe0y2nzaxb.etof2m1mgl', 'shell': 'vyhlz7v4er', 'description': '0d4495euyo', 'unixhome': '/home/', 'inventoryNumber': 'b5jty6mbq3', 'ip': '10.20.30.2', 'primaryGroup': 'cn=v8b0zyv55q,cn=groups,dc=autotest121,dc=local', 'dnsEntryZoneReverse': 'zoneName=30.20.10.in-addr.arpa,dc=autotest121,dc=local', 'network': 'cn=yc80p28d4q,dc=autotest121,dc=local', 'mac': '01:23:45:67:89:ab', 'dhcpEntryZone': 'cn=ovto4whrhm,dc=autotest121,dc=local 10.20.30.2 01:23:45:67:89:ab', 'groups': ['cn=grs0j5062a,cn=groups,dc=autotest121,dc=local', 'cn=p4wnlwnhqn,cn=groups,dc=autotest121,dc=local'], 'sambaRID': '10939', 'operatingSystemVersion': '9t8nvwhpsz', 'dnsEntryZoneForward': 'zoneName=wqsfkaqlkd.m13s48fhil,dc=autotest121,dc=local', 'password': '6quv81jdaz', 'operatingSystem': 'fwiu03yc3k', 'name': 'itpmqul2cc'}}
See r49160, Lukas fixed it already yesterday. *** This bug has been marked as a duplicate of bug 33843 ***
For this bug is no separate QA needed.