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