blob: 2e404f68bbe54393158fcb8c6daf70935fbfe86b [file] [log] [blame]
Matteo Scandolofbcbdb82020-05-06 15:41:32 -07001// Copyright 2019-present Open Networking Foundation
2//
3// Licensed under the Apache License, Version 2.0 (the "License");
4// you may not use this file except in compliance with the License.
5// You may obtain a copy of the License at
6//
7// http://www.apache.org/licenses/LICENSE-2.0
8//
9// Unless required by applicable law or agreed to in writing, software
10// distributed under the License is distributed on an "AS IS" BASIS,
11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12// See the License for the specific language governing permissions and
13// limitations under the License.
14
15// deploy VOLTHA using kind-voltha and performs a scale test
16
17pipeline {
18
19 /* no label, executor is determined by JJB */
20 agent {
21 label "${params.buildNode}"
22 }
23 options {
24 timeout(time: 30, unit: 'MINUTES')
25 }
26 environment {
27 KUBECONFIG="$HOME/.kube/config"
28 VOLTCONFIG="$HOME/.volt/config"
Matteo Scandolob70b3e02020-05-07 11:50:26 -070029 SSHPASS="karaf"
Matteo Scandolofbcbdb82020-05-06 15:41:32 -070030 PATH="$WORKSPACE/kind-voltha/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
31 TYPE="minimal"
32 FANCY=0
33 WITH_SIM_ADAPTERS="no"
34 WITH_RADIUS="yes"
35 WITH_BBSIM="yes"
36 LEGACY_BBSIM_INDEX="no"
37 DEPLOY_K8S="no"
38 CONFIG_SADIS="external"
Matteo Scandolo0430f672020-05-07 11:50:26 -070039 WITH_KAFKA="kafka.default.svc.cluster.local"
Matteo Scandolob70b3e02020-05-07 11:50:26 -070040 WITH_ETCD="external"
Matteo Scandolofbcbdb82020-05-06 15:41:32 -070041
42 // install everything in the default namespace
43 VOLTHA_NS="default"
44 ADAPTER_NS="default"
45 INFRA_NS="default"
46 BBSIM_NS="default"
47
Matteo Scandolo0430f672020-05-07 11:50:26 -070048 // configurable options
49 WITH_EAPOL="${withEapol}"
50 WITH_DHCP="${withDhcp}"
51 WITH_IGMP="${withIgmp}"
Matteo Scandolofbcbdb82020-05-06 15:41:32 -070052 VOLTHA_LOG_LEVEL="${logLevel}"
53 NUM_OF_BBSIM="${olts}"
Matteo Scandolo0430f672020-05-07 11:50:26 -070054 NUM_OF_OPENONU="${openonuAdapterReplicas}"
55 NUM_OF_ONOS="${onosReplicas}"
56 NUM_OF_ATOMIX="${atomixReplicas}"
Matteo Scandolofbcbdb82020-05-06 15:41:32 -070057
Matteo Scandolo0430f672020-05-07 11:50:26 -070058 VOLTHA_CHART="${volthaChart}"
59 VOLTHA_BBSIM_CHART="${bbsimChart}"
60 VOLTHA_ADAPTER_OPEN_OLT_CHART="${openoltAdapterChart}"
61 VOLTHA_ADAPTER_OPEN_ONU_CHART="${openonuAdapterChart}"
Matteo Scandolofbcbdb82020-05-06 15:41:32 -070062 }
63
64 stages {
65 stage ('Cleanup') {
Matteo Scandolofbcbdb82020-05-06 15:41:32 -070066 steps {
67 sh returnStdout: false, script: """
68 test -e $WORKSPACE/kind-voltha/voltha && cd $WORKSPACE/kind-voltha && ./voltha down
Matteo Scandolob70b3e02020-05-07 11:50:26 -070069
70 for hchart in \$(helm list -q | grep -E -v 'docker-registry|kafkacat|etcd-operator');
71 do
72 echo "Purging chart: \${hchart}"
73 helm delete --purge "\${hchart}"
74 done
75 bash /home/cord/voltha-scale/wait_for_pods.sh
76
Matteo Scandolofbcbdb82020-05-06 15:41:32 -070077 cd $WORKSPACE
78 rm -rf $WORKSPACE/*
79 """
80 }
81 }
82 stage('Clone kind-voltha') {
83 steps {
84 checkout([
85 $class: 'GitSCM',
86 userRemoteConfigs: [[ url: "https://gerrit.opencord.org/kind-voltha", ]],
87 branches: [[ name: "master", ]],
88 extensions: [
89 [$class: 'WipeWorkspace'],
90 [$class: 'RelativeTargetDirectory', relativeTargetDir: "kind-voltha"],
91 [$class: 'CloneOption', depth: 0, noTags: false, reference: '', shallow: false],
92 ],
93 ])
94 }
95 }
96 stage('Clone voltha-system-tests') {
97 steps {
98 checkout([
99 $class: 'GitSCM',
100 userRemoteConfigs: [[ url: "https://gerrit.opencord.org/voltha-system-tests", ]],
101 branches: [[ name: "master", ]],
102 extensions: [
103 [$class: 'WipeWorkspace'],
104 [$class: 'RelativeTargetDirectory', relativeTargetDir: "voltha-system-tests"],
105 [$class: 'CloneOption', depth: 0, noTags: false, reference: '', shallow: false],
106 ],
107 ])
Matteo Scandolofbcbdb82020-05-06 15:41:32 -0700108 script {
Matteo Scandolob70b3e02020-05-07 11:50:26 -0700109 sh(script:"""
110 if [ ${volthaSystemTestsChange} != '' ] ; then
111 cd voltha-system-tests;
112 git fetch https://gerrit.opencord.org/voltha-system-tests ${volthaSystemTestsChange} && git checkout FETCH_HEAD
113 fi
114 """)
Matteo Scandolofbcbdb82020-05-06 15:41:32 -0700115 }
116 }
117 }
Matteo Scandolo0430f672020-05-07 11:50:26 -0700118 stage('Deploy common infrastructure') {
Matteo Scandolob70b3e02020-05-07 11:50:26 -0700119 // includes monitoring, kafka
Matteo Scandolo0430f672020-05-07 11:50:26 -0700120 steps {
121 sh '''
Matteo Scandolob70b3e02020-05-07 11:50:26 -0700122 helm install -n kafka incubator/kafka --version 0.13.3 --set replicas=3 --set persistence.enabled=false --set zookeeper.replicaCount=3 --set zookeeper.persistence.enabled=false --version=0.15.3
Matteo Scandolo0430f672020-05-07 11:50:26 -0700123
124 if [ ${withMonitoring} = true ] ; then
Matteo Scandolob70b3e02020-05-07 11:50:26 -0700125 helm install -n nem-monitoring cord/nem-monitoring \
126 --set prometheus.alertmanager.enabled=false,prometheus.pushgateway.enabled=false \
127 --set kpi_exporter.enabled=false,dashboards.xos=false,dashboards.onos=false,dashboards.aaa=false,dashboards.voltha=false
Matteo Scandolo0430f672020-05-07 11:50:26 -0700128 fi
129
Matteo Scandolob70b3e02020-05-07 11:50:26 -0700130 # TODO download this file from https://github.com/opencord/helm-charts/blob/master/scripts/wait_for_pods.sh
Matteo Scandolo0430f672020-05-07 11:50:26 -0700131 bash /home/cord/voltha-scale/wait_for_pods.sh
132 '''
133 }
134 }
Matteo Scandolofbcbdb82020-05-06 15:41:32 -0700135 stage('Deploy Voltha') {
136 steps {
137 script {
Matteo Scandolofbcbdb82020-05-06 15:41:32 -0700138 // TODO install etcd outside kind-voltha (no need to redeploy the operator everytime)
139 sh returnStdout: false, script: """
Matteo Scandolo0430f672020-05-07 11:50:26 -0700140 export EXTRA_HELM_FLAGS+='--set enablePerf=true,pon=${pons},onu=${onus} '
141
142 # BBSim custom image handling
143 IFS=: read -r bbsimRepo bbsimTag <<< ${bbsimImg}
Matteo Scandolob70b3e02020-05-07 11:50:26 -0700144 EXTRA_HELM_FLAGS+="--set images.bbsim.repository=\$bbsimRepo,images.bbsim.tag=\$bbsimTag "
Matteo Scandolo0430f672020-05-07 11:50:26 -0700145
146 # VOLTHA and ofAgent custom image handling
Matteo Scandolob70b3e02020-05-07 11:50:26 -0700147 IFS=: read -r rwCoreRepo rwCoreTag <<< ${rwCoreImg}
Matteo Scandolo0430f672020-05-07 11:50:26 -0700148 IFS=: read -r ofAgentRepo ofAgentTag <<< ${ofAgentImg}
Matteo Scandolob70b3e02020-05-07 11:50:26 -0700149 EXTRA_HELM_FLAGS+="--set images.rw_core.repository=\$rwCoreRepo,images.rw_core.tag=\$rwCoreTag,images.ofagent_go.repository=\$ofAgentRepo,images.ofagent_go.tag=\$ofAgentTag "
Matteo Scandolo0430f672020-05-07 11:50:26 -0700150
151 # OpenOLT custom image handling
152 IFS=: read -r openoltAdapterRepo openoltAdapterTag <<< ${openoltAdapterImg}
Matteo Scandolob70b3e02020-05-07 11:50:26 -0700153 EXTRA_HELM_FLAGS+="--set images.adapter_open_olt.repository=\$openoltAdapterRepo,images.adapter_open_olt.tag=\$openoltAdapterTag "
Matteo Scandolo0430f672020-05-07 11:50:26 -0700154
155 # OpenONU custom image handling
156 IFS=: read -r openonuAdapterRepo openonuAdapterTag <<< ${openonuAdapterImg}
Matteo Scandolob70b3e02020-05-07 11:50:26 -0700157 EXTRA_HELM_FLAGS+="--set images.adapter_open_onu.repository=\$openonuAdapterRepo,images.adapter_open_onu.tag=\$openonuAdapterTag "
Matteo Scandolo0430f672020-05-07 11:50:26 -0700158
159 # ONOS custom image handling
160 IFS=: read -r onosRepo onosTag <<< ${onosImg}
Matteo Scandolob70b3e02020-05-07 11:50:26 -0700161 EXTRA_HELM_FLAGS+="--set images.onos.repository=\$onosRepo,images.onos.tag=\$onosTag "
Matteo Scandolofbcbdb82020-05-06 15:41:32 -0700162
163
164 cd $WORKSPACE/kind-voltha/
165
166 ./voltha up
167 """
168 }
169 }
170 }
Matteo Scandolo0430f672020-05-07 11:50:26 -0700171 stage('Configuration') {
Matteo Scandolofbcbdb82020-05-06 15:41:32 -0700172 steps {
173 sh '''
Matteo Scandolo0430f672020-05-07 11:50:26 -0700174 # Always deactivate org.opencord.kafka
175 sshpass -e ssh -q -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -p 8101 karaf@127.0.0.1 app deactivate org.opencord.kafka
176
177 #Setting link discovery
178 sshpass -e ssh -q -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -p 8101 karaf@127.0.0.1 cfg set org.onosproject.provider.lldp.impl.LldpLinkProvider enabled ${withLLDP}
179
180 #Setting LOG level to ${logLevel}
181 sshpass -e ssh -q -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -p 8101 karaf@127.0.0.1 log:set ${logLevel}
Matteo Scandolob70b3e02020-05-07 11:50:26 -0700182 kubectl exec $(kubectl get pods | grep -E "bbsim[0-9]" | awk 'NR==1{print $1}') -- bbsimctl log ${logLevel} false
Matteo Scandolo0430f672020-05-07 11:50:26 -0700183
184 if [ ${withEapol} = false ] || [ ${withFlows} = false ]; then
Matteo Scandolob70b3e02020-05-07 11:50:26 -0700185 sshpass -e ssh -q -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -p 8101 karaf@127.0.0.1 app deactivate org.opencord.aaa
Matteo Scandolo0430f672020-05-07 11:50:26 -0700186 fi
187
188 if [ ${withDhcp} = false ] || [ ${withFlows} = false ]; then
Matteo Scandolob70b3e02020-05-07 11:50:26 -0700189 sshpass -e ssh -q -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -p 8101 karaf@127.0.0.1 app deactivate org.opencord.dhcpl2relay
Matteo Scandolo0430f672020-05-07 11:50:26 -0700190 fi
191
192 if [ ${withIgmp} = false ] || [ ${withFlows} = false ]; then
193 # FIXME will actually affected the tests only after VOL-3054 is addressed
Matteo Scandolob70b3e02020-05-07 11:50:26 -0700194 sshpass -e ssh -q -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -p 8101 karaf@127.0.0.1 app deactivate org.opencord.igmpproxy
195 sshpass -e ssh -q -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -p 8101 karaf@127.0.0.1 app deactivate org.opencord.mcast
Matteo Scandolo0430f672020-05-07 11:50:26 -0700196 fi
197
198 if [ ${withFlows} = false ]; then
Matteo Scandolob70b3e02020-05-07 11:50:26 -0700199 sshpass -e ssh -q -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -p 8101 karaf@127.0.0.1 app deactivate org.opencord.olt
Matteo Scandolo0430f672020-05-07 11:50:26 -0700200 fi
201
Matteo Scandolofbcbdb82020-05-06 15:41:32 -0700202 if [ ${withMibTemplate} = true ] ; then
203 rm -f BBSM-12345123451234512345-00000000000001-v1.json
204 wget https://raw.githubusercontent.com/opencord/voltha-openonu-adapter/master/templates/BBSM-12345123451234512345-00000000000001-v1.json
205 cat BBSM-12345123451234512345-00000000000001-v1.json | kubectl exec -it $(kubectl get pods | grep etcd-cluster | awk 'NR==1{print $1}') etcdctl put service/voltha/omci_mibs/templates/BBSM/12345123451234512345/00000000000001
206 fi
207 '''
208 }
209 }
210 stage('Run Test') {
211 steps {
Matteo Scandolo9b0728b2020-05-11 08:25:57 -0700212 timeout(time: 11, unit: 'MINUTES') {
213 sh '''
214 ROBOT_PARAMS="-v olt:${olts} \
215 -v pon:${pons} \
216 -v onu:${onus} \
217 -v workflow:${workflow} \
218 -v withEapol:${withEapol} \
219 -v withDhcp:${withDhcp} \
220 -v withIgmp:${withIgmp} \
221 --noncritical non-critical \
222 -e teardown "
Matteo Scandolo0430f672020-05-07 11:50:26 -0700223
Matteo Scandolo9b0728b2020-05-11 08:25:57 -0700224 if [ ${withEapol} = false ] ; then
225 ROBOT_PARAMS+="-e authentication "
226 fi
Matteo Scandolo0430f672020-05-07 11:50:26 -0700227
Matteo Scandolo9b0728b2020-05-11 08:25:57 -0700228 if [ ${withDhcp} = false ] ; then
229 ROBOT_PARAMS+="-e dhcp "
230 fi
Matteo Scandolo0430f672020-05-07 11:50:26 -0700231
Matteo Scandolo9b0728b2020-05-11 08:25:57 -0700232 if [ ${provisionSubscribers} = false ] ; then
233 ROBOT_PARAMS+="-e provision -e flow-after "
234 fi
Matteo Scandolo0430f672020-05-07 11:50:26 -0700235
Matteo Scandolo9b0728b2020-05-11 08:25:57 -0700236 if [ ${withFlows} = false ] ; then
237 ROBOT_PARAMS+="-i setup -i activation "
238 fi
Matteo Scandolo0430f672020-05-07 11:50:26 -0700239
Matteo Scandolo9b0728b2020-05-11 08:25:57 -0700240 mkdir -p $WORKSPACE/RobotLogs
241 cd voltha-system-tests
242 make vst_venv
243 source ./vst_venv/bin/activate
244 robot -d $WORKSPACE/RobotLogs \
245 $ROBOT_PARAMS tests/scale/Voltha_Scale_Tests.robot
246 '''
247 }
Matteo Scandolofbcbdb82020-05-06 15:41:32 -0700248 }
249 }
250 stage('Collect results') {
251 steps {
252 sh '''
253 cd voltha-system-tests
254 source ./vst_venv/bin/activate
Matteo Scandolo0430f672020-05-07 11:50:26 -0700255 python tests/scale/collect-result.py -r $WORKSPACE/RobotLogs/output.xml -p $WORKSPACE/plots > $WORKSPACE/execution-time.txt
Matteo Scandolob70b3e02020-05-07 11:50:26 -0700256 cat $WORKSPACE/execution-time.txt
Matteo Scandolofbcbdb82020-05-06 15:41:32 -0700257 '''
258 }
259 }
260 }
261 post {
262 always {
263 plot([
264 csvFileName: 'scale-test.csv',
265 csvSeries: [
Matteo Scandolo272aed42020-05-08 15:05:57 -0700266 [file: 'plots/plot-voltha-onus.txt', displayTableFlag: false, exclusionValues: '', inclusionFlag: 'OFF', url: ''],
267 [file: 'plots/plot-onos-ports.txt', displayTableFlag: false, exclusionValues: '', inclusionFlag: 'OFF', url: ''],
268 [file: 'plots/plot-voltha-flows-before.txt', displayTableFlag: false, exclusionValues: '', inclusionFlag: 'OFF', url: ''],
269 [file: 'plots/plot-onos-flows-before.txt', displayTableFlag: false, exclusionValues: '', inclusionFlag: 'OFF', url: ''],
270 [file: 'plots/plot-onos-auth.txt', displayTableFlag: false, exclusionValues: '', inclusionFlag: 'OFF', url: ''],
271 [file: 'plots/plot-voltha-flows-after.txt', displayTableFlag: false, exclusionValues: '', inclusionFlag: 'OFF', url: ''],
272 [file: 'plots/plot-onos-flows-after.txt', displayTableFlag: false, exclusionValues: '', inclusionFlag: 'OFF', url: ''],
273 [file: 'plots/plot-onos-dhcp.txt', displayTableFlag: false, exclusionValues: '', inclusionFlag: 'OFF', url: ''],
Matteo Scandolofbcbdb82020-05-06 15:41:32 -0700274 ],
275 group: 'Voltha-Scale-Numbers', numBuilds: '20', style: 'line', title: "Scale Test (OLTs: ${olts}, PONs: ${pons}, ONUs: ${onus})", yaxis: 'Time (s)', useDescr: true
276 ])
277 step([$class: 'RobotPublisher',
278 disableArchiveOutput: false,
Matteo Scandolob70b3e02020-05-07 11:50:26 -0700279 logFileName: 'RobotLogs/log.html',
Matteo Scandolofbcbdb82020-05-06 15:41:32 -0700280 otherFiles: '',
Matteo Scandolob70b3e02020-05-07 11:50:26 -0700281 outputFileName: 'RobotLogs/output.xml',
Matteo Scandolofbcbdb82020-05-06 15:41:32 -0700282 outputPath: '.',
283 passThreshold: 100,
Matteo Scandolob70b3e02020-05-07 11:50:26 -0700284 reportFileName: 'RobotLogs/report.html',
Matteo Scandolofbcbdb82020-05-06 15:41:32 -0700285 unstableThreshold: 0]);
Matteo Scandolob70b3e02020-05-07 11:50:26 -0700286 // count how many ONUs have been activated
Matteo Scandolo0430f672020-05-07 11:50:26 -0700287 sh '''
Matteo Scandolob70b3e02020-05-07 11:50:26 -0700288 mkdir -p $WORKSPACE/logs
289 echo "#-of-ONUs" > $WORKSPACE/logs/voltha-devices-count.txt
290 echo $(voltctl device list | grep -v OLT | grep ACTIVE | wc -l) >> $WORKSPACE/logs/voltha-devices-count.txt
291 '''
292 // count how many ports have been discovered
293 sh '''
294 echo "#-of-ports" > $WORKSPACE/logs/onos-ports-count.txt
295 echo $(sshpass -e ssh -q -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -p 8101 karaf@127.0.0.1 ports -e | grep BBSM | wc -l) >> $WORKSPACE/logs/onos-ports-count.txt
296 '''
297 // count how many flows have been provisioned
298 sh '''
299 echo "#-of-flows" > $WORKSPACE/logs/onos-flows-count.txt
300 echo $(sshpass -e ssh -q -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -p 8101 karaf@127.0.0.1 flows -s | grep ADDED | wc -l) >> $WORKSPACE/logs/onos-flows-count.txt
301 '''
302 // dump and count the authenticated users
303 sh '''
304 if [ ${withOnosApps} = true ] && [ ${bbsimAuth} ] ; then
305 echo $(sshpass -e ssh -q -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -p 8101 karaf@127.0.0.1 aaa-users) >> $WORKSPACE/logs/onos-aaa-users.txt
306
307 echo "#-of-authenticated-users" > $WORKSPACE/logs/onos-aaa-count.txt
308 echo $(sshpass -e ssh -q -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -p 8101 karaf@127.0.0.1 aaa-users | grep AUTHORIZED_STATE | wc -l) >> $WORKSPACE/logs/onos-aaa-count.txt
309 fi
310 '''
311 // dump and count the dhcp users
312 sh '''
313 if [ ${withOnosApps} = true ] && [ ${bbsimDhcp} ] ; then
314 echo $(sshpass -e ssh -q -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -p 8101 karaf@127.0.0.1 dhcpl2relay-allocations) >> $WORKSPACE/logs/onos-dhcp-allocations.txt
315
316 echo "#-of-dhcp-allocations" > $WORKSPACE/logs/onos-dhcp-count.txt
317 echo $(sshpass -e ssh -q -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -p 8101 karaf@127.0.0.1 dhcpl2relay-allocations | grep DHCPACK | wc -l) >> $WORKSPACE/logs/onos-dhcp-count.txt
318 fi
319 '''
320 // check which containers were used in this build
321 sh '''
322 kubectl get pods --all-namespaces -o jsonpath="{range .items[*].status.containerStatuses[*]}{.image}{'\\n'}" | sort | uniq
323 kubectl get pods --all-namespaces -o jsonpath="{range .items[*].status.containerStatuses[*]}{.imageID}{'\\n'}" | sort | uniq
324 '''
325 // dump all the VOLTHA devices informations
326 sh '''
327 voltctl device list -o json > $WORKSPACE/logs/device-list.json
328 python -m json.tool $WORKSPACE/logs/device-list.json > $WORKSPACE/logs/voltha-devices-list.json
329 '''
330 // dump all the BBSim(s) ONU informations
331 sh '''
332 BBSIM_IDS=$(kubectl get pods | grep bbsim | grep -v server | awk '{print $1}')
333 IDS=($BBSIM_IDS)
334
335 for bbsim in "${IDS[@]}"
336 do
337 kubectl exec -t $bbsim bbsimctl onu list > $WORKSPACE/logs/$bbsim-device-list.txt
338 done
339 '''
340 // get ports and flows from ONOS
341 sh '''
342 sshpass -e ssh -q -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -p 8101 karaf@127.0.0.1 ports > $WORKSPACE/logs/onos-ports-list.txt
343 sshpass -e ssh -q -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -p 8101 karaf@127.0.0.1 flows -s > $WORKSPACE/logs/onos-flows-list.txt
344 '''
345 // get all the logs from kubernetes PODs
346 sh '''
Matteo Scandolo0430f672020-05-07 11:50:26 -0700347 kubectl get pods -o wide > $WORKSPACE/logs/pods.txt
348 kubectl logs -l app=adapter-open-olt > $WORKSPACE/logs/open-olt-logs.logs
349 kubectl logs -l app=adapter-open-onu > $WORKSPACE/logs/open-onu-logs.logs
350 kubectl logs -l app=rw-core > $WORKSPACE/logs/voltha-rw-core-logs.logs
351 kubectl logs -l app=ofagent > $WORKSPACE/logs/voltha-ofagent-logs.logs
352 kubectl logs -l app=bbsim > $WORKSPACE/logs/bbsim-logs.logs
353 kubectl logs -l app=onos > $WORKSPACE/logs/onos-logs.logs
354 '''
Matteo Scandolo0358d862020-05-08 14:25:10 -0700355 archiveArtifacts artifacts: 'kind-voltha/install-minimal.log,execution-time.txt,logs/*'
Matteo Scandolofbcbdb82020-05-06 15:41:32 -0700356 }
357 }
358}