qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PULL 2/7] tests/migration: Enable the migration test o


From: Thomas Huth
Subject: Re: [Qemu-devel] [PULL 2/7] tests/migration: Enable the migration test on s390x, too
Date: Thu, 18 Oct 2018 14:38:01 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1

On 2018-10-17 21:28, Emilio G. Cota wrote:
> On Thu, Oct 11, 2018 at 20:25:08 +0100, Dr. David Alan Gilbert (git) wrote:
>> From: Thomas Huth <address@hidden>
>>
>> We can re-use the s390-ccw bios code to implement a small firmware
>> for a s390x guest which prints out the "A" and "B" characters and
>> modifies the memory, as required for the migration test.
>>
>> [quintela: Converted the compile script to Makefile rules]
>> Signed-off-by: Juan Quintela <address@hidden>
>> Signed-off-by: Thomas Huth <address@hidden>
>> Message-Id: <address@hidden>
>> Reviewed-by: Philippe Mathieu-Daudé <address@hidden>
>> Tested-by: Philippe Mathieu-Daudé <address@hidden>
>> Signed-off-by: Dr. David Alan Gilbert <address@hidden>
>>   Fixed up Makefile since the aarch patch sneaked in first
> 
> I suspect this test is giving me intermittent hangs. I've seen the hangs
> in different machines, but when they're lightly loaded the
> hang happens more frequently.
> 
> To reproduce:
> 
> $ ./configure --target-list=s390x-softmmu
> $ make clean && make
> $ for i in $(seq 0 150); do echo $i && make -j check-qtest || break; done
> 
> It usually ends up hanging before 50 runs. When the hang happens, I see
> two qemu-system-s390x processes with:
> 
> -serial file:/tmp/migration-test-0FZErQ/dest_serial
> 
> as an argument, among others. That means the migration test is the
> one hanging, correct?
> 
> Attaching with gdb just shows the TCG thread waiting for work
> in qemu_tcg_rr_wait_io_event.
> 
> Can anyone reproduce this? Otherwise, let me know what other info
> I could provide.

I've finally been able to reproduce it - seems like it only happens here
when the host is under heavy load.

... not sure whether I've got time to debug this before KVM forum, so if
it bugs you, feel free to send a patch to disable the test in
tests/Makefile.include for s390x again.

 Thomas



reply via email to

[Prev in Thread] Current Thread [Next in Thread]