5790caf9e033fdb04e609f3bfb3a42164d64c4e6
[ci-management.git] / jjb / csit / csit.yaml
1 # Copyright (c) 2019 Cisco and/or its affiliates.
2 # Licensed under the Apache License, Version 2.0 (the "License");
3 # you may not use this file except in compliance with the License.
4 # You may obtain a copy of the License at:
5 #
6 #     http://www.apache.org/licenses/LICENSE-2.0
7 #
8 # Unless required by applicable law or agreed to in writing, software
9 # distributed under the License is distributed on an "AS IS" BASIS,
10 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11 # See the License for the specific language governing permissions and
12 # limitations under the License.
13
14 ---
15 - project:
16     name: csit
17     description: 'CSIT Jenkins jobs.'
18     os:
19       - 'ubuntu1604'
20       - 'centos7'
21
22     topo:
23       - '2n'
24       - '3n'
25
26     arch:
27       - 'skx'
28       - 'hsw'
29       - 'arm'
30
31     jobs:
32       - 'csit-vpp-functional-{stream}-{os}-virl'
33       - 'csit-vpp-verify-{stream_timed}-{os}-weekly'
34       - 'csit-vpp-verify-{stream_timed}-{os}-semiweekly'
35       - 'csit-docs-merge-{stream_timed}'
36       - 'csit-docs-verify-{stream}'
37       - 'csit-report-merge-{stream}'
38       - 'csit-trending-daily-master'
39       - 'csit-dpdk-perf-verify-{stream}-{topo}-{arch}'
40       - 'csit-dpdk-perf-mrr-weekly-master'
41       - 'csit-dpdk-perf-mrr-weekly-master-2n-skx'
42       - 'csit-dpdk-perf-mrr-weekly-master-3n-skx'
43       - 'csit-ligato-perf-verify-{stream}-{topo}-{arch}'
44       - 'csit-ligato-perf-mrr-daily-master-3n-hsw'
45       - 'csit-vpp-perf-mrr-daily-master'
46       - 'csit-vpp-perf-mrr-daily-master-2n-skx'
47       - 'csit-vpp-perf-mrr-daily-master-3n-skx'
48       - 'csit-vpp-perf-mrr-weekly-master-2n-skx'
49       - 'csit-vpp-perf-ndrpdr-weekly-master-3n-hsw'
50       - 'csit-vpp-perf-ndrpdr-weekly-master-2n-skx'
51       - 'csit-vpp-perf-ndrpdr-weekly-master-3n-skx'
52       - 'csit-vpp-perf-verify-{stream}-{topo}-{arch}'
53       - 'csit-nsh_sfc-verify-perf-{stream}'
54       - 'csit-nsh_sfc-verify-func-{stream}-{os}-virl'
55       - 'csit-tldk-verify-func-{stream}-{os}-virl'
56       - 'csit-dmm-functional-{stream}-ubuntu1604-virl'
57
58     project: 'csit'
59     branch: 'master'
60     branch-id: 'oper'
61     docs-executor: 'ubuntu1804-us'
62     perf-executor: 'ubuntu1804-us'
63     build-artifact-num-to-keep: 10
64     stream_timed:
65       - master:
66           branch: 'master'
67           branch-id: 'oper'
68           docs-executor: 'ubuntu1804-us'
69           perf-executor: 'ubuntu1804-us'
70     stream:
71       - master:
72           branch: 'master'
73           branch-id: 'oper'
74           docs-executor: 'ubuntu1804-us'
75           perf-executor: 'ubuntu1804-us'
76       - '1807':
77           branch: 'rls1807'
78           branch-id: 'oper-rls1807'
79           docs-executor: 'ubuntu1604-basebuild-4c-4g'
80           perf-executor: 'ubuntu1604-basebuild-8c-32g'
81       - '1810':
82           branch: 'rls1810'
83           branch-id: 'oper-rls1810'
84           docs-executor: 'ubuntu1604-basebuild-4c-4g'
85           perf-executor: 'ubuntu1604-basebuild-8c-32g'
86       - '1901':
87           branch: 'rls1901'
88           branch-id: 'oper-rls1901'
89           docs-executor: 'ubuntu1604-basebuild-4c-4g'
90           perf-executor: 'ubuntu1604-basebuild-8c-32g'
91
92 - project:
93     name: csit-view
94     views:
95       - project-view
96     project-name: csit
97
98 - job-template:
99     name: 'csit-vpp-functional-{stream}-{os}-virl'
100
101     project-type: freestyle
102     node: '{os}-basebuild-4c-4g'
103     concurrent: true
104
105     build-discarder:
106       daysToKeep: '{build-days-to-keep}'
107       numToKeep: '{build-num-to-keep}'
108       artifactDaysToKeep: '{build-artifact-days-to-keep}'
109       artifactNumToKeep: '{build-artifact-num-to-keep}'
110
111     parameters:
112       - project-parameter:
113           project: '{project}'
114       - gerrit-parameter:
115           branch: '{branch}'
116
117     scm:
118       - gerrit-trigger-scm:
119           credentials-id: 'jenkins-gerrit-credentials'
120           refspec: '$GERRIT_REFSPEC'
121           choosing-strategy: 'gerrit'
122
123     wrappers:
124       - fdio-infra-wrappers:
125           build-timeout: '{build-timeout}'
126
127     triggers:
128       - gerrit-trigger-patch-submitted:
129           name: '{project}'
130           branch: '{branch}'
131
132     builders:
133       - shell:
134           !include-raw-escape: include-raw-csit-vpp-functional-virl.sh
135
136     publishers:
137       - archive-artifacts:
138           artifacts: >
139             **/csit/report.html,
140             **/csit/log.html,
141             **/csit/output.xml
142           latest-only: false
143
144       - robot-report:
145           output-path: ''
146
147       - fdio-infra-shiplogs:
148           maven-version: 'mvn33-new'
149
150 - job-template:
151     name: 'csit-dpdk-perf-verify-{stream}-{topo}-{arch}'
152
153     description: |
154       <ul>
155           <li>objective
156               <ul>
157                   <li>perf verify - per csit gerrit patch
158               </ul>
159           <li>job
160               <ul>
161                   <li>name: <b>csit-dpdk-perf-verify-{stream}-{topo}-{arch}</b>
162                   <li>trigger: keyword in comment to csit patch:
163                       <b>csit-dpdk-{topo}-{arch}-perftest tag_list</b>
164               </ul>
165           <li>perf test-cases selection
166               <ul>
167                   <li>test-cases selected using trigger keyword followed by tags
168                   <li>all test-cases are labelled with CSIT RF topic tags
169                       defined in <i>csit/docs/tag_documentation.rst</i>
170               </ul>
171           <li>default tags for dpdk perf test type
172               <ul>
173                   <li>IP4BASE, L2XCBASE
174                   <li>64B: 64B packet size
175                   <li>1C: one core
176                   <li>X710: x710 Fortville NIC
177                   <li>MRR: MRR throughput
178               </ul>
179           <li>results
180               <ul>
181                   <li>jjb verify: PASS/FAIL
182                   <li>present: no
183                   <li>analyse: no
184               </ul>
185       </ul>
186
187     project-type: freestyle
188     node: '{perf-executor}'
189     concurrent: true
190
191     build-discarder:
192       daysToKeep: '{build-days-to-keep}'
193       numToKeep: '{build-num-to-keep}'
194       artifactDaysToKeep: '{build-artifact-days-to-keep}'
195       artifactNumToKeep: '{build-artifact-num-to-keep}'
196
197     parameters:
198       - project-parameter:
199           project: '{project}'
200       - gerrit-parameter:
201           branch: '{branch}'
202
203     scm:
204       - gerrit-trigger-scm:
205           credentials-id: 'jenkins-gerrit-credentials'
206           refspec: '$GERRIT_REFSPEC'
207           choosing-strategy: 'gerrit'
208
209     wrappers:
210       - fdio-infra-wrappers-non-activity-timeout:
211           build-timeout: '{build-timeout}'
212
213     triggers:
214       - gerrit:
215           server-name: 'Primary'
216           trigger-on:
217             - comment-added-contains-event:
218                 comment-contains-value: 'csit-dpdk-{topo}-{arch}-perftest'
219           projects:
220             - project-compare-type: 'ANT'
221               project-pattern: '{project}'
222               branches:
223                 - branch-compare-type: 'ANT'
224                   branch-pattern: '**/{branch}'
225           skip-vote:
226             successful: false
227             failed: false
228             unstable: false
229             notbuilt: false
230
231     builders:
232       - shell:
233           !include-raw-escape: jjb/csit/include-raw-csit-perf-verify.sh
234
235     publishers:
236       - archive-artifacts:
237           artifacts: 'archive/*.*'
238           latest-only: false
239
240       - robot:
241           output-path: archive
242           other-files:
243             - '*.*'
244
245       - fdio-infra-shiplogs:
246           maven-version: 'mvn33-new'
247
248 - job-template:
249     name: 'csit-ligato-perf-verify-{stream}-{topo}-{arch}'
250
251     # yamllint disable rule:line-length
252     description: |
253       <ul>
254           <li>objective
255               <ul>
256                   <li>perf verify - per csit gerrit patch
257               </ul>
258           <li>job
259               <ul>
260                   <li>name: <b>csit-ligato-perf-verify-{stream}-{topo}-{arch}</b>
261                   <li>trigger: keyword in comment to csit patch:
262                       <b>csit--ligato-{topo}-{arch}-perftest tag_list</b>
263               </ul>
264           <li>perf test-cases selection
265               <ul>
266                   <li>test-cases selected using trigger keyword followed by tags
267                   <li>all test-cases are labelled with CSIT RF topic tags
268                       defined in <i>csit/docs/tag_documentation.rst</i>
269               </ul>
270           <li>proposed keywords
271               <ul>
272                   <li>focus on testing specified Kubernetes orchestrated topologies
273                   <li>format: csit-ligato-{topo}-{arch}-perftest tag_list
274               </ul>
275           <li>default tags for vpp startup config and perf test type
276               <ul>
277                   <li>IP4BASE, IP6BASE, L2BDBASE
278                   <li>64B/78B: 64B/78B packet size
279                   <li>1C: one core
280                   <li>X710: x710 Fortville NIC
281                   <li>MRR: MRR throughput
282               </ul>
283           <li>results
284               <ul>
285                   <li>jjb verify: PASS/FAIL
286                   <li>present: no
287                   <li>analyse: no
288               </ul>
289       </ul>
290       # yamllint enable rule:line-length
291
292     project-type: freestyle
293     # As the nomad executors are running docker containers we cannot run
294     # ligato-perf job due to dependency on using docker inside.
295     # TODO: Find the mechanics how to offload job logic from compiling docker
296     #   image so we can move this executor to ubuntu1804-us
297     node: 'ubuntu1804-basebuild-4c-4g'
298     concurrent: true
299
300     build-discarder:
301       daysToKeep: '{build-days-to-keep}'
302       numToKeep: '{build-num-to-keep}'
303       artifactDaysToKeep: '{build-artifact-days-to-keep}'
304       artifactNumToKeep: '{build-artifact-num-to-keep}'
305
306     parameters:
307       - project-parameter:
308           project: '{project}'
309       - gerrit-parameter:
310           branch: '{branch}'
311       - gerrit-refspec-parameter
312       - gerrit-event-type-parameter
313       - gerrit-event-comment-text-parameter
314
315     scm:
316       - gerrit-trigger-scm:
317           credentials-id: 'jenkins-gerrit-credentials'
318           refspec: '$GERRIT_REFSPEC'
319           choosing-strategy: 'gerrit'
320
321     wrappers:
322       - fdio-infra-wrappers-non-activity-timeout:
323           build-timeout: '{build-timeout}'
324
325     triggers:
326       - gerrit:
327           server-name: 'Primary'
328           trigger-on:
329             - comment-added-contains-event:
330                 comment-contains-value: 'csit-ligato-{topo}-{arch}-perftest'
331           projects:
332             - project-compare-type: 'ANT'
333               project-pattern: '{project}'
334               branches:
335                 - branch-compare-type: 'ANT'
336                   branch-pattern: '**/{branch}'
337           skip-vote:
338             successful: false
339             failed: false
340             unstable: false
341             notbuilt: false
342
343     builders:
344       - shell:
345           !include-raw-escape: jjb/csit/include-raw-csit-perf-verify.sh
346
347     publishers:
348       - archive-artifacts:
349           artifacts: 'archive/*.*'
350           latest-only: false
351
352       - robot:
353           output-path: archive
354           other-files:
355             - '*.*'
356
357       - fdio-infra-shiplogs:
358           maven-version: 'mvn33-new'
359
360
361 - job-template:
362     name: 'csit-vpp-verify-{stream_timed}-{os}-weekly'
363     # yamllint disable-line rule:line-length
364     description: 'Purpose of this job is to validate CSIT code of corresponding branch against verified vpp build from corresponding branch.'
365     # yamllint enable rule:line-length
366
367     project-type: freestyle
368     node: '{os}-basebuild-4c-4g'
369     concurrent: false
370
371     build-discarder:
372       daysToKeep: '{build-days-to-keep}'
373       numToKeep: '{build-num-to-keep}'
374       artifactDaysToKeep: '{build-artifact-days-to-keep}'
375       artifactNumToKeep: '{build-artifact-num-to-keep}'
376
377     parameters:
378       - project-parameter:
379           project: '{project}'
380       - gerrit-parameter:
381           branch: '{branch}'
382
383     scm:
384       - git-scm:
385           credentials-id: 'jenkins-gerrit-credentials'
386           branch: '{branch}'
387
388     wrappers:
389       - fdio-infra-wrappers-non-activity-timeout:
390           build-timeout: '{build-timeout}'
391
392     triggers:
393       - timed: '0 4 * * 0'
394
395       - gerrit-trigger-manually-triggered:
396           comment-trigger-value: 'csit-vpp-ref-verify'
397           name: '{project}'
398           branch: '{branch}'
399
400     builders:
401       - shell:
402           !include-raw-escape: jjb/csit/include-raw-csit-vpp-verify-weekly.sh
403
404     publishers:
405       - archive-artifacts:
406           artifacts: >
407             **/csit/report.html,
408             **/csit/log.html,
409             **/csit/output.xml
410           latest-only: false
411
412       - robot-report:
413           output-path: ''
414
415       - fdio-infra-shiplogs:
416           maven-version: 'mvn33-new'
417
418 - job-template:
419     name: 'csit-vpp-verify-{stream_timed}-{os}-semiweekly'
420     # yamllint disable-line rule:line-length
421     description: 'Purpose of this job is to validate latest vpp build from corresponding branch stored in nexus against verified CSIT codebase of corresponding branch.'
422     # yamllint enable rule:line-length
423
424     project-type: freestyle
425     node: '{os}-basebuild-4c-4g'
426     concurrent: false
427
428     build-discarder:
429       daysToKeep: '{build-days-to-keep}'
430       numToKeep: '{build-num-to-keep}'
431       artifactDaysToKeep: '{build-artifact-days-to-keep}'
432       artifactNumToKeep: '{build-artifact-num-to-keep}'
433
434     parameters:
435       - project-parameter:
436           project: '{project}'
437       - gerrit-parameter:
438           branch: '{branch}'
439
440     wrappers:
441       - fdio-infra-wrappers-non-activity-timeout:
442           build-timeout: '{build-timeout}'
443
444     triggers:
445       - timed: '0 4 * * 2,6'
446
447       - gerrit-trigger-manually-triggered:
448           comment-trigger-value: 'csit-verify-vpp'
449           name: '{project}'
450           branch: '{branch}'
451
452     builders:
453       - shell: 'echo "BRANCH_ID={branch-id}" > $WORKSPACE/variables.prop'
454       - inject:
455           properties-file: variables.prop
456       - shell:
457           # yamllint disable-line rule:line-length
458           !include-raw-escape: jjb/csit/include-raw-csit-vpp-verify-semiweekly.sh
459           # yamllint enable rule:line-length
460
461     publishers:
462       - archive-artifacts:
463           artifacts: 'csit/archive/*.*'
464           latest-only: false
465
466       - robot-report:
467           output-path: 'csit/archive'
468
469       - fdio-infra-shiplogs:
470           maven-version: 'mvn33-new'
471
472 - job-template:
473     name: 'csit-docs-verify-{stream}'
474
475     project-type: freestyle
476     node: '{docs-executor}'
477     concurrent: true
478
479     build-discarder:
480       daysToKeep: '{build-days-to-keep}'
481       numToKeep: '{build-num-to-keep}'
482       artifactDaysToKeep: '{build-artifact-days-to-keep}'
483       artifactNumToKeep: '{build-artifact-num-to-keep}'
484
485     parameters:
486       - project-parameter:
487           project: '{project}'
488       - gerrit-parameter:
489           branch: '{branch}'
490       - maven-exec:
491           maven-version: 'mvn33-new'
492
493     scm:
494       - gerrit-trigger-scm:
495           credentials-id: 'jenkins-gerrit-credentials'
496           refspec: '$GERRIT_REFSPEC'
497           choosing-strategy: 'gerrit'
498
499     wrappers:
500       - fdio-infra-wrappers-non-activity-timeout:
501           build-timeout: '{build-timeout}'
502
503     triggers:
504       - gerrit-trigger-patch-submitted:
505           name: '{project}'
506           branch: '{branch}'
507
508     builders:
509       - maven-target:
510           maven-version: 'mvn33-new'
511           goals: '--version'
512           settings: 'csit-settings'
513           settings-type: cfp
514           global-settings: 'global-settings'
515           global-settings-type: cfp
516       - provide-maven-settings:
517           settings-file: 'csit-settings'
518           global-settings-file: 'global-settings'
519       - shell:
520           !include-raw-escape: include-raw-csit-docs.sh
521
522     publishers:
523       - archive:
524           artifacts: 'resources/tools/doc_gen/csit.docs.tar.gz'
525           allow-empty: 'true'
526           fingerprint: false
527           only-if-success: true
528           default-excludes: false
529
530       - fdio-infra-shiplogs:
531           maven-version: 'mvn33-new'
532
533 - job-template:
534     name: 'csit-docs-merge-{stream_timed}'
535
536     project-type: freestyle
537     node: '{docs-executor}'
538     concurrent: true
539
540     build-discarder:
541       daysToKeep: '{build-days-to-keep}'
542       numToKeep: '{build-num-to-keep}'
543       artifactDaysToKeep: '{build-artifact-days-to-keep}'
544       artifactNumToKeep: '{build-artifact-num-to-keep}'
545
546     parameters:
547       - project-parameter:
548           project: '{project}'
549       - gerrit-parameter:
550           branch: '{branch}'
551       - maven-exec:
552           maven-version: 'mvn33-new'
553
554     scm:
555       - gerrit-trigger-scm:
556           credentials-id: 'jenkins-gerrit-credentials'
557           refspec: ''
558           choosing-strategy: 'default'
559
560     wrappers:
561       - fdio-infra-wrappers-non-activity-timeout:
562           build-timeout: '{build-timeout}'
563
564     triggers:
565       - reverse:
566           jobs: 'csit-vpp-verify-{stream_timed}-ubuntu1604-weekly'
567           result: 'success'
568       - gerrit:
569           server-name: 'Primary'
570           trigger-on:
571             - comment-added-contains-event:
572                 comment-contains-value: 'run-docs'
573           projects:
574             - project-compare-type: 'ANT'
575               project-pattern: '{project}'
576               branches:
577                 - branch-compare-type: 'ANT'
578                   branch-pattern: '**/{branch}'
579           skip-vote:
580             successful: true
581             failed: true
582             unstable: true
583             notbuilt: true
584
585     builders:
586       - maven-target:
587           maven-version: 'mvn33-new'
588           goals: '--version'
589           settings: 'csit-settings'
590           settings-type: cfp
591           global-settings: 'global-settings'
592           global-settings-type: cfp
593       - provide-maven-settings:
594           settings-file: 'csit-settings'
595           global-settings-file: 'global-settings'
596       - shell:
597           !include-raw-escape: include-raw-csit-docs.sh
598
599     publishers:
600       - archive:
601           artifacts: 'resources/tools/doc_gen/csit.docs.tar.gz'
602           allow-empty: 'true'
603           fingerprint: false
604           only-if-success: true
605           default-excludes: false
606
607       - fdio-infra-shiplogs:
608           maven-version: 'mvn33-new'
609
610 - job-template:
611     name: 'csit-report-merge-{stream}'
612
613     project-type: freestyle
614     node: 'ubuntu1604-basebuild-8c-32g'
615     concurrent: false
616
617     build-discarder:
618       daysToKeep: '{build-days-to-keep}'
619       numToKeep: '{build-num-to-keep}'
620       artifactDaysToKeep: '{build-artifact-days-to-keep}'
621       artifactNumToKeep: '{build-artifact-num-to-keep}'
622
623     parameters:
624       - project-parameter:
625           project: '{project}'
626       - gerrit-parameter:
627           branch: '{branch}'
628       - maven-exec:
629           maven-version: 'mvn33-new'
630
631     scm:
632       - gerrit-trigger-scm:
633           credentials-id: 'jenkins-gerrit-credentials'
634           refspec: '$GERRIT_REFSPEC'
635           choosing-strategy: 'default'
636
637     wrappers:
638       - fdio-infra-wrappers-non-activity-timeout:
639           build-timeout: '{build-timeout}'
640
641     triggers:
642       - gerrit:
643           server-name: 'Primary'
644           trigger-on:
645             - comment-added-contains-event:
646                 comment-contains-value: 'run-report'
647           projects:
648             - project-compare-type: 'ANT'
649               project-pattern: '{project}'
650               branches:
651                 - branch-compare-type: 'ANT'
652                   branch-pattern: '**/{branch}'
653           skip-vote:
654             successful: true
655             failed: true
656             unstable: true
657             notbuilt: true
658
659     builders:
660       - maven-target:
661           maven-version: 'mvn33-new'
662           goals: '--version'
663           settings: 'csit-settings'
664           settings-type: cfp
665           global-settings: 'global-settings'
666           global-settings-type: cfp
667       - provide-maven-settings:
668           settings-file: 'csit-settings'
669           global-settings-file: 'global-settings'
670       - shell:
671           !include-raw-escape: include-raw-csit-report.sh
672
673     publishers:
674       - archive:
675           artifacts: 'resources/tools/presentation/csit.report.tar.gz'
676           allow-empty: 'true'
677           fingerprint: false
678           only-if-success: true
679           default-excludes: false
680
681       - fdio-infra-shiplogs:
682           maven-version: 'mvn33-new'
683
684 - job-template:
685     name: 'csit-trending-daily-master'
686
687     project-type: freestyle
688     node: 'ubuntu1604-basebuild-8c-32g'
689     concurrent: false
690
691     build-discarder:
692       daysToKeep: '{build-days-to-keep}'
693       numToKeep: '{build-num-to-keep}'
694       artifactDaysToKeep: '{build-artifact-days-to-keep}'
695       artifactNumToKeep: '{build-artifact-num-to-keep}'
696
697     parameters:
698       - project-parameter:
699           project: '{project}'
700       - gerrit-parameter:
701           branch: '{branch}'
702       - maven-exec:
703           maven-version: 'mvn33-new'
704
705     scm:
706       - gerrit-trigger-scm:
707           credentials-id: 'jenkins-gerrit-credentials'
708           refspec: ''
709           choosing-strategy: 'default'
710
711     wrappers:
712       - fdio-infra-wrappers-non-activity-timeout:
713           build-timeout: '{build-timeout}'
714
715     triggers:
716       - reverse:
717           jobs: 'csit-vpp-perf-mrr-daily-master'
718           result: 'failure'
719
720     builders:
721       - maven-target:
722           maven-version: 'mvn33-new'
723           goals: '--version'
724           settings: 'csit-settings'
725           settings-type: cfp
726           global-settings: 'global-settings'
727           global-settings-type: cfp
728       - provide-maven-settings:
729           settings-file: 'csit-settings'
730           global-settings-file: 'global-settings'
731       - shell:
732           !include-raw-escape: include-raw-csit-cpta.sh
733
734     publishers:
735       - email-ext:
736           # yamllint disable-line rule:line-length
737           recipients: 'tifrank@cisco.com, csit-report+int+616+181919729795594561@lists.fd.io'
738           reply-to: ''
739           content-type: 'text'
740           subject: 'FD.io CSIT Trending Alert: Build # $BUILD_NUMBER'
741           # yamllint disable-line rule:line-length
742           attachments: '**/build-root/docs/deploy-site/src/site/resources/trending/_static/vpp/failed-tests*.tar.gz'
743           body: |
744                 FD.io CSIT Trending Alert - failed tests
745
746                 $PROJECT_NAME - Build # $BUILD_NUMBER - $BUILD_STATUS
747
748                 See attachment for the list of the failed tests.
749
750           always: true
751           failure: false
752
753       - fdio-infra-shiplogs:
754           maven-version: 'mvn33-new'
755
756 - job-template:
757     name: 'csit-vpp-perf-ndrpdr-weekly-master-3n-hsw'
758
759     description: |
760       <ul>
761           <li>objective
762               <ul>
763                   <li>check vpp perf ndrpdr weekly on 3n-hsw
764               </ul>
765           <li>perf test-cases selection
766               <ul>
767                   <li>pre-selected CSIT VPP NDRPDR perf suites
768               </ul>
769           <li>results
770               <ul>
771                   <li>jjb verify: PASS/FAIL
772                   <li>present: no
773                   <li>analyse: csit project (catch malfunctions/degradations)
774               </ul>
775       </ul>
776     project-type: freestyle
777     node: '{perf-executor}'
778     concurrent: false
779
780     build-discarder:
781       daysToKeep: '{build-days-to-keep}'
782       numToKeep: '{build-num-to-keep}'
783       artifactDaysToKeep: '{build-artifact-days-to-keep}'
784       artifactNumToKeep: '{build-artifact-num-to-keep}'
785
786     parameters:
787       - project-parameter:
788           project: '{project}'
789       - gerrit-parameter:
790           branch: '{branch}'
791
792     wrappers:
793       - fdio-infra-wrappers-non-activity-timeout:
794           build-timeout: '{build-timeout}'
795
796     triggers:
797       - timed: '0 0 * * 6'
798
799     builders:
800       - shell: 'echo "BRANCH_ID={branch-id}" > $WORKSPACE/variables.prop'
801       - inject:
802           properties-file: variables.prop
803       - shell:
804           !include-raw-escape: jjb/csit/include-raw-csit-perf-timed.sh
805
806     publishers:
807       - archive-artifacts:
808           artifacts: 'csit/archive/*.*'
809           latest-only: false
810
811       - robot:
812           output-path: 'csit/archive'
813           other-files:
814             - '*.*'
815
816       - fdio-infra-shiplogs:
817           maven-version: 'mvn33-new'
818
819 - job-template:
820     name: 'csit-vpp-perf-ndrpdr-weekly-master-2n-skx'
821
822     description: |
823       <ul>
824           <li>objective
825               <ul>
826                   <li>check vpp perf ndrpdr weekly
827               </ul>
828           <li>perf test-cases selection
829               <ul>
830                   <li>pre-selected CSIT VPP NDRPDR perf suites
831               </ul>
832           <li>results
833               <ul>
834                   <li>jjb verify: PASS/FAIL
835                   <li>present: no
836                   <li>analyse: csit project (catch malfunctions/degradations)
837               </ul>
838       </ul>
839     project-type: freestyle
840     node: '{perf-executor}'
841     concurrent: false
842
843     build-discarder:
844       daysToKeep: '{build-days-to-keep}'
845       numToKeep: '{build-num-to-keep}'
846       artifactDaysToKeep: '{build-artifact-days-to-keep}'
847       artifactNumToKeep: '{build-artifact-num-to-keep}'
848
849     parameters:
850       - project-parameter:
851           project: '{project}'
852       - gerrit-parameter:
853           branch: '{branch}'
854
855     wrappers:
856       - fdio-infra-wrappers-non-activity-timeout:
857           build-timeout: '{build-timeout}'
858
859     triggers:
860       - timed: '0 0 * * 6'
861
862     builders:
863       - shell: 'echo "BRANCH_ID={branch-id}" > $WORKSPACE/variables.prop'
864       - inject:
865           properties-file: variables.prop
866       - shell:
867           !include-raw-escape: jjb/csit/include-raw-csit-perf-timed.sh
868
869     publishers:
870       - archive-artifacts:
871           artifacts: 'csit/archive/*.*'
872           latest-only: false
873
874       - robot:
875           output-path: 'csit/archive'
876           other-files:
877             - '*.*'
878
879       - fdio-infra-shiplogs:
880           maven-version: 'mvn33-new'
881
882 - job-template:
883     name: 'csit-vpp-perf-ndrpdr-weekly-master-3n-skx'
884
885     description: |
886       <ul>
887           <li>objective
888               <ul>
889                   <li>check vpp perf ndrpdr weekly
890               </ul>
891           <li>perf test-cases selection
892               <ul>
893                   <li>pre-selected CSIT VPP NDRPDR perf suites
894               </ul>
895           <li>results
896               <ul>
897                   <li>jjb verify: PASS/FAIL
898                   <li>present: no
899                   <li>analyse: csit project (catch malfunctions/degradations)
900               </ul>
901       </ul>
902     project-type: freestyle
903     node: '{perf-executor}'
904     concurrent: false
905
906     build-discarder:
907       daysToKeep: '{build-days-to-keep}'
908       numToKeep: '{build-num-to-keep}'
909       artifactDaysToKeep: '{build-artifact-days-to-keep}'
910       artifactNumToKeep: '{build-artifact-num-to-keep}'
911
912     parameters:
913       - project-parameter:
914           project: '{project}'
915       - gerrit-parameter:
916           branch: '{branch}'
917
918     wrappers:
919       - fdio-infra-wrappers-non-activity-timeout:
920           build-timeout: '{build-timeout}'
921
922     triggers:
923       - timed: '0 0 * * 6'
924
925     builders:
926       - shell: 'echo "BRANCH_ID={branch-id}" > $WORKSPACE/variables.prop'
927       - inject:
928           properties-file: variables.prop
929       - shell:
930           !include-raw-escape: jjb/csit/include-raw-csit-perf-timed.sh
931
932     publishers:
933       - archive-artifacts:
934           artifacts: 'csit/archive/*.*'
935           latest-only: false
936
937       - robot:
938           output-path: 'csit/archive'
939           other-files:
940             - '*.*'
941
942       - fdio-infra-shiplogs:
943           maven-version: 'mvn33-new'
944
945 - job-template:
946     name: 'csit-ligato-perf-mrr-daily-master-3n-hsw'
947
948     description: |
949       <ul>
950           <li>objective
951               <ul>
952                   <li>check ligato perf mrr daily
953               </ul>
954           <li>perf test-cases selection
955               <ul>
956                   <li>all CSIT LIGATO MRR perf suites
957               </ul>
958           <li>results
959               <ul>
960                   <li>jjb verify: PASS/FAIL
961                   <li>present: no
962                   <li>analyse: csit project (catch malfunctions/degradations)
963               </ul>
964       </ul>
965
966     project-type: freestyle
967     node: '{perf-executor}'
968     concurrent: true
969
970     build-discarder:
971       daysToKeep: '{build-days-to-keep}'
972       numToKeep: '{build-num-to-keep}'
973       artifactDaysToKeep: '{build-artifact-days-to-keep}'
974       artifactNumToKeep: '{build-artifact-num-to-keep}'
975
976     parameters:
977       - project-parameter:
978           project: '{project}'
979       - gerrit-parameter:
980           branch: '{branch}'
981
982     wrappers:
983       - fdio-infra-wrappers-non-activity-timeout:
984           build-timeout: '{build-timeout}'
985
986     triggers:
987       - timed: '0 16 * * *'
988
989     builders:
990       - shell: 'echo "BRANCH_ID={branch-id}" > $WORKSPACE/variables.prop'
991       - inject:
992           properties-file: variables.prop
993       - shell:
994           !include-raw-escape: jjb/csit/include-raw-csit-perf-timed.sh
995
996     publishers:
997       - archive-artifacts:
998           artifacts: 'csit/archive/*.*'
999           latest-only: false
1000
1001       - robot:
1002           output-path: 'csit/archive'
1003           other-files:
1004             - '*.*'
1005
1006       - trigger:
1007           project: 'csit-trending-daily-master'
1008           threshold: 'FAILURE'
1009
1010       - fdio-infra-shiplogs:
1011           maven-version: 'mvn33-new'
1012
1013 - job-template:
1014     name: 'csit-vpp-perf-mrr-daily-master'
1015
1016     description: |
1017       <ul>
1018           <li>objective
1019               <ul>
1020                   <li>check vpp perf mrr daily
1021               </ul>
1022           <li>perf test-cases selection
1023               <ul>
1024                   <li>all CSIT VPP MRR perf suites
1025               </ul>
1026           <li>results
1027               <ul>
1028                   <li>jjb verify: PASS/FAIL
1029                   <li>present: no
1030                   <li>analyse: csit project (catch malfunctions/degradations)
1031               </ul>
1032       </ul>
1033
1034     project-type: freestyle
1035     node: '{perf-executor}'
1036     concurrent: true
1037
1038     build-discarder:
1039       daysToKeep: '{build-days-to-keep}'
1040       numToKeep: '{build-num-to-keep}'
1041       artifactDaysToKeep: '{build-artifact-days-to-keep}'
1042       artifactNumToKeep: '{build-artifact-num-to-keep}'
1043
1044     parameters:
1045       - project-parameter:
1046           project: '{project}'
1047       - gerrit-parameter:
1048           branch: '{branch}'
1049
1050     wrappers:
1051       - fdio-infra-wrappers-non-activity-timeout:
1052           build-timeout: '{build-timeout}'
1053
1054     triggers:
1055       - timed: '0 2,14 * * *'
1056
1057     builders:
1058       - shell: 'echo "BRANCH_ID={branch-id}" > $WORKSPACE/variables.prop'
1059       - inject:
1060           properties-file: variables.prop
1061       - shell:
1062           !include-raw-escape: jjb/csit/include-raw-csit-perf-timed.sh
1063
1064     publishers:
1065       - archive-artifacts:
1066           artifacts: 'csit/archive/*.*'
1067           latest-only: false
1068
1069       - robot:
1070           output-path: 'csit/archive'
1071           other-files:
1072             - '*.*'
1073
1074       - trigger:
1075           project: 'csit-trending-daily-master'
1076           threshold: 'FAILURE'
1077
1078       - fdio-infra-shiplogs:
1079           maven-version: 'mvn33-new'
1080
1081 - job-template:
1082     name: 'csit-vpp-perf-mrr-daily-master-2n-skx'
1083
1084     description: |
1085       <ul>
1086           <li>objective
1087               <ul>
1088                   <li>check vpp perf mrr daily
1089               </ul>
1090           <li>perf test-cases selection
1091               <ul>
1092                   <li>all CSIT VPP MRR perf suites
1093               </ul>
1094           <li>results
1095               <ul>
1096                   <li>jjb verify: PASS/FAIL
1097                   <li>present: no
1098                   <li>analyse: csit project (catch malfunctions/degradations)
1099               </ul>
1100       </ul>
1101
1102     project-type: freestyle
1103     node: '{perf-executor}'
1104     concurrent: true
1105
1106     build-discarder:
1107       daysToKeep: '{build-days-to-keep}'
1108       numToKeep: '{build-num-to-keep}'
1109       artifactDaysToKeep: '{build-artifact-days-to-keep}'
1110       artifactNumToKeep: '{build-artifact-num-to-keep}'
1111
1112     parameters:
1113       - project-parameter:
1114           project: '{project}'
1115       - gerrit-parameter:
1116           branch: '{branch}'
1117
1118     wrappers:
1119       - fdio-infra-wrappers-non-activity-timeout:
1120           build-timeout: '{build-timeout}'
1121
1122     triggers:
1123       - timed: '0 2,14 * * *'
1124
1125     builders:
1126       - shell: 'echo "BRANCH_ID={branch-id}" > $WORKSPACE/variables.prop'
1127       - inject:
1128           properties-file: variables.prop
1129       - shell:
1130           !include-raw-escape: jjb/csit/include-raw-csit-perf-timed.sh
1131
1132     publishers:
1133       - archive-artifacts:
1134           artifacts: 'csit/archive/*.*'
1135           latest-only: false
1136
1137       - robot:
1138           output-path: 'csit/archive'
1139           other-files:
1140             - '*.*'
1141
1142       - trigger:
1143           project: 'csit-trending-daily-master'
1144           threshold: 'FAILURE'
1145
1146       - fdio-infra-shiplogs:
1147           maven-version: 'mvn33-new'
1148
1149 - job-template:
1150     name: 'csit-vpp-perf-mrr-daily-master-3n-skx'
1151
1152     description: |
1153       <ul>
1154           <li>objective
1155               <ul>
1156                   <li>check vpp perf mrr daily
1157               </ul>
1158           <li>perf test-cases selection
1159               <ul>
1160                   <li>all CSIT VPP MRR perf suites
1161               </ul>
1162           <li>results
1163               <ul>
1164                   <li>jjb verify: PASS/FAIL
1165                   <li>present: no
1166                   <li>analyse: csit project (catch malfunctions/degradations)
1167               </ul>
1168       </ul>
1169
1170     project-type: freestyle
1171     node: '{perf-executor}'
1172     concurrent: true
1173
1174     build-discarder:
1175       daysToKeep: '{build-days-to-keep}'
1176       numToKeep: '{build-num-to-keep}'
1177       artifactDaysToKeep: '{build-artifact-days-to-keep}'
1178       artifactNumToKeep: '{build-artifact-num-to-keep}'
1179
1180     parameters:
1181       - project-parameter:
1182           project: '{project}'
1183       - gerrit-parameter:
1184           branch: '{branch}'
1185
1186     wrappers:
1187       - fdio-infra-wrappers-non-activity-timeout:
1188           build-timeout: '{build-timeout}'
1189
1190     triggers:
1191       - timed: '0 2,14 * * *'
1192
1193     builders:
1194       - shell: 'echo "BRANCH_ID={branch-id}" > $WORKSPACE/variables.prop'
1195       - inject:
1196           properties-file: variables.prop
1197       - shell:
1198           !include-raw-escape: jjb/csit/include-raw-csit-perf-timed.sh
1199
1200     publishers:
1201       - archive-artifacts:
1202           artifacts: 'csit/archive/*.*'
1203           latest-only: false
1204
1205       - robot:
1206           output-path: 'csit/archive'
1207           other-files:
1208             - '*.*'
1209
1210       - trigger:
1211           project: 'csit-trending-daily-master'
1212           threshold: 'FAILURE'
1213
1214       - fdio-infra-shiplogs:
1215           maven-version: 'mvn33-new'
1216
1217 - job-template:
1218     name: 'csit-vpp-perf-mrr-weekly-master-2n-skx'
1219
1220     description: |
1221       <ul>
1222           <li>objective
1223               <ul>
1224                   <li>check vpp perf mrr weekly
1225               </ul>
1226           <li>perf test-cases selection
1227               <ul>
1228                   <li>NF Density CSIT VPP MRR perf suites
1229               </ul>
1230           <li>results
1231               <ul>
1232                   <li>jjb verify: PASS/FAIL
1233                   <li>present: no
1234                   <li>analyse: csit project (catch malfunctions/degradations)
1235               </ul>
1236       </ul>
1237
1238     project-type: freestyle
1239     node: '{perf-executor}'
1240     concurrent: true
1241
1242     build-discarder:
1243       daysToKeep: '{build-days-to-keep}'
1244       numToKeep: '{build-num-to-keep}'
1245       artifactDaysToKeep: '{build-artifact-days-to-keep}'
1246       artifactNumToKeep: '{build-artifact-num-to-keep}'
1247
1248     parameters:
1249       - project-parameter:
1250           project: '{project}'
1251       - gerrit-parameter:
1252           branch: '{branch}'
1253
1254     wrappers:
1255       - fdio-infra-wrappers-non-activity-timeout:
1256           build-timeout: '{build-timeout}'
1257
1258     triggers:
1259       - timed: '0 0 * * 6'
1260
1261     builders:
1262       - shell: 'echo "BRANCH_ID={branch-id}" > $WORKSPACE/variables.prop'
1263       - inject:
1264           properties-file: variables.prop
1265       - shell:
1266           !include-raw-escape: jjb/csit/include-raw-csit-perf-timed.sh
1267
1268     publishers:
1269       - archive-artifacts:
1270           artifacts: 'csit/archive/*.*'
1271           latest-only: false
1272
1273       - robot:
1274           output-path: 'csit/archive'
1275           other-files:
1276             - '*.*'
1277
1278       - trigger:
1279           project: 'csit-trending-daily-master'
1280           threshold: 'FAILURE'
1281
1282       - fdio-infra-shiplogs:
1283           maven-version: 'mvn33-new'
1284
1285 - job-template:
1286     name: 'csit-dpdk-perf-mrr-weekly-master'
1287
1288     description: |
1289       <ul>
1290           <li>objective
1291               <ul>
1292                   <li>check dpdk perf mrr weekly
1293               </ul>
1294           <li>perf test-cases selection
1295               <ul>
1296                   <li>all CSIT DPDK MRR perf suites
1297               </ul>
1298           <li>results
1299               <ul>
1300                   <li>jjb verify: PASS/FAIL
1301                   <li>present: no
1302                   <li>analyse: csit project (catch malfunctions/degradations)
1303               </ul>
1304       </ul>
1305
1306     project-type: freestyle
1307     node: '{perf-executor}'
1308     concurrent: false
1309
1310     build-discarder:
1311       daysToKeep: '{build-days-to-keep}'
1312       numToKeep: '{build-num-to-keep}'
1313       artifactDaysToKeep: '{build-artifact-days-to-keep}'
1314       artifactNumToKeep: '{build-artifact-num-to-keep}'
1315
1316     parameters:
1317       - project-parameter:
1318           project: '{project}'
1319       - gerrit-parameter:
1320           branch: '{branch}'
1321
1322     wrappers:
1323       - fdio-infra-wrappers-non-activity-timeout:
1324           build-timeout: '{build-timeout}'
1325
1326     triggers:
1327       - timed: '0 0 * * 6'
1328
1329     builders:
1330       - shell: 'echo "BRANCH_ID={branch-id}" > $WORKSPACE/variables.prop'
1331       - inject:
1332           properties-file: variables.prop
1333       - shell:
1334           !include-raw-escape: jjb/csit/include-raw-csit-perf-timed.sh
1335
1336     publishers:
1337       - archive-artifacts:
1338           artifacts: 'csit/archive/*.*'
1339           latest-only: false
1340
1341       - robot:
1342           output-path: 'csit/archive'
1343           other-files:
1344             - '*.*'
1345
1346       - trigger:
1347           project: 'csit-trending-daily-master'
1348           threshold: 'FAILURE'
1349
1350       - fdio-infra-shiplogs:
1351           maven-version: 'mvn33-new'
1352
1353 - job-template:
1354     name: 'csit-dpdk-perf-mrr-weekly-master-2n-skx'
1355
1356     description: |
1357       <ul>
1358           <li>objective
1359               <ul>
1360                   <li>check dpdk perf mrr weekly
1361               </ul>
1362           <li>perf test-cases selection
1363               <ul>
1364                   <li>all CSIT DPDK MRR perf suites
1365               </ul>
1366           <li>results
1367               <ul>
1368                   <li>jjb verify: PASS/FAIL
1369                   <li>present: no
1370                   <li>analyse: csit project (catch malfunctions/degradations)
1371               </ul>
1372       </ul>
1373
1374     project-type: freestyle
1375     node: '{perf-executor}'
1376     concurrent: false
1377
1378     build-discarder:
1379       daysToKeep: '{build-days-to-keep}'
1380       numToKeep: '{build-num-to-keep}'
1381       artifactDaysToKeep: '{build-artifact-days-to-keep}'
1382       artifactNumToKeep: '{build-artifact-num-to-keep}'
1383
1384     parameters:
1385       - project-parameter:
1386           project: '{project}'
1387       - gerrit-parameter:
1388           branch: '{branch}'
1389
1390     wrappers:
1391       - fdio-infra-wrappers-non-activity-timeout:
1392           build-timeout: '{build-timeout}'
1393
1394     triggers:
1395       - timed: '0 0 * * 6'
1396
1397     builders:
1398       - shell: 'echo "BRANCH_ID={branch-id}" > $WORKSPACE/variables.prop'
1399       - inject:
1400           properties-file: variables.prop
1401       - shell:
1402           !include-raw-escape: jjb/csit/include-raw-csit-perf-timed.sh
1403
1404     publishers:
1405       - archive-artifacts:
1406           artifacts: 'csit/archive/*.*'
1407           latest-only: false
1408
1409       - robot:
1410           output-path: 'csit/archive'
1411           other-files:
1412             - '*.*'
1413
1414       - trigger:
1415           project: 'csit-trending-daily-master'
1416           threshold: 'FAILURE'
1417
1418       - fdio-infra-shiplogs:
1419           maven-version: 'mvn33-new'
1420
1421 - job-template:
1422     name: 'csit-dpdk-perf-mrr-weekly-master-3n-skx'
1423
1424     description: |
1425       <ul>
1426           <li>objective
1427               <ul>
1428                   <li>check dpdk perf mrr weekly
1429               </ul>
1430           <li>perf test-cases selection
1431               <ul>
1432                   <li>all CSIT DPDK MRR perf suites
1433               </ul>
1434           <li>results
1435               <ul>
1436                   <li>jjb verify: PASS/FAIL
1437                   <li>present: no
1438                   <li>analyse: csit project (catch malfunctions/degradations)
1439               </ul>
1440       </ul>
1441
1442     project-type: freestyle
1443     node: '{perf-executor}'
1444     concurrent: false
1445
1446     build-discarder:
1447       daysToKeep: '{build-days-to-keep}'
1448       numToKeep: '{build-num-to-keep}'
1449       artifactDaysToKeep: '{build-artifact-days-to-keep}'
1450       artifactNumToKeep: '{build-artifact-num-to-keep}'
1451
1452     parameters:
1453       - project-parameter:
1454           project: '{project}'
1455       - gerrit-parameter:
1456           branch: '{branch}'
1457
1458     wrappers:
1459       - fdio-infra-wrappers-non-activity-timeout:
1460           build-timeout: '{build-timeout}'
1461
1462     triggers:
1463       - timed: '0 0 * * 6'
1464
1465     builders:
1466       - shell: 'echo "BRANCH_ID={branch-id}" > $WORKSPACE/variables.prop'
1467       - inject:
1468           properties-file: variables.prop
1469       - shell:
1470           !include-raw-escape: jjb/csit/include-raw-csit-perf-timed.sh
1471
1472     publishers:
1473       - archive-artifacts:
1474           artifacts: 'csit/archive/*.*'
1475           latest-only: false
1476
1477       - robot:
1478           output-path: 'csit/archive'
1479           other-files:
1480             - '*.*'
1481
1482       - trigger:
1483           project: 'csit-trending-daily-master'
1484           threshold: 'FAILURE'
1485
1486       - fdio-infra-shiplogs:
1487           maven-version: 'mvn33-new'
1488
1489
1490 - job-template:
1491     name: 'csit-vpp-perf-verify-{stream}-{topo}-{arch}'
1492
1493     description: |
1494       <ul>
1495           <li>objective
1496               <ul>
1497                   <li>perf verify - per csit gerrit patch
1498               </ul>
1499           <li>job
1500               <ul>
1501                   <li>name: <b>csit-vpp-perf-verify-{stream}-{topo}-{arch}</b>
1502                   <li>trigger: keyword in comment to csit patch:
1503                       <b>csit-{topo}-{arch}-perftest tag_list</b>
1504               </ul>
1505           <li>perf test-cases selection
1506               <ul>
1507                   <li>test-cases selected using trigger keyword followed by tags
1508                   <li>all test-cases are labelled with CSIT RF topic tags
1509                       defined in <i>csit/docs/tag_documentation.rst</i>
1510               </ul>
1511           <li>proposed keywords
1512               <ul>
1513                   <li>focus on testing specified vpp packet processing path
1514                   <li>format: csit-{topo}-{arch}-perftest tag_list
1515               </ul>
1516           <li>default tags for vpp startup config and perf test type
1517               <ul>
1518                   <li>IP4BASE, IP6BASE, L2BDBASE
1519                   <li>64B/78B: 64B/78B packet size
1520                   <li>1C: one core
1521                   <li>X710: x710 Fortville NIC
1522                   <li>MRR: MRR throughput
1523               </ul>
1524           <li>results
1525               <ul>
1526                   <li>jjb verify: PASS/FAIL
1527                   <li>present: no
1528                   <li>analyse: no
1529               </ul>
1530       </ul>
1531
1532     project-type: freestyle
1533     node: '{perf-executor}'
1534     concurrent: true
1535
1536     build-discarder:
1537       daysToKeep: '{build-days-to-keep}'
1538       numToKeep: '{build-num-to-keep}'
1539       artifactDaysToKeep: '{build-artifact-days-to-keep}'
1540       artifactNumToKeep: '{build-artifact-num-to-keep}'
1541
1542     parameters:
1543       - project-parameter:
1544           project: '{project}'
1545       - gerrit-parameter:
1546           branch: '{branch}'
1547       - gerrit-refspec-parameter
1548       - gerrit-event-type-parameter
1549       - gerrit-event-comment-text-parameter
1550
1551     scm:
1552       - gerrit-trigger-scm:
1553           credentials-id: 'jenkins-gerrit-credentials'
1554           refspec: '$GERRIT_REFSPEC'
1555           choosing-strategy: 'gerrit'
1556
1557     wrappers:
1558       - fdio-infra-wrappers-non-activity-timeout:
1559           build-timeout: '{build-timeout}'
1560
1561     triggers:
1562       - gerrit:
1563           server-name: 'Primary'
1564           trigger-on:
1565             - comment-added-contains-event:
1566                 comment-contains-value: 'csit-{topo}-{arch}-perftest'
1567           projects:
1568             - project-compare-type: 'ANT'
1569               project-pattern: '{project}'
1570               branches:
1571                 - branch-compare-type: 'ANT'
1572                   branch-pattern: '**/{branch}'
1573           skip-vote:
1574             successful: false
1575             failed: false
1576             unstable: false
1577             notbuilt: false
1578
1579     builders:
1580       - shell:
1581           !include-raw-escape: jjb/csit/include-raw-csit-perf-verify.sh
1582
1583     publishers:
1584       - archive-artifacts:
1585           artifacts: 'archive/*.*'
1586           latest-only: false
1587
1588       - robot:
1589           output-path: archive
1590           other-files:
1591             - '*.*'
1592
1593       - fdio-infra-shiplogs:
1594           maven-version: 'mvn33-new'
1595
1596 - job-template:
1597     name: 'csit-nsh_sfc-verify-perf-{stream}'
1598
1599     project-type: freestyle
1600     node: 'ubuntu1604-basebuild-4c-4g'
1601     concurrent: true
1602
1603     build-discarder:
1604       daysToKeep: '{build-days-to-keep}'
1605       numToKeep: '{build-num-to-keep}'
1606       artifactDaysToKeep: '{build-artifact-days-to-keep}'
1607       artifactNumToKeep: '{build-artifact-num-to-keep}'
1608
1609     parameters:
1610       - project-parameter:
1611           project: '{project}'
1612       - gerrit-parameter:
1613           branch: '{branch}'
1614       - os-parameter:
1615           os: 'ubuntu1604'
1616       - stream-parameter:
1617           stream: '{stream}'
1618
1619     scm:
1620       - gerrit-trigger-scm:
1621           credentials-id: 'jenkins-gerrit-credentials'
1622           refspec: '$GERRIT_REFSPEC'
1623           choosing-strategy: 'gerrit'
1624
1625     wrappers:
1626       - fdio-infra-wrappers-non-activity-timeout:
1627           build-timeout: '{build-timeout}'
1628
1629     triggers:
1630       - gerrit-trigger-manually-triggered:
1631           name: '{project}'
1632           branch: '{branch}'
1633           comment-trigger-value: 'csit_nsh_sfc_perf_{stream}'
1634
1635     builders:
1636       - shell:
1637           !include-raw-escape: jjb/csit/include-raw-csit-nsh_sfc-perf-hw.sh
1638
1639     publishers:
1640       - archive-artifacts:
1641           artifacts: 'archive/*.*'
1642           latest-only: false
1643
1644       - robot-report:
1645           output-path: 'archive'
1646
1647       - fdio-infra-shiplogs:
1648           maven-version: 'mvn33-new'
1649
1650 - job-template:
1651     name: 'csit-nsh_sfc-verify-func-{stream}-{os}-virl'
1652
1653     project-type: freestyle
1654     node: '{os}-basebuild-4c-4g'
1655     concurrent: true
1656
1657     build-discarder:
1658       daysToKeep: '{build-days-to-keep}'
1659       numToKeep: '{build-num-to-keep}'
1660       artifactDaysToKeep: '{build-artifact-days-to-keep}'
1661       artifactNumToKeep: '{build-artifact-num-to-keep}'
1662
1663     parameters:
1664       - project-parameter:
1665           project: '{project}'
1666       - gerrit-parameter:
1667           branch: '{branch}'
1668       - os-parameter:
1669           os: '{os}'
1670       - stream-parameter:
1671           stream: '{stream}'
1672
1673     scm:
1674       - gerrit-trigger-scm:
1675           credentials-id: 'jenkins-gerrit-credentials'
1676           refspec: '$GERRIT_REFSPEC'
1677           choosing-strategy: 'gerrit'
1678
1679     wrappers:
1680       - fdio-infra-wrappers:
1681           build-timeout: '{build-timeout}'
1682
1683     triggers:
1684       - gerrit-trigger-manually-triggered:
1685           name: '{project}'
1686           branch: '{branch}'
1687           comment-trigger-value: 'csit_nsh_sfc_func_{stream}'
1688
1689     builders:
1690       - shell:
1691           !include-raw-escape: include-raw-csit-nsh_sfc-functional-virl.sh
1692
1693     publishers:
1694       - archive-artifacts:
1695           artifacts: 'archive/*.*'
1696           latest-only: false
1697
1698       - robot-report:
1699           output-path: 'archive'
1700
1701       - fdio-infra-shiplogs:
1702           maven-version: 'mvn33-new'
1703
1704 - job-template:
1705     name: 'csit-tldk-verify-func-{stream}-{os}-virl'
1706
1707     project-type: freestyle
1708     node: '{os}-basebuild-4c-4g'
1709     concurrent: true
1710
1711     build-discarder:
1712       daysToKeep: '{build-days-to-keep}'
1713       numToKeep: '{build-num-to-keep}'
1714       artifactDaysToKeep: '{build-artifact-days-to-keep}'
1715       artifactNumToKeep: '{build-artifact-num-to-keep}'
1716
1717     parameters:
1718       - project-parameter:
1719           project: '{project}'
1720       - gerrit-parameter:
1721           branch: '{branch}'
1722       - os-parameter:
1723           os: '{os}'
1724
1725     scm:
1726       - gerrit-trigger-scm:
1727           credentials-id: 'jenkins-gerrit-credentials'
1728           refspec: '$GERRIT_REFSPEC'
1729           choosing-strategy: 'gerrit'
1730
1731     wrappers:
1732       - fdio-infra-wrappers:
1733           build-timeout: '{build-timeout}'
1734
1735     triggers:
1736       - gerrit-trigger-manually-triggered:
1737           name: '{project}'
1738           branch: '{branch}'
1739           comment-trigger-value: 'csit_verify_tldk_func'
1740
1741     builders:
1742       - shell:
1743           !include-raw-escape: include-raw-csit-tldk-functional-virl.sh
1744
1745     publishers:
1746       - archive-artifacts:
1747           artifacts: 'archive/*.*'
1748           latest-only: false
1749
1750       - robot-report:
1751           output-path: 'archive'
1752
1753       - fdio-infra-shiplogs:
1754           maven-version: 'mvn33-new'
1755
1756 - job-template:
1757     name: 'csit-dmm-functional-{stream}-ubuntu1604-virl'
1758
1759     project-type: freestyle
1760     node: 'ubuntu1604-basebuild-4c-4g'
1761     concurrent: true
1762
1763     build-discarder:
1764       daysToKeep: '{build-days-to-keep}'
1765       numToKeep: '{build-num-to-keep}'
1766       artifactDaysToKeep: '{build-artifact-days-to-keep}'
1767       artifactNumToKeep: '{build-artifact-num-to-keep}'
1768
1769     parameters:
1770       - project-parameter:
1771           project: '{project}'
1772       - gerrit-parameter:
1773           branch: '{branch}'
1774
1775     scm:
1776       - gerrit-trigger-scm:
1777           credentials-id: 'jenkins-gerrit-credentials'
1778           refspec: '$GERRIT_REFSPEC'
1779           choosing-strategy: 'gerrit'
1780
1781     wrappers:
1782       - fdio-infra-wrappers:
1783           build-timeout: '{build-timeout}'
1784
1785     triggers:
1786       - gerrit-trigger-manually-triggered:
1787           name: '{project}'
1788           branch: '{branch}'
1789           comment-trigger-value: 'csit_verify_dmm_func'
1790
1791     builders:
1792       - shell:
1793           !include-raw-escape: include-raw-csit-dmm-functional-virl.sh
1794
1795     publishers:
1796       - archive-artifacts:
1797           artifacts: 'archive/*.*'
1798           latest-only: false
1799
1800       - robot-report:
1801           output-path: ''
1802
1803       - fdio-infra-shiplogs:
1804           maven-version: 'mvn33-new'