ci: migration: Don't run python tests in the compat job
PATCH 1/1 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.
--- .gitlab-ci.d/buildtest.yml | 6 ++++++ 1 file changed, 6 insertions(+)
.gitlab-ci.d/buildtest.yml +6 -0
@@ -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. + - unset PYTHON # old to new - QTEST_QEMU_BINARY_SRC=./qemu-system-${TARGET} QTEST_QEMU_BINARY=../build/qemu-system-${TARGET} ./tests/qtest/migration-test
Signature · 1 line
2.35.3
Quoted 22 lines · Fabiano Rosas
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 <[email protected]>--- .gitlab-ci.d/buildtest.yml | 6 ++++++ 1 file changed, 6 insertions(+).gitlab-ci.d/buildtest.yml +0
-0
.gitlab-ci.d/buildtest.yml build-previous-qemu: · line 219
Quoted 8 lines
.gitlab-ci.d/buildtest.yml +5
-0@@ -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?
.gitlab-ci.d/buildtest.yml build-previous-qemu: · line 223
Quoted 4 lines
.gitlab-ci.d/buildtest.yml +1
-0+ - unset PYTHON # old to new - QTEST_QEMU_BINARY_SRC=./qemu-system-${TARGET} QTEST_QEMU_BINARY=../build/qemu-system-${TARGET} ./tests/qtest/migration-test
Quoted 18 lines · Thomas Huth
Quoted 17 lines · Fabiano Rosas
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 <[email protected]>--- .gitlab-ci.d/buildtest.yml | 6 ++++++ 1 file changed, 6 insertions(+)
Quoted 15 lines
.gitlab-ci.d/buildtest.yml build-previous-qemu: · line 219
Quoted 13 lines
.gitlab-ci.d/buildtest.yml +5
-0@@ -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.
Quoted 8 lines
.gitlab-ci.d/buildtest.yml build-previous-qemu: · line 223
Quoted 5 lines
.gitlab-ci.d/buildtest.yml +1
-0+ - unset PYTHON # old to new - QTEST_QEMU_BINARY_SRC=./qemu-system-${TARGET} QTEST_QEMU_BINARY=../build/qemu-system-${TARGET} ./tests/qtest/migration-testReviewed-by Thomas Huth <[email protected]>
Signature · 1 line
Peter Xu
Quoted 7 lines · Fabiano Rosas
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.
Quoted 6 lines
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 <[email protected]>
We should still merge your previous pull, right? Looks like that's the easiest indeed.
But still, just to double check with both you and Peter on the merge plan. If that's the case, I can send the 1st 9.2 pull earlier so we can have this in.
Thanks,
Signature · 1 line
Peter Xu
Quoted 13 lines · Peter Xu
Quoted 12 lines · Fabiano Rosas
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.
Quoted 6 lines
Quoted 1 line
Signed-off-by Fabiano Rosas <[email protected]>Reviewed-by Peter Xu <[email protected]>We should still merge your previous pull, right? Looks like that's the easiest indeed.
As I mentioned there, that pull is not to blame for this situation, so my recommendation is to merge. However, there is still the suppression of the deprecation messages that Peter asked about. I'll send a series for that in a moment, but it requires qtest changes and probably a lot of discussion.
Quoted 6 lines
But still, just to double check with both you and Peter on the merge plan. If that's the case, I can send the 1st 9.2 pull earlier so we can have this in.
Thanks,
Quoted 20 lines · Fabiano Rosas
Quoted 17 lines · Peter Xu
Quoted 7 lines · Fabiano Rosas
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.
Quoted 6 lines
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 <[email protected]>Reviewed-by Peter Xu <[email protected]>
Quoted 8 lines
Quoted 2 lines
We should still merge your previous pull, right? Looks like that's the easiest indeed.
As I mentioned there, that pull is not to blame for this situation, so my recommendation is to merge. However, there is still the suppression of the deprecation messages that Peter asked about. I'll send a series for that in a moment, but it requires qtest changes and probably a lot of discussion.
Looking at logs for other things I've merged, those deprecation messages are already upstream. So I'm OK with giving your pullreq as it stands another attempt at a merge.
thanks
-- PMM