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