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

Nicholas Piggin posted 11 patches 7 months, 1 week ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20231010075238.95646-1-npiggin@gmail.com
Maintainers: "Cédric Le Goater" <clg@kaod.org>, Nicholas Piggin <npiggin@gmail.com>, "Frédéric Barrat" <fbarrat@linux.ibm.com>, Daniel Henrique Barboza <danielhb413@gmail.com>, David Gibson <david@gibson.dropbear.id.au>, Harsh Prateek Bora <harshpb@linux.ibm.com>, Cleber Rosa <crosa@redhat.com>, "Philippe Mathieu-Daudé" <philmd@linaro.org>, Wainer dos Santos Moschetta <wainersm@redhat.com>, Beraldo Leal <bleal@redhat.com>
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
[RFC PATCH 00/11] ppc: avocado test additions and new defaults
Posted by Nicholas Piggin 7 months, 1 week ago
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

-- 
2.42.0
Re: [RFC PATCH 00/11] ppc: avocado test additions and new defaults
Posted by Philippe Mathieu-Daudé 7 months, 1 week ago
On 10/10/23 09:52, Nicholas Piggin wrote:
> 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).

IANAL but I don't see license infringement, so personally I'm in
favor of these tests.

> Thanks,
> Nick