qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 0/4] migration & CI: Add a CI job for migration compat testing
@ 2024-01-05 18:04 Fabiano Rosas
  2024-01-05 18:04 ` [PATCH v3 1/4] tests/qtest: Add a helper to query the QEMU version Fabiano Rosas
                   ` (3 more replies)
  0 siblings, 4 replies; 29+ messages in thread
From: Fabiano Rosas @ 2024-01-05 18:04 UTC (permalink / raw)
  To: qemu-devel
  Cc: Daniel P . Berrangé, Peter Xu, Philippe Mathieu-Daudé,
	Thomas Huth

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.

changes since v2:
 - fixed version comparison once again

 - removed the 8.2 fixes. We don't need them anymore because we're now
   testing two 8.2 streams (8.2.0 vs. 8.2.50).

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

v2:
https://lore.kernel.org/r/20240104171857.20108-1-farosas@suse.de

v1:
https://lore.kernel.org/r/20231207155809.25673-1-farosas@suse.de

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

 tests/qtest/libqtest.h          | 10 ++++++
 tests/qtest/migration-helpers.h |  1 +
 tests/qtest/libqtest.c          | 24 +++++++++++++
 tests/qtest/migration-helpers.c | 48 +++++++++++++++++++++++++
 tests/qtest/migration-test.c    | 63 +++++++++++++++++++++++++++++----
 .gitlab-ci.d/buildtest.yml      | 53 +++++++++++++++++++++++++++
 6 files changed, 192 insertions(+), 7 deletions(-)

-- 
2.35.3



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

end of thread, other threads:[~2024-01-15 23:29 UTC | newest]

Thread overview: 29+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-01-05 18:04 [PATCH v3 0/4] migration & CI: Add a CI job for migration compat testing Fabiano Rosas
2024-01-05 18:04 ` [PATCH v3 1/4] tests/qtest: Add a helper to query the QEMU version Fabiano Rosas
2024-01-08  8:13   ` Peter Xu
2024-01-05 18:04 ` [PATCH v3 2/4] tests/qtest/migration: Add infrastructure to skip tests on older QEMUs Fabiano Rosas
2024-01-08  8:13   ` Peter Xu
2024-01-08  8:39     ` Peter Xu
2024-01-08 14:49     ` Fabiano Rosas
2024-01-09  2:26       ` Peter Xu
2024-01-09 16:50         ` Fabiano Rosas
2024-01-08 14:57   ` Daniel P. Berrangé
2024-01-05 18:04 ` [PATCH v3 3/4] ci: Add a migration compatibility test job Fabiano Rosas
2024-01-09  7:14   ` Peter Xu
2024-01-09 13:00     ` Fabiano Rosas
2024-01-10  3:58       ` Peter Xu
2024-01-09 18:15   ` Cédric Le Goater
2024-01-09 20:58     ` Fabiano Rosas
2024-01-10 10:30       ` Thomas Huth
2024-01-05 18:04 ` [PATCH v3 4/4] [NOT FOR MERGE] tests/qtest/migration: Adapt tests to use older QEMUs Fabiano Rosas
2024-01-08  8:15   ` Peter Xu
2024-01-08 15:37     ` Fabiano Rosas
2024-01-09  3:51       ` Peter Xu
2024-01-09 14:46         ` Fabiano Rosas
2024-01-10  4:08           ` Peter Xu
2024-01-10 14:42             ` Fabiano Rosas
2024-01-11  2:35               ` Peter Xu
2024-01-11 13:58                 ` Fabiano Rosas
2024-01-15  4:13                   ` Peter Xu
2024-01-15 13:45                     ` Fabiano Rosas
2024-01-15 23:28                       ` Peter Xu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).