Bug 44744 - Fix test cases 105_change_expired_password and 104_expired_password
Fix test cases 105_change_expired_password and 104_expired_password
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: UMC (Generic)
UCS 4.2
Other Linux
: P5 normal (vote)
: UCS 4.2-0-errata
Assigned To: Florian Best
Felix Botner
:
Depends on: 43859
Blocks:
  Show dependency treegraph
 
Reported: 2017-06-07 11:54 CEST by Felix Botner
Modified: 2018-03-15 08:28 CET (History)
3 users (show)

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 4: Minor Usability: Impairs usability in secondary scenarios
Who will be affected by this bug?: 2: Will only affect a few installed domains
How will those affected feel about the bug?: 3: A User would likely not purchase the product
User Pain: 0.137
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 Felix Botner univentionstaff 2017-06-07 11:54:16 CEST
+++ This bug was initially created as a clone of Bug #43859 +++

Please fix the test or fix the product or in case it is not so important disable the test case.

http://jenkins.knut.univention.de:8080/job/UCS-4.2/job/UCS-4.2-0/job/AutotestJoin/75/SambaVersion=s3,Systemrolle=master/testReport/


*** BEGIN *** ['/bin/bash', '07_expired_password'] ***
*** 60_umc/07_expired_password *** Change of expired password at UMC logon (with password complexity) ***
*** START TIME: 2017-03-14 15:58:22 ***
info 2017-03-14 15:58:23	 create user 0whx8mf6
Object created: uid=0whx8mf6,cn=users,dc=autotest090,dc=local
### Preparation: Activate pwQualityCheck in policies/pwhistory
## Note: non-Samba4 DCs require this to activate univention.password.Check (for check_cracklib.py)
Object modified: cn=default-settings,cn=pwhistory,cn=users,cn=policies,dc=autotest090,dc=local
Create password/quality/credit/lower
Create password/quality/credit/upper
Create password/quality/credit/other
Create password/quality/credit/digits
### Preparation: simulate password expiry
Object modified: uid=0whx8mf6,cn=users,dc=autotest090,dc=local
debug 2017-03-14 15:58:25	 Waiting for replication...
CRITICAL: no change of listener transaction id for last 0 checks (nid=12630 lid=12619)
OK: replication complete (nid=12630 lid=12630)
info 2017-03-14 15:58:27	 replication complete.
debug 2017-03-14 15:58:27	 Waiting for postrun...
### Preparation: set fresh complex password via UMC login password change dialog
error 2017-03-14 15:58:46	 Unexpected output returned by UMC during password change: {"status": 401, "message": "The authentication has failed, please login again.", "location": "http://localhost/univention/auth"}
error 2017-03-14 15:58:46	 **************** Test failed above this line (110) ****************
Unsetting password/quality/credit/lower
Unsetting password/quality/credit/upper
Unsetting password/quality/credit/other
Unsetting password/quality/credit/digits
LDAP Error: Invalid syntax: univentionPWQualityCheck: value #0 invalid per syntax
info 2017-03-14 15:58:46	 remove user 0whx8mf6
Object removed: uid=0whx8mf6,cn=users,dc=autotest090,dc=local
debug 2017-03-14 15:58:46	 user 0whx8mf6 removed
info 2017-03-14 15:58:46	 checking whether the user 0whx8mf6 is really removed
debug 2017-03-14 15:58:47	 user 0whx8mf6 does not exist
*** END TIME: 2017-03-14 15:58:47 ***
*** TEST DURATION (H:MM:SS.ms): 0:00:24.915371 ***
*** END *** 110 ***
Comment 1 Felix Botner univentionstaff 2017-06-07 11:56:42 CEST
http://jenkins.knut.univention.de:8080/job/UCS-4.2/job/UCS-4.2-0/job/AutotestJoin/lastCompletedBuild/testReport/

Please fix 105_change_expired_password and 104_expired_password

SambaVersion=s3,Systemrolle=slave
 60_umc.105_change_expired_password_fail_reason.test

SambaVersion=s3,Systemrolle=backup
 60_umc.105_change_expired_password_fail_reason.test

SambaVersion=s4,Systemrolle=member
 60_umc.105_change_expired_password_fail_reason.test
 60_umc.104_expired_password.test

SambaVersion=s3,Systemrolle=member
 60_umc.105_change_expired_password_fail_reason.test
Comment 2 Florian Best univentionstaff 2017-06-12 20:02:35 CEST
ucs-test (7.0.21-45):
r80130 | Bug #44744: skip tests on certain server roles
Comment 3 Felix Botner univentionstaff 2017-07-12 17:50:52 CEST
OK
Comment 4 Stefan Gohmann univentionstaff 2018-03-15 08:28:18 CET
Is already released.