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