1 # Copyright (c) 2021 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-dpdk-perf-verify-{stream}-{node-arch}':
25 executor-arch: 'x86_64'
28 executor-arch: 'x86_64'
31 executor-arch: 'x86_64'
34 executor-arch: 'x86_64'
37 executor-arch: 'aarch64'
40 executor-arch: 'x86_64'
43 executor-arch: 'x86_64'
46 executor-arch: 'aarch64'
47 - 'csit-dpdk-perf-mrr-weekly-master-{node-arch}':
51 executor-arch: 'x86_64'
54 executor-arch: 'x86_64'
57 executor-arch: 'x86_64'
60 executor-arch: 'aarch64'
63 executor-arch: 'x86_64'
66 executor-arch: 'aarch64'
67 periodicity: '0 0 * * 6'
68 - 'csit-vpp-perf-verify-{stream}-{node-arch}':
72 executor-arch: 'x86_64'
75 executor-arch: 'x86_64'
78 executor-arch: 'x86_64'
81 executor-arch: 'x86_64'
84 executor-arch: 'aarch64'
87 executor-arch: 'x86_64'
90 executor-arch: 'x86_64'
93 executor-arch: 'aarch64'
100 branch-id: 'oper-rls2009_lts'
103 branch-id: 'oper-rls2101'
106 branch-id: 'oper-rls2106'
107 - 'csit-vpp-perf-mrr-daily-master-{node-arch}':
111 executor-arch: 'x86_64'
112 periodicity: '0 2,14 * * *'
115 executor-arch: 'x86_64'
116 periodicity: '0 2,14 * * *'
119 executor-arch: 'x86_64'
120 periodicity: '0 2,14 * * *'
123 executor-arch: 'x86_64'
124 periodicity: '0 2,14 * * *'
127 executor-arch: 'aarch64'
128 periodicity: '0 14 * * *'
131 executor-arch: 'x86_64'
132 periodicity: '0 2,14 * * *'
135 executor-arch: 'x86_64'
136 periodicity: '0 2,14 * * *'
139 executor-arch: 'aarch64'
140 periodicity: '0 14 * * *'
141 - 'csit-vpp-perf-mrr-weekly-{stream}-{node-arch}':
145 executor-arch: 'x86_64'
148 executor-arch: 'x86_64'
151 executor-arch: 'x86_64'
154 executor-arch: 'x86_64'
157 executor-arch: 'x86_64'
163 branch: 'rls2009_lts'
164 branch-id: 'oper-rls2009_lts'
165 periodicity: '0 0 * * 6'
166 - 'csit-vpp-perf-ndrpdr-weekly-master-{node-arch}':
170 executor-arch: 'x86_64'
173 executor-arch: 'x86_64'
176 executor-arch: 'x86_64'
177 periodicity: '0 0 * * 6'
178 - 'csit-vpp-perf-report-iterative-{stream_report}-{node-arch}':
182 executor-arch: 'x86_64'
185 executor-arch: 'x86_64'
188 executor-arch: 'x86_64'
191 executor-arch: 'x86_64'
194 executor-arch: 'aarch64'
197 executor-arch: 'x86_64'
200 executor-arch: 'x86_64'
203 executor-arch: 'aarch64'
206 executor-arch: 'x86_64'
209 executor-arch: 'x86_64'
210 - 'csit-dpdk-perf-report-iterative-{stream_report}-{node-arch}':
214 executor-arch: 'x86_64'
217 executor-arch: 'x86_64'
220 executor-arch: 'x86_64'
223 executor-arch: 'x86_64'
226 executor-arch: 'aarch64'
229 executor-arch: 'x86_64'
232 executor-arch: 'x86_64'
235 executor-arch: 'aarch64'
238 executor-arch: 'x86_64'
241 executor-arch: 'x86_64'
242 - 'csit-vpp-perf-report-coverage-{stream_report}-{node-arch}':
246 executor-arch: 'x86_64'
249 executor-arch: 'x86_64'
252 executor-arch: 'x86_64'
255 executor-arch: 'x86_64'
258 executor-arch: 'aarch64'
261 executor-arch: 'x86_64'
264 executor-arch: 'x86_64'
267 executor-arch: 'aarch64'
270 executor-arch: 'x86_64'
273 executor-arch: 'x86_64'
274 - 'csit-dpdk-perf-report-coverage-{stream_report}-{node-arch}':
278 executor-arch: 'x86_64'
281 executor-arch: 'x86_64'
284 executor-arch: 'x86_64'
287 executor-arch: 'x86_64'
290 executor-arch: 'aarch64'
293 executor-arch: 'x86_64'
296 executor-arch: 'x86_64'
299 executor-arch: 'aarch64'
302 executor-arch: 'x86_64'
305 executor-arch: 'x86_64'
310 csit-perf-trial-duration: "1.0"
311 csit-perf-trial-multiplicity: "10"
317 branch: 'rls2009_lts'
318 branch-id: 'oper-rls2009_lts'
321 branch-id: 'oper-rls2101'
324 branch-id: 'oper-rls2106'
328 branch-id: 'oper-rls2106'
330 build-artifact-num-to-keep: 10
334 name: 'csit-vpp-perf-verify-{stream}-{node-arch}'
340 <li>perf verify - per csit gerrit patch
344 <li>name: <b>csit-vpp-perf-verify-{stream}-{node-arch}</b>
345 <li>trigger: keyword in comment to csit patch:
346 <b>csit-{node-arch}-perftest tag_list</b>
350 <li>builder-{os}-prod-{executor-arch}
352 <li>perf test-cases selection
354 <li>test-cases selected using trigger keyword followed by tags
355 <li>all test-cases are labelled with CSIT RF topic tags
356 defined in <i>csit/docs/tag_documentation.rst</i>
358 <li>proposed keywords
360 <li>focus on testing specified vpp packet processing path
361 <li>format: csit-{node-arch}-perftest tag_list
363 <li>default tags for vpp startup config and perf test type
365 <li>IP4BASE, IP6BASE, L2BDBASE
366 <li>64B/78B: 64B/78B packet size
368 <li>X710: x710 Fortville NIC
369 <li>MRR: MRR throughput
373 <li>jjb verify: PASS/FAIL
379 project-type: freestyle
380 node: 'builder-{os}-prod-{executor-arch}'
385 daysToKeep: '{build-days-to-keep}'
386 numToKeep: '{build-num-to-keep}'
387 artifactDaysToKeep: '{build-artifact-days-to-keep}'
388 artifactNumToKeep: '{build-artifact-num-to-keep}'
395 - gerrit-refspec-parameter
396 - gerrit-event-type-parameter
397 - gerrit-event-comment-text-parameter
398 - csit-perf-trial-duration-parameter:
399 csit-perf-trial-duration: "{csit-perf-trial-duration}"
400 - csit-perf-trial-multiplicity-parameter:
401 csit-perf-trial-multiplicity: "{csit-perf-trial-multiplicity}"
402 # This is a manually-triggered verify job, part of API coverage.
403 # CRC checking is needed to ensure vpp crc job breaks only when intended.
404 # Can be removed when this job is no longer needed for full API coverage.
405 - csit-fail-on-crc-mismatch-parameter:
406 fail-on-crc-mismatch: 'True'
409 - gerrit-trigger-scm:
410 credentials-id: 'jenkins-gerrit-credentials'
411 refspec: '$GERRIT_REFSPEC'
412 choosing-strategy: 'gerrit'
415 - fdio-infra-wrappers-non-activity-timeout:
416 build-timeout: '{build-timeout}'
419 - gerrit-trigger-csit-perftest:
422 trigger-word: 'csit-{node-arch}-perftest'
428 - ../scripts/setup_executor_env.sh
431 - ../scripts/csit/perf-verify.sh
437 name: 'csit-vpp-perf-mrr-daily-master-{node-arch}'
443 <li>check vpp perf mrr daily
447 <li>builder-{os}-prod-{executor-arch}
449 <li>perf test-cases selection
451 <li>all CSIT VPP MRR perf suites
455 <li>jjb verify: PASS/FAIL
457 <li>analyse: csit project (catch malfunctions/degradations)
461 project-type: freestyle
462 node: 'builder-{os}-prod-{executor-arch}'
467 daysToKeep: '{build-days-to-keep}'
468 numToKeep: '{build-num-to-keep}'
469 artifactDaysToKeep: '{build-artifact-days-to-keep}'
470 artifactNumToKeep: '{build-artifact-num-to-keep}'
477 - csit-perf-trial-duration-parameter:
478 csit-perf-trial-duration: "{csit-perf-trial-duration}"
479 - csit-perf-trial-multiplicity-parameter:
480 csit-perf-trial-multiplicity: "{csit-perf-trial-multiplicity}"
483 - fdio-infra-wrappers-non-activity-timeout:
484 build-timeout: '{build-timeout}'
487 - timed: '{periodicity}'
490 - shell: 'echo "BRANCH_ID={branch-id}" > $WORKSPACE/variables.prop'
492 properties-file: variables.prop
495 - ../scripts/setup_executor_env.sh
498 - ../scripts/csit/perf-timed.sh
504 name: 'csit-vpp-perf-mrr-weekly-{stream}-{node-arch}'
510 <li>check vpp perf mrr weekly on {node-arch}
514 <li>builder-{os}-prod-{executor-arch}
516 <li>perf test-cases selection
518 <li>NF Density CSIT VPP MRR perf suites
522 <li>jjb verify: PASS/FAIL
524 <li>analyse: csit project (catch malfunctions/degradations)
528 project-type: freestyle
529 node: 'builder-{os}-prod-{executor-arch}'
534 daysToKeep: '{build-days-to-keep}'
535 numToKeep: '{build-num-to-keep}'
536 artifactDaysToKeep: '{build-artifact-days-to-keep}'
537 artifactNumToKeep: '{build-artifact-num-to-keep}'
544 - csit-perf-trial-duration-parameter:
545 csit-perf-trial-duration: "{csit-perf-trial-duration}"
546 - csit-perf-trial-multiplicity-parameter:
547 csit-perf-trial-multiplicity: "{csit-perf-trial-multiplicity}"
550 - fdio-infra-wrappers-non-activity-timeout:
551 build-timeout: '{build-timeout}'
554 - timed: '{periodicity}'
557 - shell: 'echo "BRANCH_ID={branch-id}" > $WORKSPACE/variables.prop'
559 properties-file: variables.prop
562 - ../scripts/setup_executor_env.sh
565 - ../scripts/csit/perf-timed.sh
571 name: 'csit-vpp-perf-ndrpdr-weekly-master-{node-arch}'
577 <li>check vpp perf ndrpdr weekly on {node-arch}
581 <li>builder-{os}-prod-{executor-arch}
583 <li>perf test-cases selection
585 <li>pre-selected CSIT VPP NDRPDR perf suites
589 <li>jjb verify: PASS/FAIL
591 <li>analyse: csit project (catch malfunctions/degradations)
594 project-type: freestyle
595 node: 'builder-{os}-prod-{executor-arch}'
600 daysToKeep: '{build-days-to-keep}'
601 numToKeep: '{build-num-to-keep}'
602 artifactDaysToKeep: '{build-artifact-days-to-keep}'
603 artifactNumToKeep: '{build-artifact-num-to-keep}'
612 - fdio-infra-wrappers-non-activity-timeout:
613 build-timeout: '{build-timeout}'
616 - timed: '{periodicity}'
619 - shell: 'echo "BRANCH_ID={branch-id}" > $WORKSPACE/variables.prop'
621 properties-file: variables.prop
624 - ../scripts/setup_executor_env.sh
627 - ../scripts/csit/perf-timed.sh
633 name: 'csit-dpdk-perf-verify-{stream}-{node-arch}'
639 <li>perf verify - per csit gerrit patch
643 <li>name: <b>csit-dpdk-perf-verify-{stream}-{node-arch}</b>
644 <li>trigger: keyword in comment to csit patch:
645 <b>csit-dpdk-{node-arch}-perftest tag_list</b>
649 <li>builder-{os}-prod-{executor-arch}
651 <li>perf test-cases selection
653 <li>test-cases selected using trigger keyword followed by tags
654 <li>all test-cases are labelled with CSIT RF topic tags
655 defined in <i>csit/docs/tag_documentation.rst</i>
657 <li>default tags for dpdk perf test type
659 <li>IP4BASE, L2XCBASE
660 <li>64B: 64B packet size
662 <li>X710: x710 Fortville NIC
663 <li>MRR: MRR throughput
667 <li>jjb verify: PASS/FAIL
673 project-type: freestyle
674 node: 'builder-{os}-prod-{executor-arch}'
679 daysToKeep: '{build-days-to-keep}'
680 numToKeep: '{build-num-to-keep}'
681 artifactDaysToKeep: '{build-artifact-days-to-keep}'
682 artifactNumToKeep: '{build-artifact-num-to-keep}'
689 - csit-perf-trial-duration-parameter:
690 csit-perf-trial-duration: "{csit-perf-trial-duration}"
691 - csit-perf-trial-multiplicity-parameter:
692 csit-perf-trial-multiplicity: "{csit-perf-trial-multiplicity}"
695 - gerrit-trigger-scm:
696 credentials-id: 'jenkins-gerrit-credentials'
697 refspec: '$GERRIT_REFSPEC'
698 choosing-strategy: 'gerrit'
701 - fdio-infra-wrappers-non-activity-timeout:
702 build-timeout: '{build-timeout}'
705 - gerrit-trigger-csit-perftest:
708 trigger-word: 'csit-dpdk-{node-arch}-perftest'
714 - ../scripts/setup_executor_env.sh
717 - ../scripts/csit/perf-verify.sh
723 name: 'csit-dpdk-perf-mrr-weekly-master-{node-arch}'
729 <li>check dpdk perf mrr weekly
733 <li>builder-{os}-prod-{executor-arch}
735 <li>perf test-cases selection
737 <li>all CSIT DPDK MRR perf suites
741 <li>jjb verify: PASS/FAIL
743 <li>analyse: csit project (catch malfunctions/degradations)
747 project-type: freestyle
748 node: 'builder-{os}-prod-{executor-arch}'
753 daysToKeep: '{build-days-to-keep}'
754 numToKeep: '{build-num-to-keep}'
755 artifactDaysToKeep: '{build-artifact-days-to-keep}'
756 artifactNumToKeep: '{build-artifact-num-to-keep}'
763 - csit-perf-trial-duration-parameter:
764 csit-perf-trial-duration: "{csit-perf-trial-duration}"
765 - csit-perf-trial-multiplicity-parameter:
766 csit-perf-trial-multiplicity: "{csit-perf-trial-multiplicity}"
769 - fdio-infra-wrappers-non-activity-timeout:
770 build-timeout: '{build-timeout}'
773 - timed: '{periodicity}'
776 - shell: 'echo "BRANCH_ID={branch-id}" > $WORKSPACE/variables.prop'
778 properties-file: variables.prop
781 - ../scripts/setup_executor_env.sh
784 - ../scripts/csit/perf-timed.sh
790 name: 'csit-vpp-perf-report-iterative-{stream_report}-{node-arch}'
796 <li>get vpp performance iterative data for csit report
801 <b>csit-vpp-perf-report-iterative-{stream_report}-
803 <li>trigger: keyword in comment to csit patch:
804 <b>csit-vpp-report-iter-{node-arch}-perftest
807 csit-vpp-report-iter-{node-arch}-perftest vpp-00
811 <li>builder-{os}-prod-{executor-arch}
813 <li>perf test-cases selection
815 <li>test-cases selected by tags defined in
816 <i>csit/docs/job_specs/report_iterative/{node-arch}/
822 <li>jjb verify: PASS/FAIL
823 <li>present: vpp performance
824 <li>analyse: vpp performance
828 project-type: freestyle
829 node: 'builder-{os}-prod-{executor-arch}'
834 daysToKeep: '{build-days-to-keep}'
835 numToKeep: '{build-num-to-keep}'
836 artifactDaysToKeep: '{build-artifact-days-to-keep}'
837 artifactNumToKeep: '{build-artifact-num-to-keep}'
844 - gerrit-refspec-parameter
845 - gerrit-event-type-parameter
846 - gerrit-event-comment-text-parameter
847 - csit-perf-trial-duration-parameter:
848 csit-perf-trial-duration: "{csit-perf-trial-duration}"
849 - csit-perf-trial-multiplicity-parameter:
850 csit-perf-trial-multiplicity: "{csit-perf-trial-multiplicity}"
853 - gerrit-trigger-scm:
854 credentials-id: 'jenkins-gerrit-credentials'
855 refspec: '$GERRIT_REFSPEC'
856 choosing-strategy: 'gerrit'
859 - fdio-infra-wrappers-non-activity-timeout:
860 build-timeout: '{build-timeout}'
863 - gerrit-trigger-csit-perftest:
866 trigger-word: 'csit-vpp-report-iter-{node-arch}-perftest'
872 - ../scripts/setup_executor_env.sh
875 - ../scripts/csit/perf-verify.sh
881 name: 'csit-dpdk-perf-report-iterative-{stream_report}-{node-arch}'
887 <li>get dpdk performance iterative data for csit report
892 <b>csit-dpdk-perf-report-iterative-{stream_report}-
894 <li>trigger: keyword in comment to csit patch:
895 <b>csit-dpdk-report-iter-{node-arch}-perftest
898 csit-dpdk-report-iter-{node-arch}-perftest dpdk-00
902 <li>builder-{os}-prod-{executor-arch}
904 <li>perf test-cases selection
906 <li>test-cases selected by tags defined in
907 <i>csit/docs/job_specs/report_iterative/{node-arch}/
913 <li>jjb verify: PASS/FAIL
914 <li>present: dpdk performance
915 <li>analyse: dpdk performance
919 project-type: freestyle
920 node: 'builder-{os}-prod-{executor-arch}'
925 daysToKeep: '{build-days-to-keep}'
926 numToKeep: '{build-num-to-keep}'
927 artifactDaysToKeep: '{build-artifact-days-to-keep}'
928 artifactNumToKeep: '{build-artifact-num-to-keep}'
935 - gerrit-refspec-parameter
936 - gerrit-event-type-parameter
937 - gerrit-event-comment-text-parameter
938 - csit-perf-trial-duration-parameter:
939 csit-perf-trial-duration: "{csit-perf-trial-duration}"
940 - csit-perf-trial-multiplicity-parameter:
941 csit-perf-trial-multiplicity: "{csit-perf-trial-multiplicity}"
944 - gerrit-trigger-scm:
945 credentials-id: 'jenkins-gerrit-credentials'
946 refspec: '$GERRIT_REFSPEC'
947 choosing-strategy: 'gerrit'
950 - fdio-infra-wrappers-non-activity-timeout:
951 build-timeout: '{build-timeout}'
954 - gerrit-trigger-csit-perftest:
957 trigger-word: 'csit-dpdk-report-iter-{node-arch}-perftest'
963 - ../scripts/setup_executor_env.sh
966 - ../scripts/csit/perf-verify.sh
972 name: 'csit-vpp-perf-report-coverage-{stream_report}-{node-arch}'
978 <li>get vpp performance coverage data for csit report
983 <b>csit-vpp-perf-report-coverage-{stream_report}-
985 <li>trigger: keyword in comment to csit patch:
986 <b>csit-vpp-report-cov-{node-arch}-perftest
989 csit-vpp-report-cov-{node-arch}-perftest ip4-00
993 <li>builder-{os}-prod-{executor-arch}
995 <li>perf test-cases selection
997 <li>test-cases selected by tags defined in
998 <i>csit/docs/job_specs/report_coverage/{node-arch}/
1004 <li>jjb verify: PASS/FAIL
1005 <li>present: vpp performance
1006 <li>analyse: vpp performance
1010 project-type: freestyle
1011 node: 'builder-{os}-prod-{executor-arch}'
1016 daysToKeep: '{build-days-to-keep}'
1017 numToKeep: '{build-num-to-keep}'
1018 artifactDaysToKeep: '{build-artifact-days-to-keep}'
1019 artifactNumToKeep: '{build-artifact-num-to-keep}'
1022 - project-parameter:
1023 project: '{project}'
1026 - gerrit-refspec-parameter
1027 - gerrit-event-type-parameter
1028 - gerrit-event-comment-text-parameter
1029 - csit-perf-trial-duration-parameter:
1030 csit-perf-trial-duration: "{csit-perf-trial-duration}"
1031 - csit-perf-trial-multiplicity-parameter:
1032 csit-perf-trial-multiplicity: "{csit-perf-trial-multiplicity}"
1035 - gerrit-trigger-scm:
1036 credentials-id: 'jenkins-gerrit-credentials'
1037 refspec: '$GERRIT_REFSPEC'
1038 choosing-strategy: 'gerrit'
1041 - fdio-infra-wrappers-non-activity-timeout:
1042 build-timeout: '{build-timeout}'
1045 - gerrit-trigger-csit-perftest:
1046 project: '{project}'
1048 trigger-word: 'csit-vpp-report-cov-{node-arch}-perftest'
1053 !include-raw-escape:
1054 - ../scripts/setup_executor_env.sh
1056 !include-raw-escape:
1057 - ../scripts/csit/perf-verify.sh
1060 - fdio-infra-publish
1063 name: 'csit-dpdk-perf-report-coverage-{stream_report}-{node-arch}'
1069 <li>get dpdk performance coverage data for csit report
1074 <b>csit-dpdk-perf-report-coverage-{stream_report}-
1076 <li>trigger: keyword in comment to csit patch:
1077 <b>csit-dpdk-report-cov-{node-arch}-perftest
1079 <li>trigger example:
1080 csit-dpdk-report-cov-{node-arch}-perftest dpdk-00
1084 <li>builder-{os}-prod-{executor-arch}
1086 <li>perf test-cases selection
1088 <li>test-cases selected by tags defined in
1089 <i>csit/docs/job_specs/report_coverage/{node-arch}/
1095 <li>jjb verify: PASS/FAIL
1096 <li>present: dpdk performance
1097 <li>analyse: dpdk performance
1101 project-type: freestyle
1102 node: 'builder-{os}-prod-{executor-arch}'
1107 daysToKeep: '{build-days-to-keep}'
1108 numToKeep: '{build-num-to-keep}'
1109 artifactDaysToKeep: '{build-artifact-days-to-keep}'
1110 artifactNumToKeep: '{build-artifact-num-to-keep}'
1113 - project-parameter:
1114 project: '{project}'
1117 - gerrit-refspec-parameter
1118 - gerrit-event-type-parameter
1119 - gerrit-event-comment-text-parameter
1120 - csit-perf-trial-duration-parameter:
1121 csit-perf-trial-duration: "{csit-perf-trial-duration}"
1122 - csit-perf-trial-multiplicity-parameter:
1123 csit-perf-trial-multiplicity: "{csit-perf-trial-multiplicity}"
1126 - gerrit-trigger-scm:
1127 credentials-id: 'jenkins-gerrit-credentials'
1128 refspec: '$GERRIT_REFSPEC'
1129 choosing-strategy: 'gerrit'
1132 - fdio-infra-wrappers-non-activity-timeout:
1133 build-timeout: '{build-timeout}'
1136 - gerrit-trigger-csit-perftest:
1137 project: '{project}'
1139 trigger-word: 'csit-dpdk-report-cov-{node-arch}-perftest'
1144 !include-raw-escape:
1145 - ../scripts/setup_executor_env.sh
1147 !include-raw-escape:
1148 - ../scripts/csit/perf-verify.sh
1151 - fdio-infra-publish