All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/5] tests/functional/ppc64: Fixes and improvements for hypervisor tests
@ 2026-11-20  9:58 Aniket Sahu
  2026-11-20  9:58 ` [PATCH 1/5] tests/functional/ppc64: replace deprecated datetime.utcnow() Aniket Sahu
                   ` (5 more replies)
  0 siblings, 6 replies; 9+ messages in thread
From: Aniket Sahu @ 2026-11-20  9:58 UTC (permalink / raw)
  To: qemu-devel
  Cc: qemu-ppc, peterx, farosas, npiggin, adityag, milesg, harshpb,
	rathc, anushree.mathur, misanjum, gautam, thuth, amachhiw,
	asahu1x

This series fixes several issues in the PPC64 hypervisor functional tests
and improves their robustness and reliability.

Changes in this series:
-----------------------

1. Replace deprecated datetime.utcnow() with datetime.now(timezone.utc)
   to avoid deprecation warnings in Python 3.12+.

2. Pin machine types to avoid CPU compatibility issues between the L0
   QEMU (which now defaults to power11) and the L1 Alpine guest's
   packaged QEMU (which doesn't recognize power11). This fixes
   "Register sync failed" errors in L2.

3. Add kernel command line parameters (console=hvc0 usbcore.nousb) and
   early panic detection to fail fast when L2 encounters issues, plus
   retry logic for apk update to handle transient network failures.

4. Dynamically resolve the NVMe device path in L1 instead of hardcoding
   it, as the device name varies by machine type (nvme0n1 vs nvme1n1).
   Also adds comprehensive debug logging throughout the test flow and
   writes the L2 launch command to a script to avoid terminal line-wrap
   issues.

5. Increase the test timeout from 1000 to 6000 seconds to accommodate
   the longer runtime due to apk update retries and additional testing.

Testing:
--------
All tests pass on our PPC64 test machines running Ubuntu 26.04 in an
LPAR.

Aniket Sahu (3):
  tests/functional/ppc64: replace deprecated datetime.utcnow()
  tests/functional/ppc64: add kernel params and early panic detection
  tests/functional/ppc64: dynamically resolve NVMe device path

Misbah Anjum N (2):
  tests/functional/ppc64: pin machine types for hypervisor tests
  tests/functional/ppc64: increase timeout for hypervisor tests

 tests/functional/ppc64/meson.build |   2 +-
 tests/functional/ppc64/test_hv.py  | 140 +++++++++++++++++++++++++----
 2 files changed, 117 insertions(+), 25 deletions(-)

-- 
2.52.0


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

end of thread, other threads:[~2026-11-20 16:07 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-20  9:58 [PATCH 0/5] tests/functional/ppc64: Fixes and improvements for hypervisor tests Aniket Sahu
2026-11-20  9:58 ` [PATCH 1/5] tests/functional/ppc64: replace deprecated datetime.utcnow() Aniket Sahu
2026-11-20  9:58 ` [PATCH 2/5] tests/functional/ppc64: pin machine types for hypervisor tests Aniket Sahu
2026-11-20 10:06   ` Daniel P. Berrangé
2026-11-20 10:29     ` Aniket Sahu
2026-11-20  9:58 ` [PATCH 3/5] tests/functional/ppc64: add kernel params and early panic detection Aniket Sahu
2026-11-20  9:58 ` [PATCH 4/5] tests/functional/ppc64: dynamically resolve NVMe device path Aniket Sahu
2026-11-20  9:58 ` [PATCH 5/5] tests/functional/ppc64: increase timeout for hypervisor tests Aniket Sahu
2026-11-20 16:06 ` [PATCH 0/5] tests/functional/ppc64: Fixes and improvements " Alex Bennée

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.