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
351 - project: "{csit-list}"
353 predefined-parameters: |
354 BUNDLE_URL=$BUNDLE_URL
355 KARAF_VERSION=$KARAF_VERSION
359 - email-notification:
360 email-recipients: "{email-recipients}"
361 email-prefix: "[$GERRIT_PROJECT]"
364 name: "{prefix}integration-multipatch-test-{stream}"
365 # Goal: Build one or more patches and run all available system test on a distribution containing the change.
366 # Operation: This job template checks out and builds in order each patch provided in job parameters, finally
367 # it creates a distribution containing all patches and triggers the distribution test job which includes most
368 # (if not all) available CSIT jobs.
370 id: inttest-multipatch
371 project-type: freestyle
372 node: centos7-builder-8c-8g
376 - opendaylight-infra-properties:
377 build-days-to-keep: "{build-days-to-keep}"
381 name: PATCHES_TO_BUILD
382 default: "$PATCHES_TO_BUILD"
384 Ordered list of patches to build in the format of project=changeset (checkout) or
385 project:changeset (cherry-pick) for example: genius=32/53632/9,netvirt:59/50259/47.
388 default: "{build-order}"
389 description: "Build order for multipatch test when topic is used"
393 description: "Set true to build fast -Pq"
397 description: "List of projects to build normal (no -Pq) when BUILD_FAST=true"
401 description: "Set true to run test after build"
402 - integration-distribution-branch:
404 - integration-distribution-stream:
406 - distribution-karaf-version:
407 karaf-version: "{karaf-version}"
408 - opendaylight-infra-parameters:
409 os-cloud: "{os-cloud}"
410 project: "integration/distribution"
412 refspec: "refs/heads/{branch}"
413 artifacts: "{archive-artifacts}"
414 - lf-infra-maven-parameters:
418 staging-profile-id: "" # Staging repos do not make sense for this job
421 - opendaylight-infra-wrappers:
422 build-timeout: "1200"
426 server-name: "{gerrit-server-name}"
428 - comment-added-contains-event:
429 comment-contains-value: "multipatch-build"
431 - project-compare-type: ANT
432 project-pattern: "**"
434 - branch-compare-type: ANT
435 branch-pattern: "**/{branch}"
439 - wipe-org-opendaylight-repo
441 mvn-version: "{mvn-version}"
442 - lf-provide-maven-settings:
443 global-settings-file: "global-settings"
444 settings-file: "integration-distribution-settings"
445 - lf-update-java-alternatives:
446 java-version: "{java-version}"
447 - integration-multipatch-builder
448 - integration-upload-distribution:
449 dist-pom: patch_tester/distribution/pom.xml
451 condition-kind: boolean-expression
452 condition-expression: $RUN_TEST
456 integration-distribution-test-{stream},
457 integration-distribution-mri-test-{stream}
458 predefined-parameters: |
459 BUNDLE_URL=$BUNDLE_URL
460 KARAF_VERSION=$KARAF_VERSION
464 - email-notification:
465 email-recipients: "{email-recipients}"
466 email-prefix: "[int/dist]"
469 name: "integration-distribution-mri-test-{stream}"
471 project-type: freestyle
472 node: queue-intque-2c-1g
475 - opendaylight-infra-properties:
476 build-days-to-keep: "{build-days-to-keep}"
479 - integration-bundle-url:
480 bundle-url: "{bundle-url}"
481 - distribution-karaf-version:
482 karaf-version: "{karaf-version}"
485 - timed: "{schedule-weekly}"
489 - project: "{csit-mri-list}"
491 predefined-parameters: |
492 BUNDLE_URL=$BUNDLE_URL
493 KARAF_VERSION=$KARAF_VERSION
496 - email-notification:
497 email-recipients: "{email-recipients}"
498 email-prefix: "[integration]"
501 name: "{project}-distribution-mri-test-{stream}"
502 id: inttest-distribution-mri-test
504 project-type: freestyle
505 node: queue-intque-2c-1g
508 - opendaylight-infra-properties:
509 build-days-to-keep: "{build-days-to-keep}"
512 - integration-bundle-url:
513 bundle-url: "{bundle-url}"
514 - distribution-karaf-version:
515 karaf-version: "{karaf-version}"
518 - timed: "{schedule-weekly}"
522 - project: "{csit-mri-list}"
524 predefined-parameters: |
525 BUNDLE_URL=$BUNDLE_URL
526 KARAF_VERSION=$KARAF_VERSION
529 - email-notification:
530 email-recipients: "{email-recipients}"
531 email-prefix: "[integration]"
534 name: "integration-distribution-weekly-test-trigger-{stream}"
536 project-type: freestyle
537 node: queue-intque-2c-1g
540 - opendaylight-infra-properties:
541 build-days-to-keep: "{build-days-to-keep}"
544 - integration-bundle-url:
545 bundle-url: "{bundle-url}"
546 - distribution-karaf-version:
547 karaf-version: "{karaf-version}"
550 - timed: "{schedule-weekly}"
554 - project: "{csit-weekly-list}"
556 predefined-parameters: |
557 BUNDLE_URL=$BUNDLE_URL
558 KARAF_VERSION=$KARAF_VERSION
561 - email-notification:
562 email-recipients: "{email-recipients}"
563 email-prefix: "[integration]"
566 name: "integration-update-csit-tests-{stream}"
568 # This job's purpose is to update csit
569 # tests to run in integration-distribution-test-{stream}
570 # by updating integration files: csit-list-{stream}.inc
571 # These files can be used as !include in int-dist-test-{stream}
573 ######################
574 # Default parameters #
575 ######################
577 git-url: "$GIT_URL/$PROJECT"
578 submodule-disable: false
579 submodule-recursive: true
580 submodule-timeout: 10
582 #####################
583 # Job Configuration #
584 #####################
586 project-type: freestyle
587 node: centos7-builder-2c-2g
590 - lf-infra-properties:
591 build-days-to-keep: 7
594 - lf-infra-parameters:
595 project: releng/builder # Hardcode as this job needs to pull releng/builder
597 branch: master # Hardcode as releng/builder only has master
598 lftools-version: "{lftools-version}"
601 default: "{csit-blocklist}"
602 description: Space separated list of jobs strings to blocklist.
605 - lf-infra-gerrit-scm:
606 jenkins-ssh-credential: "{jenkins-ssh-credential}"
608 refspec: "$GERRIT_REFSPEC"
609 branch: "$GERRIT_BRANCH"
610 submodule-disable: "{submodule-disable}"
611 submodule-recursive: "{submodule-recursive}"
612 submodule-timeout: "{submodule-timeout}"
613 choosing-strategy: default
618 jenkins-ssh-credential: "{jenkins-ssh-credential}"
622 jobs: builder-jjb-merge
626 - shell: !include-raw-escape: update-csit-tests.sh
629 git add jjb/integration/*.lst
630 - lf-infra-push-gerrit-patch:
631 project: "releng/builder"
632 gerrit-user: "jenkins-$SILO"
633 gerrit-host: "git.opendaylight.org"
634 gerrit-topic: "auto-update-csit-jobs-{stream}"
635 gerrit-commit-message: "Auto Update CSIT Jobs to run for {stream}"
636 reviewers-email: "jenkins-releng@opendaylight.org"
642 name: integration-info
644 - gerrit-info-yaml-verify
646 project-name: integration
648 build-node: centos7-builder-2c-1g
651 name: integration-view
654 project-name: integration