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 tests: introduce a framework for testing migration performance 2016-07-22 13:23:39 +05:30
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 tests/migration: Fix LGPL information in the file headers 2020-11-15 17:04:40 +01:00
plot.py tests/migration: Fix LGPL information in the file headers 2020-11-15 17:04:40 +01:00
progress.py tests/migration: Fix LGPL information in the file headers 2020-11-15 17:04:40 +01:00
report.py tests/migration: Fix LGPL information in the file headers 2020-11-15 17:04:40 +01:00
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 tests/migration: Fix LGPL information in the file headers 2020-11-15 17:04:40 +01:00