← Back to team overview

canonical-ubuntu-qa team mailing list archive

[Bug 2056334] Re: wrong version when building a package that's already part of the initial image

 

After a bit more reflexion, I'd even argue that this 'built tree'
exception shouldn't exist in the first place as it seems like a nice
footgun, but I'm guessing it's not that simple, so in the mean time I'll
just go and amend my wrapper script to not use `autopkgtest .` but
rather `dpkg-buildpackage -S && autopkgtest ../$package.dsc`

-- 
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/2056334

Title:
  wrong version when building a package that's already part of the
  initial image

Status in autopkgtest package in Ubuntu:
  Incomplete

Bug description:
  While working on needrestart autopkgtests, I've run into issues
  testing it using my standard invocation:

  autopkgtest . -U -- lxd autopkgtest/ubuntu/noble/amd64

  The runner wouldn't install the built package but would just keep
  whichever version is in the archive, while still using the new sources
  for getting the test scripts, which of course would result in failures
  :)

  It works fine with packages not part of the base image, e.g. hello.

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



References