Univention Bugzilla – Bug 44247
autotest-201-ucsschool-singleserver-s4-all-components fails to set up
Last modified: 2017-06-23 13:32:27 CEST
autotest-201-ucsschool-singleserver-s4-all-components fails to set up; the LDAP server seems to be down at a critical moment: http://jenkins.knut.univention.de:8080/job/UCSschool%204.2/job/UCSschool%204.2%20Singleserver/ImportTests=NoImportTests,SambaVersion=s4-all-components/22/artifact/management-console-module-schoolinstaller.log 03.04.17 04:03:02.339 MODULE ( INFO ) : Executing ['schoolinstaller/progress'] 03.04.17 04:03:02.339 MAIN ( INFO ) : Setting locale 'en_US' 03.04.17 04:03:02.340 PROTOCOL ( INFO ) : Sending UMCP RESPONSE 149120658228503-5640 03.04.17 04:03:02.401 MODULE ( ERROR ) : Failed to execute create_ou: ['/usr/share/ucs-school-import/scripts/create_ou', '--displayName', 'School1', 'School1'] Traceback (most recent call last): File "/usr/share/ucs-school-import/scripts/create_ou", line 3263, in <module> verify_school_ou(ouname, co, lo, baseDN, dcName=dcNameEducational, ShareFileServer=options.ShareFileServer, displayName=options.displayName) File "/usr/share/ucs-school-import/scripts/create_ou", line 669, in verify_school_ou obj.modify() File "/usr/lib/pymodules/python2.7/univention/admin/handlers/__init__.py", line 318, in modify return self._modify(modify_childs, ignore_license=ignore_license) File "/usr/lib/pymodules/python2.7/univention/admin/handlers/__init__.py", line 812, in _modify self.lo.modify(self.dn, ml, ignore_license=ignore_license) File "/usr/lib/pymodules/python2.7/univention/admin/uldap.py", line 501, in modify raise univention.admin.uexceptions.ldapError(_err2str(msg), original_exception=msg) univention.admin.uexceptions.ldapError: Can't contact LDAP server verify ou for school nr School1 [...] 03.04.17 04:03:02.448 MODULE ( INFO ) : Finished installation 03.04.17 04:03:02.448 MODULE ( WARN ) : Error during installation: The UCS@school software packages have been installed, however, a school OU could not be created and consequently a re-join of the system has not been performed. Please create a new school OU structure using the UMC module "Add school" on the master and perform a domain join on this machine via the UMC module "Domain join". 03.04.17 04:03:02.448 MODULE ( WARN ) : The UCS@school software packages have been installed, however, a school OU could not be created and consequently a re-join of the system has not been performed. Please create a new school OU structure using the UMC module "Add school" on the master and perform a domain join on this machine via the UMC module "Domain join".
The root cause is Bug #44316.
First hotfix: r78688: * Switch from modify_s to modify_ext_s which should fix the reconnect handling (Bug #44247)
r78698: Move switch from modify_s to modify_ext_s which should fix the reconnect handling from monkeypatch to cfg file (Bug #44247)
http://jenkins.knut.univention.de:8080/job/UCSschool%204.2/job/UCSschool%204.2%20Singleserver/ImportTests=NoImportTests,SambaVersion=s4-all-components/30/ Looks much better now → build #30 showed only 2 failing test scripts.
Now, it happens in autotest-201-ucsschool-singleserver-s4-all-components-importonly.cfg. So, I merged the change: r78703: Fix reconnect handling in autotest-201-ucsschool-singleserver-s4-all-components-importonly.cfg as well (Bug #44247)
OK: jenkins VM is setup successfully
UCS@school 4.2 v2 has been released. http://docs.software-univention.de/changelog-ucsschool-4.2v2-de.html If this error occurs again, please clone this bug.