From: Peter Xu <peterx@redhat.com>
To: Thomas Huth <thuth@redhat.com>
Cc: "Fabiano Rosas" <farosas@suse.de>,
qemu-devel@nongnu.org, "Peter Maydell" <peter.maydell@linaro.org>,
"Daniel P . Berrangé" <berrange@redhat.com>,
"Alex Bennée" <alex.bennee@linaro.org>,
"Philippe Mathieu-Daudé" <philmd@linaro.org>,
"Wainer dos Santos Moschetta" <wainersm@redhat.com>,
"Beraldo Leal" <bleal@redhat.com>
Subject: Re: [PATCH] ci: migration: Don't run python tests in the compat job
Date: Thu, 5 Sep 2024 15:26:18 -0400 [thread overview]
Message-ID: <ZtoF2i1xnCr-FpiR@x1n> (raw)
In-Reply-To: <6c281205-e68e-452f-8320-5001bb3c5ebd@redhat.com>
On Thu, Sep 05, 2024 at 09:05:51PM +0200, Thomas Huth wrote:
> On 05/09/2024 20.54, Fabiano Rosas wrote:
> > The vmstate-checker-script test has a bug that makes it flaky. It was
> > also committed by mistake and will be removed.
> >
> > Since the migration-compat job takes the tests from the build-previous
> > job instead of the current HEAD, neither a fix or a removal of the
> > test will take effect for this release.
> >
> > Disable the faulty/undesirable test by taking advantage that it only
> > runs if the PYTHON environment variable is set. This also disables the
> > analyze-migration-script test, but this is fine because that test
> > doesn't have migration compatibility implications.
> >
> > Signed-off-by: Fabiano Rosas <farosas@suse.de>
> > ---
> > .gitlab-ci.d/buildtest.yml | 6 ++++++
> > 1 file changed, 6 insertions(+)
> >
> > diff --git a/.gitlab-ci.d/buildtest.yml b/.gitlab-ci.d/buildtest.yml
> > index aa32782405..e52456c371 100644
> > --- a/.gitlab-ci.d/buildtest.yml
> > +++ b/.gitlab-ci.d/buildtest.yml
> > @@ -212,6 +212,12 @@ build-previous-qemu:
> > # testing an old QEMU against new features/tests that it is not
> > # compatible with.
> > - cd build-previous
> > + # Don't allow python-based tests to run. The
> > + # vmstate-checker-script test has a race that causes it to fail
> > + # sometimes. It cannot be fixed it because this job runs the test
> > + # from the old QEMU version. The test will be removed on master,
> > + # but this job will only see the change in the next release.
>
> Maybe explicitly say that this can be removed once 9.2 has been released?
True. I can touch that up if I'm queuing this.
>
> > + - unset PYTHON
> > # old to new
> > - QTEST_QEMU_BINARY_SRC=./qemu-system-${TARGET}
> > QTEST_QEMU_BINARY=../build/qemu-system-${TARGET} ./tests/qtest/migration-test
>
> Reviewed-by: Thomas Huth <thuth@redhat.com>
>
--
Peter Xu
next prev parent reply other threads:[~2024-09-05 19:27 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-09-05 18:54 [PATCH] ci: migration: Don't run python tests in the compat job Fabiano Rosas
2024-09-05 19:05 ` Thomas Huth
2024-09-05 19:26 ` Peter Xu [this message]
2024-09-05 19:21 ` Peter Xu
2024-09-05 19:34 ` Fabiano Rosas
2024-09-05 19:54 ` Peter Maydell
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=ZtoF2i1xnCr-FpiR@x1n \
--to=peterx@redhat.com \
--cc=alex.bennee@linaro.org \
--cc=berrange@redhat.com \
--cc=bleal@redhat.com \
--cc=farosas@suse.de \
--cc=peter.maydell@linaro.org \
--cc=philmd@linaro.org \
--cc=qemu-devel@nongnu.org \
--cc=thuth@redhat.com \
--cc=wainersm@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).