Collecting scale result before trying to delete the device
Change-Id: I9805340e6bf66a93b1753d76c502481cbe1977b5
diff --git a/jjb/pipeline/voltha/master/voltha-scale-test.groovy b/jjb/pipeline/voltha/master/voltha-scale-test.groovy
index 13ae4dc..ab9514b 100644
--- a/jjb/pipeline/voltha/master/voltha-scale-test.groovy
+++ b/jjb/pipeline/voltha/master/voltha-scale-test.groovy
@@ -488,6 +488,9 @@
source ./vst_venv/bin/activate
robot -d $WORKSPACE/RobotLogs \
$ROBOT_PARAMS tests/scale/Voltha_Scale_Tests.robot
+
+ python tests/scale/collect-result.py -r $WORKSPACE/RobotLogs/output.xml -p $WORKSPACE/plots > $WORKSPACE/execution-time.txt || true
+ cat $WORKSPACE/execution-time.txt
'''
}
}
@@ -642,12 +645,6 @@
kubectl cp $INSTANCE:out.pcap $LOG_FOLDER/$INSTANCE.pcap || true
done
fi
-
- cd voltha-system-tests
- make vst_venv
- 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
'''
sh '''
if [ ${withProfiling} = true ] ; then