Bug 47716 - 10_ldap.41listener_module_api_test fails in 4.3-2 AutotestJoin
10_ldap.41listener_module_api_test fails in 4.3-2 AutotestJoin
Status: CLOSED FIXED
Product: UCS Test
Classification: Unclassified
Component: LDAP
unspecified
Other Linux
: P5 normal (vote)
: ---
Assigned To: Daniel Tröder
Felix Botner
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2018-09-04 11:46 CEST by Felix Botner
Modified: 2023-03-25 06:50 CET (History)
1 user (show)

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
AutotestJoin-no-samba-backup.zip (11.29 MB, application/zip)
2018-09-04 14:25 CEST, Felix Botner
Details
AutotestJoin-no-samba-master.zip (12.04 MB, application/zip)
2018-09-04 14:26 CEST, Felix Botner
Details
AutotestJoin-no-samba-member.zip (11.01 MB, application/zip)
2018-09-04 14:26 CEST, Felix Botner
Details
AutotestJoin-no-samba-slave.zip (11.62 MB, application/zip)
2018-09-04 14:26 CEST, Felix Botner
Details
AutotestJoin-s4-backup.zip (11.51 MB, application/zip)
2018-09-04 14:27 CEST, Felix Botner
Details
AutotestJoin-s4-master.zip (13.36 MB, application/zip)
2018-09-04 14:27 CEST, Felix Botner
Details
AutotestJoin-s4-member.zip (11.21 MB, application/zip)
2018-09-04 14:27 CEST, Felix Botner
Details
AutotestJoin-s4-slave.zip (11.87 MB, application/zip)
2018-09-04 14:28 CEST, Felix Botner
Details
AutotestJoin-samba-pdc-slave.zip (11.75 MB, application/zip)
2018-09-04 14:28 CEST, Felix Botner
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Felix Botner univentionstaff 2018-09-04 11:46:14 CEST
10_ldap.41listener_module_api_test.test
 SambaVersion=s4,Systemrolle=master
Comment 1 Felix Botner univentionstaff 2018-09-04 14:25:42 CEST
Created attachment 9648 [details]
AutotestJoin-no-samba-backup.zip
Comment 2 Felix Botner univentionstaff 2018-09-04 14:26:03 CEST
Created attachment 9649 [details]
AutotestJoin-no-samba-master.zip
Comment 3 Felix Botner univentionstaff 2018-09-04 14:26:27 CEST
Created attachment 9650 [details]
AutotestJoin-no-samba-member.zip
Comment 4 Felix Botner univentionstaff 2018-09-04 14:26:49 CEST
Created attachment 9651 [details]
AutotestJoin-no-samba-slave.zip
Comment 5 Felix Botner univentionstaff 2018-09-04 14:27:06 CEST
Created attachment 9652 [details]
AutotestJoin-s4-backup.zip
Comment 6 Felix Botner univentionstaff 2018-09-04 14:27:24 CEST
Created attachment 9653 [details]
AutotestJoin-s4-master.zip
Comment 7 Felix Botner univentionstaff 2018-09-04 14:27:59 CEST
Created attachment 9654 [details]
AutotestJoin-s4-member.zip
Comment 8 Felix Botner univentionstaff 2018-09-04 14:28:23 CEST
Created attachment 9655 [details]
AutotestJoin-s4-slave.zip
Comment 9 Felix Botner univentionstaff 2018-09-04 14:28:41 CEST
Created attachment 9656 [details]
AutotestJoin-samba-pdc-slave.zip
Comment 10 Felix Botner univentionstaff 2018-09-04 15:14:58 CEST
AutotestJoin Logs: Bug #47716
AutotestUpgrade Logs: Bug #47742
Comment 11 Daniel Tröder univentionstaff 2018-09-04 16:08:53 CEST
I checked AutotestJoin-s4-master.zip

The test code does:

-----------------------------------------------------------------
lm_logger.info('*** Modifying user (employeeType)...')
udm.modify_object(
			'users/user',
			dn=userdn,
			employeeType=employeeType
		)
-----------------------------------------------------------------

But in the logfile additionally to the desired modification to "employeeType" a change to the "sambaSID" attribute can be seen:

-----------------------------------------------------------------
2018-09-04 00:59:10 INFO    *** Modifying user (employeeType)...
2018-09-04 00:59:10 INFO    test-ivy7doilgn.modify:63  modify() for user 'mkk6kswjlw'. diff(old, new)={'sambaSID': (['S-1-4-2048'], ['S-1-5-21-2864739061-356801919-2673199202-1151']), 'employeeType': (None, ['srp3srmp0c'])}
-----------------------------------------------------------------
Comment 12 Daniel Tröder univentionstaff 2018-09-05 10:36:46 CEST
[4.3-2 af5fb98cfe] Bug #47716: wait for s4 to write SID to OpenLDAP after creating user
Comment 13 Daniel Tröder univentionstaff 2018-09-06 10:20:01 CEST
[4.3-2 a290e66780] Bug #47716: don't wait to long or post_run will happen
Comment 14 Felix Botner univentionstaff 2018-10-26 14:40:02 CEST
OK, seems to work