qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* test_x86_64_hotplug_cpu.py times out frequently in CI
@ 2025-01-06 16:45 Stefan Hajnoczi
  2025-01-06 16:49 ` Peter Maydell
  0 siblings, 1 reply; 3+ messages in thread
From: Stefan Hajnoczi @ 2025-01-06 16:45 UTC (permalink / raw)
  To: Thomas Huth; +Cc: qemu-devel, Daniel P. Berrange, Peter Maydell

Hi Thomas,
test_x86_64_hotplug_cpu.py times out frequently in CI runs. Here is an example:
https://gitlab.com/qemu-project/qemu/-/jobs/8777540230#L1151

The detailed test logs are here:
https://gitlab.com/qemu-project/qemu/-/jobs/8777540230/artifacts/browse/build/tests/functional/x86_64/test_x86_64_hotplug_cpu.HotPlugCPU.test_hotplug/

I looked at this failure with Dan and Peter on IRC. It was pointed out
that the final command assumes that device_del takes effect
immediately. The console log shows that the CPU was still visible to
the guest when the final command executed.

Could be a bug in QEMU, the test, or both?

2025-01-06 15:45:29,308: :/#
2025-01-06 15:45:29,313: cd /sys/devices/system/cpu/cpu0
2025-01-06 15:45:29,315: :/sys/devices/system/cpu/cpu0#
2025-01-06 15:45:29,320: cd /sys/devices/system/cpu/cpu1
2025-01-06 15:45:29,322: sh: cd: /sys/devices/system/cpu/cpu1: No such
file or directory
2025-01-06 15:45:29,325:
2025-01-06 15:45:29,330: :/sys/devices/system/cpu/cpu0# [    7.337146]
CPU1 has been hot-added
2025-01-06 15:45:29,330:
2025-01-06 15:45:29,335: cd /sys/devices/system/cpu/cpu1
2025-01-06 15:45:29,337: :/sys/devices/system/cpu/cpu1#
2025-01-06 15:45:29,342: cd /sys/devices/system/cpu/cpu1

Thanks,
Stefan


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

end of thread, other threads:[~2025-01-07  9:02 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-01-06 16:45 test_x86_64_hotplug_cpu.py times out frequently in CI Stefan Hajnoczi
2025-01-06 16:49 ` Peter Maydell
2025-01-07  9:01   ` Thomas Huth

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