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
20 # CSIT Lists in defaults.yaml
25 java-version: "openjdk11"
26 csit-list: !include: csit-jobs-silicon.lst
28 odlparent yangtools mdsal controller infrautils serviceutils aaa netconf
29 daexim jsonrpc ovsdb neutron openflowplugin genius lispflowmapping netvirt
30 bgpcep integration/distribution
33 branch: "stable/aluminium"
35 java-version: "openjdk11"
36 csit-list: !include: csit-jobs-aluminium.lst
38 odlparent yangtools mdsal controller infrautils serviceutils aaa netconf
39 daexim jsonrpc ovsdb neutron openflowplugin genius lispflowmapping netvirt
40 bgpcep integration/distribution
43 branch: "stable/magnesium"
45 java-version: "openjdk11"
46 csit-list: !include: csit-jobs-magnesium.lst
48 odlparent yangtools mdsal infrautils controller serviceutils aaa netconf
49 daexim jsonrpc ovsdb neutron openflowplugin genius lispflowmapping netvirt
50 bgpcep integration/distribution
53 name: integration-distribution
54 project: integration/test
55 project-name: integration-test
57 - "integration-distribution-test-{stream}"
58 - "integration-distribution-mri-test-{stream}"
59 - "integration-distribution-weekly-test-trigger-{stream}"
60 - "integration-update-csit-tests-{stream}"
62 # CSIT Lists in defaults.yaml
67 bier coe controller detnet dluxapps groupbasedpolicy l2switch mdsal nemo
68 odlmicro p4plugin packetcable sfc sxp telemetry tsdr unimgr usc yangtools
69 gate longevity sanity tdd tempest wip
70 bgpcep-csit-3node-bgpclustering-all
71 bgpcep-csit-3node-bgpclustering-ha-only
72 netvirt-csit-1node-1cmb-0ctl-0cmp-openstack-pike
73 netvirt-csit-1node-1cmb-0ctl-0cmp-openstack-queens-upstream-stateful-itm-direct
74 netvirt-csit-3node-1cmb
75 openflowplugin-csit-1node-bundle-based-reconciliation
76 last-line-is-ignored-so-we-need-something-dummy-here-to-make-sure-the-real-last-line-is-used
77 csit-list: !include: csit-jobs-silicon.lst
78 csit-mri-list: "{csit-mri-list-silicon}"
79 csit-weekly-list: "{csit-weekly-list-silicon}"
81 branch: "stable/aluminium"
83 bier coe controller detnet dluxapps groupbasedpolicy l2switch mdsal nemo
84 odlmicro p4plugin packetcable sfc sxp telemetry tsdr unimgr usc yangtools
85 gate longevity sanity tdd tempest wip
86 bgpcep-csit-3node-bgpclustering-all
87 bgpcep-csit-3node-bgpclustering-ha-only
88 netvirt-csit-1node-1cmb-0ctl-0cmp-openstack-pike
89 netvirt-csit-1node-1cmb-0ctl-0cmp-openstack-queens-upstream-stateful-itm-direct
90 netvirt-csit-3node-1cmb
91 openflowplugin-csit-1node-bundle-based-reconciliation
92 last-line-is-ignored-so-we-need-something-dummy-here-to-make-sure-the-real-last-line-is-used
93 csit-list: !include: csit-jobs-aluminium.lst
94 csit-mri-list: "{csit-mri-list-aluminium}"
95 csit-weekly-list: "{csit-weekly-list-aluminium}"
97 branch: "stable/magnesium"
99 alto bier coe detnet dluxapps groupbasedpolicy l2switch mdsal nemo
100 p4plugin packetcable sfc sxp telemetry tsdr unimgr usc yangtools
101 gate longevity sanity tdd tempest wip
102 bgpcep-csit-3node-bgpclustering-all
103 bgpcep-csit-3node-bgpclustering-ha-only
104 netvirt-csit-1node-1cmb-0ctl-0cmp-openstack-pike
105 netvirt-csit-1node-1cmb-0ctl-0cmp-openstack-queens-upstream-stateful-itm-direct
106 netvirt-csit-3node-1cmb
107 openflowplugin-csit-1node-bundle-based-reconciliation
108 last-line-is-ignored-so-we-need-something-dummy-here-to-make-sure-the-real-last-line-is-used
109 csit-list: !include: csit-jobs-magnesium.lst
110 csit-mri-list: "{csit-mri-list-magnesium}"
111 csit-weekly-list: "{csit-weekly-list-magnesium}"
114 name: integration-sanity
115 project: integration/test
116 project-name: integration-test
118 - "integration-sanity-test-{stream}"
124 csit-sanity-list: "{csit-sanity-list-silicon}"
126 branch: "stable/aluminium"
128 csit-sanity-list: "{csit-sanity-list-aluminium}"
130 branch: "stable/magnesium"
132 csit-sanity-list: "{csit-sanity-list-magnesium}"
135 name: "integration-merge-dashboard"
136 project-type: freestyle
137 node: centos7-builder-2c-1g
140 - opendaylight-infra-properties:
141 build-days-to-keep: "{build-days-to-keep}"
144 - opendaylight-infra-parameters:
145 os-cloud: "{os-cloud}"
148 refspec: "refs/heads/master"
149 artifacts: "{archive-artifacts}"
152 - integration-gerrit-scm:
154 refspec: "$GERRIT_REFSPEC"
158 - opendaylight-infra-wrappers:
159 build-timeout: "{build-timeout}"
162 - gerrit-trigger-patch-merged:
163 gerrit-server-name: "{gerrit-server-name}"
166 files: "dashboard/**"
171 - config-file-provider:
173 - file-id: odl-elastic-cloud
174 target: "$HOME/.netrc"
175 - integration-install-robotframework
176 # yamllint disable-line rule:line-length
177 - shell: python3 $WORKSPACE/test/csit/scripts/push_dashboard.py a4ff38b99ef2c7626450543021b4c134.us-east-1.aws.found.io:9243
181 - email-notification:
182 email-recipients: "{email-recipients}"
183 email-prefix: "[{project-name}]"
186 name: "integration-distribution-test-{stream}"
187 # Goal: Verify a distribution through all system test available
188 # Operation: This template takes a distribution and passes all available system test
190 project-type: freestyle
191 node: queue-disttest-2c-1g
194 - opendaylight-infra-properties:
195 build-days-to-keep: "{build-days-to-keep}"
198 - integration-bundle-url:
199 bundle-url: "{bundle-url}"
200 - distribution-karaf-version:
201 karaf-version: "{karaf-version}"
206 - project: "{csit-list}"
208 predefined-parameters: |
209 BUNDLE_URL=$BUNDLE_URL
210 KARAF_VERSION=$KARAF_VERSION
215 jenkins-ssh-credential: "{jenkins-ssh-credential}"
218 - opendaylight-infra-generate-csit-status-report
219 - email-notification:
220 email-recipients: "{email-recipients}"
221 email-prefix: "[integration]"
225 name: "integration-sanity-test-{stream}"
226 # Goal: Verify a distribution through sanity test
227 # Operation: This template takes a distribution and passes sanity test
228 # This jobs works for both managed & unmanaged distro.
230 project-type: freestyle
231 node: queue-intque-2c-1g
234 - opendaylight-infra-properties:
235 build-days-to-keep: "{build-days-to-keep}"
238 - integration-bundle-url:
239 bundle-url: "{bundle-url}"
240 - distribution-karaf-version:
241 karaf-version: "{karaf-version}"
244 - timed: "{schedule-daily}"
249 - project: "{csit-sanity-list}"
251 predefined-parameters: |
252 BUNDLE_URL=$BUNDLE_URL
253 KARAF_VERSION=$KARAF_VERSION
256 - email-notification:
257 email-recipients: "{email-recipients}"
258 email-prefix: "[integration]"
261 name: "integration-patch-test-{stream}"
262 # Template: integration-patch-test-{stream}
263 # Goal: Build a patch and run all available system test on a distribution containing the change
264 # Operation: This job template builds a patch, creates a distribution containing the patch, and
265 # triggers the distribution test when test-integration is used in gerrit comments
267 project-type: freestyle
268 node: centos7-builder-2c-8g
271 - opendaylight-infra-properties:
272 build-days-to-keep: "{build-days-to-keep}"
275 - opendaylight-infra-parameters:
276 os-cloud: "{os-cloud}"
277 project: "$GERRIT_PROJECT"
279 refspec: "$GERRIT_REFSPEC"
280 artifacts: "{archive-artifacts}"
281 - integration-distribution-branch:
283 - distribution-karaf-version:
284 karaf-version: "{karaf-version}"
285 - integration-distribution-git-url:
291 - integration-gerrit-scm:
292 basedir: "$GERRIT_PROJECT"
293 refspec: "$GERRIT_REFSPEC"
295 - integration-distribution-scm:
299 - opendaylight-infra-wrappers:
304 server-name: "{gerrit-server-name}"
306 - comment-added-contains-event:
307 comment-contains-value: "test-integration"
309 - project-compare-type: "ANT"
310 project-pattern: "**"
312 - branch-compare-type: "ANT"
313 branch-pattern: "**/{branch}"
322 - integration-rebase-gerrit-patch
323 - wipe-org-opendaylight-repo
324 - lf-provide-maven-settings:
325 global-settings-file: "global-settings"
326 settings-file: "integration-settings"
327 - lf-update-java-alternatives:
328 java-version: "{java-version}"
330 maven-version: "mvn35"
331 pom: "$GERRIT_PROJECT/pom.xml"
333 clean install dependency:tree -DoutputFile=dependency_tree.txt
336 {opendaylight-infra-mvn-opts}
337 # {opendaylight-infra-parallel-mvn-opts} is bad when there are multiple big features in SFT.
339 - "-Xmx4096m -Dmaven.compile.fork=true"
340 settings: integration-settings
342 global-settings: global-settings
343 global-settings-type: cfp
346 pom: distribution/pom.xml
348 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 - "-Xmx1024m -Dmaven.compile.fork=true"
353 settings: integration-settings
355 global-settings: global-settings
356 global-settings-type: cfp
357 - integration-upload-distribution:
358 dist-pom: distribution/pom.xml
360 - project: "{csit-list}"
362 predefined-parameters: |
363 BUNDLE_URL=$BUNDLE_URL
364 KARAF_VERSION=$KARAF_VERSION
368 - email-notification:
369 email-recipients: "{email-recipients}"
370 email-prefix: "[$GERRIT_PROJECT]"
373 name: "{prefix}integration-multipatch-test-{stream}"
374 # Goal: Build one or more patches and run all available system test on a distribution containing the change.
375 # Operation: This job template checks out and builds in order each patch provided in job parameters, finally
376 # it creates a distribution containing all patches and triggers the distribution test job which includes most
377 # (if not all) available CSIT jobs.
379 id: inttest-multipatch
380 project-type: freestyle
381 node: centos7-builder-8c-8g
385 - opendaylight-infra-properties:
386 build-days-to-keep: "{build-days-to-keep}"
390 name: PATCHES_TO_BUILD
391 default: "$PATCHES_TO_BUILD"
393 Ordered list of patches to build in the format of project=changeset (checkout) or
394 project:changeset (cherry-pick) for example: genius=32/53632/9,netvirt:59/50259/47.
397 default: "{build-order}"
398 description: "Build order for multipatch test when topic is used"
402 description: "Set true to build fast -Pq"
406 description: "List of projects to build normal (no -Pq) when BUILD_FAST=true"
410 description: "Set true to run test after build"
411 - integration-distribution-branch:
413 - integration-distribution-stream:
415 - distribution-karaf-version:
416 karaf-version: "{karaf-version}"
417 - opendaylight-infra-parameters:
418 os-cloud: "{os-cloud}"
419 project: "integration/distribution"
421 refspec: "refs/heads/{branch}"
422 artifacts: "{archive-artifacts}"
423 - lf-infra-maven-parameters:
427 staging-profile-id: "" # Staging repos do not make sense for this job
430 - opendaylight-infra-wrappers:
431 build-timeout: "1200"
435 server-name: "{gerrit-server-name}"
437 - comment-added-contains-event:
438 comment-contains-value: "multipatch-build"
440 - project-compare-type: ANT
441 project-pattern: "**"
443 - branch-compare-type: ANT
444 branch-pattern: "**/{branch}"
448 - wipe-org-opendaylight-repo
450 mvn-version: "{mvn-version}"
451 - lf-provide-maven-settings:
452 global-settings-file: "global-settings"
453 settings-file: "integration-distribution-settings"
454 - lf-update-java-alternatives:
455 java-version: "{java-version}"
456 - integration-multipatch-builder
457 - integration-upload-distribution:
458 dist-pom: patch_tester/distribution/pom.xml
460 condition-kind: boolean-expression
461 condition-expression: $RUN_TEST
465 integration-distribution-test-{stream},
466 integration-distribution-mri-test-{stream}
467 predefined-parameters: |
468 BUNDLE_URL=$BUNDLE_URL
469 KARAF_VERSION=$KARAF_VERSION
473 - email-notification:
474 email-recipients: "{email-recipients}"
475 email-prefix: "[int/dist]"
478 name: "integration-distribution-mri-test-{stream}"
480 project-type: freestyle
481 node: queue-intque-2c-1g
484 - opendaylight-infra-properties:
485 build-days-to-keep: "{build-days-to-keep}"
488 - integration-bundle-url:
489 bundle-url: "{bundle-url}"
490 - distribution-karaf-version:
491 karaf-version: "{karaf-version}"
494 - timed: "{schedule-weekly}"
498 - project: "{csit-mri-list}"
500 predefined-parameters: |
501 BUNDLE_URL=$BUNDLE_URL
502 KARAF_VERSION=$KARAF_VERSION
505 - email-notification:
506 email-recipients: "{email-recipients}"
507 email-prefix: "[integration]"
510 name: "integration-distribution-weekly-test-trigger-{stream}"
512 project-type: freestyle
513 node: queue-intque-2c-1g
516 - opendaylight-infra-properties:
517 build-days-to-keep: "{build-days-to-keep}"
520 - integration-bundle-url:
521 bundle-url: "{bundle-url}"
522 - distribution-karaf-version:
523 karaf-version: "{karaf-version}"
526 - timed: "{schedule-weekly}"
530 - project: "{csit-weekly-list}"
532 predefined-parameters: |
533 BUNDLE_URL=$BUNDLE_URL
534 KARAF_VERSION=$KARAF_VERSION
537 - email-notification:
538 email-recipients: "{email-recipients}"
539 email-prefix: "[integration]"
542 name: "integration-update-csit-tests-{stream}"
544 # This job's purpose is to update csit
545 # tests to run in integration-distribution-test-{stream}
546 # by updating integration files: csit-list-{stream}.inc
547 # These files can be used as !include in int-dist-test-{stream}
549 ######################
550 # Default parameters #
551 ######################
553 git-url: "$GIT_URL/$PROJECT"
554 submodule-disable: false
555 submodule-recursive: true
556 submodule-timeout: 10
558 #####################
559 # Job Configuration #
560 #####################
562 project-type: freestyle
563 node: centos7-builder-2c-2g
566 - lf-infra-properties:
567 build-days-to-keep: 7
570 - lf-infra-parameters:
571 project: releng/builder # Hardcode as this job needs to pull releng/builder
573 branch: master # Hardcode as releng/builder only has master
574 lftools-version: "{lftools-version}"
577 default: "{csit-blocklist}"
578 description: Space separated list of jobs strings to blocklist.
581 - lf-infra-gerrit-scm:
582 jenkins-ssh-credential: "{jenkins-ssh-credential}"
584 refspec: "$GERRIT_REFSPEC"
585 branch: "$GERRIT_BRANCH"
586 submodule-disable: "{submodule-disable}"
587 submodule-recursive: "{submodule-recursive}"
588 submodule-timeout: "{submodule-timeout}"
589 choosing-strategy: default
594 jenkins-ssh-credential: "{jenkins-ssh-credential}"
598 jobs: builder-jjb-merge
602 - shell: !include-raw-escape: update-csit-tests.sh
605 git add jjb/integration/*.lst
606 - lf-infra-push-gerrit-patch:
607 project: "releng/builder"
608 gerrit-user: "jenkins-$SILO"
609 gerrit-host: "git.opendaylight.org"
610 gerrit-topic: "auto-update-csit-jobs-{stream}"
611 gerrit-commit-message: "Auto Update CSIT Jobs to run for {stream}"
612 reviewers-email: "jluhrsen@gmail.com"
618 name: integration-info
620 - gerrit-info-yaml-verify
622 project-name: integration
624 build-node: centos7-builder-2c-1g
627 name: integration-view
630 project-name: integration