Missing version.py update

Bug #2058934 reported by Andreas Hasenack
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubuntu-advantage-tools (Ubuntu)
Fix Released
Undecided
Andreas Hasenack
Xenial
Fix Released
Undecided
Unassigned
Bionic
Fix Released
Undecided
Unassigned
Focal
Fix Released
Undecided
Unassigned
Jammy
Fix Released
Undecided
Unassigned
Mantic
Fix Released
Undecided
Unassigned
Noble
Fix Released
Undecided
Andreas Hasenack

Bug Description

[ Impact ]

The "pro" command-line tool has a "version" parameter that needs to be kept in sync with the package version from d/changelog. This has been forgotten in 31.2.1, and we decided to release 31.2.2 with that fix.

[ Test Plan ]

Install ubuntu-advantage-tools and run the command:

  pro version

Its output must match the package version from:

  dpkg -l ubuntu-advantage-tools

[ Where problems could occur ]

The most common problem here is to rebuild the package with a new version, or new suffix, and forgetting to update version.py again.

Another problem is that the version.py update could be the wrong version, but the test plan is looking for that exactly.

[ Other Info ]

Not at this time.

[ Original Description ]

https://launchpad.net/ubuntu/+source/ubuntu-advantage-tools/31.2.1 missed a corresponding uaclient/version.py version update to match d/changelog.

It was fixed in https://launchpad.net/ubuntu/+source/ubuntu-advantage-tools/31.2.2 without a changelog reference, and we should use this bug for the same change for the upcoming SRU in https://bugs.launchpad.net/ubuntu/+source/ubuntu-advantage-tools/+bug/2057937

Version 31.2.1 was not technically released as an SRU yet, it briefly existed in the unapproved queues without the uaclient/version.py fix, but was rejected in time. Technically we could add the corresponding version.py fix and use 31.2.1 in the SRUs, but we prefer to keep the stable releases using the same version everywhere, including devel. So let's make a 31.2.2 for the SRU, matching noble, and use this bug to track that.

Related branches

Changed in ubuntu-advantage-tools (Ubuntu Noble):
status: In Progress → Fix Committed
Revision history for this message
Timo Aaltonen (tjaalton) wrote :

missing sru info, though I guess it's trivial enough that I'll accept the uploads

Changed in ubuntu-advantage-tools (Ubuntu Mantic):
status: New → Fix Committed
tags: added: verification-needed verification-needed-mantic
Revision history for this message
Timo Aaltonen (tjaalton) wrote : Please test proposed package

Hello Andreas, or anyone else affected,

Accepted ubuntu-advantage-tools into mantic-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/ubuntu-advantage-tools/31.2.2~23.10 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-mantic to verification-done-mantic. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-mantic. 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 ubuntu-advantage-tools (Ubuntu Jammy):
status: New → Fix Committed
tags: added: verification-needed-jammy
Revision history for this message
Timo Aaltonen (tjaalton) wrote :

Hello Andreas, or anyone else affected,

Accepted ubuntu-advantage-tools into jammy-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/ubuntu-advantage-tools/31.2.2~22.04 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-jammy to verification-done-jammy. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-jammy. 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 ubuntu-advantage-tools (Ubuntu Focal):
status: New → Fix Committed
tags: added: verification-needed-focal
Revision history for this message
Timo Aaltonen (tjaalton) wrote :

Hello Andreas, or anyone else affected,

Accepted ubuntu-advantage-tools into focal-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/ubuntu-advantage-tools/31.2.2~20.04 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.

Changed in ubuntu-advantage-tools (Ubuntu Bionic):
status: New → Fix Committed
tags: added: verification-needed-bionic
Revision history for this message
Timo Aaltonen (tjaalton) wrote :

Hello Andreas, or anyone else affected,

Accepted ubuntu-advantage-tools into bionic-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/ubuntu-advantage-tools/31.2.2~18.04 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 ubuntu-advantage-tools (Ubuntu Xenial):
status: New → Fix Committed
tags: added: verification-needed-xenial
Revision history for this message
Timo Aaltonen (tjaalton) wrote :

Hello Andreas, or anyone else affected,

Accepted ubuntu-advantage-tools into xenial-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/ubuntu-advantage-tools/31.2.2~16.04 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-xenial to verification-done-xenial. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-xenial. 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
Ubuntu SRU Bot (ubuntu-sru-bot) wrote : Autopkgtest regression report (ubuntu-advantage-tools/31.2.2~23.10)

All autopkgtests for the newly accepted ubuntu-advantage-tools (31.2.2~23.10) for mantic have finished running.
The following regressions have been reported in tests triggered by the package:

software-properties/0.99.39 (amd64, arm64, armhf, ppc64el, s390x)

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/mantic/update_excuses.html#ubuntu-advantage-tools

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

