[Bug 1813730] Re: livecd-rootfs autopkgtest fails configuring required packages calling out util-linux

Balint Reczey balint.reczey at canonical.com
Tue Jan 29 16:23:14 UTC 2019


I can reproduce the issue and analyze it in a qemu testbed with the
following patch:

--- a/live-build/functions
+++ b/live-build/functions
@@ -10,6 +10,7 @@ loop_raw=
 backing_img=
 
 clean_loops() {
+    sleep 10000
     local kpartx_ret
     local kpartx_stdout
 

Oddly enough nothing seems to be using the /dev/mapper/loop3p1 device
but e2fs fails:

strace e2fsck -d -v -y -E discard /dev/mapper/loop3p1
...
stat("/dev/mapper/loop3p1", {st_mode=S_IFBLK|0660, st_rdev=makedev(253, 0), ...}) = 0
openat(AT_FDCWD, "/dev/mapper/loop3p1", O_RDONLY|O_EXCL) = -1 EBUSY (Device or resource busy)
...
write(1, "/dev/mapper/loop3p1 is in use.\n", 31/dev/mapper/loop3p1 is in use.
) = 31
write(2, "e2fsck: Cannot continue, abortin"..., 37e2fsck: Cannot continue, aborting.



** Changed in: livecd-rootfs (Ubuntu)
       Status: New => Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to python-apt in Ubuntu.
https://bugs.launchpad.net/bugs/1813730

Title:
  livecd-rootfs autopkgtest fails configuring required packages calling
  out util-linux

Status in livecd-rootfs package in Ubuntu:
  Confirmed
Status in python-apt package in Ubuntu:
  Invalid
Status in qemu package in Ubuntu:
  Invalid
Status in rsync package in Ubuntu:
  Invalid
Status in xz-utils package in Ubuntu:
  Invalid

Bug description:
  As of recently autopkgtests of livecd-rootfs fail.
  It seems unrelated to which package is tested, the failure is always the same.
  => http://autopkgtest.ubuntu.com/packages/l/livecd-rootfs/disco/amd64
  It is failing for qemu, xz-utils, rsync, python-apt and qemu.

  From the log we see all sub-cases fail with a tail like:

  W: Failure while configuring required packages.
  W: See /tmp/tmp.qy1mya9uZ0/ubuntu-base::/chroot/debootstrap/debootstrap.log for details (possibly the package util-linux is at fault)
  P: Begin unmounting filesystems...
  P: Saving caches...
  P: Begin unmounting filesystems...
  P: Saving caches...
  autopkgtest [13:39:10]: test default-bootstraps: -----------------------]
  default-bootstraps   FAIL non-zero exit status 1

  Full log of one such cases:
  https://objectstorage.prodstack4-5.canonical.com/v1/AUTH_77e2ada1e7a84929a74ba3b87153c0ac
  /autopkgtest-disco/disco/amd64/l/livecd-
  rootfs/20190125_133950_dc236@/log.gz

  I found no related open bugs in
  https://bugs.launchpad.net/ubuntu/+source/livecd-rootfs/+bugs?orderby=-date_last_updated&start=0
  nor in
  https://bugs.launchpad.net/ubuntu/+source/util-linux/+bugs?orderby=-date_last_updated&start=0

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/livecd-rootfs/+bug/1813730/+subscriptions



More information about the foundations-bugs mailing list