Bug 46954 - (ucs424jenkins) UCS 4.2-4 Jenkins tests
(ucs424jenkins)
UCS 4.2-4 Jenkins tests
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: General
UCS 4.2
All other
: P5 normal (vote)
: UCS 4.2-4
Assigned To: Philipp Hahn
Erik Damrose
https://hutten.knut.univention.de/med...
:
Depends on: 46946 46951 46993
Blocks: ucs424meta
  Show dependency treegraph
 
Reported: 2018-05-04 15:26 CEST by Erik Damrose
Modified: 2018-09-18 12:20 CEST (History)
0 users

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 Erik Damrose univentionstaff 2018-05-04 15:26:07 CEST
Jenkins tests for 4.2-4 should be created.
Comment 1 Philipp Hahn univentionstaff 2018-05-09 15:21:05 CEST
<http://jenkins.knut.univention.de:8080/view/Seed%20Jobs/job/UCS%20Branch%20Jobs%20Seed/159/console>
<http://jenkins.knut.univention.de:8080/view/Seed%20Jobs/job/UCS-4.2/job/UCS-4.2-4/>

Post-TODO: Drop app-tutorial from doc/ and from seed-jobs/create_ucs_branch_jobs.groov?
Comment 2 Erik Damrose univentionstaff 2018-05-14 15:52:56 CEST
OK: d44b4c0d UCS seed: Drop app-tutorial
OK: Jenkins Jobs exist.
Verified
Comment 3 Erik Damrose univentionstaff 2018-05-14 16:39:59 CEST
We had a look at the tests, as some failed completely. Due to restructuring the tests in 4.3 and by backporting these changes, something currently fails. I.e. there is a mismatch in test naming and the actual test performed.
Comment 4 Philipp Hahn univentionstaff 2018-05-15 12:59:28 CEST
[4.2-4] b495dfa712 Bug #46954: patchlevel update, join, release update
[4.2-4] bef52e7ac9 Bug #46954 test: Fix tests for UCS-4.2-4

Package: ucs-test
Version: 7.0.23-125A~4.2.0.201805151105
Branch: ucs_4.2-0
Scope: ucs4.2-4

A had a look at <http://jenkins.knut.univention.de:8080/job/UCS-4.2/job/UCS-4.2-4/job/AutotestJoin/SambaVersion=s3,Systemrolle=backup/ws/test/autotest-092-backup-s3.log/*view*/>:

>:40:27.232164	=== 10_basis/50uuid (2018-05-13 17:40:26) ===
>:40:27.232164	__NAME__:10_basis/50uuid Generating UUID
>:40:27.830789	Create uuid/system
...
>:40:42.515181	File: /etc/apt/sources.list.d/15_ucs-online-version.list
...
>:40:51.996054	# An error occurred during the repository check. The error message:
>:40:52.015995	E: Problem executing scripts APT::Update::Pre-Invoke 'grep -Fqs '# An error occurred during the repository check.' /etc/apt/sources.list.d/15_ucs-online-version.list && ucr commit /etc/apt/sources.list.d/15_ucs-online-version.list ; ! grep -F '# An error occurred during the repository check.' /etc/apt/sources.list.d/15_ucs-online-version.list'
>:40:52.015995	E: Sub-process returned an error code

This is Bug #43885, where the VM fails to connect to the update server for an unknown reason. As "setup-join.sh" does not use "set -e" it continues after "108 apt-get update" and goes from bad to nightmare:
- the server role package was not installed and configured correctly
- the LDAP server was not loaded with the correct LDIF data
- the DNS server was switched over to the broken localhost
- univention-dnsedit is stuck in an unlimited timeout (Bug #39539)

I ignore this for now.
Comment 5 Erik Damrose univentionstaff 2018-05-17 11:22:27 CEST
Latest tests still running...
Comment 6 Philipp Hahn univentionstaff 2018-05-17 13:27:05 CEST
Again the same error as in comment 4; see Bug #46993 for a possible explanation
Comment 7 Erik Damrose univentionstaff 2018-09-17 11:29:33 CEST
OK: Test results the same as with 4.2-4

Verified
Comment 8 Erik Damrose univentionstaff 2018-09-18 12:20:43 CEST
CLOSE