Thank you!

Revision history for this message
Ubuntu SRU Bot (ubuntu-sru-bot) wrote : Autopkgtest regression report (ubuntu-advantage-tools/31.2.2~22.04)

All autopkgtests for the newly accepted ubuntu-advantage-tools (31.2.2~22.04) for jammy have finished running.
The following regressions have been reported in tests triggered by the package:

software-properties/0.99.22.9 (amd64, arm64, armhf, ppc64el, s390x)
update-manager/1:22.04.19 (amd64, arm64, armhf, i386, ppc64el, s390x)

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/jammy/update_excuses.html#ubuntu-advantage-tools

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

Thank you!

Revision history for this message
Andreas Hasenack (ahasenack) wrote :

Thank you, I'll add a test case to run "pro --version" and compare with the package's version.

description: updated
Revision history for this message
Andreas Hasenack (ahasenack) wrote :

Launchpad is/was sick...

<body><h1>504 Gateway Time-out</h1>\\nThe server didn\'t respond in time.\

Revision history for this message
Andreas Hasenack (ahasenack) wrote :

The software-properties autopkgtests are failing on adding a ppa. I can reproduce this locally every now and then (not always, but soon enough), with this command, on noble:

sudo rm /etc/apt/sources.list.d/ubuntu-support-team-ubuntu-software-properties-autopkgtest-mantic.sources ; sudo add-apt-repository ppa:ubuntu-support-team/software-properties-autopkgtest -y

Revision history for this message
Andreas Hasenack (ahasenack) wrote :

This is fix released in noble via https://launchpad.net/ubuntu/+source/ubuntu-advantage-tools/31.2.2 (and noble has 31.2.3 already).

Changed in ubuntu-advantage-tools (Ubuntu Noble):
status: Fix Committed → Fix Released
Revision history for this message
Andreas Hasenack (ahasenack) wrote :

Mantic verification

With the package from proposed:
$ apt-cache policy ubuntu-advantage-tools
ubuntu-advantage-tools:
  Installed: 31.2.2~23.10
  Candidate: 31.2.2~23.10
  Version table:
 *** 31.2.2~23.10 500
        500 http://br.archive.ubuntu.com/ubuntu mantic-proposed/main amd64 Packages
        100 /var/lib/dpkg/status
     31.2~23.10 500
        500 http://br.archive.ubuntu.com/ubuntu mantic-updates/main amd64 Packages
     29.4 500
        500 http://br.archive.ubuntu.com/ubuntu mantic/main amd64 Packages

$ pro version
31.2.2~23.10

$ dpkg -l ubuntu-advantage-tools|grep ^ii
ii ubuntu-advantage-tools 31.2.2~23.10 all transitional dummy package for ubuntu-pro-client

The versions match. Verification succeeded.

tags: added: verification-done-mantic
removed: verification-needed-mantic
Revision history for this message
Andreas Hasenack (ahasenack) wrote :

Jammy verification

With the package from proposed:
$ apt-cache policy ubuntu-advantage-tools
ubuntu-advantage-tools:
  Installed: 31.2.2~22.04
  Candidate: 31.2.2~22.04
  Version table:
 *** 31.2.2~22.04 500
        500 http://br.archive.ubuntu.com/ubuntu jammy-proposed/main amd64 Packages
        100 /var/lib/dpkg/status
     31.2~22.04 500
        500 http://br.archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages
     27.7~22.04.1 500
        500 http://br.archive.ubuntu.com/ubuntu jammy/main amd64 Packages

$ pro version
31.2.2~22.04

$ dpkg -l ubuntu-advantage-tools | grep ^ii
ii ubuntu-advantage-tools 31.2.2~22.04 all transitional dummy package for ubuntu-pro-client

THe versions match. Verification succeeded.

tags: added: verification-done-jammy
removed: verification-needed-jammy
Revision history for this message
Andreas Hasenack (ahasenack) wrote :

Focal verification

With the package from proposed:
$ apt-cache policy ubuntu-advantage-tools
ubuntu-advantage-tools:
  Installed: 31.2.2~20.04
  Candidate: 31.2.2~20.04
  Version table:
 *** 31.2.2~20.04 500
        500 http://br.archive.ubuntu.com/ubuntu focal-proposed/main amd64 Packages
        100 /var/lib/dpkg/status
     31.2~20.04 500
        500 http://br.archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages
     20.3 500
        500 http://br.archive.ubuntu.com/ubuntu focal/main amd64 Packages

$ pro version
31.2.2~20.04

$ dpkg -l ubuntu-advantage-tools | grep ^ii
ii ubuntu-advantage-tools 31.2.2~20.04 all transitional dummy package for ubuntu-pro-client

The versions match. Verification succeeded.

