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-sulfur.lst
28 odlparent infrautils yangtools mdsal controller serviceutils aaa netconf
29 daexim jsonrpc ovsdb neutron openflowplugin lispflowmapping
30 bgpcep integration/distribution
33 branch: "stable/phosphorus"
35 java-version: "openjdk11"
36 csit-list: !include: csit-jobs-phosphorus.lst
38 odlparent infrautils yangtools mdsal controller serviceutils aaa netconf
39 daexim jsonrpc ovsdb neutron openflowplugin lispflowmapping
40 bgpcep integration/distribution
43 branch: "stable/silicon"
45 java-version: "openjdk11"
46 csit-list: !include: csit-jobs-silicon.lst
48 odlparent infrautils yangtools mdsal controller serviceutils aaa netconf
49 daexim jsonrpc ovsdb neutron openflowplugin lispflowmapping
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 aaa bier controller dluxapps genius lispflowmapping l2switch mdsal nemo
68 netconf netvirt odlmicro packetcable sfc sxp telemetry tsdr usc yangtools
69 gate longevity sanity tdd tempest wip
70 bgpcep-csit-3node-bgpclustering-all
71 bgpcep-csit-3node-bgpclustering-ha-only
72 openflowplugin-csit-1node-bundle-based-reconciliation
73 last-line-is-ignored-so-we-need-something-dummy-here-to-make-sure-the-real-last-line-is-used
74 csit-list: !include: csit-jobs-sulfur.lst
75 csit-mri-list: "{csit-mri-list-sulfur}"
76 csit-weekly-list: "{csit-weekly-list-sulfur}"
78 branch: "stable/phosphorus"
80 aaa bier controller dluxapps genius lispflowmapping l2switch mdsal nemo
81 netconf netvirt odlmicro packetcable sfc sxp telemetry tsdr usc yangtools
82 gate longevity sanity tdd tempest wip
83 bgpcep-csit-3node-bgpclustering-all
84 bgpcep-csit-3node-bgpclustering-ha-only
85 openflowplugin-csit-1node-bundle-based-reconciliation
86 last-line-is-ignored-so-we-need-something-dummy-here-to-make-sure-the-real-last-line-is-used
87 csit-list: !include: csit-jobs-phosphorus.lst
88 csit-mri-list: "{csit-mri-list-phosphorus}"
89 csit-weekly-list: "{csit-weekly-list-phosphorus}"
91 branch: "stable/silicon"
93 aaa bier controller dluxapps genius lispflowmapping l2switch mdsal nemo
94 netconf netvirt odlmicro packetcable sfc sxp telemetry tsdr usc yangtools
95 gate longevity sanity tdd tempest wip
96 bgpcep-csit-3node-bgpclustering-all
97 bgpcep-csit-3node-bgpclustering-ha-only
98 openflowplugin-csit-1node-bundle-based-reconciliation
99 last-line-is-ignored-so-we-need-something-dummy-here-to-make-sure-the-real-last-line-is-used
100 csit-list: !include: csit-jobs-silicon.lst
101 csit-mri-list: "{csit-mri-list-silicon}"
102 csit-weekly-list: "{csit-weekly-list-silicon}"
105 name: integration-sanity
106 project: integration/test
107 project-name: integration-test
109 - "integration-sanity-test-{stream}"
115 csit-sanity-list: "{csit-sanity-list-sulfur}"
117 branch: "stable/phosphorus"
119 csit-sanity-list: "{csit-sanity-list-phosphorus}"
121 branch: "stable/silicon"
123 csit-sanity-list: "{csit-sanity-list-silicon}"
126 name: "integration-merge-dashboard"
127 project-type: freestyle
128 node: centos7-builder-2c-1g
131 - opendaylight-infra-properties:
132 build-days-to-keep: "{build-days-to-keep}"
135 - opendaylight-infra-parameters:
136 os-cloud: "{os-cloud}"
139 refspec: "refs/heads/master"
140 artifacts: "{archive-artifacts}"
143 - integration-gerrit-scm:
145 refspec: "$GERRIT_REFSPEC"
149 - opendaylight-infra-wrappers:
150 build-timeout: "{build-timeout}"
153 - gerrit-trigger-patch-merged:
154 gerrit-server-name: "{gerrit-server-name}"
157 files: "dashboard/**"
162 - config-file-provider:
164 - file-id: odl-elastic-cloud
165 target: "$HOME/.netrc"
166 - integration-install-robotframework
167 # yamllint disable-line rule:line-length
168 - shell: python3 $WORKSPACE/test/csit/scripts/push_dashboard.py a4ff38b99ef2c7626450543021b4c134.us-east-1.aws.found.io:9243
172 - email-notification:
173 email-recipients: "{email-recipients}"
174 email-prefix: "[{project-name}]"
177 name: "integration-distribution-test-{stream}"
178 # Goal: Verify a distribution through all system test available
179 # Operation: This template takes a distribution and passes all available system test
181 project-type: freestyle
182 node: queue-disttest-2c-1g
185 - opendaylight-infra-properties:
186 build-days-to-keep: "{build-days-to-keep}"
189 - integration-bundle-url:
190 bundle-url: "{bundle-url}"
191 - distribution-karaf-version:
192 karaf-version: "{karaf-version}"
197 - project: "{csit-list}"
199 predefined-parameters: |
200 BUNDLE_URL=$BUNDLE_URL
201 KARAF_VERSION=$KARAF_VERSION
206 jenkins-ssh-credential: "{jenkins-ssh-credential}"
209 - opendaylight-infra-generate-csit-status-report
210 - email-notification:
211 email-recipients: "{email-recipients}"
212 email-prefix: "[integration]"
216 name: "integration-sanity-test-{stream}"
217 # Goal: Verify a distribution through sanity test
218 # Operation: This template takes a distribution and passes sanity test
219 # This jobs works for both managed & unmanaged distro.
221 project-type: freestyle
222 node: queue-intque-2c-1g
225 - opendaylight-infra-properties:
226 build-days-to-keep: "{build-days-to-keep}"
229 - integration-bundle-url:
230 bundle-url: "{bundle-url}"
231 - distribution-karaf-version:
232 karaf-version: "{karaf-version}"
235 - timed: "{schedule-daily}"
240 - project: "{csit-sanity-list}"
242 predefined-parameters: |
243 BUNDLE_URL=$BUNDLE_URL
244 KARAF_VERSION=$KARAF_VERSION
247 - email-notification:
248 email-recipients: "{email-recipients}"
249 email-prefix: "[integration]"
252 name: "integration-patch-test-{stream}"
253 # Template: integration-patch-test-{stream}
254 # Goal: Build a patch and run all available system test on a distribution containing the change
255 # Operation: This job template builds a patch, creates a distribution containing the patch, and
256 # triggers the distribution test when test-integration is used in gerrit comments
258 project-type: freestyle
259 node: centos7-builder-2c-8g
262 - opendaylight-infra-properties:
263 build-days-to-keep: "{build-days-to-keep}"
266 - opendaylight-infra-parameters:
267 os-cloud: "{os-cloud}"
268 project: "$GERRIT_PROJECT"
270 refspec: "$GERRIT_REFSPEC"
271 artifacts: "{archive-artifacts}"
272 - integration-distribution-branch:
274 - distribution-karaf-version:
275 karaf-version: "{karaf-version}"
276 - integration-distribution-git-url:
282 - integration-gerrit-scm:
283 basedir: "$GERRIT_PROJECT"
284 refspec: "$GERRIT_REFSPEC"
286 - integration-distribution-scm:
290 - opendaylight-infra-wrappers:
295 server-name: "{gerrit-server-name}"
297 - comment-added-contains-event:
298 comment-contains-value: "test-integration"
300 - project-compare-type: "ANT"
301 project-pattern: "**"
303 - branch-compare-type: "ANT"
304 branch-pattern: "**/{branch}"
313 - integration-rebase-gerrit-patch
314 - wipe-org-opendaylight-repo
315 - lf-provide-maven-settings:
316 global-settings-file: "global-settings"
317 settings-file: "integration-settings"
318 - lf-update-java-alternatives:
319 java-version: "{java-version}"
321 maven-version: "mvn35"
322 pom: "$GERRIT_PROJECT/pom.xml"
324 clean install dependency:tree -DoutputFile=dependency_tree.txt
327 {opendaylight-infra-mvn-opts}
328 # {opendaylight-infra-parallel-mvn-opts} is bad when there are multiple big features in SFT.
330 - "-Xmx4096m -Dmaven.compile.fork=true"
331 settings: integration-settings
333 global-settings: global-settings
334 global-settings-type: cfp
337 pom: distribution/pom.xml
339 clean install dependency:tree -DoutputFile=dependency_tree.txt
340 {opendaylight-infra-mvn-opts}
341 # {opendaylight-infra-parallel-mvn-opts} is bad when there are multiple big features in SFT.
343 - "-Xmx1024m -Dmaven.compile.fork=true"
344 settings: integration-settings
346 global-settings: global-settings
347 global-settings-type: cfp
348 - integration-upload-distribution:
349 dist-pom: distribution/pom.xml
350 settings-project: integration
352 - project: "{csit-list}"
354 predefined-parameters: |
355 BUNDLE_URL=$BUNDLE_URL
356 KARAF_VERSION=$KARAF_VERSION
360 - email-notification:
361 email-recipients: "{email-recipients}"
362 email-prefix: "[$GERRIT_PROJECT]"
365 name: "{prefix}integration-multipatch-test-{stream}"
366 # Goal: Build one or more patches and run all available system test on a distribution containing the change.
367 # Operation: This job template checks out and builds in order each patch provided in job parameters, finally
368 # it creates a distribution containing all patches and triggers the distribution test job which includes most
369 # (if not all) available CSIT jobs.
371 id: inttest-multipatch
372 project-type: freestyle
373 node: centos7-builder-8c-8g
377 - opendaylight-infra-properties:
378 build-days-to-keep: "{build-days-to-keep}"
382 name: PATCHES_TO_BUILD
383 default: "$PATCHES_TO_BUILD"
385 Ordered list of patches to build in the format of project=changeset (checkout) or
386 project:changeset (cherry-pick) for example: genius=32/53632/9,netvirt:59/50259/47.
389 default: "{build-order}"
390 description: "Build order for multipatch test when topic is used"
394 description: "Set true to build fast -Pq"
398 description: "List of projects to build normal (no -Pq) when BUILD_FAST=true"
402 description: "Set true to run test after build"
403 - integration-distribution-branch:
405 - integration-distribution-stream:
407 - distribution-karaf-version:
408 karaf-version: "{karaf-version}"
409 - opendaylight-infra-parameters:
410 os-cloud: "{os-cloud}"
411 project: "integration/distribution"
413 refspec: "refs/heads/{branch}"
414 artifacts: "{archive-artifacts}"
415 - lf-infra-maven-parameters:
419 staging-profile-id: "" # Staging repos do not make sense for this job
422 - opendaylight-infra-wrappers:
423 build-timeout: "1200"
427 server-name: "{gerrit-server-name}"
429 - comment-added-contains-event:
430 comment-contains-value: "multipatch-build"
432 - project-compare-type: ANT
433 project-pattern: "**"
435 - branch-compare-type: ANT
436 branch-pattern: "**/{branch}"
440 - wipe-org-opendaylight-repo
442 mvn-version: "{mvn-version}"
443 - lf-provide-maven-settings:
444 global-settings-file: "global-settings"
445 settings-file: "integration-distribution-settings"
446 - lf-update-java-alternatives:
447 java-version: "{java-version}"
448 - integration-multipatch-builder
449 - integration-upload-distribution:
450 dist-pom: patch_tester/distribution/pom.xml
451 settings-project: integration
453 condition-kind: boolean-expression
454 condition-expression: $RUN_TEST
458 integration-distribution-test-{stream},
459 integration-distribution-mri-test-{stream}
460 predefined-parameters: |
461 BUNDLE_URL=$BUNDLE_URL
462 KARAF_VERSION=$KARAF_VERSION
466 - email-notification:
467 email-recipients: "{email-recipients}"
468 email-prefix: "[int/dist]"
471 name: "integration-distribution-mri-test-{stream}"
473 project-type: freestyle
474 node: queue-intque-2c-1g
477 - opendaylight-infra-properties:
478 build-days-to-keep: "{build-days-to-keep}"
481 - integration-bundle-url:
482 bundle-url: "{bundle-url}"
483 - distribution-karaf-version:
484 karaf-version: "{karaf-version}"
487 - timed: "{schedule-weekly}"
491 - project: "{csit-mri-list}"
493 predefined-parameters: |
494 BUNDLE_URL=$BUNDLE_URL
495 KARAF_VERSION=$KARAF_VERSION
498 - email-notification:
499 email-recipients: "{email-recipients}"
500 email-prefix: "[integration]"
503 name: "{project}-distribution-mri-test-{stream}"
504 id: inttest-distribution-mri-test
506 project-type: freestyle
507 node: queue-intque-2c-1g
510 - opendaylight-infra-properties:
511 build-days-to-keep: "{build-days-to-keep}"
514 - integration-bundle-url:
515 bundle-url: "{bundle-url}"
516 - distribution-karaf-version:
517 karaf-version: "{karaf-version}"
520 - timed: "{schedule-weekly}"
524 - project: "{csit-mri-list}"
526 predefined-parameters: |
527 BUNDLE_URL=$BUNDLE_URL
528 KARAF_VERSION=$KARAF_VERSION
531 - email-notification:
532 email-recipients: "{email-recipients}"
533 email-prefix: "[integration]"
536 name: "integration-distribution-weekly-test-trigger-{stream}"
538 project-type: freestyle
539 node: queue-intque-2c-1g
542 - opendaylight-infra-properties:
543 build-days-to-keep: "{build-days-to-keep}"
546 - integration-bundle-url:
547 bundle-url: "{bundle-url}"
548 - distribution-karaf-version:
549 karaf-version: "{karaf-version}"
552 - timed: "{schedule-weekly}"
556 - project: "{csit-weekly-list}"
558 predefined-parameters: |
559 BUNDLE_URL=$BUNDLE_URL
560 KARAF_VERSION=$KARAF_VERSION
563 - email-notification:
564 email-recipients: "{email-recipients}"
565 email-prefix: "[integration]"
568 name: "integration-update-csit-tests-{stream}"
570 # This job's purpose is to update csit
571 # tests to run in integration-distribution-test-{stream}
572 # by updating integration files: csit-list-{stream}.inc
573 # These files can be used as !include in int-dist-test-{stream}
575 ######################
576 # Default parameters #
577 ######################
579 git-url: "$GIT_URL/$PROJECT"
580 submodule-disable: false
581 submodule-recursive: true
582 submodule-timeout: 10
584 #####################
585 # Job Configuration #
586 #####################
588 project-type: freestyle
589 node: centos7-builder-2c-2g
592 - lf-infra-properties:
593 build-days-to-keep: 7
596 - lf-infra-parameters:
597 project: releng/builder # Hardcode as this job needs to pull releng/builder
599 branch: master # Hardcode as releng/builder only has master
600 lftools-version: "{lftools-version}"
603 default: "{csit-blocklist}"
604 description: Space separated list of jobs strings to blocklist.
607 - lf-infra-gerrit-scm:
608 jenkins-ssh-credential: "{jenkins-ssh-credential}"
610 refspec: "$GERRIT_REFSPEC"
611 branch: "$GERRIT_BRANCH"
612 submodule-disable: "{submodule-disable}"
613 submodule-recursive: "{submodule-recursive}"
614 submodule-timeout: "{submodule-timeout}"
615 choosing-strategy: default
620 jenkins-ssh-credential: "{jenkins-ssh-credential}"
624 jobs: builder-jjb-merge
628 - shell: !include-raw-escape: update-csit-tests.sh
631 git add jjb/integration/*.lst
632 - lf-infra-push-gerrit-patch:
633 project: "releng/builder"
634 gerrit-user: "jenkins-$SILO"
635 gerrit-host: "git.opendaylight.org"
636 gerrit-topic: "auto-update-csit-jobs-{stream}"
637 gerrit-commit-message: "Auto Update CSIT Jobs to run for {stream}"
638 reviewers-email: "jenkins-releng@opendaylight.org"
644 name: integration-info
646 - gerrit-info-yaml-verify
648 project-name: integration
650 build-node: centos7-builder-2c-1g
653 name: integration-view
656 project-name: integration