Do not fail the scale pipeline if we can't get the PCAP
Using development images in tt jobs
Change-Id: I72ca13920c5a79a67921b86403252f4887645ef7
diff --git a/jjb/pipeline/voltha-scale-test.groovy b/jjb/pipeline/voltha-scale-test.groovy
index 46b0074..ee908d3 100644
--- a/jjb/pipeline/voltha-scale-test.groovy
+++ b/jjb/pipeline/voltha-scale-test.groovy
@@ -401,11 +401,11 @@
fi
# copy the file
- export OF_AGENT=$(kubectl get pods -l app=ofagent | awk 'NR==2{print $1}')
- kubectl cp $OF_AGENT:out.pcap $LOG_FOLDER/ofagent.pcap
+ export OF_AGENT=$(kubectl get pods -l app=ofagent | awk 'NR==2{print $1}') || true
+ kubectl cp $OF_AGENT:out.pcap $LOG_FOLDER/ofagent.pcap || true
- export BBSIM=$(kubectl get pods -l app=bbsim | awk 'NR==2{print $1}')
- kubectl cp $BBSIM:out.pcap $LOG_FOLDER/bbsim.pcap
+ export BBSIM=$(kubectl get pods -l app=bbsim | awk 'NR==2{print $1}') || true
+ kubectl cp $BBSIM:out.pcap $LOG_FOLDER/bbsim.pcap || true
fi
cd voltha-system-tests
@@ -478,6 +478,7 @@
// get ONOS debug infos
sh '''
sshpass -e ssh -q -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -p 8101 karaf@127.0.0.1 ports > $LOG_FOLDER/onos-ports-list.txt || true
+ sshpass -e ssh -q -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -p 8101 karaf@127.0.0.1 hosts > $LOG_FOLDER/onos-hosts-list.txt || true
if [ ${withFlows} = true ] ; then
sshpass -e ssh -q -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -p 8101 karaf@127.0.0.1 volt-olts > $LOG_FOLDER/onos-olt-list.txt || true
diff --git a/jjb/voltha-scale.yaml b/jjb/voltha-scale.yaml
index 7104fbc..a40d7fe 100644
--- a/jjb/voltha-scale.yaml
+++ b/jjb/voltha-scale.yaml
@@ -97,6 +97,8 @@
atomixReplicas: 3
extraHelmFlags: '--set defaults.rw_core.timeout=30s '
withPcap: true
+ ofAgentImg: 'matteoscandolo/voltha-ofagent-go:flow-chunk'
+ onosImg: 'matteoscandolo/voltha-onos:dhcp'
logLevel: INFO
# jobs for DT with 512 ONUs with a 8 openonu-adapters and clustered ONOS.