qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Thomas Huth <thuth@redhat.com>
To: "Alex Bennée" <alex.bennee@linaro.org>,
	"John Snow" <jsnow@redhat.com>,
	qemu-block@nongnu.org, rth@twiddle.net, ehabkost@redhat.com
Cc: qemu-devel@nongnu.org, pbonzini@redhat.com, peter.maydell@linaro.org
Subject: Re: [Qemu-devel] [PATCH v1 0/8] testing/next
Date: Thu, 21 Feb 2019 17:21:23 +0100	[thread overview]
Message-ID: <9d551080-87df-f81b-1b32-618f6d0e3fa3@redhat.com> (raw)
In-Reply-To: <87imxd47pu.fsf@zen.linaroharston>

On 21/02/2019 14.00, Alex Bennée wrote:
> 
> Thomas Huth <thuth@redhat.com> writes:
> 
>> On 20/02/2019 21.52, Alex Bennée wrote:
>>>
>>> Alex Bennée <alex.bennee@linaro.org> writes:
>>>
>>>> Hi,
>>>>
>>>>   tests/boot-sector.c:161:boot_sector_test:
>>>>     assertion failed (signature == SIGNATURE): (0x0000face == 0x0000dead)
>>>>
>>>> I have seen this locally and got a core dump but it doesn't show much.
>>>> I'm going to see if I can get more out of a debug build. It is
>>>> generated by:
>>>>
>>>>   tests/cdrom-test -m=quick -k --tap
>>>>
>>>> I think the subtest is:
>>>>
>>>>   /x86_64/cdrom/boot/isapc
>>>>
>>>> Attaching to the child QEMU looks like it is eternally returning
>>>> -EINTR and looping around with the occasionally kvm_handle_io to port
>>>> 146 and port 112. I guess under test conditions this eventually times
>>>> out and dies.
>>> <snip>
>>>
>>> This is load related. I can run:
>>>
>>>   retry.py --timeout 600 -n 500 -c -- \
>>>     env QTEST_QEMU_BINARY=x86_64-softmmu/qemu-system-x86_64 \
>>>         QTEST_QEMU_IMG=qemu-img ./tests/cdrom-test \
>>>         -m=quick -p /x86_64/cdrom/boot/isapc
>>>
>>> and then all 500 run fine. If I do the same while running a make check
>>> check-tcg -j9 in another build directory it hangs within 20 odd
>>> attempts.
>>>
>>> Can anyone else reproduce this?
> 
> I should also mention my current config for the reproducer test is:
> 
>   '../../configure' '--python=python3' '--disable-docs' '--disable-tools' '--disable-libusb' '--disable-vte' '--disable-xen' '--enable-debug' '--extra-cflags=-O0 -g3' '--target-list=x86_64-softmmu'
> 
>>
>> I can't reproduce it here. Might be worth a try to check the BIOS output
>> in that case. Add this patch:
>>
>> diff --git a/tests/cdrom-test.c b/tests/cdrom-test.c
>> index 14bd981..c38e016 100644
>> --- a/tests/cdrom-test.c
>> +++ b/tests/cdrom-test.c
>> @@ -132,7 +132,7 @@ static void add_x86_tests(void)
>>      qtest_add_data_func("cdrom/boot/virtio-scsi",
>>                          "-device virtio-scsi -device scsi-cd,drive=cdr "
>>                          "-blockdev file,node-name=cdr,filename=", test_cdboot);
>> -    qtest_add_data_func("cdrom/boot/isapc", "-M isapc "
>> +    qtest_add_data_func("cdrom/boot/isapc", "-M isapc -vga none -device sga -serial file:/tmp/stdio "
>>                          "-drive if=ide,media=cdrom,file=", test_cdboot);
>>      qtest_add_data_func("cdrom/boot/am53c974",
>>                          "-device am53c974 -device scsi-cd,drive=cd1 "
>>
>> ... then check /tmp/stdio when it hangs.
> 
> This gets us:
> 
>   SeaBIOS (version rel-1.12.0-0-ga698c8995f-prebuilt.qemu.org)
>   Booting from Floppy...
>   Boot failed: could not read the boot disk
> 
>   Booting from DVD/CD...
>   Boot failed: Could not read from CDROM (code 000c)
>   Booting from DVD/CD...
>   Boot failed: Could not read from CDROM (code 0003)
>   Booting from Hard Disk...
>   Boot failed: could not read the boot disk
> 
>   No bootable device.
> 
> I tried to bisect but this occurs even in v3.0.0
Weird, if it also occurs with 3.0 already, why didn't we notice this
earlier?

> In the meantime I'll see if I can disable the test for the CI runs.

Ok, but that likely means nobody is going to fix it anymore ... anyway,
if we still keep it for the SPEED=slow mode, we will at least still
notice if it breaks completely one day...

 Thomas

      reply	other threads:[~2019-02-21 16:21 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-02-20 17:28 [Qemu-devel] [PATCH v1 0/8] testing/next Alex Bennée
2019-02-20 17:28 ` [Qemu-devel] [PATCH v1 1/8] .travis.yml: the xcode10 image seems to be hosed Alex Bennée
2019-02-20 19:08   ` Philippe Mathieu-Daudé
2019-02-20 17:28 ` [Qemu-devel] [PATCH v1 2/8] .travis.yml: split debug builds Alex Bennée
2019-02-20 18:35   ` Richard Henderson
2019-02-20 17:28 ` [Qemu-devel] [PATCH v1 3/8] .travis.yml: Test with disable-replication Alex Bennée
2019-02-20 17:28 ` [Qemu-devel] [PATCH v1 4/8] .travis.yml: Remove disable-uuid Alex Bennée
2019-02-20 17:28 ` [Qemu-devel] [PATCH v1 5/8] tests/docker: squash initial update and install step for docker9 Alex Bennée
2019-02-20 18:04   ` Paolo Bonzini
2019-02-20 17:28 ` [Qemu-devel] [PATCH v1 6/8] tests/docker: peg netmap code to a specific version Alex Bennée
2019-02-20 18:42   ` Richard Henderson
2019-02-20 17:28 ` [Qemu-devel] [PATCH v1 7/8] Add a gitlab-ci file for Continuous Integration testing on Gitlab Alex Bennée
2019-02-20 17:28 ` [Qemu-devel] [PATCH v1 8/8] tests/softfloat: always do quick softfloat tests Alex Bennée
2019-02-20 18:43   ` Richard Henderson
2019-02-20 19:07 ` [Qemu-devel] [PATCH v1 0/8] testing/next Philippe Mathieu-Daudé
2019-02-20 20:52 ` Alex Bennée
2019-02-21  8:51   ` Thomas Huth
2019-02-21 13:00     ` Alex Bennée
2019-02-21 16:21       ` Thomas Huth [this message]

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=9d551080-87df-f81b-1b32-618f6d0e3fa3@redhat.com \
    --to=thuth@redhat.com \
    --cc=alex.bennee@linaro.org \
    --cc=ehabkost@redhat.com \
    --cc=jsnow@redhat.com \
    --cc=pbonzini@redhat.com \
    --cc=peter.maydell@linaro.org \
    --cc=qemu-block@nongnu.org \
    --cc=qemu-devel@nongnu.org \
    --cc=rth@twiddle.net \
    /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).