[v2] testsuite: Add KFAIL to qemuarm64-resolute

Message ID 20260724151325.764371-1-wzh@ilbers.de
State New
Headers show
Series [v2] testsuite: Add KFAIL to qemuarm64-resolute | expand

Commit Message

Zhihang Wei July 24, 2026, 3:13 p.m. UTC
Currently, the following error occurs when building qemuarm64-resolute:
ERROR: mc:qemuarm64-resolute:example-module-generic-1.0-r0 do_dpkg_build: ExecutionError('/build/tmp/work/ubuntu-resolute-arm64/example-module-generic/1.0-r0/temp/run.dpkg_runbuild.155703', 3, None, None)
The task log shows:
tar: src/Makefile: Cannot open: Function not implemented
tar: src/debian: Cannot mkdir: Function not implemented
tar: src/debian/changelog: Cannot open: Function not implemented
tar: src/debian/control: Cannot open: Function not implemented
tar: src/debian/control.tmpl: Cannot open: Function not implemented
tar: src/debian/postinst: Cannot open: Function not implemented
tar: src/debian/rules: Cannot open: Function not implemented
tar: src/debian/rules.tmpl: Cannot open: Function not implemented
tar: src/example-module.c: Cannot open: Function not implemented
tar: Exiting with failure status due to previous errors
dpkg-source: error: tar -xf - --no-same-permissions --no-same-owner subprocess failed with exit status 2
E: FAILED [dpkg-source died]

This issue started to occur after Ubuntu updated tar to
tar_1.35+dfsg-4ubuntu0.2 and is also present in tar_1.35+dfsg-4ubuntu0.3
and tar_1.35+dfsg-4ubuntu0.4.

Mark this target as KFAIL until the Ubuntu tar issue is fixed.

Signed-off-by: Zhihang Wei <wzh@ilbers.de>
---

Changes since v1:
- Put vm_start test right after the build test case.

 testsuite/citest.py | 22 ++++++++++++++++------
 1 file changed, 16 insertions(+), 6 deletions(-)

Patch

diff --git a/testsuite/citest.py b/testsuite/citest.py
index 613cd789..66aaad65 100644
--- a/testsuite/citest.py
+++ b/testsuite/citest.py
@@ -262,7 +262,6 @@  class CrossTest(CIBaseTest):
             'mc:qemuarm64-trixie:isar-image-base',
             'mc:qemuarm64-focal:isar-image-base',
             'mc:nanopi-neo-efi-bookworm:isar-image-base',
-            'mc:qemuarm64-resolute:isar-image-base',
             'mc:qemuamd64-resolute:isar-image-base',
         ]
 
@@ -386,23 +385,34 @@  class CrossTest(CIBaseTest):
         self.init()
         self.vm_start('arm64', 'focal')
 
-    # TODO: broken because of moving to UEFI
-    def test_run_arm64_resolute(self):
+    def test_run_amd64_resolute(self):
         """
         :avocado: tags=startvm
         """
+        self.init()
+        self.vm_start('amd64', 'resolute')
+
+    def test_cross_arm64_resolute(self):
+        targets = [
+            'mc:qemuarm64-resolute:isar-image-base',
+        ]
+
         self.init()
         try:
-            self.vm_start('arm64', 'resolute')
+            self.perform_build_test(targets)
         except exceptions.TestFail:
             self.cancel('KFAIL')
 
-    def test_run_amd64_resolute(self):
+    # TODO: broken because of moving to UEFI
+    def test_run_arm64_resolute(self):
         """
         :avocado: tags=startvm
         """
         self.init()
-        self.vm_start('amd64', 'resolute')
+        try:
+            self.vm_start('arm64', 'resolute')
+        except exceptions.TestFail:
+            self.cancel('KFAIL')
 
     def test_cross_debsrc(self):
         targets = [