[Bug 1934100] Re: Setup Always-Include-Phased-Updates (for hirsute+)

Launchpad Bug Tracker 1934100 at bugs.launchpad.net
Wed Jun 30 23:52:27 UTC 2021


This bug was fixed in the package autopkgtest - 5.16ubuntu1

---------------
autopkgtest (5.16ubuntu1) impish; urgency=medium

  * setup-testbed: Set Always-Include-Phased-Updates for apt (LP:
#1934100)

 -- Julian Andres Klode <juliank at ubuntu.com>  Wed, 30 Jun 2021 10:32:27
+0200

** Changed in: autopkgtest (Ubuntu Impish)
       Status: Fix Committed => Fix Released

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

Title:
  Setup Always-Include-Phased-Updates (for hirsute+)

Status in autopkgtest package in Ubuntu:
  Fix Released
Status in autopkgtest source package in Bionic:
  Fix Committed
Status in autopkgtest source package in Focal:
  Fix Committed
Status in autopkgtest source package in Hirsute:
  Fix Committed
Status in autopkgtest source package in Impish:
  Fix Released

Bug description:
  [Impact]
  APT 2.2.4 and newer, in hirsute-proposed, apply phasing to non-installed packages as well, to fix bug 1925745. This causes autopkgtest to no longer retrieve source packages (apt-get source still works fine), and hence the tests to fail - example:

  https://autopkgtest.ubuntu.com/results/autopkgtest-
  hirsute/hirsute/amd64/u/ubuntu-advantage-
  tools/20210618_132205_96afa@/log.gz

  We need to change setup-testbed to set APT::Get::Always-Include-
  Phased-Updates to true, as we did on the infrastructure and merged
  upstream in https://salsa.debian.org/ci-
  team/autopkgtest/-/merge_requests/125

  We set this unconditionally, it's a no-op for older releases.

  [Test plan]
  Correctness of the APT::Get::Always-Include-Phased-Updates feature is checked by the APT test suite. We only need to validate that the correct line is being written to /etc/apt/apt.conf.d/90always-include-phased-updates.

  Run autopkgtest-build-lxd or autopkgtest-buildvm-ubuntu-cloud to
  create a new hirsute image and check that the file sets the option.

  [Where problems could occur]
  Syntax could be wrong, and hence building images could fail.

  Semantics should arguably be more correct, as Always-Include-Phased-
  Updates is the legacy apt behavior against which autopkgtest was
  developed.

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



More information about the foundations-bugs mailing list