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-rls2005'
62 branch-id: 'oper-rls2009'
65 branch-id: 'oper-rls2009_lts'
68 branch-id: 'oper-rls2101'
69 - 'csit-vpp-perf-mrr-daily-master{node-arch}':
72 periodicity: '0 2,14 * * *'
74 periodicity: '0 2,14 * * *'
76 periodicity: '0 2,14 * * *'
78 periodicity: '0 2,14 * * *'
80 periodicity: '0 2,14 * * *'
82 periodicity: '0 2,14 * * *'
84 periodicity: '0 2,14 * * *'
86 executor: 'ubuntu1804arm-us'
87 periodicity: '0 14 * * *'
88 - 'csit-vpp-perf-mrr-weekly-{stream}-{node-arch}':
99 branch-id: 'oper-rls2009_lts'
100 periodicity: '0 0 * * 6'
101 - 'csit-vpp-perf-ndrpdr-weekly-master-{node-arch}':
107 periodicity: '0 0 * * 6'
108 - 'csit-vpp-perf-report-iterative-{stream_report}-{node-arch}':
118 executor: 'ubuntu1804arm-us'
119 - 'csit-dpdk-perf-report-iterative-{stream_report}-{node-arch}':
129 executor: 'ubuntu1804arm-us'
130 - 'csit-vpp-perf-report-coverage-{stream_report}-{node-arch}':
140 executor: 'ubuntu1804arm-us'
141 - 'csit-dpdk-perf-report-coverage-{stream_report}-{node-arch}':
151 executor: 'ubuntu1804arm-us'
154 executor: 'ubuntu1804-us'
157 csit-perf-trial-duration: "1.0"
158 csit-perf-trial-multiplicity: "10"
165 branch-id: 'oper-rls2005'
168 branch-id: 'oper-rls2009'
170 branch: 'rls2009_lts'
171 branch-id: 'oper-rls2009_lts'
174 branch-id: 'oper-rls2101'
178 branch-id: 'oper-rls2009'
181 branch-id: 'oper-rls2101'
183 build-artifact-num-to-keep: 10
187 name: 'csit-vpp-perf-verify-{stream}-{node-arch}'
193 <li>perf verify - per csit gerrit patch
197 <li>name: <b>csit-vpp-perf-verify-{stream}-{node-arch}</b>
198 <li>trigger: keyword in comment to csit patch:
199 <b>csit-{node-arch}-perftest tag_list</b>
205 <li>perf test-cases selection
207 <li>test-cases selected using trigger keyword followed by tags
208 <li>all test-cases are labelled with CSIT RF topic tags
209 defined in <i>csit/docs/tag_documentation.rst</i>
211 <li>proposed keywords
213 <li>focus on testing specified vpp packet processing path
214 <li>format: csit-{node-arch}-perftest tag_list
216 <li>default tags for vpp startup config and perf test type
218 <li>IP4BASE, IP6BASE, L2BDBASE
219 <li>64B/78B: 64B/78B packet size
221 <li>X710: x710 Fortville NIC
222 <li>MRR: MRR throughput
226 <li>jjb verify: PASS/FAIL
232 project-type: freestyle
235 archive-artifacts: 'archive/*.*'
239 daysToKeep: '{build-days-to-keep}'
240 numToKeep: '{build-num-to-keep}'
241 artifactDaysToKeep: '{build-artifact-days-to-keep}'
242 artifactNumToKeep: '{build-artifact-num-to-keep}'
249 - gerrit-refspec-parameter
250 - gerrit-event-type-parameter
251 - gerrit-event-comment-text-parameter
252 - csit-perf-trial-duration-parameter:
253 csit-perf-trial-duration: "{csit-perf-trial-duration}"
254 - csit-perf-trial-multiplicity-parameter:
255 csit-perf-trial-multiplicity: "{csit-perf-trial-multiplicity}"
257 name: ARCHIVE_ARTIFACTS
258 default: '{archive-artifacts}'
259 description: Artifacts to archive to the logs server.
260 # This is a manually-triggered verify job, part of API coverage.
261 # CRC checking is needed to ensure vpp crc job breaks only when intended.
262 # Can be removed when this job is no longer needed for full API coverage.
263 - csit-fail-on-crc-mismatch-parameter:
264 fail-on-crc-mismatch: 'True'
267 - gerrit-trigger-scm:
268 credentials-id: 'jenkins-gerrit-credentials'
269 refspec: '$GERRIT_REFSPEC'
270 choosing-strategy: 'gerrit'
273 - fdio-infra-wrappers-non-activity-timeout:
274 build-timeout: '{build-timeout}'
277 - gerrit-trigger-csit-perftest:
280 trigger-word: 'csit-{node-arch}-perftest'
286 - ../scripts/setup_executor_env.sh
289 - ../scripts/csit/perf-verify.sh
293 output-path: 'archives'
297 - fdio-infra-shiplogs:
298 maven-version: 'mvn33-new'
301 name: 'csit-vpp-perf-mrr-daily-master{node-arch}'
307 <li>check vpp perf mrr daily
313 <li>perf test-cases selection
315 <li>all CSIT VPP MRR perf suites
319 <li>jjb verify: PASS/FAIL
321 <li>analyse: csit project (catch malfunctions/degradations)
325 project-type: freestyle
328 archive-artifacts: 'csit/archive/*.*'
332 daysToKeep: '{build-days-to-keep}'
333 numToKeep: '{build-num-to-keep}'
334 artifactDaysToKeep: '{build-artifact-days-to-keep}'
335 artifactNumToKeep: '{build-artifact-num-to-keep}'
342 - csit-perf-trial-duration-parameter:
343 csit-perf-trial-duration: "{csit-perf-trial-duration}"
344 - csit-perf-trial-multiplicity-parameter:
345 csit-perf-trial-multiplicity: "{csit-perf-trial-multiplicity}"
347 name: ARCHIVE_ARTIFACTS
348 default: '{archive-artifacts}'
349 description: Artifacts to archive to the logs server.
352 - fdio-infra-wrappers-non-activity-timeout:
353 build-timeout: '{build-timeout}'
356 - timed: '{periodicity}'
359 - shell: 'echo "BRANCH_ID={branch-id}" > $WORKSPACE/variables.prop'
361 properties-file: variables.prop
364 - ../scripts/setup_executor_env.sh
367 - ../scripts/csit/perf-timed.sh
371 output-path: 'archives'
375 - fdio-infra-shiplogs:
376 maven-version: 'mvn33-new'
379 name: 'csit-vpp-perf-mrr-weekly-{stream}-{node-arch}'
385 <li>check vpp perf mrr weekly on {node-arch}
391 <li>perf test-cases selection
393 <li>NF Density CSIT VPP MRR perf suites
397 <li>jjb verify: PASS/FAIL
399 <li>analyse: csit project (catch malfunctions/degradations)
403 project-type: freestyle
406 archive-artifacts: 'csit/archive/*.*'
410 daysToKeep: '{build-days-to-keep}'
411 numToKeep: '{build-num-to-keep}'
412 artifactDaysToKeep: '{build-artifact-days-to-keep}'
413 artifactNumToKeep: '{build-artifact-num-to-keep}'
420 - csit-perf-trial-duration-parameter:
421 csit-perf-trial-duration: "{csit-perf-trial-duration}"
422 - csit-perf-trial-multiplicity-parameter:
423 csit-perf-trial-multiplicity: "{csit-perf-trial-multiplicity}"
425 name: ARCHIVE_ARTIFACTS
426 default: '{archive-artifacts}'
427 description: Artifacts to archive to the logs server.
430 - fdio-infra-wrappers-non-activity-timeout:
431 build-timeout: '{build-timeout}'
434 - timed: '{periodicity}'
437 - shell: 'echo "BRANCH_ID={branch-id}" > $WORKSPACE/variables.prop'
439 properties-file: variables.prop
442 - ../scripts/setup_executor_env.sh
445 - ../scripts/csit/perf-timed.sh
449 output-path: 'archives'
453 - fdio-infra-shiplogs:
454 maven-version: 'mvn33-new'
457 name: 'csit-vpp-perf-ndrpdr-weekly-master-{node-arch}'
463 <li>check vpp perf ndrpdr weekly on {node-arch}
469 <li>perf test-cases selection
471 <li>pre-selected CSIT VPP NDRPDR perf suites
475 <li>jjb verify: PASS/FAIL
477 <li>analyse: csit project (catch malfunctions/degradations)
480 project-type: freestyle
483 archive-artifacts: 'csit/archive/*.*'
487 daysToKeep: '{build-days-to-keep}'
488 numToKeep: '{build-num-to-keep}'
489 artifactDaysToKeep: '{build-artifact-days-to-keep}'
490 artifactNumToKeep: '{build-artifact-num-to-keep}'
498 name: ARCHIVE_ARTIFACTS
499 default: '{archive-artifacts}'
500 description: Artifacts to archive to the logs server.
503 - fdio-infra-wrappers-non-activity-timeout:
504 build-timeout: '{build-timeout}'
507 - timed: '{periodicity}'
510 - shell: 'echo "BRANCH_ID={branch-id}" > $WORKSPACE/variables.prop'
512 properties-file: variables.prop
515 - ../scripts/setup_executor_env.sh
518 - ../scripts/csit/perf-timed.sh
522 output-path: 'archives'
526 - fdio-infra-shiplogs:
527 maven-version: 'mvn33-new'
530 name: 'csit-dpdk-perf-verify-{stream}-{node-arch}'
536 <li>perf verify - per csit gerrit patch
540 <li>name: <b>csit-dpdk-perf-verify-{stream}-{node-arch}</b>
541 <li>trigger: keyword in comment to csit patch:
542 <b>csit-dpdk-{node-arch}-perftest tag_list</b>
548 <li>perf test-cases selection
550 <li>test-cases selected using trigger keyword followed by tags
551 <li>all test-cases are labelled with CSIT RF topic tags
552 defined in <i>csit/docs/tag_documentation.rst</i>
554 <li>default tags for dpdk perf test type
556 <li>IP4BASE, L2XCBASE
557 <li>64B: 64B packet size
559 <li>X710: x710 Fortville NIC
560 <li>MRR: MRR throughput
564 <li>jjb verify: PASS/FAIL
570 project-type: freestyle
573 archive-artifacts: 'archive/*.*'
577 daysToKeep: '{build-days-to-keep}'
578 numToKeep: '{build-num-to-keep}'
579 artifactDaysToKeep: '{build-artifact-days-to-keep}'
580 artifactNumToKeep: '{build-artifact-num-to-keep}'
587 - csit-perf-trial-duration-parameter:
588 csit-perf-trial-duration: "{csit-perf-trial-duration}"
589 - csit-perf-trial-multiplicity-parameter:
590 csit-perf-trial-multiplicity: "{csit-perf-trial-multiplicity}"
592 name: ARCHIVE_ARTIFACTS
593 default: '{archive-artifacts}'
594 description: Artifacts to archive to the logs server.
597 - gerrit-trigger-scm:
598 credentials-id: 'jenkins-gerrit-credentials'
599 refspec: '$GERRIT_REFSPEC'
600 choosing-strategy: 'gerrit'
603 - fdio-infra-wrappers-non-activity-timeout:
604 build-timeout: '{build-timeout}'
607 - gerrit-trigger-csit-perftest:
610 trigger-word: 'csit-dpdk-{node-arch}-perftest'
616 - ../scripts/setup_executor_env.sh
619 - ../scripts/csit/perf-verify.sh
623 output-path: 'archives'
627 - fdio-infra-shiplogs:
628 maven-version: 'mvn33-new'
631 name: 'csit-dpdk-perf-mrr-weekly-master{node-arch}'
637 <li>check dpdk perf mrr weekly
643 <li>perf test-cases selection
645 <li>all CSIT DPDK MRR perf suites
649 <li>jjb verify: PASS/FAIL
651 <li>analyse: csit project (catch malfunctions/degradations)
655 project-type: freestyle
658 archive-artifacts: 'csit/archive/*.*'
662 daysToKeep: '{build-days-to-keep}'
663 numToKeep: '{build-num-to-keep}'
664 artifactDaysToKeep: '{build-artifact-days-to-keep}'
665 artifactNumToKeep: '{build-artifact-num-to-keep}'
672 - csit-perf-trial-duration-parameter:
673 csit-perf-trial-duration: "{csit-perf-trial-duration}"
674 - csit-perf-trial-multiplicity-parameter:
675 csit-perf-trial-multiplicity: "{csit-perf-trial-multiplicity}"
677 name: ARCHIVE_ARTIFACTS
678 default: '{archive-artifacts}'
679 description: Artifacts to archive to the logs server.
682 - fdio-infra-wrappers-non-activity-timeout:
683 build-timeout: '{build-timeout}'
686 - timed: '{periodicity}'
689 - shell: 'echo "BRANCH_ID={branch-id}" > $WORKSPACE/variables.prop'
691 properties-file: variables.prop
694 - ../scripts/setup_executor_env.sh
697 - ../scripts/csit/perf-timed.sh
701 output-path: 'archives'
705 - fdio-infra-shiplogs:
706 maven-version: 'mvn33-new'
709 name: 'csit-vpp-perf-report-iterative-{stream_report}-{node-arch}'
715 <li>get vpp performance iterative data for csit report
720 <b>csit-vpp-perf-report-iterative-{stream_report}-
722 <li>trigger: keyword in comment to csit patch:
723 <b>csit-vpp-report-iter-{node-arch}-perftest
726 csit-vpp-report-iter-{node-arch}-perftest vpp-00
732 <li>perf test-cases selection
734 <li>test-cases selected by tags defined in
735 <i>csit/docs/job_specs/report_iterative/{node-arch}/
741 <li>jjb verify: PASS/FAIL
742 <li>present: vpp performance
743 <li>analyse: vpp performance
747 project-type: freestyle
750 archive-artifacts: 'archive/*.*'
754 daysToKeep: '{build-days-to-keep}'
755 numToKeep: '{build-num-to-keep}'
756 artifactDaysToKeep: '{build-artifact-days-to-keep}'
757 artifactNumToKeep: '{build-artifact-num-to-keep}'
764 - gerrit-refspec-parameter
765 - gerrit-event-type-parameter
766 - gerrit-event-comment-text-parameter
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 - gerrit-refspec-parameter
867 - gerrit-event-type-parameter
868 - gerrit-event-comment-text-parameter
869 - csit-perf-trial-duration-parameter:
870 csit-perf-trial-duration: "{csit-perf-trial-duration}"
871 - csit-perf-trial-multiplicity-parameter:
872 csit-perf-trial-multiplicity: "{csit-perf-trial-multiplicity}"
874 name: ARCHIVE_ARTIFACTS
875 default: '{archive-artifacts}'
876 description: Artifacts to archive to the logs server.
879 - gerrit-trigger-scm:
880 credentials-id: 'jenkins-gerrit-credentials'
881 refspec: '$GERRIT_REFSPEC'
882 choosing-strategy: 'gerrit'
885 - fdio-infra-wrappers-non-activity-timeout:
886 build-timeout: '{build-timeout}'
889 - gerrit-trigger-csit-perftest:
892 trigger-word: 'csit-dpdk-report-iter-{node-arch}-perftest'
898 - ../scripts/setup_executor_env.sh
901 - ../scripts/csit/perf-verify.sh
905 output-path: 'archives'
909 - fdio-infra-shiplogs:
910 maven-version: 'mvn33-new'
913 name: 'csit-vpp-perf-report-coverage-{stream_report}-{node-arch}'
919 <li>get vpp performance coverage data for csit report
924 <b>csit-vpp-perf-report-coverage-{stream_report}-
926 <li>trigger: keyword in comment to csit patch:
927 <b>csit-vpp-report-cov-{node-arch}-perftest
930 csit-vpp-report-cov-{node-arch}-perftest ip4-00
936 <li>perf test-cases selection
938 <li>test-cases selected by tags defined in
939 <i>csit/docs/job_specs/report_coverage/{node-arch}/
945 <li>jjb verify: PASS/FAIL
946 <li>present: vpp performance
947 <li>analyse: vpp performance
951 project-type: freestyle
954 archive-artifacts: 'archive/*.*'
958 daysToKeep: '{build-days-to-keep}'
959 numToKeep: '{build-num-to-keep}'
960 artifactDaysToKeep: '{build-artifact-days-to-keep}'
961 artifactNumToKeep: '{build-artifact-num-to-keep}'
968 - gerrit-refspec-parameter
969 - gerrit-event-type-parameter
970 - gerrit-event-comment-text-parameter
971 - csit-perf-trial-duration-parameter:
972 csit-perf-trial-duration: "{csit-perf-trial-duration}"
973 - csit-perf-trial-multiplicity-parameter:
974 csit-perf-trial-multiplicity: "{csit-perf-trial-multiplicity}"
976 name: ARCHIVE_ARTIFACTS
977 default: '{archive-artifacts}'
978 description: Artifacts to archive to the logs server.
981 - gerrit-trigger-scm:
982 credentials-id: 'jenkins-gerrit-credentials'
983 refspec: '$GERRIT_REFSPEC'
984 choosing-strategy: 'gerrit'
987 - fdio-infra-wrappers-non-activity-timeout:
988 build-timeout: '{build-timeout}'
991 - gerrit-trigger-csit-perftest:
994 trigger-word: 'csit-vpp-report-cov-{node-arch}-perftest'
1000 - ../scripts/setup_executor_env.sh
1002 !include-raw-escape:
1003 - ../scripts/csit/perf-verify.sh
1007 output-path: 'archives'
1011 - fdio-infra-shiplogs:
1012 maven-version: 'mvn33-new'
1015 name: 'csit-dpdk-perf-report-coverage-{stream_report}-{node-arch}'
1021 <li>get dpdk performance coverage data for csit report
1026 <b>csit-dpdk-perf-report-coverage-{stream_report}-
1028 <li>trigger: keyword in comment to csit patch:
1029 <b>csit-dpdk-report-cov-{node-arch}-perftest
1031 <li>trigger example:
1032 csit-dpdk-report-cov-{node-arch}-perftest dpdk-00
1038 <li>perf test-cases selection
1040 <li>test-cases selected by tags defined in
1041 <i>csit/docs/job_specs/report_coverage/{node-arch}/
1047 <li>jjb verify: PASS/FAIL
1048 <li>present: dpdk performance
1049 <li>analyse: dpdk performance
1053 project-type: freestyle
1056 archive-artifacts: 'archive/*.*'
1060 daysToKeep: '{build-days-to-keep}'
1061 numToKeep: '{build-num-to-keep}'
1062 artifactDaysToKeep: '{build-artifact-days-to-keep}'
1063 artifactNumToKeep: '{build-artifact-num-to-keep}'
1066 - project-parameter:
1067 project: '{project}'
1070 - gerrit-refspec-parameter
1071 - gerrit-event-type-parameter
1072 - gerrit-event-comment-text-parameter
1073 - csit-perf-trial-duration-parameter:
1074 csit-perf-trial-duration: "{csit-perf-trial-duration}"
1075 - csit-perf-trial-multiplicity-parameter:
1076 csit-perf-trial-multiplicity: "{csit-perf-trial-multiplicity}"
1078 name: ARCHIVE_ARTIFACTS
1079 default: '{archive-artifacts}'
1080 description: Artifacts to archive to the logs server.
1083 - gerrit-trigger-scm:
1084 credentials-id: 'jenkins-gerrit-credentials'
1085 refspec: '$GERRIT_REFSPEC'
1086 choosing-strategy: 'gerrit'
1089 - fdio-infra-wrappers-non-activity-timeout:
1090 build-timeout: '{build-timeout}'
1093 - gerrit-trigger-csit-perftest:
1094 project: '{project}'
1096 trigger-word: 'csit-dpdk-report-cov-{node-arch}-perftest'
1101 !include-raw-escape:
1102 - ../scripts/setup_executor_env.sh
1104 !include-raw-escape:
1105 - ../scripts/csit/perf-verify.sh
1109 output-path: 'archives'
1113 - fdio-infra-shiplogs:
1114 maven-version: 'mvn33-new'