cat /etc/hostname
cat /etc/hosts
+ARCHIVE_ARTIFACTS=(log.html output.xml report.html)
+
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
export PYTHONPATH=${SCRIPT_DIR}
wget "fast.dpdk.org/rel/${DPDK_PACKAGE}"
tar zcf ${TLDK_TAR_FILE} ${DPDK_PACKAGE} ./tldk/ \
- ./tests/tldk/tldk_testconfig/ ./tests/tldk/tldk_deplibs/
+ ./tests/tldk/tldk_testconfig/
cat ${VIRL_PKEY}
# Copy the files to VIRL host
--include vm_envAND3_node_single_link_topo \
--noncritical EXPECTED_FAILING \
tests/
+
+RETURN_STATUS=$(echo $?)
+
+# Archive artifacts
+mkdir archive
+for i in ${ARCHIVE_ARTIFACTS[@]}; do
+ cp $( readlink -f ${i} | tr '\n' ' ' ) archive/
+done
+
+exit ${RETURN_STATUS}