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

Bug #1934100 reported by Julian Andres Klode
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
autopkgtest (Ubuntu)
Fix Released
High
Unassigned
Bionic
Fix Released
High
Unassigned
Focal
Fix Released
High
Unassigned
Hirsute
Fix Released
High
Unassigned
Impish
Fix Released
High
Unassigned

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.

description: updated
description: updated
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
Revision history for this message
Brian Murray (brian-murray) wrote : Please test proposed package

Hello Julian, or anyone else affected,

Accepted autopkgtest into hirsute-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/autopkgtest/5.16ubuntu0.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, what testing has been performed on the package and change the tag from verification-needed-hirsute to verification-done-hirsute. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-hirsute. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping!

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

Changed in autopkgtest (Ubuntu Hirsute):
status: In Progress → Fix Committed
tags: added: verification-needed verification-needed-hirsute
Changed in autopkgtest (Ubuntu Focal):
status: In Progress → Fix Committed
tags: added: verification-needed-focal
Revision history for this message
Brian Murray (brian-murray) wrote :

Hello Julian, or anyone else affected,

Accepted autopkgtest into focal-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/autopkgtest/5.11ubuntu1.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, what testing has been performed on the package and change the tag from verification-needed-focal to verification-done-focal. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-focal. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping!

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

Revision history for this message
Brian Murray (brian-murray) wrote :

Hello Julian, or anyone else affected,

Accepted autopkgtest into bionic-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/autopkgtest/5.3.1ubuntu1.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, what testing has been performed on the package and change the tag from verification-needed-bionic to verification-done-bionic. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-bionic. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping!

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

Changed in autopkgtest (Ubuntu Bionic):
status: In Progress → Fix Committed
tags: added: verification-needed-bionic
Revision history for this message
Ubuntu SRU Bot (ubuntu-sru-bot) wrote : Autopkgtest regression report (autopkgtest/5.11ubuntu1.1)

All autopkgtests for the newly accepted autopkgtest (5.11ubuntu1.1) for focal have finished running.
The following regressions have been reported in tests triggered by the package:

notepadqq/2.0.0~beta1-1build1 (armhf)

Please visit the excuses page listed below and investigate the failures, proceeding afterwards as per the StableReleaseUpdates policy regarding autopkgtest regressions [1].

https://people.canonical.com/~ubuntu-archive/proposed-migration/focal/update_excuses.html#autopkgtest

[1] https://wiki.ubuntu.com/StableReleaseUpdates#Autopkgtest_Regressions

Thank you!

Revision history for this message
Launchpad Janitor (janitor) wrote :

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 <email address hidden> Wed, 30 Jun 2021 10:32:27 +0200

Changed in autopkgtest (Ubuntu Impish):
status: Fix Committed → Fix Released
Revision history for this message
Julian Andres Klode (juliank) wrote (last edit ):

bionic looks good, in fresh multipass VM:

[...]
Get:4 http://archive.ubuntu.com/ubuntu bionic-proposed/main amd64 autopkgtest all 5.3.1ubuntu1.1 [126 kB]
[...]
ubuntu@bionic:~$ autopkgtest-build-lxd ubuntu:hirsute
[...]
ubuntu@bionic:~$ lxc launch autopkgtest/ubuntu/hirsute/amd64 t
Creating t
Starting t
ubuntu@bionic:~$ lxc exec t cat /etc/apt/apt.conf.d/90always-include-phased-updates
APT::Get::Always-Include-Phased-Updates "true";
ubuntu@bionic:~$ lxc exec t apt-config dump | grep -i phased-updates
APT::Get::Always-Include-Phased-Updates "true";

tags: added: verification-done-bionic
removed: verification-needed-bionic
Revision history for this message
Julian Andres Klode (juliank) wrote :

focal 👍

ubuntu@focal:~$ sudo apt install autopkgtest
[...]
Get:4 http://archive.ubuntu.com/ubuntu focal-proposed/main amd64 autopkgtest all 5.11ubuntu1.1 [137 kB]
[...]
ubuntu@focal:~$ autopkgtest-build-lxd ubuntu:hirsute
[...]
ubuntu@focal:~$ lxc launch autopkgtest/ubuntu/hirsute/amd64 t
Creating t
Starting t
ubuntu@focal:~$ lxc exec t cat /etc/apt/apt.conf.d/90always-include-phased-updates
APT::Get::Always-Include-Phased-Updates "true";
ubuntu@focal:~$ lxc exec t apt-config dump | grep -i phased-updates
APT::Get::Always-Include-Phased-Updates "true";

tags: added: verification-done-focal
removed: verification-needed-focal
Revision history for this message
Julian Andres Klode (juliank) wrote :

hirsute 👍 - all releases verified now

ubuntu@hirsute:~$ sudo apt install autopkgtest
[...]
Get:4 http://archive.ubuntu.com/ubuntu hirsute-proposed/main amd64 autopkgtest all 5.16ubuntu0.1 [141 kB]
[...]
ubuntu@hirsute:~$ lxd init --auto
ubuntu@hirsute:~$ autopkgtest-build-lxd ubuntu:hirsute
[...}
ubuntu@hirsute:~$ lxc launch autopkgtest/ubuntu/hirsute/amd64 t
Creating t
Starting t
ubuntu@hirsute:~$ lxc exec t cat /etc/apt/apt.conf.d/90always-include-phased-updates
APT::Get::Always-Include-Phased-Updates "true";
ubuntu@hirsute:~$ lxc exec t apt-config dump | grep -i phased-updates
APT::Get::Always-Include-Phased-Updates "true";

tags: added: verification-done verification-done-hirsute
removed: verification-needed verification-needed-hirsute
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package autopkgtest - 5.16ubuntu0.1

---------------
autopkgtest (5.16ubuntu0.1) hirsute; urgency=medium

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

 -- Julian Andres Klode <email address hidden> Wed, 30 Jun 2021 10:35:01 +0200

Changed in autopkgtest (Ubuntu Hirsute):
status: Fix Committed → Fix Released
Revision history for this message
Łukasz Zemczak (sil2100) wrote : Update Released

The verification of the Stable Release Update for autopkgtest has completed successfully and the package is now being released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package autopkgtest - 5.11ubuntu1.1

---------------
autopkgtest (5.11ubuntu1.1) focal; urgency=medium

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

 -- Julian Andres Klode <email address hidden> Wed, 30 Jun 2021 10:37:39 +0200

Changed in autopkgtest (Ubuntu Focal):
status: Fix Committed → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package autopkgtest - 5.3.1ubuntu1.1

---------------
autopkgtest (5.3.1ubuntu1.1) bionic; urgency=medium

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

autopkgtest (5.3.1ubuntu1) bionic; urgency=medium

  * tools/autopkgtest-build-lxd: pass /dev/null on stdin to lxc launch
    (LP: #1845037)

 -- Julian Andres Klode <email address hidden> Wed, 30 Jun 2021 10:39:03 +0200

Changed in autopkgtest (Ubuntu Bionic):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.