tags: added: verification-done-focal
removed: verification-needed-focal
Revision history for this message
Andreas Hasenack (ahasenack) wrote :

Bionic verification

With the package from proposed:
$ apt-cache policy ubuntu-advantage-tools
ubuntu-advantage-tools:
  Installed: 31.2.2~18.04
  Candidate: 31.2.2~18.04
  Version table:
 *** 31.2.2~18.04 500
        500 http://br.archive.ubuntu.com/ubuntu bionic-proposed/main amd64 Packages
        100 /var/lib/dpkg/status
     31.2~18.04 500
        500 http://br.archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages
     17 500
        500 http://br.archive.ubuntu.com/ubuntu bionic/main amd64 Packages

$ pro version
31.2.2~18.04

$ dpkg -l ubuntu-advantage-tools | grep ^ii
ii ubuntu-advantage-tools 31.2.2~18.04 all transitional dummy package for ubuntu-pro-client

The versions match. Verification succeeded.

tags: added: verification-done-bionic
removed: verification-needed-bionic
Revision history for this message
Andreas Hasenack (ahasenack) wrote :

Xenial verification

With the package from proposed:
$ apt-cache policy ubuntu-advantage-tools
ubuntu-advantage-tools:
  Installed: 31.2.2~16.04
  Candidate: 31.2.2~16.04
  Version table:
 *** 31.2.2~16.04 500
        500 http://br.archive.ubuntu.com/ubuntu xenial-proposed/main amd64 Packages
        100 /var/lib/dpkg/status
     31.2~16.04 500
        500 http://br.archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages

$ pro version
31.2.2~16.04

$ dpkg -l ubuntu-advantage-tools | grep ^ii
ii ubuntu-advantage-tools 31.2.2~16.04 all transitional dummy package for ubuntu-pro-client

The versions match. Verification succeeded.

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

This bug was fixed in the package ubuntu-advantage-tools - 31.2.2~23.10

---------------
ubuntu-advantage-tools (31.2.2~23.10) mantic; urgency=medium

  * version.py: match version from d/changelog (LP: #2058934)

ubuntu-advantage-tools (31.2.1~23.10) mantic; urgency=medium

  * apt-news.service: ignore apparmor errors when starting (LP: #2057937)

 -- Andreas Hasenack <email address hidden> Mon, 25 Mar 2024 11:56:18 -0300

Changed in ubuntu-advantage-tools (Ubuntu Mantic):
status: Fix Committed → Fix Released
Revision history for this message
Timo Aaltonen (tjaalton) wrote : Update Released

The verification of the Stable Release Update for ubuntu-advantage-tools 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 ubuntu-advantage-tools - 31.2.2~22.04

---------------
ubuntu-advantage-tools (31.2.2~22.04) jammy; urgency=medium

  * version.py: match version from d/changelog (LP: #2058934)

ubuntu-advantage-tools (31.2.1~22.04) jammy; urgency=medium

  * apt-news.service: ignore apparmor errors when starting (LP: #2057937)

 -- Andreas Hasenack <email address hidden> Mon, 25 Mar 2024 11:52:09 -0300

Changed in ubuntu-advantage-tools (Ubuntu Jammy):
status: Fix Committed → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ubuntu-advantage-tools - 31.2.2~20.04

---------------
ubuntu-advantage-tools (31.2.2~20.04) focal; urgency=medium

  * version.py: match version from d/changelog (LP: #2058934)

ubuntu-advantage-tools (31.2.1~20.04) focal; urgency=medium

  * apt-news.service: ignore apparmor errors when starting (LP: #2057937)

 -- Andreas Hasenack <email address hidden> Mon, 25 Mar 2024 11:49:51 -0300

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

This bug was fixed in the package ubuntu-advantage-tools - 31.2.2~16.04

---------------
ubuntu-advantage-tools (31.2.2~16.04) xenial; urgency=medium

  * version.py: match version from d/changelog (LP: #2058934)

ubuntu-advantage-tools (31.2.1~16.04) xenial; urgency=medium

  * apt-news.service: ignore apparmor errors when starting (LP: #2057937)

 -- Andreas Hasenack <email address hidden> Mon, 25 Mar 2024 11:29:56 -0300

Changed in ubuntu-advantage-tools (Ubuntu Xenial):
status: Fix Committed → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ubuntu-advantage-tools - 31.2.2~18.04

---------------
ubuntu-advantage-tools (31.2.2~18.04) bionic; urgency=medium

  * version.py: match version from d/changelog (LP: #2058934)

ubuntu-advantage-tools (31.2.1~18.04) bionic; urgency=medium

  * apt-news.service: ignore apparmor errors when starting (LP: #2057937)

 -- Andreas Hasenack <email address hidden> Mon, 25 Mar 2024 11:39:20 -0300

Changed in ubuntu-advantage-tools (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.