OSDN Git Service

device-crash-test: Ignore errors about a bus not being available
authorThomas Huth <thuth@redhat.com>
Tue, 23 Mar 2021 16:47:18 +0000 (17:47 +0100)
committerThomas Huth <thuth@redhat.com>
Thu, 1 Apr 2021 12:28:39 +0000 (14:28 +0200)
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.

Message-Id: <20210323164718.1393792-1-thuth@redhat.com>
Acked-by: John Snow <jsnow@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
scripts/device-crash-test

index 6d809ac..8331c05 100755 (executable)
@@ -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},