Skip to content

Tests: introduce custom jobs

Cleber Rosa qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest8 patches 28 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8Acceptance Jobs: preserve the cache for pip on GitLab CI.gitlab-ci.yml+1 -02 replies
2/8Acceptance tests: do not try to reuse packages from the systemtests/Makefile.include+1 -13 replies
3/8tests/acceptance/linux_ssh_mips_malta.py: drop identical setUptests/acceptance/linux_ssh_mips_malta.py+2 -56 replies
4/8tests/acceptance/migration.py: cancel test if migration is not supportedtests/acceptance/migration.py+5 -14 replies
5/8tests/acceptance/cpu_queries.py: use the proper logging channelstests/acceptance/cpu_queries.py+1 -35 replies
6/8Acceptance tests: prevent shutdown on non-specific target teststests/acceptance/migration.py tests/acceptance/version.py+3 -32 replies
7/8tests/acceptance/migration.py: cancel test on s390xtests/acceptance/migration.py+6 -02 replies
8/8Tests: add custom test jobsconfigure tests/Makefile.include tests/jobs/acceptance-all-targets.py +4 more+188 -12 replies

Reviews trailers per patch

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

PatchPhilippe Mathieu-DaudéWillian RampazzoWainer dos Santos Moschetta
1/8
2/8R-b R-b R-b
3/8R-b R-b
4/8R-b
5/8R-b R-b R-b
6/8R-b
7/8R-b R-b
8/8

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

Read the v1 thread

Cover letter [PATCH 0/8] Tests: introduce custom jobs

Different users (or even companies) have different interests, and may want to run a reduced set of tests during development, or a larger set of tests during QE.

To cover these use cases, this introduces some example (but functional) jobs.

It's expected that some common jobs will come up from common requirements for different users (and maybe be added to a common location such as tests/jobs), and that very specific jobs will be added to directories specific to certain groups, say "contrib/com.redhat/jobs" or the like.

This series does *not* add new jobs to GitLab CI pipeline, but this is expected to be done later on custom runners. That is, custom runners could be used for custom jobs. Anyway, a GitLab CI pipeline can be seen here:

https://gitlab.com/cleber.gnu/qemu/-/pipelines/287210066

This is based on the Avocado version bump patch:

https://lists.gnu.org/archive/html/qemu-devel/2021-04/msg02391.html

Based-On: <[email protected]>

Cleber Rosa (8):
Acceptance Jobs: preserve the cache for pip on GitLab CI Acceptance tests: do not try to reuse packages from the system tests/acceptance/linux_ssh_mips_malta.py: drop identical setUp tests/acceptance/migration.py: cancel test if migration is not
supported
tests/acceptance/cpu_queries.py: use the proper logging channels Acceptance tests: prevent shutdown on non-specific target tests tests/acceptance/migration.py: cancel test on s390x
Tests: add custom test jobs

 .gitlab-ci.yml                           |  1 +
 configure                                |  2 +-
 tests/Makefile.include                   | 10 +++-
 tests/acceptance/cpu_queries.py          |  4 +-
 tests/acceptance/linux_ssh_mips_malta.py |  7 +--
 tests/acceptance/migration.py            | 16 ++++--
 tests/acceptance/version.py              |  2 +-
 tests/jobs/acceptance-all-targets.py     | 67 ++++++++++++++++++++++++
 tests/jobs/acceptance-kvm-only.py        | 35 +++++++++++++
 tests/jobs/qtest-unit-acceptance.py      | 31 +++++++++++
 tests/jobs/qtest-unit.py                 | 24 +++++++++
 tests/jobs/utils.py                      | 22 ++++++++
 12 files changed, 207 insertions(+), 14 deletions(-)
 create mode 100644 tests/jobs/acceptance-all-targets.py
 create mode 100644 tests/jobs/acceptance-kvm-only.py
 create mode 100644 tests/jobs/qtest-unit-acceptance.py
 create mode 100644 tests/jobs/qtest-unit.py
 create mode 100644 tests/jobs/utils.py
Signature · 1 line
2.25.4