[VOL-3007] Adding timeout to new pipeline and remove some more jobs from the olt pipeline
Change-Id: Ia7179e70eecc736cc3d06dd0b54e537b1f9db305
diff --git a/jjb/pipeline/voltha-scale-test.groovy b/jjb/pipeline/voltha-scale-test.groovy
index 9f0f2b4..2e404f6 100644
--- a/jjb/pipeline/voltha-scale-test.groovy
+++ b/jjb/pipeline/voltha-scale-test.groovy
@@ -209,40 +209,42 @@
}
stage('Run Test') {
steps {
- sh '''
- ROBOT_PARAMS="-v olt:${olts} \
- -v pon:${pons} \
- -v onu:${onus} \
- -v workflow:${workflow} \
- -v withEapol:${withEapol} \
- -v withDhcp:${withDhcp} \
- -v withIgmp:${withIgmp} \
- --noncritical non-critical \
- -e teardown "
+ timeout(time: 11, unit: 'MINUTES') {
+ sh '''
+ ROBOT_PARAMS="-v olt:${olts} \
+ -v pon:${pons} \
+ -v onu:${onus} \
+ -v workflow:${workflow} \
+ -v withEapol:${withEapol} \
+ -v withDhcp:${withDhcp} \
+ -v withIgmp:${withIgmp} \
+ --noncritical non-critical \
+ -e teardown "
- if [ ${withEapol} = false ] ; then
- ROBOT_PARAMS+="-e authentication "
- fi
+ if [ ${withEapol} = false ] ; then
+ ROBOT_PARAMS+="-e authentication "
+ fi
- if [ ${withDhcp} = false ] ; then
- ROBOT_PARAMS+="-e dhcp "
- fi
+ if [ ${withDhcp} = false ] ; then
+ ROBOT_PARAMS+="-e dhcp "
+ fi
- if [ ${provisionSubscribers} = false ] ; then
- ROBOT_PARAMS+="-e provision -e flow-after "
- fi
+ if [ ${provisionSubscribers} = false ] ; then
+ ROBOT_PARAMS+="-e provision -e flow-after "
+ fi
- if [ ${withFlows} = false ] ; then
- ROBOT_PARAMS+="-i setup -i activation "
- fi
+ if [ ${withFlows} = false ] ; then
+ ROBOT_PARAMS+="-i setup -i activation "
+ fi
- mkdir -p $WORKSPACE/RobotLogs
- cd voltha-system-tests
- make vst_venv
- source ./vst_venv/bin/activate
- robot -d $WORKSPACE/RobotLogs \
- $ROBOT_PARAMS tests/scale/Voltha_Scale_Tests.robot
- '''
+ mkdir -p $WORKSPACE/RobotLogs
+ cd voltha-system-tests
+ make vst_venv
+ source ./vst_venv/bin/activate
+ robot -d $WORKSPACE/RobotLogs \
+ $ROBOT_PARAMS tests/scale/Voltha_Scale_Tests.robot
+ '''
+ }
}
}
stage('Collect results') {
diff --git a/jjb/voltha-scale.yaml b/jjb/voltha-scale.yaml
index dbb019b..62b6c15 100644
--- a/jjb/voltha-scale.yaml
+++ b/jjb/voltha-scale.yaml
@@ -16,26 +16,6 @@
expectedOnus: 200
BBSIMdelay: 200
- 'voltha-scale-measurements-periodic-legacy':
- name: 'voltha-scale-measurements-periodic-16-32-200ms'
- build-node: 'onf-pod1-head-node'
- time-trigger: "H H/4 * * *"
- onuPerPon: 32
- ponPorts: 16
- expectedOnus: 512
- BBSIMdelay: 200
- # multi-adapter
- extraHelmFlags: "--set replicas.adapter_open_onu=8"
- - 'voltha-scale-measurements-periodic-legacy':
- name: 'voltha-scale-measurements-periodic-16-64-200ms'
- build-node: 'onf-pod1-head-node'
- time-trigger: "H H/4 * * *"
- onuPerPon: 64
- ponPorts: 16
- expectedOnus: 1024
- BBSIMdelay: 200
- # multi-adapter
- extraHelmFlags: "--set replicas.adapter_open_onu=8"
- - 'voltha-scale-measurements-periodic-legacy':
name: 'voltha-scale-measurements-periodic-1-64-200ms'
build-node: 'onf-pod1-head-node'
time-trigger: "H H/4 * * *"
@@ -44,15 +24,6 @@
expectedOnus: 64
BBSIMdelay: 200
- 'voltha-scale-measurements-periodic-legacy':
- name: 'voltha-scale-measurements-periodic-2-OLTs-10-10-200ms'
- build-node: 'onf-pod1-head-node'
- time-trigger: "H H/4 * * *"
- onuPerPon: 10
- ponPorts: 10
- numOfBbsim: 2
- expectedOnus: 200
- BBSIMdelay: 200
- - 'voltha-scale-measurements-periodic-legacy':
name: 'voltha-scale-measurements-periodic-10-20-200ms-with-flows'
build-node: 'onf-pod1-head-node'
time-trigger: "H H/4 * * *"