Bug 43339 - Test case 09_updater.70mirror.test fails in UCS 4.2
Test case 09_updater.70mirror.test fails in UCS 4.2
Status: CLOSED FIXED
Product: UCS Test
Classification: Unclassified
Component: Updater
unspecified
Other Linux
: P5 normal (vote)
: UCS 4.2
Assigned To: Philipp Hahn
Stefan Gohmann
: interim-2
Depends on:
Blocks: 41929
  Show dependency treegraph
 
Reported: 2017-01-16 07:41 CET by Stefan Gohmann
Modified: 2017-04-04 18:30 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 Stefan Gohmann univentionstaff 2017-01-16 07:41:07 CET
The test case 09_updater.70mirror fails in UCS 4.2:


*** BEGIN *** ['/bin/bash', '70mirror'] ***
*** 09_updater/70mirror *** Mirror localhost repository ***
*** START TIME: 2017-01-15 19:26:06 ***
7171 blocks
gpg: keyring `/root/.gnupg/secring.gpg' created
gpg: keyring `/root/.gnupg/pubring.gpg' created
OK
cmp: /tmp/tmp.Jw7LpFy4HN/mirror/skel/univention-repository/4.2/maintained//4.2-0/all//Packages: Datei oder Verzeichnis nicht gefunden
**************** Test failed above this line ****************
ERROR 70mirror:559 32 0
ERROR cmp "${srcdir}/${prefix}/${dist}/Packages" "${skeldir}/${prefix}/${dist}/Packages"
=== RESULT: 110 ===
*** END TIME: 2017-01-15 19:35:29 ***
*** TEST DURATION (H:MM:SS.ms): 0:09:23.568280 ***
*** END *** 110 ***

*** BEGIN *** ['/bin/bash', '71mirror-prefix'] ***
*** 09_updater/71mirror-prefix *** Mirror localhost repository with non-standard prefix ***
*** START TIME: 2017-01-15 19:35:29 ***
7171 blocks
gpg: keyring `/root/.gnupg/secring.gpg' created
gpg: keyring `/root/.gnupg/pubring.gpg' created
OK
cmp: /tmp/tmp.SMKCWDauCF/mirror/skel/univention-repository-11902-26557/4.2/maintained//4.2-0/all//Packages: Datei oder Verzeichnis nicht gefunden
**************** Test failed above this line ****************
ERROR 71mirror-prefix:559 38 0
ERROR cmp "${srcdir}/${prefix}/${dist}/Packages" "${skeldir}/${prefix}/${dist}/Packages"
=== RESULT: 110 ===
*** END TIME: 2017-01-15
Comment 1 Stefan Gohmann univentionstaff 2017-01-16 07:43:16 CET
The following test cases fail as well:
 09_updater.71mirror-prefix.test
 09_updater.72mirror-prefix-none.test
 09_updater.75mirror-arch.test
 09_updater.76mirror-partial.test
 09_updater.79mirror-clean.test
 09_updater.80mirror-hotfixes.test

I have fixed the other 09_updater tests, see r75786:
 * 09_updater/pool.sh: Adjust configuration to Apache 2.4 (Bug #42196)
Comment 2 Philipp Hahn univentionstaff 2017-01-17 15:24:25 CET
r17052 | Bug #43339,Bug #39582,Bug #28048: apt-mirror
 Merge missing patches from UCS-4.x
r17053 | Bug #43339,Bug #39582,Bug #28048: apt-mirror
repo_admin.py -U -d jessie -p apt-mirror -r 4.2

Package: apt-mirror
Version: 0.5.1-1A~4.2.0.201701171441
Branch: ucs_4.2-0

r75869 | Bug #43339,Bug #39582,Bug #28048: apt-mirror CL
Comment 3 Stefan Gohmann univentionstaff 2017-02-13 08:36:54 CET
OK, patches have been merged. The tests are passed in Jenkins.

Changelog not required.
Comment 4 Stefan Gohmann univentionstaff 2017-04-04 18:30:05 CEST
UCS 4.2 has been released:
 https://docs.software-univention.de/release-notes-4.2-0-en.html
 https://docs.software-univention.de/release-notes-4.2-0-de.html

If this error occurs again, please use "Clone This Bug".