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-potassium.lst
28 odlparent infrautils yangtools mdsal controller aaa netconf bgpcep
29 serviceutils daexim jsonrpc ovsdb openflowplugin lispflowmapping
30 integration/distribution
32 branch: "stable/argon"
33 csit-list: !include: csit-jobs-argon.lst
35 odlparent infrautils yangtools mdsal controller aaa netconf bgpcep
36 serviceutils daexim jsonrpc ovsdb openflowplugin lispflowmapping
37 integration/distribution
39 branch: "stable/chlorine"
40 csit-list: !include: csit-jobs-chlorine.lst
42 odlparent infrautils yangtools mdsal controller aaa netconf bgpcep
43 serviceutils daexim jsonrpc ovsdb openflowplugin lispflowmapping
44 integration/distribution
47 name: integration-distribution
48 project: integration/test
49 project-name: integration-test
51 - "integration-distribution-test-{stream}"
52 - "integration-distribution-mri-test-{stream}"
53 - "integration-distribution-weekly-test-trigger-{stream}"
54 - "integration-update-csit-tests-{stream}"
56 # CSIT Lists in defaults.yaml
61 aaa controller genius lispflowmapping l2switch mdsal
62 netconf netvirt odlmicro sxp yangtools
63 gate longevity sanity tdd tempest wip
64 bgpcep-csit-3node-bgpclustering-all
65 bgpcep-csit-3node-bgpclustering-ha-only
66 openflowplugin-csit-1node-bundle-based-reconciliation
67 last-line-is-ignored-so-we-need-something-dummy-here-to-make-sure-the-real-last-line-is-used
68 csit-list: !include: csit-jobs-potassium.lst
69 csit-mri-list: "{csit-mri-list-potassium}"
70 csit-weekly-list: "{csit-weekly-list-potassium}"
72 branch: "stable/argon"
74 aaa controller genius lispflowmapping l2switch mdsal
75 netconf netvirt odlmicro sxp yangtools
76 gate longevity sanity tdd tempest wip
77 bgpcep-csit-3node-bgpclustering-all
78 bgpcep-csit-3node-bgpclustering-ha-only
79 openflowplugin-csit-1node-bundle-based-reconciliation
80 last-line-is-ignored-so-we-need-something-dummy-here-to-make-sure-the-real-last-line-is-used
81 csit-list: !include: csit-jobs-argon.lst
82 csit-mri-list: "{csit-mri-list-argon}"
83 csit-weekly-list: "{csit-weekly-list-argon}"
85 branch: "stable/chlorine"
87 aaa controller genius lispflowmapping l2switch mdsal
88 netconf netvirt odlmicro sxp yangtools
89 gate longevity sanity tdd tempest wip
90 bgpcep-csit-3node-bgpclustering-all
91 bgpcep-csit-3node-bgpclustering-ha-only
92 openflowplugin-csit-1node-bundle-based-reconciliation
93 last-line-is-ignored-so-we-need-something-dummy-here-to-make-sure-the-real-last-line-is-used
94 csit-list: !include: csit-jobs-chlorine.lst
95 csit-mri-list: "{csit-mri-list-chlorine}"
96 csit-weekly-list: "{csit-weekly-list-chlorine}"
99 name: integration-sanity
100 project: integration/test
101 project-name: integration-test
103 - "integration-sanity-test-{stream}"
109 csit-sanity-list: "{csit-sanity-list-potassium}"
111 branch: "stable/argon"
113 csit-sanity-list: "{csit-sanity-list-argon}"
115 branch: "stable/chlorine"
117 csit-sanity-list: "{csit-sanity-list-chlorine}"
120 name: "integration-merge-dashboard"
121 project-type: freestyle
122 node: centos7-builder-2c-1g
125 - opendaylight-infra-properties:
126 build-days-to-keep: "{build-days-to-keep}"
129 - opendaylight-infra-parameters:
130 os-cloud: "{os-cloud}"
133 refspec: "refs/heads/master"
134 artifacts: "{archive-artifacts}"
137 - integration-gerrit-scm:
139 refspec: "$GERRIT_REFSPEC"
143 - opendaylight-infra-wrappers:
144 build-timeout: "{build-timeout}"
147 - gerrit-trigger-patch-merged:
148 gerrit-server-name: "{gerrit-server-name}"
151 files: "dashboard/**"
156 - config-file-provider:
158 - file-id: odl-elastic-cloud
159 target: "$HOME/.netrc"
160 - integration-install-robotframework
161 # yamllint disable-line rule:line-length
162 - shell: python3 $WORKSPACE/test/csit/scripts/push_dashboard.py a4ff38b99ef2c7626450543021b4c134.us-east-1.aws.found.io:9243
166 - email-notification:
167 email-recipients: "{email-recipients}"
168 email-prefix: "[{project-name}]"
171 name: "integration-distribution-test-{stream}"
172 # Goal: Verify a distribution through all system test available
173 # Operation: This template takes a distribution and passes all available system test
175 project-type: freestyle
176 node: queue-disttest-2c-1g
179 - opendaylight-infra-properties:
180 build-days-to-keep: "{build-days-to-keep}"
183 - integration-bundle-url:
184 bundle-url: "{bundle-url}"
185 - distribution-karaf-version:
186 karaf-version: "{karaf-version}"
191 - project: "{csit-list}"
193 predefined-parameters: |
194 BUNDLE_URL=$BUNDLE_URL
195 KARAF_VERSION=$KARAF_VERSION
200 jenkins-ssh-credential: "{jenkins-ssh-credential}"
203 - opendaylight-infra-generate-csit-status-report
204 - email-notification:
205 email-recipients: "{email-recipients}"
206 email-prefix: "[integration]"
210 name: "integration-sanity-test-{stream}"
211 # Goal: Verify a distribution through sanity test
212 # Operation: This template takes a distribution and passes sanity test
213 # This jobs works for both managed & unmanaged distro.
215 project-type: freestyle
216 node: queue-intque-2c-1g
219 - opendaylight-infra-properties:
220 build-days-to-keep: "{build-days-to-keep}"
223 - integration-bundle-url:
224 bundle-url: "{bundle-url}"
225 - distribution-karaf-version:
226 karaf-version: "{karaf-version}"
229 - timed: "{schedule-daily}"
234 - project: "{csit-sanity-list}"
236 predefined-parameters: |
237 BUNDLE_URL=$BUNDLE_URL
238 KARAF_VERSION=$KARAF_VERSION
241 - email-notification:
242 email-recipients: "{email-recipients}"
243 email-prefix: "[integration]"
246 name: "integration-patch-test-{stream}"
247 # Template: integration-patch-test-{stream}
248 # Goal: Build a patch and run all available system test on a distribution containing the change
249 # Operation: This job template builds a patch, creates a distribution containing the patch, and
250 # triggers the distribution test when test-integration is used in gerrit comments
252 project-type: freestyle
253 node: centos7-builder-2c-8g
256 - opendaylight-infra-properties:
257 build-days-to-keep: "{build-days-to-keep}"
260 - opendaylight-infra-parameters:
261 os-cloud: "{os-cloud}"
262 project: "$GERRIT_PROJECT"
264 refspec: "$GERRIT_REFSPEC"
265 artifacts: "{archive-artifacts}"
266 - integration-distribution-branch:
268 - distribution-karaf-version:
269 karaf-version: "{karaf-version}"
270 - integration-distribution-git-url:
273 maven-version: "{mvn-version}"
276 - integration-gerrit-scm:
277 basedir: "$GERRIT_PROJECT"
278 refspec: "$GERRIT_REFSPEC"
280 - integration-distribution-scm:
284 - opendaylight-infra-wrappers:
289 server-name: "{gerrit-server-name}"
291 - comment-added-contains-event:
292 comment-contains-value: "test-integration"
294 - project-compare-type: "ANT"
295 project-pattern: "**"
297 - branch-compare-type: "ANT"
298 branch-pattern: "**/{branch}"
307 - integration-rebase-gerrit-patch
308 - wipe-org-opendaylight-repo
309 - lf-provide-maven-settings:
310 global-settings-file: "global-settings"
311 settings-file: "integration-settings"
312 - lf-update-java-alternatives:
313 java-version: "{java-version}"
315 maven-version: "{mvn-version}"
316 pom: "$GERRIT_PROJECT/pom.xml"
318 clean install dependency:tree -DoutputFile=dependency_tree.txt
321 {opendaylight-infra-mvn-opts}
322 # {opendaylight-infra-parallel-mvn-opts} is bad when there are multiple big features in SFT.
324 - "-Xmx4096m -Dmaven.compile.fork=true"
325 settings: integration-settings
327 global-settings: global-settings
328 global-settings-type: cfp
330 maven-version: "{mvn-version}"
331 pom: distribution/pom.xml
333 clean install dependency:tree -DoutputFile=dependency_tree.txt
334 {opendaylight-infra-mvn-opts}
335 # {opendaylight-infra-parallel-mvn-opts} is bad when there are multiple big features in SFT.
337 - "-Xmx1024m -Dmaven.compile.fork=true"
338 settings: integration-settings
340 global-settings: global-settings
341 global-settings-type: cfp
342 - integration-upload-distribution:
343 dist-pom: distribution/pom.xml
344 settings-project: integration
346 - project: "{csit-list}"
348 predefined-parameters: |
349 BUNDLE_URL=$BUNDLE_URL
350 KARAF_VERSION=$KARAF_VERSION
354 - email-notification:
355 email-recipients: "{email-recipients}"
356 email-prefix: "[$GERRIT_PROJECT]"
359 name: "{prefix}integration-multipatch-test-{stream}"
360 # Goal: Build one or more patches and run all available system test on a distribution containing the change.
361 # Operation: This job template checks out and builds in order each patch provided in job parameters, finally
362 # it creates a distribution containing all patches and triggers the distribution test job which includes most
363 # (if not all) available CSIT jobs.
365 id: inttest-multipatch
366 project-type: freestyle
367 node: centos7-builder-8c-8g
371 - opendaylight-infra-properties:
372 build-days-to-keep: "{build-days-to-keep}"
376 name: PATCHES_TO_BUILD
377 default: "$PATCHES_TO_BUILD"
379 Ordered list of patches to build in the format of project=changeset (checkout) or
380 project:changeset (cherry-pick) for example: genius=32/53632/9,netvirt:59/50259/47.
383 default: "{build-order}"
384 description: "Build order for multipatch test when topic is used"
388 description: "Set true to build fast -Pq"
392 description: "List of projects to build normal (no -Pq) when BUILD_FAST=true"
396 description: "Set true to run test after build"
397 - integration-distribution-branch:
399 - integration-distribution-stream:
401 - distribution-karaf-version:
402 karaf-version: "{karaf-version}"
403 - opendaylight-infra-parameters:
404 os-cloud: "{os-cloud}"
405 project: "integration/distribution"
407 refspec: "refs/heads/{branch}"
408 artifacts: "{archive-artifacts}"
409 - lf-infra-maven-parameters:
412 mvn-version: "{mvn-version}"
413 staging-profile-id: "" # Staging repos do not make sense for this job
416 - opendaylight-infra-wrappers:
417 build-timeout: "1200"
421 server-name: "{gerrit-server-name}"
423 - comment-added-contains-event:
424 comment-contains-value: "multipatch-build"
426 - project-compare-type: ANT
427 project-pattern: "**"
429 - branch-compare-type: ANT
430 branch-pattern: "**/{branch}"
434 - wipe-org-opendaylight-repo
436 mvn-version: "{mvn-version}"
437 - lf-provide-maven-settings:
438 global-settings-file: "global-settings"
439 settings-file: "integration-distribution-settings"
440 - lf-update-java-alternatives:
441 java-version: "{java-version}"
442 - integration-multipatch-builder
443 - integration-upload-distribution:
444 dist-pom: patch_tester/distribution/pom.xml
445 settings-project: integration
447 condition-kind: boolean-expression
448 condition-expression: $RUN_TEST
452 integration-distribution-test-{stream},
453 integration-distribution-mri-test-{stream}
454 predefined-parameters: |
455 BUNDLE_URL=$BUNDLE_URL
456 KARAF_VERSION=$KARAF_VERSION
460 - email-notification:
461 email-recipients: "{email-recipients}"
462 email-prefix: "[int/dist]"
465 name: "integration-distribution-mri-test-{stream}"
467 project-type: freestyle
468 node: queue-intque-2c-1g
471 - opendaylight-infra-properties:
472 build-days-to-keep: "{build-days-to-keep}"
475 - integration-bundle-url:
476 bundle-url: "{bundle-url}"
477 - distribution-karaf-version:
478 karaf-version: "{karaf-version}"
481 - timed: "{schedule-weekly}"
485 - project: "{csit-mri-list}"
487 predefined-parameters: |
488 BUNDLE_URL=$BUNDLE_URL
489 KARAF_VERSION=$KARAF_VERSION
492 - email-notification:
493 email-recipients: "{email-recipients}"
494 email-prefix: "[integration]"
497 name: "{project}-distribution-mri-test-{stream}"
498 id: inttest-distribution-mri-test
500 project-type: freestyle
501 node: queue-intque-2c-1g
504 - opendaylight-infra-properties:
505 build-days-to-keep: "{build-days-to-keep}"
508 - integration-bundle-url:
509 bundle-url: "{bundle-url}"
510 - distribution-karaf-version:
511 karaf-version: "{karaf-version}"
514 - timed: "{schedule-weekly}"
518 - project: "{csit-mri-list}"
520 predefined-parameters: |
521 BUNDLE_URL=$BUNDLE_URL
522 KARAF_VERSION=$KARAF_VERSION
525 - email-notification:
526 email-recipients: "{email-recipients}"
527 email-prefix: "[integration]"
530 name: "integration-distribution-weekly-test-trigger-{stream}"
532 project-type: freestyle
533 node: queue-intque-2c-1g
536 - opendaylight-infra-properties:
537 build-days-to-keep: "{build-days-to-keep}"
540 - integration-bundle-url:
541 bundle-url: "{bundle-url}"
542 - distribution-karaf-version:
543 karaf-version: "{karaf-version}"
546 - timed: "{schedule-weekly}"
550 - project: "{csit-weekly-list}"
552 predefined-parameters: |
553 BUNDLE_URL=$BUNDLE_URL
554 KARAF_VERSION=$KARAF_VERSION
557 - email-notification:
558 email-recipients: "{email-recipients}"
559 email-prefix: "[integration]"
562 name: "integration-update-csit-tests-{stream}"
564 # This job's purpose is to update csit
565 # tests to run in integration-distribution-test-{stream}
566 # by updating integration files: csit-list-{stream}.inc
567 # These files can be used as !include in int-dist-test-{stream}
569 ######################
570 # Default parameters #
571 ######################
573 git-url: "$GIT_URL/$PROJECT"
574 submodule-disable: false
575 submodule-recursive: true
576 submodule-timeout: 10
578 #####################
579 # Job Configuration #
580 #####################
582 project-type: freestyle
583 node: centos7-builder-2c-2g
586 - lf-infra-properties:
587 build-days-to-keep: 7
590 - lf-infra-parameters:
591 project: releng/builder # Hardcode as this job needs to pull releng/builder
593 branch: master # Hardcode as releng/builder only has master
594 lftools-version: "{lftools-version}"
597 default: "{csit-blocklist}"
598 description: Space separated list of jobs strings to blocklist.
601 - lf-infra-gerrit-scm:
602 jenkins-ssh-credential: "{jenkins-ssh-credential}"
604 refspec: "$GERRIT_REFSPEC"
605 branch: "$GERRIT_BRANCH"
606 submodule-disable: "{submodule-disable}"
607 submodule-recursive: "{submodule-recursive}"
608 submodule-timeout: "{submodule-timeout}"
609 choosing-strategy: default
614 jenkins-ssh-credential: "{jenkins-ssh-credential}"
618 jobs: builder-jjb-merge
622 - shell: !include-raw-escape: update-csit-tests.sh
625 git add jjb/integration/*.lst
626 - lf-infra-push-gerrit-patch:
627 project: "releng/builder"
628 gerrit-user: "jenkins-$SILO"
629 gerrit-host: "git.opendaylight.org"
630 gerrit-topic: "auto-update-csit-jobs-{stream}"
631 gerrit-commit-message: "Auto Update CSIT Jobs to run for {stream}"
632 reviewers-email: "jenkins-releng@opendaylight.org"
638 name: integration-info
640 - gerrit-info-yaml-verify
642 project-name: integration
644 build-node: centos7-builder-2c-1g
647 name: integration-view
650 project-name: integration