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}':
30 executor: 'ubuntu1804arm-us'
31 - 'csit-dpdk-perf-mrr-weekly-master{node-arch}':
37 periodicity: '0 0 * * 6'
38 - 'csit-vpp-perf-verify-{stream}-{node-arch}':
47 executor: 'ubuntu1804arm-us'
54 branch-id: 'oper-rls1908_1'
57 branch-id: 'oper-rls1908_2'
60 branch-id: 'oper-rls2001'
63 branch-id: 'oper-rls2005'
64 - 'csit-vpp-perf-mrr-daily-master{node-arch}':
67 periodicity: '0 2,14 * * *'
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 executor: 'ubuntu1804arm-us'
80 periodicity: '0 14 * * *'
81 - 'csit-vpp-perf-mrr-weekly-{stream}-{node-arch}':
92 branch-id: 'oper-rls1908_2'
93 periodicity: '0 0 * * 6'
94 - 'csit-vpp-perf-ndrpdr-weekly-master-{node-arch}':
100 periodicity: '0 0 * * 6'
101 - 'csit-vpp-perf-report-iterative-{stream_report}-{node-arch}':
110 executor: 'ubuntu1804arm-us'
111 - 'csit-dpdk-perf-report-iterative-{stream_report}-{node-arch}':
120 executor: 'ubuntu1804arm-us'
121 - 'csit-vpp-perf-report-coverage-{stream_report}-{node-arch}':
130 executor: 'ubuntu1804arm-us'
131 - 'csit-dpdk-perf-report-coverage-{stream_report}-{node-arch}':
140 executor: 'ubuntu1804arm-us'
143 executor: 'ubuntu1804-us'
146 csit-perf-trial-duration: "1.0"
147 csit-perf-trial-multiplicity: "10"
154 branch-id: 'oper-rls1908_2'
157 branch-id: 'oper-rls2001'
160 branch-id: 'oper-rls2005'
164 branch-id: 'oper-rls2005'
165 build-artifact-num-to-keep: 10
169 name: 'csit-vpp-perf-verify-{stream}-{node-arch}'
175 <li>perf verify - per csit gerrit patch
179 <li>name: <b>csit-vpp-perf-verify-{stream}-{node-arch}</b>
180 <li>trigger: keyword in comment to csit patch:
181 <b>csit-{node-arch}-perftest tag_list</b>
187 <li>perf test-cases selection
189 <li>test-cases selected using trigger keyword followed by tags
190 <li>all test-cases are labelled with CSIT RF topic tags
191 defined in <i>csit/docs/tag_documentation.rst</i>
193 <li>proposed keywords
195 <li>focus on testing specified vpp packet processing path
196 <li>format: csit-{node-arch}-perftest tag_list
198 <li>default tags for vpp startup config and perf test type
200 <li>IP4BASE, IP6BASE, L2BDBASE
201 <li>64B/78B: 64B/78B packet size
203 <li>X710: x710 Fortville NIC
204 <li>MRR: MRR throughput
208 <li>jjb verify: PASS/FAIL
214 project-type: freestyle
217 archive-artifacts: 'archive/*.*'
221 daysToKeep: '{build-days-to-keep}'
222 numToKeep: '{build-num-to-keep}'
223 artifactDaysToKeep: '{build-artifact-days-to-keep}'
224 artifactNumToKeep: '{build-artifact-num-to-keep}'
231 - gerrit-refspec-parameter
232 - gerrit-event-type-parameter
233 - gerrit-event-comment-text-parameter
234 - csit-perf-trial-duration-parameter:
235 csit-perf-trial-duration: "{csit-perf-trial-duration}"
236 - csit-perf-trial-multiplicity-parameter:
237 csit-perf-trial-multiplicity: "{csit-perf-trial-multiplicity}"
239 name: ARCHIVE_ARTIFACTS
240 default: '{archive-artifacts}'
241 description: Artifacts to archive to the logs server.
242 # This is a manually-triggered verify job, part of API coverage.
243 # CRC checking is needed to ensure vpp crc job breaks only when intended.
244 # Can be removed when this job is no longer needed for full API coverage.
245 - csit-fail-on-crc-mismatch-parameter:
246 fail-on-crc-mismatch: 'True'
249 - gerrit-trigger-scm:
250 credentials-id: 'jenkins-gerrit-credentials'
251 refspec: '$GERRIT_REFSPEC'
252 choosing-strategy: 'gerrit'
255 - fdio-infra-wrappers-non-activity-timeout:
256 build-timeout: '{build-timeout}'
259 - gerrit-trigger-csit-perftest:
262 trigger-word: 'csit-{node-arch}-perftest'
268 - ../scripts/csit/perf-verify.sh
276 - fdio-infra-shiplogs:
277 maven-version: 'mvn33-new'
280 name: 'csit-vpp-perf-mrr-daily-master{node-arch}'
286 <li>check vpp perf mrr daily
292 <li>perf test-cases selection
294 <li>all CSIT VPP MRR perf suites
298 <li>jjb verify: PASS/FAIL
300 <li>analyse: csit project (catch malfunctions/degradations)
304 project-type: freestyle
307 archive-artifacts: 'csit/archive/*.*'
311 daysToKeep: '{build-days-to-keep}'
312 numToKeep: '{build-num-to-keep}'
313 artifactDaysToKeep: '{build-artifact-days-to-keep}'
314 artifactNumToKeep: '{build-artifact-num-to-keep}'
321 - csit-perf-trial-duration-parameter:
322 csit-perf-trial-duration: "{csit-perf-trial-duration}"
323 - csit-perf-trial-multiplicity-parameter:
324 csit-perf-trial-multiplicity: "{csit-perf-trial-multiplicity}"
326 name: ARCHIVE_ARTIFACTS
327 default: '{archive-artifacts}'
328 description: Artifacts to archive to the logs server.
331 - fdio-infra-wrappers-non-activity-timeout:
332 build-timeout: '{build-timeout}'
335 - timed: '{periodicity}'
338 - shell: 'echo "BRANCH_ID={branch-id}" > $WORKSPACE/variables.prop'
340 properties-file: variables.prop
343 - ../scripts/csit/perf-timed.sh
347 output-path: 'csit/archive'
351 - fdio-infra-shiplogs:
352 maven-version: 'mvn33-new'
355 name: 'csit-vpp-perf-mrr-weekly-{stream}-{node-arch}'
361 <li>check vpp perf mrr weekly on {node-arch}
367 <li>perf test-cases selection
369 <li>NF Density CSIT VPP MRR perf suites
373 <li>jjb verify: PASS/FAIL
375 <li>analyse: csit project (catch malfunctions/degradations)
379 project-type: freestyle
382 archive-artifacts: 'csit/archive/*.*'
386 daysToKeep: '{build-days-to-keep}'
387 numToKeep: '{build-num-to-keep}'
388 artifactDaysToKeep: '{build-artifact-days-to-keep}'
389 artifactNumToKeep: '{build-artifact-num-to-keep}'
396 - csit-perf-trial-duration-parameter:
397 csit-perf-trial-duration: "{csit-perf-trial-duration}"
398 - csit-perf-trial-multiplicity-parameter:
399 csit-perf-trial-multiplicity: "{csit-perf-trial-multiplicity}"
401 name: ARCHIVE_ARTIFACTS
402 default: '{archive-artifacts}'
403 description: Artifacts to archive to the logs server.
406 - fdio-infra-wrappers-non-activity-timeout:
407 build-timeout: '{build-timeout}'
410 - timed: '{periodicity}'
413 - shell: 'echo "BRANCH_ID={branch-id}" > $WORKSPACE/variables.prop'
415 properties-file: variables.prop
418 - ../scripts/csit/perf-timed.sh
422 output-path: 'csit/archive'
426 - fdio-infra-shiplogs:
427 maven-version: 'mvn33-new'
430 name: 'csit-vpp-perf-ndrpdr-weekly-master-{node-arch}'
436 <li>check vpp perf ndrpdr weekly on {node-arch}
442 <li>perf test-cases selection
444 <li>pre-selected CSIT VPP NDRPDR perf suites
448 <li>jjb verify: PASS/FAIL
450 <li>analyse: csit project (catch malfunctions/degradations)
453 project-type: freestyle
456 archive-artifacts: 'csit/archive/*.*'
460 daysToKeep: '{build-days-to-keep}'
461 numToKeep: '{build-num-to-keep}'
462 artifactDaysToKeep: '{build-artifact-days-to-keep}'
463 artifactNumToKeep: '{build-artifact-num-to-keep}'
471 name: ARCHIVE_ARTIFACTS
472 default: '{archive-artifacts}'
473 description: Artifacts to archive to the logs server.
476 - fdio-infra-wrappers-non-activity-timeout:
477 build-timeout: '{build-timeout}'
480 - timed: '{periodicity}'
483 - shell: 'echo "BRANCH_ID={branch-id}" > $WORKSPACE/variables.prop'
485 properties-file: variables.prop
488 - ../scripts/csit/perf-timed.sh
492 output-path: 'csit/archive'
496 - fdio-infra-shiplogs:
497 maven-version: 'mvn33-new'
500 name: 'csit-dpdk-perf-verify-{stream}-{node-arch}'
506 <li>perf verify - per csit gerrit patch
510 <li>name: <b>csit-dpdk-perf-verify-{stream}-{node-arch}</b>
511 <li>trigger: keyword in comment to csit patch:
512 <b>csit-dpdk-{node-arch}-perftest tag_list</b>
518 <li>perf test-cases selection
520 <li>test-cases selected using trigger keyword followed by tags
521 <li>all test-cases are labelled with CSIT RF topic tags
522 defined in <i>csit/docs/tag_documentation.rst</i>
524 <li>default tags for dpdk perf test type
526 <li>IP4BASE, L2XCBASE
527 <li>64B: 64B packet size
529 <li>X710: x710 Fortville NIC
530 <li>MRR: MRR throughput
534 <li>jjb verify: PASS/FAIL
540 project-type: freestyle
543 archive-artifacts: 'archive/*.*'
547 daysToKeep: '{build-days-to-keep}'
548 numToKeep: '{build-num-to-keep}'
549 artifactDaysToKeep: '{build-artifact-days-to-keep}'
550 artifactNumToKeep: '{build-artifact-num-to-keep}'
557 - csit-perf-trial-duration-parameter:
558 csit-perf-trial-duration: "{csit-perf-trial-duration}"
559 - csit-perf-trial-multiplicity-parameter:
560 csit-perf-trial-multiplicity: "{csit-perf-trial-multiplicity}"
562 name: ARCHIVE_ARTIFACTS
563 default: '{archive-artifacts}'
564 description: Artifacts to archive to the logs server.
567 - gerrit-trigger-scm:
568 credentials-id: 'jenkins-gerrit-credentials'
569 refspec: '$GERRIT_REFSPEC'
570 choosing-strategy: 'gerrit'
573 - fdio-infra-wrappers-non-activity-timeout:
574 build-timeout: '{build-timeout}'
577 - gerrit-trigger-csit-perftest:
580 trigger-word: 'csit-dpdk-{node-arch}-perftest'
586 - ../scripts/csit/perf-verify.sh
594 - fdio-infra-shiplogs:
595 maven-version: 'mvn33-new'
598 name: 'csit-dpdk-perf-mrr-weekly-master{node-arch}'
604 <li>check dpdk perf mrr weekly
610 <li>perf test-cases selection
612 <li>all CSIT DPDK MRR perf suites
616 <li>jjb verify: PASS/FAIL
618 <li>analyse: csit project (catch malfunctions/degradations)
622 project-type: freestyle
625 archive-artifacts: 'csit/archive/*.*'
629 daysToKeep: '{build-days-to-keep}'
630 numToKeep: '{build-num-to-keep}'
631 artifactDaysToKeep: '{build-artifact-days-to-keep}'
632 artifactNumToKeep: '{build-artifact-num-to-keep}'
639 - csit-perf-trial-duration-parameter:
640 csit-perf-trial-duration: "{csit-perf-trial-duration}"
641 - csit-perf-trial-multiplicity-parameter:
642 csit-perf-trial-multiplicity: "{csit-perf-trial-multiplicity}"
644 name: ARCHIVE_ARTIFACTS
645 default: '{archive-artifacts}'
646 description: Artifacts to archive to the logs server.
649 - fdio-infra-wrappers-non-activity-timeout:
650 build-timeout: '{build-timeout}'
653 - timed: '{periodicity}'
656 - shell: 'echo "BRANCH_ID={branch-id}" > $WORKSPACE/variables.prop'
658 properties-file: variables.prop
661 - ../scripts/csit/perf-timed.sh
665 output-path: 'csit/archive'
669 - fdio-infra-shiplogs:
670 maven-version: 'mvn33-new'
673 name: 'csit-vpp-perf-report-iterative-{stream_report}-{node-arch}'
679 <li>get vpp performance iterative data for csit report
684 <b>csit-vpp-perf-report-iterative-{stream_report}-
686 <li>trigger: keyword in comment to csit patch:
687 <b>csit-vpp-report-iter-{node-arch}-perftest
690 csit-vpp-report-iter-{node-arch}-perftest vpp-00
696 <li>perf test-cases selection
698 <li>test-cases selected by tags defined in
699 <i>csit/docs/job_specs/report_iterative/{node-arch}/
705 <li>jjb verify: PASS/FAIL
706 <li>present: vpp performance
707 <li>analyse: vpp performance
711 project-type: freestyle
714 archive-artifacts: 'archive/*.*'
718 daysToKeep: '{build-days-to-keep}'
719 numToKeep: '{build-num-to-keep}'
720 artifactDaysToKeep: '{build-artifact-days-to-keep}'
721 artifactNumToKeep: '{build-artifact-num-to-keep}'
728 - csit-perf-trial-duration-parameter:
729 csit-perf-trial-duration: "{csit-perf-trial-duration}"
730 - csit-perf-trial-multiplicity-parameter:
731 csit-perf-trial-multiplicity: "{csit-perf-trial-multiplicity}"
733 name: ARCHIVE_ARTIFACTS
734 default: '{archive-artifacts}'
735 description: Artifacts to archive to the logs server.
738 - gerrit-trigger-scm:
739 credentials-id: 'jenkins-gerrit-credentials'
740 refspec: '$GERRIT_REFSPEC'
741 choosing-strategy: 'gerrit'
744 - fdio-infra-wrappers-non-activity-timeout:
745 build-timeout: '{build-timeout}'
748 - gerrit-trigger-csit-perftest:
751 trigger-word: 'csit-vpp-report-iter-{node-arch}-perftest'
757 - ../scripts/csit/perf-verify.sh
765 - fdio-infra-shiplogs:
766 maven-version: 'mvn33-new'
769 name: 'csit-dpdk-perf-report-iterative-{stream_report}-{node-arch}'
775 <li>get dpdk performance iterative data for csit report
780 <b>csit-dpdk-perf-report-iterative-{stream_report}-
782 <li>trigger: keyword in comment to csit patch:
783 <b>csit-dpdk-report-iter-{node-arch}-perftest
786 csit-dpdk-report-iter-{node-arch}-perftest dpdk-00
792 <li>perf test-cases selection
794 <li>test-cases selected by tags defined in
795 <i>csit/docs/job_specs/report_iterative/{node-arch}/
801 <li>jjb verify: PASS/FAIL
802 <li>present: dpdk performance
803 <li>analyse: dpdk performance
807 project-type: freestyle
810 archive-artifacts: 'archive/*.*'
814 daysToKeep: '{build-days-to-keep}'
815 numToKeep: '{build-num-to-keep}'
816 artifactDaysToKeep: '{build-artifact-days-to-keep}'
817 artifactNumToKeep: '{build-artifact-num-to-keep}'
824 - csit-perf-trial-duration-parameter:
825 csit-perf-trial-duration: "{csit-perf-trial-duration}"
826 - csit-perf-trial-multiplicity-parameter:
827 csit-perf-trial-multiplicity: "{csit-perf-trial-multiplicity}"
829 name: ARCHIVE_ARTIFACTS
830 default: '{archive-artifacts}'
831 description: Artifacts to archive to the logs server.
834 - gerrit-trigger-scm:
835 credentials-id: 'jenkins-gerrit-credentials'
836 refspec: '$GERRIT_REFSPEC'
837 choosing-strategy: 'gerrit'
840 - fdio-infra-wrappers-non-activity-timeout:
841 build-timeout: '{build-timeout}'
844 - gerrit-trigger-csit-perftest:
847 trigger-word: 'csit-dpdk-report-iter-{node-arch}-perftest'
853 - ../scripts/csit/perf-verify.sh
861 - fdio-infra-shiplogs:
862 maven-version: 'mvn33-new'
865 name: 'csit-vpp-perf-report-coverage-{stream_report}-{node-arch}'
871 <li>get vpp performance coverage data for csit report
876 <b>csit-vpp-perf-report-coverage-{stream_report}-
878 <li>trigger: keyword in comment to csit patch:
879 <b>csit-vpp-report-cov-{node-arch}-perftest
882 csit-vpp-report-cov-{node-arch}-perftest ip4-00
888 <li>perf test-cases selection
890 <li>test-cases selected by tags defined in
891 <i>csit/docs/job_specs/report_coverage/{node-arch}/
897 <li>jjb verify: PASS/FAIL
898 <li>present: vpp performance
899 <li>analyse: vpp performance
903 project-type: freestyle
906 archive-artifacts: 'archive/*.*'
910 daysToKeep: '{build-days-to-keep}'
911 numToKeep: '{build-num-to-keep}'
912 artifactDaysToKeep: '{build-artifact-days-to-keep}'
913 artifactNumToKeep: '{build-artifact-num-to-keep}'
920 - csit-perf-trial-duration-parameter:
921 csit-perf-trial-duration: "{csit-perf-trial-duration}"
922 - csit-perf-trial-multiplicity-parameter:
923 csit-perf-trial-multiplicity: "{csit-perf-trial-multiplicity}"
925 name: ARCHIVE_ARTIFACTS
926 default: '{archive-artifacts}'
927 description: Artifacts to archive to the logs server.
930 - gerrit-trigger-scm:
931 credentials-id: 'jenkins-gerrit-credentials'
932 refspec: '$GERRIT_REFSPEC'
933 choosing-strategy: 'gerrit'
936 - fdio-infra-wrappers-non-activity-timeout:
937 build-timeout: '{build-timeout}'
940 - gerrit-trigger-csit-perftest:
943 trigger-word: 'csit-vpp-report-cov-{node-arch}-perftest'
949 - ../scripts/csit/perf-verify.sh
957 - fdio-infra-shiplogs:
958 maven-version: 'mvn33-new'
961 name: 'csit-dpdk-perf-report-coverage-{stream_report}-{node-arch}'
967 <li>get dpdk performance coverage data for csit report
972 <b>csit-dpdk-perf-report-coverage-{stream_report}-
974 <li>trigger: keyword in comment to csit patch:
975 <b>csit-dpdk-report-cov-{node-arch}-perftest
978 csit-dpdk-report-cov-{node-arch}-perftest dpdk-00
984 <li>perf test-cases selection
986 <li>test-cases selected by tags defined in
987 <i>csit/docs/job_specs/report_coverage/{node-arch}/
993 <li>jjb verify: PASS/FAIL
994 <li>present: dpdk performance
995 <li>analyse: dpdk performance
999 project-type: freestyle
1002 archive-artifacts: 'archive/*.*'
1006 daysToKeep: '{build-days-to-keep}'
1007 numToKeep: '{build-num-to-keep}'
1008 artifactDaysToKeep: '{build-artifact-days-to-keep}'
1009 artifactNumToKeep: '{build-artifact-num-to-keep}'
1012 - project-parameter:
1013 project: '{project}'
1016 - csit-perf-trial-duration-parameter:
1017 csit-perf-trial-duration: "{csit-perf-trial-duration}"
1018 - csit-perf-trial-multiplicity-parameter:
1019 csit-perf-trial-multiplicity: "{csit-perf-trial-multiplicity}"
1021 name: ARCHIVE_ARTIFACTS
1022 default: '{archive-artifacts}'
1023 description: Artifacts to archive to the logs server.
1026 - gerrit-trigger-scm:
1027 credentials-id: 'jenkins-gerrit-credentials'
1028 refspec: '$GERRIT_REFSPEC'
1029 choosing-strategy: 'gerrit'
1032 - fdio-infra-wrappers-non-activity-timeout:
1033 build-timeout: '{build-timeout}'
1036 - gerrit-trigger-csit-perftest:
1037 project: '{project}'
1039 trigger-word: 'csit-dpdk-report-cov-{node-arch}-perftest'
1044 !include-raw-escape:
1045 - ../scripts/csit/perf-verify.sh
1049 output-path: archive
1053 - fdio-infra-shiplogs:
1054 maven-version: 'mvn33-new'