1 # Copyright (c) 2019 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}':
30 executor: 'ubuntu1804arm-us'
31 vpp-mrr-daily-periodicity: '0 16 * * 6'
32 - 'csit-vpp-perf-mrr-weekly-master-2n-skx'
33 - 'csit-vpp-perf-ndrpdr-weekly-master-{node-arch}':
38 - 'csit-dpdk-perf-verify-{stream}-{node-arch}'
39 - 'csit-dpdk-perf-mrr-weekly-master{node-arch}':
44 - 'csit-ligato-perf-verify-{stream}-{node-arch}'
47 executor: 'ubuntu1804-us'
48 ligato-executor: 'ubuntu1804-basebuild-4c-4g'
51 vpp-mrr-daily-periodicity: '0 14 * * 1,4'
56 executor: 'ubuntu1804-us'
59 branch-id: 'oper-rls1901'
60 executor: 'ubuntu1604-basebuild-8c-32g'
63 branch-id: 'oper-rls1904'
64 executor: 'ubuntu1804-us'
67 branch-id: 'oper-rls1908'
68 executor: 'ubuntu1804-us'
70 build-artifact-num-to-keep: 10
78 executor: 'ubuntu1804arm-us'
79 ligato-executor: 'ubuntu1804arm-us'
82 name: 'csit-vpp-perf-verify-{stream}-{node-arch}'
88 <li>perf verify - per csit gerrit patch
92 <li>name: <b>csit-vpp-perf-verify-{stream}-{node-arch}</b>
93 <li>trigger: keyword in comment to csit patch:
94 <b>csit-{node-arch}-perftest tag_list</b>
96 <li>perf test-cases selection
98 <li>test-cases selected using trigger keyword followed by tags
99 <li>all test-cases are labelled with CSIT RF topic tags
100 defined in <i>csit/docs/tag_documentation.rst</i>
102 <li>proposed keywords
104 <li>focus on testing specified vpp packet processing path
105 <li>format: csit-{node-arch}-perftest tag_list
107 <li>default tags for vpp startup config and perf test type
109 <li>IP4BASE, IP6BASE, L2BDBASE
110 <li>64B/78B: 64B/78B packet size
112 <li>X710: x710 Fortville NIC
113 <li>MRR: MRR throughput
117 <li>jjb verify: PASS/FAIL
123 project-type: freestyle
126 archive-artifacts: 'archive/*.*'
130 daysToKeep: '{build-days-to-keep}'
131 numToKeep: '{build-num-to-keep}'
132 artifactDaysToKeep: '{build-artifact-days-to-keep}'
133 artifactNumToKeep: '{build-artifact-num-to-keep}'
140 - gerrit-refspec-parameter
141 - gerrit-event-type-parameter
142 - gerrit-event-comment-text-parameter
144 name: ARCHIVE_ARTIFACTS
145 default: '{archive-artifacts}'
146 description: Artifacts to archive to the logs server.
147 # This is a manually-triggered verify job, part of API coverage.
148 # CRC checking is needed to ensure vpp crc job breaks only when intended.
149 # Can be removed when this job is no longer needed for full API coverage.
150 - csit-fail-on-crc-mismatch-parameter:
151 fail-on-crc-mismatch: 'True'
154 - gerrit-trigger-scm:
155 credentials-id: 'jenkins-gerrit-credentials'
156 refspec: '$GERRIT_REFSPEC'
157 choosing-strategy: 'gerrit'
160 - fdio-infra-wrappers-non-activity-timeout:
161 build-timeout: '{build-timeout}'
165 server-name: 'Primary'
167 - comment-added-contains-event:
168 comment-contains-value: 'csit-{node-arch}-perftest'
170 - project-compare-type: 'ANT'
171 project-pattern: '{project}'
173 - branch-compare-type: 'ANT'
174 branch-pattern: '**/{branch}'
183 !include-raw-escape: jjb/csit/include-raw-csit-perf-verify.sh
191 - fdio-infra-shiplogs:
192 maven-version: 'mvn33-new'
195 name: 'csit-vpp-perf-mrr-daily-master{node-arch}'
201 <li>check vpp perf mrr daily
203 <li>perf test-cases selection
205 <li>all CSIT VPP MRR perf suites
209 <li>jjb verify: PASS/FAIL
211 <li>analyse: csit project (catch malfunctions/degradations)
215 project-type: freestyle
218 archive-artifacts: 'csit/archive/*.*'
222 daysToKeep: '{build-days-to-keep}'
223 numToKeep: '{build-num-to-keep}'
224 artifactDaysToKeep: '{build-artifact-days-to-keep}'
225 artifactNumToKeep: '{build-artifact-num-to-keep}'
233 name: ARCHIVE_ARTIFACTS
234 default: '{archive-artifacts}'
235 description: Artifacts to archive to the logs server.
238 - fdio-infra-wrappers-non-activity-timeout:
239 build-timeout: '{build-timeout}'
242 - timed: '{vpp-mrr-daily-periodicity}'
245 - shell: 'echo "BRANCH_ID={branch-id}" > $WORKSPACE/variables.prop'
247 properties-file: variables.prop
249 !include-raw-escape: jjb/csit/include-raw-csit-perf-timed.sh
253 output-path: 'csit/archive'
257 - fdio-infra-shiplogs:
258 maven-version: 'mvn33-new'
261 name: 'csit-vpp-perf-mrr-weekly-master-2n-skx'
267 <li>check vpp perf mrr weekly on 2n-skx
269 <li>perf test-cases selection
271 <li>NF Density CSIT VPP MRR perf suites
275 <li>jjb verify: PASS/FAIL
277 <li>analyse: csit project (catch malfunctions/degradations)
281 project-type: freestyle
284 archive-artifacts: 'csit/archive/*.*'
288 daysToKeep: '{build-days-to-keep}'
289 numToKeep: '{build-num-to-keep}'
290 artifactDaysToKeep: '{build-artifact-days-to-keep}'
291 artifactNumToKeep: '{build-artifact-num-to-keep}'
299 name: ARCHIVE_ARTIFACTS
300 default: '{archive-artifacts}'
301 description: Artifacts to archive to the logs server.
304 - fdio-infra-wrappers-non-activity-timeout:
305 build-timeout: '{build-timeout}'
311 - shell: 'echo "BRANCH_ID={branch-id}" > $WORKSPACE/variables.prop'
313 properties-file: variables.prop
315 !include-raw-escape: jjb/csit/include-raw-csit-perf-timed.sh
319 output-path: 'csit/archive'
323 - fdio-infra-shiplogs:
324 maven-version: 'mvn33-new'
327 name: 'csit-vpp-perf-ndrpdr-weekly-master-{node-arch}'
333 <li>check vpp perf ndrpdr weekly on {node-arch}
335 <li>perf test-cases selection
337 <li>pre-selected CSIT VPP NDRPDR perf suites
341 <li>jjb verify: PASS/FAIL
343 <li>analyse: csit project (catch malfunctions/degradations)
346 project-type: freestyle
349 archive-artifacts: 'csit/archive/*.*'
353 daysToKeep: '{build-days-to-keep}'
354 numToKeep: '{build-num-to-keep}'
355 artifactDaysToKeep: '{build-artifact-days-to-keep}'
356 artifactNumToKeep: '{build-artifact-num-to-keep}'
364 name: ARCHIVE_ARTIFACTS
365 default: '{archive-artifacts}'
366 description: Artifacts to archive to the logs server.
369 - fdio-infra-wrappers-non-activity-timeout:
370 build-timeout: '{build-timeout}'
376 - shell: 'echo "BRANCH_ID={branch-id}" > $WORKSPACE/variables.prop'
378 properties-file: variables.prop
380 !include-raw-escape: jjb/csit/include-raw-csit-perf-timed.sh
384 output-path: 'csit/archive'
388 - fdio-infra-shiplogs:
389 maven-version: 'mvn33-new'
392 name: 'csit-dpdk-perf-verify-{stream}-{node-arch}'
398 <li>perf verify - per csit gerrit patch
402 <li>name: <b>csit-dpdk-perf-verify-{stream}-{node-arch}</b>
403 <li>trigger: keyword in comment to csit patch:
404 <b>csit-dpdk-{node-arch}-perftest tag_list</b>
406 <li>perf test-cases selection
408 <li>test-cases selected using trigger keyword followed by tags
409 <li>all test-cases are labelled with CSIT RF topic tags
410 defined in <i>csit/docs/tag_documentation.rst</i>
412 <li>default tags for dpdk perf test type
414 <li>IP4BASE, L2XCBASE
415 <li>64B: 64B packet size
417 <li>X710: x710 Fortville NIC
418 <li>MRR: MRR throughput
422 <li>jjb verify: PASS/FAIL
428 project-type: freestyle
431 archive-artifacts: 'archive/*.*'
435 daysToKeep: '{build-days-to-keep}'
436 numToKeep: '{build-num-to-keep}'
437 artifactDaysToKeep: '{build-artifact-days-to-keep}'
438 artifactNumToKeep: '{build-artifact-num-to-keep}'
446 name: ARCHIVE_ARTIFACTS
447 default: '{archive-artifacts}'
448 description: Artifacts to archive to the logs server.
451 - gerrit-trigger-scm:
452 credentials-id: 'jenkins-gerrit-credentials'
453 refspec: '$GERRIT_REFSPEC'
454 choosing-strategy: 'gerrit'
457 - fdio-infra-wrappers-non-activity-timeout:
458 build-timeout: '{build-timeout}'
462 server-name: 'Primary'
464 - comment-added-contains-event:
465 comment-contains-value: 'csit-dpdk-{node-arch}-perftest'
467 - project-compare-type: 'ANT'
468 project-pattern: '{project}'
470 - branch-compare-type: 'ANT'
471 branch-pattern: '**/{branch}'
480 !include-raw-escape: jjb/csit/include-raw-csit-perf-verify.sh
488 - fdio-infra-shiplogs:
489 maven-version: 'mvn33-new'
492 name: 'csit-dpdk-perf-mrr-weekly-master{node-arch}'
498 <li>check dpdk perf mrr weekly
500 <li>perf test-cases selection
502 <li>all CSIT DPDK MRR perf suites
506 <li>jjb verify: PASS/FAIL
508 <li>analyse: csit project (catch malfunctions/degradations)
512 project-type: freestyle
515 archive-artifacts: 'csit/archive/*.*'
519 daysToKeep: '{build-days-to-keep}'
520 numToKeep: '{build-num-to-keep}'
521 artifactDaysToKeep: '{build-artifact-days-to-keep}'
522 artifactNumToKeep: '{build-artifact-num-to-keep}'
530 name: ARCHIVE_ARTIFACTS
531 default: '{archive-artifacts}'
532 description: Artifacts to archive to the logs server.
535 - fdio-infra-wrappers-non-activity-timeout:
536 build-timeout: '{build-timeout}'
542 - shell: 'echo "BRANCH_ID={branch-id}" > $WORKSPACE/variables.prop'
544 properties-file: variables.prop
546 !include-raw-escape: jjb/csit/include-raw-csit-perf-timed.sh
550 output-path: 'csit/archive'
554 - fdio-infra-shiplogs:
555 maven-version: 'mvn33-new'
558 name: 'csit-ligato-perf-verify-{stream}-{node-arch}'
560 # yamllint disable rule:line-length
565 <li>perf verify - per csit gerrit patch
569 <li>name: <b>csit-ligato-perf-verify-{stream}-{node-arch}</b>
570 <li>trigger: keyword in comment to csit patch:
571 <b>csit--ligato-{node-arch}-perftest tag_list</b>
573 <li>perf test-cases selection
575 <li>test-cases selected using trigger keyword followed by tags
576 <li>all test-cases are labelled with CSIT RF topic tags
577 defined in <i>csit/docs/tag_documentation.rst</i>
579 <li>proposed keywords
581 <li>focus on testing specified Kubernetes orchestrated topologies
582 <li>format: csit-ligato-{node-arch}-perftest tag_list
584 <li>default tags for vpp startup config and perf test type
586 <li>IP4BASE, IP6BASE, L2BDBASE
587 <li>64B/78B: 64B/78B packet size
589 <li>X710: x710 Fortville NIC
590 <li>MRR: MRR throughput
594 <li>jjb verify: PASS/FAIL
599 # yamllint enable rule:line-length
601 project-type: freestyle
602 # As the nomad executors are running docker containers we cannot run
603 # ligato-perf job due to dependency on using docker inside.
604 # TODO: Find the mechanics how to offload job logic from compiling docker
605 # image so we can move this executor to ubuntu1804-us
606 node: '{ligato-executor}'
608 archive-artifacts: 'archive/*.*'
612 daysToKeep: '{build-days-to-keep}'
613 numToKeep: '{build-num-to-keep}'
614 artifactDaysToKeep: '{build-artifact-days-to-keep}'
615 artifactNumToKeep: '{build-artifact-num-to-keep}'
622 - gerrit-refspec-parameter
623 - gerrit-event-type-parameter
624 - gerrit-event-comment-text-parameter
626 name: ARCHIVE_ARTIFACTS
627 default: '{archive-artifacts}'
628 description: Artifacts to archive to the logs server.
631 - gerrit-trigger-scm:
632 credentials-id: 'jenkins-gerrit-credentials'
633 refspec: '$GERRIT_REFSPEC'
634 choosing-strategy: 'gerrit'
637 - fdio-infra-wrappers-non-activity-timeout:
638 build-timeout: '{build-timeout}'
642 server-name: 'Primary'
644 - comment-added-contains-event:
645 comment-contains-value: 'csit-ligato-{node-arch}-perftest'
647 - project-compare-type: 'ANT'
648 project-pattern: '{project}'
650 - branch-compare-type: 'ANT'
651 branch-pattern: '**/{branch}'
660 !include-raw-escape: jjb/csit/include-raw-csit-perf-verify.sh
668 - fdio-infra-shiplogs:
669 maven-version: 'mvn33-new'