From: "Philippe Mathieu-Daudé" <philmd@linaro.org>
To: Thomas Huth <thuth@redhat.com>,
"Dr. David Alan Gilbert" <dgilbert@redhat.com>,
Peter Maydell <peter.maydell@linaro.org>
Cc: qemu-devel@nongnu.org, "Alex Bennée" <alex.bennee@linaro.org>,
"Juan Quintela" <quintela@redhat.com>
Subject: Re: [PATCH] tests: Disable migration-test
Date: Tue, 21 Feb 2023 23:24:59 +0100 [thread overview]
Message-ID: <949b026a-50d7-6635-079c-8fc7d4ab4192@linaro.org> (raw)
In-Reply-To: <194fc94a-b028-92cf-f07a-c7fdaaede1c5@redhat.com>
On 21/2/23 18:35, Thomas Huth wrote:
> On 21/02/2023 16.36, Dr. David Alan Gilbert wrote:
>> * Peter Maydell (peter.maydell@linaro.org) wrote:
>>> On Tue, 21 Feb 2023 at 15:21, Dr. David Alan Gilbert
>>> <dgilbert@redhat.com> wrote:
>>>> Damn this is really going to impact the stability of migration if we
>>>> don't regularly test.
>>>> But fundamentally, I've never been able to debug much of the reports
>>>> that come from flakyness in gitlab ci; we're not getting the most basic
>>>> information like which subtest or where we're upto in the test which
>>>> makes it very very hard to debug.
>>>
>>> Right, but if you want more information you need to change the
>>> tests and/or test harness to provide it.
>>
>> I don't think the migration test is doing anything odd in that respect;
>> We've just got a bunch of qtest tests; having a test framework which
>> doesn't tell you which test failed is very difficult.
>
> FWIW, I just saw another failure, on a s390x host,
> last lines of the log are:
>
> ok 10 /s390x/migration/postcopy/recovery/tls/psk
> # End of tls tests
> # End of recovery tests
> # Start of preempt tests
> # starting QEMU: exec ./qemu-system-s390x -qtest
> unix:/tmp/qtest-7847.sock -qtest-log /dev/null -chardev
> socket,path=/tmp/qtest-7847.qmp,id=char0 -mon chardev=char0,mode=control
> -display none -accel kvm -accel tcg -name source,debug-threads=on -m
> 128M -serial file:/tmp/migration-test-03MJ01/src_serial -bios
> /tmp/migration-test-03MJ01/bootsect -accel qtest
> # starting QEMU: exec ./qemu-system-s390x -qtest
> unix:/tmp/qtest-7847.sock -qtest-log /dev/null -chardev
> socket,path=/tmp/qtest-7847.qmp,id=char0 -mon chardev=char0,mode=control
> -display none -accel kvm -accel tcg -name target,debug-threads=on -m
> 128M -serial file:/tmp/migration-test-03MJ01/dest_serial -incoming
> unix:/tmp/migration-test-03MJ01/migsocket -bios
> /tmp/migration-test-03MJ01/bootsect -accel qtest
> ok 11 /s390x/migration/postcopy/preempt/plain
> # Start of recovery tests
> # starting QEMU: exec ./qemu-system-s390x -qtest
> unix:/tmp/qtest-7847.sock -qtest-log /dev/null -chardev
> socket,path=/tmp/qtest-7847.qmp,id=char0 -mon chardev=char0,mode=control
> -display none -accel kvm -accel tcg -name source,debug-threads=on -m
> 128M -serial file:/tmp/migration-test-03MJ01/src_serial -bios
> /tmp/migration-test-03MJ01/bootsect 2>/dev/null -accel qtest
> # starting QEMU: exec ./qemu-system-s390x -qtest
> unix:/tmp/qtest-7847.sock -qtest-log /dev/null -chardev
> socket,path=/tmp/qtest-7847.qmp,id=char0 -mon chardev=char0,mode=control
> -display none -accel kvm -accel tcg -name target,debug-threads=on -m
> 128M -serial file:/tmp/migration-test-03MJ01/dest_serial -incoming
> unix:/tmp/migration-test-03MJ01/migsocket -bios
> /tmp/migration-test-03MJ01/bootsect 2>/dev/null -accel qtest
> ----------------------------------- stderr
> -----------------------------------
> Broken pipe
> ../tests/qtest/libqtest.c:193: kill_qemu() detected QEMU death from
> signal 11 (Segmentation fault) (core dumped)
>
> (test program exited with status code -6)
I get some of these too, but qtest parent debug info isn't very helpful,
I'd rather get the child info. I tried this some time ago but per Paolo
it wasn't correct:
https://lore.kernel.org/qemu-devel/20200707031920.17428-1-f4bug@amsat.org/
I still use this patch when running my tests as it helps me to
understand where the child crash, so I didn't really looked at
what is the correct fix.
next prev parent reply other threads:[~2023-02-21 22:25 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-02-21 13:27 [PATCH] tests: Disable migration-test Peter Maydell
2023-02-21 14:27 ` Thomas Huth
2023-02-21 14:36 ` Philippe Mathieu-Daudé
2023-02-21 15:21 ` Dr. David Alan Gilbert
2023-02-21 15:29 ` Peter Maydell
2023-02-21 15:36 ` Dr. David Alan Gilbert
2023-02-21 15:47 ` Peter Maydell
2023-02-21 16:09 ` Daniel P. Berrangé
2023-02-21 17:14 ` Peter Xu
2023-02-21 17:35 ` Thomas Huth
2023-02-21 22:24 ` Philippe Mathieu-Daudé [this message]
2023-02-21 15:50 ` Daniel P. Berrangé
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=949b026a-50d7-6635-079c-8fc7d4ab4192@linaro.org \
--to=philmd@linaro.org \
--cc=alex.bennee@linaro.org \
--cc=dgilbert@redhat.com \
--cc=peter.maydell@linaro.org \
--cc=qemu-devel@nongnu.org \
--cc=quintela@redhat.com \
--cc=thuth@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).