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 - csit-perf-trial-duration-parameter:
768 csit-perf-trial-duration: "{csit-perf-trial-duration}"
769 - csit-perf-trial-multiplicity-parameter:
770 csit-perf-trial-multiplicity: "{csit-perf-trial-multiplicity}"
772 name: ARCHIVE_ARTIFACTS
773 default: '{archive-artifacts}'
774 description: Artifacts to archive to the logs server.
777 - gerrit-trigger-scm:
778 credentials-id: 'jenkins-gerrit-credentials'
779 refspec: '$GERRIT_REFSPEC'
780 choosing-strategy: 'gerrit'
783 - fdio-infra-wrappers-non-activity-timeout:
784 build-timeout: '{build-timeout}'
787 - gerrit-trigger-csit-perftest:
790 trigger-word: 'csit-vpp-report-iter-{node-arch}-perftest'
796 - ../scripts/setup_executor_env.sh
799 - ../scripts/csit/perf-verify.sh
803 output-path: 'archives'
807 - fdio-infra-shiplogs:
808 maven-version: 'mvn33-new'
811 name: 'csit-dpdk-perf-report-iterative-{stream_report}-{node-arch}'
817 <li>get dpdk performance iterative data for csit report
822 <b>csit-dpdk-perf-report-iterative-{stream_report}-
824 <li>trigger: keyword in comment to csit patch:
825 <b>csit-dpdk-report-iter-{node-arch}-perftest
828 csit-dpdk-report-iter-{node-arch}-perftest dpdk-00
834 <li>perf test-cases selection
836 <li>test-cases selected by tags defined in
837 <i>csit/docs/job_specs/report_iterative/{node-arch}/
843 <li>jjb verify: PASS/FAIL
844 <li>present: dpdk performance
845 <li>analyse: dpdk performance
849 project-type: freestyle
852 archive-artifacts: 'archive/*.*'
856 daysToKeep: '{build-days-to-keep}'
857 numToKeep: '{build-num-to-keep}'
858 artifactDaysToKeep: '{build-artifact-days-to-keep}'
859 artifactNumToKeep: '{build-artifact-num-to-keep}'
866 - csit-perf-trial-duration-parameter:
867 csit-perf-trial-duration: "{csit-perf-trial-duration}"
868 - csit-perf-trial-multiplicity-parameter:
869 csit-perf-trial-multiplicity: "{csit-perf-trial-multiplicity}"
871 name: ARCHIVE_ARTIFACTS
872 default: '{archive-artifacts}'
873 description: Artifacts to archive to the logs server.
876 - gerrit-trigger-scm:
877 credentials-id: 'jenkins-gerrit-credentials'
878 refspec: '$GERRIT_REFSPEC'
879 choosing-strategy: 'gerrit'
882 - fdio-infra-wrappers-non-activity-timeout:
883 build-timeout: '{build-timeout}'
886 - gerrit-trigger-csit-perftest:
889 trigger-word: 'csit-dpdk-report-iter-{node-arch}-perftest'
895 - ../scripts/setup_executor_env.sh
898 - ../scripts/csit/perf-verify.sh
902 output-path: 'archives'
906 - fdio-infra-shiplogs:
907 maven-version: 'mvn33-new'
910 name: 'csit-vpp-perf-report-coverage-{stream_report}-{node-arch}'
916 <li>get vpp performance coverage data for csit report
921 <b>csit-vpp-perf-report-coverage-{stream_report}-
923 <li>trigger: keyword in comment to csit patch:
924 <b>csit-vpp-report-cov-{node-arch}-perftest
927 csit-vpp-report-cov-{node-arch}-perftest ip4-00
933 <li>perf test-cases selection
935 <li>test-cases selected by tags defined in
936 <i>csit/docs/job_specs/report_coverage/{node-arch}/
942 <li>jjb verify: PASS/FAIL
943 <li>present: vpp performance
944 <li>analyse: vpp performance
948 project-type: freestyle
951 archive-artifacts: 'archive/*.*'
955 daysToKeep: '{build-days-to-keep}'
956 numToKeep: '{build-num-to-keep}'
957 artifactDaysToKeep: '{build-artifact-days-to-keep}'
958 artifactNumToKeep: '{build-artifact-num-to-keep}'
965 - csit-perf-trial-duration-parameter:
966 csit-perf-trial-duration: "{csit-perf-trial-duration}"
967 - csit-perf-trial-multiplicity-parameter:
968 csit-perf-trial-multiplicity: "{csit-perf-trial-multiplicity}"
970 name: ARCHIVE_ARTIFACTS
971 default: '{archive-artifacts}'
972 description: Artifacts to archive to the logs server.
975 - gerrit-trigger-scm:
976 credentials-id: 'jenkins-gerrit-credentials'
977 refspec: '$GERRIT_REFSPEC'
978 choosing-strategy: 'gerrit'
981 - fdio-infra-wrappers-non-activity-timeout:
982 build-timeout: '{build-timeout}'
985 - gerrit-trigger-csit-perftest:
988 trigger-word: 'csit-vpp-report-cov-{node-arch}-perftest'
994 - ../scripts/setup_executor_env.sh
997 - ../scripts/csit/perf-verify.sh
1001 output-path: 'archives'
1005 - fdio-infra-shiplogs:
1006 maven-version: 'mvn33-new'
1009 name: 'csit-dpdk-perf-report-coverage-{stream_report}-{node-arch}'
1015 <li>get dpdk performance coverage data for csit report
1020 <b>csit-dpdk-perf-report-coverage-{stream_report}-
1022 <li>trigger: keyword in comment to csit patch:
1023 <b>csit-dpdk-report-cov-{node-arch}-perftest
1025 <li>trigger example:
1026 csit-dpdk-report-cov-{node-arch}-perftest dpdk-00
1032 <li>perf test-cases selection
1034 <li>test-cases selected by tags defined in
1035 <i>csit/docs/job_specs/report_coverage/{node-arch}/
1041 <li>jjb verify: PASS/FAIL
1042 <li>present: dpdk performance
1043 <li>analyse: dpdk performance
1047 project-type: freestyle
1050 archive-artifacts: 'archive/*.*'
1054 daysToKeep: '{build-days-to-keep}'
1055 numToKeep: '{build-num-to-keep}'
1056 artifactDaysToKeep: '{build-artifact-days-to-keep}'
1057 artifactNumToKeep: '{build-artifact-num-to-keep}'
1060 - project-parameter:
1061 project: '{project}'
1064 - csit-perf-trial-duration-parameter:
1065 csit-perf-trial-duration: "{csit-perf-trial-duration}"
1066 - csit-perf-trial-multiplicity-parameter:
1067 csit-perf-trial-multiplicity: "{csit-perf-trial-multiplicity}"
1069 name: ARCHIVE_ARTIFACTS
1070 default: '{archive-artifacts}'
1071 description: Artifacts to archive to the logs server.
1074 - gerrit-trigger-scm:
1075 credentials-id: 'jenkins-gerrit-credentials'
1076 refspec: '$GERRIT_REFSPEC'
1077 choosing-strategy: 'gerrit'
1080 - fdio-infra-wrappers-non-activity-timeout:
1081 build-timeout: '{build-timeout}'
1084 - gerrit-trigger-csit-perftest:
1085 project: '{project}'
1087 trigger-word: 'csit-dpdk-report-cov-{node-arch}-perftest'
1092 !include-raw-escape:
1093 - ../scripts/setup_executor_env.sh
1095 !include-raw-escape:
1096 - ../scripts/csit/perf-verify.sh
1100 output-path: 'archives'
1104 - fdio-infra-shiplogs:
1105 maven-version: 'mvn33-new'