Update osinfo-db to include 23.10 release etc

Bug #2045703 reported by Jeremy Bícha
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
osinfo-db (Ubuntu)
Fix Released
Medium
Jeremy Bícha
Jammy
Fix Released
Medium
Jeremy Bícha
Mantic
Fix Released
Medium
Jeremy Bícha

Bug Description

Impact
======
The purpose of osinfo-db is to provide a database of guest operating systems for use by virtualization provisioning tools using the libosinfo library. The two primary users are the GNOME Boxes and Virt Manager apps.

This SRU updates the database to the latest v20231027 release, which updates the data for many non-Ubuntu Linux distros.

It also includes patches that all have been applied upstream and will be included in the next osinfo-db stable release:
1. Add initial 24.04 LTS release data. Because it is marked prerelease, it will not shown in the Download an OS feature of GNOME Boxes, but at least a 24.04 LTS ISO will be recognized as Ubuntu 24.04 LTS.
2. Update data for the Ubuntu 23.10 stable release. The existing data was prerelease.
3. Mark 23.10 as the latest stable Ubuntu release.
4. Update the 22.04 LTS download links to use the "latest" redirect links so that they will keep working after a new 22.04 LTS point release. Currently, they are broken because they were pointing to 22.04.2.

Test Case 0
===========
osinfo-db has an extensive test suite to validate the data files. If the test suite fails, it will fail the build. These tests are also run as autopkgtests.

Ensure the build succeeds and the autopkgtest passes

Prerequisites for remaining tests
================================
1. Install the update
2. Open a terminal and run
sudo apt install gnome-boxes

Test Case 1
===========
1. Run gnome-boxes
2. Click + then press "Download an operating system" (The UI varies depending on the version of gnome-boxes).
3. Select Ubuntu 23.10 x86_64 (Live)
4. The ISO will download to your Downloads folder
5. When it completes, the wizard will prompt you to create a Ubuntu 23.10 box.
Complete the wizard then complete the Ubuntu 23.10 install.
6. After the install, the virtual machine will reboot. Click the Virtual Machine and log into the Ubuntu 23.10 virtual machine.
7. Open a terminal and run this command: cat /etc/os-release to verify that you are using Ubuntu 23.10.
8. Afterwards, you can power off the virtual machine.

Test Case 2
===========
1. Run gnome-boxes
2. Click + then press "Download an operating system" (The UI varies depending on the version of gnome-boxes).
3. Select Ubuntu 22.04 LTS x86_64 (Live)
4. The ISO will download to your Downloads folder
5. When it completes, the wizard will prompt you to create a Ubuntu 22.04 LTS box.
Enable the Express Install option.
Complete the wizard (it likely asks for a username and password).
6. Ubuntu 22.04 LTS should successfully install in the virtual machine without user interaction needed. After the install, the virtual machine will reboot. Click the Virtual Machine and log into the Ubuntu 22.04 LTS virtual machine.
7. Open a terminal and run this command: cat /etc/os-release to verify that you are using Ubuntu 22.04.3 LTS.
8. Afterwards, you can power off the virtual machine.

Test Case 3
===========
From a terminal, run
osinfo-query os vendor="Canonical Ltd"

Ubuntu 22.04 LTS, Ubuntu 23.04, Ubuntu 23.10, and 24.04 LTS should be included in the list.

Where problems could occur
==========================
It is always possible to use ISOs not recognized by osinfo-db with either GNOME Boxes or Virt Manager. osinfo-db provides useful metadata like recommended RAM, recommended hard disk size, and what virtualized hardware interfaces are supported.

This update significantly improves the ability of those apps to recognize distros released in 2023 while also making improvements to older distros.

The most likely possible problem is that some download links may no longer work. However, we know that the Ubuntu 22.04 LTS download link was broken before this update so the download links will be better with this update.

Other Info
==========
I wish to skip doing an SRU for Ubuntu 23.04 "Lunar" since it goes end of life approximately January which leaves limited time to handle SRUs.

Jeremy Bícha (jbicha)
Changed in osinfo-db (Ubuntu):
assignee: nobody → Jeremy Bícha (jbicha)
Changed in osinfo-db (Ubuntu Jammy):
assignee: nobody → Jeremy Bícha (jbicha)
Changed in osinfo-db (Ubuntu Mantic):
assignee: nobody → Jeremy Bícha (jbicha)
Changed in osinfo-db (Ubuntu Jammy):
status: New → In Progress
Changed in osinfo-db (Ubuntu Mantic):
status: New → In Progress
Jeremy Bícha (jbicha)
description: updated
description: updated
Jeremy Bícha (jbicha)
description: updated
Jeremy Bícha (jbicha)
description: updated
description: updated
Changed in osinfo-db (Ubuntu Jammy):
importance: Undecided → Medium
Changed in osinfo-db (Ubuntu Mantic):
importance: Undecided → Medium
description: updated
Jeremy Bícha (jbicha)
description: updated
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package osinfo-db - 0.20231027-1ubuntu2

