Univention Bugzilla – Bug 43856
Test case 60_umc/33_umc_users_user_unset_userexpiry fails in UCS 4.2
Last modified: 2017-04-04 18:29:46 CEST
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 *** ['/usr/bin/python', '33_umc_users_user_unset_userexpiry'] *** *** 60_umc/33_umc_users_user_unset_userexpiry *** Test unsetting userexpiry attribute via UMC *** *** START TIME: 2017-03-14 16:01:17 *** Creating a user 'umc_test_user_gp7rdw' without posix Creating users/user object with /usr/sbin/udm-test users/user create --position cn=users,dc=autotest090,dc=local --policy-reference cn=default-umc-all,cn=UMC,cn=policies,dc=autotest090,dc=local --option posix --option samba --option kerberos --set username=umc_test_user_gp7rdw --set firstname=bsxkgdjeei --set lastname=o5kmqpay0g --set password=univention *** UMC request: "POST auth" (None) UMC request payload: {'options': {'password': 'univention', 'username': 'umc_test_user_gp7rdw'}} *** UMC response: {u'message': None, u'options': None, u'result': {u'username': u'umc_test_user_gp7rdw'}, u'status': 200} *** *** UMC request: "POST command/udm/put" (users/user) UMC request payload: {'flavor': 'users/user', 'options': [{'object': {'$dn$': 'uid=umc_test_user_gp7rdw,cn=users,dc=autotest090,dc=local', 'userexpiry': '2015-02-02'}}]} *** UMC response: {u'message': None, u'result': [{u'$dn$': u'uid=umc_test_user_gp7rdw,cn=users,dc=autotest090,dc=local', u'details': u'Zugriff verweigert.', u'success': False}], u'status': 200} *** ### FAIL ### Request 'udm/put' to modify an object with options '[{'object': {'userexpiry': '2015-02-02', '$dn$': 'uid=umc_test_user_gp7rdw,cn=users,dc=autotest090,dc=local'}}]' failed, no success = True in response, hostname None, response '[{u'$dn$': u'uid=umc_test_user_gp7rdw,cn=users,dc=autotest090,dc=local', u'details': u'Zugriff verweigert.', u'success': False}]' ### ### Cleanup after exception: <type 'exceptions.SystemExit'> 1 Performing UCSTestUDM cleanup... UCSTestUDM cleanup done *** END TIME: 2017-03-14 16:01:21 *** *** TEST DURATION (H:MM:SS.ms): 0:00:03.818501 *** *** END *** 1 ***
ucs-test (7.0.17-2): r77817 | Bug #43856: fix wrong credentials used in 33_umc_users_user_unset_userexpiry
OK: it doesn't fail anymore in jenkins.
UCS 4.2 has been released: https://docs.software-univention.de/release-notes-4.2-0-en.html https://docs.software-univention.de/release-notes-4.2-0-de.html If this error occurs again, please use "Clone This Bug".