Code Review
/
csit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
PAL: Process show runtime output 3
[csit.git]
/
bootstrap-nsh_sfc-functional-virl.sh
diff --git
a/bootstrap-nsh_sfc-functional-virl.sh
b/bootstrap-nsh_sfc-functional-virl.sh
index
35754bb
..
034ea9b
100755
(executable)
--- a/
bootstrap-nsh_sfc-functional-virl.sh
+++ b/
bootstrap-nsh_sfc-functional-virl.sh
@@
-17,6
+17,8
@@
set -x
cat /etc/hostname
cat /etc/hosts
cat /etc/hostname
cat /etc/hosts
+ARCHIVE_ARTIFACTS=(log.html output.xml report.html)
+
export DEBIAN_FRONTEND=noninteractive
sudo apt-get -y update
sudo apt-get -y install libpython2.7-dev python-virtualenv
export DEBIAN_FRONTEND=noninteractive
sudo apt-get -y update
sudo apt-get -y install libpython2.7-dev python-virtualenv
@@
-127,7
+129,7
@@
done
# Download VPP and NSH SFC packages from the current branch
echo Downloading packages...
# Download VPP and NSH SFC packages from the current branch
echo Downloading packages...
-bash ${SCRIPT_DIR}/resources/tools/download_nsh_sfc_pkgs.sh ${STREAM} ${OS}
+bash ${SCRIPT_DIR}/resources/tools/
scripts/
download_nsh_sfc_pkgs.sh ${STREAM} ${OS}
if [ "${OS}" == "centos7" ]; then
VPP_PKGS=(*.rpm)
if [ "${OS}" == "centos7" ]; then
VPP_PKGS=(*.rpm)
@@
-233,8
+235,14
@@
fi
PYTHONPATH=`pwd` pybot -L TRACE -W 136\
-v TOPOLOGY_PATH:${SCRIPT_DIR}/topologies/enabled/topology.yaml \
PYTHONPATH=`pwd` pybot -L TRACE -W 136\
-v TOPOLOGY_PATH:${SCRIPT_DIR}/topologies/enabled/topology.yaml \
- --suite "
nsh_sfc_tests
.func" \
+ --suite "
tests.nsh_sfc
.func" \
--include vm_envAND3_node_single_link_topo \
--exclude PERFTEST \
--exclude SKIP_PATCH \
--include vm_envAND3_node_single_link_topo \
--exclude PERFTEST \
--exclude SKIP_PATCH \
- nsh_sfc_tests/
+ tests/
+
+# Archive artifacts
+mkdir archive
+for i in ${ARCHIVE_ARTIFACTS[@]}; do
+ cp $( readlink -f ${i} | tr '\n' ' ' ) archive/
+done