diff options
author | Peter Mikus <pmikus@cisco.com> | 2017-05-12 08:38:51 +0200 |
---|---|---|
committer | Jan Gelety <jgelety@cisco.com> | 2017-05-17 12:18:42 +0000 |
commit | fc520fef19e7fb5821d8282bf57821fbe57e392e (patch) | |
tree | f7f1ea29a049bc6fed347020a79d6f34fcadf0be /bootstrap-vpp-verify-semiweekly.sh | |
parent | 2c4babd95c188b8b0038f6f39448cb469b9bc23a (diff) |
Fix start-testcase script on VIRL
- Fix pylint errors
- Add expiry option to set expiration of simulation
- Add more sanitization of exceptions
- Fix printing of debug messages to stderr
Change-Id: Iecc1fe042b6da104a164fb5701e665b6f3aa298b
Signed-off-by: Peter Mikus <pmikus@cisco.com>
Diffstat (limited to 'bootstrap-vpp-verify-semiweekly.sh')
-rw-r--r-- | bootstrap-vpp-verify-semiweekly.sh | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/bootstrap-vpp-verify-semiweekly.sh b/bootstrap-vpp-verify-semiweekly.sh index c3fc4e0ac6..a2c463c456 100644 --- a/bootstrap-vpp-verify-semiweekly.sh +++ b/bootstrap-vpp-verify-semiweekly.sh @@ -104,6 +104,7 @@ VIRL_USERNAME=jenkins-in VIRL_PKEY=priv_key VIRL_SERVER_STATUS_FILE="status" VIRL_SERVER_EXPECTED_STATUS="PRODUCTION" +VIRL_SESSION_EXPIRY="620" case "$DISTRO" in CENTOS ) @@ -222,7 +223,9 @@ function stop_virl_simulation { VIRL_SID=$(ssh ${SSH_OPTIONS} \ ${VIRL_USERNAME}@${VIRL_SERVER} \ - "start-testcase -c ${VIRL_TOPOLOGY} -r ${VIRL_RELEASE} ${VPP_PKGS_VIRL[@]}") + "start-testcase -vv --copy ${VIRL_TOPOLOGY} \ + --expiry ${VIRL_SESSION_EXPIRY} \ + --release ${VIRL_RELEASE} ${VPP_PKGS_VIRL[@]}") retval=$? if [ ${retval} -ne "0" ]; then echo "VIRL simulation start failed" |