Package: ipmitool
Version: 1.8.19-9
X-Debbugs-CC: [email protected]

Hi,
I was verifying qemu 10.1 in Ubuntu based on the fast work of Michael
in the form of 1:10.1.0~rc3+ds-2 in experimental and that showed that
the tests of ipmitool will break.

This is due to upstream dropping old deprecated machine types.
The exact versions depend on architecture but for impitool tests x86
matters and there all <=2.5 is now gone.

This conflicts with the config used in the ipmitools test:

debian/tests/vbmc-qemu-vm-session.xml:7:
    <type arch='x86_64' machine='pc-i440fx-2.5'>hvm</type>

Causing the tests to fail now (from the log):

 94s autopkgtest [02:57:18]: test qemuvbmc: [-----------------------
 94s debian/tests/vbmc-qemu-vm-session.xml validates
 95s
 95s error: Failed to define domain from debian/tests/vbmc-qemu-vm-session.xml
 95s error: unsupported configuration: Emulator
'/usr/bin/qemu-system-x86_64' does not support machine type
'pc-i440fx-2.5'

There are a few aliases which will always point to the latest type.
These should be more useful to test this the latest and should always
be present to avoid the same patch in some years bumping the version
number again.

$ qemu-system-x86_64 -M help | grep alias | grep pc
pc Standard PC (i440FX + PIIX, 1996) (alias of pc-i440fx-8.2)
q35                  Standard PC (Q35 + ICH9, 2009) (alias of pc-q35-8.2)


I've not seen a salsa repo, but git://git.jff.email/ipmitool.git
Since I'm unsure how to send a PR I've attached a trivial patch here
that switches the dropped type to the alias that points to the latest.

o/
Christian

P.S. If you prefer to cherry pick, I've also made it available here on
launchpad 
https://git.launchpad.net/~paelzer/ubuntu/+source/ipmitool/commit/?id=a7935cc899f8bb6504d6328dd668568ec63971f1
From a7935cc899f8bb6504d6328dd668568ec63971f1 Mon Sep 17 00:00:00 2001
From: Christian Ehrhardt <[email protected]>
Date: Fri, 15 Aug 2025 08:34:49 +0200
Subject: [PATCH] d/t/vbmc-qemu-vm-session.xml: Drop unsupported machine type

Qemu dropped some very old machine types.
This conflicts with the config used in the ipmitools test

debian/tests/vbmc-qemu-vm-session.xml:7:
  <type arch='x86_64' machine='pc-i440fx-2.5'>hvm</type>

Causing the tests to fail now:

 94s autopkgtest [02:57:18]: test qemuvbmc: [-----------------------
 94s debian/tests/vbmc-qemu-vm-session.xml validates
 95s
 95s error: Failed to define domain from debian/tests/vbmc-qemu-vm-session.xml
 95s error: unsupported configuration: Emulator '/usr/bin/qemu-system-x86_64'
     does not support machine type 'pc-i440fx-2.5'

Signed-off-by: Christian Ehrhardt <[email protected]>
---
 debian/tests/vbmc-qemu-vm-session.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debian/tests/vbmc-qemu-vm-session.xml b/debian/tests/vbmc-qemu-vm-session.xml
index f345b8b..7e4bc2d 100644
--- a/debian/tests/vbmc-qemu-vm-session.xml
+++ b/debian/tests/vbmc-qemu-vm-session.xml
@@ -4,7 +4,7 @@
   <currentMemory unit='KiB'>256000</currentMemory>
   <vcpu>1</vcpu>
   <os>
-    <type arch='x86_64' machine='pc-i440fx-2.5'>hvm</type>
+    <type arch='x86_64' machine='pc'>hvm</type>
     <kernel>/boot/vmlinuz</kernel>
     <initrd>/boot/initrd.img</initrd>
     <cmdline> console=ttyS0 quiet loglevel=0 edd=off printk.time=1 noreplace-smp cgroup_disable=memory pci=noearly noapic panic=-1 selinux=0</cmdline>
-- 
2.43.0

Reply via email to