[tor-bugs] #11362 [Tor bundles/installation]: "amd64 lucid VM creation failed" with virtualized LXC build on Ubuntu 12.04.4

Tor Bug Tracker & Wiki blackhole at torproject.org
Sat Mar 29 04:18:50 UTC 2014


#11362: "amd64 lucid VM creation failed" with virtualized LXC build on Ubuntu
12.04.4
------------------------------------------+--------------------------------
     Reporter:  dcf                       |      Owner:  erinn
         Type:  defect                    |     Status:  new
     Priority:  normal                    |  Milestone:
    Component:  Tor bundles/installation  |    Version:
   Resolution:                            |   Keywords:  gitian lxc tbb-3.5
Actual Points:                            |  Parent ID:
       Points:                            |
------------------------------------------+--------------------------------

Comment (by dcf):

 Here's a log of mkbundle-linux.sh. I added the `-x` flag to
 [https://gitweb.torproject.org/builders/gitian-
 builder.git/blob/dc61e62243dfcb266a50961ab5c736755fb6d09e:/libexec/on-
 target on-target] in order to see what command was failing (it's lxc-
 start).
 {{{
 # ./mkbundle-linux.sh
 2014-03-25 10:53:54,663 INFO    : Calling hook: preflight_check
 2014-03-25 10:53:54,672 INFO    : Calling hook: set_defaults
 2014-03-25 10:53:54,673 INFO    : Calling hook: bootstrap
 2014-03-25 10:58:15,969 INFO    : Calling hook: configure_os
 Extracting templates from packages: 100%
 2014-03-25 10:59:56,404 INFO    : update-alternatives: error: no
 alternatives for rsh.
 2014-03-25 10:59:56,491 INFO    : update-alternatives: error: no
 alternatives for rlogin.
 2014-03-25 10:59:56,579 INFO    : update-alternatives: error: no
 alternatives for rcp.
 2014-03-25 10:59:59,703 INFO    : Creating SSH2 RSA key; this may take
 some time ...
 2014-03-25 11:00:00,019 INFO    : Creating SSH2 DSA key; this may take
 some time ...
 2014-03-25 11:00:00,419 INFO    :
 2014-03-25 11:00:00,420 INFO    : Warning: Fake initctl called, doing
 nothing
 2014-03-25 11:00:00,423 INFO    :
 2014-03-25 11:00:00,423 INFO    : Warning: Fake initctl called, doing
 nothing
 2014-03-25 11:00:02,973 INFO    :
 2014-03-25 11:00:02,974 INFO    : Current default time zone: 'Etc/UTC'
 2014-03-25 11:00:02,976 INFO    : Local time is now:      Tue Mar 25
 18:00:02 UTC 2014.
 2014-03-25 11:00:02,978 INFO    : Universal Time is now:  Tue Mar 25
 18:00:02 UTC 2014.
 2014-03-25 11:00:02,978 INFO    :
 Extracting templates from packages: 100%
 2014-03-25 11:00:42,819 INFO    :
 2014-03-25 11:00:42,820 INFO    : Current default time zone: 'Etc/UTC'
 2014-03-25 11:00:42,828 INFO    : Local time is now:      Tue Mar 25
 18:00:42 UTC 2014.
 2014-03-25 11:00:42,829 INFO    : Universal Time is now:  Tue Mar 25
 18:00:42 UTC 2014.
 2014-03-25 11:00:42,830 INFO    : Run 'dpkg-reconfigure tzdata' if you
 wish to change it.
 2014-03-25 11:00:42,830 INFO    :
 2014-03-25 11:01:10,747 INFO    : Clearing symlinks in
 /etc/ssl/certs...done.
 2014-03-25 11:01:13,847 INFO    : Updating certificates in
 /etc/ssl/certs... 164 added, 0 removed; done.
 2014-03-25 11:01:13,855 INFO    : Running hooks in /etc/ca-
 certificates/update.d....done.
 2014-03-25 11:01:16,847 INFO    :
 2014-03-25 11:01:16,848 INFO    : Warning: Fake initctl called, doing
 nothing
 2014-03-25 11:01:23,800 INFO    : Cleaning up
 2014-03-25 11:01:23,801 INFO    : Calling hook: preflight_check
 2014-03-25 11:01:23,802 INFO    : Calling hook: configure_networking
 2014-03-25 11:01:23,812 INFO    : Calling hook: configure_mounting
 2014-03-25 11:01:23,818 INFO    : Calling hook: mount_partitions
 2014-03-25 11:01:23,820 INFO    : Mounting target filesystems
 2014-03-25 11:01:23,820 INFO    : Creating disk image: "/tmp/tmpFVykbv" of
 size: 11264MB
 2014-03-25 11:01:24,035 INFO    : Adding partition table to disk image:
 /tmp/tmpFVykbv
 2014-03-25 11:01:24,177 INFO    : Adding type 4 partition to disk image:
 /tmp/tmpFVykbv
 2014-03-25 11:01:24,178 INFO    : Partition at beginning of disk -
 reserving first cylinder
 2014-03-25 11:01:24,202 INFO    : Adding type 3 partition to disk image:
 /tmp/tmpFVykbv
 2014-03-25 11:01:24,209 INFO    : [0] ../../libparted/filesys.c:148
 (ped_file_system_type_get): File system alias linux-swap(new) is
 deprecated
 2014-03-25 11:01:24,233 INFO    : Creating loop devices corresponding to
 the created partitions
 2014-03-25 11:01:24,242 INFO    : Creating file systems
 2014-03-25 11:01:24,271 INFO    : mke2fs 1.42 (29-Nov-2011)
 2014-03-25 11:01:30,596 INFO    : mkswap: /dev/mapper/loop0p2: warning:
 don't erase bootbits sectors
 2014-03-25 11:01:30,597 INFO    :         on whole disk. Use -f to force.
 2014-03-25 11:01:34,536 INFO    : Calling hook: install_bootloader
 2014-03-25 11:01:52,457 INFO    : Searching for GRUB installation
 directory ... found: /boot/grub
 2014-03-25 11:01:52,489 INFO    : Searching for default file ...
 Generating /boot/grub/default file and setting the default boot entry to 0
 2014-03-25 11:01:52,490 INFO    : Searching for GRUB installation
 directory ... found: /boot/grub
 2014-03-25 11:01:52,493 INFO    : Testing for an existing GRUB menu.lst
 file ...
 2014-03-25 11:01:52,494 INFO    :
 2014-03-25 11:01:52,494 INFO    : Could not find /boot/grub/menu.lst file.
 2014-03-25 11:01:52,495 INFO    : Generating /boot/grub/menu.lst
 2014-03-25 11:01:52,526 INFO    : Searching for splash image ... none
 found, skipping ...
 2014-03-25 11:01:52,595 INFO    : grep: /boot/config*: No such file or
 directory
 2014-03-25 11:01:52,630 INFO    : Updating /boot/grub/menu.lst ... done
 2014-03-25 11:01:52,635 INFO    :
 2014-03-25 11:01:52,782 INFO    : Searching for GRUB installation
 directory ... found: /boot/grub
 2014-03-25 11:01:52,807 INFO    : Searching for default file ... found:
 /boot/grub/default
 2014-03-25 11:01:52,809 INFO    : Testing for an existing GRUB menu.lst
 file ... found: /boot/grub/menu.lst
 2014-03-25 11:01:52,857 INFO    : Searching for splash image ... none
 found, skipping ...
 2014-03-25 11:01:52,873 INFO    : grep: /boot/config*: No such file or
 directory
 2014-03-25 11:01:52,913 INFO    : Updating /boot/grub/menu.lst ... done
 2014-03-25 11:01:52,915 INFO    :
 2014-03-25 11:01:52,969 INFO    : Searching for GRUB installation
 directory ... found: /boot/grub
 2014-03-25 11:01:52,974 INFO    : Calling hook: install_kernel
 2014-03-25 11:01:55,311 INFO    : Done.
 2014-03-25 11:02:01,451 INFO    : Running depmod.
 2014-03-25 11:02:01,539 INFO    : update-initramfs: Generating
 /boot/initrd.img-2.6.32-57-server
 2014-03-25 11:02:06,441 INFO    : Running postinst hook script /usr/sbin
 /update-grub.
 2014-03-25 11:02:06,596 INFO    : Searching for GRUB installation
 directory ... found: /boot/grub
 2014-03-25 11:02:06,677 INFO    : Searching for default file ... found:
 /boot/grub/default
 2014-03-25 11:02:06,678 INFO    : Testing for an existing GRUB menu.lst
 file ... found: /boot/grub/menu.lst
 2014-03-25 11:02:06,940 INFO    : Searching for splash image ... none
 found, skipping ...
 2014-03-25 11:02:07,012 INFO    : Found kernel:
 /boot/vmlinuz-2.6.32-57-server
 2014-03-25 11:02:07,204 INFO    : Replacing config file
 /var/run/grub/menu.lst with new version
 2014-03-25 11:02:07,259 INFO    : Updating /boot/grub/menu.lst ... done
 2014-03-25 11:02:07,263 INFO    :
 2014-03-25 11:02:07,635 INFO    : Calling hook: post_install
 2014-03-25 11:02:07,640 INFO    : Calling hook: unmount_partitions
 2014-03-25 11:02:07,641 INFO    : Unmounting target filesystem
 2014-03-25 11:02:11,292 INFO    : Calling hook: convert
 2014-03-25 11:02:11,293 INFO    : Converting /tmp/tmpFVykbv to qcow2,
 format base-lucid-amd64/tmpFVykbv.qcow2
 2014-03-25 11:02:39,305 INFO    : Calling hook: fix_ownership
 2014-03-25 11:02:39,308 INFO    : Calling hook: deploy
 2014-03-25 11:02:39,309 INFO    : Calling hook: fix_ownership
 Extracting partition for lxc
 + set -e
 + SUITE=lucid
 + ARCH=amd64
 + VMSW=KVM
 + [ -n 1 ]
 + VMSW=LXC
 + [ 4 != 0 ]
 + true
 + SUITE=lucid
 + shift 2
 + true
 + ARCH=amd64
 + shift 2
 + true
 + break
 + BASE=base-lucid-amd64
 + OUT=target-lucid-amd64
 + cp -a base-lucid-amd64 target-lucid-amd64
 + on-target -u root /root/firstboot.sh
 + set -e
 + . gconfig
 + VM_SSH_PORT=2223
 + TUSER=ubuntu
 + [ 3 != 0 ]
 + true
 + TUSER=root
 + shift 2
 + true
 + break
 + [ -z 1 ]
 + config-lxc
 + sudo lxc-start -n gitian -f var/lxc.config -- sudo -i -u root
 /root/firstboot.sh
 lxc-start: failed to spawn 'gitian'
 amd64 lucid VM creation failed
 }}}

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/11362#comment:1>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list