Univention Bugzilla – Bug 40321
Stabilize jenkins/ucs-test runs
Last modified: 2023-03-25 06:46:12 CET
The jenkins environments for UCS@school 4.1 do not always run through without errors while setting up the ucs-test environment.
I've changed the starting point of the tests to 23:30 pm.
The environments "UCS@school 4.1 (Singleserver|Multiserver)" are now using the SVN of ucs-4.1-1. Additionally the are executing the long running tests each sunday automatically.
ucs-ec2-tools (2.0.0-22): r70963 | Bug #40321: test if univention-app exists to prevent errors when starting with an UCS 4.0-x system
From the s4-only-master log Get:1 http://updates-test.software-univention.de/4.1/maintained/component/ ucsschool_DEVEL/all/ ucs-test-ucsschool 3.0.13-11.239.201608031712 [162 kB] I've rebuild the ucs-test-ucsschool package since I was unable to find the code for these tracebacks: http://jenkins.knut.univention.de:8080/job/UCSschool%204.1/job/UCSschool%204.1%20(R2)%20Multiserver/SambaVersion=s4-only-master/203/testReport/90_ucsschool/75_ldap_acls_admins/test/ [2016-08-17 01:44:57.682242] Waiting for replication... (2016-08-17 01:45:01.131344) Traceback (most recent call last): (2016-08-17 01:45:01.131381) File "75_ldap_acls_admins", line 74, in <module> (2016-08-17 01:45:01.131391) main() (2016-08-17 01:45:01.131401) File "75_ldap_acls_admins", line 40, in main (2016-08-17 01:45:01.131409) acl.assert_base_dn('read') (2016-08-17 01:45:01.131419) File "/usr/share/ucs-test/90_ucsschool/essential/acl.py", line 178, in assert_base_dn (2016-08-17 01:45:01.131428) self.assert_acl(base_dn, access, attrs) (2016-08-17 01:45:01.131438) File "/usr/share/ucs-test/90_ucsschool/essential/acl.py", line 152, in assert_acl (2016-08-17 01:45:01.131447) out, err = run_commands([cmd], argdict)[0] (2016-08-17 01:45:01.131457) File "/usr/share/ucs-test/90_ucsschool/essential/acl.py", line 37, in run_commands (2016-08-17 01:45:01.131466) print '*** %s' % ' '.join(pipes.quote(x) for x in cmd) (2016-08-17 01:45:01.131476) File "/usr/share/ucs-test/90_ucsschool/essential/acl.py", line 37, in <genexpr> (2016-08-17 01:45:01.131486) print '*** %s' % ' '.join(pipes.quote(x) for x in cmd) (2016-08-17 01:45:01.131495) NameError: global name 'pipes' is not defined
I've switched to ../ucs-4.1/ucs-4.1-3/test/ucs-ec2-tools in the Jenkins job configuration.
The 4.0 to 4.1 update tests are working again. I've removed the 'set debconf grub-pc/install_devices_empty true' workaround: r71726
The jenkins tests are now much more stable and mostly "green".
Yes, not yet perfect but much better.