Skip to content

tests/avocado: ppc additions and other fixes

Nicholas Piggin qemu-devel 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest8 patches 4 repliesIn review
  2. v19 patches 9 repliesSuperseded

Changes in v2 from the cover letter

- Patch 1 (s390x fix) merged.
- Use existing SPEED=slow convention instead of new AVOCADO_ALLOW_LONG_RUNTIME (Thomas)
- Add slightly more guideline help text for SPEED=slow (Cedric)
- Fix hypervisor test to use KVM instead of forcing TCG always (Cedric)
- Fix hypervisor test avocado syntax issue (Cedric)
- Add powernv9 FreeBSD boot test, which is a bit tricky since powernv does not have a boot loader and not sure how to pass boot options to FreeBSD kernel directly.

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8tests/avocado: mark boot_linux.py long runtime instead of flakydocs/devel/testing.rst tests/avocado/boot_linux.py+13 -60 replies
2/8tests/avocado: Mark x86-64 boot_linux.py TCG tests as long runtimetests/avocado/boot_linux.py+7 -91 reply
3/8tests/avocado: Enable replay_linux.py on ppc64 pseriestests/avocado/replay_linux.py+75 -10 replies
4/8tests/avocado: ppc add powernv10 boot_linux_console testtests/avocado/boot_linux_console.py+8 -01 reply
5/8tests/avocado: Add ppc pseries and powernv hash MMU teststests/avocado/ppc_powernv.py tests/avocado/ppc_pseries.py+36 -71 reply
6/8tests/avocado: Add pseries KVM boot_linux testtests/avocado/boot_linux.py+8 -01 reply
7/8tests/avocado: ppc add hypervisor testsMAINTAINERS tests/avocado/ppc_hv_tests.py+204 -00 replies
8/8tests/avocado: Add FreeBSD distro boot tests for ppctests/avocado/boot_freebsd.py+174 -00 replies

Reviews trailers per patch

6 of 8 patches have a Reviewed-by or Acked-by.

PatchCédric Le GoaterWarner Losh
1/8R-b
2/8R-b
3/8
4/8R-b
5/8R-b
6/8R-b
7/8
8/8R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/8] tests/avocado: ppc additions and other fixes

Thanks for the feedback and comments on these before. I would like to put these in the ppc tree soon (modulo the x86 patch 2). Happy for more feedback but could make them as incremental changes too.

Changes since v1:
- Patch 1 (s390x fix) merged.
- Use existing SPEED=slow convention instead of new AVOCADO_ALLOW_LONG_RUNTIME (Thomas)
- Add slightly more guideline help text for SPEED=slow (Cedric)
- Fix hypervisor test to use KVM instead of forcing TCG always (Cedric)
- Fix hypervisor test avocado syntax issue (Cedric)
- Add powernv9 FreeBSD boot test, which is a bit tricky since powernv does not have a boot loader and not sure how to pass boot options to FreeBSD kernel directly.

Haven't done the BE FreeBSD test yet that Cedric suggested, will save that for later.

Thanks,
Nick

Nicholas Piggin (8):
tests/avocado: mark boot_linux.py long runtime instead of flaky tests/avocado: Mark x86-64 boot_linux.py TCG tests as long runtime tests/avocado: Enable replay_linux.py on ppc64 pseries tests/avocado: ppc add powernv10 boot_linux_console test tests/avocado: Add ppc pseries and powernv hash MMU tests tests/avocado: Add pseries KVM boot_linux test tests/avocado: ppc add hypervisor tests
tests/avocado: Add FreeBSD distro boot tests for ppc

 MAINTAINERS                         |   1 +
 docs/devel/testing.rst              |  11 ++
 tests/avocado/boot_freebsd.py       | 174 ++++++++++++++++++++++++
 tests/avocado/boot_linux.py         |  32 +++--
 tests/avocado/boot_linux_console.py |   8 ++
 tests/avocado/ppc_hv_tests.py       | 203 ++++++++++++++++++++++++++++
 tests/avocado/ppc_powernv.py        |  23 +++-
 tests/avocado/ppc_pseries.py        |  20 ++-
 tests/avocado/replay_linux.py       |  76 ++++++++++-
 9 files changed, 525 insertions(+), 23 deletions(-)
 create mode 100644 tests/avocado/boot_freebsd.py
 create mode 100644 tests/avocado/ppc_hv_tests.py
Signature · 1 line
2.42.0