qemu/tests/migration
Hyman 927fae0eb9 tests/migration: fix unix socket migration
The test aborts and error message as the following be throwed:
"No such file or directory: '/var/tmp/qemu-migrate-{pid}.migrate",
when the unix socket migration test nearly done. The reason is
qemu removes the unix socket file after migration before
guestperf.py script do it. So pre-check if the socket file exists
when removing it to prevent the guestperf program from aborting.

See also commit f9cc00346d ("tests/migration: fix unix socket batch
migration").

Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Wainer dos Santos Moschetta <wainersm@redhat.com>
Signed-off-by: Hyman <huangy81@chinatelecom.cn>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
2021-07-14 14:15:52 +01:00
..
aarch64
guestperf tests/migration: fix unix socket migration 2021-07-14 14:15:52 +01:00
i386
s390x
guestperf-batch.py tests/migration: Fix LGPL information in the file headers 2020-11-15 17:04:40 +01:00
guestperf-plot.py tests/migration: Fix LGPL information in the file headers 2020-11-15 17:04:40 +01:00
guestperf.py tests/migration: Fix LGPL information in the file headers 2020-11-15 17:04:40 +01:00
initrd-stress.sh meson: convert migration/initrd-stress 2020-09-08 11:43:16 +02:00
Makefile migration-test: Only generate a single target architecture 2018-10-11 19:58:26 +01:00
meson.build meson: convert migration/initrd-stress 2020-09-08 11:43:16 +02:00
migration-test.h Clean up a few header guard symbols 2019-06-12 13:20:20 +02:00
stress.c tests: Rename PAGE_SIZE definitions 2021-01-20 10:46:54 +01:00