Univention Bugzilla – Bug 46382
10_ldap.27reconnect_uldap_2.test fails on 4.3
Last modified: 2018-03-14 14:38:44 CET
fails in jenkins with arning: slapd.service changed on disk. Run 'systemctl daemon-reload' to reload units. [2018-02-22 20:29:26.341994] Restarting slapd again (2018-02-22 20:29:26.435067) Warning: slapd.service changed on disk. Run 'systemctl daemon-reload' to reload units. [2018-02-22 20:29:29.807670] Restart finished [2018-02-22 20:29:32.811168] Restarting slapd (2018-02-22 20:29:32.849860) Warning: slapd.service changed on disk. Run 'systemctl daemon-reload' to reload units. [2018-02-22 20:29:39.252409] Restarting slapd again (2018-02-22 20:29:39.314487) Warning: slapd.service changed on disk. Run 'systemctl daemon-reload' to reload units. [2018-02-22 20:29:42.703216] Restart finished [2018-02-22 20:29:42.727462] Starting test set with connection <univention.admin.uldap.access instance at 0x7f81a042d8c0> [2018-02-22 20:29:42.727565] Testing lo.search operation... [2018-02-22 20:29:45.735266] Restarting slapd (2018-02-22 20:29:45.779325) Warning: slapd.service changed on disk. Run 'systemctl daemon-reload' to reload units. [2018-02-22 20:29:45.903465] Traceback (most recent call last): [2018-02-22 20:29:45.903506] File "27reconnect_uldap_2", line 71, in main [2018-02-22 20:29:45.903520] lo.search(filter=filter_s)[0][0] [2018-02-22 20:29:45.903533] File "/usr/lib/pymodules/python2.7/univention/admin/uldap.py", line 437, in search [2018-02-22 20:29:45.903545] raise univention.admin.uexceptions.ldapError(_err2str(msg), original_exception=msg) [2018-02-22 20:29:45.903556] ldapError: Server is unavailable [2018-02-22 20:29:45.903619] [2018-02-22 20:29:45.903725] ### FAIL ### [2018-02-22 20:29:45.903782] lo.search() is not restart-safe with <univention.admin.uldap.access instance at 0x7f81a042d8c0> follow_referral=False: Server is unavailable [2018-02-22 20:29:45.903835] ### ### but i could not reproduce this, but because of "ice changed on disk. Run 'systemctl daemon-reloa" i added a systemctl daemon-reload to the delayed_slapd_restart() in the test, also the slapd restart is changed to stop/start, systemd sometimes can't handle the restarts, so better stop and start wait for the jenkins tests ...
9ca2197a02d0141b94eb95082700b55d012f4b93 stop/start slapd in 26reconnect_univention_ldapsearch too
seems to be fixed
(In reply to Felix Botner from comment #3) > seems to be fixed Yes: http://jenkins.knut.univention.de:8080/job/UCS-4.3/job/UCS-4.3-0/job/AutotestJoin/80/testReport/
UCS 4.3 has been released: https://docs.software-univention.de/release-notes-4.3-0-en.html https://docs.software-univention.de/release-notes-4.3-0-de.html If this error occurs again, please use "Clone This Bug".