mbox

[PULL,00/23] Python and Acceptance Tests

Message ID 20210713211923.3809241-1-crosa@redhat.com (mailing list archive)
State New, archived
Headers show

Pull-request

https://gitlab.com/cleber.gnu/qemu.git/ tags/python-next-pull-request

Message

Cleber Rosa July 13, 2021, 9:19 p.m. UTC
The following changes since commit 708f50199b59476ec4b45ebcdf171550086d6292:

  Merge remote-tracking branch 'remotes/ericb/tags/pull-nbd-2021-07-09-v2' into staging (2021-07-13 14:32:20 +0100)

are available in the Git repository at:

  https://gitlab.com/cleber.gnu/qemu.git/ tags/python-next-pull-request

for you to fetch changes up to c4e2d499c94fb7d6ea43d28e2613559861ef5d79:

  tests/acceptance/cpu_queries.py: use the proper logging channels (2021-07-13 16:27:43 -0400)

----------------------------------------------------------------
Python and Acceptance Tests

- New SMMUv3 and Intel IOMMU tests
- Respect "cpu" tags and reduce boiler plate code
- Improved logging of qemu execution output
- Other misc improvements

----------------------------------------------------------------

Cleber Rosa (9):
  Acceptance Tests: use the job work directory for created VMs
  Acceptance Tests: log information when creating QEMUMachine
  Acceptance Tests: distinguish between temp and logs dir
  Acceptance Tests: rename attribute holding the distro image checksum
  Acceptance Tests: move definition of distro checksums to the framework
  Acceptance Tests: support choosing specific distro and version
  Acceptance tests: do not try to reuse packages from the system
  tests/acceptance/linux_ssh_mips_malta.py: drop identical setUp
  tests/acceptance/cpu_queries.py: use the proper logging channels

Eric Auger (2):
  avocado_qemu: Add SMMUv3 tests
  avocado_qemu: Add Intel iommu tests

Philippe Mathieu-Daudé (2):
  tests/acceptance: Ignore binary data sent on serial console
  tests/acceptance: Tag NetBSD tests as 'os:netbsd'

Wainer dos Santos Moschetta (8):
  tests/acceptance: Automatic set -cpu to the test vm
  tests/acceptance: Fix mismatch on cpu tagged tests
  tests/acceptance: Let the framework handle "cpu:VALUE" tagged tests
  tests/acceptance: Tagging tests with "cpu:VALUE"
  python/qemu: Add args property to the QEMUMachine class
  tests/acceptance: Add set_vm_arg() to the Test class
  tests/acceptance: Handle cpu tag on x86_cpu_model_versions tests
  python: Configure tox to skip missing interpreters

Willian Rampazzo (2):
  avocado_qemu: Fix KNOWN_DISTROS map into the LinuxDistro class
  Acceptance Tests: Add default kernel params and pxeboot url to the
    KNOWN_DISTROS collection

 .gitlab-ci.d/static_checks.yml             |   1 +
 MAINTAINERS                                |   1 +
 docs/devel/testing.rst                     |  82 ++++++++++
 python/Makefile                            |   5 +-
 python/qemu/machine/machine.py             |  22 ++-
 python/setup.cfg                           |   1 +
 tests/Makefile.include                     |   2 +-
 tests/acceptance/avocado_qemu/__init__.py  | 179 +++++++++++++++++++--
 tests/acceptance/boot_linux.py             |  11 --
 tests/acceptance/boot_linux_console.py     |  14 +-
 tests/acceptance/boot_xen.py               |   1 -
 tests/acceptance/cpu_queries.py            |   4 +-
 tests/acceptance/intel_iommu.py            | 119 ++++++++++++++
 tests/acceptance/linux_ssh_mips_malta.py   |   7 +-
 tests/acceptance/machine_mips_malta.py     |   7 +-
 tests/acceptance/pc_cpu_hotplug_props.py   |   2 +-
 tests/acceptance/ppc_prep_40p.py           |   2 +
 tests/acceptance/replay_kernel.py          |  17 +-
 tests/acceptance/reverse_debugging.py      |   2 +-
 tests/acceptance/smmu.py                   | 137 ++++++++++++++++
 tests/acceptance/tcg_plugins.py            |  15 +-
 tests/acceptance/virtio-gpu.py             |   4 +-
 tests/acceptance/x86_cpu_model_versions.py |  40 ++++-
 23 files changed, 603 insertions(+), 72 deletions(-)
 create mode 100644 tests/acceptance/intel_iommu.py
 create mode 100644 tests/acceptance/smmu.py

Comments

Peter Maydell July 14, 2021, 7:33 p.m. UTC | #1
On Tue, 13 Jul 2021 at 22:19, Cleber Rosa <crosa@redhat.com> wrote:
>
> The following changes since commit 708f50199b59476ec4b45ebcdf171550086d6292:
>
>   Merge remote-tracking branch 'remotes/ericb/tags/pull-nbd-2021-07-09-v2' into staging (2021-07-13 14:32:20 +0100)
>
> are available in the Git repository at:
>
>   https://gitlab.com/cleber.gnu/qemu.git/ tags/python-next-pull-request
>
> for you to fetch changes up to c4e2d499c94fb7d6ea43d28e2613559861ef5d79:
>
>   tests/acceptance/cpu_queries.py: use the proper logging channels (2021-07-13 16:27:43 -0400)
>
> ----------------------------------------------------------------
> Python and Acceptance Tests
>
> - New SMMUv3 and Intel IOMMU tests
> - Respect "cpu" tags and reduce boiler plate code
> - Improved logging of qemu execution output
> - Other misc improvements
>


Applied, thanks.

Please update the changelog at https://wiki.qemu.org/ChangeLog/6.1
for any user-visible changes.

-- PMM