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