irq:irqbalance01 in ubuntu_ltp failed with " TBROK: No IRQs found in /proc/interrupts?" on s390x
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-kernel-tests |
New
|
Undecided
|
Unassigned |
Bug Description
Issue spotted on Bionic 4.15.0-166.174 s390x instances kernel02 and s2lp3
This is a new test added recently (bug 1955398), not a regression.
Like bug 1955452 but the error message is a bit different.
Test marked as broken with:
TBROK: No IRQs found in /proc/interrupts?
Test log:
Checking for required user/group ids
'nobody' user id and group found.
'bin' user id and group found.
'daemon' user id and group found.
Users group found.
Sys group found.
Required users/groups exist.
no big block device was specified on commandline.
Tests which require a big block device are disabled.
You can specify it with option -z
INFO: Test start time: Mon 20 Dec 11:38:32 GMT 2021
COMMAND: /opt/ltp/
LOG File: /dev/null
FAILED COMMAND File: /dev/null
TCONF COMMAND File: /dev/null
Running tests.......
tst_test.c:1425: TINFO: Timeout per run is 0h 05m 00s
irqbalance01.c:129: TINFO: Found 8 CPUS, 0 IRQs
IRQ CPU0 CPU1 CPU2 CPU3 CPU4 CPU5 CPU6 CPU7
Total: 0 0 0 0 0 0 0 0
irqbalance01.c:301: TBROK: No IRQs found in /proc/interrupts?
Summary:
passed 0
failed 0
broken 1
skipped 0
warnings 0
description: | updated |
summary: |
- irq:irqbalance01 in ubuntu_ltp failed with " TBROK: No IRQs found in - /proc/interrupts?" + irq:irqbalance01 in ubuntu_ltp failed with " TBROK: No IRQs found in + /proc/interrupts?" on s390x |
tags: | added: 4.15 bionic s390x sru-20211129 ubuntu-ltp |
tags: | added: sru-20220509 |
tags: | added: 4.4 sru-20230612 xenial |
This test is incompatible with s390x. The test assumes all IRQs are identified with numeric ID like in this table (the left most column):
$ cat /proc/interrupts
CPU0 CPU1 CPU2 CPU3
0: 35 0 0 0 IR-IO-APIC 2-edge timer
7: 0 0 0 0 IR-IO-APIC 7-fasteoi pinctrl_amd
8: 0 0 0 0 IR-IO-APIC 8-edge rtc0
9: 0 0 0 0 IR-IO-APIC 9-fasteoi acpi
26: 0 0 0 0 IOMMU-MSI 0-edge AMD-Vi
But s390x's interrupt table looks like this:
$ cat /proc/interrupts
CPU0 CPU1 CPU2 CPU3
EXT: 8316514 8042540 8950089 10063076
I/O: 250168 299503 271998 262500
AIO: 37784 498 239 128
CLK: 1374966 1261960 1292831 1256303 [EXT] Clock Comparator
EXC: 3968288 2563365 4247636 4204282 [EXT] External Call
EMS: 2973256 4217205 3409621 4602486 [EXT] Emergency Signal
TMR: 0 0 0 0 [EXT] CPU Timer
...
We should consider disabling this test for s390x.