[Bug 2048788] Re: sbuild autopkgtest just skips the unshare tests

Benjamin Drung 2048788 at bugs.launchpad.net
Mon Feb 26 23:25:37 UTC 2024


This has been fixed in 0.85.6 via
https://salsa.debian.org/debian/sbuild/-/merge_requests/57

** Changed in: sbuild (Ubuntu)
   Importance: Undecided => Medium

** Changed in: sbuild (Ubuntu)
       Status: New => 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/2048788

Title:
  sbuild autopkgtest just skips the unshare tests

Status in sbuild package in Ubuntu:
  Fix Released

Bug description:
  sbuild autopkgtest test currenly looks like this:

  2429s build-procenv        PASS
  2429s unshare              SKIP exit status 77 and marked as skippable
  2429s unshare-qemuwrapper  SKIP exit status 77 and marked as skippable

  The unshare autopkg test is skipping because there is a check to see if unshare is working.
  This fails like so:
  unshare(CLONE_NEWNS|CLONE_NEWUSER)      = -1 EACCES (Permission denied)

  With that failure, the unshare test realizes the problem and exits 77,
  skipping the test.

  In situations where this has regressed, that EACCES is due to LP:
  #2035315.  Sbuild autopkgtest has an attempt at mitigating unshare
  problems by running the test again - this is the unshare-qemuwrapper.
  However this exits 77 for the same reason, which means that neither
  version of the unshare test actually runs.

  Sample log:
  https://autopkgtest.ubuntu.com/results/autopkgtest-noble/noble/amd64/s/sbuild/20240108_203545_af566@/log.gz

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




More information about the foundations-bugs mailing list