X-Git-Url: https://gerrit.fd.io/r/gitweb?p=csit.git;a=blobdiff_plain;f=bootstrap-hc2vpp-integration-odl.sh;h=e4d751d8664980fec3b0c9a585576aacd40b4916;hp=e9208e97e8f4872f13bcb81d4bc2c754d5d197a0;hb=eff8394cc41612be330b19ba4e6c87a8068ad032;hpb=0ac66d491ae486ad5d553eecb5aa400ca1fbd9db diff --git a/bootstrap-hc2vpp-integration-odl.sh b/bootstrap-hc2vpp-integration-odl.sh index e9208e97e8..e4d751d866 100755 --- a/bootstrap-hc2vpp-integration-odl.sh +++ b/bootstrap-hc2vpp-integration-odl.sh @@ -27,8 +27,8 @@ VIRL_PKEY=priv_key VIRL_SERVER_STATUS_FILE="status" VIRL_SERVER_EXPECTED_STATUS="PRODUCTION" -JOB_ARCHIVE_ARTIFACTS=(log.html output.xml report.html honeycomb.log) -LOG_ARCHIVE_ARTIFACTS=(log.html output.xml report.html honeycomb.log) +JOB_ARCHIVE_ARTIFACTS=(log.html output.xml report.html honeycomb.log karaf.log) +LOG_ARCHIVE_ARTIFACTS=(log.html output.xml report.html honeycomb.log karaf.log) JOB_ARCHIVE_DIR="archive" LOG_ARCHIVE_DIR="$WORKSPACE/archives" mkdir -p ${JOB_ARCHIVE_DIR} @@ -233,12 +233,11 @@ if [ "$?" -ne "0" ]; then echo "However, the tests will start." fi -# TODO(CSIT-994): reenable NSH PYTHONPATH=`pwd` pybot -L TRACE -W 136\ -v TOPOLOGY_PATH:${SCRIPT_DIR}/topologies/enabled/topology.yaml \ --suite "tests.honeycomb.func" \ --include HC_FUNC \ - --exclude HC_NSHORHC_REST_ONLY \ + --exclude HC_REST_ONLY \ --noncritical EXPECTED_FAILING \ --variable HC_ODL:${ODL} \ tests/ @@ -249,6 +248,10 @@ RETURN_STATUS=$? scp ${SSH_OPTIONS} \ ${VIRL_USERNAME}@${VIRL_SERVER}:/scratch/${VIRL_SID}/honeycomb.log . || true +# Get ODL karaf log file from virl host +scp ${SSH_OPTIONS} \ + ${VIRL_USERNAME}@${VIRL_SERVER}:/scratch/${VIRL_SID}/karaf.log . || true + # Archive JOB artifacts in jenkins for i in ${JOB_ARCHIVE_ARTIFACTS[@]}; do cp $( readlink -f ${i} | tr '\n' ' ' ) ${JOB_ARCHIVE_DIR}/