4 project: integration/test
5 project-name: integration-test
7 - "integration-patch-test-{stream}"
9 - "integration-merge-dashboard"
10 - "{project-name}-rtd-jobs":
11 build-node: centos8-builder-2c-2g
12 project-pattern: integration/test
13 rtd-build-url: https://readthedocs.org/api/v2/webhook/odl-integrationtest/32934/
14 rtd-token: 70766f97941a74ef80b84749ac4799e5ddeee99a
18 build-node: centos8-builder-2c-2g
22 # CSIT Lists in defaults.yaml
26 csit-list: !include: csit-jobs-calcium.lst
28 odlparent infrautils yangtools mdsal controller aaa netconf bgpcep
29 serviceutils daexim jsonrpc ovsdb openflowplugin lispflowmapping
30 integration/distribution
32 branch: "stable/potassium"
33 csit-list: !include: csit-jobs-potassium.lst
35 odlparent infrautils yangtools mdsal controller aaa netconf bgpcep
36 serviceutils daexim jsonrpc ovsdb openflowplugin lispflowmapping
37 integration/distribution
39 branch: "stable/argon"
40 csit-list: !include: csit-jobs-argon.lst
42 odlparent infrautils yangtools mdsal controller aaa netconf bgpcep
43 serviceutils daexim jsonrpc ovsdb openflowplugin lispflowmapping
44 integration/distribution
46 branch: "stable/chlorine"
47 csit-list: !include: csit-jobs-chlorine.lst
49 odlparent infrautils yangtools mdsal controller aaa netconf bgpcep
50 serviceutils daexim jsonrpc ovsdb openflowplugin lispflowmapping
51 integration/distribution
54 name: integration-distribution
55 project: integration/test
56 project-name: integration-test
58 - "integration-distribution-test-{stream}"
59 - "integration-distribution-mri-test-{stream}"
60 - "integration-distribution-weekly-test-trigger-{stream}"
61 - "integration-update-csit-tests-{stream}"
63 # CSIT Lists in defaults.yaml
68 aaa controller genius lispflowmapping l2switch mdsal
69 netconf netvirt odlmicro sxp yangtools
70 gate longevity sanity tdd tempest wip
71 bgpcep-csit-3node-bgpclustering-all
72 bgpcep-csit-3node-bgpclustering-ha-only
73 openflowplugin-csit-1node-bundle-based-reconciliation
74 last-line-is-ignored-so-we-need-something-dummy-here-to-make-sure-the-real-last-line-is-used
75 csit-list: !include: csit-jobs-calcium.lst
76 csit-mri-list: "{csit-mri-list-calcium}"
77 csit-weekly-list: "{csit-weekly-list-calcium}"
79 branch: "stable/potassium"
81 aaa controller genius lispflowmapping l2switch mdsal
82 netconf netvirt odlmicro sxp yangtools
83 gate longevity sanity tdd tempest wip
84 bgpcep-csit-3node-bgpclustering-all
85 bgpcep-csit-3node-bgpclustering-ha-only
86 openflowplugin-csit-1node-bundle-based-reconciliation
87 last-line-is-ignored-so-we-need-something-dummy-here-to-make-sure-the-real-last-line-is-used
88 csit-list: !include: csit-jobs-potassium.lst
89 csit-mri-list: "{csit-mri-list-potassium}"
90 csit-weekly-list: "{csit-weekly-list-potassium}"
92 branch: "stable/argon"
94 aaa controller genius lispflowmapping l2switch mdsal
95 netconf netvirt odlmicro sxp yangtools
96 gate longevity sanity tdd tempest wip
97 bgpcep-csit-3node-bgpclustering-all
98 bgpcep-csit-3node-bgpclustering-ha-only
99 openflowplugin-csit-1node-bundle-based-reconciliation
100 last-line-is-ignored-so-we-need-something-dummy-here-to-make-sure-the-real-last-line-is-used
101 csit-list: !include: csit-jobs-argon.lst
102 csit-mri-list: "{csit-mri-list-argon}"
103 csit-weekly-list: "{csit-weekly-list-argon}"
105 branch: "stable/chlorine"
107 aaa controller genius lispflowmapping l2switch mdsal
108 netconf netvirt odlmicro sxp yangtools
109 gate longevity sanity tdd tempest wip
110 bgpcep-csit-3node-bgpclustering-all
111 bgpcep-csit-3node-bgpclustering-ha-only
112 openflowplugin-csit-1node-bundle-based-reconciliation
113 last-line-is-ignored-so-we-need-something-dummy-here-to-make-sure-the-real-last-line-is-used
114 csit-list: !include: csit-jobs-chlorine.lst
115 csit-mri-list: "{csit-mri-list-chlorine}"
116 csit-weekly-list: "{csit-weekly-list-chlorine}"
119 name: integration-sanity
120 project: integration/test
121 project-name: integration-test
123 - "integration-sanity-test-{stream}"
129 csit-sanity-list: "{csit-sanity-list-calcium}"
131 branch: "stable/potassium"
133 csit-sanity-list: "{csit-sanity-list-potassium}"
135 branch: "stable/argon"
137 csit-sanity-list: "{csit-sanity-list-argon}"
139 branch: "stable/chlorine"
141 csit-sanity-list: "{csit-sanity-list-chlorine}"
144 name: "integration-merge-dashboard"
145 project-type: freestyle
146 node: centos7-builder-2c-1g
149 - opendaylight-infra-properties:
150 build-days-to-keep: "{build-days-to-keep}"
153 - opendaylight-infra-parameters:
154 os-cloud: "{os-cloud}"
157 refspec: "refs/heads/master"
158 artifacts: "{archive-artifacts}"
161 - integration-gerrit-scm:
163 refspec: "$GERRIT_REFSPEC"
167 - opendaylight-infra-wrappers:
168 build-timeout: "{build-timeout}"
171 - gerrit-trigger-patch-merged:
172 gerrit-server-name: "{gerrit-server-name}"
175 files: "dashboard/**"
180 - config-file-provider:
182 - file-id: odl-elastic-cloud
183 target: "$HOME/.netrc"
184 - integration-install-robotframework
185 # yamllint disable-line rule:line-length
186 - shell: python3 $WORKSPACE/test/csit/scripts/push_dashboard.py a4ff38b99ef2c7626450543021b4c134.us-east-1.aws.found.io:9243
190 - email-notification:
191 email-recipients: "{email-recipients}"
192 email-prefix: "[{project-name}]"
195 name: "integration-distribution-test-{stream}"
196 # Goal: Verify a distribution through all system test available
197 # Operation: This template takes a distribution and passes all available system test
199 project-type: freestyle
200 node: queue-disttest-2c-1g
203 - opendaylight-infra-properties:
204 build-days-to-keep: "{build-days-to-keep}"
207 - integration-bundle-url:
208 bundle-url: "{bundle-url}"
209 - distribution-karaf-version:
210 karaf-version: "{karaf-version}"
215 - project: "{csit-list}"
217 predefined-parameters: |
218 BUNDLE_URL=$BUNDLE_URL
219 KARAF_VERSION=$KARAF_VERSION
224 jenkins-ssh-credential: "{jenkins-ssh-credential}"
227 - opendaylight-infra-generate-csit-status-report
228 - email-notification:
229 email-recipients: "{email-recipients}"
230 email-prefix: "[integration]"
234 name: "integration-sanity-test-{stream}"
235 # Goal: Verify a distribution through sanity test
236 # Operation: This template takes a distribution and passes sanity test
237 # This jobs works for both managed & unmanaged distro.
239 project-type: freestyle
240 node: queue-intque-2c-1g
243 - opendaylight-infra-properties:
244 build-days-to-keep: "{build-days-to-keep}"
247 - integration-bundle-url:
248 bundle-url: "{bundle-url}"
249 - distribution-karaf-version:
250 karaf-version: "{karaf-version}"
253 - timed: "{schedule-daily}"
258 - project: "{csit-sanity-list}"
260 predefined-parameters: |
261 BUNDLE_URL=$BUNDLE_URL
262 KARAF_VERSION=$KARAF_VERSION
265 - email-notification:
266 email-recipients: "{email-recipients}"
267 email-prefix: "[integration]"
270 name: "integration-patch-test-{stream}"
271 # Template: integration-patch-test-{stream}
272 # Goal: Build a patch and run all available system test on a distribution containing the change
273 # Operation: This job template builds a patch, creates a distribution containing the patch, and
274 # triggers the distribution test when test-integration is used in gerrit comments
276 project-type: freestyle
277 node: centos7-builder-2c-8g
280 - opendaylight-infra-properties:
281 build-days-to-keep: "{build-days-to-keep}"
284 - opendaylight-infra-parameters:
285 os-cloud: "{os-cloud}"
286 project: "$GERRIT_PROJECT"
288 refspec: "$GERRIT_REFSPEC"
289 artifacts: "{archive-artifacts}"
290 - integration-distribution-branch:
292 - distribution-karaf-version:
293 karaf-version: "{karaf-version}"
294 - integration-distribution-git-url:
297 maven-version: "{mvn-version}"
300 - integration-gerrit-scm:
301 basedir: "$GERRIT_PROJECT"
302 refspec: "$GERRIT_REFSPEC"
304 - integration-distribution-scm:
308 - opendaylight-infra-wrappers:
313 server-name: "{gerrit-server-name}"
315 - comment-added-contains-event:
316 comment-contains-value: "test-integration"
318 - project-compare-type: "ANT"
319 project-pattern: "**"
321 - branch-compare-type: "ANT"
322 branch-pattern: "**/{branch}"
331 - integration-rebase-gerrit-patch
332 - wipe-org-opendaylight-repo
333 - lf-provide-maven-settings:
334 global-settings-file: "global-settings"
335 settings-file: "integration-settings"
336 - lf-update-java-alternatives:
337 java-version: "{java-version}"
339 maven-version: "{mvn-version}"
340 pom: "$GERRIT_PROJECT/pom.xml"
342 clean install dependency:tree -DoutputFile=dependency_tree.txt
345 {opendaylight-infra-mvn-opts}
346 # {opendaylight-infra-parallel-mvn-opts} is bad when there are multiple big features in SFT.
348 - "-Xmx4096m -Dmaven.compile.fork=true"
349 settings: integration-settings
351 global-settings: global-settings
352 global-settings-type: cfp
354 maven-version: "{mvn-version}"
355 pom: distribution/pom.xml
357 clean install dependency:tree -DoutputFile=dependency_tree.txt
358 {opendaylight-infra-mvn-opts}
359 # {opendaylight-infra-parallel-mvn-opts} is bad when there are multiple big features in SFT.
361 - "-Xmx1024m -Dmaven.compile.fork=true"
362 settings: integration-settings
364 global-settings: global-settings
365 global-settings-type: cfp
366 - integration-upload-distribution:
367 dist-pom: distribution/pom.xml
368 settings-project: integration
370 - project: "{csit-list}"
372 predefined-parameters: |
373 BUNDLE_URL=$BUNDLE_URL
374 KARAF_VERSION=$KARAF_VERSION
378 - email-notification:
379 email-recipients: "{email-recipients}"
380 email-prefix: "[$GERRIT_PROJECT]"
383 name: "{prefix}integration-multipatch-test-{stream}"
384 # Goal: Build one or more patches and run all available system test on a distribution containing the change.
385 # Operation: This job template checks out and builds in order each patch provided in job parameters, finally
386 # it creates a distribution containing all patches and triggers the distribution test job which includes most
387 # (if not all) available CSIT jobs.
389 id: inttest-multipatch
390 project-type: freestyle
391 node: centos7-builder-8c-8g
395 - opendaylight-infra-properties:
396 build-days-to-keep: "{build-days-to-keep}"
400 name: PATCHES_TO_BUILD
401 default: "$PATCHES_TO_BUILD"
403 Ordered list of patches to build in the format of project=changeset (checkout) or
404 project:changeset (cherry-pick) for example: genius=32/53632/9,netvirt:59/50259/47.
407 default: "{build-order}"
408 description: "Build order for multipatch test when topic is used"
412 description: "Set true to build fast -Pq"
416 description: "List of projects to build normal (no -Pq) when BUILD_FAST=true"
420 description: "Set true to run test after build"
421 - integration-distribution-branch:
423 - integration-distribution-stream:
425 - distribution-karaf-version:
426 karaf-version: "{karaf-version}"
427 - opendaylight-infra-parameters:
428 os-cloud: "{os-cloud}"
429 project: "integration/distribution"
431 refspec: "refs/heads/{branch}"
432 artifacts: "{archive-artifacts}"
433 - lf-infra-maven-parameters:
436 mvn-version: "{mvn-version}"
437 staging-profile-id: "" # Staging repos do not make sense for this job
440 - opendaylight-infra-wrappers:
441 build-timeout: "1200"
445 server-name: "{gerrit-server-name}"
447 - comment-added-contains-event:
448 comment-contains-value: "multipatch-build"
450 - project-compare-type: ANT
451 project-pattern: "**"
453 - branch-compare-type: ANT
454 branch-pattern: "**/{branch}"
458 - wipe-org-opendaylight-repo
460 mvn-version: "{mvn-version}"
461 - lf-provide-maven-settings:
462 global-settings-file: "global-settings"
463 settings-file: "integration-distribution-settings"
464 - lf-update-java-alternatives:
465 java-version: "{java-version}"
466 - integration-multipatch-builder
467 - integration-upload-distribution:
468 dist-pom: patch_tester/distribution/pom.xml
469 settings-project: integration
471 condition-kind: boolean-expression
472 condition-expression: $RUN_TEST
476 integration-distribution-test-{stream},
477 integration-distribution-mri-test-{stream}
478 predefined-parameters: |
479 BUNDLE_URL=$BUNDLE_URL
480 KARAF_VERSION=$KARAF_VERSION
484 - email-notification:
485 email-recipients: "{email-recipients}"
486 email-prefix: "[int/dist]"
489 name: "integration-distribution-mri-test-{stream}"
491 project-type: freestyle
492 node: queue-intque-2c-1g
495 - opendaylight-infra-properties:
496 build-days-to-keep: "{build-days-to-keep}"
499 - integration-bundle-url:
500 bundle-url: "{bundle-url}"
501 - distribution-karaf-version:
502 karaf-version: "{karaf-version}"
505 - timed: "{schedule-weekly}"
509 - project: "{csit-mri-list}"
511 predefined-parameters: |
512 BUNDLE_URL=$BUNDLE_URL
513 KARAF_VERSION=$KARAF_VERSION
516 - email-notification:
517 email-recipients: "{email-recipients}"
518 email-prefix: "[integration]"
521 name: "{project}-distribution-mri-test-{stream}"
522 id: inttest-distribution-mri-test
524 project-type: freestyle
525 node: queue-intque-2c-1g
528 - opendaylight-infra-properties:
529 build-days-to-keep: "{build-days-to-keep}"
532 - integration-bundle-url:
533 bundle-url: "{bundle-url}"
534 - distribution-karaf-version:
535 karaf-version: "{karaf-version}"
538 - timed: "{schedule-weekly}"
542 - project: "{csit-mri-list}"
544 predefined-parameters: |
545 BUNDLE_URL=$BUNDLE_URL
546 KARAF_VERSION=$KARAF_VERSION
549 - email-notification:
550 email-recipients: "{email-recipients}"
551 email-prefix: "[integration]"
554 name: "integration-distribution-weekly-test-trigger-{stream}"
556 project-type: freestyle
557 node: queue-intque-2c-1g
560 - opendaylight-infra-properties:
561 build-days-to-keep: "{build-days-to-keep}"
564 - integration-bundle-url:
565 bundle-url: "{bundle-url}"
566 - distribution-karaf-version:
567 karaf-version: "{karaf-version}"
570 - timed: "{schedule-weekly}"
574 - project: "{csit-weekly-list}"
576 predefined-parameters: |
577 BUNDLE_URL=$BUNDLE_URL
578 KARAF_VERSION=$KARAF_VERSION
581 - email-notification:
582 email-recipients: "{email-recipients}"
583 email-prefix: "[integration]"
586 name: "integration-update-csit-tests-{stream}"
588 # This job's purpose is to update csit
589 # tests to run in integration-distribution-test-{stream}
590 # by updating integration files: csit-list-{stream}.inc
591 # These files can be used as !include in int-dist-test-{stream}
593 ######################
594 # Default parameters #
595 ######################
597 git-url: "$GIT_URL/$PROJECT"
598 submodule-disable: false
599 submodule-recursive: true
600 submodule-timeout: 10
602 #####################
603 # Job Configuration #
604 #####################
606 project-type: freestyle
607 node: centos7-builder-2c-2g
610 - lf-infra-properties:
611 build-days-to-keep: 7
614 - lf-infra-parameters:
615 project: releng/builder # Hardcode as this job needs to pull releng/builder
617 branch: master # Hardcode as releng/builder only has master
618 lftools-version: "{lftools-version}"
621 default: "{csit-blocklist}"
622 description: Space separated list of jobs strings to blocklist.
625 - lf-infra-gerrit-scm:
626 jenkins-ssh-credential: "{jenkins-ssh-credential}"
628 refspec: "$GERRIT_REFSPEC"
629 branch: "$GERRIT_BRANCH"
630 submodule-disable: "{submodule-disable}"
631 submodule-recursive: "{submodule-recursive}"
632 submodule-timeout: "{submodule-timeout}"
633 choosing-strategy: default
638 jenkins-ssh-credential: "{jenkins-ssh-credential}"
642 jobs: builder-jjb-merge
646 - shell: !include-raw-escape: update-csit-tests.sh
649 git add jjb/integration/*.lst
650 - lf-infra-push-gerrit-patch:
651 project: "releng/builder"
652 gerrit-user: "jenkins-$SILO"
653 gerrit-host: "git.opendaylight.org"
654 gerrit-topic: "auto-update-csit-jobs-{stream}"
655 gerrit-commit-message: "Auto Update CSIT Jobs to run for {stream}"
656 reviewers-email: "jenkins-releng@opendaylight.org"
662 name: integration-info
664 - gerrit-info-yaml-verify
666 project-name: integration
668 build-node: centos7-builder-2c-1g
671 name: integration-view
674 project-name: integration