Univention Bugzilla – Bug 35733
Jenkins failed reboot
Last modified: 2014-11-26 06:54:52 CET
During the Jenkins-Tests the instances stucked after rebooting and had to terminate manually. For a quick fix I commented the reboot line in the cfg-files, so the test will start. As an example see: (autotest-09*.cfg / Autotest MultiEnv) command3: univention-license-import /root/autotest090.ldif . utils.sh; install_ucs_test # reboot LOCAL sleep 60 . utils.sh; wait_for_reboot command4:
I also commented the following lines, so the whole commando will be skipped at the moment. # reboot failed (Bug 35733) # reboot # LOCAL sleep 60 # . utils.sh; wait_for_reboot
I tested autotest-07*-update-3.2-to-4.0-master-s4.cfg if the same problem occurs, but it just works fine.
Our EC2-images for pre-UCS-4 (Bug #35648) are broken: 1. insserv is used The images were set up with the still un-patched insserv, which re-ordered the symlinks in /etc/rc?.d/*. Only with the update to testing is the patches version installed. This also seems to then do some voodoo, which breaks the following boot. Manually restoring the explicit order fixed the problem. #!/bin/sh up () { update-rc.d -f "$1" remove update-rc.d "$@" } eval "$(sed -rne 's/^[ \t]*update-rc\.d[ \t]+([a-z][^\|>]+).*/up \1/p' /var/lib/dpkg/info/*.postinst | sort -u)" 2. UUIDs are wrong: # cat /proc/cmdline root=UUID=128d6760-7b69-496b-a25b-eaed20ec7275 # cat /etc/fstab UUID=376f1ea7-a4a8-427b-94c6-511cdac387af / UUID=229d2c00-9366-48cc-b81e-4992017a1871 swap # ls -gG /dev/disk/by-uuid/ 128d6760-7b69-496b-a25b-eaed20ec7275 -> ../../xvda1 # grep root /boot/grub/grub.cfg set root='hd0,msdos1' search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 376f1ea7-a4a8-427b-94c6-511cdac387af # grep root= /boot/grub/menu.lst kernel /boot/vmlinuz-3.10.0-ucs71-amd64 root=UUID=128d6760-7b69-496b-a25b-eaed20ec7275 I know that Xen supports a feature, where a single partition can be passed to a VM instead of the disk containing it and Xen does some magic to create a fake partition scheme. # update-grub # grep root /boot/grub/grub.cfg search --no-floppy --fs-uuid --set=root 128d6760-7b69-496b-a25b-eaed20ec7275 # grep root= /boot/grub/menu.lst kernel /boot/vmlinuz-3.10.0-ucs71-amd64 root=UUID=128d6760-7b69-496b-a25b-eaed20ec7275 Please also note that the swap partition does not exists. According to Drees only the file system content was rsynced. Perhaps the UUIDs were not updated?
I've created Bug #35767. I think this bug can be closed as duplicate.
(In reply to Stefan Gohmann from comment #4) > I've created Bug #35767. I think this bug can be closed as duplicate. The changes to the Jenkins file need to be reverted as soon as Bug #35767 is fixed, as the reboot is required.
r53254 | Bug #35733 EC2: Fix reboot for broken pre-UCS-4.0-interim1 EC2 images Added a temporary work-around to fix the insserv re-ordering
r53299 | Bug #35733 EC2: Disable EC2 reboot for << UCS-4.0-interim1 Disable reboot for now as they still fail to reboot until Bug #35767 is fixed.
r53709 | Bug #35733 EC2: Re-enable reboot r53708 | Bug #35767 EC2: Switch to updated UCS-4.0 EC2 AMI
The Jenkins tests for UCS 4 are up and running.
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".