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}':
39 executor: 'ubuntu1804arm-us'
40 periodicity: '0 0 * * 6'
41 - 'csit-vpp-perf-verify-{stream}-{node-arch}':
51 executor: 'ubuntu1804arm-us'
58 branch-id: 'oper-rls1908_1'
61 branch-id: 'oper-rls1908_2'
64 branch-id: 'oper-rls2005'
67 branch-id: 'oper-rls2009'
68 - 'csit-vpp-perf-mrr-daily-master{node-arch}':
71 periodicity: '0 2 * * 1,3,5'
73 periodicity: '0 2 * * 1,3,5'
75 periodicity: '0 2 * * 1,3,5'
77 periodicity: '0 2 * * 1,4'
79 periodicity: '0 2 * * 1,4'
81 periodicity: '0 2 * * 1,4'
83 executor: 'ubuntu1804arm-us'
84 periodicity: '0 2 * * 4'
85 - 'csit-vpp-perf-mrr-weekly-{stream}-{node-arch}':
96 branch-id: 'oper-rls1908_2'
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}':
114 executor: 'ubuntu1804arm-us'
115 - 'csit-dpdk-perf-report-iterative-{stream_report}-{node-arch}':
124 executor: 'ubuntu1804arm-us'
125 - 'csit-vpp-perf-report-coverage-{stream_report}-{node-arch}':
134 executor: 'ubuntu1804arm-us'
135 - 'csit-dpdk-perf-report-coverage-{stream_report}-{node-arch}':
144 executor: 'ubuntu1804arm-us'
147 executor: 'ubuntu1804-us'
150 csit-perf-trial-duration: "1.0"
151 csit-perf-trial-multiplicity: "10"
158 branch-id: 'oper-rls1908_2'
161 branch-id: 'oper-rls2005'
164 branch-id: 'oper-rls2009'
168 branch-id: 'oper-rls2009'
170 build-artifact-num-to-keep: 10
174 name: 'csit-vpp-perf-verify-{stream}-{node-arch}'
180 <li>perf verify - per csit gerrit patch
184 <li>name: <b>csit-vpp-perf-verify-{stream}-{node-arch}</b>
185 <li>trigger: keyword in comment to csit patch:
186 <b>csit-{node-arch}-perftest tag_list</b>
192 <li>perf test-cases selection
194 <li>test-cases selected using trigger keyword followed by tags
195 <li>all test-cases are labelled with CSIT RF topic tags
196 defined in <i>csit/docs/tag_documentation.rst</i>
198 <li>proposed keywords
200 <li>focus on testing specified vpp packet processing path
201 <li>format: csit-{node-arch}-perftest tag_list
203 <li>default tags for vpp startup config and perf test type
205 <li>IP4BASE, IP6BASE, L2BDBASE
206 <li>64B/78B: 64B/78B packet size
208 <li>X710: x710 Fortville NIC
209 <li>MRR: MRR throughput
213 <li>jjb verify: PASS/FAIL
219 project-type: freestyle
222 archive-artifacts: 'archive/*.*'
226 daysToKeep: '{build-days-to-keep}'
227 numToKeep: '{build-num-to-keep}'
228 artifactDaysToKeep: '{build-artifact-days-to-keep}'
229 artifactNumToKeep: '{build-artifact-num-to-keep}'
236 - gerrit-refspec-parameter
237 - gerrit-event-type-parameter
238 - gerrit-event-comment-text-parameter
239 - csit-perf-trial-duration-parameter:
240 csit-perf-trial-duration: "{csit-perf-trial-duration}"
241 - csit-perf-trial-multiplicity-parameter:
242 csit-perf-trial-multiplicity: "{csit-perf-trial-multiplicity}"
244 name: ARCHIVE_ARTIFACTS
245 default: '{archive-artifacts}'
246 description: Artifacts to archive to the logs server.
247 # This is a manually-triggered verify job, part of API coverage.
248 # CRC checking is needed to ensure vpp crc job breaks only when intended.
249 # Can be removed when this job is no longer needed for full API coverage.
250 - csit-fail-on-crc-mismatch-parameter:
251 fail-on-crc-mismatch: 'True'
254 - gerrit-trigger-scm:
255 credentials-id: 'jenkins-gerrit-credentials'
256 refspec: '$GERRIT_REFSPEC'
257 choosing-strategy: 'gerrit'
260 - fdio-infra-wrappers-non-activity-timeout:
261 build-timeout: '{build-timeout}'
264 - gerrit-trigger-csit-perftest:
267 trigger-word: 'csit-{node-arch}-perftest'
273 - ../scripts/csit/perf-verify.sh
281 - fdio-infra-shiplogs:
282 maven-version: 'mvn33-new'
285 name: 'csit-vpp-perf-mrr-daily-master{node-arch}'
291 <li>check vpp perf mrr daily
297 <li>perf test-cases selection
299 <li>all CSIT VPP MRR perf suites
303 <li>jjb verify: PASS/FAIL
305 <li>analyse: csit project (catch malfunctions/degradations)
309 project-type: freestyle
312 archive-artifacts: 'csit/archive/*.*'
316 daysToKeep: '{build-days-to-keep}'
317 numToKeep: '{build-num-to-keep}'
318 artifactDaysToKeep: '{build-artifact-days-to-keep}'
319 artifactNumToKeep: '{build-artifact-num-to-keep}'
326 - csit-perf-trial-duration-parameter:
327 csit-perf-trial-duration: "{csit-perf-trial-duration}"
328 - csit-perf-trial-multiplicity-parameter:
329 csit-perf-trial-multiplicity: "{csit-perf-trial-multiplicity}"
331 name: ARCHIVE_ARTIFACTS
332 default: '{archive-artifacts}'
333 description: Artifacts to archive to the logs server.
336 - fdio-infra-wrappers-non-activity-timeout:
337 build-timeout: '{build-timeout}'
340 - timed: '{periodicity}'
343 - shell: 'echo "BRANCH_ID={branch-id}" > $WORKSPACE/variables.prop'
345 properties-file: variables.prop
348 - ../scripts/csit/perf-timed.sh
352 output-path: 'csit/archive'
356 - fdio-infra-shiplogs:
357 maven-version: 'mvn33-new'
360 name: 'csit-vpp-perf-mrr-weekly-{stream}-{node-arch}'
366 <li>check vpp perf mrr weekly on {node-arch}
372 <li>perf test-cases selection
374 <li>NF Density CSIT VPP MRR perf suites
378 <li>jjb verify: PASS/FAIL
380 <li>analyse: csit project (catch malfunctions/degradations)
384 project-type: freestyle
387 archive-artifacts: 'csit/archive/*.*'
391 daysToKeep: '{build-days-to-keep}'
392 numToKeep: '{build-num-to-keep}'
393 artifactDaysToKeep: '{build-artifact-days-to-keep}'
394 artifactNumToKeep: '{build-artifact-num-to-keep}'
401 - csit-perf-trial-duration-parameter:
402 csit-perf-trial-duration: "{csit-perf-trial-duration}"
403 - csit-perf-trial-multiplicity-parameter:
404 csit-perf-trial-multiplicity: "{csit-perf-trial-multiplicity}"
406 name: ARCHIVE_ARTIFACTS
407 default: '{archive-artifacts}'
408 description: Artifacts to archive to the logs server.
411 - fdio-infra-wrappers-non-activity-timeout:
412 build-timeout: '{build-timeout}'
415 - timed: '{periodicity}'
418 - shell: 'echo "BRANCH_ID={branch-id}" > $WORKSPACE/variables.prop'
420 properties-file: variables.prop
423 - ../scripts/csit/perf-timed.sh
427 output-path: 'csit/archive'
431 - fdio-infra-shiplogs:
432 maven-version: 'mvn33-new'
435 name: 'csit-vpp-perf-ndrpdr-weekly-master-{node-arch}'
441 <li>check vpp perf ndrpdr weekly on {node-arch}
447 <li>perf test-cases selection
449 <li>pre-selected CSIT VPP NDRPDR perf suites
453 <li>jjb verify: PASS/FAIL
455 <li>analyse: csit project (catch malfunctions/degradations)
458 project-type: freestyle
461 archive-artifacts: 'csit/archive/*.*'
465 daysToKeep: '{build-days-to-keep}'
466 numToKeep: '{build-num-to-keep}'
467 artifactDaysToKeep: '{build-artifact-days-to-keep}'
468 artifactNumToKeep: '{build-artifact-num-to-keep}'
476 name: ARCHIVE_ARTIFACTS
477 default: '{archive-artifacts}'
478 description: Artifacts to archive to the logs server.
481 - fdio-infra-wrappers-non-activity-timeout:
482 build-timeout: '{build-timeout}'
485 - timed: '{periodicity}'
488 - shell: 'echo "BRANCH_ID={branch-id}" > $WORKSPACE/variables.prop'
490 properties-file: variables.prop
493 - ../scripts/csit/perf-timed.sh
497 output-path: 'csit/archive'
501 - fdio-infra-shiplogs:
502 maven-version: 'mvn33-new'
505 name: 'csit-dpdk-perf-verify-{stream}-{node-arch}'
511 <li>perf verify - per csit gerrit patch
515 <li>name: <b>csit-dpdk-perf-verify-{stream}-{node-arch}</b>
516 <li>trigger: keyword in comment to csit patch:
517 <b>csit-dpdk-{node-arch}-perftest tag_list</b>
523 <li>perf test-cases selection
525 <li>test-cases selected using trigger keyword followed by tags
526 <li>all test-cases are labelled with CSIT RF topic tags
527 defined in <i>csit/docs/tag_documentation.rst</i>
529 <li>default tags for dpdk perf test type
531 <li>IP4BASE, L2XCBASE
532 <li>64B: 64B packet size
534 <li>X710: x710 Fortville NIC
535 <li>MRR: MRR throughput
539 <li>jjb verify: PASS/FAIL
545 project-type: freestyle
548 archive-artifacts: 'archive/*.*'
552 daysToKeep: '{build-days-to-keep}'
553 numToKeep: '{build-num-to-keep}'
554 artifactDaysToKeep: '{build-artifact-days-to-keep}'
555 artifactNumToKeep: '{build-artifact-num-to-keep}'
562 - csit-perf-trial-duration-parameter:
563 csit-perf-trial-duration: "{csit-perf-trial-duration}"
564 - csit-perf-trial-multiplicity-parameter:
565 csit-perf-trial-multiplicity: "{csit-perf-trial-multiplicity}"
567 name: ARCHIVE_ARTIFACTS
568 default: '{archive-artifacts}'
569 description: Artifacts to archive to the logs server.
572 - gerrit-trigger-scm:
573 credentials-id: 'jenkins-gerrit-credentials'
574 refspec: '$GERRIT_REFSPEC'
575 choosing-strategy: 'gerrit'
578 - fdio-infra-wrappers-non-activity-timeout:
579 build-timeout: '{build-timeout}'
582 - gerrit-trigger-csit-perftest:
585 trigger-word: 'csit-dpdk-{node-arch}-perftest'
591 - ../scripts/csit/perf-verify.sh
599 - fdio-infra-shiplogs:
600 maven-version: 'mvn33-new'
603 name: 'csit-dpdk-perf-mrr-weekly-master{node-arch}'
609 <li>check dpdk perf mrr weekly
615 <li>perf test-cases selection
617 <li>all CSIT DPDK MRR perf suites
621 <li>jjb verify: PASS/FAIL
623 <li>analyse: csit project (catch malfunctions/degradations)
627 project-type: freestyle
630 archive-artifacts: 'csit/archive/*.*'
634 daysToKeep: '{build-days-to-keep}'
635 numToKeep: '{build-num-to-keep}'
636 artifactDaysToKeep: '{build-artifact-days-to-keep}'
637 artifactNumToKeep: '{build-artifact-num-to-keep}'
644 - csit-perf-trial-duration-parameter:
645 csit-perf-trial-duration: "{csit-perf-trial-duration}"
646 - csit-perf-trial-multiplicity-parameter:
647 csit-perf-trial-multiplicity: "{csit-perf-trial-multiplicity}"
649 name: ARCHIVE_ARTIFACTS
650 default: '{archive-artifacts}'
651 description: Artifacts to archive to the logs server.
654 - fdio-infra-wrappers-non-activity-timeout:
655 build-timeout: '{build-timeout}'
658 - timed: '{periodicity}'
661 - shell: 'echo "BRANCH_ID={branch-id}" > $WORKSPACE/variables.prop'
663 properties-file: variables.prop
666 - ../scripts/csit/perf-timed.sh
670 output-path: 'csit/archive'
674 - fdio-infra-shiplogs:
675 maven-version: 'mvn33-new'
678 name: 'csit-vpp-perf-report-iterative-{stream_report}-{node-arch}'
684 <li>get vpp performance iterative data for csit report
689 <b>csit-vpp-perf-report-iterative-{stream_report}-
691 <li>trigger: keyword in comment to csit patch:
692 <b>csit-vpp-report-iter-{node-arch}-perftest
695 csit-vpp-report-iter-{node-arch}-perftest vpp-00
701 <li>perf test-cases selection
703 <li>test-cases selected by tags defined in
704 <i>csit/docs/job_specs/report_iterative/{node-arch}/
710 <li>jjb verify: PASS/FAIL
711 <li>present: vpp performance
712 <li>analyse: vpp performance
716 project-type: freestyle
719 archive-artifacts: 'archive/*.*'
723 daysToKeep: '{build-days-to-keep}'
724 numToKeep: '{build-num-to-keep}'
725 artifactDaysToKeep: '{build-artifact-days-to-keep}'
726 artifactNumToKeep: '{build-artifact-num-to-keep}'
733 - csit-perf-trial-duration-parameter:
734 csit-perf-trial-duration: "{csit-perf-trial-duration}"
735 - csit-perf-trial-multiplicity-parameter:
736 csit-perf-trial-multiplicity: "{csit-perf-trial-multiplicity}"
738 name: ARCHIVE_ARTIFACTS
739 default: '{archive-artifacts}'
740 description: Artifacts to archive to the logs server.
743 - gerrit-trigger-scm:
744 credentials-id: 'jenkins-gerrit-credentials'
745 refspec: '$GERRIT_REFSPEC'
746 choosing-strategy: 'gerrit'
749 - fdio-infra-wrappers-non-activity-timeout:
750 build-timeout: '{build-timeout}'
753 - gerrit-trigger-csit-perftest:
756 trigger-word: 'csit-vpp-report-iter-{node-arch}-perftest'
762 - ../scripts/csit/perf-verify.sh
770 - fdio-infra-shiplogs:
771 maven-version: 'mvn33-new'
774 name: 'csit-dpdk-perf-report-iterative-{stream_report}-{node-arch}'
780 <li>get dpdk performance iterative data for csit report
785 <b>csit-dpdk-perf-report-iterative-{stream_report}-
787 <li>trigger: keyword in comment to csit patch:
788 <b>csit-dpdk-report-iter-{node-arch}-perftest
791 csit-dpdk-report-iter-{node-arch}-perftest dpdk-00
797 <li>perf test-cases selection
799 <li>test-cases selected by tags defined in
800 <i>csit/docs/job_specs/report_iterative/{node-arch}/
806 <li>jjb verify: PASS/FAIL
807 <li>present: dpdk performance
808 <li>analyse: dpdk performance
812 project-type: freestyle
815 archive-artifacts: 'archive/*.*'
819 daysToKeep: '{build-days-to-keep}'
820 numToKeep: '{build-num-to-keep}'
821 artifactDaysToKeep: '{build-artifact-days-to-keep}'
822 artifactNumToKeep: '{build-artifact-num-to-keep}'
829 - csit-perf-trial-duration-parameter:
830 csit-perf-trial-duration: "{csit-perf-trial-duration}"
831 - csit-perf-trial-multiplicity-parameter:
832 csit-perf-trial-multiplicity: "{csit-perf-trial-multiplicity}"
834 name: ARCHIVE_ARTIFACTS
835 default: '{archive-artifacts}'
836 description: Artifacts to archive to the logs server.
839 - gerrit-trigger-scm:
840 credentials-id: 'jenkins-gerrit-credentials'
841 refspec: '$GERRIT_REFSPEC'
842 choosing-strategy: 'gerrit'
845 - fdio-infra-wrappers-non-activity-timeout:
846 build-timeout: '{build-timeout}'
849 - gerrit-trigger-csit-perftest:
852 trigger-word: 'csit-dpdk-report-iter-{node-arch}-perftest'
858 - ../scripts/csit/perf-verify.sh
866 - fdio-infra-shiplogs:
867 maven-version: 'mvn33-new'
870 name: 'csit-vpp-perf-report-coverage-{stream_report}-{node-arch}'
876 <li>get vpp performance coverage data for csit report
881 <b>csit-vpp-perf-report-coverage-{stream_report}-
883 <li>trigger: keyword in comment to csit patch:
884 <b>csit-vpp-report-cov-{node-arch}-perftest
887 csit-vpp-report-cov-{node-arch}-perftest ip4-00
893 <li>perf test-cases selection
895 <li>test-cases selected by tags defined in
896 <i>csit/docs/job_specs/report_coverage/{node-arch}/
902 <li>jjb verify: PASS/FAIL
903 <li>present: vpp performance
904 <li>analyse: vpp performance
908 project-type: freestyle
911 archive-artifacts: 'archive/*.*'
915 daysToKeep: '{build-days-to-keep}'
916 numToKeep: '{build-num-to-keep}'
917 artifactDaysToKeep: '{build-artifact-days-to-keep}'
918 artifactNumToKeep: '{build-artifact-num-to-keep}'
925 - csit-perf-trial-duration-parameter:
926 csit-perf-trial-duration: "{csit-perf-trial-duration}"
927 - csit-perf-trial-multiplicity-parameter:
928 csit-perf-trial-multiplicity: "{csit-perf-trial-multiplicity}"
930 name: ARCHIVE_ARTIFACTS
931 default: '{archive-artifacts}'
932 description: Artifacts to archive to the logs server.
935 - gerrit-trigger-scm:
936 credentials-id: 'jenkins-gerrit-credentials'
937 refspec: '$GERRIT_REFSPEC'
938 choosing-strategy: 'gerrit'
941 - fdio-infra-wrappers-non-activity-timeout:
942 build-timeout: '{build-timeout}'
945 - gerrit-trigger-csit-perftest:
948 trigger-word: 'csit-vpp-report-cov-{node-arch}-perftest'
954 - ../scripts/csit/perf-verify.sh
962 - fdio-infra-shiplogs:
963 maven-version: 'mvn33-new'
966 name: 'csit-dpdk-perf-report-coverage-{stream_report}-{node-arch}'
972 <li>get dpdk performance coverage data for csit report
977 <b>csit-dpdk-perf-report-coverage-{stream_report}-
979 <li>trigger: keyword in comment to csit patch:
980 <b>csit-dpdk-report-cov-{node-arch}-perftest
983 csit-dpdk-report-cov-{node-arch}-perftest dpdk-00
989 <li>perf test-cases selection
991 <li>test-cases selected by tags defined in
992 <i>csit/docs/job_specs/report_coverage/{node-arch}/
998 <li>jjb verify: PASS/FAIL
999 <li>present: dpdk performance
1000 <li>analyse: dpdk performance
1004 project-type: freestyle
1007 archive-artifacts: 'archive/*.*'
1011 daysToKeep: '{build-days-to-keep}'
1012 numToKeep: '{build-num-to-keep}'
1013 artifactDaysToKeep: '{build-artifact-days-to-keep}'
1014 artifactNumToKeep: '{build-artifact-num-to-keep}'
1017 - project-parameter:
1018 project: '{project}'
1021 - csit-perf-trial-duration-parameter:
1022 csit-perf-trial-duration: "{csit-perf-trial-duration}"
1023 - csit-perf-trial-multiplicity-parameter:
1024 csit-perf-trial-multiplicity: "{csit-perf-trial-multiplicity}"
1026 name: ARCHIVE_ARTIFACTS
1027 default: '{archive-artifacts}'
1028 description: Artifacts to archive to the logs server.
1031 - gerrit-trigger-scm:
1032 credentials-id: 'jenkins-gerrit-credentials'
1033 refspec: '$GERRIT_REFSPEC'
1034 choosing-strategy: 'gerrit'
1037 - fdio-infra-wrappers-non-activity-timeout:
1038 build-timeout: '{build-timeout}'
1041 - gerrit-trigger-csit-perftest:
1042 project: '{project}'
1044 trigger-word: 'csit-dpdk-report-cov-{node-arch}-perftest'
1049 !include-raw-escape:
1050 - ../scripts/csit/perf-verify.sh
1054 output-path: archive
1058 - fdio-infra-shiplogs:
1059 maven-version: 'mvn33-new'