Skip to content

RFC ppc: avocado test additions and new defaults

Nicholas Piggin qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest11 patches 26 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/11tests/avocado: ppc add powernv10 boot_linux_console testtests/avocado/boot_linux_console.py+8 -00 replies
2/11tests/avocado: Add ppc pseries and powernv Hash MMU teststests/avocado/ppc_powernv.py tests/avocado/ppc_pseries.py+35 -61 reply
3/11tests/avocado: Add pseries KVM boot_linux testtests/avocado/boot_linux.py+9 -00 replies
4/11tests/avocado: ppc add hypervisor teststests/avocado/ppc_hv_tests.py+173 -01 reply
5/11testing/avocado: ppc add new BookE boot_linux_console.py teststests/avocado/boot_linux_console.py+53 -05 replies
6/11tests/avocado: Add FreeBSD distro boot tests for ppctests/avocado/boot_freebsd.py+109 -05 replies
7/11tests/avocado: Add ppc boot tests for non-free AIX imagestests/avocado/ppc_aix.py+63 -05 replies
8/11tests/avocado: Add ppc MacOS teststests/avocado/ppc/macos9.ppm tests/avocado/ppc_macos.py+90 -02 replies
9/11tests/avocado: Use default CPU for pseries machinetests/avocado/migration.py+0 -10 replies
10/11ppc/spapr: change pseries machine default to POWER10 CPUhw/ppc/spapr.c+1 -12 replies
11/11ppc/pnv: Change powernv default to powernv10hw/ppc/pnv.c+2 -24 replies

Reviews trailers per patch

4 of 11 patches have a Reviewed-by or Acked-by.

PatchPhilippe Mathieu-DaudéJoel StanleyWarner LoshCédric Le Goater
1/11
2/11
3/11
4/11
5/11R-b R-b
6/11R-b
7/11
8/11
9/11
10/11R-b R-b
11/11R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 4 reviewers.

Read the v1 thread

Cover letter [RFC PATCH 00/11] ppc: avocado test additions and new defaults

Sorry for going missing for a while, had a few things on but have been working on figuring out testing and git setup to get some things merged.

To start with I'd like to add a few more tests. Since most of my own tests for missing bits (like KVM backend) are mostly just ad hoc scripts, I thought adding them to avocado is a better idea. Comments on those in particular from CI gurus would be welcome,

patch 4, because it boots a Alpine distro image and installs a QEMU package via its package manager.

patch 5, because it grabs some Linux kernel images I put up on another gitlab page.

patch 6, because it adds a FreeBSD boot test.

patch 7/8, because they add tests for non-public images (flames welcome).

Thanks,
Nick

Nicholas Piggin (11):
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 testing/avocado: ppc add new BookE boot_linux_console.py tests tests/avocado: Add FreeBSD distro boot tests for ppc tests/avocado: Add ppc boot tests for non-free AIX images tests/avocado: Add ppc MacOS tests
tests/avocado: Use default CPU for pseries machine ppc/spapr: change pseries machine default to POWER10 CPU ppc/pnv: Change powernv default to powernv10

 hw/ppc/pnv.c                        |   4 +-
 hw/ppc/spapr.c                      |   2 +-
 tests/avocado/boot_freebsd.py       | 109 ++++++++++++++++++
 tests/avocado/boot_linux.py         |   9 ++
 tests/avocado/boot_linux_console.py |  61 ++++++++++
 tests/avocado/migration.py          |   1 -
 tests/avocado/ppc/macos9.ppm        | Bin 0 -> 921615 bytes
 tests/avocado/ppc_aix.py            |  63 ++++++++++
 tests/avocado/ppc_hv_tests.py       | 173 ++++++++++++++++++++++++++++
 tests/avocado/ppc_macos.py          |  90 +++++++++++++++
 tests/avocado/ppc_powernv.py        |  21 +++-
 tests/avocado/ppc_pseries.py        |  20 +++-
 12 files changed, 543 insertions(+), 10 deletions(-)
 create mode 100644 tests/avocado/boot_freebsd.py
 create mode 100644 tests/avocado/ppc/macos9.ppm
 create mode 100644 tests/avocado/ppc_aix.py
 create mode 100644 tests/avocado/ppc_hv_tests.py
 create mode 100644 tests/avocado/ppc_macos.py
Signature · 1 line
2.42.0