Univention Bugzilla – Bug 44037
Test cases 20_appcenter/7*_umc* fail in UCS 4.2
Last modified: 2017-06-23 18:38:57 CEST
Created attachment 8624 [details] ucs-test-appcenter.log The test cases 20_appcenter/7*_umc* fail in UCS 4.2 due to changes in UCS 4.2 App Center. I've disabled the test cases.
(In reply to Stefan Gohmann from comment #0) > I've disabled the test cases. r78171: * 20_appcenter/7*umc*: Temporary skip test case (Bug #44037)
r79255 | Bug #44037: fix some typos I found that it makes requests to meta-inf/4.1/ instead of /meta-inf/4.2/. The tests pass if I remove 4.1 from: 80_docker/dockertest.py:» » » self._write_ucs_ini('[4.2]\nSupportedUCSVersions=4.2, 4.1\n') → but the file is the same on http://appcenter-test.software-univention.de/meta-inf/ucs.ini so we shouldn't change this in the test case. Maybe the order of supported_ucs_versions is checked wrong.
Fixed by building the local appcenter for all UCS versions which are supported. ucs-test (7.0.21-23): r79270 | Bug #44037: fix UMC appcenter tests
The test cases are still failing on EC2 (not on my VM :/).
The tests somehow think they are running on UCS 4.3: Warnung: Fehlschlag beim Holen von http://localhost/univention-repository/4.3/maintained/component/test32549/all/Packages 404 Not Found [IP: ::1 80]. 29.05.17 02:27:16.740 MODULE ( WARN ) : Warnung: Fehlschlag beim Holen von http://localhost/univention-repository/4.3/maintained/4.3-0/all/Packages 404 Not Found [IP: ::1 80]. 29.05.17 02:27:56.140 MODULE ( PROCESS ) : Ign http://localhost 4.3-0/all/ InRelease 29.05.17 02:27:56.142 MODULE ( PROCESS ) : Ign http://localhost 4.3-0/all/ Release.gpg 29.05.17 02:27:56.143 MODULE ( PROCESS ) : Ign http://localhost 4.3-0/all/ Release 29.05.17 02:27:56.144 MODULE ( PROCESS ) : Fehl http://localhost 4.3-0/all/ Packages 29.05.17 02:27:56.146 MODULE ( PROCESS ) : Fehl http://localhost 4.3-0/all/ Packages 29.05.17 02:27:56.147 MODULE ( PROCESS ) : Fehl http://localhost 4.3-0/all/ Packages 29.05.17 02:27:56.160 MODULE ( PROCESS ) : Fehl http://localhost 4.3-0/all/ Packages 29.05.17 02:27:56.204 MODULE ( PROCESS ) : Fehl http://localhost 4.3-0/all/ Packages 29.05.17 02:27:56.205 MODULE ( PROCESS ) : Fehl http://localhost 4.3-0/all/ Packages
Prior updater tests set version/version to 4.3 and don't revert this. One of the following could be responsible for this: http://jenkins.knut.univention.de:8080/job/UCS-4.2/job/UCS-4.2-0/job/AutotestJoin/lastCompletedBuild/SambaVersion=s3,Systemrolle=master/testReport/09_updater/55component-noncurrent/test/ http://jenkins.knut.univention.de:8080/job/UCS-4.2/job/UCS-4.2-0/job/AutotestJoin/lastCompletedBuild/SambaVersion=s3,Systemrolle=master/testReport/09_updater/54component-scripts-fail/test/
r80019 | Bug #44037 test/up: Clean "update in process APT source" Bug #44346 introduced a work-around to copy the "temporary update sources list" to "update in process list", as otherwise after a failed update the new packages are no longer available. This introduces a regression in ucs-test for the updater, as test 54 contains such a test case, where the update fails. This leaves behind a temporary source entry, which is no longer valid afterwards. Remove any "update in process list" after each test. Package: ucs-test Version: 7.0.21-36A~4.2.0.201706021350 Branch: ucs_4.2-0 Scope: errata4.2-0
Thanks for the help!