CSIT: Report - change path to artifacts
[ci-management.git] / jjb / csit / csit.yaml
1 # Copyright (c) 2017 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     jobs:
23         - 'csit-dpdk-perf-{stream}-{type}'
24         - 'csit-vpp-perf-{stream}-{type}'
25         - 'csit-ligato-perf-{stream}-{type}'
26         - 'csit-vpp-functional-{stream}-{os}-virl'
27         - 'csit-vpp-verify-{stream_timed}-{os}-weekly'
28         - 'csit-vpp-verify-{stream_timed}-{os}-semiweekly'
29         - 'csit-docs-merge-{stream_timed}'
30         - 'csit-docs-verify-{stream}'
31         - 'csit-report-merge-{stream}'
32         - 'csit-trending-daily-master'
33         - 'csit-vpp-perf-trend-daily-master'
34         - 'csit-vpp-perf-trend-semi-weekly-master'
35         - 'csit-vpp-perf-check-{stream}'
36         - 'csit-vpp-perf-mrr-daily-master'
37         - 'csit-vpp-perf-verify-{stream}'
38         - 'csit-nsh_sfc-verify-perf-{stream}'
39         - 'csit-nsh_sfc-verify-func-{stream}-{os}-virl'
40         - 'csit-tldk-verify-func-{stream}-{os}-virl'
41
42     project: 'csit'
43     branch: 'master'
44     branch-id: 'oper'
45     build-artifact-num-to-keep: 10
46     type:
47         - all
48     stream_timed:
49         - master:
50             branch: 'master'
51             branch-id: 'oper'
52     stream:
53         - master:
54             branch: 'master'
55             branch-id: 'oper'
56         - '1707':
57             branch: 'rls1707'
58             branch-id: 'oper-rls1707'
59         - '1710':
60             branch: 'rls1710'
61             branch-id: 'oper-rls1710'
62         - '1801':
63             branch: 'rls1801'
64             branch-id: 'oper-rls1801'
65         - '1804':
66             branch: 'rls1804'
67             branch-id: 'oper-rls1804'
68
69
70 - job-template:
71     name: 'csit-vpp-functional-{stream}-{os}-virl'
72
73     project-type: freestyle
74     node: '{os}-basebuild-4c-4g'
75     concurrent: true
76
77     logrotate:
78         daysToKeep: '{build-days-to-keep}'
79         numToKeep: '{build-num-to-keep}'
80         artifactDaysToKeep: '{build-artifact-days-to-keep}'
81         artifactNumToKeep: '{build-artifact-num-to-keep}'
82
83     parameters:
84         - project-parameter:
85             project: '{project}'
86         - gerrit-parameter:
87             branch: '{branch}'
88
89     scm:
90         - gerrit-trigger-scm:
91             credentials-id: 'jenkins-gerrit-credentials'
92             refspec: '$GERRIT_REFSPEC'
93             choosing-strategy: 'gerrit'
94
95     wrappers:
96         - fdio-infra-wrappers:
97             build-timeout: '{build-timeout}'
98
99     triggers:
100         - gerrit-trigger-patch-submitted:
101             name: '{project}'
102             branch: '{branch}'
103
104     builders:
105         - shell:
106             !include-raw-escape: include-raw-csit-vpp-functional-virl.sh
107
108     publishers:
109         - archive-artifacts:
110             artifacts: 'report.html, log.html, output.xml'
111             latest-only: false
112
113         - robot-report:
114             output-path: ''
115
116         - fdio-infra-shiplogs:
117             maven-version: 'mvn33-new'
118
119 - job-template:
120     name: 'csit-dpdk-perf-{stream}-{type}'
121
122     project-type: freestyle
123     node: 'ubuntu1604-basebuild-4c-4g'
124     concurrent: true
125
126     logrotate:
127         daysToKeep: '{build-days-to-keep}'
128         numToKeep: '{build-num-to-keep}'
129         artifactDaysToKeep: '{build-artifact-days-to-keep}'
130         artifactNumToKeep: '{build-artifact-num-to-keep}'
131
132     parameters:
133         - project-parameter:
134             project: '{project}'
135         - gerrit-parameter:
136             branch: '{branch}'
137         - type-parameter:
138             type: '{type}'
139
140     scm:
141         - gerrit-trigger-scm:
142             credentials-id: 'jenkins-gerrit-credentials'
143             refspec: '$GERRIT_REFSPEC'
144             choosing-strategy: 'gerrit'
145
146     wrappers:
147         - fdio-infra-wrappers-non-activity-timeout:
148             build-timeout: '{build-timeout}'
149
150     triggers:
151         - gerrit-trigger-manually-triggered:
152             name: '{project}'
153             branch: '{branch}'
154             comment-trigger-value: 'verify-perf-dpdk-{type}'
155
156     builders:
157         - shell:
158             !include-raw-escape: jjb/csit/include-raw-csit-dpdk-perf-hw.sh
159
160     publishers:
161         - archive-artifacts:
162             artifacts: 'archive/*.*'
163             latest-only: false
164
165         - robot:
166             output-path: archive
167             other-files:
168               - '*.*'
169
170         - fdio-infra-shiplogs:
171             maven-version: 'mvn33-new'
172
173 - job-template:
174     name: 'csit-vpp-perf-{stream}-{type}'
175
176     project-type: freestyle
177     node: 'ubuntu1604-basebuild-8c-32g'
178     concurrent: true
179
180     logrotate:
181         daysToKeep: '{build-days-to-keep}'
182         numToKeep: '{build-num-to-keep}'
183         artifactDaysToKeep: '{build-artifact-days-to-keep}'
184         artifactNumToKeep: '{build-artifact-num-to-keep}'
185
186     parameters:
187         - project-parameter:
188             project: '{project}'
189         - gerrit-parameter:
190             branch: '{branch}'
191         - type-parameter:
192             type: '{type}'
193
194     scm:
195         - gerrit-trigger-scm:
196             credentials-id: 'jenkins-gerrit-credentials'
197             refspec: '$GERRIT_REFSPEC'
198             choosing-strategy: 'gerrit'
199
200     wrappers:
201         - fdio-infra-wrappers-non-activity-timeout:
202             build-timeout: '{build-timeout}'
203
204     triggers:
205         - gerrit-trigger-manually-triggered:
206             name: '{project}'
207             branch: '{branch}'
208             comment-trigger-value: 'verify-perf-{type}'
209
210     builders:
211         - shell:
212             !include-raw-escape: jjb/csit/include-raw-csit-vpp-perf-hw.sh
213
214     publishers:
215         - archive-artifacts:
216             artifacts: 'archive/*.*'
217             latest-only: false
218
219         - robot:
220             output-path: archive
221             other-files:
222               - '*.*'
223
224         - fdio-infra-shiplogs:
225             maven-version: 'mvn33-new'
226
227 - job-template:
228     name: 'csit-ligato-perf-{stream}-{type}'
229
230     project-type: freestyle
231     node: 'ubuntu1604-basebuild-4c-4g'
232     concurrent: true
233
234     logrotate:
235         daysToKeep: '{build-days-to-keep}'
236         numToKeep: '{build-num-to-keep}'
237         artifactDaysToKeep: '{build-artifact-days-to-keep}'
238         artifactNumToKeep: '{build-artifact-num-to-keep}'
239
240     parameters:
241         - project-parameter:
242             project: '{project}'
243         - gerrit-parameter:
244             branch: '{branch}'
245         - type-parameter:
246             type: '{type}'
247
248     scm:
249         - gerrit-trigger-scm:
250             credentials-id: 'jenkins-gerrit-credentials'
251             refspec: '$GERRIT_REFSPEC'
252             choosing-strategy: 'gerrit'
253
254     wrappers:
255         - fdio-infra-wrappers-non-activity-timeout:
256             build-timeout: '{build-timeout}'
257
258     triggers:
259         - gerrit-trigger-manually-triggered:
260             name: '{project}'
261             branch: '{branch}'
262             comment-trigger-value: 'verify-perf-ligato-{type}'
263
264     builders:
265         - shell:
266             !include-raw-escape: jjb/csit/include-raw-csit-ligato-perf-hw.sh
267
268     publishers:
269         - archive-artifacts:
270             artifacts: 'archive/*.*'
271             latest-only: false
272
273         - robot:
274             output-path: archive
275             other-files:
276               - '*.*'
277
278         - fdio-infra-shiplogs:
279             maven-version: 'mvn33-new'
280
281
282 - job-template:
283     name: 'csit-vpp-verify-{stream_timed}-{os}-weekly'
284     description: 'Purpose of this job is to validate CSIT code of corresponding branch against verified vpp build from corresponding branch.'
285
286     project-type: freestyle
287     node: '{os}-basebuild-4c-4g'
288     concurrent: false
289
290     logrotate:
291         daysToKeep: '{build-days-to-keep}'
292         numToKeep: '{build-num-to-keep}'
293         artifactDaysToKeep: '{build-artifact-days-to-keep}'
294         artifactNumToKeep: '{build-artifact-num-to-keep}'
295
296     parameters:
297         - project-parameter:
298             project: '{project}'
299         - gerrit-parameter:
300             branch: '{branch}'
301
302     scm:
303         - git-scm:
304             credentials-id: 'jenkins-gerrit-credentials'
305             branch: '{branch}'
306
307     wrappers:
308         - fdio-infra-wrappers-non-activity-timeout:
309             build-timeout: '{build-timeout}'
310
311     triggers:
312         - timed: '0 4 * * 0'
313
314         - gerrit-trigger-manually-triggered:
315             comment-trigger-value: 'csit-vpp-ref-verify'
316             name: '{project}'
317             branch: '{branch}'
318
319     builders:
320         - shell:
321             !include-raw-escape: jjb/csit/include-raw-csit-vpp-verify-weekly.sh
322
323     publishers:
324         - archive-artifacts:
325             artifacts: 'report.html, log.html, output.xml'
326             latest-only: false
327
328         - robot-report:
329             output-path: ''
330
331         - fdio-infra-shiplogs:
332             maven-version: 'mvn33-new'
333
334 - job-template:
335     name: 'csit-vpp-verify-{stream_timed}-{os}-semiweekly'
336     description: 'Purpose of this job is to validate latest vpp build from corresponding branch stored in nexus against verified CSIT codebase of corresponding branch.'
337
338     project-type: freestyle
339     node: '{os}-basebuild-4c-4g'
340     concurrent: false
341
342     logrotate:
343         daysToKeep: '{build-days-to-keep}'
344         numToKeep: '{build-num-to-keep}'
345         artifactDaysToKeep: '{build-artifact-days-to-keep}'
346         artifactNumToKeep: '{build-artifact-num-to-keep}'
347
348     parameters:
349         - project-parameter:
350             project: '{project}'
351         - gerrit-parameter:
352             branch: '{branch}'
353
354     wrappers:
355         - fdio-infra-wrappers-non-activity-timeout:
356             build-timeout: '{build-timeout}'
357
358     triggers:
359         - timed: '0 4 * * 2,6'
360
361         - gerrit-trigger-manually-triggered:
362             comment-trigger-value: 'csit-verify-vpp'
363             name: '{project}'
364             branch: '{branch}'
365
366     builders:
367         - shell: 'echo "BRANCH_ID={branch-id}" > $WORKSPACE/variables.prop'
368         - inject:
369             properties-file: variables.prop
370         - shell:
371             !include-raw-escape: jjb/csit/include-raw-csit-vpp-verify-semiweekly.sh
372
373     publishers:
374         - archive-artifacts:
375             artifacts: 'csit/archive/*.*'
376             latest-only: false
377
378         - robot-report:
379             output-path: 'csit/archive'
380
381         - fdio-infra-shiplogs:
382             maven-version: 'mvn33-new'
383
384 - job-template:
385     name: 'csit-vpp-verify-{stream_timed}-centos7-nightly'
386     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.'
387
388     project-type: freestyle
389     node: centos7-basebuild-4c-4g'
390     concurrent: false
391
392     logrotate:
393         daysToKeep: '{build-days-to-keep}'
394         numToKeep: '{build-num-to-keep}'
395         artifactDaysToKeep: '{build-artifact-days-to-keep}'
396         artifactNumToKeep: '{build-artifact-num-to-keep}'
397
398     parameters:
399         - project-parameter:
400             project: '{project}'
401         - gerrit-parameter:
402             branch: '{branch}'
403
404     scm:
405         - git-scm:
406             credentials-id: 'jenkins-gerrit-credentials'
407             branch: '{branch}'
408
409     wrappers:
410         - fdio-infra-wrappers:
411             build-timeout: '{build-timeout}'
412
413     triggers:
414         - timed: 'H H(3-4) * * *'
415
416         - gerrit-trigger-manually-triggered:
417             comment-trigger-value: 'vpp-verify-func-centos7'
418             name: '{project}'
419             branch: '{branch}'
420
421     builders:
422         - shell: 'echo "BRANCH_ID={branch-id}" > $WORKSPACE/variables.prop'
423         - inject:
424             properties-file: variables.prop
425         - shell:
426             !include-raw-escape: jjb/csit/include-raw-csit-vpp-functional-virl.sh
427
428     publishers:
429         - archive-artifacts:
430             artifacts: 'csit/archive/*.*'
431             latest-only: false
432
433         - robot-report:
434             output-path: 'csit/archive'
435
436         - fdio-infra-shiplogs:
437             maven-version: 'mvn33-new'
438
439 - job-template:
440     name: 'csit-docs-verify-{stream}'
441
442     project-type: freestyle
443     node: 'ubuntu1604-basebuild-4c-4g'
444     concurrent: true
445
446     logrotate:
447         daysToKeep: '{build-days-to-keep}'
448         numToKeep: '{build-num-to-keep}'
449         artifactDaysToKeep: '{build-artifact-days-to-keep}'
450         artifactNumToKeep: '{build-artifact-num-to-keep}'
451
452     parameters:
453         - project-parameter:
454             project: '{project}'
455         - gerrit-parameter:
456             branch: '{branch}'
457         - maven-exec:
458             maven-version: 'mvn33-new'
459
460     scm:
461         - gerrit-trigger-scm:
462             credentials-id: 'jenkins-gerrit-credentials'
463             refspec: '$GERRIT_REFSPEC'
464             choosing-strategy: 'gerrit'
465
466     wrappers:
467         - fdio-infra-wrappers-non-activity-timeout:
468             build-timeout: '{build-timeout}'
469
470     triggers:
471         - gerrit-trigger-patch-submitted:
472             name: '{project}'
473             branch: '{branch}'
474
475     builders:
476         - maven-target:
477             maven-version: 'mvn33-new'
478             goals: '--version'
479             settings: 'csit-settings'
480             settings-type: cfp
481             global-settings: 'global-settings'
482             global-settings-type: cfp
483         - provide-maven-settings:
484             settings-file: 'csit-settings'
485             global-settings-file: 'global-settings'
486         - shell:
487             !include-raw-escape: include-raw-csit-docs.sh
488
489     publishers:
490         - archive:
491             artifacts: 'resources/tools/doc_gen/csit.docs.tar.gz'
492             allow-empty: 'true'
493             fingerprint: false
494             only-if-success: true
495             default-excludes: false
496
497         - fdio-infra-shiplogs:
498             maven-version: 'mvn33-new'
499
500 - job-template:
501     name: 'csit-docs-merge-{stream_timed}'
502
503     project-type: freestyle
504     node: 'ubuntu1604-basebuild-4c-4g'
505     concurrent: true
506
507     logrotate:
508         daysToKeep: '{build-days-to-keep}'
509         numToKeep: '{build-num-to-keep}'
510         artifactDaysToKeep: '{build-artifact-days-to-keep}'
511         artifactNumToKeep: '{build-artifact-num-to-keep}'
512
513     parameters:
514         - project-parameter:
515             project: '{project}'
516         - gerrit-parameter:
517             branch: '{branch}'
518         - maven-exec:
519             maven-version: 'mvn33-new'
520
521     scm:
522         - gerrit-trigger-scm:
523             credentials-id: 'jenkins-gerrit-credentials'
524             refspec: ''
525             choosing-strategy: 'default'
526
527     wrappers:
528         - fdio-infra-wrappers-non-activity-timeout:
529             build-timeout: '{build-timeout}'
530
531     triggers:
532         - reverse:
533             jobs: 'csit-vpp-verify-{stream_timed}-ubuntu1604-weekly'
534             result: 'success'
535         - gerrit:
536             server-name: 'Primary'
537             trigger-on:
538                 - comment-added-contains-event:
539                     comment-contains-value: 'run-docs'
540             projects:
541               - project-compare-type: 'ANT'
542                 project-pattern: '{project}'
543                 branches:
544                   - branch-compare-type: 'ANT'
545                     branch-pattern: '**/{branch}'
546             skip-vote:
547                 successful: true
548                 failed: true
549                 unstable: true
550                 notbuilt: true
551
552     builders:
553         - maven-target:
554             maven-version: 'mvn33-new'
555             goals: '--version'
556             settings: 'csit-settings'
557             settings-type: cfp
558             global-settings: 'global-settings'
559             global-settings-type: cfp
560         - provide-maven-settings:
561             settings-file: 'csit-settings'
562             global-settings-file: 'global-settings'
563         - shell:
564             !include-raw-escape: include-raw-csit-docs.sh
565
566     publishers:
567         - archive:
568             artifacts: 'resources/tools/doc_gen/csit.docs.tar.gz'
569             allow-empty: 'true'
570             fingerprint: false
571             only-if-success: true
572             default-excludes: false
573
574         - fdio-infra-shiplogs:
575             maven-version: 'mvn33-new'
576
577 - job-template:
578     name: 'csit-report-merge-{stream}'
579
580     project-type: freestyle
581     node: 'ubuntu1604-basebuild-8c-32g'
582     concurrent: false
583
584     logrotate:
585         daysToKeep: '{build-days-to-keep}'
586         numToKeep: '{build-num-to-keep}'
587         artifactDaysToKeep: '{build-artifact-days-to-keep}'
588         artifactNumToKeep: '{build-artifact-num-to-keep}'
589
590     parameters:
591         - project-parameter:
592             project: '{project}'
593         - gerrit-parameter:
594             branch: '{branch}'
595         - maven-exec:
596             maven-version: 'mvn33-new'
597
598     scm:
599         - gerrit-trigger-scm:
600             credentials-id: 'jenkins-gerrit-credentials'
601             refspec: '$GERRIT_REFSPEC'
602             choosing-strategy: 'default'
603
604     wrappers:
605         - fdio-infra-wrappers-non-activity-timeout:
606             build-timeout: '{build-timeout}'
607
608     triggers:
609         - gerrit:
610             server-name: 'Primary'
611             trigger-on:
612                 - comment-added-contains-event:
613                     comment-contains-value: 'run-report'
614             projects:
615               - project-compare-type: 'ANT'
616                 project-pattern: '{project}'
617                 branches:
618                   - branch-compare-type: 'ANT'
619                     branch-pattern: '**/{branch}'
620             skip-vote:
621                 successful: true
622                 failed: true
623                 unstable: true
624                 notbuilt: true
625
626     builders:
627         - maven-target:
628             maven-version: 'mvn33-new'
629             goals: '--version'
630             settings: 'csit-settings'
631             settings-type: cfp
632             global-settings: 'global-settings'
633             global-settings-type: cfp
634         - provide-maven-settings:
635             settings-file: 'csit-settings'
636             global-settings-file: 'global-settings'
637         - shell:
638             !include-raw-escape: include-raw-csit-report.sh
639
640     publishers:
641         - archive:
642             artifacts: 'resources/tools/presentation/csit.report.tar.gz'
643             allow-empty: 'true'
644             fingerprint: false
645             only-if-success: true
646             default-excludes: false
647
648         - fdio-infra-shiplogs:
649             maven-version: 'mvn33-new'
650
651 - job-template:
652     name: 'csit-trending-daily-master'
653
654     project-type: freestyle
655     node: 'ubuntu1604-basebuild-8c-32g'
656     concurrent: false
657
658     logrotate:
659         daysToKeep: '{build-days-to-keep}'
660         numToKeep: '{build-num-to-keep}'
661         artifactDaysToKeep: '{build-artifact-days-to-keep}'
662         artifactNumToKeep: '{build-artifact-num-to-keep}'
663
664     parameters:
665         - project-parameter:
666             project: '{project}'
667         - gerrit-parameter:
668             branch: '{branch}'
669         - maven-exec:
670             maven-version: 'mvn33-new'
671
672     scm:
673         - gerrit-trigger-scm:
674             credentials-id: 'jenkins-gerrit-credentials'
675             refspec: ''
676             choosing-strategy: 'default'
677
678     wrappers:
679         - fdio-infra-wrappers-non-activity-timeout:
680             build-timeout: '{build-timeout}'
681
682     triggers:
683         - reverse:
684             jobs: 'csit-vpp-perf-mrr-daily-master'
685             result: 'failure'
686
687     builders:
688         - maven-target:
689             maven-version: 'mvn33-new'
690             goals: '--version'
691             settings: 'csit-settings'
692             settings-type: cfp
693             global-settings: 'global-settings'
694             global-settings-type: cfp
695         - provide-maven-settings:
696             settings-file: 'csit-settings'
697             global-settings-file: 'global-settings'
698         - shell:
699             !include-raw-escape: include-raw-csit-cpta.sh
700
701     publishers:
702         - fdio-infra-shiplogs:
703             maven-version: 'mvn33-new'
704
705 - job-template:
706     name: 'csit-vpp-perf-trend-daily-master'
707
708     description: |
709       Purpose of this job is to validate latest vpp build from corresponding
710       branch stored in nexus against verified CSIT codebase of corresponding
711       branch.
712
713       objective
714           daily perf trending of vpp master build
715       job
716          name
717              csit-vpp-perf-trend-daily
718          trigger
719              scheduled daily
720       perf test-cases selection
721           all CSIT perf suites
722       default tags for vpp startup config and perf test type
723           1T1C - one worker thread, one core
724           2T2C - two worker threads, two cores
725           X520 - Intel x520-DA2 NIC
726           NDRDISC - discovery of NDR throughput
727       results
728           jjb verify - no
729           present
730               jenkins trending graphs
731
732     project-type: freestyle
733     node: 'ubuntu1604-basebuild-4c-4g'
734     concurrent: false
735
736     logrotate:
737         daysToKeep: '{build-days-to-keep}'
738         numToKeep: '{build-num-to-keep}'
739         artifactDaysToKeep: '{build-artifact-days-to-keep}'
740         artifactNumToKeep: '{build-artifact-num-to-keep}'
741
742     parameters:
743         - project-parameter:
744             project: '{project}'
745         - gerrit-parameter:
746             branch: '{branch}'
747
748     wrappers:
749         - fdio-infra-wrappers-non-activity-timeout:
750             build-timeout: '{build-timeout}'
751
752     builders:
753         - shell: 'echo "BRANCH_ID={branch-id}" > $WORKSPACE/variables.prop'
754         - inject:
755             properties-file: variables.prop
756         - shell:
757             !include-raw-escape: jjb/csit/include-raw-csit-vpp-perf-trend-daily.sh
758
759     publishers:
760         - archive-artifacts:
761             artifacts: 'csit/archive/*.*'
762             latest-only: false
763
764         - robot:
765             output-path: 'csit/archive'
766             other-files:
767               - '*.*'
768
769         - fdio-infra-shiplogs:
770             maven-version: 'mvn33-new'
771
772 - job-template:
773     name: 'csit-vpp-perf-trend-semi-weekly-master'
774
775     description: |
776       Purpose of this job is to validate latest vpp build from corresponding
777       branch stored in nexus against verified CSIT codebase of corresponding
778       branch.
779
780       consumer
781           csit-dev trending semi-weekly
782       objective
783           semi-weekly perf trending of vpp master build job
784           name
785               csit-vpp-perf-trend-semi-weekly
786           trigger
787               scheduled semi-weekly
788       perf test-cases selection
789           all CSIT perf suites
790       default tags for vpp startup config and perf test type
791           1T1C - one worker thread, one core
792           2T2C - two worker threads, two cores
793           X710 - Intel x710 Fortville NIC
794           XL710 - Intel xl710 Fortville NIC
795           NDRDISC - discovery of NDR throughput
796       results
797           jjb verify - no
798           present
799               jenkins trending graphs
800
801     project-type: freestyle
802     node: 'ubuntu1604-basebuild-4c-4g'
803     concurrent: false
804
805     logrotate:
806         daysToKeep: '{build-days-to-keep}'
807         numToKeep: '{build-num-to-keep}'
808         artifactDaysToKeep: '{build-artifact-days-to-keep}'
809         artifactNumToKeep: '{build-artifact-num-to-keep}'
810
811     parameters:
812         - project-parameter:
813             project: '{project}'
814         - gerrit-parameter:
815             branch: '{branch}'
816
817     wrappers:
818         - fdio-infra-wrappers-non-activity-timeout:
819             build-timeout: '{build-timeout}'
820
821     builders:
822         - shell: 'echo "BRANCH_ID={branch-id}" > $WORKSPACE/variables.prop'
823         - inject:
824             properties-file: variables.prop
825         - shell:
826             !include-raw-escape: jjb/csit/include-raw-csit-vpp-perf-trend-semi-weekly.sh
827
828     publishers:
829         - archive-artifacts:
830             artifacts: 'csit/archive/*.*'
831             latest-only: false
832
833         - robot:
834             output-path: 'csit/archive'
835             other-files:
836               - '*.*'
837
838         - fdio-infra-shiplogs:
839             maven-version: 'mvn33-new'
840
841 - job-template:
842     name: 'csit-vpp-perf-check-{stream}'
843
844     description: |
845       consumer
846           csit-dev perf code base checks
847       objective
848           check csit perf code base
849       job
850           name
851               csit-vpp-perf-check
852           trigger
853               see below
854       perf test-cases selection
855           all CSIT perf suites
856       keywords
857           format - keyword, tag_list
858               verify-perf-ndrdisc, NDRDISC
859               verify-perf-pdrdisc, PDRDISC
860               verify-perf-mrr, MRR
861       default tags for vpp startup config and perf test type
862           1T1C
863               one worker thread, one core
864           2T2C
865               two worker threads, two cores
866       results
867           jjb verify
868               PASS/FAIL
869           present
870               no
871           analyse
872               csit project
873                   catch malfunctions
874                   catch degradations
875
876     project-type: freestyle
877     node: 'ubuntu1604-basebuild-4c-4g'
878     concurrent: true
879
880     logrotate:
881         daysToKeep: '{build-days-to-keep}'
882         numToKeep: '{build-num-to-keep}'
883         artifactDaysToKeep: '{build-artifact-days-to-keep}'
884         artifactNumToKeep: '{build-artifact-num-to-keep}'
885
886     parameters:
887         - project-parameter:
888             project: '{project}'
889         - gerrit-parameter:
890             branch: '{branch}'
891
892     scm:
893         - gerrit-trigger-scm:
894             credentials-id: 'jenkins-gerrit-credentials'
895             refspec: '$GERRIT_REFSPEC'
896             choosing-strategy: 'gerrit'
897
898     wrappers:
899         - fdio-infra-wrappers-non-activity-timeout:
900             build-timeout: '{build-timeout}'
901
902     triggers:
903         - gerrit:
904             server-name: 'Primary'
905             trigger-on:
906                 - comment-added-contains-event:
907                     comment-contains-value: 'verify-perf-ndrdisc'
908                 - comment-added-contains-event:
909                     comment-contains-value: 'verify-perf-pdrdisc'
910                 - comment-added-contains-event:
911                     comment-contains-value: 'verify-perf-mrr'
912             projects:
913               - project-compare-type: 'ANT'
914                 project-pattern: '{project}'
915                 branches:
916                   - branch-compare-type: 'ANT'
917                     branch-pattern: '**/{branch}'
918             skip-vote:
919                 successful: false
920                 failed: false
921                 unstable: false
922                 notbuilt: false
923
924     builders:
925         - shell:
926             !include-raw-escape: jjb/csit/include-raw-csit-vpp-perf-check.sh
927
928     publishers:
929         - archive-artifacts:
930             artifacts: 'archive/*.*'
931             latest-only: false
932
933         - robot:
934             output-path: archive
935             other-files:
936               - '*.*'
937
938         - fdio-infra-shiplogs:
939             maven-version: 'mvn33-new'
940
941 - job-template:
942     name: 'csit-vpp-perf-mrr-daily-master'
943
944     description: |
945       objective
946           check vpp perf mrr daily
947       job
948           name
949               csit-vpp-perf-mrr-daily
950           trigger
951               daily
952       perf test-cases selection
953           all CSIT perf suites
954       default tags for vpp startup config and perf test type
955           1T1C - one worker thread, one core
956           2T2C - two worker threads, two cores
957       results
958           jjb verify
959               PASS/FAIL
960           present
961               no
962           analyse
963               csit project
964                   catch malfunctions
965                   catch degradations
966
967     project-type: freestyle
968     node: 'ubuntu1604-basebuild-4c-4g'
969     concurrent: false
970
971     logrotate:
972         daysToKeep: '{build-days-to-keep}'
973         numToKeep: '{build-num-to-keep}'
974         artifactDaysToKeep: '{build-artifact-days-to-keep}'
975         artifactNumToKeep: '{build-artifact-num-to-keep}'
976
977     parameters:
978         - project-parameter:
979             project: '{project}'
980         - gerrit-parameter:
981             branch: '{branch}'
982
983     wrappers:
984         - fdio-infra-wrappers-non-activity-timeout:
985             build-timeout: '{build-timeout}'
986
987     triggers:
988         - timed: '0 2,16 * * *'
989
990     builders:
991         - shell: 'echo "BRANCH_ID={branch-id}" > $WORKSPACE/variables.prop'
992         - inject:
993             properties-file: variables.prop
994         - shell:
995             !include-raw-escape: jjb/csit/include-raw-csit-vpp-perf-mrr-daily.sh
996
997     publishers:
998         - archive-artifacts:
999             artifacts: 'csit/archive/*.*'
1000             latest-only: false
1001
1002         - robot:
1003             output-path: 'csit/archive'
1004             other-files:
1005               - '*.*'
1006
1007         - trigger:
1008             project: 'csit-trending-daily-master'
1009             threshold: 'FAILURE'
1010
1011         - fdio-infra-shiplogs:
1012             maven-version: 'mvn33-new'
1013
1014
1015 - job-template:
1016     name: 'csit-vpp-perf-verify-{stream}'
1017
1018     description: |
1019       objective
1020           perf verify - per csit gerrit patch
1021       job
1022           name
1023               csit-vpp-perf-verify
1024           trigger
1025               keyword in comment to csit patch
1026       perf test-cases selection
1027           test-cases selected using trigger keywords paired with tags
1028           all test-cases are labelled with CSIT RF topic tags defined in
1029           csit/docs/tag_documentation.rst
1030       proposed keywords
1031           focus on testing specified vpp packet processing path
1032           format - keyword - tag_list
1033           perf_verify_ip4 - IP4Base, IP4Scale2M
1034           perf_verify_ip6 - IP6Base, IP6Scale2M
1035           perf_verify_l2 - L2XC, L2BD
1036           perf_verify_lisp - 4Lisp, 6Lisp
1037           perf_verify_vxlan - Vxlan
1038           perf_verify_vhost - Vhost
1039           perf_verify_memif - Memif
1040       default tags for vpp startup config and perf test type
1041           1T1C
1042               one worker thread, one core
1043           X520
1044               x520 Niantic NIC
1045           NDRDISC
1046               discovery of NDR throughput
1047       results
1048           jjb verify
1049               PASS/FAIL
1050           present
1051               no
1052           analyse
1053               no
1054     project-type: freestyle
1055     node: 'ubuntu1604-basebuild-4c-4g'
1056     concurrent: false
1057
1058     logrotate:
1059         daysToKeep: '{build-days-to-keep}'
1060         numToKeep: '{build-num-to-keep}'
1061         artifactDaysToKeep: '{build-artifact-days-to-keep}'
1062         artifactNumToKeep: '{build-artifact-num-to-keep}'
1063
1064     parameters:
1065         - project-parameter:
1066             project: '{project}'
1067         - gerrit-parameter:
1068             branch: '{branch}'
1069
1070     scm:
1071         - gerrit-trigger-scm:
1072             credentials-id: 'jenkins-gerrit-credentials'
1073             refspec: '$GERRIT_REFSPEC'
1074             choosing-strategy: 'gerrit'
1075
1076     wrappers:
1077         - fdio-infra-wrappers-non-activity-timeout:
1078             build-timeout: '{build-timeout}'
1079
1080     triggers:
1081         - gerrit:
1082             server-name: 'Primary'
1083             trigger-on:
1084                 - comment-added-contains-event:
1085                     comment-contains-value: 'verify-perf-l2'
1086                 - comment-added-contains-event:
1087                     comment-contains-value: 'verify-perf-ip4'
1088                 - comment-added-contains-event:
1089                     comment-contains-value: 'verify-perf-ip6'
1090                 - comment-added-contains-event:
1091                     comment-contains-value: 'verify-perf-lisp'
1092                 - comment-added-contains-event:
1093                     comment-contains-value: 'verify-perf-vxlan'
1094                 - comment-added-contains-event:
1095                     comment-contains-value: 'verify-perf-vhost'
1096                 - comment-added-contains-event:
1097                     comment-contains-value: 'verify-perf-memif'
1098                 - comment-added-contains-event:
1099                     comment-contains-value: 'verify-perf-ipsechw'
1100             projects:
1101               - project-compare-type: 'ANT'
1102                 project-pattern: '{project}'
1103                 branches:
1104                   - branch-compare-type: 'ANT'
1105                     branch-pattern: '**/{branch}'
1106             skip-vote:
1107                 successful: false
1108                 failed: false
1109                 unstable: false
1110                 notbuilt: false
1111
1112     builders:
1113         - shell:
1114             !include-raw-escape: jjb/csit/include-raw-csit-vpp-perf-verify.sh
1115
1116     publishers:
1117         - archive-artifacts:
1118             artifacts: 'archive/*.*'
1119             latest-only: false
1120
1121         - robot:
1122             output-path: archive
1123             other-files:
1124               - '*.*'
1125
1126         - fdio-infra-shiplogs:
1127             maven-version: 'mvn33-new'
1128
1129 - job-template:
1130     name: 'csit-nsh_sfc-verify-perf-{stream}'
1131
1132     project-type: freestyle
1133     node: 'ubuntu1604-basebuild-4c-4g'
1134     concurrent: true
1135
1136     logrotate:
1137         daysToKeep: '{build-days-to-keep}'
1138         numToKeep: '{build-num-to-keep}'
1139         artifactDaysToKeep: '{build-artifact-days-to-keep}'
1140         artifactNumToKeep: '{build-artifact-num-to-keep}'
1141
1142     parameters:
1143         - project-parameter:
1144             project: '{project}'
1145         - gerrit-parameter:
1146             branch: '{branch}'
1147         - os-parameter:
1148             os: 'ubuntu1604'
1149         - stream-parameter:
1150             stream: '{stream}'
1151
1152     scm:
1153         - gerrit-trigger-scm:
1154             credentials-id: 'jenkins-gerrit-credentials'
1155             refspec: '$GERRIT_REFSPEC'
1156             choosing-strategy: 'gerrit'
1157
1158     wrappers:
1159         - fdio-infra-wrappers-non-activity-timeout:
1160             build-timeout: '{build-timeout}'
1161
1162     triggers:
1163         - gerrit-trigger-manually-triggered:
1164             name: '{project}'
1165             branch: '{branch}'
1166             comment-trigger-value: 'csit_nsh_sfc_perf_{stream}'
1167
1168     builders:
1169         - shell:
1170             !include-raw-escape: jjb/csit/include-raw-csit-nsh_sfc-perf-hw.sh
1171
1172     publishers:
1173         - archive-artifacts:
1174             artifacts: 'archive/*.*'
1175             latest-only: false
1176
1177         - robot-report:
1178             output-path: 'archive'
1179
1180         - fdio-infra-shiplogs:
1181             maven-version: 'mvn33-new'
1182
1183 - job-template:
1184     name: 'csit-nsh_sfc-verify-func-{stream}-{os}-virl'
1185
1186     project-type: freestyle
1187     node: '{os}-basebuild-4c-4g'
1188     concurrent: true
1189
1190     logrotate:
1191         daysToKeep: '{build-days-to-keep}'
1192         numToKeep: '{build-num-to-keep}'
1193         artifactDaysToKeep: '{build-artifact-days-to-keep}'
1194         artifactNumToKeep: '{build-artifact-num-to-keep}'
1195
1196     parameters:
1197         - project-parameter:
1198             project: '{project}'
1199         - gerrit-parameter:
1200             branch: '{branch}'
1201         - os-parameter:
1202             os: '{os}'
1203         - stream-parameter:
1204             stream: '{stream}'
1205
1206     scm:
1207         - gerrit-trigger-scm:
1208             credentials-id: 'jenkins-gerrit-credentials'
1209             refspec: '$GERRIT_REFSPEC'
1210             choosing-strategy: 'gerrit'
1211
1212     wrappers:
1213         - fdio-infra-wrappers:
1214             build-timeout: '{build-timeout}'
1215
1216     triggers:
1217         - gerrit-trigger-manually-triggered:
1218             name: '{project}'
1219             branch: '{branch}'
1220             comment-trigger-value: 'csit_nsh_sfc_func_{stream}'
1221
1222     builders:
1223         - shell:
1224             !include-raw-escape: include-raw-csit-nsh_sfc-functional-virl.sh
1225
1226     publishers:
1227         - archive-artifacts:
1228             artifacts: 'archive/*.*'
1229             latest-only: false
1230
1231         - robot-report:
1232             output-path: 'archive'
1233
1234         - fdio-infra-shiplogs:
1235             maven-version: 'mvn33-new'
1236
1237 - job-template:
1238     name: 'csit-tldk-verify-func-{stream}-{os}-virl'
1239
1240     project-type: freestyle
1241     node: '{os}-basebuild-4c-4g'
1242     concurrent: true
1243
1244     logrotate:
1245         daysToKeep: '{build-days-to-keep}'
1246         numToKeep: '{build-num-to-keep}'
1247         artifactDaysToKeep: '{build-artifact-days-to-keep}'
1248         artifactNumToKeep: '{build-artifact-num-to-keep}'
1249
1250     parameters:
1251         - project-parameter:
1252             project: '{project}'
1253         - gerrit-parameter:
1254             branch: '{branch}'
1255         - os-parameter:
1256             os: '{os}'
1257
1258     scm:
1259         - gerrit-trigger-scm:
1260             credentials-id: 'jenkins-gerrit-credentials'
1261             refspec: '$GERRIT_REFSPEC'
1262             choosing-strategy: 'gerrit'
1263
1264     wrappers:
1265         - fdio-infra-wrappers:
1266             build-timeout: '{build-timeout}'
1267
1268     triggers:
1269         - gerrit-trigger-manually-triggered:
1270             name: '{project}'
1271             branch: '{branch}'
1272             comment-trigger-value: 'csit_verify_tldk_func'
1273
1274     builders:
1275         - shell:
1276             !include-raw-escape: include-raw-csit-tldk-functional-virl.sh
1277
1278     publishers:
1279         - archive-artifacts:
1280             artifacts: 'archive/*.*'
1281             latest-only: false
1282
1283         - robot-report:
1284             output-path: 'archive'
1285
1286         - fdio-infra-shiplogs:
1287             maven-version: 'mvn33-new'
1288
1289 - parameter:
1290     name: test-type-parameter
1291     parameters:
1292         - string:
1293             name: TYPE
1294             default: '{type}'
1295             description: "Test TYPE parameter if not given by trigger"