[Bug 1845037] Re: autopkgtest package "lxd" test has started failing

Stéphane Graber stgraber at stgraber.org
Tue Sep 24 16:48:52 UTC 2019


This is because the test is somehow passing data to "lxc init" or "lxc
launch" through stdin.

Up until LXD 3.17, we'd only consume stdin in some rare cases during
init/launch. But now we're using it as a way to pre-seed the container's
YAML configuration, as the data fed through stdin isn't a YAML document,
this fails.

autopkgtest should be changed to either call those commands in a way
that doesn't provide them with invalid stdin input or by simply using "<
/dev/null" to ensure the particular command does not inherit whatever
stdin currently contains.

** Package changed: lxd (Ubuntu) => autopkgtest (Ubuntu)

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

Title:
  autopkgtest package "lxd" test has started failing

Status in autopkgtest package in Ubuntu:
  New

Bug description:
  [impact]

  the failure is seen in (at least) the "lxd" autopkgtest from the autopkgtest package itself, e.g.:
  https://objectstorage.prodstack4-5.canonical.com/v1/AUTH_77e2ada1e7a84929a74ba3b87153c0ac/autopkgtest-disco/disco/amd64/a/autopkgtest/20190923_160817_66dbe@/log.gz

  [test case]

  run the autopkgtests for the package 'autopkgtest', or check autopkgtest.ubuntu.com, e.g.:
  http://autopkgtest.ubuntu.com/packages/a/autopkgtest/disco/amd64
  http://autopkgtest.ubuntu.com/packages/a/autopkgtest/disco/i386
  http://autopkgtest.ubuntu.com/packages/a/autopkgtest/eoan/amd64
  http://autopkgtest.ubuntu.com/packages/a/autopkgtest/eoan/i386

  note that this is failing only for disco and eoan, and note that the 'lxd' test is skipped for non-intel archs.  this does not appear to be failing on bionic:
  http://autopkgtest.ubuntu.com/packages/a/autopkgtest/bionic/amd64

  [regression potential]

  TBD

  [other info]

  this is reproducable with the current packages from disco-updates
  using a local qemu vm for testing; it seems that some change in the
  lxd snap recently has caused this regression.

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



More information about the foundations-bugs mailing list