---------------
osinfo-db (0.20231027-1ubuntu2) noble; urgency=medium

  * Update 24.04 patch (LP: #2045703)
  * Add patch to mark Ubuntu 23.10 as latest stable Ubuntu release
  * Add patch to use latest redirect download links for Ubuntu 22.04 LTS

 -- Jeremy Bícha <email address hidden> Tue, 05 Dec 2023 17:45:54 -0500

Changed in osinfo-db (Ubuntu):
status: Fix Committed → Fix Released
Revision history for this message
Timo Aaltonen (tjaalton) wrote : Please test proposed package

Hello Jeremy, or anyone else affected,

Accepted osinfo-db into mantic-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/osinfo-db/0.20231027-0ubuntu0.23.10.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-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 osinfo-db (Ubuntu Mantic):
status: In Progress → Fix Committed
tags: added: verification-needed verification-needed-mantic
Revision history for this message
Timo Aaltonen (tjaalton) wrote :

in the description you probably meant skipping lunar, instead of kinetic?

Changed in osinfo-db (Ubuntu Jammy):
status: In Progress → Fix Committed
tags: added: verification-needed-jammy
Revision history for this message
Timo Aaltonen (tjaalton) wrote :

Hello Jeremy, or anyone else affected,

Accepted osinfo-db into jammy-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/osinfo-db/0.20231027-0ubuntu0.22.04.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-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.

Revision history for this message
Ubuntu SRU Bot (ubuntu-sru-bot) wrote : Autopkgtest regression report (osinfo-db/0.20231027-0ubuntu0.23.10.1)

All autopkgtests for the newly accepted osinfo-db (0.20231027-0ubuntu0.23.10.1) for mantic have finished running.
The following regressions have been reported in tests triggered by the package:

osinfo-db/0.20231027-0ubuntu0.23.10.1 (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/mantic/update_excuses.html#osinfo-db

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

Thank you!

Jeremy Bícha (jbicha)
description: updated
Revision history for this message
Jeremy Bícha (jbicha) wrote :

I successfully completed all 3 tests cases on a Ubuntu 22.04 LTS host after I installed osinfo-db 0.20231027-0ubuntu22.04.1 on it.

The autopkgtest for Ubuntu 23.10 passed after a retry (some armhf autopkgtest runs fail currently for reasons unrelated to this update).

tags: added: verification-done-jammy
removed: verification-needed-jammy
Revision history for this message
Jeremy Bícha (jbicha) wrote :

I successfully completed all 3 tests cases on a Ubuntu 23.10 host after I installed osinfo-db 0.20231027-0ubuntu23.10.1 on it.

tags: added: verification-done verification-done-mantic
removed: verification-needed verification-needed-mantic
Revision history for this message
Jeremy Bícha (jbicha) wrote :

Yes, I have updated the Other Info note to mention that we are skipping Lunar, not Kinetic.

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

This bug was fixed in the package osinfo-db - 0.20231027-0ubuntu0.23.10.1

---------------
osinfo-db (0.20231027-0ubuntu0.23.10.1) mantic; urgency=medium

  * New upstream release (LP: #2045703)
  * Add patch to update download links for Ubuntu 22.04 LTS
  * Add patch to update Ubuntu 23.10 data for the stable release
  * Add patch to recognize Ubuntu 23.10 as latest stable Ubuntu release
  * Add patch with initial Ubuntu 24.04 LTS data

 -- Jeremy Bícha <email address hidden> Tue, 05 Dec 2023 18:28:35 -0500

Changed in osinfo-db (Ubuntu Mantic):
status: Fix Committed → Fix Released
Revision history for this message
Brian Murray (brian-murray) wrote : Update Released

The verification of the Stable Release Update for osinfo-db 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 osinfo-db - 0.20231027-0ubuntu0.22.04.1

---------------
osinfo-db (0.20231027-0ubuntu0.22.04.1) jammy; urgency=medium

  * New upstream release (LP: #2045703)
  * Add patch to update download links for Ubuntu 22.04 LTS
  * Add patch to update Ubuntu 23.10 data for the stable release
  * Add patch to recognize Ubuntu 23.10 as latest stable Ubuntu release
  * Add patch with initial Ubuntu 24.04 LTS data

 -- Jeremy Bícha <email address hidden> Tue, 05 Dec 2023 18:18:16 -0500

Changed in osinfo-db (Ubuntu Jammy):
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.