All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v1 0/5] migration & CI: Add a CI job for migration compat testing
@ 2023-12-07 15:58 Fabiano Rosas
  2023-12-07 15:58 ` [PATCH v1 1/5] tests/qtest: Add a helper to query the QEMU version Fabiano Rosas
                   ` (4 more replies)
  0 siblings, 5 replies; 11+ messages in thread
From: Fabiano Rosas @ 2023-12-07 15:58 UTC (permalink / raw)
  To: qemu-devel
  Cc: Daniel P . Berrangé, Juan Quintela, Peter Xu, Leonardo Bras,
	Philippe Mathieu-Daudé

Here's the second half of adding a migration compatibility test to CI.

We've already added support for running the full set of migration
tests with two QEMU binaries since commit 5050ad2a380
("tests/qtest/migration: Support more than one QEMU binary"), now
what's left is adding it to the CI.

I included patches that solve the problem of testing older QEMUs with
new test code. The old QEMU might lack features, bug fixes, etc. that
the tests expect to be present. After this series we can specify a
minimal QEMU version that a specific test supports.

I have NOT solved the issue of a QEMU command line change breaking
older QEMUs because that is outside of the migration realm an we're
about to release 8.2 anyway, so let's kick that problem to the
future. Hopefully it won't happen again soon.

Let me know what you think.

CI run: https://gitlab.com/farosas/qemu/-/pipelines/1098975378

Fabiano Rosas (5):
  tests/qtest: Add a helper to query the QEMU version
  tests/qtest/migration: Add infrastructure to skip tests on older QEMUs
  tests/qtest/migration: Adapt tests to use older QEMUs
  ci: Add a migration compatibility test job
  [NOT FOR MERGE] compat hack until 8.2 is out

 .gitlab-ci.d/buildtest.yml      | 43 +++++++++++++++++++++++
 tests/qtest/libqtest.c          | 25 ++++++++++++-
 tests/qtest/libqtest.h          | 10 ++++++
 tests/qtest/migration-helpers.c | 11 ++++++
 tests/qtest/migration-helpers.h |  1 +
 tests/qtest/migration-test.c    | 62 +++++++++++++++++++++++++++++----
 6 files changed, 144 insertions(+), 8 deletions(-)

-- 
2.35.3



^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2023-12-19 17:03 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-12-07 15:58 [PATCH v1 0/5] migration & CI: Add a CI job for migration compat testing Fabiano Rosas
2023-12-07 15:58 ` [PATCH v1 1/5] tests/qtest: Add a helper to query the QEMU version Fabiano Rosas
2023-12-19 14:32   ` Thomas Huth
2023-12-19 16:59     ` Fabiano Rosas
2023-12-07 15:58 ` [PATCH v1 2/5] tests/qtest/migration: Add infrastructure to skip tests on older QEMUs Fabiano Rosas
2023-12-08 15:02   ` Fabiano Rosas
2023-12-19 14:36     ` Thomas Huth
2023-12-19 17:02       ` Fabiano Rosas
2023-12-07 15:58 ` [PATCH v1 3/5] tests/qtest/migration: Adapt tests to use " Fabiano Rosas
2023-12-07 15:58 ` [PATCH v1 4/5] ci: Add a migration compatibility test job Fabiano Rosas
2023-12-07 15:58 ` [PATCH v1 5/5] [NOT FOR MERGE] compat hack until 8.2 is out Fabiano Rosas

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.