On 05/01/2023 13.15, Claudio Imbrenda wrote:
From: Nico Boehr <nrb@xxxxxxxxxxxxx>
Add a test which modifies CMM page states while migration is in
progress.
This is added to the existing migration-cmm test, which gets a new
command line argument for the sequential and parallel variants.
Signed-off-by: Nico Boehr <nrb@xxxxxxxxxxxxx>
Reviewed-by: Claudio Imbrenda <imbrenda@xxxxxxxxxxxxx>
Link: https://lore.kernel.org/r/20221221090953.341247-2-nrb@xxxxxxxxxxxxx
Message-Id: <20221221090953.341247-2-nrb@xxxxxxxxxxxxx>
Signed-off-by: Claudio Imbrenda <imbrenda@xxxxxxxxxxxxx>
---
s390x/migration-cmm.c | 258 +++++++++++++++++++++++++++++++++++++-----
s390x/unittests.cfg | 15 ++-
2 files changed, 240 insertions(+), 33 deletions(-)
Hi!
While this works fine on my z15 LPAR, I'm getting a failure when running
this test on my z13 LPAR:
$ cat logs/migration-cmm-parallel.log
run_migration timeout -k 1s --foreground 90s /usr/local/bin/qemu-kvm
-nodefaults -nographic -machine s390-ccw-virtio,accel=kvm -chardev
stdio,id=con0 -device sclpconsole,chardev=con0 -kernel
s390x/migration-cmm.elf -smp 2 -append --parallel # -initrd /tmp/tmp.YKFTGTHnwt
SMP: Initializing, found 2 cpus
Now migrate the VM, then press a key to continue...
INFO: migration-cmm: parallel: Migration complete
INFO: migration-cmm: parallel: thread completed 65308 iterations
FAIL: migration-cmm: parallel: during migration: page state mismatch: first
page idx = 0, addr = 28000, expected_mask = 0x1, actual_mask = 0x2
FAIL: migration-cmm: parallel: after migration: page state mismatch: first
page idx = 0, addr = 28000, expected_mask = 0x1, actual_mask = 0x2
SUMMARY: 2 tests, 2 unexpected failures
EXIT: STATUS=3
Could you please fix that first?
Thanks,
Thomas