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-dpdk-perf-verify-{stream}-{node-arch}':
28 executor: 'ubuntu1804arm-us'
33 executor: 'ubuntu1804arm-us'
34 - 'csit-dpdk-perf-mrr-weekly-master{node-arch}':
41 executor: 'ubuntu1804arm-us'
44 executor: 'ubuntu1804arm-us'
45 periodicity: '0 0 * * 6'
46 - 'csit-vpp-perf-verify-{stream}-{node-arch}':
53 executor: 'ubuntu1804arm-us'
58 executor: 'ubuntu1804arm-us'
65 branch-id: 'oper-rls2005'
68 branch-id: 'oper-rls2009'
71 branch-id: 'oper-rls2009_lts'
74 branch-id: 'oper-rls2101'
75 - 'csit-vpp-perf-mrr-daily-master{node-arch}':
78 periodicity: '0 2,14 * * *'
80 periodicity: '0 2,14 * * *'
82 periodicity: '0 2,14 * * *'
84 periodicity: '0 2,14 * * *'
86 periodicity: '0 2,14 * * *'
88 executor: 'ubuntu1804arm-us'
89 periodicity: '0 14 * * *'
91 periodicity: '0 2,14 * * *'
93 periodicity: '0 2,14 * * *'
95 executor: 'ubuntu1804arm-us'
96 periodicity: '0 14 * * *'
97 - 'csit-vpp-perf-mrr-weekly-{stream}-{node-arch}':
107 branch: 'rls2009_lts'
108 branch-id: 'oper-rls2009_lts'
109 periodicity: '0 0 * * 6'
110 - 'csit-vpp-perf-ndrpdr-weekly-master-{node-arch}':
116 periodicity: '0 0 * * 6'
117 - 'csit-vpp-perf-report-iterative-{stream_report}-{node-arch}':
124 executor: 'ubuntu1804arm-us'
129 executor: 'ubuntu1804arm-us'
130 - 'csit-dpdk-perf-report-iterative-{stream_report}-{node-arch}':
137 executor: 'ubuntu1804arm-us'
142 executor: 'ubuntu1804arm-us'
143 - 'csit-vpp-perf-report-coverage-{stream_report}-{node-arch}':
150 executor: 'ubuntu1804arm-us'
155 executor: 'ubuntu1804arm-us'
156 - 'csit-dpdk-perf-report-coverage-{stream_report}-{node-arch}':
163 executor: 'ubuntu1804arm-us'
168 executor: 'ubuntu1804arm-us'
171 executor: 'ubuntu1804-us'
174 csit-perf-trial-duration: "1.0"
175 csit-perf-trial-multiplicity: "10"
182 branch-id: 'oper-rls2005'
185 branch-id: 'oper-rls2009'
187 branch: 'rls2009_lts'
188 branch-id: 'oper-rls2009_lts'
191 branch-id: 'oper-rls2101'
195 branch-id: 'oper-rls2009'
198 branch-id: 'oper-rls2101'
200 build-artifact-num-to-keep: 10
204 name: 'csit-vpp-perf-verify-{stream}-{node-arch}'
210 <li>perf verify - per csit gerrit patch
214 <li>name: <b>csit-vpp-perf-verify-{stream}-{node-arch}</b>
215 <li>trigger: keyword in comment to csit patch:
216 <b>csit-{node-arch}-perftest tag_list</b>
222 <li>perf test-cases selection
224 <li>test-cases selected using trigger keyword followed by tags
225 <li>all test-cases are labelled with CSIT RF topic tags
226 defined in <i>csit/docs/tag_documentation.rst</i>
228 <li>proposed keywords
230 <li>focus on testing specified vpp packet processing path
231 <li>format: csit-{node-arch}-perftest tag_list
233 <li>default tags for vpp startup config and perf test type
235 <li>IP4BASE, IP6BASE, L2BDBASE
236 <li>64B/78B: 64B/78B packet size
238 <li>X710: x710 Fortville NIC
239 <li>MRR: MRR throughput
243 <li>jjb verify: PASS/FAIL
249 project-type: freestyle
252 archive-artifacts: 'archive/*.*'
256 daysToKeep: '{build-days-to-keep}'
257 numToKeep: '{build-num-to-keep}'
258 artifactDaysToKeep: '{build-artifact-days-to-keep}'
259 artifactNumToKeep: '{build-artifact-num-to-keep}'
266 - gerrit-refspec-parameter
267 - gerrit-event-type-parameter
268 - gerrit-event-comment-text-parameter
269 - csit-perf-trial-duration-parameter:
270 csit-perf-trial-duration: "{csit-perf-trial-duration}"
271 - csit-perf-trial-multiplicity-parameter:
272 csit-perf-trial-multiplicity: "{csit-perf-trial-multiplicity}"
274 name: ARCHIVE_ARTIFACTS
275 default: '{archive-artifacts}'
276 description: Artifacts to archive to the logs server.
277 # This is a manually-triggered verify job, part of API coverage.
278 # CRC checking is needed to ensure vpp crc job breaks only when intended.
279 # Can be removed when this job is no longer needed for full API coverage.
280 - csit-fail-on-crc-mismatch-parameter:
281 fail-on-crc-mismatch: 'True'
284 - gerrit-trigger-scm:
285 credentials-id: 'jenkins-gerrit-credentials'
286 refspec: '$GERRIT_REFSPEC'
287 choosing-strategy: 'gerrit'
290 - fdio-infra-wrappers-non-activity-timeout:
291 build-timeout: '{build-timeout}'
294 - gerrit-trigger-csit-perftest:
297 trigger-word: 'csit-{node-arch}-perftest'
303 - ../scripts/setup_executor_env.sh
306 - ../scripts/csit/perf-verify.sh
310 output-path: 'archives'
314 - fdio-infra-shiplogs:
315 maven-version: 'mvn33-new'
318 name: 'csit-vpp-perf-mrr-daily-master{node-arch}'
324 <li>check vpp perf mrr daily
330 <li>perf test-cases selection
332 <li>all CSIT VPP MRR perf suites
336 <li>jjb verify: PASS/FAIL
338 <li>analyse: csit project (catch malfunctions/degradations)
342 project-type: freestyle
345 archive-artifacts: 'csit/archive/*.*'
349 daysToKeep: '{build-days-to-keep}'
350 numToKeep: '{build-num-to-keep}'
351 artifactDaysToKeep: '{build-artifact-days-to-keep}'
352 artifactNumToKeep: '{build-artifact-num-to-keep}'
359 - csit-perf-trial-duration-parameter:
360 csit-perf-trial-duration: "{csit-perf-trial-duration}"
361 - csit-perf-trial-multiplicity-parameter:
362 csit-perf-trial-multiplicity: "{csit-perf-trial-multiplicity}"
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}'
373 - timed: '{periodicity}'
376 - shell: 'echo "BRANCH_ID={branch-id}" > $WORKSPACE/variables.prop'
378 properties-file: variables.prop
381 - ../scripts/setup_executor_env.sh
384 - ../scripts/csit/perf-timed.sh
388 output-path: 'archives'
392 - fdio-infra-shiplogs:
393 maven-version: 'mvn33-new'
396 name: 'csit-vpp-perf-mrr-weekly-{stream}-{node-arch}'
402 <li>check vpp perf mrr weekly on {node-arch}
408 <li>perf test-cases selection
410 <li>NF Density CSIT VPP MRR perf suites
414 <li>jjb verify: PASS/FAIL
416 <li>analyse: csit project (catch malfunctions/degradations)
420 project-type: freestyle
423 archive-artifacts: 'csit/archive/*.*'
427 daysToKeep: '{build-days-to-keep}'
428 numToKeep: '{build-num-to-keep}'
429 artifactDaysToKeep: '{build-artifact-days-to-keep}'
430 artifactNumToKeep: '{build-artifact-num-to-keep}'
437 - csit-perf-trial-duration-parameter:
438 csit-perf-trial-duration: "{csit-perf-trial-duration}"
439 - csit-perf-trial-multiplicity-parameter:
440 csit-perf-trial-multiplicity: "{csit-perf-trial-multiplicity}"
442 name: ARCHIVE_ARTIFACTS
443 default: '{archive-artifacts}'
444 description: Artifacts to archive to the logs server.
447 - fdio-infra-wrappers-non-activity-timeout:
448 build-timeout: '{build-timeout}'
451 - timed: '{periodicity}'
454 - shell: 'echo "BRANCH_ID={branch-id}" > $WORKSPACE/variables.prop'
456 properties-file: variables.prop
459 - ../scripts/setup_executor_env.sh
462 - ../scripts/csit/perf-timed.sh
466 output-path: 'archives'
470 - fdio-infra-shiplogs:
471 maven-version: 'mvn33-new'
474 name: 'csit-vpp-perf-ndrpdr-weekly-master-{node-arch}'
480 <li>check vpp perf ndrpdr weekly on {node-arch}
486 <li>perf test-cases selection
488 <li>pre-selected CSIT VPP NDRPDR perf suites
492 <li>jjb verify: PASS/FAIL
494 <li>analyse: csit project (catch malfunctions/degradations)
497 project-type: freestyle
500 archive-artifacts: 'csit/archive/*.*'
504 daysToKeep: '{build-days-to-keep}'
505 numToKeep: '{build-num-to-keep}'
506 artifactDaysToKeep: '{build-artifact-days-to-keep}'
507 artifactNumToKeep: '{build-artifact-num-to-keep}'
515 name: ARCHIVE_ARTIFACTS
516 default: '{archive-artifacts}'
517 description: Artifacts to archive to the logs server.
520 - fdio-infra-wrappers-non-activity-timeout:
521 build-timeout: '{build-timeout}'
524 - timed: '{periodicity}'
527 - shell: 'echo "BRANCH_ID={branch-id}" > $WORKSPACE/variables.prop'
529 properties-file: variables.prop
532 - ../scripts/setup_executor_env.sh
535 - ../scripts/csit/perf-timed.sh
539 output-path: 'archives'
543 - fdio-infra-shiplogs:
544 maven-version: 'mvn33-new'
547 name: 'csit-dpdk-perf-verify-{stream}-{node-arch}'
553 <li>perf verify - per csit gerrit patch
557 <li>name: <b>csit-dpdk-perf-verify-{stream}-{node-arch}</b>
558 <li>trigger: keyword in comment to csit patch:
559 <b>csit-dpdk-{node-arch}-perftest tag_list</b>
565 <li>perf test-cases selection
567 <li>test-cases selected using trigger keyword followed by tags
568 <li>all test-cases are labelled with CSIT RF topic tags
569 defined in <i>csit/docs/tag_documentation.rst</i>
571 <li>default tags for dpdk perf test type
573 <li>IP4BASE, L2XCBASE
574 <li>64B: 64B packet size
576 <li>X710: x710 Fortville NIC
577 <li>MRR: MRR throughput
581 <li>jjb verify: PASS/FAIL
587 project-type: freestyle
590 archive-artifacts: 'archive/*.*'
594 daysToKeep: '{build-days-to-keep}'
595 numToKeep: '{build-num-to-keep}'
596 artifactDaysToKeep: '{build-artifact-days-to-keep}'
597 artifactNumToKeep: '{build-artifact-num-to-keep}'
604 - csit-perf-trial-duration-parameter:
605 csit-perf-trial-duration: "{csit-perf-trial-duration}"
606 - csit-perf-trial-multiplicity-parameter:
607 csit-perf-trial-multiplicity: "{csit-perf-trial-multiplicity}"
609 name: ARCHIVE_ARTIFACTS
610 default: '{archive-artifacts}'
611 description: Artifacts to archive to the logs server.
614 - gerrit-trigger-scm:
615 credentials-id: 'jenkins-gerrit-credentials'
616 refspec: '$GERRIT_REFSPEC'
617 choosing-strategy: 'gerrit'
620 - fdio-infra-wrappers-non-activity-timeout:
621 build-timeout: '{build-timeout}'
624 - gerrit-trigger-csit-perftest:
627 trigger-word: 'csit-dpdk-{node-arch}-perftest'
633 - ../scripts/setup_executor_env.sh
636 - ../scripts/csit/perf-verify.sh
640 output-path: 'archives'
644 - fdio-infra-shiplogs:
645 maven-version: 'mvn33-new'
648 name: 'csit-dpdk-perf-mrr-weekly-master{node-arch}'
654 <li>check dpdk perf mrr weekly
660 <li>perf test-cases selection
662 <li>all CSIT DPDK MRR perf suites
666 <li>jjb verify: PASS/FAIL
668 <li>analyse: csit project (catch malfunctions/degradations)
672 project-type: freestyle
675 archive-artifacts: 'csit/archive/*.*'
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}"
694 name: ARCHIVE_ARTIFACTS
695 default: '{archive-artifacts}'
696 description: Artifacts to archive to the logs server.
699 - fdio-infra-wrappers-non-activity-timeout:
700 build-timeout: '{build-timeout}'
703 - timed: '{periodicity}'
706 - shell: 'echo "BRANCH_ID={branch-id}" > $WORKSPACE/variables.prop'
708 properties-file: variables.prop
711 - ../scripts/setup_executor_env.sh
714 - ../scripts/csit/perf-timed.sh
718 output-path: 'archives'
722 - fdio-infra-shiplogs:
723 maven-version: 'mvn33-new'
726 name: 'csit-vpp-perf-report-iterative-{stream_report}-{node-arch}'
732 <li>get vpp performance iterative data for csit report
737 <b>csit-vpp-perf-report-iterative-{stream_report}-
739 <li>trigger: keyword in comment to csit patch:
740 <b>csit-vpp-report-iter-{node-arch}-perftest
743 csit-vpp-report-iter-{node-arch}-perftest vpp-00
749 <li>perf test-cases selection
751 <li>test-cases selected by tags defined in
752 <i>csit/docs/job_specs/report_iterative/{node-arch}/
758 <li>jjb verify: PASS/FAIL
759 <li>present: vpp performance
760 <li>analyse: vpp performance
764 project-type: freestyle
767 archive-artifacts: 'archive/*.*'
771 daysToKeep: '{build-days-to-keep}'
772 numToKeep: '{build-num-to-keep}'
773 artifactDaysToKeep: '{build-artifact-days-to-keep}'
774 artifactNumToKeep: '{build-artifact-num-to-keep}'
781 - gerrit-refspec-parameter
782 - gerrit-event-type-parameter
783 - gerrit-event-comment-text-parameter
784 - csit-perf-trial-duration-parameter:
785 csit-perf-trial-duration: "{csit-perf-trial-duration}"
786 - csit-perf-trial-multiplicity-parameter:
787 csit-perf-trial-multiplicity: "{csit-perf-trial-multiplicity}"
789 name: ARCHIVE_ARTIFACTS
790 default: '{archive-artifacts}'
791 description: Artifacts to archive to the logs server.
794 - gerrit-trigger-scm:
795 credentials-id: 'jenkins-gerrit-credentials'
796 refspec: '$GERRIT_REFSPEC'
797 choosing-strategy: 'gerrit'
800 - fdio-infra-wrappers-non-activity-timeout:
801 build-timeout: '{build-timeout}'
804 - gerrit-trigger-csit-perftest:
807 trigger-word: 'csit-vpp-report-iter-{node-arch}-perftest'
813 - ../scripts/setup_executor_env.sh
816 - ../scripts/csit/perf-verify.sh
820 output-path: 'archives'
824 - fdio-infra-shiplogs:
825 maven-version: 'mvn33-new'
828 name: 'csit-dpdk-perf-report-iterative-{stream_report}-{node-arch}'
834 <li>get dpdk performance iterative data for csit report
839 <b>csit-dpdk-perf-report-iterative-{stream_report}-
841 <li>trigger: keyword in comment to csit patch:
842 <b>csit-dpdk-report-iter-{node-arch}-perftest
845 csit-dpdk-report-iter-{node-arch}-perftest dpdk-00
851 <li>perf test-cases selection
853 <li>test-cases selected by tags defined in
854 <i>csit/docs/job_specs/report_iterative/{node-arch}/
860 <li>jjb verify: PASS/FAIL
861 <li>present: dpdk performance
862 <li>analyse: dpdk performance
866 project-type: freestyle
869 archive-artifacts: 'archive/*.*'
873 daysToKeep: '{build-days-to-keep}'
874 numToKeep: '{build-num-to-keep}'
875 artifactDaysToKeep: '{build-artifact-days-to-keep}'
876 artifactNumToKeep: '{build-artifact-num-to-keep}'
883 - gerrit-refspec-parameter
884 - gerrit-event-type-parameter
885 - gerrit-event-comment-text-parameter
886 - csit-perf-trial-duration-parameter:
887 csit-perf-trial-duration: "{csit-perf-trial-duration}"
888 - csit-perf-trial-multiplicity-parameter:
889 csit-perf-trial-multiplicity: "{csit-perf-trial-multiplicity}"
891 name: ARCHIVE_ARTIFACTS
892 default: '{archive-artifacts}'
893 description: Artifacts to archive to the logs server.
896 - gerrit-trigger-scm:
897 credentials-id: 'jenkins-gerrit-credentials'
898 refspec: '$GERRIT_REFSPEC'
899 choosing-strategy: 'gerrit'
902 - fdio-infra-wrappers-non-activity-timeout:
903 build-timeout: '{build-timeout}'
906 - gerrit-trigger-csit-perftest:
909 trigger-word: 'csit-dpdk-report-iter-{node-arch}-perftest'
915 - ../scripts/setup_executor_env.sh
918 - ../scripts/csit/perf-verify.sh
922 output-path: 'archives'
926 - fdio-infra-shiplogs:
927 maven-version: 'mvn33-new'
930 name: 'csit-vpp-perf-report-coverage-{stream_report}-{node-arch}'
936 <li>get vpp performance coverage data for csit report
941 <b>csit-vpp-perf-report-coverage-{stream_report}-
943 <li>trigger: keyword in comment to csit patch:
944 <b>csit-vpp-report-cov-{node-arch}-perftest
947 csit-vpp-report-cov-{node-arch}-perftest ip4-00
953 <li>perf test-cases selection
955 <li>test-cases selected by tags defined in
956 <i>csit/docs/job_specs/report_coverage/{node-arch}/
962 <li>jjb verify: PASS/FAIL
963 <li>present: vpp performance
964 <li>analyse: vpp performance
968 project-type: freestyle
971 archive-artifacts: 'archive/*.*'
975 daysToKeep: '{build-days-to-keep}'
976 numToKeep: '{build-num-to-keep}'
977 artifactDaysToKeep: '{build-artifact-days-to-keep}'
978 artifactNumToKeep: '{build-artifact-num-to-keep}'
985 - gerrit-refspec-parameter
986 - gerrit-event-type-parameter
987 - gerrit-event-comment-text-parameter
988 - csit-perf-trial-duration-parameter:
989 csit-perf-trial-duration: "{csit-perf-trial-duration}"
990 - csit-perf-trial-multiplicity-parameter:
991 csit-perf-trial-multiplicity: "{csit-perf-trial-multiplicity}"
993 name: ARCHIVE_ARTIFACTS
994 default: '{archive-artifacts}'
995 description: Artifacts to archive to the logs server.
998 - gerrit-trigger-scm:
999 credentials-id: 'jenkins-gerrit-credentials'
1000 refspec: '$GERRIT_REFSPEC'
1001 choosing-strategy: 'gerrit'
1004 - fdio-infra-wrappers-non-activity-timeout:
1005 build-timeout: '{build-timeout}'
1008 - gerrit-trigger-csit-perftest:
1009 project: '{project}'
1011 trigger-word: 'csit-vpp-report-cov-{node-arch}-perftest'
1016 !include-raw-escape:
1017 - ../scripts/setup_executor_env.sh
1019 !include-raw-escape:
1020 - ../scripts/csit/perf-verify.sh
1024 output-path: 'archives'
1028 - fdio-infra-shiplogs:
1029 maven-version: 'mvn33-new'
1032 name: 'csit-dpdk-perf-report-coverage-{stream_report}-{node-arch}'
1038 <li>get dpdk performance coverage data for csit report
1043 <b>csit-dpdk-perf-report-coverage-{stream_report}-
1045 <li>trigger: keyword in comment to csit patch:
1046 <b>csit-dpdk-report-cov-{node-arch}-perftest
1048 <li>trigger example:
1049 csit-dpdk-report-cov-{node-arch}-perftest dpdk-00
1055 <li>perf test-cases selection
1057 <li>test-cases selected by tags defined in
1058 <i>csit/docs/job_specs/report_coverage/{node-arch}/
1064 <li>jjb verify: PASS/FAIL
1065 <li>present: dpdk performance
1066 <li>analyse: dpdk performance
1070 project-type: freestyle
1073 archive-artifacts: 'archive/*.*'
1077 daysToKeep: '{build-days-to-keep}'
1078 numToKeep: '{build-num-to-keep}'
1079 artifactDaysToKeep: '{build-artifact-days-to-keep}'
1080 artifactNumToKeep: '{build-artifact-num-to-keep}'
1083 - project-parameter:
1084 project: '{project}'
1087 - gerrit-refspec-parameter
1088 - gerrit-event-type-parameter
1089 - gerrit-event-comment-text-parameter
1090 - csit-perf-trial-duration-parameter:
1091 csit-perf-trial-duration: "{csit-perf-trial-duration}"
1092 - csit-perf-trial-multiplicity-parameter:
1093 csit-perf-trial-multiplicity: "{csit-perf-trial-multiplicity}"
1095 name: ARCHIVE_ARTIFACTS
1096 default: '{archive-artifacts}'
1097 description: Artifacts to archive to the logs server.
1100 - gerrit-trigger-scm:
1101 credentials-id: 'jenkins-gerrit-credentials'
1102 refspec: '$GERRIT_REFSPEC'
1103 choosing-strategy: 'gerrit'
1106 - fdio-infra-wrappers-non-activity-timeout:
1107 build-timeout: '{build-timeout}'
1110 - gerrit-trigger-csit-perftest:
1111 project: '{project}'
1113 trigger-word: 'csit-dpdk-report-cov-{node-arch}-perftest'
1118 !include-raw-escape:
1119 - ../scripts/setup_executor_env.sh
1121 !include-raw-escape:
1122 - ../scripts/csit/perf-verify.sh
1126 output-path: 'archives'
1130 - fdio-infra-shiplogs:
1131 maven-version: 'mvn33-new'