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: centos7-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: centos7-builder-2c-2g
21 java-version: "openjdk17"
23 # CSIT Lists in defaults.yaml
27 csit-list: !include: csit-jobs-chlorine.lst
29 odlparent infrautils yangtools mdsal controller aaa netconf bgpcep
30 serviceutils daexim jsonrpc ovsdb openflowplugin lispflowmapping
31 integration/distribution
33 branch: "stable/chlorine"
34 csit-list: !include: csit-jobs-chlorine.lst
36 odlparent infrautils yangtools mdsal controller aaa netconf bgpcep
37 serviceutils daexim jsonrpc ovsdb openflowplugin lispflowmapping
38 integration/distribution
40 branch: "stable/sulfur"
41 java-version: "openjdk11"
42 csit-list: !include: csit-jobs-sulfur.lst
44 odlparent infrautils yangtools mdsal controller aaa netconf bgpcep
45 serviceutils daexim jsonrpc ovsdb openflowplugin lispflowmapping
46 integration/distribution
48 branch: "stable/phosphorus"
50 java-version: "openjdk11"
51 csit-list: !include: csit-jobs-phosphorus.lst
53 odlparent infrautils yangtools mdsal controller aaa netconf bgpcep
54 serviceutils daexim jsonrpc ovsdb openflowplugin lispflowmapping
55 integration/distribution
58 name: integration-distribution
59 project: integration/test
60 project-name: integration-test
62 - "integration-distribution-test-{stream}"
63 - "integration-distribution-mri-test-{stream}"
64 - "integration-distribution-weekly-test-trigger-{stream}"
65 - "integration-update-csit-tests-{stream}"
67 # CSIT Lists in defaults.yaml
72 aaa controller genius lispflowmapping l2switch mdsal
73 netconf netvirt odlmicro sxp yangtools
74 gate longevity sanity tdd tempest wip
75 bgpcep-csit-3node-bgpclustering-all
76 bgpcep-csit-3node-bgpclustering-ha-only
77 openflowplugin-csit-1node-bundle-based-reconciliation
78 last-line-is-ignored-so-we-need-something-dummy-here-to-make-sure-the-real-last-line-is-used
79 csit-list: !include: csit-jobs-argon.lst
80 csit-mri-list: "{csit-mri-list-argon}"
81 csit-weekly-list: "{csit-weekly-list-argon}"
83 branch: "stable/chlorine"
85 aaa controller genius lispflowmapping l2switch mdsal
86 netconf netvirt odlmicro sxp yangtools
87 gate longevity sanity tdd tempest wip
88 bgpcep-csit-3node-bgpclustering-all
89 bgpcep-csit-3node-bgpclustering-ha-only
90 openflowplugin-csit-1node-bundle-based-reconciliation
91 last-line-is-ignored-so-we-need-something-dummy-here-to-make-sure-the-real-last-line-is-used
92 csit-list: !include: csit-jobs-chlorine.lst
93 csit-mri-list: "{csit-mri-list-chlorine}"
94 csit-weekly-list: "{csit-weekly-list-chlorine}"
96 branch: "stable/sulfur"
98 aaa controller genius lispflowmapping l2switch mdsal
99 netconf netvirt odlmicro sxp yangtools
100 gate longevity sanity tdd tempest wip
101 bgpcep-csit-3node-bgpclustering-all
102 bgpcep-csit-3node-bgpclustering-ha-only
103 openflowplugin-csit-1node-bundle-based-reconciliation
104 last-line-is-ignored-so-we-need-something-dummy-here-to-make-sure-the-real-last-line-is-used
105 csit-list: !include: csit-jobs-sulfur.lst
106 csit-mri-list: "{csit-mri-list-sulfur}"
107 csit-weekly-list: "{csit-weekly-list-sulfur}"
109 branch: "stable/phosphorus"
111 aaa controller genius lispflowmapping l2switch mdsal
112 netconf netvirt odlmicro sxp yangtools
113 gate longevity sanity tdd tempest wip
114 bgpcep-csit-3node-bgpclustering-all
115 bgpcep-csit-3node-bgpclustering-ha-only
116 openflowplugin-csit-1node-bundle-based-reconciliation
117 last-line-is-ignored-so-we-need-something-dummy-here-to-make-sure-the-real-last-line-is-used
118 csit-list: !include: csit-jobs-phosphorus.lst
119 csit-mri-list: "{csit-mri-list-phosphorus}"
120 csit-weekly-list: "{csit-weekly-list-phosphorus}"
123 name: integration-sanity
124 project: integration/test
125 project-name: integration-test
127 - "integration-sanity-test-{stream}"
133 csit-sanity-list: "{csit-sanity-list-argon}"
135 branch: "stable/chlorine"
137 csit-sanity-list: "{csit-sanity-list-chlorine}"
139 branch: "stable/sulfur"
141 csit-sanity-list: "{csit-sanity-list-sulfur}"
143 branch: "stable/phosphorus"
145 csit-sanity-list: "{csit-sanity-list-phosphorus}"
148 name: "integration-merge-dashboard"
149 project-type: freestyle
150 node: centos7-builder-2c-1g
153 - opendaylight-infra-properties:
154 build-days-to-keep: "{build-days-to-keep}"
157 - opendaylight-infra-parameters:
158 os-cloud: "{os-cloud}"
161 refspec: "refs/heads/master"
162 artifacts: "{archive-artifacts}"
165 - integration-gerrit-scm:
167 refspec: "$GERRIT_REFSPEC"
171 - opendaylight-infra-wrappers:
172 build-timeout: "{build-timeout}"
175 - gerrit-trigger-patch-merged:
176 gerrit-server-name: "{gerrit-server-name}"
179 files: "dashboard/**"
184 - config-file-provider:
186 - file-id: odl-elastic-cloud
187 target: "$HOME/.netrc"
188 - integration-install-robotframework
189 # yamllint disable-line rule:line-length
190 - shell: python3 $WORKSPACE/test/csit/scripts/push_dashboard.py a4ff38b99ef2c7626450543021b4c134.us-east-1.aws.found.io:9243
194 - email-notification:
195 email-recipients: "{email-recipients}"
196 email-prefix: "[{project-name}]"
199 name: "integration-distribution-test-{stream}"
200 # Goal: Verify a distribution through all system test available
201 # Operation: This template takes a distribution and passes all available system test
203 project-type: freestyle
204 node: queue-disttest-2c-1g
207 - opendaylight-infra-properties:
208 build-days-to-keep: "{build-days-to-keep}"
211 - integration-bundle-url:
212 bundle-url: "{bundle-url}"
213 - distribution-karaf-version:
214 karaf-version: "{karaf-version}"
219 - project: "{csit-list}"
221 predefined-parameters: |
222 BUNDLE_URL=$BUNDLE_URL
223 KARAF_VERSION=$KARAF_VERSION
228 jenkins-ssh-credential: "{jenkins-ssh-credential}"
231 - opendaylight-infra-generate-csit-status-report
232 - email-notification:
233 email-recipients: "{email-recipients}"
234 email-prefix: "[integration]"
238 name: "integration-sanity-test-{stream}"
239 # Goal: Verify a distribution through sanity test
240 # Operation: This template takes a distribution and passes sanity test
241 # This jobs works for both managed & unmanaged distro.
243 project-type: freestyle
244 node: queue-intque-2c-1g
247 - opendaylight-infra-properties:
248 build-days-to-keep: "{build-days-to-keep}"
251 - integration-bundle-url:
252 bundle-url: "{bundle-url}"
253 - distribution-karaf-version:
254 karaf-version: "{karaf-version}"
257 - timed: "{schedule-daily}"
262 - project: "{csit-sanity-list}"
264 predefined-parameters: |
265 BUNDLE_URL=$BUNDLE_URL
266 KARAF_VERSION=$KARAF_VERSION
269 - email-notification:
270 email-recipients: "{email-recipients}"
271 email-prefix: "[integration]"
274 name: "integration-patch-test-{stream}"
275 # Template: integration-patch-test-{stream}
276 # Goal: Build a patch and run all available system test on a distribution containing the change
277 # Operation: This job template builds a patch, creates a distribution containing the patch, and
278 # triggers the distribution test when test-integration is used in gerrit comments
280 project-type: freestyle
281 node: centos7-builder-2c-8g
284 - opendaylight-infra-properties:
285 build-days-to-keep: "{build-days-to-keep}"
288 - opendaylight-infra-parameters:
289 os-cloud: "{os-cloud}"
290 project: "$GERRIT_PROJECT"
292 refspec: "$GERRIT_REFSPEC"
293 artifacts: "{archive-artifacts}"
294 - integration-distribution-branch:
296 - distribution-karaf-version:
297 karaf-version: "{karaf-version}"
298 - integration-distribution-git-url:
301 maven-version: "{mvn-version}"
304 - integration-gerrit-scm:
305 basedir: "$GERRIT_PROJECT"
306 refspec: "$GERRIT_REFSPEC"
308 - integration-distribution-scm:
312 - opendaylight-infra-wrappers:
317 server-name: "{gerrit-server-name}"
319 - comment-added-contains-event:
320 comment-contains-value: "test-integration"
322 - project-compare-type: "ANT"
323 project-pattern: "**"
325 - branch-compare-type: "ANT"
326 branch-pattern: "**/{branch}"
335 - integration-rebase-gerrit-patch
336 - wipe-org-opendaylight-repo
337 - lf-provide-maven-settings:
338 global-settings-file: "global-settings"
339 settings-file: "integration-settings"
340 - lf-update-java-alternatives:
341 java-version: "{java-version}"
343 maven-version: "{mvn-version}"
344 pom: "$GERRIT_PROJECT/pom.xml"
346 clean install dependency:tree -DoutputFile=dependency_tree.txt
349 {opendaylight-infra-mvn-opts}
350 # {opendaylight-infra-parallel-mvn-opts} is bad when there are multiple big features in SFT.
352 - "-Xmx4096m -Dmaven.compile.fork=true"
353 settings: integration-settings
355 global-settings: global-settings
356 global-settings-type: cfp
358 maven-version: "{mvn-version}"
359 pom: distribution/pom.xml
361 clean install dependency:tree -DoutputFile=dependency_tree.txt
362 {opendaylight-infra-mvn-opts}
363 # {opendaylight-infra-parallel-mvn-opts} is bad when there are multiple big features in SFT.
365 - "-Xmx1024m -Dmaven.compile.fork=true"
366 settings: integration-settings
368 global-settings: global-settings
369 global-settings-type: cfp
370 - integration-upload-distribution:
371 dist-pom: distribution/pom.xml
372 settings-project: integration
374 - project: "{csit-list}"
376 predefined-parameters: |
377 BUNDLE_URL=$BUNDLE_URL
378 KARAF_VERSION=$KARAF_VERSION
382 - email-notification:
383 email-recipients: "{email-recipients}"
384 email-prefix: "[$GERRIT_PROJECT]"
387 name: "{prefix}integration-multipatch-test-{stream}"
388 # Goal: Build one or more patches and run all available system test on a distribution containing the change.
389 # Operation: This job template checks out and builds in order each patch provided in job parameters, finally
390 # it creates a distribution containing all patches and triggers the distribution test job which includes most
391 # (if not all) available CSIT jobs.
393 id: inttest-multipatch
394 project-type: freestyle
395 node: centos7-builder-8c-8g
399 - opendaylight-infra-properties:
400 build-days-to-keep: "{build-days-to-keep}"
404 name: PATCHES_TO_BUILD
405 default: "$PATCHES_TO_BUILD"
407 Ordered list of patches to build in the format of project=changeset (checkout) or
408 project:changeset (cherry-pick) for example: genius=32/53632/9,netvirt:59/50259/47.
411 default: "{build-order}"
412 description: "Build order for multipatch test when topic is used"
416 description: "Set true to build fast -Pq"
420 description: "List of projects to build normal (no -Pq) when BUILD_FAST=true"
424 description: "Set true to run test after build"
425 - integration-distribution-branch:
427 - integration-distribution-stream:
429 - distribution-karaf-version:
430 karaf-version: "{karaf-version}"
431 - opendaylight-infra-parameters:
432 os-cloud: "{os-cloud}"
433 project: "integration/distribution"
435 refspec: "refs/heads/{branch}"
436 artifacts: "{archive-artifacts}"
437 - lf-infra-maven-parameters:
440 mvn-version: "{mvn-version}"
441 staging-profile-id: "" # Staging repos do not make sense for this job
444 - opendaylight-infra-wrappers:
445 build-timeout: "1200"
449 server-name: "{gerrit-server-name}"
451 - comment-added-contains-event:
452 comment-contains-value: "multipatch-build"
454 - project-compare-type: ANT
455 project-pattern: "**"
457 - branch-compare-type: ANT
458 branch-pattern: "**/{branch}"
462 - wipe-org-opendaylight-repo
464 mvn-version: "{mvn-version}"
465 - lf-provide-maven-settings:
466 global-settings-file: "global-settings"
467 settings-file: "integration-distribution-settings"
468 - lf-update-java-alternatives:
469 java-version: "{java-version}"
470 - integration-multipatch-builder
471 - integration-upload-distribution:
472 dist-pom: patch_tester/distribution/pom.xml
473 settings-project: integration
475 condition-kind: boolean-expression
476 condition-expression: $RUN_TEST
480 integration-distribution-test-{stream},
481 integration-distribution-mri-test-{stream}
482 predefined-parameters: |
483 BUNDLE_URL=$BUNDLE_URL
484 KARAF_VERSION=$KARAF_VERSION
488 - email-notification:
489 email-recipients: "{email-recipients}"
490 email-prefix: "[int/dist]"
493 name: "integration-distribution-mri-test-{stream}"
495 project-type: freestyle
496 node: queue-intque-2c-1g
499 - opendaylight-infra-properties:
500 build-days-to-keep: "{build-days-to-keep}"
503 - integration-bundle-url:
504 bundle-url: "{bundle-url}"
505 - distribution-karaf-version:
506 karaf-version: "{karaf-version}"
509 - timed: "{schedule-weekly}"
513 - project: "{csit-mri-list}"
515 predefined-parameters: |
516 BUNDLE_URL=$BUNDLE_URL
517 KARAF_VERSION=$KARAF_VERSION
520 - email-notification:
521 email-recipients: "{email-recipients}"
522 email-prefix: "[integration]"
525 name: "{project}-distribution-mri-test-{stream}"
526 id: inttest-distribution-mri-test
528 project-type: freestyle
529 node: queue-intque-2c-1g
532 - opendaylight-infra-properties:
533 build-days-to-keep: "{build-days-to-keep}"
536 - integration-bundle-url:
537 bundle-url: "{bundle-url}"
538 - distribution-karaf-version:
539 karaf-version: "{karaf-version}"
542 - timed: "{schedule-weekly}"
546 - project: "{csit-mri-list}"
548 predefined-parameters: |
549 BUNDLE_URL=$BUNDLE_URL
550 KARAF_VERSION=$KARAF_VERSION
553 - email-notification:
554 email-recipients: "{email-recipients}"
555 email-prefix: "[integration]"
558 name: "integration-distribution-weekly-test-trigger-{stream}"
560 project-type: freestyle
561 node: queue-intque-2c-1g
564 - opendaylight-infra-properties:
565 build-days-to-keep: "{build-days-to-keep}"
568 - integration-bundle-url:
569 bundle-url: "{bundle-url}"
570 - distribution-karaf-version:
571 karaf-version: "{karaf-version}"
574 - timed: "{schedule-weekly}"
578 - project: "{csit-weekly-list}"
580 predefined-parameters: |
581 BUNDLE_URL=$BUNDLE_URL
582 KARAF_VERSION=$KARAF_VERSION
585 - email-notification:
586 email-recipients: "{email-recipients}"
587 email-prefix: "[integration]"
590 name: "integration-update-csit-tests-{stream}"
592 # This job's purpose is to update csit
593 # tests to run in integration-distribution-test-{stream}
594 # by updating integration files: csit-list-{stream}.inc
595 # These files can be used as !include in int-dist-test-{stream}
597 ######################
598 # Default parameters #
599 ######################
601 git-url: "$GIT_URL/$PROJECT"
602 submodule-disable: false
603 submodule-recursive: true
604 submodule-timeout: 10
606 #####################
607 # Job Configuration #
608 #####################
610 project-type: freestyle
611 node: centos7-builder-2c-2g
614 - lf-infra-properties:
615 build-days-to-keep: 7
618 - lf-infra-parameters:
619 project: releng/builder # Hardcode as this job needs to pull releng/builder
621 branch: master # Hardcode as releng/builder only has master
622 lftools-version: "{lftools-version}"
625 default: "{csit-blocklist}"
626 description: Space separated list of jobs strings to blocklist.
629 - lf-infra-gerrit-scm:
630 jenkins-ssh-credential: "{jenkins-ssh-credential}"
632 refspec: "$GERRIT_REFSPEC"
633 branch: "$GERRIT_BRANCH"
634 submodule-disable: "{submodule-disable}"
635 submodule-recursive: "{submodule-recursive}"
636 submodule-timeout: "{submodule-timeout}"
637 choosing-strategy: default
642 jenkins-ssh-credential: "{jenkins-ssh-credential}"
646 jobs: builder-jjb-merge
650 - shell: !include-raw-escape: update-csit-tests.sh
653 git add jjb/integration/*.lst
654 - lf-infra-push-gerrit-patch:
655 project: "releng/builder"
656 gerrit-user: "jenkins-$SILO"
657 gerrit-host: "git.opendaylight.org"
658 gerrit-topic: "auto-update-csit-jobs-{stream}"
659 gerrit-commit-message: "Auto Update CSIT Jobs to run for {stream}"
660 reviewers-email: "jenkins-releng@opendaylight.org"
666 name: integration-info
668 - gerrit-info-yaml-verify
670 project-name: integration
672 build-node: centos7-builder-2c-1g
675 name: integration-view
678 project-name: integration