Closed cliping closed 1 month ago
Before: Failed to run: ssh root@10.73.212.20 -o StrictHostKeyChecking=no 'mount -t nfs 10.73.212.26:/var/lib/avocado/data/avocado-vt/images /var/lib/libvirt/migrate -o rw'
After: (1/1) type_specific.io-github-autotest-libvirt.virsh.migrate_options_shared.positive_test.set_get_maxdowntime_during_migrate.with_postcopy: PASS (146.20 s)
When the directory is not exist, process.getoutput may return empty, which will cause the directory creation step to be skipped. So update code.