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'
66 - 'csit-vpp-perf-mrr-daily-master{node-arch}':
69 periodicity: '0 2,14 * * *'
71 periodicity: '0 2,14 * * *'
73 periodicity: '0 2,14 * * *'
75 periodicity: '0 2,14 * * *'
77 periodicity: '0 2,14 * * *'
79 periodicity: '0 2,14 * * *'
81 periodicity: '0 2,14 * * *'
83 executor: 'ubuntu1804arm-us'
84 periodicity: '0 14 * * *'
85 - 'csit-vpp-perf-mrr-weekly-{stream}-{node-arch}':
96 branch-id: 'oper-rls2009_lts'
97 periodicity: '0 0 * * 6'
98 - 'csit-vpp-perf-ndrpdr-weekly-master-{node-arch}':
104 periodicity: '0 0 * * 6'
105 - 'csit-vpp-perf-report-iterative-{stream_report}-{node-arch}':
115 executor: 'ubuntu1804arm-us'
116 - 'csit-dpdk-perf-report-iterative-{stream_report}-{node-arch}':
126 executor: 'ubuntu1804arm-us'
127 - 'csit-vpp-perf-report-coverage-{stream_report}-{node-arch}':
137 executor: 'ubuntu1804arm-us'
138 - 'csit-dpdk-perf-report-coverage-{stream_report}-{node-arch}':
148 executor: 'ubuntu1804arm-us'
151 executor: 'ubuntu1804-us'
154 csit-perf-trial-duration: "1.0"
155 csit-perf-trial-multiplicity: "10"
162 branch-id: 'oper-rls2005'
165 branch-id: 'oper-rls2009'
167 branch: 'rls2009_lts'
168 branch-id: 'oper-rls2009_lts'
172 branch-id: 'oper-rls2009'
174 build-artifact-num-to-keep: 10
178 name: 'csit-vpp-perf-verify-{stream}-{node-arch}'
184 <li>perf verify - per csit gerrit patch
188 <li>name: <b>csit-vpp-perf-verify-{stream}-{node-arch}</b>
189 <li>trigger: keyword in comment to csit patch:
190 <b>csit-{node-arch}-perftest tag_list</b>
196 <li>perf test-cases selection
198 <li>test-cases selected using trigger keyword followed by tags
199 <li>all test-cases are labelled with CSIT RF topic tags
200 defined in <i>csit/docs/tag_documentation.rst</i>
202 <li>proposed keywords
204 <li>focus on testing specified vpp packet processing path
205 <li>format: csit-{node-arch}-perftest tag_list
207 <li>default tags for vpp startup config and perf test type
209 <li>IP4BASE, IP6BASE, L2BDBASE
210 <li>64B/78B: 64B/78B packet size
212 <li>X710: x710 Fortville NIC
213 <li>MRR: MRR throughput
217 <li>jjb verify: PASS/FAIL
223 project-type: freestyle
226 archive-artifacts: 'archive/*.*'
230 daysToKeep: '{build-days-to-keep}'
231 numToKeep: '{build-num-to-keep}'
232 artifactDaysToKeep: '{build-artifact-days-to-keep}'
233 artifactNumToKeep: '{build-artifact-num-to-keep}'
240 - gerrit-refspec-parameter
241 - gerrit-event-type-parameter
242 - gerrit-event-comment-text-parameter
243 - csit-perf-trial-duration-parameter:
244 csit-perf-trial-duration: "{csit-perf-trial-duration}"
245 - csit-perf-trial-multiplicity-parameter:
246 csit-perf-trial-multiplicity: "{csit-perf-trial-multiplicity}"
248 name: ARCHIVE_ARTIFACTS
249 default: '{archive-artifacts}'
250 description: Artifacts to archive to the logs server.
251 # This is a manually-triggered verify job, part of API coverage.
252 # CRC checking is needed to ensure vpp crc job breaks only when intended.
253 # Can be removed when this job is no longer needed for full API coverage.
254 - csit-fail-on-crc-mismatch-parameter:
255 fail-on-crc-mismatch: 'True'
258 - gerrit-trigger-scm:
259 credentials-id: 'jenkins-gerrit-credentials'
260 refspec: '$GERRIT_REFSPEC'
261 choosing-strategy: 'gerrit'
264 - fdio-infra-wrappers-non-activity-timeout:
265 build-timeout: '{build-timeout}'
268 - gerrit-trigger-csit-perftest:
271 trigger-word: 'csit-{node-arch}-perftest'
277 - ../scripts/setup_executor_env.sh
280 - ../scripts/csit/perf-verify.sh
284 output-path: 'archives'
288 - fdio-infra-shiplogs:
289 maven-version: 'mvn33-new'
292 name: 'csit-vpp-perf-mrr-daily-master{node-arch}'
298 <li>check vpp perf mrr daily
304 <li>perf test-cases selection
306 <li>all CSIT VPP MRR perf suites
310 <li>jjb verify: PASS/FAIL
312 <li>analyse: csit project (catch malfunctions/degradations)
316 project-type: freestyle
319 archive-artifacts: 'csit/archive/*.*'
323 daysToKeep: '{build-days-to-keep}'
324 numToKeep: '{build-num-to-keep}'
325 artifactDaysToKeep: '{build-artifact-days-to-keep}'
326 artifactNumToKeep: '{build-artifact-num-to-keep}'
333 - csit-perf-trial-duration-parameter:
334 csit-perf-trial-duration: "{csit-perf-trial-duration}"
335 - csit-perf-trial-multiplicity-parameter:
336 csit-perf-trial-multiplicity: "{csit-perf-trial-multiplicity}"
338 name: ARCHIVE_ARTIFACTS
339 default: '{archive-artifacts}'
340 description: Artifacts to archive to the logs server.
343 - fdio-infra-wrappers-non-activity-timeout:
344 build-timeout: '{build-timeout}'
347 - timed: '{periodicity}'
350 - shell: 'echo "BRANCH_ID={branch-id}" > $WORKSPACE/variables.prop'
352 properties-file: variables.prop
355 - ../scripts/setup_executor_env.sh
358 - ../scripts/csit/perf-timed.sh
362 output-path: 'archives'
366 - fdio-infra-shiplogs:
367 maven-version: 'mvn33-new'
370 name: 'csit-vpp-perf-mrr-weekly-{stream}-{node-arch}'
376 <li>check vpp perf mrr weekly on {node-arch}
382 <li>perf test-cases selection
384 <li>NF Density CSIT VPP MRR perf suites
388 <li>jjb verify: PASS/FAIL
390 <li>analyse: csit project (catch malfunctions/degradations)
394 project-type: freestyle
397 archive-artifacts: 'csit/archive/*.*'
401 daysToKeep: '{build-days-to-keep}'
402 numToKeep: '{build-num-to-keep}'
403 artifactDaysToKeep: '{build-artifact-days-to-keep}'
404 artifactNumToKeep: '{build-artifact-num-to-keep}'
411 - csit-perf-trial-duration-parameter:
412 csit-perf-trial-duration: "{csit-perf-trial-duration}"
413 - csit-perf-trial-multiplicity-parameter:
414 csit-perf-trial-multiplicity: "{csit-perf-trial-multiplicity}"
416 name: ARCHIVE_ARTIFACTS
417 default: '{archive-artifacts}'
418 description: Artifacts to archive to the logs server.
421 - fdio-infra-wrappers-non-activity-timeout:
422 build-timeout: '{build-timeout}'
425 - timed: '{periodicity}'
428 - shell: 'echo "BRANCH_ID={branch-id}" > $WORKSPACE/variables.prop'
430 properties-file: variables.prop
433 - ../scripts/setup_executor_env.sh
436 - ../scripts/csit/perf-timed.sh
440 output-path: 'archives'
444 - fdio-infra-shiplogs:
445 maven-version: 'mvn33-new'
448 name: 'csit-vpp-perf-ndrpdr-weekly-master-{node-arch}'
454 <li>check vpp perf ndrpdr weekly on {node-arch}
460 <li>perf test-cases selection
462 <li>pre-selected CSIT VPP NDRPDR perf suites
466 <li>jjb verify: PASS/FAIL
468 <li>analyse: csit project (catch malfunctions/degradations)
471 project-type: freestyle
474 archive-artifacts: 'csit/archive/*.*'
478 daysToKeep: '{build-days-to-keep}'
479 numToKeep: '{build-num-to-keep}'
480 artifactDaysToKeep: '{build-artifact-days-to-keep}'
481 artifactNumToKeep: '{build-artifact-num-to-keep}'
489 name: ARCHIVE_ARTIFACTS
490 default: '{archive-artifacts}'
491 description: Artifacts to archive to the logs server.
494 - fdio-infra-wrappers-non-activity-timeout:
495 build-timeout: '{build-timeout}'
498 - timed: '{periodicity}'
501 - shell: 'echo "BRANCH_ID={branch-id}" > $WORKSPACE/variables.prop'
503 properties-file: variables.prop
506 - ../scripts/setup_executor_env.sh
509 - ../scripts/csit/perf-timed.sh
513 output-path: 'archives'
517 - fdio-infra-shiplogs:
518 maven-version: 'mvn33-new'
521 name: 'csit-dpdk-perf-verify-{stream}-{node-arch}'
527 <li>perf verify - per csit gerrit patch
531 <li>name: <b>csit-dpdk-perf-verify-{stream}-{node-arch}</b>
532 <li>trigger: keyword in comment to csit patch:
533 <b>csit-dpdk-{node-arch}-perftest tag_list</b>
539 <li>perf test-cases selection
541 <li>test-cases selected using trigger keyword followed by tags
542 <li>all test-cases are labelled with CSIT RF topic tags
543 defined in <i>csit/docs/tag_documentation.rst</i>
545 <li>default tags for dpdk perf test type
547 <li>IP4BASE, L2XCBASE
548 <li>64B: 64B packet size
550 <li>X710: x710 Fortville NIC
551 <li>MRR: MRR throughput
555 <li>jjb verify: PASS/FAIL
561 project-type: freestyle
564 archive-artifacts: 'archive/*.*'
568 daysToKeep: '{build-days-to-keep}'
569 numToKeep: '{build-num-to-keep}'
570 artifactDaysToKeep: '{build-artifact-days-to-keep}'
571 artifactNumToKeep: '{build-artifact-num-to-keep}'
578 - csit-perf-trial-duration-parameter:
579 csit-perf-trial-duration: "{csit-perf-trial-duration}"
580 - csit-perf-trial-multiplicity-parameter:
581 csit-perf-trial-multiplicity: "{csit-perf-trial-multiplicity}"
583 name: ARCHIVE_ARTIFACTS
584 default: '{archive-artifacts}'
585 description: Artifacts to archive to the logs server.
588 - gerrit-trigger-scm:
589 credentials-id: 'jenkins-gerrit-credentials'
590 refspec: '$GERRIT_REFSPEC'
591 choosing-strategy: 'gerrit'
594 - fdio-infra-wrappers-non-activity-timeout:
595 build-timeout: '{build-timeout}'
598 - gerrit-trigger-csit-perftest:
601 trigger-word: 'csit-dpdk-{node-arch}-perftest'
607 - ../scripts/setup_executor_env.sh
610 - ../scripts/csit/perf-verify.sh
614 output-path: 'archives'
618 - fdio-infra-shiplogs:
619 maven-version: 'mvn33-new'
622 name: 'csit-dpdk-perf-mrr-weekly-master{node-arch}'
628 <li>check dpdk perf mrr weekly
634 <li>perf test-cases selection
636 <li>all CSIT DPDK MRR perf suites
640 <li>jjb verify: PASS/FAIL
642 <li>analyse: csit project (catch malfunctions/degradations)
646 project-type: freestyle
649 archive-artifacts: 'csit/archive/*.*'
653 daysToKeep: '{build-days-to-keep}'
654 numToKeep: '{build-num-to-keep}'
655 artifactDaysToKeep: '{build-artifact-days-to-keep}'
656 artifactNumToKeep: '{build-artifact-num-to-keep}'
663 - csit-perf-trial-duration-parameter:
664 csit-perf-trial-duration: "{csit-perf-trial-duration}"
665 - csit-perf-trial-multiplicity-parameter:
666 csit-perf-trial-multiplicity: "{csit-perf-trial-multiplicity}"
668 name: ARCHIVE_ARTIFACTS
669 default: '{archive-artifacts}'
670 description: Artifacts to archive to the logs server.
673 - fdio-infra-wrappers-non-activity-timeout:
674 build-timeout: '{build-timeout}'
677 - timed: '{periodicity}'
680 - shell: 'echo "BRANCH_ID={branch-id}" > $WORKSPACE/variables.prop'
682 properties-file: variables.prop
685 - ../scripts/setup_executor_env.sh
688 - ../scripts/csit/perf-timed.sh
692 output-path: 'archives'
696 - fdio-infra-shiplogs:
697 maven-version: 'mvn33-new'
700 name: 'csit-vpp-perf-report-iterative-{stream_report}-{node-arch}'
706 <li>get vpp performance iterative data for csit report
711 <b>csit-vpp-perf-report-iterative-{stream_report}-
713 <li>trigger: keyword in comment to csit patch:
714 <b>csit-vpp-report-iter-{node-arch}-perftest
717 csit-vpp-report-iter-{node-arch}-perftest vpp-00
723 <li>perf test-cases selection
725 <li>test-cases selected by tags defined in
726 <i>csit/docs/job_specs/report_iterative/{node-arch}/
732 <li>jjb verify: PASS/FAIL
733 <li>present: vpp performance
734 <li>analyse: vpp performance
738 project-type: freestyle
741 archive-artifacts: 'archive/*.*'
745 daysToKeep: '{build-days-to-keep}'
746 numToKeep: '{build-num-to-keep}'
747 artifactDaysToKeep: '{build-artifact-days-to-keep}'
748 artifactNumToKeep: '{build-artifact-num-to-keep}'
755 - gerrit-refspec-parameter
756 - gerrit-event-type-parameter
757 - gerrit-event-comment-text-parameter
758 - csit-perf-trial-duration-parameter:
759 csit-perf-trial-duration: "{csit-perf-trial-duration}"
760 - csit-perf-trial-multiplicity-parameter:
761 csit-perf-trial-multiplicity: "{csit-perf-trial-multiplicity}"
763 name: ARCHIVE_ARTIFACTS
764 default: '{archive-artifacts}'
765 description: Artifacts to archive to the logs server.
768 - gerrit-trigger-scm:
769 credentials-id: 'jenkins-gerrit-credentials'
770 refspec: '$GERRIT_REFSPEC'
771 choosing-strategy: 'gerrit'
774 - fdio-infra-wrappers-non-activity-timeout:
775 build-timeout: '{build-timeout}'
778 - gerrit-trigger-csit-perftest:
781 trigger-word: 'csit-vpp-report-iter-{node-arch}-perftest'
787 - ../scripts/setup_executor_env.sh
790 - ../scripts/csit/perf-verify.sh
794 output-path: 'archives'
798 - fdio-infra-shiplogs:
799 maven-version: 'mvn33-new'
802 name: 'csit-dpdk-perf-report-iterative-{stream_report}-{node-arch}'
808 <li>get dpdk performance iterative data for csit report
813 <b>csit-dpdk-perf-report-iterative-{stream_report}-
815 <li>trigger: keyword in comment to csit patch:
816 <b>csit-dpdk-report-iter-{node-arch}-perftest
819 csit-dpdk-report-iter-{node-arch}-perftest dpdk-00
825 <li>perf test-cases selection
827 <li>test-cases selected by tags defined in
828 <i>csit/docs/job_specs/report_iterative/{node-arch}/
834 <li>jjb verify: PASS/FAIL
835 <li>present: dpdk performance
836 <li>analyse: dpdk performance
840 project-type: freestyle
843 archive-artifacts: 'archive/*.*'
847 daysToKeep: '{build-days-to-keep}'
848 numToKeep: '{build-num-to-keep}'
849 artifactDaysToKeep: '{build-artifact-days-to-keep}'
850 artifactNumToKeep: '{build-artifact-num-to-keep}'
857 - gerrit-refspec-parameter
858 - gerrit-event-type-parameter
859 - gerrit-event-comment-text-parameter
860 - csit-perf-trial-duration-parameter:
861 csit-perf-trial-duration: "{csit-perf-trial-duration}"
862 - csit-perf-trial-multiplicity-parameter:
863 csit-perf-trial-multiplicity: "{csit-perf-trial-multiplicity}"
865 name: ARCHIVE_ARTIFACTS
866 default: '{archive-artifacts}'
867 description: Artifacts to archive to the logs server.
870 - gerrit-trigger-scm:
871 credentials-id: 'jenkins-gerrit-credentials'
872 refspec: '$GERRIT_REFSPEC'
873 choosing-strategy: 'gerrit'
876 - fdio-infra-wrappers-non-activity-timeout:
877 build-timeout: '{build-timeout}'
880 - gerrit-trigger-csit-perftest:
883 trigger-word: 'csit-dpdk-report-iter-{node-arch}-perftest'
889 - ../scripts/setup_executor_env.sh
892 - ../scripts/csit/perf-verify.sh
896 output-path: 'archives'
900 - fdio-infra-shiplogs:
901 maven-version: 'mvn33-new'
904 name: 'csit-vpp-perf-report-coverage-{stream_report}-{node-arch}'
910 <li>get vpp performance coverage data for csit report
915 <b>csit-vpp-perf-report-coverage-{stream_report}-
917 <li>trigger: keyword in comment to csit patch:
918 <b>csit-vpp-report-cov-{node-arch}-perftest
921 csit-vpp-report-cov-{node-arch}-perftest ip4-00
927 <li>perf test-cases selection
929 <li>test-cases selected by tags defined in
930 <i>csit/docs/job_specs/report_coverage/{node-arch}/
936 <li>jjb verify: PASS/FAIL
937 <li>present: vpp performance
938 <li>analyse: vpp performance
942 project-type: freestyle
945 archive-artifacts: 'archive/*.*'
949 daysToKeep: '{build-days-to-keep}'
950 numToKeep: '{build-num-to-keep}'
951 artifactDaysToKeep: '{build-artifact-days-to-keep}'
952 artifactNumToKeep: '{build-artifact-num-to-keep}'
959 - gerrit-refspec-parameter
960 - gerrit-event-type-parameter
961 - gerrit-event-comment-text-parameter
962 - csit-perf-trial-duration-parameter:
963 csit-perf-trial-duration: "{csit-perf-trial-duration}"
964 - csit-perf-trial-multiplicity-parameter:
965 csit-perf-trial-multiplicity: "{csit-perf-trial-multiplicity}"
967 name: ARCHIVE_ARTIFACTS
968 default: '{archive-artifacts}'
969 description: Artifacts to archive to the logs server.
972 - gerrit-trigger-scm:
973 credentials-id: 'jenkins-gerrit-credentials'
974 refspec: '$GERRIT_REFSPEC'
975 choosing-strategy: 'gerrit'
978 - fdio-infra-wrappers-non-activity-timeout:
979 build-timeout: '{build-timeout}'
982 - gerrit-trigger-csit-perftest:
985 trigger-word: 'csit-vpp-report-cov-{node-arch}-perftest'
991 - ../scripts/setup_executor_env.sh
994 - ../scripts/csit/perf-verify.sh
998 output-path: 'archives'
1002 - fdio-infra-shiplogs:
1003 maven-version: 'mvn33-new'
1006 name: 'csit-dpdk-perf-report-coverage-{stream_report}-{node-arch}'
1012 <li>get dpdk performance coverage data for csit report
1017 <b>csit-dpdk-perf-report-coverage-{stream_report}-
1019 <li>trigger: keyword in comment to csit patch:
1020 <b>csit-dpdk-report-cov-{node-arch}-perftest
1022 <li>trigger example:
1023 csit-dpdk-report-cov-{node-arch}-perftest dpdk-00
1029 <li>perf test-cases selection
1031 <li>test-cases selected by tags defined in
1032 <i>csit/docs/job_specs/report_coverage/{node-arch}/
1038 <li>jjb verify: PASS/FAIL
1039 <li>present: dpdk performance
1040 <li>analyse: dpdk performance
1044 project-type: freestyle
1047 archive-artifacts: 'archive/*.*'
1051 daysToKeep: '{build-days-to-keep}'
1052 numToKeep: '{build-num-to-keep}'
1053 artifactDaysToKeep: '{build-artifact-days-to-keep}'
1054 artifactNumToKeep: '{build-artifact-num-to-keep}'
1057 - project-parameter:
1058 project: '{project}'
1061 - gerrit-refspec-parameter
1062 - gerrit-event-type-parameter
1063 - gerrit-event-comment-text-parameter
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'