qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* intermittent qtest-aarch64/xlnx-canfd-test test failure
@ 2023-09-21  7:51 Michael Tokarev
  2023-10-30 16:19 ` Cédric Le Goater
  0 siblings, 1 reply; 4+ messages in thread
From: Michael Tokarev @ 2023-09-21  7:51 UTC (permalink / raw)
  To: QEMU Developers; +Cc: Vikram Garhwal, Francisco Iglesias, Richard Henderson

Hi!

While doing stable-8.1.1 preparation, I've a CI failure of ubuntu-20.04-s390x-all here:

https://gitlab.com/qemu-project/qemu/-/jobs/5132720046

▶ ERROR:../tests/qtest/xlnx-canfd-test.c:265:match_rx_tx_data: \
   assertion failed ((buf_rx[size] & DLC_FD_BIT_MASK) == (buf_tx[size] & DLC_FD_BIT_MASK)): (2281701376 == 2147483648)

  qemu:qtest+qtest-aarch64 / qtest-aarch64/xlnx-canfd-test  \
            ERROR           0.77s   killed by signal 6 SIGABRT

Re-run of this test went successfully.  However, the assert looks
a bit scary, and the fact that it does not fail in a reliable way
is a bit troubling too.  Is it a flaky test or there's something
else in qemu with concurrent threads?

I don't see this assert in previous test runs.  But ubuntu-20.04-s390x-all
test fails quite often due to other reasons, so it isn't conclusive.

Should something be done with this?

The testing is done for commit f2fc49c302036315db6e8c9f74592decc3be0476,
which is in staging-8.1 branch only temporarily.

Thanks,

/mjt


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

* Re: intermittent qtest-aarch64/xlnx-canfd-test test failure
  2023-09-21  7:51 intermittent qtest-aarch64/xlnx-canfd-test test failure Michael Tokarev
@ 2023-10-30 16:19 ` Cédric Le Goater
  2023-10-31 20:19   ` Vikram Garhwal
  0 siblings, 1 reply; 4+ messages in thread
From: Cédric Le Goater @ 2023-10-30 16:19 UTC (permalink / raw)
  To: Michael Tokarev, QEMU Developers
  Cc: Vikram Garhwal, Francisco Iglesias, Richard Henderson

On 9/21/23 09:51, Michael Tokarev wrote:
> Hi!
> 
> While doing stable-8.1.1 preparation, I've a CI failure of ubuntu-20.04-s390x-all here:
> 
> https://gitlab.com/qemu-project/qemu/-/jobs/5132720046
> 
> ▶ ERROR:../tests/qtest/xlnx-canfd-test.c:265:match_rx_tx_data: \
>    assertion failed ((buf_rx[size] & DLC_FD_BIT_MASK) == (buf_tx[size] & DLC_FD_BIT_MASK)): (2281701376 == 2147483648)
> 
>   qemu:qtest+qtest-aarch64 / qtest-aarch64/xlnx-canfd-test  \
>             ERROR           0.77s   killed by signal 6 SIGABRT
> 
> Re-run of this test went successfully.  However, the assert looks
> a bit scary, and the fact that it does not fail in a reliable way
> is a bit troubling too.  Is it a flaky test or there's something
> else in qemu with concurrent threads?
> 
> I don't see this assert in previous test runs.  But ubuntu-20.04-s390x-all
> test fails quite often due to other reasons, so it isn't conclusive.
> 
> Should something be done with this?
> 
> The testing is done for commit f2fc49c302036315db6e8c9f74592decc3be0476,
> which is in staging-8.1 branch only temporarily.
> 
> Thanks,
> 
> /mjt
> 

I had the same CI error in job https://gitlab.com/legoater/qemu/-/jobs/5416150239
  
▶ 170/258 ERROR:../tests/qtest/xlnx-canfd-test.c:265:match_rx_tx_data: assertion failed ((buf_rx[size] & DLC_FD_BIT_MASK) == (buf_tx[size] & DLC_FD_BIT_MASK)): (2281701376 == 2147483648) ERROR
170/258 qemu:qtest+qtest-aarch64 / qtest-aarch64/xlnx-canfd-test           ERROR           0.49s   killed by signal 6 SIGABRT
>>> QTEST_QEMU_BINARY=./qemu-system-aarch64 PYTHON=/builds/legoater/qemu/build/pyvenv/bin/python3 MALLOC_PERTURB_=60 G_TEST_DBUS_DAEMON=/builds/legoater/qemu/tests/dbus-vmstate-daemon.sh /builds/legoater/qemu/build/tests/qtest/xlnx-canfd-test --tap -k
――――――――――――――――――――――――――――――――――――― ✀  ―――――――――――――――――――――――――――――――――――――
stderr:
**
ERROR:../tests/qtest/xlnx-canfd-test.c:265:match_rx_tx_data: assertion failed ((buf_rx[size] & DLC_FD_BIT_MASK) == (buf_tx[size] & DLC_FD_BIT_MASK)): (2281701376 == 2147483648)
(test program exited with status code -6)

I could reproduce on PPC64 and s390x systems.

C.



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

* Re: intermittent qtest-aarch64/xlnx-canfd-test test failure
  2023-10-30 16:19 ` Cédric Le Goater
