device-crash-test: Ignore errors about a bus not being available
PATCH 1/1 device-crash-test: Ignore errors about a bus not being available
Recent QEMU versions now sometimes exit cleanly with an error message that a bus is not available for a specified device. Don't flag those as an error in the device-crash-test script.
Signed-off-by Thomas Huth <[email protected]>
--- scripts/device-crash-test | 1 + 1 file changed, 1 insertion(+)
scripts/device-crash-test +1 -0
@@ -175,6 +175,7 @@ ERROR_RULE_LIST = [ {'log':r"Multiple VT220 operator consoles are not supported"}, {'log':r"core 0 already populated"}, {'log':r"could not find stage1 bootloader"}, + {'log':r"No '.*' bus found for device"}, # other exitcode=1 failures not listed above will just generate INFO messages: {'exitcode':1, 'loglevel':logging.INFO},
Signature · 1 line
2.27.0
Quoted 15 lines · Thomas Huth
Recent QEMU versions now sometimes exit cleanly with an error message that a bus is not available for a specified device. Don't flag those as an error in the device-crash-test script.
Signed-off-by Thomas Huth <[email protected]>--- scripts/device-crash-test | 1 + 1 file changed, 1 insertion(+)scripts/device-crash-test +0
-0
scripts/device-crash-test ERROR_RULE_LIST = [ · line 181
Quoted 7 lines
scripts/device-crash-test +1
-0@@ -175,6 +175,7 @@ ERROR_RULE_LIST = [ {'log':r"Multiple VT220 operator consoles are not supported"}, {'log':r"core 0 already populated"}, {'log':r"could not find stage1 bootloader"}, + {'log':r"No '.*' bus found for device"}, # other exitcode=1 failures not listed above will just generate INFO messages: {'exitcode':1, 'loglevel':logging.INFO},
ACK, though I don't consider myself a maintainer of this file. Whose tree does it go in? (Trivial, if nobody's?)
--js