* npcm7xx_timer-test.c is unreliable
@ 2023-09-19 17:42 Stefan Hajnoczi
2023-09-19 17:58 ` Hao Wu
0 siblings, 1 reply; 2+ messages in thread
From: Stefan Hajnoczi @ 2023-09-19 17:42 UTC (permalink / raw)
To: Tyrone Ting, Hao Wu; +Cc: qemu-arm, qemu-devel
[-- Attachment #1: Type: text/plain, Size: 1562 bytes --]
Hi,
Sometimes npcm7xx_timer-test fails intermittently: https://gitlab.com/qemu-project/qemu/-/jobs/5121787250
38/96 qemu:qtest+qtest-arm / qtest-arm/npcm7xx_timer-test ERROR 0.95s exit status 1
>>> QTEST_QEMU_BINARY=./qemu-system-arm QTEST_QEMU_STORAGE_DAEMON_BINARY=./storage-daemon/qemu-storage-daemon G_TEST_DBUS_DAEMON=/builds/qemu-project/qemu/tests/dbus-vmstate-daemon.sh QTEST_QEMU_IMG=./qemu-img MALLOC_PERTURB_=103 /builds/qemu-project/qemu/build/tests/qtest/npcm7xx_timer-test --tap -k
――――――――――――――――――――――――――――――――――――― ✀ ―――――――――――――――――――――――――――――――――――――
stderr:
**
ERROR:../tests/qtest/npcm7xx_timer-test.c:475:test_periodic_interrupt: assertion failed (tim_read(td, TISR) == tim_timer_bit(td)): (0x00000000 == 0x00000004)
**
ERROR:../tests/qtest/npcm7xx_timer-test.c:476:test_periodic_interrupt: 'qtest_get_irq(global_qtest, tim_timer_irq(td))' should be TRUE
(test program exited with status code 1)
――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――
When I reran the CI job, it passed.
Please investigate why this test is unreliable and fix it. Thanks!
There is a GitLab Issue to track this here:
https://gitlab.com/qemu-project/qemu/-/issues/1897
Stefan
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: npcm7xx_timer-test.c is unreliable
2023-09-19 17:42 npcm7xx_timer-test.c is unreliable Stefan Hajnoczi
@ 2023-09-19 17:58 ` Hao Wu
0 siblings, 0 replies; 2+ messages in thread
From: Hao Wu @ 2023-09-19 17:58 UTC (permalink / raw)
To: Stefan Hajnoczi; +Cc: Tyrone Ting, qemu-arm, qemu-devel
[-- Attachment #1: Type: text/plain, Size: 100 bytes --]
>
> Let me take a look at that. I suspect the timer is off by 1 tick due to
> some rounding errors.
[-- Attachment #2: Type: text/html, Size: 281 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-09-19 18:01 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-09-19 17:42 npcm7xx_timer-test.c is unreliable Stefan Hajnoczi
2023-09-19 17:58 ` Hao Wu
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).