1 # Copyright (c) 2020 Cisco and/or its affiliates.
2 # Copyright (c) 2019 PANTHEON.tech s.r.o. and/or its affiliates.
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:
7 # http://www.apache.org/licenses/LICENSE-2.0
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.
18 description: 'CSIT Jenkins jobs.'
21 - 'csit-vpp-perf-verify-{stream}-{node-arch}'
22 - 'csit-vpp-perf-mrr-daily-master{node-arch}':
31 executor: 'ubuntu1804arm-us'
32 vpp-mrr-daily-periodicity: '0 14 * * 6'
33 - 'csit-vpp-perf-mrr-weekly-master-{node-arch}':
37 - 'csit-vpp-perf-ndrpdr-weekly-master-{node-arch}':
43 - 'csit-dpdk-perf-verify-{stream}-{node-arch}'
44 - 'csit-dpdk-perf-mrr-weekly-master{node-arch}':
52 executor: 'ubuntu1804-us'
55 vpp-mrr-daily-periodicity: '0 14 * * 1,4'
56 csit-perf-trial-duration: "1.0"
57 csit-perf-trial-multiplicity: "10"
64 branch-id: 'oper-rls1904'
67 branch-id: 'oper-rls1908_1'
70 branch-id: 'oper-rls2001'
72 build-artifact-num-to-keep: 10
81 executor: 'ubuntu1804arm-us'
84 name: 'csit-vpp-perf-verify-{stream}-{node-arch}'
90 <li>perf verify - per csit gerrit patch
94 <li>name: <b>csit-vpp-perf-verify-{stream}-{node-arch}</b>
95 <li>trigger: keyword in comment to csit patch:
96 <b>csit-{node-arch}-perftest tag_list</b>
102 <li>perf test-cases selection
104 <li>test-cases selected using trigger keyword followed by tags
105 <li>all test-cases are labelled with CSIT RF topic tags
106 defined in <i>csit/docs/tag_documentation.rst</i>
108 <li>proposed keywords
110 <li>focus on testing specified vpp packet processing path
111 <li>format: csit-{node-arch}-perftest tag_list
113 <li>default tags for vpp startup config and perf test type
115 <li>IP4BASE, IP6BASE, L2BDBASE
116 <li>64B/78B: 64B/78B packet size
118 <li>X710: x710 Fortville NIC
119 <li>MRR: MRR throughput
123 <li>jjb verify: PASS/FAIL
129 project-type: freestyle
132 archive-artifacts: 'archive/*.*'
136 daysToKeep: '{build-days-to-keep}'
137 numToKeep: '{build-num-to-keep}'
138 artifactDaysToKeep: '{build-artifact-days-to-keep}'
139 artifactNumToKeep: '{build-artifact-num-to-keep}'
146 - gerrit-refspec-parameter
147 - gerrit-event-type-parameter
148 - gerrit-event-comment-text-parameter
149 - csit-perf-trial-duration-parameter:
150 csit-perf-trial-duration: "{csit-perf-trial-duration}"
151 - csit-perf-trial-multiplicity-parameter:
152 csit-perf-trial-multiplicity: "{csit-perf-trial-multiplicity}"
154 name: ARCHIVE_ARTIFACTS
155 default: '{archive-artifacts}'
156 description: Artifacts to archive to the logs server.
157 # This is a manually-triggered verify job, part of API coverage.
158 # CRC checking is needed to ensure vpp crc job breaks only when intended.
159 # Can be removed when this job is no longer needed for full API coverage.
160 - csit-fail-on-crc-mismatch-parameter:
161 fail-on-crc-mismatch: 'True'
164 - gerrit-trigger-scm:
165 credentials-id: 'jenkins-gerrit-credentials'
166 refspec: '$GERRIT_REFSPEC'
167 choosing-strategy: 'gerrit'
170 - fdio-infra-wrappers-non-activity-timeout:
171 build-timeout: '{build-timeout}'
175 server-name: 'Primary'
177 - comment-added-contains-event:
178 comment-contains-value: 'csit-{node-arch}-perftest'
180 - project-compare-type: 'ANT'
181 project-pattern: '{project}'
183 - branch-compare-type: 'ANT'
184 branch-pattern: '**/{branch}'
194 - ../scripts/csit/perf-verify.sh
202 - fdio-infra-shiplogs:
203 maven-version: 'mvn33-new'
206 name: 'csit-vpp-perf-mrr-daily-master{node-arch}'
212 <li>check vpp perf mrr daily
218 <li>perf test-cases selection
220 <li>all CSIT VPP MRR perf suites
224 <li>jjb verify: PASS/FAIL
226 <li>analyse: csit project (catch malfunctions/degradations)
230 project-type: freestyle
233 archive-artifacts: 'csit/archive/*.*'
237 daysToKeep: '{build-days-to-keep}'
238 numToKeep: '{build-num-to-keep}'
239 artifactDaysToKeep: '{build-artifact-days-to-keep}'
240 artifactNumToKeep: '{build-artifact-num-to-keep}'
247 - csit-perf-trial-duration-parameter:
248 csit-perf-trial-duration: "{csit-perf-trial-duration}"
249 - csit-perf-trial-multiplicity-parameter:
250 csit-perf-trial-multiplicity: "{csit-perf-trial-multiplicity}"
252 name: ARCHIVE_ARTIFACTS
253 default: '{archive-artifacts}'
254 description: Artifacts to archive to the logs server.
257 - fdio-infra-wrappers-non-activity-timeout:
258 build-timeout: '{build-timeout}'
261 - timed: '{vpp-mrr-daily-periodicity}'
264 - shell: 'echo "BRANCH_ID={branch-id}" > $WORKSPACE/variables.prop'
266 properties-file: variables.prop
269 - ../scripts/csit/perf-timed.sh
273 output-path: 'csit/archive'
277 - fdio-infra-shiplogs:
278 maven-version: 'mvn33-new'
281 name: 'csit-vpp-perf-mrr-weekly-master-{node-arch}'
287 <li>check vpp perf mrr weekly on {node-arch}
293 <li>perf test-cases selection
295 <li>NF Density CSIT VPP MRR perf suites
299 <li>jjb verify: PASS/FAIL
301 <li>analyse: csit project (catch malfunctions/degradations)
305 project-type: freestyle
308 archive-artifacts: 'csit/archive/*.*'
312 daysToKeep: '{build-days-to-keep}'
313 numToKeep: '{build-num-to-keep}'
314 artifactDaysToKeep: '{build-artifact-days-to-keep}'
315 artifactNumToKeep: '{build-artifact-num-to-keep}'
322 - csit-perf-trial-duration-parameter:
323 csit-perf-trial-duration: "{csit-perf-trial-duration}"
324 - csit-perf-trial-multiplicity-parameter:
325 csit-perf-trial-multiplicity: "{csit-perf-trial-multiplicity}"
327 name: ARCHIVE_ARTIFACTS
328 default: '{archive-artifacts}'
329 description: Artifacts to archive to the logs server.
332 - fdio-infra-wrappers-non-activity-timeout:
333 build-timeout: '{build-timeout}'
339 - shell: 'echo "BRANCH_ID={branch-id}" > $WORKSPACE/variables.prop'
341 properties-file: variables.prop
344 - ../scripts/csit/perf-timed.sh
348 output-path: 'csit/archive'
352 - fdio-infra-shiplogs:
353 maven-version: 'mvn33-new'
356 name: 'csit-vpp-perf-ndrpdr-weekly-master-{node-arch}'
362 <li>check vpp perf ndrpdr weekly on {node-arch}
368 <li>perf test-cases selection
370 <li>pre-selected CSIT VPP NDRPDR perf suites
374 <li>jjb verify: PASS/FAIL
376 <li>analyse: csit project (catch malfunctions/degradations)
379 project-type: freestyle
382 archive-artifacts: 'csit/archive/*.*'
386 daysToKeep: '{build-days-to-keep}'
387 numToKeep: '{build-num-to-keep}'
388 artifactDaysToKeep: '{build-artifact-days-to-keep}'
389 artifactNumToKeep: '{build-artifact-num-to-keep}'
397 name: ARCHIVE_ARTIFACTS
398 default: '{archive-artifacts}'
399 description: Artifacts to archive to the logs server.
402 - fdio-infra-wrappers-non-activity-timeout:
403 build-timeout: '{build-timeout}'
409 - shell: 'echo "BRANCH_ID={branch-id}" > $WORKSPACE/variables.prop'
411 properties-file: variables.prop
414 - ../scripts/csit/perf-timed.sh
418 output-path: 'csit/archive'
422 - fdio-infra-shiplogs:
423 maven-version: 'mvn33-new'
426 name: 'csit-dpdk-perf-verify-{stream}-{node-arch}'
432 <li>perf verify - per csit gerrit patch
436 <li>name: <b>csit-dpdk-perf-verify-{stream}-{node-arch}</b>
437 <li>trigger: keyword in comment to csit patch:
438 <b>csit-dpdk-{node-arch}-perftest tag_list</b>
444 <li>perf test-cases selection
446 <li>test-cases selected using trigger keyword followed by tags
447 <li>all test-cases are labelled with CSIT RF topic tags
448 defined in <i>csit/docs/tag_documentation.rst</i>
450 <li>default tags for dpdk perf test type
452 <li>IP4BASE, L2XCBASE
453 <li>64B: 64B packet size
455 <li>X710: x710 Fortville NIC
456 <li>MRR: MRR throughput
460 <li>jjb verify: PASS/FAIL
466 project-type: freestyle
469 archive-artifacts: 'archive/*.*'
473 daysToKeep: '{build-days-to-keep}'
474 numToKeep: '{build-num-to-keep}'
475 artifactDaysToKeep: '{build-artifact-days-to-keep}'
476 artifactNumToKeep: '{build-artifact-num-to-keep}'
483 - csit-perf-trial-duration-parameter:
484 csit-perf-trial-duration: "{csit-perf-trial-duration}"
485 - csit-perf-trial-multiplicity-parameter:
486 csit-perf-trial-multiplicity: "{csit-perf-trial-multiplicity}"
488 name: ARCHIVE_ARTIFACTS
489 default: '{archive-artifacts}'
490 description: Artifacts to archive to the logs server.
493 - gerrit-trigger-scm:
494 credentials-id: 'jenkins-gerrit-credentials'
495 refspec: '$GERRIT_REFSPEC'
496 choosing-strategy: 'gerrit'
499 - fdio-infra-wrappers-non-activity-timeout:
500 build-timeout: '{build-timeout}'
504 server-name: 'Primary'
506 - comment-added-contains-event:
507 comment-contains-value: 'csit-dpdk-{node-arch}-perftest'
509 - project-compare-type: 'ANT'
510 project-pattern: '{project}'
512 - branch-compare-type: 'ANT'
513 branch-pattern: '**/{branch}'
523 - ../scripts/csit/perf-verify.sh
531 - fdio-infra-shiplogs:
532 maven-version: 'mvn33-new'
535 name: 'csit-dpdk-perf-mrr-weekly-master{node-arch}'
541 <li>check dpdk perf mrr weekly
547 <li>perf test-cases selection
549 <li>all CSIT DPDK MRR perf suites
553 <li>jjb verify: PASS/FAIL
555 <li>analyse: csit project (catch malfunctions/degradations)
559 project-type: freestyle
562 archive-artifacts: 'csit/archive/*.*'
566 daysToKeep: '{build-days-to-keep}'
567 numToKeep: '{build-num-to-keep}'
568 artifactDaysToKeep: '{build-artifact-days-to-keep}'
569 artifactNumToKeep: '{build-artifact-num-to-keep}'
576 - csit-perf-trial-duration-parameter:
577 csit-perf-trial-duration: "{csit-perf-trial-duration}"
578 - csit-perf-trial-multiplicity-parameter:
579 csit-perf-trial-multiplicity: "{csit-perf-trial-multiplicity}"
581 name: ARCHIVE_ARTIFACTS
582 default: '{archive-artifacts}'
583 description: Artifacts to archive to the logs server.
586 - fdio-infra-wrappers-non-activity-timeout:
587 build-timeout: '{build-timeout}'
593 - shell: 'echo "BRANCH_ID={branch-id}" > $WORKSPACE/variables.prop'
595 properties-file: variables.prop
598 - ../scripts/csit/perf-timed.sh
602 output-path: 'csit/archive'
606 - fdio-infra-shiplogs:
607 maven-version: 'mvn33-new'