Commit 7729225f authored by GangCao's avatar GangCao Committed by Changpeng Liu
Browse files

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: default avatarGangCao <gang.cao@intel.com>
Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/457453


Tested-by: default avatarSPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: default avatarDarek Stojaczyk <dariusz.stojaczyk@intel.com>
Reviewed-by: default avatarChangpeng Liu <changpeng.liu@intel.com>
parent fadcb08d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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
+1 −1
Original line number Diff line number Diff line
@@ -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

+2 −2
Original line number Diff line number Diff line
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"
+1 −1
Original line number Diff line number Diff line
@@ -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