nightly: fix vhost migration issue

This is to solve below issue:

error 'Fio job '\''/migration-tc1.job'\'' does not exist'

Change-Id: I60dc6254d238878b03c5faf341b3201643286dfe
Signed-off-by: GangCao <gang.cao@intel.com>
Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/457453
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Darek Stojaczyk <dariusz.stojaczyk@intel.com>
Reviewed-by: Changpeng Liu <changpeng.liu@intel.com>
This commit is contained in:
GangCao 2019-06-10 17:13:44 -04:00 committed by Changpeng Liu
parent fadcb08db3
commit 7729225fa8
4 changed files with 5 additions and 5 deletions

View File

@ -54,7 +54,7 @@ function migration_tc1()
# Use 2 VMs:
# incoming VM - the one we want to migrate
# targe VM - the one which will accept migration
local job_file="$MIGRATION_DIR/migration-tc1.job"
local job_file="$testdir/migration-tc1.job"
# Run vhost
vhost_run

View File

@ -162,7 +162,7 @@ function migration_tc2()
# Use 2 VMs:
# incoming VM - the one we want to migrate
# targe VM - the one which will accept migration
local job_file="$MIGRATION_DIR/migration-tc2.job"
local job_file="$testdir/migration-tc2.job"
migration_tc2_configure_vhost

View File

@ -1,5 +1,5 @@
source $rootdir/test/nvmf/common.sh
source $MIGRATION_DIR/autotest.config
source $testdir/autotest.config
incoming_vm=1
target_vm=2
@ -7,7 +7,7 @@ incoming_vm_ctrlr=naa.VhostScsi0.$incoming_vm
target_vm_ctrlr=naa.VhostScsi0.$target_vm
share_dir=$TEST_DIR/share
spdk_repo_share_dir=$TEST_DIR/share_spdk
job_file=$MIGRATION_DIR/migration-tc3.job
job_file=$testdir/migration-tc3.job
if [ -z "$MGMT_TARGET_IP" ]; then
error "No IP address of target is given"

View File

@ -2,7 +2,7 @@
# as we are usin non-interactive session to connect to remote.
# Without -m it would be not possible to suspend the process.
set -m
source $MIGRATION_DIR/autotest.config
source $testdir/autotest.config
incoming_vm=1
target_vm=2