Bug 36527 - i386 DVD image too old
i386 DVD image too old
Status: CLOSED WORKSFORME
Product: UCS
Classification: Unclassified
Component: UCS Installer - DVD
UCS 4.0
Other Linux
: P5 normal (vote)
: UCS 4.0
Assigned To: Philipp Hahn
Stefan Gohmann
: interim-3
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-11-07 18:43 CET by Janek Walkenhorst
Modified: 2014-11-26 06:53 CET (History)
2 users (show)

See Also:
What kind of report is it?: ---
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 Janek Walkenhorst univentionstaff 2014-11-07 18:43:00 CET
The last i386 DVD image build was too long ago, leading to i386 packages falsely being in unmaintained.

The DVD build currently seems to always fail.
Comment 1 Philipp Hahn univentionstaff 2014-11-07 21:43:03 CET
Building a UCS-4.0-0 DVD for i386 finally worked for me after it failed several times with univention-system-setup being updated while the DVD was built.

$ build-cd-ucs4 --keep-installer -A i386 --debug-failures --debug-dvdbuild
INFO     Using logfile '/var/univention/buildsystem2/isotests/ucs_4.0-0-20141107-200156-dvd-i386.log'
INFO     Updating dists directory
INFO     Preparing pbuilder/chroot environment for UCS 4.0-0
INFO     Using build directory '/var/univention/buildsystem2/temp/build-dvd/tmpNb3957.pid-15145.20141107-200156.dvd'
INFO     Extracting '/var/univention/buildsystem2/pbuilder/ucs_4.0-0.tgz' in '/var/univention/buildsystem2/temp/build-dvd/tmpNb3957.pid-15145.20141107-200156.dvd'
INFO     Installing univention-dvd in chroot
INFO     apt-get update
INFO     apt-get install -y --force-yes univention-dvd
INFO     Updating /usr/share/debian-cd/ucs400.conf
Type "c" to continue> c
INFO     Build DVD
INFO     Run script in chroot: cd /usr/share/debian-cd && CF="$(pwd)/ucs400.conf" exec ./build.sh i386
INFO     Copy DVD ISO
INFO     Copied DVD .iso to '/var/univention/buildsystem2/isotests/ucs_4.0-0-20141107-200156-dvd-i386.iso'
INFO     DVD build finished
INFO     Updating DVD content list
INFO     Update of DVD content list 'ucs_4.0-0_i386_dvd.txt' finished.
INFO     Starting cleanup...
INFO     Cleanup finished
INFO     Build finished. Duration: 19.00m

This is caused by a "bug" in our build system, which updates the Packages file with each newly built package and old files are deleted immediately when a new replacement is available. The DVD build process currently needs 20 minutes for i386, so any built happening on our 2 dimmas will break the process.
Possible solution:
1. live with this for UCS-4.0-0,
2. delay installing new packages while a DVD built is in progress,
3. switch the DVD build process to use the announced repository
4. switch the build system to some file system supporting atomic snapshots
Comment 2 Stefan Gohmann univentionstaff 2014-11-10 08:11:51 CET
Works for me too:

$ build-cd-ucs4 --keep-installer -A i386
INFO     Using logfile '/var/univention/buildsystem2/isotests/ucs_4.0-0-20141110-075246-dvd-i386.log'
INFO     Updating dists directory
INFO     Preparing pbuilder/chroot environment for UCS 4.0-0
INFO     Using build directory '/var/univention/buildsystem2/temp/build-dvd/tmp0_VAYO.pid-19176.20141110-075246.dvd'
INFO     Extracting '/var/univention/buildsystem2/pbuilder/ucs_4.0-0.tgz' in '/var/univention/buildsystem2/temp/build-dvd/tmp0_VAYO.pid-19176.20141110-075246.dvd'
INFO     Installing univention-dvd in chroot
INFO     apt-get update
INFO     apt-get install -y --force-yes univention-dvd
INFO     Updating /usr/share/debian-cd/ucs400.conf
INFO     Build DVD
INFO     Run script in chroot: cd /usr/share/debian-cd && CF="$(pwd)/ucs400.conf" exec ./build.sh i386
INFO     Copy DVD ISO
INFO     Copied DVD .iso to '/var/univention/buildsystem2/isotests/ucs_4.0-0-20141110-075246-dvd-i386.iso'
INFO     DVD build finished
INFO     Updating DVD content list
INFO     Update of DVD content list 'ucs_4.0-0_i386_dvd.txt' finished.
INFO     Starting cleanup...
INFO     Cleanup finished
INFO     Build finished. Duration: 18.36m
$
Comment 3 Stefan Gohmann univentionstaff 2014-11-26 06:53:59 CET
UCS 4.0-0 has been released:
 http://docs.univention.de/release-notes-4.0-0-en.html
 http://docs.univention.de/release-notes-4.0-0-de.html

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