All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH for-11.2] tests/functional: skip tests using deleted Armbian package
@ 2026-11-30 16:27 Brian Cain
  2026-11-30 16:46 ` Pierrick Bouvier
  0 siblings, 1 reply; 7+ messages in thread
From: Brian Cain @ 2026-11-30 16:27 UTC (permalink / raw)
  To: qemu-devel
  Cc: qemu-arm, Daniel P . Berrangé, Peter Maydell,
	Strahinja Jankovic, Niek Linnenbank, Alex Bennée,
	Paolo Bonzini, Thomas Huth, Brian Cain

Link: https://lore.kernel.org/qemu-devel/20261123170050.4166517-4-berrange@redhat.com/
Signed-off-by: Brian Cain <brian.cain@oss.qualcomm.com>
---
 tests/functional/arm/test_bpim2u.py     | 22 ++++++++++++++--------
 tests/functional/arm/test_cubieboard.py | 15 ++++++++++-----
 tests/functional/arm/test_orangepi.py   | 19 ++++++++++++-------
 tests/functional/arm/test_replay.py     | 10 +++++++---
 4 files changed, 43 insertions(+), 23 deletions(-)

diff --git a/tests/functional/arm/test_bpim2u.py b/tests/functional/arm/test_bpim2u.py
index e6fd80ae9d0..81591346bb0 100755
--- a/tests/functional/arm/test_bpim2u.py
+++ b/tests/functional/arm/test_bpim2u.py
@@ -5,6 +5,8 @@
 #
 # SPDX-License-Identifier: GPL-2.0-or-later
 
+from unittest import skip
+
 from qemu_test import LinuxKernelTest, exec_command_and_wait_for_pattern
 from qemu_test import Asset, interrupt_interactive_console_until_pattern
 from qemu_test import skipBigDataTest
@@ -13,7 +15,8 @@
 
 class BananaPiMachine(LinuxKernelTest):
 
-    ASSET_DEB = Asset(
+    # Keep this out of asset precaching while the dependent tests are skipped.
+    ARMBIAN_DEB = Asset(
         ('https://apt.armbian.com/pool/main/l/linux-6.6.44/'
          'linux-image-current-sunxi_24.8.2_armhf__6.6.44-'
          'S7213-D53de-P4ceb-C697eH5c21-HK01ba-V014b-B58e9-R448a.deb'),
@@ -35,13 +38,14 @@ class BananaPiMachine(LinuxKernelTest):
          'openwrt-22.03.3-sunxi-cortexa7-sinovoip_bananapi-m2-ultra-ext4-sdcard.img.gz'),
         '5b41b4e11423e562c6011640f9a7cd3bdd0a3d42b83430f7caa70a432e6cd82c')
 
+    @skip("Armbian 6.6.44 package is no longer available")
     def test_arm_bpim2u(self):
         self.set_machine('bpim2u')
         kernel_path = self.archive_extract(
-            self.ASSET_DEB, member='boot/vmlinuz-6.6.44-current-sunxi')
+            self.ARMBIAN_DEB, member='boot/vmlinuz-6.6.44-current-sunxi')
         dtb_path = ('usr/lib/linux-image-6.6.44-current-sunxi/'
                     'sun8i-r40-bananapi-m2-ultra.dtb')
-        dtb_path = self.archive_extract(self.ASSET_DEB, member=dtb_path)
+        dtb_path = self.archive_extract(self.ARMBIAN_DEB, member=dtb_path)
 
         self.vm.set_console()
         kernel_command_line = (self.KERNEL_COMMON_COMMAND_LINE +
@@ -54,13 +58,14 @@ def test_arm_bpim2u(self):
         console_pattern = 'Kernel command line: %s' % kernel_command_line
         self.wait_for_console_pattern(console_pattern)
 
+    @skip("Armbian 6.6.44 package is no longer available")
     def test_arm_bpim2u_initrd(self):
         self.set_machine('bpim2u')
         kernel_path = self.archive_extract(
-            self.ASSET_DEB, member='boot/vmlinuz-6.6.44-current-sunxi')
+            self.ARMBIAN_DEB, member='boot/vmlinuz-6.6.44-current-sunxi')
         dtb_path = ('usr/lib/linux-image-6.6.44-current-sunxi/'
                     'sun8i-r40-bananapi-m2-ultra.dtb')
-        dtb_path = self.archive_extract(self.ASSET_DEB, member=dtb_path)
+        dtb_path = self.archive_extract(self.ARMBIAN_DEB, member=dtb_path)
         initrd_path = self.uncompress(self.ASSET_INITRD)
 
         self.vm.set_console()
@@ -84,16 +89,17 @@ def test_arm_bpim2u_initrd(self):
         # Wait for VM to shut down gracefully
         self.vm.wait()
 
+    @skip("Armbian 6.6.44 package is no longer available")
     def test_arm_bpim2u_gmac(self):
         self.set_machine('bpim2u')
         self.require_netdev('user')
 
-        deb_path = self.ASSET_DEB.fetch()
+        deb_path = self.ARMBIAN_DEB.fetch()
         kernel_path = self.archive_extract(
-            self.ASSET_DEB, member='boot/vmlinuz-6.6.44-current-sunxi')
+            self.ARMBIAN_DEB, member='boot/vmlinuz-6.6.44-current-sunxi')
         dtb_path = ('usr/lib/linux-image-6.6.44-current-sunxi/'
                     'sun8i-r40-bananapi-m2-ultra.dtb')
-        dtb_path = self.archive_extract(self.ASSET_DEB, member=dtb_path)
+        dtb_path = self.archive_extract(self.ARMBIAN_DEB, member=dtb_path)
         rootfs_path = self.uncompress(self.ASSET_ROOTFS)
         image_pow2ceil_expand(rootfs_path)
 
diff --git a/tests/functional/arm/test_cubieboard.py b/tests/functional/arm/test_cubieboard.py
index eeafc26f90d..de0e5dbd0d3 100755
--- a/tests/functional/arm/test_cubieboard.py
+++ b/tests/functional/arm/test_cubieboard.py
@@ -4,6 +4,8 @@
 #
 # SPDX-License-Identifier: GPL-2.0-or-later
 
+from unittest import skip
+
 from qemu_test import LinuxKernelTest, Asset, exec_command_and_wait_for_pattern
 from qemu_test import interrupt_interactive_console_until_pattern
 from qemu_test import skipBigDataTest
@@ -12,7 +14,8 @@
 
 class CubieboardMachine(LinuxKernelTest):
 
-    ASSET_DEB = Asset(
+    # Keep this out of asset precaching while the dependent tests are skipped.
+    ARMBIAN_DEB = Asset(
         ('https://apt.armbian.com/pool/main/l/linux-6.6.44/'
          'linux-image-current-sunxi_24.8.2_armhf__6.6.44-'
          'S7213-D53de-P4ceb-C697eH5c21-HK01ba-V014b-B58e9-R448a.deb'),
@@ -35,13 +38,14 @@ class CubieboardMachine(LinuxKernelTest):
          'openwrt-22.03.2-sunxi-cortexa8-cubietech_a10-cubieboard-ext4-sdcard.img.gz'),
         '94b5ecbfbc0b3b56276e5146b899eafa2ac5dc2d08733d6705af9f144f39f554')
 
+    @skip("Armbian 6.6.44 package is no longer available")
     def test_arm_cubieboard_initrd(self):
         self.set_machine('cubieboard')
         kernel_path = self.archive_extract(
-            self.ASSET_DEB, member='boot/vmlinuz-6.6.44-current-sunxi')
+            self.ARMBIAN_DEB, member='boot/vmlinuz-6.6.44-current-sunxi')
         dtb_path = ('usr/lib/linux-image-6.6.44-current-sunxi/' +
                     'sun4i-a10-cubieboard.dtb')
-        dtb_path = self.archive_extract(self.ASSET_DEB, member=dtb_path)
+        dtb_path = self.archive_extract(self.ARMBIAN_DEB, member=dtb_path)
         initrd_path = self.uncompress(self.ASSET_INITRD)
 
         self.vm.set_console()
@@ -66,13 +70,14 @@ def test_arm_cubieboard_initrd(self):
         # Wait for VM to shut down gracefully
         self.vm.wait()
 
+    @skip("Armbian 6.6.44 package is no longer available")
     def test_arm_cubieboard_sata(self):
         self.set_machine('cubieboard')
         kernel_path = self.archive_extract(
-            self.ASSET_DEB, member='boot/vmlinuz-6.6.44-current-sunxi')
+            self.ARMBIAN_DEB, member='boot/vmlinuz-6.6.44-current-sunxi')
         dtb_path = ('usr/lib/linux-image-6.6.44-current-sunxi/' +
                     'sun4i-a10-cubieboard.dtb')
-        dtb_path = self.archive_extract(self.ASSET_DEB, member=dtb_path)
+        dtb_path = self.archive_extract(self.ARMBIAN_DEB, member=dtb_path)
 
         rootfs_path = self.uncompress(self.ASSET_SATA_ROOTFS)
 
diff --git a/tests/functional/arm/test_orangepi.py b/tests/functional/arm/test_orangepi.py
index c9cfdbd67aa..b3926bd072c 100755
--- a/tests/functional/arm/test_orangepi.py
+++ b/tests/functional/arm/test_orangepi.py
@@ -6,6 +6,7 @@
 # SPDX-License-Identifier: GPL-2.0-or-later
 
 import shutil
+from unittest import skip
 
 from qemu_test import LinuxKernelTest, exec_command_and_wait_for_pattern
 from qemu_test import Asset, interrupt_interactive_console_until_pattern
@@ -15,7 +16,8 @@
 
 class OrangePiMachine(LinuxKernelTest):
 
-    ASSET_DEB = Asset(
+    # Keep this out of asset precaching while the dependent tests are skipped.
+    ARMBIAN_DEB = Asset(
         ('https://apt.armbian.com/pool/main/l/linux-6.6.44/'
          'linux-image-current-sunxi_24.8.2_armhf__6.6.44-'
          'S7213-D53de-P4ceb-C697eH5c21-HK01ba-V014b-B58e9-R448a.deb'),
@@ -47,13 +49,14 @@ class OrangePiMachine(LinuxKernelTest):
          'evbarm-earmv7hf/binary/gzimg/armv7.img.gz'),
         '20d3e07dc057e15c12452620e90ecab2047f0f7940d9cba8182ebc795927177f')
 
+    @skip("Armbian 6.6.44 package is no longer available")
     def test_arm_orangepi(self):
         self.set_machine('orangepi-pc')
         kernel_path = self.archive_extract(
-            self.ASSET_DEB, member='boot/vmlinuz-6.6.44-current-sunxi')
+            self.ARMBIAN_DEB, member='boot/vmlinuz-6.6.44-current-sunxi')
         dtb_path = ('usr/lib/linux-image-6.6.44-current-sunxi/' +
                     'sun8i-h3-orangepi-pc.dtb')
-        dtb_path = self.archive_extract(self.ASSET_DEB, member=dtb_path)
+        dtb_path = self.archive_extract(self.ARMBIAN_DEB, member=dtb_path)
 
         self.vm.set_console()
         kernel_command_line = (self.KERNEL_COMMON_COMMAND_LINE +
@@ -66,13 +69,14 @@ def test_arm_orangepi(self):
         console_pattern = 'Kernel command line: %s' % kernel_command_line
         self.wait_for_console_pattern(console_pattern)
 
+    @skip("Armbian 6.6.44 package is no longer available")
     def test_arm_orangepi_initrd(self):
         self.set_machine('orangepi-pc')
         kernel_path = self.archive_extract(
-            self.ASSET_DEB, member='boot/vmlinuz-6.6.44-current-sunxi')
+            self.ARMBIAN_DEB, member='boot/vmlinuz-6.6.44-current-sunxi')
         dtb_path = ('usr/lib/linux-image-6.6.44-current-sunxi/' +
                     'sun8i-h3-orangepi-pc.dtb')
-        dtb_path = self.archive_extract(self.ASSET_DEB, member=dtb_path)
+        dtb_path = self.archive_extract(self.ARMBIAN_DEB, member=dtb_path)
         initrd_path = self.uncompress(self.ASSET_INITRD)
 
         self.vm.set_console()
@@ -96,14 +100,15 @@ def test_arm_orangepi_initrd(self):
         # Wait for VM to shut down gracefully
         self.vm.wait()
 
+    @skip("Armbian 6.6.44 package is no longer available")
     def test_arm_orangepi_sd(self):
         self.set_machine('orangepi-pc')
         self.require_netdev('user')
         kernel_path = self.archive_extract(
-            self.ASSET_DEB, member='boot/vmlinuz-6.6.44-current-sunxi')
+            self.ARMBIAN_DEB, member='boot/vmlinuz-6.6.44-current-sunxi')
         dtb_path = ('usr/lib/linux-image-6.6.44-current-sunxi/' +
                     'sun8i-h3-orangepi-pc.dtb')
-        dtb_path = self.archive_extract(self.ASSET_DEB, member=dtb_path)
+        dtb_path = self.archive_extract(self.ARMBIAN_DEB, member=dtb_path)
         rootfs_path = self.uncompress(self.ASSET_ROOTFS)
         image_pow2ceil_expand(rootfs_path)
 
diff --git a/tests/functional/arm/test_replay.py b/tests/functional/arm/test_replay.py
index ee61f475930..9de6750be3c 100755
--- a/tests/functional/arm/test_replay.py
+++ b/tests/functional/arm/test_replay.py
@@ -4,6 +4,8 @@
 #
 # SPDX-License-Identifier: GPL-2.0-or-later
 
+from unittest import skip
+
 from qemu_test import Asset
 from replay_kernel import ReplayKernelBase
 
@@ -23,7 +25,8 @@ def test_virt(self):
         console_pattern = 'VFS: Cannot open root device'
         self.run_rr(kernel_path, kernel_command_line, console_pattern, shift=1)
 
-    ASSET_CUBIE_KERNEL = Asset(
+    # Keep this out of asset precaching while the dependent test is skipped.
+    ARMBIAN_CUBIE_KERNEL = Asset(
         ('https://apt.armbian.com/pool/main/l/linux-6.6.44/'
          'linux-image-current-sunxi_24.8.2_armhf__6.6.44-'
          'S7213-D53de-P4ceb-C697eH5c21-HK01ba-V014b-B58e9-R448a.deb'),
@@ -34,11 +37,12 @@ def test_virt(self):
          '2eb0a73b5d5a28df3170c546ddaaa9757e1e0848/rootfs/arm/rootfs-armv5.cpio.gz'),
         '334b8d256db67a3f2b3ad070aa08b5ade39624e0e7e35b02f4359a577bc8f39b')
 
+    @skip("Armbian 6.6.44 package is no longer available")
     def test_cubieboard(self):
         self.set_machine('cubieboard')
-        kernel_path = self.archive_extract(self.ASSET_CUBIE_KERNEL,
+        kernel_path = self.archive_extract(self.ARMBIAN_CUBIE_KERNEL,
             member='boot/vmlinuz-6.6.44-current-sunxi')
-        dtb_path = self.archive_extract(self.ASSET_CUBIE_KERNEL,
+        dtb_path = self.archive_extract(self.ARMBIAN_CUBIE_KERNEL,
             member='usr/lib/linux-image-6.6.44-current-sunxi/sun4i-a10-cubieboard.dtb')
         initrd_path = self.uncompress(self.ASSET_CUBIE_INITRD)
 
-- 
2.34.1


^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2026-12-01 12:09 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-30 16:27 [PATCH for-11.2] tests/functional: skip tests using deleted Armbian package Brian Cain
2026-11-30 16:46 ` Pierrick Bouvier
2026-11-30 16:56   ` Alex Bennée
2026-11-30 17:30     ` Philippe Mathieu-Daudé
2026-11-30 22:23       ` Alex Bennée
2026-12-01  9:04       ` Thomas Huth
2026-12-01 12:08         ` Daniel P. Berrangé

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.