Bug 39119 - 10_ldap.03_shadowExpire_in_nis_schema.test failed
10_ldap.03_shadowExpire_in_nis_schema.test failed
Status: RESOLVED WONTFIX
Product: UCS Test
Classification: Unclassified
Component: LDAP
unspecified
Other Linux
: P5 normal (vote)
: ---
Assigned To: Felix Botner
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2015-08-08 15:15 CEST by Stefan Gohmann
Modified: 2018-03-07 19:05 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-08-08 15:15:42 CEST
The test case 03_shadowExpire_in_nis_schema failed. But it seems only on S4 systems, for example:

http://jenkins.knut.univention.de:8080/job/UCS-4.0/job/UCS-4.0-3/job/Autotest%20MultiEnv/SambaVersion=s4,Systemrolle=backup/lastCompletedBuild/testReport/

Maybe it has to do with the change that we now wait for the DRS replication, see Bug #39103.

*** BEGIN *** ['/usr/bin/python', '03_shadowExpire_in_nis_schema'] ***
*** 10_ldap/03_shadowExpire_in_nis_schema *** Allow comparison of shadowExpire in nis.schema ***
*** START TIME: 2015-08-08 07:11:20 ***
nis.schema contains:
attributetype ( 1.3.6.1.1.1.1.10 NAME 'shadowExpire'
	EQUALITY integerMatch
	ORDERING integerOrderingMatch
	SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE )
Creating users/user object with {'username': 'bpisig6urk', 'firstname': 'bw3jp0xm7c', 'lastname': 'q54blqx3gz', 'userexpiry': '2015-08-06', 'position': 'cn=users,dc=autotest093,dc=local', 'password': 'ac1mzq61rz'}
Waiting for replication:
CRITICAL: no change of listener transaction id for last 0 checks (nid=1119 lid=1114)
OK: replication complete (nid=1119 lid=1119)
Done: replication complete.
WARNING: No path in service IPC$ - making it unavailable!
NOTE: Service IPC$ is flagged unavailable.
Waiting for DRS replication, filter: 'cn=bpisig6urk' . . . . . 
DRS replication took 5 seconds
Creating users/user object with {'username': 'kfjqvs7s5f', 'firstname': 'aj9k82xrcd', 'lastname': 'mohlic8mpd', 'userexpiry': '2015-08-08', 'position': 'cn=users,dc=autotest093,dc=local', 'password': '0m4oszkkqx'}
Waiting for replication:
CRITICAL: no change of listener transaction id for last 0 checks (nid=1132 lid=1130)
OK: replication complete (nid=1132 lid=1132)
Done: replication complete.
WARNING: No path in service IPC$ - making it unavailable!
NOTE: Service IPC$ is flagged unavailable.
Waiting for DRS replication, filter: 'cn=kfjqvs7s5f' . . . . . . . . 
DRS replication took 8 seconds
Creating users/user object with {'username': 'x353u474an', 'firstname': 'd3lp8zzrrb', 'lastname': 'w7o8e4wxih', 'userexpiry': '2015-08-10', 'position': 'cn=users,dc=autotest093,dc=local', 'password': 'xfjg98f46t'}
Waiting for replication:
OK: replication complete (nid=1146 lid=1146)
Done: replication complete.
WARNING: No path in service IPC$ - making it unavailable!
NOTE: Service IPC$ is flagged unavailable.
Waiting for DRS replication, filter: 'cn=x353u474an' . . . . 
DRS replication took 4 seconds

Searching LDAP filter=(&(objectClass=posixAccount)(shadowExpire>=16654)(shadowExpire<=16656))

Searching LDAP filter=(&(objectClass=posixAccount)(shadowExpire>=16656)(shadowExpire<=16658))
Should be found: [(username, expirydate)] = [('kfjqvs7s5f', '16657')]
Found in LDAP:   [(username, expirydate)] = [('bpisig6urk', '16657'), ('kfjqvs7s5f', '16658')]
### FAIL ###
LDAP is not able to sort Objects with filter: (shadowExpire>=16656)(shadowExpire<=16658)
###      ###
Cleanup after exception: <type 'exceptions.SystemExit'> 1
Performing UCSTestUDM cleanup...
UCSTestUDM cleanup done
*** END TIME: 2015-08-08 07:11:43 ***
*** TEST DURATION (H:MM:SS.ms): 0:00:23.372728 ***
*** END *** 1 ***
Comment 1 Stefan Gohmann univentionstaff 2015-08-08 15:20:09 CEST
I've disabled the test case: r62825 + r62826 + r62827

Please have a look.
Comment 2 Felix Botner univentionstaff 2018-03-07 19:05:11 CET
depricated