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}':
31 executor: 'ubuntu1804arm-us'
32 - 'csit-dpdk-perf-mrr-weekly-master{node-arch}':
40 executor: 'ubuntu1804arm-us'
41 periodicity: '0 0 * * 6'
42 - 'csit-vpp-perf-verify-{stream}-{node-arch}':
52 executor: 'ubuntu1804arm-us'
59 branch-id: 'oper-rls1908_1'
62 branch-id: 'oper-rls1908_2'
65 branch-id: 'oper-rls2005'
68 branch-id: 'oper-rls2009'
71 branch-id: 'oper-rls2009_lts'
72 - 'csit-vpp-perf-mrr-daily-master{node-arch}':
75 periodicity: '0 2,14 * * *'
77 periodicity: '0 2,14 * * *'
79 periodicity: '0 2,14 * * *'
81 periodicity: '0 2,14 * * *'
83 periodicity: '0 2,14 * * *'
85 periodicity: '0 2,14 * * *'
87 periodicity: '0 2,14 * * *'
89 executor: 'ubuntu1804arm-us'
90 periodicity: '0 14 * * *'
91 - 'csit-vpp-perf-mrr-weekly-{stream}-{node-arch}':
102 branch-id: 'oper-rls1908_2'
104 branch: 'rls2009_lts'
105 branch-id: 'oper-rls2009_lts'
106 periodicity: '0 0 * * 6'
107 - 'csit-vpp-perf-ndrpdr-weekly-master-{node-arch}':
113 periodicity: '0 0 * * 6'
114 - 'csit-vpp-perf-report-iterative-{stream_report}-{node-arch}':
124 executor: 'ubuntu1804arm-us'
125 - 'csit-dpdk-perf-report-iterative-{stream_report}-{node-arch}':
135 executor: 'ubuntu1804arm-us'
136 - 'csit-vpp-perf-report-coverage-{stream_report}-{node-arch}':
146 executor: 'ubuntu1804arm-us'
147 - 'csit-dpdk-perf-report-coverage-{stream_report}-{node-arch}':
157 executor: 'ubuntu1804arm-us'
160 executor: 'ubuntu1804-us'
163 csit-perf-trial-duration: "1.0"
164 csit-perf-trial-multiplicity: "10"
171 branch-id: 'oper-rls1908_2'
174 branch-id: 'oper-rls2005'
177 branch-id: 'oper-rls2009'
179 branch: 'rls2009_lts'
180 branch-id: 'oper-rls2009_lts'
184 branch-id: 'oper-rls2009'
186 build-artifact-num-to-keep: 10
190 name: 'csit-vpp-perf-verify-{stream}-{node-arch}'
196 <li>perf verify - per csit gerrit patch
200 <li>name: <b>csit-vpp-perf-verify-{stream}-{node-arch}</b>
201 <li>trigger: keyword in comment to csit patch:
202 <b>csit-{node-arch}-perftest tag_list</b>
208 <li>perf test-cases selection
210 <li>test-cases selected using trigger keyword followed by tags
211 <li>all test-cases are labelled with CSIT RF topic tags
212 defined in <i>csit/docs/tag_documentation.rst</i>
214 <li>proposed keywords
216 <li>focus on testing specified vpp packet processing path
217 <li>format: csit-{node-arch}-perftest tag_list
219 <li>default tags for vpp startup config and perf test type
221 <li>IP4BASE, IP6BASE, L2BDBASE
222 <li>64B/78B: 64B/78B packet size
224 <li>X710: x710 Fortville NIC
225 <li>MRR: MRR throughput
229 <li>jjb verify: PASS/FAIL
235 project-type: freestyle
238 archive-artifacts: 'archive/*.*'
242 daysToKeep: '{build-days-to-keep}'
243 numToKeep: '{build-num-to-keep}'
244 artifactDaysToKeep: '{build-artifact-days-to-keep}'
245 artifactNumToKeep: '{build-artifact-num-to-keep}'
252 - gerrit-refspec-parameter
253 - gerrit-event-type-parameter
254 - gerrit-event-comment-text-parameter
255 - csit-perf-trial-duration-parameter:
256 csit-perf-trial-duration: "{csit-perf-trial-duration}"
257 - csit-perf-trial-multiplicity-parameter:
258 csit-perf-trial-multiplicity: "{csit-perf-trial-multiplicity}"
260 name: ARCHIVE_ARTIFACTS
261 default: '{archive-artifacts}'
262 description: Artifacts to archive to the logs server.
263 # This is a manually-triggered verify job, part of API coverage.
264 # CRC checking is needed to ensure vpp crc job breaks only when intended.
265 # Can be removed when this job is no longer needed for full API coverage.
266 - csit-fail-on-crc-mismatch-parameter:
267 fail-on-crc-mismatch: 'True'
270 - gerrit-trigger-scm:
271 credentials-id: 'jenkins-gerrit-credentials'
272 refspec: '$GERRIT_REFSPEC'
273 choosing-strategy: 'gerrit'
276 - fdio-infra-wrappers-non-activity-timeout:
277 build-timeout: '{build-timeout}'
280 - gerrit-trigger-csit-perftest:
283 trigger-word: 'csit-{node-arch}-perftest'
289 - ../scripts/setup_executor_env.sh
292 - ../scripts/csit/perf-verify.sh
296 output-path: 'archives'
300 - fdio-infra-shiplogs:
301 maven-version: 'mvn33-new'
304 name: 'csit-vpp-perf-mrr-daily-master{node-arch}'
310 <li>check vpp perf mrr daily
316 <li>perf test-cases selection
318 <li>all CSIT VPP MRR perf suites
322 <li>jjb verify: PASS/FAIL
324 <li>analyse: csit project (catch malfunctions/degradations)
328 project-type: freestyle
331 archive-artifacts: 'csit/archive/*.*'
335 daysToKeep: '{build-days-to-keep}'
336 numToKeep: '{build-num-to-keep}'
337 artifactDaysToKeep: '{build-artifact-days-to-keep}'
338 artifactNumToKeep: '{build-artifact-num-to-keep}'
345 - csit-perf-trial-duration-parameter:
346 csit-perf-trial-duration: "{csit-perf-trial-duration}"
347 - csit-perf-trial-multiplicity-parameter:
348 csit-perf-trial-multiplicity: "{csit-perf-trial-multiplicity}"
350 name: ARCHIVE_ARTIFACTS
351 default: '{archive-artifacts}'
352 description: Artifacts to archive to the logs server.
355 - fdio-infra-wrappers-non-activity-timeout:
356 build-timeout: '{build-timeout}'
359 - timed: '{periodicity}'
362 - shell: 'echo "BRANCH_ID={branch-id}" > $WORKSPACE/variables.prop'
364 properties-file: variables.prop
367 - ../scripts/setup_executor_env.sh
370 - ../scripts/csit/perf-timed.sh
374 output-path: 'archives'
378 - fdio-infra-shiplogs:
379 maven-version: 'mvn33-new'
382 name: 'csit-vpp-perf-mrr-weekly-{stream}-{node-arch}'
388 <li>check vpp perf mrr weekly on {node-arch}
394 <li>perf test-cases selection
396 <li>NF Density CSIT VPP MRR perf suites
400 <li>jjb verify: PASS/FAIL
402 <li>analyse: csit project (catch malfunctions/degradations)
406 project-type: freestyle
409 archive-artifacts: 'csit/archive/*.*'
413 daysToKeep: '{build-days-to-keep}'
414 numToKeep: '{build-num-to-keep}'
415 artifactDaysToKeep: '{build-artifact-days-to-keep}'
416 artifactNumToKeep: '{build-artifact-num-to-keep}'
423 - csit-perf-trial-duration-parameter:
424 csit-perf-trial-duration: "{csit-perf-trial-duration}"
425 - csit-perf-trial-multiplicity-parameter:
426 csit-perf-trial-multiplicity: "{csit-perf-trial-multiplicity}"
428 name: ARCHIVE_ARTIFACTS
429 default: '{archive-artifacts}'
430 description: Artifacts to archive to the logs server.
433 - fdio-infra-wrappers-non-activity-timeout:
434 build-timeout: '{build-timeout}'
437 - timed: '{periodicity}'
440 - shell: 'echo "BRANCH_ID={branch-id}" > $WORKSPACE/variables.prop'
442 properties-file: variables.prop
445 - ../scripts/setup_executor_env.sh
448 - ../scripts/csit/perf-timed.sh
452 output-path: 'archives'
456 - fdio-infra-shiplogs:
457 maven-version: 'mvn33-new'
460 name: 'csit-vpp-perf-ndrpdr-weekly-master-{node-arch}'
466 <li>check vpp perf ndrpdr weekly on {node-arch}
472 <li>perf test-cases selection
474 <li>pre-selected CSIT VPP NDRPDR perf suites
478 <li>jjb verify: PASS/FAIL
480 <li>analyse: csit project (catch malfunctions/degradations)
483 project-type: freestyle
486 archive-artifacts: 'csit/archive/*.*'
490 daysToKeep: '{build-days-to-keep}'
491 numToKeep: '{build-num-to-keep}'
492 artifactDaysToKeep: '{build-artifact-days-to-keep}'
493 artifactNumToKeep: '{build-artifact-num-to-keep}'
501 name: ARCHIVE_ARTIFACTS
502 default: '{archive-artifacts}'
503 description: Artifacts to archive to the logs server.
506 - fdio-infra-wrappers-non-activity-timeout:
507 build-timeout: '{build-timeout}'
510 - timed: '{periodicity}'
513 - shell: 'echo "BRANCH_ID={branch-id}" > $WORKSPACE/variables.prop'
515 properties-file: variables.prop
518 - ../scripts/setup_executor_env.sh
521 - ../scripts/csit/perf-timed.sh
525 output-path: 'archives'
529 - fdio-infra-shiplogs:
530 maven-version: 'mvn33-new'
533 name: 'csit-dpdk-perf-verify-{stream}-{node-arch}'
539 <li>perf verify - per csit gerrit patch
543 <li>name: <b>csit-dpdk-perf-verify-{stream}-{node-arch}</b>
544 <li>trigger: keyword in comment to csit patch:
545 <b>csit-dpdk-{node-arch}-perftest tag_list</b>
551 <li>perf test-cases selection
553 <li>test-cases selected using trigger keyword followed by tags
554 <li>all test-cases are labelled with CSIT RF topic tags
555 defined in <i>csit/docs/tag_documentation.rst</i>
557 <li>default tags for dpdk perf test type
559 <li>IP4BASE, L2XCBASE
560 <li>64B: 64B packet size
562 <li>X710: x710 Fortville NIC
563 <li>MRR: MRR throughput
567 <li>jjb verify: PASS/FAIL
573 project-type: freestyle
576 archive-artifacts: 'archive/*.*'
580 daysToKeep: '{build-days-to-keep}'
581 numToKeep: '{build-num-to-keep}'
582 artifactDaysToKeep: '{build-artifact-days-to-keep}'
583 artifactNumToKeep: '{build-artifact-num-to-keep}'
590 - csit-perf-trial-duration-parameter:
591 csit-perf-trial-duration: "{csit-perf-trial-duration}"
592 - csit-perf-trial-multiplicity-parameter:
593 csit-perf-trial-multiplicity: "{csit-perf-trial-multiplicity}"
595 name: ARCHIVE_ARTIFACTS
596 default: '{archive-artifacts}'
597 description: Artifacts to archive to the logs server.
600 - gerrit-trigger-scm:
601 credentials-id: 'jenkins-gerrit-credentials'
602 refspec: '$GERRIT_REFSPEC'
603 choosing-strategy: 'gerrit'
606 - fdio-infra-wrappers-non-activity-timeout:
607 build-timeout: '{build-timeout}'
610 - gerrit-trigger-csit-perftest:
613 trigger-word: 'csit-dpdk-{node-arch}-perftest'
619 - ../scripts/setup_executor_env.sh
622 - ../scripts/csit/perf-verify.sh
626 output-path: 'archives'
630 - fdio-infra-shiplogs:
631 maven-version: 'mvn33-new'
634 name: 'csit-dpdk-perf-mrr-weekly-master{node-arch}'
640 <li>check dpdk perf mrr weekly
646 <li>perf test-cases selection
648 <li>all CSIT DPDK MRR perf suites
652 <li>jjb verify: PASS/FAIL
654 <li>analyse: csit project (catch malfunctions/degradations)
658 project-type: freestyle
661 archive-artifacts: 'csit/archive/*.*'
665 daysToKeep: '{build-days-to-keep}'
666 numToKeep: '{build-num-to-keep}'
667 artifactDaysToKeep: '{build-artifact-days-to-keep}'
668 artifactNumToKeep: '{build-artifact-num-to-keep}'
675 - csit-perf-trial-duration-parameter:
676 csit-perf-trial-duration: "{csit-perf-trial-duration}"
677 - csit-perf-trial-multiplicity-parameter:
678 csit-perf-trial-multiplicity: "{csit-perf-trial-multiplicity}"
680 name: ARCHIVE_ARTIFACTS
681 default: '{archive-artifacts}'
682 description: Artifacts to archive to the logs server.
685 - fdio-infra-wrappers-non-activity-timeout:
686 build-timeout: '{build-timeout}'
689 - timed: '{periodicity}'
692 - shell: 'echo "BRANCH_ID={branch-id}" > $WORKSPACE/variables.prop'
694 properties-file: variables.prop
697 - ../scripts/setup_executor_env.sh
700 - ../scripts/csit/perf-timed.sh
704 output-path: 'archives'
708 - fdio-infra-shiplogs:
709 maven-version: 'mvn33-new'
712 name: 'csit-vpp-perf-report-iterative-{stream_report}-{node-arch}'
718 <li>get vpp performance iterative data for csit report
723 <b>csit-vpp-perf-report-iterative-{stream_report}-
725 <li>trigger: keyword in comment to csit patch:
726 <b>csit-vpp-report-iter-{node-arch}-perftest
729 csit-vpp-report-iter-{node-arch}-perftest vpp-00
735 <li>perf test-cases selection
737 <li>test-cases selected by tags defined in
738 <i>csit/docs/job_specs/report_iterative/{node-arch}/
744 <li>jjb verify: PASS/FAIL
745 <li>present: vpp performance
746 <li>analyse: vpp performance
750 project-type: freestyle
753 archive-artifacts: 'archive/*.*'
757 daysToKeep: '{build-days-to-keep}'
758 numToKeep: '{build-num-to-keep}'
759 artifactDaysToKeep: '{build-artifact-days-to-keep}'
760 artifactNumToKeep: '{build-artifact-num-to-keep}'
767 - gerrit-refspec-parameter
768 - gerrit-event-type-parameter
769 - gerrit-event-comment-text-parameter
770 - csit-perf-trial-duration-parameter:
771 csit-perf-trial-duration: "{csit-perf-trial-duration}"
772 - csit-perf-trial-multiplicity-parameter:
773 csit-perf-trial-multiplicity: "{csit-perf-trial-multiplicity}"
775 name: ARCHIVE_ARTIFACTS
776 default: '{archive-artifacts}'
777 description: Artifacts to archive to the logs server.
780 - gerrit-trigger-scm:
781 credentials-id: 'jenkins-gerrit-credentials'
782 refspec: '$GERRIT_REFSPEC'
783 choosing-strategy: 'gerrit'
786 - fdio-infra-wrappers-non-activity-timeout:
787 build-timeout: '{build-timeout}'
790 - gerrit-trigger-csit-perftest:
793 trigger-word: 'csit-vpp-report-iter-{node-arch}-perftest'
799 - ../scripts/setup_executor_env.sh
802 - ../scripts/csit/perf-verify.sh
806 output-path: 'archives'
810 - fdio-infra-shiplogs:
811 maven-version: 'mvn33-new'
814 name: 'csit-dpdk-perf-report-iterative-{stream_report}-{node-arch}'
820 <li>get dpdk performance iterative data for csit report
825 <b>csit-dpdk-perf-report-iterative-{stream_report}-
827 <li>trigger: keyword in comment to csit patch:
828 <b>csit-dpdk-report-iter-{node-arch}-perftest
831 csit-dpdk-report-iter-{node-arch}-perftest dpdk-00
837 <li>perf test-cases selection
839 <li>test-cases selected by tags defined in
840 <i>csit/docs/job_specs/report_iterative/{node-arch}/
846 <li>jjb verify: PASS/FAIL
847 <li>present: dpdk performance
848 <li>analyse: dpdk performance
852 project-type: freestyle
855 archive-artifacts: 'archive/*.*'
859 daysToKeep: '{build-days-to-keep}'
860 numToKeep: '{build-num-to-keep}'
861 artifactDaysToKeep: '{build-artifact-days-to-keep}'
862 artifactNumToKeep: '{build-artifact-num-to-keep}'
869 - gerrit-refspec-parameter
870 - gerrit-event-type-parameter
871 - gerrit-event-comment-text-parameter
872 - csit-perf-trial-duration-parameter:
873 csit-perf-trial-duration: "{csit-perf-trial-duration}"
874 - csit-perf-trial-multiplicity-parameter:
875 csit-perf-trial-multiplicity: "{csit-perf-trial-multiplicity}"
877 name: ARCHIVE_ARTIFACTS
878 default: '{archive-artifacts}'
879 description: Artifacts to archive to the logs server.
882 - gerrit-trigger-scm:
883 credentials-id: 'jenkins-gerrit-credentials'
884 refspec: '$GERRIT_REFSPEC'
885 choosing-strategy: 'gerrit'
888 - fdio-infra-wrappers-non-activity-timeout:
889 build-timeout: '{build-timeout}'
892 - gerrit-trigger-csit-perftest:
895 trigger-word: 'csit-dpdk-report-iter-{node-arch}-perftest'
901 - ../scripts/setup_executor_env.sh
904 - ../scripts/csit/perf-verify.sh
908 output-path: 'archives'
912 - fdio-infra-shiplogs:
913 maven-version: 'mvn33-new'
916 name: 'csit-vpp-perf-report-coverage-{stream_report}-{node-arch}'
922 <li>get vpp performance coverage data for csit report
927 <b>csit-vpp-perf-report-coverage-{stream_report}-
929 <li>trigger: keyword in comment to csit patch:
930 <b>csit-vpp-report-cov-{node-arch}-perftest
933 csit-vpp-report-cov-{node-arch}-perftest ip4-00
939 <li>perf test-cases selection
941 <li>test-cases selected by tags defined in
942 <i>csit/docs/job_specs/report_coverage/{node-arch}/
948 <li>jjb verify: PASS/FAIL
949 <li>present: vpp performance
950 <li>analyse: vpp performance
954 project-type: freestyle
957 archive-artifacts: 'archive/*.*'
961 daysToKeep: '{build-days-to-keep}'
962 numToKeep: '{build-num-to-keep}'
963 artifactDaysToKeep: '{build-artifact-days-to-keep}'
964 artifactNumToKeep: '{build-artifact-num-to-keep}'
971 - gerrit-refspec-parameter
972 - gerrit-event-type-parameter
973 - gerrit-event-comment-text-parameter
974 - csit-perf-trial-duration-parameter:
975 csit-perf-trial-duration: "{csit-perf-trial-duration}"
976 - csit-perf-trial-multiplicity-parameter:
977 csit-perf-trial-multiplicity: "{csit-perf-trial-multiplicity}"
979 name: ARCHIVE_ARTIFACTS
980 default: '{archive-artifacts}'
981 description: Artifacts to archive to the logs server.
984 - gerrit-trigger-scm:
985 credentials-id: 'jenkins-gerrit-credentials'
986 refspec: '$GERRIT_REFSPEC'
987 choosing-strategy: 'gerrit'
990 - fdio-infra-wrappers-non-activity-timeout:
991 build-timeout: '{build-timeout}'
994 - gerrit-trigger-csit-perftest:
997 trigger-word: 'csit-vpp-report-cov-{node-arch}-perftest'
1002 !include-raw-escape:
1003 - ../scripts/setup_executor_env.sh
1005 !include-raw-escape:
1006 - ../scripts/csit/perf-verify.sh
1010 output-path: 'archives'
1014 - fdio-infra-shiplogs:
1015 maven-version: 'mvn33-new'
1018 name: 'csit-dpdk-perf-report-coverage-{stream_report}-{node-arch}'
1024 <li>get dpdk performance coverage data for csit report
1029 <b>csit-dpdk-perf-report-coverage-{stream_report}-
1031 <li>trigger: keyword in comment to csit patch:
1032 <b>csit-dpdk-report-cov-{node-arch}-perftest
1034 <li>trigger example:
1035 csit-dpdk-report-cov-{node-arch}-perftest dpdk-00
1041 <li>perf test-cases selection
1043 <li>test-cases selected by tags defined in
1044 <i>csit/docs/job_specs/report_coverage/{node-arch}/
1050 <li>jjb verify: PASS/FAIL
1051 <li>present: dpdk performance
1052 <li>analyse: dpdk performance
1056 project-type: freestyle
1059 archive-artifacts: 'archive/*.*'
1063 daysToKeep: '{build-days-to-keep}'
1064 numToKeep: '{build-num-to-keep}'
1065 artifactDaysToKeep: '{build-artifact-days-to-keep}'
1066 artifactNumToKeep: '{build-artifact-num-to-keep}'
1069 - project-parameter:
1070 project: '{project}'
1073 - gerrit-refspec-parameter
1074 - gerrit-event-type-parameter
1075 - gerrit-event-comment-text-parameter
1076 - csit-perf-trial-duration-parameter:
1077 csit-perf-trial-duration: "{csit-perf-trial-duration}"
1078 - csit-perf-trial-multiplicity-parameter:
1079 csit-perf-trial-multiplicity: "{csit-perf-trial-multiplicity}"
1081 name: ARCHIVE_ARTIFACTS
1082 default: '{archive-artifacts}'
1083 description: Artifacts to archive to the logs server.
1086 - gerrit-trigger-scm:
1087 credentials-id: 'jenkins-gerrit-credentials'
1088 refspec: '$GERRIT_REFSPEC'
1089 choosing-strategy: 'gerrit'
1092 - fdio-infra-wrappers-non-activity-timeout:
1093 build-timeout: '{build-timeout}'
1096 - gerrit-trigger-csit-perftest:
1097 project: '{project}'
1099 trigger-word: 'csit-dpdk-report-cov-{node-arch}-perftest'
1104 !include-raw-escape:
1105 - ../scripts/setup_executor_env.sh
1107 !include-raw-escape:
1108 - ../scripts/csit/perf-verify.sh
1112 output-path: 'archives'
1116 - fdio-infra-shiplogs:
1117 maven-version: 'mvn33-new'