Bug 40321 - Stabilize jenkins/ucs-test runs
Stabilize jenkins/ucs-test runs
Status: CLOSED FIXED
Product: UCS@school
Classification: Unclassified
Component: ucs-test
UCS@school 4.1 R2
Other Linux
: P5 normal (vote)
: UCS@school 4.1 R2 vXXX
Assigned To: Sönke Schwardt-Krummrich
Stefan Gohmann
: interim-3
Depends on: 40562 41278 42023 42033 42034 42392 42420 43085 43086 43087
Blocks: 34223 40468
  Show dependency treegraph
 
Reported: 2015-12-21 16:16 CET by Sönke Schwardt-Krummrich
Modified: 2023-03-25 06:46 CET (History)
2 users (show)

See Also:
What kind of report is it?: Development Internal
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
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 Sönke Schwardt-Krummrich univentionstaff 2015-12-21 16:16:10 CET
The jenkins environments for UCS@school 4.1 do not always run through without errors while setting up the ucs-test environment.
Comment 1 Stefan Gohmann univentionstaff 2016-01-25 06:47:21 CET
I've changed the starting point of the tests to 23:30 pm.
Comment 2 Sönke Schwardt-Krummrich univentionstaff 2016-02-28 21:33:04 CET
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.
Comment 3 Florian Best univentionstaff 2016-07-13 11:46:55 CEST
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
Comment 4 Stefan Gohmann univentionstaff 2016-08-18 06:52:27 CEST
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
Comment 5 Stefan Gohmann univentionstaff 2016-08-18 16:33:14 CEST
I've switched to ../ucs-4.1/ucs-4.1-3/test/ucs-ec2-tools in the Jenkins job configuration.
Comment 6 Stefan Gohmann univentionstaff 2016-08-19 13:55:30 CEST
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
Comment 7 Sönke Schwardt-Krummrich univentionstaff 2016-12-12 12:27:06 CET
The jenkins tests are now much more stable and mostly "green".
Comment 8 Stefan Gohmann univentionstaff 2016-12-16 07:18:00 CET
Yes, not yet perfect but much better.