diff mbox series

scripts/device-crash-test: Remove known crashes

Message ID 1541510826-21031-1-git-send-email-thuth@redhat.com
State New
Headers show
Series scripts/device-crash-test: Remove known crashes | expand

Commit Message

Thomas Huth Nov. 6, 2018, 1:27 p.m. UTC
Looks like we've fixed them all already in the past months, e.g. with:

 f7d6bfcdc0fe49040aac3ac131a319cb5427957e
 spapr_pci: fail gracefully with non-pseries machine types

 2363d5ee231bf047479422d56d3b85b7d37a7c23
 hw/ppc/spapr_cpu_core: Add a proper check for spapr machine

 ef0e8fc768a561dd13a86420b3268f6f3d5d0621
 iommu: Don't crash if machine is not PC_MACHINE

 8929fc3a55f33a103adddf9cfd010bcf2b255c7d
 hw/block/pflash_cfi*.c: fix confusing assert fail message

... so we can remove these entries from the ERROR_WHITELIST now.

Signed-off-by: Thomas Huth <thuth@redhat.com>
---
 At least I was not able to reproduce these crashes with the script
 anymore... but please double-check whether I'm right.

 scripts/device-crash-test | 15 ---------------
 1 file changed, 15 deletions(-)

Comments

Eduardo Habkost Nov. 7, 2018, 6:37 p.m. UTC | #1
On Tue, Nov 06, 2018 at 02:27:06PM +0100, Thomas Huth wrote:
> Looks like we've fixed them all already in the past months, e.g. with:
> 
>  f7d6bfcdc0fe49040aac3ac131a319cb5427957e
>  spapr_pci: fail gracefully with non-pseries machine types
> 
>  2363d5ee231bf047479422d56d3b85b7d37a7c23
>  hw/ppc/spapr_cpu_core: Add a proper check for spapr machine
> 
>  ef0e8fc768a561dd13a86420b3268f6f3d5d0621
>  iommu: Don't crash if machine is not PC_MACHINE
> 
>  8929fc3a55f33a103adddf9cfd010bcf2b255c7d
>  hw/block/pflash_cfi*.c: fix confusing assert fail message
> 
> ... so we can remove these entries from the ERROR_WHITELIST now.

Nice!

Queueing on python-next, thanks.
diff mbox series

Patch

diff --git a/scripts/device-crash-test b/scripts/device-crash-test
index e93a7c0..549162a 100755
--- a/scripts/device-crash-test
+++ b/scripts/device-crash-test
@@ -182,21 +182,6 @@  ERROR_WHITELIST = [
     # other exitcode=1 failures not listed above will just generate INFO messages:
     {'exitcode':1, 'loglevel':logging.INFO},
 
-    # KNOWN CRASHES:
-    # Known crashes will generate error messages, but won't be fatal.
-    # Those entries must be removed once we fix the crashes.
-    {'exitcode':-6, 'log':r"Device 'serial0' is in use", 'loglevel':logging.ERROR},
-    {'exitcode':-6, 'log':r"qemu_net_client_setup: Assertion `!peer->peer' failed", 'loglevel':logging.ERROR},
-    {'exitcode':-6, 'log':r'RAMBlock "[\w.-]+" already registered', 'loglevel':logging.ERROR},
-    {'exitcode':-6, 'log':r"find_ram_offset: Assertion `size != 0' failed.", 'loglevel':logging.ERROR},
-    {'exitcode':-6, 'log':r"add_cpreg_to_hashtable: code should not be reached", 'loglevel':logging.ERROR},
-    {'exitcode':-6, 'log':r"qemu_alloc_display: Assertion `surface->image != NULL' failed", 'loglevel':logging.ERROR},
-    {'exitcode':-6, 'log':r"Unexpected error in error_set_from_qdev_prop_error", 'loglevel':logging.ERROR},
-    {'exitcode':-6, 'log':r"Object .* is not an instance of type spapr-machine", 'loglevel':logging.ERROR},
-    {'exitcode':-6, 'log':r"Object .* is not an instance of type generic-pc-machine", 'loglevel':logging.ERROR},
-    {'exitcode':-6, 'log':r"Object .* is not an instance of type e500-ccsr", 'loglevel':logging.ERROR},
-    {'exitcode':-6, 'log':r"vmstate_register_with_alias_id: Assertion `!se->compat \|\| se->instance_id == 0' failed", 'loglevel':logging.ERROR},
-
     # everything else (including SIGABRT and SIGSEGV) will be a fatal error:
     {'exitcode':None, 'fatal':True, 'loglevel':logging.FATAL},
 ]