qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH v2 00/10] Add make check tests for Migration
@ 2017-10-26  7:52 Juan Quintela
  2017-10-26  7:52 ` [Qemu-devel] [PATCH v2 01/10] tests: rename postcopy-test to migration-test Juan Quintela
                   ` (9 more replies)
  0 siblings, 10 replies; 22+ messages in thread
From: Juan Quintela @ 2017-10-26  7:52 UTC (permalink / raw)
  To: qemu-devel; +Cc: dgilbert, lvivier, peterx


Hi

This is on top of my set_cache_size series.

big changes is this v2:
- to make review easier, I started renaming postcopy-test.c to migration-test.c
- Did cleanups/refactoring there
- Don't use global-qtest anymore
- check that the parameters that we sent got really set
- RFH: comrpress threads tests is not working for some weird reason.  Using the same code on command line works.
  still investigating why.

ToDoo:

- tcp: after discussions with dave, we ended in conclusion that we
  need to use the 0 port and let the system gives us a free one

  But .... that means that we need to be able to get that port back somehow.
  "info migrate" woring on destination side?

- compression threads.  There is some weird interaction with the test
  hardness and every migration thread get waiting in a different
  semaphore.  Investigating if it is a race/bug/whateverr

- deprecated commands: There was a suggestion to make
  migrate_set_parameter look at the parameter name and test old/new
  depending on something.  Not sure what to do here.

- testing commands: Is there a way to launch qemu and just sent
  qmp/hmp commands without having to really run anything else?

Please review,.

Later, Juan.

[v1]
- add test for precopy for unix/tcp
  exec and fd to came, don't know how to test rdma without hardware
- add tests using deprecated interfaces
- add test for xbzrle
  Note to myself, there is no way to set the cache size with migraton_set_parameters
- Add test for compress threads
  disabled on the series, right now it appears that compression is not working at all
- Move postcopy to use new results
  Idea is to move it on top of migration-test.c, but first I want some reviews on basic idea

Please, review.

Juan.



*** BLURB HERE ***

Juan Quintela (10):
  tests: rename postcopy-test to migration-test
  tests: Refactor setting of parameters/capabilities
  tests: Factorize out migrate_test_start/end
  tests: Don't abuse global_qtest
  tests: check that migration parameters are really assigned
  tests: Add migration precopy test
  tests: Add basic migration precopy tcp test
  tests: Add precopy test using deprecated commands
  tests: Add migration xbzrle test
  [RFH] tests: Add migration compress threads tests

 MAINTAINERS                                 |   1 +
 tests/Makefile.include                      |   6 +-
 tests/{postcopy-test.c => migration-test.c} | 492 ++++++++++++++++++++++------
 3 files changed, 394 insertions(+), 105 deletions(-)
 rename tests/{postcopy-test.c => migration-test.c} (59%)

-- 
2.13.6

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

end of thread, other threads:[~2017-10-30 13:28 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-10-26  7:52 [Qemu-devel] [PATCH v2 00/10] Add make check tests for Migration Juan Quintela
2017-10-26  7:52 ` [Qemu-devel] [PATCH v2 01/10] tests: rename postcopy-test to migration-test Juan Quintela
2017-10-27  1:50   ` Dr. David Alan Gilbert
2017-10-26  7:52 ` [Qemu-devel] [PATCH v2 02/10] tests: Refactor setting of parameters/capabilities Juan Quintela
2017-10-27  1:54   ` Dr. David Alan Gilbert
2017-10-26  7:52 ` [Qemu-devel] [PATCH v2 03/10] tests: Factorize out migrate_test_start/end Juan Quintela
2017-10-27  2:15   ` Dr. David Alan Gilbert
2017-10-26  7:52 ` [Qemu-devel] [PATCH v2 04/10] tests: Don't abuse global_qtest Juan Quintela
2017-10-27  2:37   ` Dr. David Alan Gilbert
2017-10-29  8:29     ` Juan Quintela
2017-10-26  7:52 ` [Qemu-devel] [PATCH v2 05/10] tests: check that migration parameters are really assigned Juan Quintela
2017-10-27  3:47   ` Dr. David Alan Gilbert
2017-10-29  8:30     ` Juan Quintela
2017-10-29 13:24   ` Peter Xu
2017-10-30 13:28     ` Juan Quintela
2017-10-26  7:52 ` [Qemu-devel] [PATCH v2 06/10] tests: Add migration precopy test Juan Quintela
2017-10-29 13:56   ` Peter Xu
2017-10-26  7:52 ` [Qemu-devel] [PATCH v2 07/10] tests: Add basic migration precopy tcp test Juan Quintela
2017-10-26  7:52 ` [Qemu-devel] [PATCH v2 08/10] tests: Add precopy test using deprecated commands Juan Quintela
2017-10-29 13:40   ` Peter Xu
2017-10-26  7:52 ` [Qemu-devel] [PATCH v2 09/10] tests: Add migration xbzrle test Juan Quintela
2017-10-26  7:52 ` [Qemu-devel] [PATCH v2 10/10] [RFH] tests: Add migration compress threads tests Juan Quintela

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