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

Julian Andres Klode 1934100 at bugs.launchpad.net
Wed Jun 30 08:36:29 UTC 2021


** Description changed:

  [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.

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

** Changed in: autopkgtest (Ubuntu Hirsute)
       Status: New => In Progress

** Changed in: autopkgtest (Ubuntu Focal)
       Status: New => In Progress

** Changed in: autopkgtest (Ubuntu Bionic)
       Status: New => In Progress

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

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

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

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

-- 
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 Committed
Status in autopkgtest source package in Bionic:
  In Progress
Status in autopkgtest source package in Focal:
  In Progress
Status in autopkgtest source package in Hirsute:
  In Progress
Status in autopkgtest source package in Impish:
  Fix Committed

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