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
21 java-version: "openjdk17"
23 # CSIT Lists in defaults.yaml
27 csit-list: !include: csit-jobs-potassium.lst
29 odlparent infrautils yangtools mdsal controller aaa netconf bgpcep
30 serviceutils daexim jsonrpc ovsdb openflowplugin lispflowmapping
31 integration/distribution
33 branch: "stable/argon"
34 csit-list: !include: csit-jobs-argon.lst
36 odlparent infrautils yangtools mdsal controller aaa netconf bgpcep
37 serviceutils daexim jsonrpc ovsdb openflowplugin lispflowmapping
38 integration/distribution
40 branch: "stable/chlorine"
41 csit-list: !include: csit-jobs-chlorine.lst
43 odlparent infrautils yangtools mdsal controller aaa netconf bgpcep
44 serviceutils daexim jsonrpc ovsdb openflowplugin lispflowmapping
45 integration/distribution
48 name: integration-distribution
49 project: integration/test
50 project-name: integration-test
52 - "integration-distribution-test-{stream}"
53 - "integration-distribution-mri-test-{stream}"
54 - "integration-distribution-weekly-test-trigger-{stream}"
55 - "integration-update-csit-tests-{stream}"
57 # CSIT Lists in defaults.yaml
62 aaa controller genius lispflowmapping l2switch mdsal
63 netconf netvirt odlmicro sxp yangtools
64 gate longevity sanity tdd tempest wip
65 bgpcep-csit-3node-bgpclustering-all
66 bgpcep-csit-3node-bgpclustering-ha-only
67 openflowplugin-csit-1node-bundle-based-reconciliation
68 last-line-is-ignored-so-we-need-something-dummy-here-to-make-sure-the-real-last-line-is-used
69 csit-list: !include: csit-jobs-argon.lst
70 csit-mri-list: "{csit-mri-list-argon}"
71 csit-weekly-list: "{csit-weekly-list-argon}"
73 branch: "stable/chlorine"
75 aaa controller genius lispflowmapping l2switch mdsal
76 netconf netvirt odlmicro sxp yangtools
77 gate longevity sanity tdd tempest wip
78 bgpcep-csit-3node-bgpclustering-all
79 bgpcep-csit-3node-bgpclustering-ha-only
80 openflowplugin-csit-1node-bundle-based-reconciliation
81 last-line-is-ignored-so-we-need-something-dummy-here-to-make-sure-the-real-last-line-is-used
82 csit-list: !include: csit-jobs-chlorine.lst
83 csit-mri-list: "{csit-mri-list-chlorine}"
84 csit-weekly-list: "{csit-weekly-list-chlorine}"
87 name: integration-sanity
88 project: integration/test
89 project-name: integration-test
91 - "integration-sanity-test-{stream}"
97 csit-sanity-list: "{csit-sanity-list-argon}"
99 branch: "stable/chlorine"
101 csit-sanity-list: "{csit-sanity-list-chlorine}"
104 name: "integration-merge-dashboard"
105 project-type: freestyle
106 node: centos7-builder-2c-1g
109 - opendaylight-infra-properties:
110 build-days-to-keep: "{build-days-to-keep}"
113 - opendaylight-infra-parameters:
114 os-cloud: "{os-cloud}"
117 refspec: "refs/heads/master"
118 artifacts: "{archive-artifacts}"
121 - integration-gerrit-scm:
123 refspec: "$GERRIT_REFSPEC"
127 - opendaylight-infra-wrappers:
128 build-timeout: "{build-timeout}"
131 - gerrit-trigger-patch-merged:
132 gerrit-server-name: "{gerrit-server-name}"
135 files: "dashboard/**"
140 - config-file-provider:
142 - file-id: odl-elastic-cloud
143 target: "$HOME/.netrc"
144 - integration-install-robotframework
145 # yamllint disable-line rule:line-length
146 - shell: python3 $WORKSPACE/test/csit/scripts/push_dashboard.py a4ff38b99ef2c7626450543021b4c134.us-east-1.aws.found.io:9243
150 - email-notification:
151 email-recipients: "{email-recipients}"
152 email-prefix: "[{project-name}]"
155 name: "integration-distribution-test-{stream}"
156 # Goal: Verify a distribution through all system test available
157 # Operation: This template takes a distribution and passes all available system test
159 project-type: freestyle
160 node: queue-disttest-2c-1g
163 - opendaylight-infra-properties:
164 build-days-to-keep: "{build-days-to-keep}"
167 - integration-bundle-url:
168 bundle-url: "{bundle-url}"
169 - distribution-karaf-version:
170 karaf-version: "{karaf-version}"
175 - project: "{csit-list}"
177 predefined-parameters: |
178 BUNDLE_URL=$BUNDLE_URL
179 KARAF_VERSION=$KARAF_VERSION
184 jenkins-ssh-credential: "{jenkins-ssh-credential}"
187 - opendaylight-infra-generate-csit-status-report
188 - email-notification:
189 email-recipients: "{email-recipients}"
190 email-prefix: "[integration]"
194 name: "integration-sanity-test-{stream}"
195 # Goal: Verify a distribution through sanity test
196 # Operation: This template takes a distribution and passes sanity test
197 # This jobs works for both managed & unmanaged distro.
199 project-type: freestyle
200 node: queue-intque-2c-1g
203 - opendaylight-infra-properties:
204 build-days-to-keep: "{build-days-to-keep}"
207 - integration-bundle-url:
208 bundle-url: "{bundle-url}"
209 - distribution-karaf-version:
210 karaf-version: "{karaf-version}"
213 - timed: "{schedule-daily}"
218 - project: "{csit-sanity-list}"
220 predefined-parameters: |
221 BUNDLE_URL=$BUNDLE_URL
222 KARAF_VERSION=$KARAF_VERSION
225 - email-notification:
226 email-recipients: "{email-recipients}"
227 email-prefix: "[integration]"
230 name: "integration-patch-test-{stream}"
231 # Template: integration-patch-test-{stream}
232 # Goal: Build a patch and run all available system test on a distribution containing the change
233 # Operation: This job template builds a patch, creates a distribution containing the patch, and
234 # triggers the distribution test when test-integration is used in gerrit comments
236 project-type: freestyle
237 node: centos7-builder-2c-8g
240 - opendaylight-infra-properties:
241 build-days-to-keep: "{build-days-to-keep}"
244 - opendaylight-infra-parameters:
245 os-cloud: "{os-cloud}"
246 project: "$GERRIT_PROJECT"
248 refspec: "$GERRIT_REFSPEC"
249 artifacts: "{archive-artifacts}"
250 - integration-distribution-branch:
252 - distribution-karaf-version:
253 karaf-version: "{karaf-version}"
254 - integration-distribution-git-url:
257 maven-version: "{mvn-version}"
260 - integration-gerrit-scm:
261 basedir: "$GERRIT_PROJECT"
262 refspec: "$GERRIT_REFSPEC"
264 - integration-distribution-scm:
268 - opendaylight-infra-wrappers:
273 server-name: "{gerrit-server-name}"
275 - comment-added-contains-event:
276 comment-contains-value: "test-integration"
278 - project-compare-type: "ANT"
279 project-pattern: "**"
281 - branch-compare-type: "ANT"
282 branch-pattern: "**/{branch}"
291 - integration-rebase-gerrit-patch
292 - wipe-org-opendaylight-repo
293 - lf-provide-maven-settings:
294 global-settings-file: "global-settings"
295 settings-file: "integration-settings"
296 - lf-update-java-alternatives:
297 java-version: "{java-version}"
299 maven-version: "{mvn-version}"
300 pom: "$GERRIT_PROJECT/pom.xml"
302 clean install dependency:tree -DoutputFile=dependency_tree.txt
305 {opendaylight-infra-mvn-opts}
306 # {opendaylight-infra-parallel-mvn-opts} is bad when there are multiple big features in SFT.
308 - "-Xmx4096m -Dmaven.compile.fork=true"
309 settings: integration-settings
311 global-settings: global-settings
312 global-settings-type: cfp
314 maven-version: "{mvn-version}"
315 pom: distribution/pom.xml
317 clean install dependency:tree -DoutputFile=dependency_tree.txt
318 {opendaylight-infra-mvn-opts}
319 # {opendaylight-infra-parallel-mvn-opts} is bad when there are multiple big features in SFT.
321 - "-Xmx1024m -Dmaven.compile.fork=true"
322 settings: integration-settings
324 global-settings: global-settings
325 global-settings-type: cfp
326 - integration-upload-distribution:
327 dist-pom: distribution/pom.xml
328 settings-project: integration
330 - project: "{csit-list}"
332 predefined-parameters: |
333 BUNDLE_URL=$BUNDLE_URL
334 KARAF_VERSION=$KARAF_VERSION
338 - email-notification:
339 email-recipients: "{email-recipients}"
340 email-prefix: "[$GERRIT_PROJECT]"
343 name: "{prefix}integration-multipatch-test-{stream}"
344 # Goal: Build one or more patches and run all available system test on a distribution containing the change.
345 # Operation: This job template checks out and builds in order each patch provided in job parameters, finally
346 # it creates a distribution containing all patches and triggers the distribution test job which includes most
347 # (if not all) available CSIT jobs.
349 id: inttest-multipatch
350 project-type: freestyle
351 node: centos7-builder-8c-8g
355 - opendaylight-infra-properties:
356 build-days-to-keep: "{build-days-to-keep}"
360 name: PATCHES_TO_BUILD
361 default: "$PATCHES_TO_BUILD"
363 Ordered list of patches to build in the format of project=changeset (checkout) or
364 project:changeset (cherry-pick) for example: genius=32/53632/9,netvirt:59/50259/47.
367 default: "{build-order}"
368 description: "Build order for multipatch test when topic is used"
372 description: "Set true to build fast -Pq"
376 description: "List of projects to build normal (no -Pq) when BUILD_FAST=true"
380 description: "Set true to run test after build"
381 - integration-distribution-branch:
383 - integration-distribution-stream:
385 - distribution-karaf-version:
386 karaf-version: "{karaf-version}"
387 - opendaylight-infra-parameters:
388 os-cloud: "{os-cloud}"
389 project: "integration/distribution"
391 refspec: "refs/heads/{branch}"
392 artifacts: "{archive-artifacts}"
393 - lf-infra-maven-parameters:
396 mvn-version: "{mvn-version}"
397 staging-profile-id: "" # Staging repos do not make sense for this job
400 - opendaylight-infra-wrappers:
401 build-timeout: "1200"
405 server-name: "{gerrit-server-name}"
407 - comment-added-contains-event:
408 comment-contains-value: "multipatch-build"
410 - project-compare-type: ANT
411 project-pattern: "**"
413 - branch-compare-type: ANT
414 branch-pattern: "**/{branch}"
418 - wipe-org-opendaylight-repo
420 mvn-version: "{mvn-version}"
421 - lf-provide-maven-settings:
422 global-settings-file: "global-settings"
423 settings-file: "integration-distribution-settings"
424 - lf-update-java-alternatives:
425 java-version: "{java-version}"
426 - integration-multipatch-builder
427 - integration-upload-distribution:
428 dist-pom: patch_tester/distribution/pom.xml
429 settings-project: integration
431 condition-kind: boolean-expression
432 condition-expression: $RUN_TEST
436 integration-distribution-test-{stream},
437 integration-distribution-mri-test-{stream}
438 predefined-parameters: |
439 BUNDLE_URL=$BUNDLE_URL
440 KARAF_VERSION=$KARAF_VERSION
444 - email-notification:
445 email-recipients: "{email-recipients}"
446 email-prefix: "[int/dist]"
449 name: "integration-distribution-mri-test-{stream}"
451 project-type: freestyle
452 node: queue-intque-2c-1g
455 - opendaylight-infra-properties:
456 build-days-to-keep: "{build-days-to-keep}"
459 - integration-bundle-url:
460 bundle-url: "{bundle-url}"
461 - distribution-karaf-version:
462 karaf-version: "{karaf-version}"
465 - timed: "{schedule-weekly}"
469 - project: "{csit-mri-list}"
471 predefined-parameters: |
472 BUNDLE_URL=$BUNDLE_URL
473 KARAF_VERSION=$KARAF_VERSION
476 - email-notification:
477 email-recipients: "{email-recipients}"
478 email-prefix: "[integration]"
481 name: "{project}-distribution-mri-test-{stream}"
482 id: inttest-distribution-mri-test
484 project-type: freestyle
485 node: queue-intque-2c-1g
488 - opendaylight-infra-properties:
489 build-days-to-keep: "{build-days-to-keep}"
492 - integration-bundle-url:
493 bundle-url: "{bundle-url}"
494 - distribution-karaf-version:
495 karaf-version: "{karaf-version}"
498 - timed: "{schedule-weekly}"
502 - project: "{csit-mri-list}"
504 predefined-parameters: |
505 BUNDLE_URL=$BUNDLE_URL
506 KARAF_VERSION=$KARAF_VERSION
509 - email-notification:
510 email-recipients: "{email-recipients}"
511 email-prefix: "[integration]"
514 name: "integration-distribution-weekly-test-trigger-{stream}"
516 project-type: freestyle
517 node: queue-intque-2c-1g
520 - opendaylight-infra-properties:
521 build-days-to-keep: "{build-days-to-keep}"
524 - integration-bundle-url:
525 bundle-url: "{bundle-url}"
526 - distribution-karaf-version:
527 karaf-version: "{karaf-version}"
530 - timed: "{schedule-weekly}"
534 - project: "{csit-weekly-list}"
536 predefined-parameters: |
537 BUNDLE_URL=$BUNDLE_URL
538 KARAF_VERSION=$KARAF_VERSION
541 - email-notification:
542 email-recipients: "{email-recipients}"
543 email-prefix: "[integration]"
546 name: "integration-update-csit-tests-{stream}"
548 # This job's purpose is to update csit
549 # tests to run in integration-distribution-test-{stream}
550 # by updating integration files: csit-list-{stream}.inc
551 # These files can be used as !include in int-dist-test-{stream}
553 ######################
554 # Default parameters #
555 ######################
557 git-url: "$GIT_URL/$PROJECT"
558 submodule-disable: false
559 submodule-recursive: true
560 submodule-timeout: 10
562 #####################
563 # Job Configuration #
564 #####################
566 project-type: freestyle
567 node: centos7-builder-2c-2g
570 - lf-infra-properties:
571 build-days-to-keep: 7
574 - lf-infra-parameters:
575 project: releng/builder # Hardcode as this job needs to pull releng/builder
577 branch: master # Hardcode as releng/builder only has master
578 lftools-version: "{lftools-version}"
581 default: "{csit-blocklist}"
582 description: Space separated list of jobs strings to blocklist.
585 - lf-infra-gerrit-scm:
586 jenkins-ssh-credential: "{jenkins-ssh-credential}"
588 refspec: "$GERRIT_REFSPEC"
589 branch: "$GERRIT_BRANCH"
590 submodule-disable: "{submodule-disable}"
591 submodule-recursive: "{submodule-recursive}"
592 submodule-timeout: "{submodule-timeout}"
593 choosing-strategy: default
598 jenkins-ssh-credential: "{jenkins-ssh-credential}"
602 jobs: builder-jjb-merge
606 - shell: !include-raw-escape: update-csit-tests.sh
609 git add jjb/integration/*.lst
610 - lf-infra-push-gerrit-patch:
611 project: "releng/builder"
612 gerrit-user: "jenkins-$SILO"
613 gerrit-host: "git.opendaylight.org"
614 gerrit-topic: "auto-update-csit-jobs-{stream}"
615 gerrit-commit-message: "Auto Update CSIT Jobs to run for {stream}"
616 reviewers-email: "jenkins-releng@opendaylight.org"
622 name: integration-info
624 - gerrit-info-yaml-verify
626 project-name: integration
628 build-node: centos7-builder-2c-1g
631 name: integration-view
634 project-name: integration