Bug 44309 - 216_import-users_delete_variants fails due to changing shadowExpire attribute
216_import-users_delete_variants fails due to changing shadowExpire attribute
Status: CLOSED FIXED
Product: UCS@school
Classification: Unclassified
Component: ucs-test
UCS@school 4.2
Other Linux
: P5 normal (vote)
: UCS@school 4.2 v1
Assigned To: Sönke Schwardt-Krummrich
Daniel Tröder
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2017-04-06 17:16 CEST by Sönke Schwardt-Krummrich
Modified: 2017-04-18 14:30 CEST (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

Note You need to log in before you can comment on or make changes to this bug.
Description Sönke Schwardt-Krummrich univentionstaff 2017-04-06 17:16:37 CEST
216_import-users_delete_variants fails due to changing shadowExpire values. These problems have been previously discovered and noted down in bug 41574.

http://jenkins.knut.univention.de:8080/job/UCSschool%204.2/job/UCSschool%204.2%20Singleserver/ImportTests=ImportTests,SambaVersion=s4/27/testReport/junit/90_ucsschool/216_import-users_delete_variants/test/

shadowExpire is constantly increasing but should be constant. Therefore the test for a specific value fails.
Comment 1 Sönke Schwardt-Krummrich univentionstaff 2017-04-06 17:18:57 CEST
(2017-04-05 22:59:51.263789) Traceback (most recent call last):
(2017-04-05 22:59:51.263820)   File "216_import-users_delete_variants", line 197, in <module>
(2017-04-05 22:59:51.263830)     main()
(2017-04-05 22:59:51.263840)   File "216_import-users_delete_variants", line 191, in main
(2017-04-05 22:59:51.263848)     tester.run()
(2017-04-05 22:59:51.263857)   File "/usr/share/ucs-test/90_ucsschool/essential/importusers_cli_v2.py", line 356, in run
(2017-04-05 22:59:51.263866)     self.test()
(2017-04-05 22:59:51.263875)   File "216_import-users_delete_variants", line 131, in test
(2017-04-05 22:59:51.263882)     should_exist=True)
(2017-04-05 22:59:51.263892)   File "/usr/lib/pymodules/python2.7/univention/testing/decorators.py", line 39, in __call__
(2017-04-05 22:59:51.263900)     self.func(*args, **kwargs)
(2017-04-05 22:59:51.263909)   File "/usr/lib/pymodules/python2.7/univention/testing/utils.py", line 156, in verify_ldap_object
(2017-04-05 22:59:51.263923)     raise LDAPObjectValueMissing('DN: %s\n%s: %r, missing: \'%s\'' % (baseDn, attribute, list(found_values), '\', '.join(difference)))
(2017-04-05 22:59:51.263935) univention.testing.utils.LDAPObjectValueMissing: DN: uid=fkqiushpxf,cn=schueler,cn=users,ou=p0o,dc=autotest201,dc=local
(2017-04-05 22:59:51.263945) shadowExpire: ['17290'], missing: '17275'


The test for shadowExpire has been disabled.

ucs-test-ucsschool (4.0.4-11):
r78682 | Bug #44309: disabled verification of shadowExpire
Comment 2 Daniel Tröder univentionstaff 2017-04-07 17:08:17 CEST
OK: test has been disabled
OK: A note in Bug #41574 to reenable test once it's fixed.
Comment 3 Sönke Schwardt-Krummrich univentionstaff 2017-04-11 17:45:37 CEST
UCS@school 4.2 v1 has been released.

http://docs.software-univention.de/release-notes-ucsschool-4.2v1-de.html

If this error occurs again, please clone this bug.