← Back to team overview

canonical-ubuntu-qa team mailing list archive

[Bug 2073938] Re: autopkgtest-buildvm-ubuntu-cloud does not require dependencies to start

 

--install-suggests will install more or less everything that may be
needed, but that's normally too much: e.g. you probably don't want lxd
*and* incus. This bug report is an instance of

  https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1034351

and similar to:

  https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1076739

which has interesting pointers to possible solutions to this issue,
including splitting the package.

In the end looks like consensus is that we want tools to check for
required dependencies at runtime, as Tim mentioned. This is not as
trivial as it sounds (e.g. we may need a dependency if not running as
root, see discussion on fakemachine).

Also: it would be nice to have this functionality factored out from
individual scripts, so that we don't duplicate it. But some are Python,
some shell scripts, so again: not trivial as it sounds.

** Bug watch added: Debian Bug tracker #1034351
   https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1034351

** Bug watch added: Debian Bug tracker #1076739
   https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1076739

** Also affects: autopkgtest (Debian) via
   https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1034351
   Importance: Unknown
       Status: Unknown

** Changed in: autopkgtest (Ubuntu)
       Status: New => Triaged

** Changed in: autopkgtest (Ubuntu)
   Importance: Undecided => Low

-- 
You received this bug notification because you are a member of
Canonical's Ubuntu QA, which is subscribed to autopkgtest in Ubuntu.
https://bugs.launchpad.net/bugs/2073938

Title:
  autopkgtest-buildvm-ubuntu-cloud does not require dependencies to
  start

Status in autopkgtest package in Ubuntu:
  Triaged
Status in autopkgtest package in Debian:
  Unknown

Bug description:
  Running autopkgtest-buildvm-ubuntu-cloud on a fresh install (as of
  5.37ubuntu3 on noble) will download the requested release image before
  trying to use the required packages to build it such as genisoimage
  and qemu-utils.

  If these packages are not present in the system the process will fail
  here, after downloading the iso and will require a re-download after
  installing the required packages.

  It should check that the necessary packages are installed before
  spending time downloading the image.

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



References