warning: short-form boolean option 'readonly' deprecated

Bug #2069957 reported by Agathe Porte
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
autopkgtest (Debian)
Fix Released
Unknown
autopkgtest (Ubuntu)
Status tracked in Oracular
Jammy
In Progress
Low
Paride Legovini
Noble
In Progress
Low
Paride Legovini
Oracular
Fix Released
Low
Agathe Porte

Bug Description

[ Impact ]

The bug displays a warning when calling autopkgtest-buildvm-ubuntu-cloud. This is because the call to qemu uses a deprecated short version. The risk is that
in a future version of qemu the support for this short option is removed and
the tool stops working.

[ Test Plan ]

Use the patched autopkgtest package to run the
autopkgtest-buildvm-ubuntu-cloud command, and verify that the warning
is gone.

[ Where problems could occur ]

People running versions of qemu without the support for `readonly=on`
(if such version exist) may have the autopkgtest-buildvm-ubuntu-cloud
tool stop working.

[ Original Bug Report ]

When calling autopkgtest-buildvm-ubuntu-cloud on Ubuntu Noble, this warning appears:

$ autopkgtest-buildvm-ubuntu-cloud -r oracular
Downloading https://cloud-images.ubuntu.com/oracular/current/oracular-server-cloudimg-amd64.img...
473.8/476.2 MB (100%)
Download successful.
Resizing image, adding 20G...
Image resized.
Building seed image...
Booting image to run cloud-init...
qemu-system-x86_64: -drive index=1,file=/tmp/autopkgtest-buildvm-ubuntu-clouds5y57ipx/autopkgtest.seed,format=raw,if=virtio,discard=unmap,readonly: warning: short-form boolean option 'readonly' deprecated
Please use readonly=on instead
Moving image into final destination ./autopkgtest-oracular-amd64.img

Revision history for this message
Agathe Porte (gagath) wrote :
Changed in autopkgtest (Debian):
assignee: nobody → Agathe Porte (gagath)
status: New → In Progress
Revision history for this message
Agathe Porte (gagath) wrote :

Follow SRU template.

description: updated
Changed in autopkgtest (Ubuntu):
status: New → In Progress
Agathe Porte (gagath)
Changed in autopkgtest (Debian):
assignee: Agathe Porte (gagath) → nobody
importance: Undecided → Unknown
status: In Progress → Unknown
Changed in autopkgtest (Debian):
status: Unknown → New
Agathe Porte (gagath)
Changed in autopkgtest (Ubuntu Noble):
assignee: nobody → Agathe Porte (gagath)
importance: Undecided → Low
Revision history for this message
Paride Legovini (paride) wrote :

FYI: I'll soon cut an upstream autopkgtest release and merge, upload to Debian, merge in Ubuntu, and they this will be SRUd to Noble (and likely Jammy) under the autopkgtest SRU exception.

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

This bug was fixed in the package autopkgtest - 5.34ubuntu3

---------------
autopkgtest (5.34ubuntu3) oracular; urgency=medium

  * qemu: fix warning: short-form boolean option 'readonly' deprecated
    (LP: #2069957)

 -- Agathe Porte <email address hidden> Thu, 20 Jun 2024 13:14:25 +0200

Changed in autopkgtest (Ubuntu Oracular):
status: In Progress → Fix Released
Agathe Porte (gagath)
Changed in autopkgtest (Ubuntu Oracular):
status: Fix Released → In Progress
Revision history for this message
Agathe Porte (gagath) wrote :

> FYI: I'll soon cut an upstream autopkgtest release and merge, upload to Debian, merge in Ubuntu, and they this will be SRUd to Noble (and likely Jammy) under the autopkgtest SRU exception.

Added jammy as a target series.

Please assign yourself to the series if you want to take care of the SRU uploads. Thanks!

Changed in autopkgtest (Ubuntu Oracular):
status: In Progress → Fix Released
Changed in autopkgtest (Ubuntu Jammy):
importance: Undecided → Low
Agathe Porte (gagath)
Changed in autopkgtest (Ubuntu Noble):
assignee: Agathe Porte (gagath) → Paride Legovini (paride)
Changed in autopkgtest (Ubuntu Oracular):
assignee: Agathe Porte (gagath) → Paride Legovini (paride)
Changed in autopkgtest (Ubuntu Jammy):
assignee: nobody → Paride Legovini (paride)
Changed in autopkgtest (Ubuntu Oracular):
assignee: Paride Legovini (paride) → Agathe Porte (gagath)
Paride Legovini (paride)
Changed in autopkgtest (Ubuntu Jammy):
status: New → In Progress
Changed in autopkgtest (Ubuntu Noble):
status: New → In Progress
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.