@ 2023-10-31 20:19   ` Vikram Garhwal
  2023-11-06 14:47     ` Cédric Le Goater
  0 siblings, 1 reply; 4+ messages in thread
From: Vikram Garhwal @ 2023-10-31 20:19 UTC (permalink / raw)
  To: Cédric Le Goater
  Cc: Michael Tokarev, QEMU Developers, Francisco Iglesias,
	Richard Henderson

Hi Michael & Cedric,
On Mon, Oct 30, 2023 at 05:19:38PM +0100, Cédric Le Goater wrote:
> On 9/21/23 09:51, Michael Tokarev wrote:
> > Hi!
> > 
> > While doing stable-8.1.1 preparation, I've a CI failure of ubuntu-20.04-s390x-all here:
> > 
> > https://gitlab.com/qemu-project/qemu/-/jobs/5132720046
> > 
> > ▶ ERROR:../tests/qtest/xlnx-canfd-test.c:265:match_rx_tx_data: \
> >    assertion failed ((buf_rx[size] & DLC_FD_BIT_MASK) == (buf_tx[size] & DLC_FD_BIT_MASK)): (2281701376 == 2147483648)
> > 
> >   qemu:qtest+qtest-aarch64 / qtest-aarch64/xlnx-canfd-test  \
> >             ERROR           0.77s   killed by signal 6 SIGABRT
> > 
> > Re-run of this test went successfully.  However, the assert looks
> > a bit scary, and the fact that it does not fail in a reliable way
> > is a bit troubling too.  Is it a flaky test or there's something
> > else in qemu with concurrent threads?
> > 
> > I don't see this assert in previous test runs.  But ubuntu-20.04-s390x-all
> > test fails quite often due to other reasons, so it isn't conclusive.
> > 
> > Should something be done with this?
> > 
> > The testing is done for commit f2fc49c302036315db6e8c9f74592decc3be0476,
> > which is in staging-8.1 branch only temporarily.
> > 
I tried with staging-8.1 and didn't see this error. I ran it with registry.gitlab.com/legoater/qemu/qemu/fedora-i386-cross:latest on a x86 host machine. Can you please share more about how you are running
the testes? It will be greatly helpful to me in reproducing the issue and fixing
it.
> > Thanks,
> > 
> > /mjt
> > 
> 
> I had the same CI error in job https://gitlab.com/legoater/qemu/-/jobs/5416150239
> ▶ 170/258 ERROR:../tests/qtest/xlnx-canfd-test.c:265:match_rx_tx_data: assertion failed ((buf_rx[size] & DLC_FD_BIT_MASK) == (buf_tx[size] & DLC_FD_BIT_MASK)): (2281701376 == 2147483648) ERROR
> 170/258 qemu:qtest+qtest-aarch64 / qtest-aarch64/xlnx-canfd-test           ERROR           0.49s   killed by signal 6 SIGABRT
> > > > QTEST_QEMU_BINARY=./qemu-system-aarch64 PYTHON=/builds/legoater/qemu/build/pyvenv/bin/python3 MALLOC_PERTURB_=60 G_TEST_DBUS_DAEMON=/builds/legoater/qemu/tests/dbus-vmstate-daemon.sh /builds/legoater/qemu/build/tests/qtest/xlnx-canfd-test --tap -k
> ――――――――――――――――――――――――――――――――――――― ✀  ―――――――――――――――――――――――――――――――――――――
> stderr:
> **
> ERROR:../tests/qtest/xlnx-canfd-test.c:265:match_rx_tx_data: assertion failed ((buf_rx[size] & DLC_FD_BIT_MASK) == (buf_tx[size] & DLC_FD_BIT_MASK)): (2281701376 == 2147483648)
> (test program exited with status code -6)
> 
> I could reproduce on PPC64 and s390x systems.
> 
> C.
> 


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

* Re: intermittent qtest-aarch64/xlnx-canfd-test test failure
  2023-10-31 20:19   ` Vikram Garhwal
@ 2023-11-06 14:47     ` Cédric Le Goater
  0 siblings, 0 replies; 4+ messages in thread
From: Cédric Le Goater @ 2023-11-06 14:47 UTC (permalink / raw)
  To: Vikram Garhwal
  Cc: Michael Tokarev, QEMU Developers, Francisco Iglesias,
	Richard Henderson

