All of lore.kernel.org
 help / color / mirror / Atom feed
* device-crash-test
@ 2021-11-18 17:55 John Snow
  2021-11-18 18:31 ` device-crash-test Philippe Mathieu-Daudé
  0 siblings, 1 reply; 3+ messages in thread
From: John Snow @ 2021-11-18 17:55 UTC (permalink / raw)
  To: Thomas Huth; +Cc: qemu-devel, Eduardo Habkost

[-- Attachment #1: Type: text/plain, Size: 4768 bytes --]

I finally squashed all of the bugs and got a clean run of device-crash-test
with a full build of QEMU, over 182,000 individual test cases.

Here's all of the legitimate failures I saw:

CRITICAL: failed: binary=./qemu-system-x86_64 accel=kvm machine=none
device=sgx-epc
CRITICAL: cmdline: ./qemu-system-x86_64 -S -machine none,accel=kvm -device
sgx-epc
CRITICAL: log: /home/jsnow/src/qemu/include/hw/i386/pc.h:128:PC_MACHINE:
Object 0x55b1c9dcad90 is not an instance of type generic-pc-machine
CRITICAL: exit code: -6

CRITICAL: failed: binary=./qemu-system-x86_64 accel=kvm machine=x-remote
device=sgx-epc
CRITICAL: cmdline: ./qemu-system-x86_64 -S -machine x-remote,accel=kvm
-device sgx-epc
CRITICAL: log: /home/jsnow/src/qemu/include/hw/i386/pc.h:128:PC_MACHINE:
Object 0x559b43269d40 is not an instance of type generic-pc-machine
CRITICAL: exit code: -6

CRITICAL: failed: binary=./qemu-system-x86_64 accel=kvm machine=microvm
device=sgx-epc
CRITICAL: cmdline: ./qemu-system-x86_64 -S -machine microvm,accel=kvm
-device sgx-epc
CRITICAL: log: /home/jsnow/src/qemu/include/hw/i386/pc.h:128:PC_MACHINE:
Object 0x55760ca941b0 is not an instance of type generic-pc-machine
CRITICAL: exit code: -6

CRITICAL: failed: binary=./qemu-system-x86_64 accel=tcg machine=none
device=sgx-epc
CRITICAL: cmdline: ./qemu-system-x86_64 -S -machine none,accel=tcg -device
sgx-epc
CRITICAL: log: /home/jsnow/src/qemu/include/hw/i386/pc.h:128:PC_MACHINE:
Object 0x557a52333d90 is not an instance of type generic-pc-machine
CRITICAL: exit code: -6

CRITICAL: failed: binary=./qemu-system-x86_64 accel=tcg machine=x-remote
device=sgx-epc
CRITICAL: cmdline: ./qemu-system-x86_64 -S -machine x-remote,accel=tcg
-device sgx-epc
CRITICAL: log: /home/jsnow/src/qemu/include/hw/i386/pc.h:128:PC_MACHINE:
Object 0x55bbcd596d40 is not an instance of type generic-pc-machine
CRITICAL: exit code: -6

CRITICAL: failed: binary=./qemu-system-x86_64 accel=tcg machine=microvm
device=sgx-epc
CRITICAL: cmdline: ./qemu-system-x86_64 -S -machine microvm,accel=tcg
-device sgx-epc
CRITICAL: log: /home/jsnow/src/qemu/include/hw/i386/pc.h:128:PC_MACHINE:
Object 0x55ca35c081b0 is not an instance of type generic-pc-machine
CRITICAL: exit code: -6

CRITICAL: failed: binary=./qemu-system-mips64el accel=tcg machine=pica61
device=isa-cirrus-vga
CRITICAL: cmdline: ./qemu-system-mips64el -S -machine pica61,accel=tcg
-device isa-cirrus-vga
CRITICAL: log: RAMBlock "vga.vram" already registered, abort!
CRITICAL: exit code: -6

CRITICAL: failed: binary=./qemu-system-i386 accel=kvm machine=none
device=sgx-epc
CRITICAL: cmdline: ./qemu-system-i386 -S -machine none,accel=kvm -device
sgx-epc
CRITICAL: log: /home/jsnow/src/qemu/include/hw/i386/pc.h:128:PC_MACHINE:
Object 0x55d0e0a03d90 is not an instance of type generic-pc-machine
CRITICAL: exit code: -6

CRITICAL: failed: binary=./qemu-system-i386 accel=kvm machine=x-remote
device=sgx-epc
CRITICAL: cmdline: ./qemu-system-i386 -S -machine x-remote,accel=kvm
-device sgx-epc
CRITICAL: log: /home/jsnow/src/qemu/include/hw/i386/pc.h:128:PC_MACHINE:
Object 0x564648250b30 is not an instance of type generic-pc-machine
CRITICAL: exit code: -6

CRITICAL: failed: binary=./qemu-system-i386 accel=kvm machine=microvm
device=sgx-epc
CRITICAL: cmdline: ./qemu-system-i386 -S -machine microvm,accel=kvm -device
sgx-epc
CRITICAL: log: /home/jsnow/src/qemu/include/hw/i386/pc.h:128:PC_MACHINE:
Object 0x55bef7a235b0 is not an instance of type generic-pc-machine
CRITICAL: exit code: -6

CRITICAL: failed: binary=./qemu-system-i386 accel=tcg machine=none
device=sgx-epc
CRITICAL: cmdline: ./qemu-system-i386 -S -machine none,accel=tcg -device
sgx-epc
CRITICAL: log: /home/jsnow/src/qemu/include/hw/i386/pc.h:128:PC_MACHINE:
Object 0x5608b9fecd90 is not an instance of type generic-pc-machine
CRITICAL: exit code: -6

CRITICAL: failed: binary=./qemu-system-i386 accel=tcg machine=x-remote
device=sgx-epc
CRITICAL: cmdline: ./qemu-system-i386 -S -machine x-remote,accel=tcg
-device sgx-epc
CRITICAL: log: /home/jsnow/src/qemu/include/hw/i386/pc.h:128:PC_MACHINE:
Object 0x558306c9cb30 is not an instance of type generic-pc-machine
CRITICAL: exit code: -6

CRITICAL: failed: binary=./qemu-system-i386 accel=tcg machine=microvm
device=sgx-epc
CRITICAL: cmdline: ./qemu-system-i386 -S -machine microvm,accel=tcg -device
sgx-epc
CRITICAL: log: /home/jsnow/src/qemu/include/hw/i386/pc.h:128:PC_MACHINE:
Object 0x55e041f465b0 is not an instance of type generic-pc-machine
CRITICAL: exit code: -6

CRITICAL: failed: binary=./qemu-system-mips64 accel=tcg machine=pica61
device=isa-cirrus-vga
CRITICAL: cmdline: ./qemu-system-mips64 -S -machine pica61,accel=tcg
-device isa-cirrus-vga
CRITICAL: log: RAMBlock "vga.vram" already registered, abort!
CRITICAL: exit code: -6


--js

[-- Attachment #2: Type: text/html, Size: 5112 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: device-crash-test
  2021-11-18 17:55 device-crash-test John Snow
@ 2021-11-18 18:31 ` Philippe Mathieu-Daudé
  2021-11-18 20:01   ` device-crash-test John Snow
  0 siblings, 1 reply; 3+ messages in thread
From: Philippe Mathieu-Daudé @ 2021-11-18 18:31 UTC (permalink / raw)
  To: John Snow, Thomas Huth; +Cc: qemu-devel, Eduardo Habkost

On 11/18/21 18:55, John Snow wrote:
> I finally squashed all of the bugs and got a clean run of
> device-crash-test with a full build of QEMU, over 182,000 individual
> test cases.
> 
> Here's all of the legitimate failures I saw:
> 
> CRITICAL: failed: binary=./qemu-system-x86_64 accel=kvm machine=none
> device=sgx-epc
> CRITICAL: cmdline: ./qemu-system-x86_64 -S -machine none,accel=kvm
> -device sgx-epc
> CRITICAL: log: /home/jsnow/src/qemu/include/hw/i386/pc.h:128:PC_MACHINE:
> Object 0x55b1c9dcad90 is not an instance of type generic-pc-machine
> CRITICAL: exit code: -6
> 
> CRITICAL: failed: binary=./qemu-system-x86_64 accel=kvm machine=x-remote
> device=sgx-epc
> CRITICAL: cmdline: ./qemu-system-x86_64 -S -machine x-remote,accel=kvm
> -device sgx-epc
> CRITICAL: log: /home/jsnow/src/qemu/include/hw/i386/pc.h:128:PC_MACHINE:
> Object 0x559b43269d40 is not an instance of type generic-pc-machine
> CRITICAL: exit code: -6
> 
> CRITICAL: failed: binary=./qemu-system-x86_64 accel=kvm machine=microvm
> device=sgx-epc
> CRITICAL: cmdline: ./qemu-system-x86_64 -S -machine microvm,accel=kvm
> -device sgx-epc
> CRITICAL: log: /home/jsnow/src/qemu/include/hw/i386/pc.h:128:PC_MACHINE:
> Object 0x55760ca941b0 is not an instance of type generic-pc-machine
> CRITICAL: exit code: -6
> 
> CRITICAL: failed: binary=./qemu-system-x86_64 accel=tcg machine=none
> device=sgx-epc
> CRITICAL: cmdline: ./qemu-system-x86_64 -S -machine none,accel=tcg
> -device sgx-epc
> CRITICAL: log: /home/jsnow/src/qemu/include/hw/i386/pc.h:128:PC_MACHINE:
> Object 0x557a52333d90 is not an instance of type generic-pc-machine
> CRITICAL: exit code: -6
> 
> CRITICAL: failed: binary=./qemu-system-x86_64 accel=tcg machine=x-remote
> device=sgx-epc
> CRITICAL: cmdline: ./qemu-system-x86_64 -S -machine x-remote,accel=tcg
> -device sgx-epc
> CRITICAL: log: /home/jsnow/src/qemu/include/hw/i386/pc.h:128:PC_MACHINE:
> Object 0x55bbcd596d40 is not an instance of type generic-pc-machine
> CRITICAL: exit code: -6
> 
> CRITICAL: failed: binary=./qemu-system-x86_64 accel=tcg machine=microvm
> device=sgx-epc
> CRITICAL: cmdline: ./qemu-system-x86_64 -S -machine microvm,accel=tcg
> -device sgx-epc
> CRITICAL: log: /home/jsnow/src/qemu/include/hw/i386/pc.h:128:PC_MACHINE:
> Object 0x55ca35c081b0 is not an instance of type generic-pc-machine
> CRITICAL: exit code: -6
> 
> CRITICAL: failed: binary=./qemu-system-i386 accel=kvm machine=none
> device=sgx-epc
> CRITICAL: cmdline: ./qemu-system-i386 -S -machine none,accel=kvm -device
> sgx-epc
> CRITICAL: log: /home/jsnow/src/qemu/include/hw/i386/pc.h:128:PC_MACHINE:
> Object 0x55d0e0a03d90 is not an instance of type generic-pc-machine
> CRITICAL: exit code: -6
> 
> CRITICAL: failed: binary=./qemu-system-i386 accel=kvm machine=x-remote
> device=sgx-epc
> CRITICAL: cmdline: ./qemu-system-i386 -S -machine x-remote,accel=kvm
> -device sgx-epc
> CRITICAL: log: /home/jsnow/src/qemu/include/hw/i386/pc.h:128:PC_MACHINE:
> Object 0x564648250b30 is not an instance of type generic-pc-machine
> CRITICAL: exit code: -6
> 
> CRITICAL: failed: binary=./qemu-system-i386 accel=kvm machine=microvm
> device=sgx-epc
> CRITICAL: cmdline: ./qemu-system-i386 -S -machine microvm,accel=kvm
> -device sgx-epc
> CRITICAL: log: /home/jsnow/src/qemu/include/hw/i386/pc.h:128:PC_MACHINE:
> Object 0x55bef7a235b0 is not an instance of type generic-pc-machine
> CRITICAL: exit code: -6
> 
> CRITICAL: failed: binary=./qemu-system-i386 accel=tcg machine=none
> device=sgx-epc
> CRITICAL: cmdline: ./qemu-system-i386 -S -machine none,accel=tcg -device
> sgx-epc
> CRITICAL: log: /home/jsnow/src/qemu/include/hw/i386/pc.h:128:PC_MACHINE:
> Object 0x5608b9fecd90 is not an instance of type generic-pc-machine
> CRITICAL: exit code: -6
> 
> CRITICAL: failed: binary=./qemu-system-i386 accel=tcg machine=x-remote
> device=sgx-epc
> CRITICAL: cmdline: ./qemu-system-i386 -S -machine x-remote,accel=tcg
> -device sgx-epc
> CRITICAL: log: /home/jsnow/src/qemu/include/hw/i386/pc.h:128:PC_MACHINE:
> Object 0x558306c9cb30 is not an instance of type generic-pc-machine
> CRITICAL: exit code: -6
> 
> CRITICAL: failed: binary=./qemu-system-i386 accel=tcg machine=microvm
> device=sgx-epc
> CRITICAL: cmdline: ./qemu-system-i386 -S -machine microvm,accel=tcg
> -device sgx-epc
> CRITICAL: log: /home/jsnow/src/qemu/include/hw/i386/pc.h:128:PC_MACHINE:
> Object 0x55e041f465b0 is not an instance of type generic-pc-machine
> CRITICAL: exit code: -6

Aren't these fixed by
https://lore.kernel.org/qemu-devel/20211109175021.17813-1-pbonzini@redhat.com/
?



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: device-crash-test
  2021-11-18 18:31 ` device-crash-test Philippe Mathieu-Daudé
