Merge "Add quiet period to downstream omec-deploy-staging jobs"
diff --git a/jjb/pipeline/voltha-scale-measurements.groovy b/jjb/pipeline/voltha-scale-measurements.groovy
index 7df33b1..14cf78c 100644
--- a/jjb/pipeline/voltha-scale-measurements.groovy
+++ b/jjb/pipeline/voltha-scale-measurements.groovy
@@ -88,7 +88,7 @@
voltctl adapter list | grep brcm_openomci_onu | wc -l
"""
- return openolt_res.toInteger() == 1 && openonu_res.toInteger() == 1
+ return openolt_res.toInteger() >= 1 && openonu_res.toInteger() >= 1
}
}
}
@@ -217,11 +217,12 @@
curl -s -X GET -G http://127.0.0.1:31301/api/v1/query --data-urlencode 'query=avg(rate(container_cpu_usage_seconds_total[10m])*100) by (pod_name)' | jq . > cpu-usage.json
'''
sh '''
- kubectl logs deployment/adapter-open-olt > open-olt-logs.txt
- kubectl logs deployment/adapter-open-onu > open-onu-logs.txt
- kubectl logs deployment/voltha-rw-core > voltha-rw-core-logs.txt
- kubectl logs deployment/voltha-ofagent > voltha-ofagent-logs.txt
- kubectl logs deployment/bbsim > bbsim-logs.txt
+ kail -l app=adapter-open-onu | tee openonu.logs
+ kubectl logs -l app=adapter-open-olt > open-olt-logs.txt
+ kubectl logs -l app=adapter-open-onu > open-onu-logs.txt
+ kubectl logs -l app=rw-core > voltha-rw-core-logs.txt
+ kubectl logs -l app=ofagent > voltha-ofagent-logs.txt
+ kubectl logs -l app=bbsim > bbsim-logs.txt
'''
sh '''
rm -rf BBSM-12345123451234512345-00000000000001-v1.json device-list.json onus.txt ports.txt temp.txt
diff --git a/jjb/voltha-scale.yaml b/jjb/voltha-scale.yaml
index 589cc40..8e0eb1c 100644
--- a/jjb/voltha-scale.yaml
+++ b/jjb/voltha-scale.yaml
@@ -81,12 +81,11 @@
expectedOnus: 512
BBSIMdelay: 200
# multi-adapter-tmp-changes
- volthaImg: "matteoscandolo/voltha-rw-core:partition"
- ofAgentImg: "voltha/voltha-ofagent-go:master"
- openoltAdapterImg: "matteoscandolo/voltha-openolt-adapter:partition"
- openonuAdapterImg: "matteoscandolo/voltha-openonu-adapter:partition"
+ volthaImg: "matteoscandolo/voltha-rw-core:replica"
+ openoltAdapterImg: "matteoscandolo/voltha-openolt-adapter:replica"
+ openonuAdapterImg: "matteoscandolo/voltha-openonu-adapter:replica"
openonuAdapterChart: "/home/cord/voltha-helm-charts/voltha-adapter-openonu"
- extraHelmFlags: "--set use_ofagent_go=true -f /home/cord/partition-values.yaml"
+ extraHelmFlags: "--set replicas.adapter_open_onu=8"
- 'voltha-scale-measurements-periodic':
name: 'voltha-scale-measurements-periodic-16-64-200ms'
build-node: 'onf-pod1-head-node'
@@ -96,13 +95,11 @@
expectedOnus: 1024
BBSIMdelay: 200
# multi-adapter-tmp-changes
- volthaImg: "matteoscandolo/voltha-rw-core:partition"
- ofAgentImg: "voltha/voltha-ofagent-go:master"
- openoltAdapterImg: "matteoscandolo/voltha-openolt-adapter:partition"
- openonuAdapterImg: "matteoscandolo/voltha-openonu-adapter:partition"
+ volthaImg: "matteoscandolo/voltha-rw-core:replica"
+ openoltAdapterImg: "matteoscandolo/voltha-openolt-adapter:replica"
+ openonuAdapterImg: "matteoscandolo/voltha-openonu-adapter:replica"
openonuAdapterChart: "/home/cord/voltha-helm-charts/voltha-adapter-openonu"
- extraHelmFlags: "--set use_ofagent_go=true -f /home/cord/partition-values.yaml"
-
+ extraHelmFlags: "--set replicas.adapter_open_onu=8"
- 'voltha-scale-measurements-periodic':
name: 'voltha-scale-measurements-periodic-4-64-200ms'
build-node: 'onf-pod1-head-node'
@@ -119,22 +116,7 @@
ponPorts: 4
expectedOnus: 256
BBSIMdelay: 1000
- - 'voltha-scale-measurements-periodic':
- name: 'voltha-scale-measurements-periodic-4-128-200ms'
- build-node: 'onf-pod1-head-node'
- time-trigger: "H H/4 * * *"
- onuPerPon: 128
- ponPorts: 4
- expectedOnus: 512
- BBSIMdelay: 200
- - 'voltha-scale-measurements-periodic':
- name: 'voltha-scale-measurements-periodic-4-128-1000ms'
- build-node: 'onf-pod1-head-node'
- time-trigger: "H H/4 * * *"
- onuPerPon: 128
- ponPorts: 4
- expectedOnus: 512
- BBSIMdelay: 1000
+
- 'voltha-scale-measurements-periodic':
name: 'voltha-scale-measurements-periodic-1-128-200ms'
build-node: 'onf-pod1-head-node'