Bug 37921 - 60_umc-system.80_umc-service-license.test failed in AD member mode
60_umc-system.80_umc-service-license.test failed in AD member mode
Status: CLOSED FIXED
Product: UCS Test
Classification: Unclassified
Component: UMC
unspecified
Other Linux
: P5 normal (vote)
: ---
Assigned To: Dmitry Galkin
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2015-03-03 05:59 CET by Stefan Gohmann
Modified: 2023-03-25 06:55 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 2015-03-03 05:59:17 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'
Comment 1 Stefan Gohmann univentionstaff 2015-03-03 05:59:42 CET
Please have a look.
Comment 2 Dmitry Galkin univentionstaff 2015-03-09 16:20:11 CET
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).
Comment 4 Dmitry Galkin univentionstaff 2015-03-27 16:36:57 CET
(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
Comment 5 Stefan Gohmann univentionstaff 2016-10-12 07:48:33 CEST
For this bug is no separate QA needed.