From: Fabiano Rosas <farosas@suse.de>
To: qemu-devel@nongnu.org
Cc: "Daniel P . Berrangé" <berrange@redhat.com>,
"Peter Xu" <peterx@redhat.com>,
"Philippe Mathieu-Daudé" <philmd@linaro.org>,
"Thomas Huth" <thuth@redhat.com>
Subject: [PATCH v2 0/4] migration & CI: Add a CI job for migration compat testing
Date: Thu, 4 Jan 2024 14:18:53 -0300 [thread overview]
Message-ID: <20240104171857.20108-1-farosas@suse.de> (raw)
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 v1:
- fixed version comparison to be useful for the development tree
- s/who/qts/g
CI run: https://gitlab.com/farosas/qemu/-/pipelines/1126977964
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
tests/qtest/migration: Adapt tests to use older QEMUs
ci: Add a migration compatibility test job
.gitlab-ci.d/buildtest.yml | 53 +++++++++++++++++++++++++++
tests/qtest/libqtest.c | 24 +++++++++++++
tests/qtest/libqtest.h | 10 ++++++
tests/qtest/migration-helpers.c | 11 ++++++
tests/qtest/migration-helpers.h | 1 +
tests/qtest/migration-test.c | 63 +++++++++++++++++++++++++++++----
6 files changed, 155 insertions(+), 7 deletions(-)
--
2.35.3
next reply other threads:[~2024-01-04 17:19 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-01-04 17:18 Fabiano Rosas [this message]
2024-01-04 17:18 ` [PATCH v2 1/4] tests/qtest: Add a helper to query the QEMU version Fabiano Rosas
2024-01-04 17:18 ` [PATCH v2 2/4] tests/qtest/migration: Add infrastructure to skip tests on older QEMUs Fabiano Rosas
2024-01-04 17:26 ` Daniel P. Berrangé
2024-01-04 17:53 ` Fabiano Rosas
2024-01-04 17:18 ` [PATCH v2 3/4] tests/qtest/migration: Adapt tests to use " Fabiano Rosas
2024-01-04 17:18 ` [PATCH v2 4/4] ci: Add a migration compatibility test job Fabiano Rosas
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240104171857.20108-1-farosas@suse.de \
--to=farosas@suse.de \
--cc=berrange@redhat.com \
--cc=peterx@redhat.com \
--cc=philmd@linaro.org \
--cc=qemu-devel@nongnu.org \
--cc=thuth@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).