@ 2021-11-18 20:01   ` John Snow
  0 siblings, 0 replies; 3+ messages in thread
From: John Snow @ 2021-11-18 20:01 UTC (permalink / raw)
  To: Philippe Mathieu-Daudé; +Cc: Thomas Huth, qemu-devel, Eduardo Habkost

[-- Attachment #1: Type: text/plain, Size: 5290 bytes --]

On Thu, Nov 18, 2021 at 1:31 PM Philippe Mathieu-Daudé <philmd@redhat.com>
wrote:

> On 11/18/21 18:55, John Snow wrote:
> > I finally squashed all of the bugs and got a clean run of
> > device-crash-test with a full build of QEMU, over 182,000 individual
> > test cases.
> >
> > Here's all of the legitimate failures I saw:
> >
> > CRITICAL: failed: binary=./qemu-system-x86_64 accel=kvm machine=none
> > device=sgx-epc
> > CRITICAL: cmdline: ./qemu-system-x86_64 -S -machine none,accel=kvm
> > -device sgx-epc
> > CRITICAL: log: /home/jsnow/src/qemu/include/hw/i386/pc.h:128:PC_MACHINE:
> > Object 0x55b1c9dcad90 is not an instance of type generic-pc-machine
> > CRITICAL: exit code: -6
> >
> > CRITICAL: failed: binary=./qemu-system-x86_64 accel=kvm machine=x-remote
> > device=sgx-epc
> > CRITICAL: cmdline: ./qemu-system-x86_64 -S -machine x-remote,accel=kvm
> > -device sgx-epc
> > CRITICAL: log: /home/jsnow/src/qemu/include/hw/i386/pc.h:128:PC_MACHINE:
> > Object 0x559b43269d40 is not an instance of type generic-pc-machine
> > CRITICAL: exit code: -6
> >
> > CRITICAL: failed: binary=./qemu-system-x86_64 accel=kvm machine=microvm
> > device=sgx-epc
> > CRITICAL: cmdline: ./qemu-system-x86_64 -S -machine microvm,accel=kvm
> > -device sgx-epc
> > CRITICAL: log: /home/jsnow/src/qemu/include/hw/i386/pc.h:128:PC_MACHINE:
> > Object 0x55760ca941b0 is not an instance of type generic-pc-machine
> > CRITICAL: exit code: -6
> >
> > CRITICAL: failed: binary=./qemu-system-x86_64 accel=tcg machine=none
> > device=sgx-epc
> > CRITICAL: cmdline: ./qemu-system-x86_64 -S -machine none,accel=tcg
> > -device sgx-epc
> > CRITICAL: log: /home/jsnow/src/qemu/include/hw/i386/pc.h:128:PC_MACHINE:
> > Object 0x557a52333d90 is not an instance of type generic-pc-machine
> > CRITICAL: exit code: -6
> >
> > CRITICAL: failed: binary=./qemu-system-x86_64 accel=tcg machine=x-remote
> > device=sgx-epc
> > CRITICAL: cmdline: ./qemu-system-x86_64 -S -machine x-remote,accel=tcg
> > -device sgx-epc
> > CRITICAL: log: /home/jsnow/src/qemu/include/hw/i386/pc.h:128:PC_MACHINE:
> > Object 0x55bbcd596d40 is not an instance of type generic-pc-machine
> > CRITICAL: exit code: -6
> >
> > CRITICAL: failed: binary=./qemu-system-x86_64 accel=tcg machine=microvm
> > device=sgx-epc
> > CRITICAL: cmdline: ./qemu-system-x86_64 -S -machine microvm,accel=tcg
> > -device sgx-epc
> > CRITICAL: log: /home/jsnow/src/qemu/include/hw/i386/pc.h:128:PC_MACHINE:
> > Object 0x55ca35c081b0 is not an instance of type generic-pc-machine
> > CRITICAL: exit code: -6
> >
> > CRITICAL: failed: binary=./qemu-system-i386 accel=kvm machine=none
> > device=sgx-epc
> > CRITICAL: cmdline: ./qemu-system-i386 -S -machine none,accel=kvm -device
> > sgx-epc
> > CRITICAL: log: /home/jsnow/src/qemu/include/hw/i386/pc.h:128:PC_MACHINE:
> > Object 0x55d0e0a03d90 is not an instance of type generic-pc-machine
> > CRITICAL: exit code: -6
> >
> > CRITICAL: failed: binary=./qemu-system-i386 accel=kvm machine=x-remote
> > device=sgx-epc
> > CRITICAL: cmdline: ./qemu-system-i386 -S -machine x-remote,accel=kvm
> > -device sgx-epc
> > CRITICAL: log: /home/jsnow/src/qemu/include/hw/i386/pc.h:128:PC_MACHINE:
> > Object 0x564648250b30 is not an instance of type generic-pc-machine
> > CRITICAL: exit code: -6
> >
> > CRITICAL: failed: binary=./qemu-system-i386 accel=kvm machine=microvm
> > device=sgx-epc
> > CRITICAL: cmdline: ./qemu-system-i386 -S -machine microvm,accel=kvm
> > -device sgx-epc
> > CRITICAL: log: /home/jsnow/src/qemu/include/hw/i386/pc.h:128:PC_MACHINE:
> > Object 0x55bef7a235b0 is not an instance of type generic-pc-machine
> > CRITICAL: exit code: -6
> >
> > CRITICAL: failed: binary=./qemu-system-i386 accel=tcg machine=none
> > device=sgx-epc
> > CRITICAL: cmdline: ./qemu-system-i386 -S -machine none,accel=tcg -device
> > sgx-epc
> > CRITICAL: log: /home/jsnow/src/qemu/include/hw/i386/pc.h:128:PC_MACHINE:
> > Object 0x5608b9fecd90 is not an instance of type generic-pc-machine
> > CRITICAL: exit code: -6
> >
> > CRITICAL: failed: binary=./qemu-system-i386 accel=tcg machine=x-remote
> > device=sgx-epc
> > CRITICAL: cmdline: ./qemu-system-i386 -S -machine x-remote,accel=tcg
> > -device sgx-epc
> > CRITICAL: log: /home/jsnow/src/qemu/include/hw/i386/pc.h:128:PC_MACHINE:
> > Object 0x558306c9cb30 is not an instance of type generic-pc-machine
> > CRITICAL: exit code: -6
> >
> > CRITICAL: failed: binary=./qemu-system-i386 accel=tcg machine=microvm
> > device=sgx-epc
> > CRITICAL: cmdline: ./qemu-system-i386 -S -machine microvm,accel=tcg
> > -device sgx-epc
> > CRITICAL: log: /home/jsnow/src/qemu/include/hw/i386/pc.h:128:PC_MACHINE:
> > Object 0x55e041f465b0 is not an instance of type generic-pc-machine
> > CRITICAL: exit code: -6
>
> Aren't these fixed by
>
> https://lore.kernel.org/qemu-devel/20211109175021.17813-1-pbonzini@redhat.com/
> ?
>

Maybe, dunno. I've been working on fixing up the testing infrastructure and
haven't rebased in a week. It takes a few hours to run the entire battery,
so I can try again tonight and let you know tomorrow. My goal here was
fixing device-crash-test itself -- and since it takes so long to run,
figured I'd share the results.

--js

[-- Attachment #2: Type: text/html, Size: 6306 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-11-18 20:04 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-18 17:55 device-crash-test John Snow
2021-11-18 18:31 ` device-crash-test Philippe Mathieu-Daudé
2021-11-18 20:01   ` device-crash-test John Snow

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.