Capturing logs even with vestenv failures at scale
Change-Id: I57b9670a599418ff1ff9125374acd985ba6fb14f
diff --git a/jjb/pipeline/voltha/master/voltha-scale-test.groovy b/jjb/pipeline/voltha/master/voltha-scale-test.groovy
index efe964c..34c6808 100644
--- a/jjb/pipeline/voltha/master/voltha-scale-test.groovy
+++ b/jjb/pipeline/voltha/master/voltha-scale-test.groovy
@@ -558,7 +558,7 @@
fi
cd voltha-system-tests
- source ./vst_venv/bin/activate
+ source ./vst_venv/bin/activate || true
python tests/scale/collect-result.py -r $WORKSPACE/RobotLogs/output.xml -p $WORKSPACE/plots > $WORKSPACE/execution-time.txt || true
cat $WORKSPACE/execution-time.txt
'''
@@ -735,7 +735,7 @@
sh '''
if [ ${withMonitoring} = true ] ; then
cd $WORKSPACE/voltha-system-tests
- source ./vst_venv/bin/activate
+ source ./vst_venv/bin/activate || true
sleep 60 # we have to wait for prometheus to collect all the information
python tests/scale/sizing.py -o $WORKSPACE/plots || true
fi