[Bug 1806389] Re: DEP8 tests need vm

Launchpad Bug Tracker 1806389 at bugs.launchpad.net
Tue Dec 11 05:51:56 UTC 2018


This bug was fixed in the package sbuild - 0.77.1-2ubuntu2

---------------
sbuild (0.77.1-2ubuntu2) disco; urgency=medium

  * d/t/control: add isolation-machine to the test flags (LP: #1806389)
  * d/t/build-procenv: only install the built package if the chroot it was
    built in matches the release of the host system (LP: #1806388)

 -- Andreas Hasenack <andreas at canonical.com>  Mon, 03 Dec 2018 11:47:38
-0200

** Changed in: sbuild (Ubuntu)
       Status: In Progress => Fix Released

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

Title:
  DEP8 tests need vm

Status in sbuild package in Ubuntu:
  Fix Released

Bug description:
  The sbuild DEP8 tests call debootstrap, which tries to create device
  nodes and fails in a lxd container:

  autopkgtest [00:43:53]: test build-procenv: [-----------------------
  INFO: Creating sbuild chroot 'disco-armhf-sbuild' for release 'disco' in directory '/tmp/autopkgtest.58S3ah/autopkgtest_tmp/schroot-disco' from url 'http://ports.ubuntu.com/ubuntu-ports'
  mkdir /tmp/autopkgtest.58S3ah/autopkgtest_tmp/schroot-disco
  mknod: /tmp/autopkgtest.58S3ah/autopkgtest_tmp/schroot-disco/test-dev-null: Operation not permitted
  E: Cannot install into target '/tmp/autopkgtest.58S3ah/autopkgtest_tmp/schroot-disco' mounted with noexec or nodev
  E: Error running debootstrap at /usr/bin/sbuild-createchroot line 397.

  This is currently the cause of all dep8 failures in armhf in the
  canonical autopkgtest infra:

  http://autopkgtest.ubuntu.com/packages/sbuild

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/sbuild/+bug/1806389/+subscriptions



More information about the foundations-bugs mailing list