summaryrefslogtreecommitdiffstats
path: root/meta/lib/oeqa/runtime
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@arm.com>2023-12-04 18:24:18 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2023-12-06 22:55:49 +0000
commit9406c0d28f73b8234698366b822f21a07593e626 (patch)
treec7fd1d81867b0f16fc5e3b71b674b2550be42adf /meta/lib/oeqa/runtime
parent41ffa169123c3344d8349061eeca362c03f5f9f8 (diff)
downloadpoky-9406c0d28f73b8234698366b822f21a07593e626.tar.gz
oeqa/runtime/parselogs: migrate ignores
Move the ignores from a huge dict in the parselogs.py module to .txt files. This is just the common, tune, and qemu machine ignores; the machine ignores that are not in oe-core will be added to the relevant layers. The list of ignores has not been reviewed in any meaningful way, this should be done soon as I suspect a number of these are redundant. (From OE-Core rev: bba243e1d18b954578afcdb3c727d8f687187ee8) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib/oeqa/runtime')
-rw-r--r--meta/lib/oeqa/runtime/cases/parselogs-ignores-common.txt59
-rw-r--r--meta/lib/oeqa/runtime/cases/parselogs-ignores-mipsarch.txt2
-rw-r--r--meta/lib/oeqa/runtime/cases/parselogs-ignores-qemuall.txt27
-rw-r--r--meta/lib/oeqa/runtime/cases/parselogs-ignores-qemuarm64.txt6
-rw-r--r--meta/lib/oeqa/runtime/cases/parselogs-ignores-qemuarmv5.txt15
-rw-r--r--meta/lib/oeqa/runtime/cases/parselogs-ignores-qemuppc.txt6
-rw-r--r--meta/lib/oeqa/runtime/cases/parselogs-ignores-qemuppc64.txt4
-rw-r--r--meta/lib/oeqa/runtime/cases/parselogs-ignores-qemux86.txt2
-rw-r--r--meta/lib/oeqa/runtime/cases/parselogs-ignores-x86.txt10
l---------meta/lib/oeqa/runtime/cases/parselogs-ignores-x86_64.txt1
-rw-r--r--meta/lib/oeqa/runtime/cases/parselogs.py180
11 files changed, 132 insertions, 180 deletions
diff --git a/meta/lib/oeqa/runtime/cases/parselogs-ignores-common.txt b/meta/lib/oeqa/runtime/cases/parselogs-ignores-common.txt
new file mode 100644
index 0000000000..14f8c0d494
--- /dev/null
+++ b/meta/lib/oeqa/runtime/cases/parselogs-ignores-common.txt
@@ -0,0 +1,59 @@
1# Xserver explains what the short codes mean
2(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
3
4# Xserver warns if compiled with ACPI but no acpid running
5Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
6
7# Some machines (eg qemux86) don't enable PAE (they probably should though)
8NX (Execute Disable) protection cannot be enabled: non-PAE kernel!
9
10# Connman's pacrunner warns if external connectivity isn't available
11Failed to find URL:http://ipv4.connman.net/online/status.html
12Failed to find URL:http://ipv6.connman.net/online/status.html
13
14# These should be reviewed to see if they are still needed
15dma timeout
16can\'t add hid device:
17usbhid: probe of
18_OSC failed (AE_ERROR)
19_OSC failed (AE_SUPPORT)
20AE_ALREADY_EXISTS
21ACPI _OSC request failed (AE_SUPPORT)
22can\'t disable ASPM
23Failed to load module "vesa"
24Failed to load module "modesetting"
25Failed to load module "glx"
26Failed to load module "fbdev"
27Failed to load module "ati"
28[drm] Cannot find any crtc or sizes
29_OSC failed (AE_NOT_FOUND); disabling ASPM
30hd.: possibly failed opcode
31NETLINK INITIALIZATION FAILED
32kernel: Cannot find map file
33omap_hwmod: debugss: _wait_target_disable failed
34VGA arbiter: cannot open kernel arbiter, no multi-card support
35Online check failed for
36netlink init failed
37Fast TSC calibration
38controller can't do DEVSLP, turning off
39stmmac_dvr_probe: warning: cannot get CSR clock
40error: couldn\'t mount because of unsupported optional features
41GPT: Use GNU Parted to correct GPT errors
42Cannot set xattr user.Librepo.DownloadInProgress
43Failed to read /var/lib/nfs/statd/state: Success
44error retry time-out =
45logind: cannot setup systemd-logind helper (-61), using legacy fallback
46Failed to rename network interface
47Failed to process device, ignoring: Device or resource busy
48Cannot find a map file
49[rdrand]: Initialization Failed
50[rndr ]: Initialization Failed
51[pulseaudio] authkey.c: Failed to open cookie file
52[pulseaudio] authkey.c: Failed to load authentication key
53was skipped because of a failed condition check
54was skipped because all trigger condition checks failed
55xf86OpenConsole: Switching VT failed
56Failed to read LoaderConfigTimeoutOneShot variable, ignoring: Operation not supported
57Failed to read LoaderEntryOneShot variable, ignoring: Operation not supported
58Direct firmware load for regulatory.db
59failed to load regulatory.db
diff --git a/meta/lib/oeqa/runtime/cases/parselogs-ignores-mipsarch.txt b/meta/lib/oeqa/runtime/cases/parselogs-ignores-mipsarch.txt
new file mode 100644
index 0000000000..2c0bd9a247
--- /dev/null
+++ b/meta/lib/oeqa/runtime/cases/parselogs-ignores-mipsarch.txt
@@ -0,0 +1,2 @@
1# These should be reviewed to see if they are still needed
2cacheinfo: Failed to find cpu0 device node
diff --git a/meta/lib/oeqa/runtime/cases/parselogs-ignores-qemuall.txt b/meta/lib/oeqa/runtime/cases/parselogs-ignores-qemuall.txt
new file mode 100644
index 0000000000..b0c0fc9ddf
--- /dev/null
+++ b/meta/lib/oeqa/runtime/cases/parselogs-ignores-qemuall.txt
@@ -0,0 +1,27 @@
1# psplash
2FBIOPUT_VSCREENINFO failed, double buffering disabled
3
4# PCI host bridge to bus 0000:00
5# pci_bus 0000:00: root bus resource [mem 0x10000000-0x17ffffff]
6# pci_bus 0000:00: root bus resource [io 0x1000-0x1fffff]
7# pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
8# pci 0000:00:00.0: [2046:ab11] type 00 class 0x100000
9# pci 0000:00:00.0: [Firmware Bug]: reg 0x10: invalid BAR (can't size)
10# pci 0000:00:00.0: [Firmware Bug]: reg 0x14: invalid BAR (can't size)
11# pci 0000:00:00.0: [Firmware Bug]: reg 0x18: invalid BAR (can't size)
12# pci 0000:00:00.0: [Firmware Bug]: reg 0x1c: invalid BAR (can't size)
13# pci 0000:00:00.0: [Firmware Bug]: reg 0x20: invalid BAR (can't size)
14# pci 0000:00:00.0: [Firmware Bug]: reg 0x24: invalid BAR (can't size)
15invalid BAR (can't size)
16
17# These should be reviewed to see if they are still needed
18wrong ELF class
19fail to add MMCONFIG information, can't access extended PCI configuration space under this bridge
20can't claim BAR
21amd_nb: Cannot enumerate AMD northbridges
22tsc: HPET/PMTIMER calibration failed
23modeset(0): Failed to initialize the DRI2 extension
24glamor initialization failed
25blk_update_request: I/O error, dev fd0, sector 0 op 0x0:(READ)
26floppy: error
27failed to IDENTIFY (I/O error, err_mask=0x4)
diff --git a/meta/lib/oeqa/runtime/cases/parselogs-ignores-qemuarm64.txt b/meta/lib/oeqa/runtime/cases/parselogs-ignores-qemuarm64.txt
new file mode 100644
index 0000000000..260cdde620
--- /dev/null
+++ b/meta/lib/oeqa/runtime/cases/parselogs-ignores-qemuarm64.txt
@@ -0,0 +1,6 @@
1# These should be reviewed to see if they are still needed
2Fatal server error:
3(EE) Server terminated with error (1). Closing log file.
4dmi: Firmware registration failed.
5irq: type mismatch, failed to map hwirq-27 for /intc
6logind: failed to get session seat \ No newline at end of file
diff --git a/meta/lib/oeqa/runtime/cases/parselogs-ignores-qemuarmv5.txt b/meta/lib/oeqa/runtime/cases/parselogs-ignores-qemuarmv5.txt
new file mode 100644
index 0000000000..e5d526be21
--- /dev/null
+++ b/meta/lib/oeqa/runtime/cases/parselogs-ignores-qemuarmv5.txt
@@ -0,0 +1,15 @@
1# These should be reviewed to see if they are still needed
2mmci-pl18x: probe of fpga:05 failed with error -22
3mmci-pl18x: probe of fpga:0b failed with error -22
4OF: amba_device_add() failed (-19) for /amba/smc@10100000
5OF: amba_device_add() failed (-19) for /amba/mpmc@10110000
6OF: amba_device_add() failed (-19) for /amba/sctl@101e0000
7OF: amba_device_add() failed (-19) for /amba/watchdog@101e1000
8OF: amba_device_add() failed (-19) for /amba/sci@101f0000
9OF: amba_device_add() failed (-19) for /amba/spi@101f4000
10OF: amba_device_add() failed (-19) for /amba/ssp@101f4000
11OF: amba_device_add() failed (-19) for /amba/fpga/sci@a000
12Failed to initialize '/amba/timer@101e3000': -22
13jitterentropy: Initialization failed with host not compliant with requirements: 2
14clcd-pl11x: probe of 10120000.display failed with error -2
15arm-charlcd 10008000.lcd: error -ENXIO: IRQ index 0 not found \ No newline at end of file
diff --git a/meta/lib/oeqa/runtime/cases/parselogs-ignores-qemuppc.txt b/meta/lib/oeqa/runtime/cases/parselogs-ignores-qemuppc.txt
new file mode 100644
index 0000000000..d9b58b58f1
--- /dev/null
+++ b/meta/lib/oeqa/runtime/cases/parselogs-ignores-qemuppc.txt
@@ -0,0 +1,6 @@
1# These should be reviewed to see if they are still needed
2PCI 0000:00 Cannot reserve Legacy IO [io 0x0000-0x0fff]
3host side 80-wire cable detection failed, limiting max speed
4mode "640x480" test failed
5can't handle BAR above 4GB
6Cannot reserve Legacy IO \ No newline at end of file
diff --git a/meta/lib/oeqa/runtime/cases/parselogs-ignores-qemuppc64.txt b/meta/lib/oeqa/runtime/cases/parselogs-ignores-qemuppc64.txt
new file mode 100644
index 0000000000..b736a2aeb7
--- /dev/null
+++ b/meta/lib/oeqa/runtime/cases/parselogs-ignores-qemuppc64.txt
@@ -0,0 +1,4 @@
1# These should be reviewed to see if they are still needed
2vio vio: uevent: failed to send synthetic uevent
3synth uevent: /devices/vio: failed to send uevent
4PCI 0000:00 Cannot reserve Legacy IO [io 0x10000-0x10fff] \ No newline at end of file
diff --git a/meta/lib/oeqa/runtime/cases/parselogs-ignores-qemux86.txt b/meta/lib/oeqa/runtime/cases/parselogs-ignores-qemux86.txt
new file mode 100644
index 0000000000..ebb76f1221
--- /dev/null
+++ b/meta/lib/oeqa/runtime/cases/parselogs-ignores-qemux86.txt
@@ -0,0 +1,2 @@
1# These should be reviewed to see if they are still needed
2Failed to access perfctr msr (MSR
diff --git a/meta/lib/oeqa/runtime/cases/parselogs-ignores-x86.txt b/meta/lib/oeqa/runtime/cases/parselogs-ignores-x86.txt
new file mode 100644
index 0000000000..5985247daf
--- /dev/null
+++ b/meta/lib/oeqa/runtime/cases/parselogs-ignores-x86.txt
@@ -0,0 +1,10 @@
1# These should be reviewed to see if they are still needed
2[drm:psb_do_init] *ERROR* Debug is
3wrong ELF class
4Could not enable PowerButton event
5probe of LNXPWRBN:00 failed with error -22
6pmd_set_huge: Cannot satisfy
7failed to setup card detect gpio
8amd_nb: Cannot enumerate AMD northbridges
9failed to retrieve link info, disabling eDP
10Direct firmware load for iwlwifi
diff --git a/meta/lib/oeqa/runtime/cases/parselogs-ignores-x86_64.txt b/meta/lib/oeqa/runtime/cases/parselogs-ignores-x86_64.txt
new file mode 120000
index 0000000000..404e384c32
--- /dev/null
+++ b/meta/lib/oeqa/runtime/cases/parselogs-ignores-x86_64.txt
@@ -0,0 +1 @@
parselogs-ignores-x86.txt \ No newline at end of file
diff --git a/meta/lib/oeqa/runtime/cases/parselogs.py b/meta/lib/oeqa/runtime/cases/parselogs.py
index 5527ebd271..6966923c94 100644
--- a/meta/lib/oeqa/runtime/cases/parselogs.py
+++ b/meta/lib/oeqa/runtime/cases/parselogs.py
@@ -12,186 +12,6 @@ from shutil import rmtree
12from oeqa.runtime.case import OERuntimeTestCase 12from oeqa.runtime.case import OERuntimeTestCase
13from oeqa.core.decorator.depends import OETestDepends 13from oeqa.core.decorator.depends import OETestDepends
14 14
15common_errors = [
16 "(WW) warning, (EE) error, (NI) not implemented, (??) unknown.",
17 "dma timeout",
18 "can\'t add hid device:",
19 "usbhid: probe of ",
20 "_OSC failed (AE_ERROR)",
21 "_OSC failed (AE_SUPPORT)",
22 "AE_ALREADY_EXISTS",
23 "ACPI _OSC request failed (AE_SUPPORT)",
24 "can\'t disable ASPM",
25 "Failed to load module \"vesa\"",
26 "Failed to load module vesa",
27 "Failed to load module \"modesetting\"",
28 "Failed to load module modesetting",
29 "Failed to load module \"glx\"",
30 "Failed to load module \"fbdev\"",
31 "Failed to load module fbdev",
32 "Failed to load module glx",
33 "[drm] Cannot find any crtc or sizes",
34 "_OSC failed (AE_NOT_FOUND); disabling ASPM",
35 "Open ACPI failed (/var/run/acpid.socket) (No such file or directory)",
36 "NX (Execute Disable) protection cannot be enabled: non-PAE kernel!",
37 "hd.: possibly failed opcode",
38 'NETLINK INITIALIZATION FAILED',
39 'kernel: Cannot find map file',
40 'omap_hwmod: debugss: _wait_target_disable failed',
41 'VGA arbiter: cannot open kernel arbiter, no multi-card support',
42 'Failed to find URL:http://ipv4.connman.net/online/status.html',
43 'Online check failed for',
44 'netlink init failed',
45 'Fast TSC calibration',
46 "BAR 0-9",
47 "Failed to load module \"ati\"",
48 "controller can't do DEVSLP, turning off",
49 "stmmac_dvr_probe: warning: cannot get CSR clock",
50 "error: couldn\'t mount because of unsupported optional features",
51 "GPT: Use GNU Parted to correct GPT errors",
52 "Cannot set xattr user.Librepo.DownloadInProgress",
53 "Failed to read /var/lib/nfs/statd/state: Success",
54 "error retry time-out =",
55 "logind: cannot setup systemd-logind helper (-61), using legacy fallback",
56 "Failed to rename network interface",
57 "Failed to process device, ignoring: Device or resource busy",
58 "Cannot find a map file",
59 "[rdrand]: Initialization Failed",
60 "[rndr ]: Initialization Failed",
61 "[pulseaudio] authkey.c: Failed to open cookie file",
62 "[pulseaudio] authkey.c: Failed to load authentication key",
63 "was skipped because of a failed condition check",
64 "was skipped because all trigger condition checks failed",
65 "xf86OpenConsole: Switching VT failed",
66 "Failed to read LoaderConfigTimeoutOneShot variable, ignoring: Operation not supported",
67 "Failed to read LoaderEntryOneShot variable, ignoring: Operation not supported",
68 "invalid BAR (can't size)",
69 ]
70
71x86_common = [
72 '[drm:psb_do_init] *ERROR* Debug is',
73 'wrong ELF class',
74 'Could not enable PowerButton event',
75 'probe of LNXPWRBN:00 failed with error -22',
76 'pmd_set_huge: Cannot satisfy',
77 'failed to setup card detect gpio',
78 'amd_nb: Cannot enumerate AMD northbridges',
79 'failed to retrieve link info, disabling eDP',
80 'Direct firmware load for iwlwifi',
81 'Direct firmware load for regulatory.db',
82 'failed to load regulatory.db',
83] + common_errors
84
85qemux86_common = [
86 'wrong ELF class',
87 "fail to add MMCONFIG information, can't access extended PCI configuration space under this bridge.",
88 "can't claim BAR ",
89 'amd_nb: Cannot enumerate AMD northbridges',
90 'tsc: HPET/PMTIMER calibration failed',
91 "modeset(0): Failed to initialize the DRI2 extension",
92 "glamor initialization failed",
93 "blk_update_request: I/O error, dev fd0, sector 0 op 0x0:(READ)",
94 "floppy: error",
95 'failed to IDENTIFY (I/O error, err_mask=0x4)',
96] + common_errors
97
98ignore_errors = {
99 'default' : common_errors,
100 'qemux86' : [
101 'Failed to access perfctr msr (MSR',
102 ] + qemux86_common,
103 'qemux86-64' : qemux86_common,
104 'qemumips' : [
105 'Failed to load module "glx"',
106 'cacheinfo: Failed to find cpu0 device node',
107 ] + common_errors,
108 'qemumips64' : [
109 'cacheinfo: Failed to find cpu0 device node',
110 ] + common_errors,
111 'qemuppc' : [
112 'PCI 0000:00 Cannot reserve Legacy IO [io 0x0000-0x0fff]',
113 'host side 80-wire cable detection failed, limiting max speed',
114 'mode "640x480" test failed',
115 'Failed to load module "glx"',
116 'can\'t handle BAR above 4GB',
117 'Cannot reserve Legacy IO',
118 ] + common_errors,
119 'qemuppc64' : [
120 'vio vio: uevent: failed to send synthetic uevent',
121 'synth uevent: /devices/vio: failed to send uevent',
122 'PCI 0000:00 Cannot reserve Legacy IO [io 0x10000-0x10fff]',
123 ] + common_errors,
124 'qemuarmv5' : [
125 'mmci-pl18x: probe of fpga:05 failed with error -22',
126 'mmci-pl18x: probe of fpga:0b failed with error -22',
127 'Failed to load module "glx"',
128 'OF: amba_device_add() failed (-19) for /amba/smc@10100000',
129 'OF: amba_device_add() failed (-19) for /amba/mpmc@10110000',
130 'OF: amba_device_add() failed (-19) for /amba/sctl@101e0000',
131 'OF: amba_device_add() failed (-19) for /amba/watchdog@101e1000',
132 'OF: amba_device_add() failed (-19) for /amba/sci@101f0000',
133 'OF: amba_device_add() failed (-19) for /amba/spi@101f4000',
134 'OF: amba_device_add() failed (-19) for /amba/ssp@101f4000',
135 'OF: amba_device_add() failed (-19) for /amba/fpga/sci@a000',
136 'Failed to initialize \'/amba/timer@101e3000\': -22',
137 'jitterentropy: Initialization failed with host not compliant with requirements: 2',
138 'clcd-pl11x: probe of 10120000.display failed with error -2',
139 'arm-charlcd 10008000.lcd: error -ENXIO: IRQ index 0 not found'
140 ] + common_errors,
141 'qemuarm64' : [
142 'Fatal server error:',
143 '(EE) Server terminated with error (1). Closing log file.',
144 'dmi: Firmware registration failed.',
145 'irq: type mismatch, failed to map hwirq-27 for /intc',
146 'logind: failed to get session seat',
147 ] + common_errors,
148 'intel-core2-32' : [
149 'ACPI: No _BQC method, cannot determine initial brightness',
150 '[Firmware Bug]: ACPI: No _BQC method, cannot determine initial brightness',
151 '(EE) Failed to load module "psb"',
152 '(EE) Failed to load module psb',
153 '(EE) Failed to load module "psbdrv"',
154 '(EE) Failed to load module psbdrv',
155 '(EE) open /dev/fb0: No such file or directory',
156 '(EE) AIGLX: reverting to software rendering',
157 'dmi: Firmware registration failed.',
158 'ioremap error for 0x78',
159 ] + x86_common,
160 'intel-corei7-64' : [
161 'can\'t set Max Payload Size to 256',
162 'intel_punit_ipc: can\'t request region for resource',
163 '[drm] parse error at position 4 in video mode \'efifb\'',
164 'ACPI Error: Could not enable RealTimeClock event',
165 'ACPI Warning: Could not enable fixed event - RealTimeClock',
166 'hci_intel INT33E1:00: Unable to retrieve gpio',
167 'hci_intel: probe of INT33E1:00 failed',
168 'can\'t derive routing for PCI INT A',
169 'failed to read out thermal zone',
170 'Bluetooth: hci0: Setting Intel event mask failed',
171 'ttyS2 - failed to request DMA',
172 'Bluetooth: hci0: Failed to send firmware data (-38)',
173 'atkbd serio0: Failed to enable keyboard on isa0060/serio0',
174 ] + x86_common,
175 'genericx86' : x86_common,
176 'genericx86-64' : [
177 'Direct firmware load for i915',
178 'Failed to load firmware i915',
179 'Failed to fetch GuC',
180 'Failed to initialize GuC',
181 'Failed to load DMC firmware',
182 'The driver is built-in, so to load the firmware you need to',
183 ] + x86_common,
184 'beaglebone-yocto' : [
185 'Direct firmware load for regulatory.db',
186 'failed to load regulatory.db',
187 'l4_wkup_cm',
188 'Failed to load module "glx"',
189 'Failed to make EGL context current',
190 'glamor initialization failed',
191 ] + common_errors,
192}
193
194
195# importlib.resources.open_text in Python <3.10 doesn't search all directories 15# importlib.resources.open_text in Python <3.10 doesn't search all directories
196# when a package is split across multiple directories. Until we can rely on 16# when a package is split across multiple directories. Until we can rely on
197# 3.10+, reimplement the searching logic. 17# 3.10+, reimplement the searching logic.