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é <berrange@redhat.com> Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org> Message-ID: <20251031094118.28440-3-philmd@linaro.org>
37 lines
1.3 KiB
Python
Executable file
37 lines
1.3 KiB
Python
Executable file
#!/usr/bin/env python3
|
|
#
|
|
# Functional tests for the big-endian 64-bit MIPS Malta board
|
|
#
|
|
# 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
|
|
|
|
|
|
class MaltaMachineConsole(LinuxKernelTest):
|
|
|
|
ASSET_WHEEZY_KERNEL = Asset(
|
|
('https://people.debian.org/~aurel32/qemu/mips/'
|
|
'vmlinux-3.2.0-4-5kc-malta'),
|
|
'3e4ec154db080b3f1839f04dde83120654a33e5e1716863de576c47cb94f68f6')
|
|
|
|
ASSET_WHEEZY_DISK = Asset(
|
|
('https://people.debian.org/~aurel32/qemu/mips/'
|
|
'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()
|
|
kernel_command_line = (self.KERNEL_COMMON_COMMAND_LINE
|
|
+ 'console=ttyS0 root=/dev/sda1')
|
|
mips_check_wheezy(self,
|
|
kernel_path, image_path, kernel_command_line, cpuinfo='MIPS 20Kc',
|
|
dl_file='/boot/initrd.img-3.2.0-4-5kc-malta',
|
|
hsum='d98b953bb4a41c0fc0fd8d19bbc691c08989ac52568c1d3054d92dfd890d3f06')
|
|
|
|
|
|
if __name__ == '__main__':
|
|
LinuxKernelTest.main()
|