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