From 34117f03edb53e37108845060c34af3aad8d0c43 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Philippe=20Mathieu-Daud=C3=A9?= Date: Fri, 31 Oct 2025 10:41:18 +0100 Subject: [PATCH] tests/functional: Mark the MIPS Debian Wheezy tests as flaky MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit test_malta.py sometimes times out (likely hang) under GitLab CI: 1/57 qemu:func-thorough+func-mips-thorough+thorough / func-mips-malta TIMEOUT 480.11s killed by signal 15 SIGTERM console.log shows a soft lockup failure: 06:46,426: INIT: version 2.88 booting 06:46,942: [[36minfo[39;49m] Using makefile-style concurrent boot in runlevel S. 06:47,378: findfs: unable to resolve 'UUID=042f1883-e9a5-4801-bb9b-667b5c8e87ea' 06:50,448: [....] Starting the hotplug events dispatcher: udevd[?25l[?1c7[1G[[32m ok [39;49m8[?25h[?0c. 06:52,269: [....] Synthesizing the initial hotplug events...module e1000: dangerous R_MIPS_LO16 REL relocation 07:17,707: BUG: soft lockup - CPU#0 stuck for 22s! [modprobe:208] 07:17,707: Modules linked in: 07:17,707: Cpu 0 07:17,708: $ 0 : 00000000 1000a400 0000003d 87808b00 07:17,708: $ 4 : 87808b00 87808bf0 00000000 00000000 07:17,709: $ 8 : 86862100 86862100 86862100 86862100 07:17,709: $12 : 86862100 00000000 00000001 86862100 07:17,709: $16 : 87808a00 86862100 1000a401 c008fa60 07:17,709: $20 : 86862100 8041d230 00000000 ffff0000 07:17,710: $24 : 00000000 77711470 07:17,710: $28 : 87bb6000 87bb7df8 8041d230 801f7388 07:17,710: Hi : 00000000 07:17,710: Lo : 00000000 07:17,711: epc : 801f7308 kfree+0x104/0x19c 07:17,711: Not tainted 07:17,711: ra : 801f7388 kfree+0x184/0x19c 07:17,712: Status: 1000a403 KERNEL EXL IE 07:17,712: Cause : 50808000 07:17,712: PrId : 00019300 (MIPS 24Kc) 07:45,707: BUG: soft lockup - CPU#0 stuck for 22s! [modprobe:208] 07:45,707: Modules linked in: Reported-by: Daniel P. Berrangé Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Richard Henderson Signed-off-by: Richard Henderson Message-ID: <20251031094118.28440-3-philmd@linaro.org> --- tests/functional/mips/test_malta.py | 2 ++ tests/functional/mips64/test_malta.py | 2 ++ tests/functional/mips64el/test_malta.py | 1 + tests/functional/mipsel/test_malta.py | 2 ++ 4 files changed, 7 insertions(+) diff --git a/tests/functional/mips/test_malta.py b/tests/functional/mips/test_malta.py index 30279f0ff21..7a734bc069b 100755 --- a/tests/functional/mips/test_malta.py +++ b/tests/functional/mips/test_malta.py @@ -9,6 +9,7 @@ import os from qemu_test import LinuxKernelTest, Asset, wait_for_console_pattern +from qemu_test import skipFlakyTest from qemu_test import exec_command_and_wait_for_pattern @@ -181,6 +182,7 @@ class MaltaMachineConsole(LinuxKernelTest): 'debian_wheezy_mips_standard.qcow2'), 'de03599285b8382ad309309a6c4869f6c6c42a5cfc983342bab9ec0dfa7849a2') + @skipFlakyTest("https://gitlab.com/qemu-project/qemu/-/issues/3109") def test_wheezy(self): kernel_path = self.ASSET_WHEEZY_KERNEL.fetch() image_path = self.ASSET_WHEEZY_DISK.fetch() diff --git a/tests/functional/mips64/test_malta.py b/tests/functional/mips64/test_malta.py index a553d3c5bc7..91c57c56af0 100755 --- a/tests/functional/mips64/test_malta.py +++ b/tests/functional/mips64/test_malta.py @@ -5,6 +5,7 @@ # SPDX-License-Identifier: GPL-2.0-or-later from qemu_test import LinuxKernelTest, Asset +from qemu_test import skipFlakyTest from mips.test_malta import mips_check_wheezy @@ -20,6 +21,7 @@ class MaltaMachineConsole(LinuxKernelTest): 'debian_wheezy_mips_standard.qcow2'), 'de03599285b8382ad309309a6c4869f6c6c42a5cfc983342bab9ec0dfa7849a2') + @skipFlakyTest("https://gitlab.com/qemu-project/qemu/-/issues/3109") def test_wheezy(self): kernel_path = self.ASSET_WHEEZY_KERNEL.fetch() image_path = self.ASSET_WHEEZY_DISK.fetch() diff --git a/tests/functional/mips64el/test_malta.py b/tests/functional/mips64el/test_malta.py index 170147bfcc2..e37463dc291 100755 --- a/tests/functional/mips64el/test_malta.py +++ b/tests/functional/mips64el/test_malta.py @@ -102,6 +102,7 @@ class MaltaMachineConsole(LinuxKernelTest): 'debian_wheezy_mipsel_standard.qcow2'), '454f09ae39f7e6461c84727b927100d2c7813841f2a0a5dce328114887ecf914') + @skipFlakyTest("https://gitlab.com/qemu-project/qemu/-/issues/3109") def test_wheezy(self): kernel_path = self.ASSET_WHEEZY_KERNEL.fetch() image_path = self.ASSET_WHEEZY_DISK.fetch() diff --git a/tests/functional/mipsel/test_malta.py b/tests/functional/mipsel/test_malta.py index 427e163d19d..59ab4a60585 100755 --- a/tests/functional/mipsel/test_malta.py +++ b/tests/functional/mipsel/test_malta.py @@ -10,6 +10,7 @@ # SPDX-License-Identifier: GPL-2.0-or-later from qemu_test import QemuSystemTest, LinuxKernelTest, Asset +from qemu_test import skipFlakyTest from qemu_test import interrupt_interactive_console_until_pattern from qemu_test import wait_for_console_pattern @@ -69,6 +70,7 @@ class MaltaMachineConsole(LinuxKernelTest): 'debian_wheezy_mipsel_standard.qcow2'), '454f09ae39f7e6461c84727b927100d2c7813841f2a0a5dce328114887ecf914') + @skipFlakyTest("https://gitlab.com/qemu-project/qemu/-/issues/3109") def test_wheezy(self): kernel_path = self.ASSET_WHEEZY_KERNEL.fetch() image_path = self.ASSET_WHEEZY_DISK.fetch() -- 2.47.3