qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] migration: Reduce migration-test time for non-KVM archs
@ 2025-01-30 18:40 Fabiano Rosas
  2025-01-30 18:40 ` [PATCH 1/2] tests/qtest/migration: Add --full option Fabiano Rosas
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Fabiano Rosas @ 2025-01-30 18:40 UTC (permalink / raw)
  To: qemu-devel
  Cc: Peter Xu, Peter Maydell, Daniel P . Berrangé,
	Alex Bennée

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/20241113194630.3385-1-farosas@suse.de

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(-)

-- 
2.35.3



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2025-02-03 14:09 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-01-30 18:40 [PATCH 0/2] migration: Reduce migration-test time for non-KVM archs Fabiano Rosas
2025-01-30 18:40 ` [PATCH 1/2] tests/qtest/migration: Add --full option Fabiano Rosas
2025-01-30 18:40 ` [PATCH 2/2] tests/qtest/migration: Pick smoke tests Fabiano Rosas
2025-01-30 21:16 ` [PATCH 0/2] migration: Reduce migration-test time for non-KVM archs Peter Xu
2025-02-03 14:08 ` Alex Bennée

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).