Skip to content

migration-test: Plumbing

Fabiano Rosas qemu-devel 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest5 patches 5 repliesIn review
  2. v10 of 8 patches 1 replySuperseded

v1 from the cover letter

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5tests/qtest/migration: Fix leak of migration tests datatests/qtest/migration/framework.c tests/qtest/migration/migration-util.c tests/qtest/migration/migration-util.h+17 -60 replies
2/5io: Fix TLS bye task leakio/channel-tls.c+3 -10 replies
3/5tests/qtest/migration: Fix leak in CPR exec testtests/qtest/migration/cpr-tests.c+3 -20 replies
4/5migration/multifd: Fix leaks of TLS error objectsmigration/multifd.c+12 -150 replies
5/5tests/qtest/migration: Force exit-on-error=falsemigration/migration.c tests/qtest/dbus-vmstate-test.c tests/qtest/migration/framework.c +5 more+30 -234 replies

Reviews trailers per patch

All 5 patches have a Reviewed-by or Acked-by.

PatchPeter XuPrasad PanditDaniel P. Berrangé
1/5R-b R-b
2/5R-b A-b
3/5R-b R-b
4/5R-b R-b
5/5R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v2 thread

Cover letter [PATCH v2 0/5] migration-test: Plumbing

Fix leaks. A couple of normal ones and a few that happen due to a test expecting failure in the destination side, but 'exit-on-error' is set so the coroutine just exits the entire process while a few resources are still allocated, but outside of the scope of the migration code.

For v2 I set exit-on-error unconditionally in migration-test. The QEMU process should never return 1 anymore.

I also removed the cleanup patches because they are no longer strictly necessary, I'll add them for the next release cyle to keep the changes during the freeze restricted to what is necessary to fix the bugs.

CI run: https://gitlab.com/farosas/qemu/-/pipelines/2379240537
--enable-asan --enable-ubsan build is clean for x86_64 migration-test --full

v1:
cover: https://lore.kernel.org/r/[email protected]
series: https://lore.kernel.org/r/[email protected]

Fabiano Rosas (5):
tests/qtest/migration: Fix leak of migration tests data
io: Fix TLS bye task leak tests/qtest/migration: Fix leak in CPR exec test migration/multifd: Fix leaks of TLS error objects tests/qtest/migration: Force exit-on-error=false

 io/channel-tls.c                       |  4 +++-
 migration/migration.c                  |  5 +++++
 migration/multifd.c                    | 27 ++++++++++++--------------
 tests/qtest/dbus-vmstate-test.c        |  5 +++--
 tests/qtest/migration/cpr-tests.c      |  5 +++--
 tests/qtest/migration/framework.c      |  7 +++----
 tests/qtest/migration/framework.h      |  2 --
 tests/qtest/migration/migration-qmp.c  |  6 ++++++
 tests/qtest/migration/migration-util.c | 19 +++++++++++++-----
 tests/qtest/migration/migration-util.h |  2 +-
 tests/qtest/migration/misc-tests.c     |  4 ++--
 tests/qtest/migration/precopy-tests.c  | 12 +++++-------
 tests/qtest/migration/tls-tests.c      | 14 +++++++------
 13 files changed, 65 insertions(+), 47 deletions(-)
Signature · 1 line
2.51.0