On 10/31/23 21:19, Vikram Garhwal wrote:
> Hi Michael & Cedric,
> On Mon, Oct 30, 2023 at 05:19:38PM +0100, Cédric Le Goater wrote:
>> On 9/21/23 09:51, Michael Tokarev wrote:
>>> Hi!
>>>
>>> While doing stable-8.1.1 preparation, I've a CI failure of ubuntu-20.04-s390x-all here:
>>>
>>> https://gitlab.com/qemu-project/qemu/-/jobs/5132720046
>>>
>>> ▶ ERROR:../tests/qtest/xlnx-canfd-test.c:265:match_rx_tx_data: \
>>>     assertion failed ((buf_rx[size] & DLC_FD_BIT_MASK) == (buf_tx[size] & DLC_FD_BIT_MASK)): (2281701376 == 2147483648)
>>>
>>>    qemu:qtest+qtest-aarch64 / qtest-aarch64/xlnx-canfd-test  \
>>>              ERROR           0.77s   killed by signal 6 SIGABRT
>>>
>>> Re-run of this test went successfully.  However, the assert looks
>>> a bit scary, and the fact that it does not fail in a reliable way
>>> is a bit troubling too.  Is it a flaky test or there's something
>>> else in qemu with concurrent threads?
>>>
>>> I don't see this assert in previous test runs.  But ubuntu-20.04-s390x-all
>>> test fails quite often due to other reasons, so it isn't conclusive.
>>>
>>> Should something be done with this?
>>>
>>> The testing is done for commit f2fc49c302036315db6e8c9f74592decc3be0476,
>>> which is in staging-8.1 branch only temporarily.
>>>
> I tried with staging-8.1 and didn't see this error. I ran it with registry.gitlab.com/legoater/qemu/qemu/fedora-i386-cross:latest on a x86 host machine. Can you please share more about how you are running
> the testes? It will be greatly helpful to me in reproducing the issue and fixing

I simply ran :

while [ 1 ]; do QTEST_QEMU_BINARY=build/aarch64-softmmu/qemu-system-aarch64 QTEST_QEMU_IMG=qemu-img build/tests/qtest/xlnx-canfd-test || break; done
....
# starting QEMU: exec build/aarch64-softmmu/qemu-system-aarch64 -qtest unix:/tmp/qtest-689050.sock -qtest-log /dev/null -chardev socket,path=/tmp/qtest-689050.qmp,id=char0 -mon chardev=char0,mode=control -display none -audio none -machine xlnx-versal-virt -object can-bus,id=canbus -machine canbus0=canbus -machine canbus1=canbus -accel qtest
**
ERROR:../tests/qtest/xlnx-canfd-test.c:265:match_rx_tx_data: assertion failed ((buf_rx[size] & DLC_FD_BIT_MASK) == (buf_tx[size] & DLC_FD_BIT_MASK)): (2281701376 == 2147483648)
Bail out! ERROR:../tests/qtest/xlnx-canfd-test.c:265:match_rx_tx_data: assertion failed ((buf_rx[size] & DLC_FD_BIT_MASK) == (buf_tx[size] & DLC_FD_BIT_MASK)): (2281701376 == 2147483648)
Aborted (core dumped)


It is always the same error : 0x88000000 == 0x80000000

Thanks,

C.

> it.
>>> Thanks,
>>>
>>> /mjt
>>>
>>
>> I had the same CI error in job https://gitlab.com/legoater/qemu/-/jobs/5416150239
>> ▶ 170/258 ERROR:../tests/qtest/xlnx-canfd-test.c:265:match_rx_tx_data: assertion failed ((buf_rx[size] & DLC_FD_BIT_MASK) == (buf_tx[size] & DLC_FD_BIT_MASK)): (2281701376 == 2147483648) ERROR
>> 170/258 qemu:qtest+qtest-aarch64 / qtest-aarch64/xlnx-canfd-test           ERROR           0.49s   killed by signal 6 SIGABRT
>>>>> QTEST_QEMU_BINARY=./qemu-system-aarch64 PYTHON=/builds/legoater/qemu/build/pyvenv/bin/python3 MALLOC_PERTURB_=60 G_TEST_DBUS_DAEMON=/builds/legoater/qemu/tests/dbus-vmstate-daemon.sh /builds/legoater/qemu/build/tests/qtest/xlnx-canfd-test --tap -k
>> ――――――――――――――――――――――――――――――――――――― ✀  ―――――――――――――――――――――――――――――――――――――
>> stderr:
>> **
>> ERROR:../tests/qtest/xlnx-canfd-test.c:265:match_rx_tx_data: assertion failed ((buf_rx[size] & DLC_FD_BIT_MASK) == (buf_tx[size] & DLC_FD_BIT_MASK)): (2281701376 == 2147483648)
>> (test program exited with status code -6)
>>
>> I could reproduce on PPC64 and s390x systems.
>>
>> C.
>>
> 



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

end of thread, other threads:[~2023-11-06 14:50 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-09-21  7:51 intermittent qtest-aarch64/xlnx-canfd-test test failure Michael Tokarev
2023-10-30 16:19 ` Cédric Le Goater
2023-10-31 20:19   ` Vikram Garhwal
2023-11-06 14:47     ` Cédric Le Goater

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).