Univention Bugzilla – Bug 37921
60_umc-system.80_umc-service-license.test failed in AD member mode
Last modified: 2023-03-25 06:55:45 CET
The following test case failed in AD member mode: 60_umc-system.80_umc-service-license.test http://jenkins.knut.univention.de:8080/job/UCS-4.0/job/UCS-4.0-1/job/AD%20Member%20MultiEnv/1/Mode=module,Version=w2k12r2-france/testReport/60_umc-system/80_umc-service-license/test/ Fehlermeldung Test failed Standard Ausgabe (STDOUT) Temporary folder to be used to store obtained test licenses: '/tmp/tmpIFkjBV' Obtaining a valid license for the test: Obtaining an expired license for the test: Modifing the Free license template for the test Generating a junk license based on valid license for the test Saving initial license to file: '/tmp/tmpIFkjBV/InitiallyInstalled.license' Uploading a 'Free' license: 'FreeForPersonalUseTest.license' Checking the 'Free' license info Attempting to create 10 computers with a 'Free' license The creation of a computer (attempt 7) failed, request result: '{u'$dn$': u'', u'details': u'W\xe4hrend dieser Sitzung sind Hinzuf\xfcgen und Bearbeiten nicht verf\xfcgbar.', u'success': False}', In fact were created: 6 Removing created test computers for the next test case: Deleting test object 'computers' with a name: 'umc_test_computer_m59pie_0' Deleting test object 'computers' with a name: 'umc_test_computer_m59pie_1' Deleting test object 'computers' with a name: 'umc_test_computer_m59pie_2' Deleting test object 'computers' with a name: 'umc_test_computer_m59pie_3' Deleting test object 'computers' with a name: 'umc_test_computer_m59pie_4' Deleting test object 'computers' with a name: 'umc_test_computer_m59pie_5' Attempting to create 10 users with a 'Free' license The creation of a user (attempt 1) failed, request result: '{u'$dn$': u'uid=umc_test_user_g109yj_0,cn=users,dc=autotest225,dc=local', u'details': u'Das Objekt existiert nicht. No such object', u'success': False}', In fact were created: 0 Removing created test users for the next test case: Uploading an expired license 'ExpiredTest.license' for the test Attempting to create 10 computers with an expired license The creation of a computer (attempt 1) failed, request result: '{u'$dn$': u'', u'details': u'Die Lizenz ist abgelaufen.', u'success': False}', In fact were created: 0 Attempting to create 10 users with an expired license The creation of a user (attempt 1) failed, request result: '{u'$dn$': u'uid=umc_test_user_q5l87i_0,cn=users,dc=autotest225,dc=local', u'details': u'Das Objekt existiert nicht. No such object', u'success': False}', In fact were created: 0 Restarting the UMC Server to release active connections Uploading a valid license 'ValidTest.license' for the test Attempting to create 10 computers with a valid license In fact were created: 10 Removing created test computers for the next test case: Deleting test object 'computers' with a name: 'umc_test_computer_lj82ib_0' Deleting test object 'computers' with a name: 'umc_test_computer_lj82ib_1' Deleting test object 'computers' with a name: 'umc_test_computer_lj82ib_2' Deleting test object 'computers' with a name: 'umc_test_computer_lj82ib_3' Deleting test object 'computers' with a name: 'umc_test_computer_lj82ib_4' Deleting test object 'computers' with a name: 'umc_test_computer_lj82ib_5' Deleting test object 'computers' with a name: 'umc_test_computer_lj82ib_6' Deleting test object 'computers' with a name: 'umc_test_computer_lj82ib_7' Deleting test object 'computers' with a name: 'umc_test_computer_lj82ib_8' Deleting test object 'computers' with a name: 'umc_test_computer_lj82ib_9' Attempting to create 10 users with a valid license The creation of a user (attempt 1) failed, request result: '{u'$dn$': u'uid=umc_test_user_u1id5y_0,cn=users,dc=autotest225,dc=local', u'details': u'Das Objekt existiert nicht. No such object', u'success': False}', ### FAIL ### Failed to create 10 'user's with a valid license, in fact were created: '0' ### ### Restarting the UMC Server to release active connections Restoring initially dumped license from file '/tmp/tmpIFkjBV/InitiallyInstalled.license' and removing temp folder with license files Removing created test computers and users (if any): Standard Fehler (STDERR) 2015-02-26 04:40:52,418 - Test_License_Client_Log - INFO - The license was written to file '/tmp/tmpIFkjBV/ValidTest.license' 2015-02-26 04:41:05,954 - Test_License_Client_Log - INFO - The license was written to file '/tmp/tmpIFkjBV/ExpiredTest.license'
Please have a look.
r58754: * 60_umc-system/80_umc-service-license: use more complex password when creating test users (Bug #37918). r58755: * debian/changelog: changed bug number of the last message (Bug #37921).
Seems like there is something else, fails with French AD setups with different errors: http://jenkins.knut.univention.de:8080/job/UCS-4.0/job/UCS-4.0-1/job/AD%20Member%20MultiEnv/5/Mode=module,Version=w2k12r2-france/testReport/60_umc-system/80_umc-service-license/test/ http://jenkins.knut.univention.de:8080/job/UCS-4.0/job/UCS-4.0-1/job/AD%20Member%20MultiEnv/5/Mode=installation,Version=w2k12r2-france/testReport/60_umc-system/80_umc-service-license/test/
(In reply to Dmitry Galkin from comment #3) > Seems like there is something else, fails with French AD setups with > different errors: > > http://jenkins.knut.univention.de:8080/job/UCS-4.0/job/UCS-4.0-1/job/ > AD%20Member%20MultiEnv/5/Mode=module,Version=w2k12r2-france/testReport/ > 60_umc-system/80_umc-service-license/test/ > > http://jenkins.knut.univention.de:8080/job/UCS-4.0/job/UCS-4.0-1/job/ > AD%20Member%20MultiEnv/5/Mode=installation,Version=w2k12r2-france/testReport/ > 60_umc-system/80_umc-service-license/test/ r59475: * 60_umc-system/80_umc-service-license: use translation for 'Domain Users' when available (Bug #37921). Should work now: http://hutten.knut.univention.de/pastebin/m2ef6be8a
For this bug is no separate QA needed.