Skip to content

migration: Reduce migration-test time for non-KVM archs

Fabiano Rosas qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2tests/qtest/migration: Add --full optiontests/qtest/meson.build tests/qtest/migration-test.c tests/qtest/migration/compression-tests.c +7 more+65 -10 replies
2/2tests/qtest/migration: Pick smoke teststests/qtest/migration-test.c tests/qtest/migration/compression-tests.c tests/qtest/migration/cpr-tests.c +5 more+67 -310 replies

Reviews trailers per patch

None of the 2 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchPeter Xu
SeriesR-b
1/2
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/2] migration: Reduce migration-test time for non-KVM archs

Hi, continuing the work from the previous[1] series to reduce the time migration-test takes during make check, here's a couple of patches to create a smaller set of tests.

The change is that from now on, ./migration-test will only run a limited set of tests (~12), while the full set (64) requires that the --full flag is passed on. Only those calling the test manually need to care about this new flag.

For everyone else, qtest/meson.build will automatically add --full in case KVM is available for the target architecture. All other architectures run the small set.

The choice of tests for the small set has been arbitrarily made in patch 2. I expect that once we close in on a list of tests, new tests will only be added under the --full flag and the small set will be kept stable.

An unwritten but maybe obvious rule is that slow or flaky tests should not be added to the small set and once detected should be moved to the full set.

More details in patch 1.

Thanks!

CI run: https://gitlab.com/farosas/qemu/-/pipelines/1647478788
1- https://lore.kernel.org/r/[email protected]

Fabiano Rosas (2):
tests/qtest/migration: Add --full option
tests/qtest/migration: Pick smoke tests

 tests/qtest/meson.build                   | 11 +++++++++-
 tests/qtest/migration-test.c              | 25 +++++++++++++++++++++++
 tests/qtest/migration/compression-tests.c | 15 +++++++++++---
 tests/qtest/migration/cpr-tests.c         |  6 ++++++
 tests/qtest/migration/file-tests.c        | 21 +++++++++++++------
 tests/qtest/migration/framework.h         |  1 +
 tests/qtest/migration/misc-tests.c        | 16 ++++++++++++---
 tests/qtest/migration/postcopy-tests.c    | 14 ++++++++++++-
 tests/qtest/migration/precopy-tests.c     | 23 ++++++++++++++-------
 tests/qtest/migration/tls-tests.c         | 14 +++++++++++--
 10 files changed, 123 insertions(+), 23 deletions(-)
Signature · 1 line
2.35.3