diff options
author | Fabiano Rosas <farosas@suse.de> | 2024-09-05 15:54:45 -0300 |
---|---|---|
committer | Peter Xu <peterx@redhat.com> | 2024-09-09 10:55:39 -0400 |
commit | 58073366da6bc8881b616c5fdad385d1d242e7a7 (patch) | |
tree | f1a4c79372d0a87eb52a2515a8eae2d5a0b72ed1 | |
parent | b84f06c2bee727b3870b4eeccbe3a45c5aea14c1 (diff) | |
download | qemu-58073366da6bc8881b616c5fdad385d1d242e7a7.zip qemu-58073366da6bc8881b616c5fdad385d1d242e7a7.tar.gz qemu-58073366da6bc8881b616c5fdad385d1d242e7a7.tar.bz2 |
ci: migration: Don't run python tests in the compat job
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>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Link: https://lore.kernel.org/r/20240905185445.8179-1-farosas@suse.de
[peterx: Added a TODO to remove the line after 9.2 release, per thuth]
Signed-off-by: Peter Xu <peterx@redhat.com>
-rw-r--r-- | .gitlab-ci.d/buildtest.yml | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/.gitlab-ci.d/buildtest.yml b/.gitlab-ci.d/buildtest.yml index 1d2afae..cfc51be 100644 --- a/.gitlab-ci.d/buildtest.yml +++ b/.gitlab-ci.d/buildtest.yml @@ -212,6 +212,14 @@ 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. + # + # TODO: remove this line after 9.2 release + - unset PYTHON # old to new - QTEST_QEMU_BINARY_SRC=./qemu-system-${TARGET} QTEST_QEMU_BINARY=../build/qemu-system-${TARGET} ./tests/qtest/migration-test |