qemu-e2k/tests/migration/guestperf
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
..
__init__.py
comparison.py tests/migration: introduce multifd into guestperf 2021-05-13 18:21:14 +01:00
engine.py tests/migration: fix unix socket migration 2021-07-14 14:15:52 +01:00
hardware.py
plot.py
progress.py
report.py
scenario.py tests/migration: introduce multifd into guestperf 2021-05-13 18:21:14 +01:00
shell.py tests/migration: introduce multifd into guestperf 2021-05-13 18:21:14 +01:00
timings.py