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
19 # CSIT Lists in defaults.yaml
24 java-version: 'openjdk11'
25 csit-list: !include: csit-jobs-aluminium.lst
27 odlparent yangtools mdsal infrautils controller serviceutils aaa netconf
28 daexim jsonrpc ovsdb neutron openflowplugin genius lispflowmapping netvirt
29 bgpcep integration/distribution
32 branch: 'stable/magnesium'
34 java-version: 'openjdk11'
35 csit-list: !include: csit-jobs-magnesium.lst
37 odlparent yangtools mdsal infrautils controller serviceutils aaa netconf
38 daexim jsonrpc ovsdb neutron openflowplugin genius lispflowmapping netvirt
39 bgpcep integration/distribution
42 branch: 'stable/sodium'
44 csit-list: !include: csit-jobs-sodium.lst
46 odlparent yangtools mdsal infrautils controller serviceutils aaa netconf
47 daexim ovsdb neutron openflowplugin coe genius lispflowmapping sfc netvirt
48 bgpcep integration/distribution
53 csit-list: !include: csit-jobs-neon.lst
55 odlparent yangtools mdsal infrautils controller serviceutils aaa netconf
56 daexim ovsdb neutron openflowplugin coe genius lispflowmapping sfc netvirt
57 bgpcep integration/distribution
60 name: integration-distribution
61 project: integration/test
62 project-name: integration-test
64 - 'integration-distribution-test-{stream}'
65 - 'integration-distribution-weekly-test-trigger-{stream}'
66 - 'integration-update-csit-tests-{stream}'
68 # CSIT Lists in defaults.yaml
73 alto bier coe didm dluxapps groupbasedpolicy l2switch nemo
74 of-config p4plugin packetcable sfc sxp telemetry tsdr unimgr usc
75 gate longevity sanity tdd tempest wip
76 netvirt-csit-1node-1cmb-0ctl-0cmp-openstack-pike
77 netvirt-csit-1node-1cmb-0ctl-0cmp-openstack-queens-upstream-stateful-itm-direct
78 netvirt-csit-3node-1cmb
79 last-line-is-ignored-so-we-need-something-dummy-here-to-make-sure-the-real-last-line-is-used
80 csit-list: !include: csit-jobs-magnesium.lst
81 csit-weekly-list: '{csit-weekly-list-magnesium}'
83 branch: 'stable/sodium'
85 alto bier didm dluxapps groupbasedpolicy jsonrpc l2switch nemo
86 of-config p4plugin packetcable sxp telemetry tsdr unimgr usc
87 gate longevity sanity tdd tempest wip
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 last-line-is-ignored-so-we-need-something-dummy-here-to-make-sure-the-real-last-line-is-used
92 csit-list: !include: csit-jobs-sodium.lst
93 csit-weekly-list: '{csit-weekly-list-sodium}'
97 alto bier didm dluxapps groupbasedpolicy jsonrpc l2switch nemo
98 of-config p4plugin packetcable sxp telemetry tsdr unimgr usc
99 gate longevity sanity tdd tempest wip
100 netvirt-csit-1node-1cmb-0ctl-0cmp-openstack-pike
101 netvirt-csit-1node-1cmb-0ctl-0cmp-openstack-queens-upstream-stateful-itm-direct
102 netvirt-csit-3node-1cmb
103 last-line-is-ignored-so-we-need-something-dummy-here-to-make-sure-the-real-last-line-is-used
104 csit-list: !include: csit-jobs-neon.lst
105 csit-weekly-list: '{csit-weekly-list-neon}'
108 name: integration-sanity
109 project: integration/test
110 project-name: integration-test
112 - 'integration-sanity-test-{stream}'
118 csit-sanity-list: '{csit-sanity-list-magnesium}'
120 branch: 'stable/sodium'
122 csit-sanity-list: '{csit-sanity-list-sodium}'
124 branch: 'stable/neon'
126 csit-sanity-list: '{csit-sanity-list-neon}'
129 name: 'integration-merge-dashboard'
130 project-type: freestyle
131 node: centos7-builder-2c-1g
134 - opendaylight-infra-properties:
135 build-days-to-keep: '{build-days-to-keep}'
138 - opendaylight-infra-parameters:
139 os-cloud: '{os-cloud}'
142 refspec: 'refs/heads/master'
143 artifacts: '{archive-artifacts}'
146 - integration-gerrit-scm:
148 refspec: '$GERRIT_REFSPEC'
152 - opendaylight-infra-wrappers:
153 build-timeout: '{build-timeout}'
156 - gerrit-trigger-patch-merged:
157 gerrit-server-name: '{gerrit-server-name}'
160 files: 'dashboard/**'
165 - config-file-provider:
167 - file-id: odl-elastic-cloud
168 target: '$HOME/.netrc'
169 - integration-install-robotframework
170 # yamllint disable-line rule:line-length
171 - shell: python3 $WORKSPACE/test/csit/scripts/push_dashboard.py a4ff38b99ef2c7626450543021b4c134.us-east-1.aws.found.io:9243
175 - email-notification:
176 email-recipients: '{email-recipients}'
177 email-prefix: '[{project-name}]'
180 name: 'integration-distribution-test-{stream}'
181 # Goal: Verify a distribution through all system test available
182 # Operation: This template takes a distribution and passes all available system test
184 project-type: freestyle
185 node: queue-disttest-2c-1g
188 - opendaylight-infra-properties:
189 build-days-to-keep: '{build-days-to-keep}'
192 - integration-bundle-url:
193 bundle-url: '{bundle-url}'
194 - distribution-karaf-version:
195 karaf-version: '{karaf-version}'
200 - project: '{csit-list}'
202 predefined-parameters: |
203 BUNDLE_URL=$BUNDLE_URL
204 KARAF_VERSION=$KARAF_VERSION
209 jenkins-ssh-credential: '{jenkins-ssh-credential}'
212 - opendaylight-infra-generate-csit-status-report
213 - email-notification:
214 email-recipients: '{email-recipients}'
215 email-prefix: '[integration]'
219 name: 'integration-sanity-test-{stream}'
220 # Goal: Verify a distribution through sanity test
221 # Operation: This template takes a distribution and passes sanity test
222 # This jobs works for both managed & unmanaged distro.
224 project-type: freestyle
225 node: queue-intque-2c-1g
228 - opendaylight-infra-properties:
229 build-days-to-keep: '{build-days-to-keep}'
232 - integration-bundle-url:
233 bundle-url: '{bundle-url}'
234 - distribution-karaf-version:
235 karaf-version: '{karaf-version}'
238 - timed: '{schedule-daily}'
243 - project: '{csit-sanity-list}'
245 predefined-parameters: |
246 BUNDLE_URL=$BUNDLE_URL
247 KARAF_VERSION=$KARAF_VERSION
250 - email-notification:
251 email-recipients: '{email-recipients}'
252 email-prefix: '[integration]'
255 name: 'integration-patch-test-{stream}'
256 # Template: integration-patch-test-{stream}
257 # Goal: Build a patch and run all available system test on a distribution containing the change
258 # Operation: This job template builds a patch, creates a distribution containing the patch, and
259 # triggers the distribution test when test-integration is used in gerrit comments
261 project-type: freestyle
262 node: centos7-builder-2c-8g
265 - opendaylight-infra-properties:
266 build-days-to-keep: '{build-days-to-keep}'
269 - opendaylight-infra-parameters:
270 os-cloud: '{os-cloud}'
271 project: '$GERRIT_PROJECT'
273 refspec: '$GERRIT_REFSPEC'
274 artifacts: '{archive-artifacts}'
275 - integration-distribution-branch:
277 - distribution-karaf-version:
278 karaf-version: '{karaf-version}'
279 - integration-distribution-git-url:
285 - integration-gerrit-scm:
286 basedir: '$GERRIT_PROJECT'
287 refspec: '$GERRIT_REFSPEC'
289 - integration-distribution-scm:
293 - opendaylight-infra-wrappers:
298 server-name: '{gerrit-server-name}'
300 - comment-added-contains-event:
301 comment-contains-value: 'test-integration'
303 - project-compare-type: 'ANT'
304 project-pattern: '**'
306 - branch-compare-type: 'ANT'
307 branch-pattern: '**/{branch}'
316 - integration-rebase-gerrit-patch
317 - wipe-org-opendaylight-repo
318 - lf-provide-maven-settings:
319 global-settings-file: 'global-settings'
320 settings-file: 'integration-settings'
321 - lf-update-java-alternatives:
322 java-version: '{java-version}'
324 maven-version: 'mvn35'
325 pom: '$GERRIT_PROJECT/pom.xml'
327 clean install dependency:tree -DoutputFile=dependency_tree.txt
330 {opendaylight-infra-mvn-opts}
331 # {opendaylight-infra-parallel-mvn-opts} is bad when there are multiple big features in SFT.
333 - '-Xmx4096m -Dmaven.compile.fork=true'
334 settings: integration-settings
336 global-settings: global-settings
337 global-settings-type: cfp
340 pom: distribution/pom.xml
342 clean install dependency:tree -DoutputFile=dependency_tree.txt
343 {opendaylight-infra-mvn-opts}
344 # {opendaylight-infra-parallel-mvn-opts} is bad when there are multiple big features in SFT.
346 - '-Xmx1024m -Dmaven.compile.fork=true'
347 settings: integration-settings
349 global-settings: global-settings
350 global-settings-type: cfp
351 - integration-upload-distribution:
352 dist-pom: distribution/pom.xml
354 - project: '{csit-list}'
356 predefined-parameters: |
357 BUNDLE_URL=$BUNDLE_URL
358 KARAF_VERSION=$KARAF_VERSION
362 - email-notification:
363 email-recipients: '{email-recipients}'
364 email-prefix: '[$GERRIT_PROJECT]'
368 name: '{prefix}integration-multipatch-test-{stream}'
369 # Goal: Build one or more patches and run all available system test on a distribution containing the change.
370 # Operation: This job template checks out and builds in order each patch provided in job parameters, finally
371 # it creates a distribution containing all patches and triggers the distribution test job which includes most
372 # (if not all) available CSIT jobs.
374 id: inttest-multipatch
375 project-type: freestyle
376 node: centos7-builder-8c-8g
380 - opendaylight-infra-properties:
381 build-days-to-keep: '{build-days-to-keep}'
385 name: PATCHES_TO_BUILD
386 default: '$PATCHES_TO_BUILD'
388 Ordered list of patches to build in the format of project=changeset (checkout) or
389 project:changeset (cherry-pick) for example: genius=32/53632/9,netvirt:59/50259/47.
392 default: '{build-order}'
393 description: 'Build order for multipatch test when topic is used'
397 description: 'Set true to build fast -Pq'
401 description: 'List of projects to build normal (no -Pq) when BUILD_FAST=true'
405 description: 'Set true to run test after build'
406 - integration-distribution-branch:
408 - integration-distribution-stream:
410 - distribution-karaf-version:
411 karaf-version: '{karaf-version}'
412 - opendaylight-infra-parameters:
413 os-cloud: '{os-cloud}'
414 project: 'integration/distribution'
416 refspec: 'refs/heads/{branch}'
417 artifacts: '{archive-artifacts}'
418 - lf-infra-maven-parameters:
422 staging-profile-id: '' # Staging repos do not make sense for this job
425 - opendaylight-infra-wrappers:
426 build-timeout: '1200'
430 server-name: '{gerrit-server-name}'
432 - comment-added-contains-event:
433 comment-contains-value: 'multipatch-build'
435 - project-compare-type: ANT
436 project-pattern: '**'
438 - branch-compare-type: ANT
439 branch-pattern: '**/{branch}'
443 - wipe-org-opendaylight-repo
445 mvn-version: '{mvn-version}'
446 - lf-provide-maven-settings:
447 global-settings-file: 'global-settings'
448 settings-file: 'integration-distribution-settings'
449 - lf-update-java-alternatives:
450 java-version: '{java-version}'
451 - integration-multipatch-builder
452 - integration-upload-distribution:
453 dist-pom: patch_tester/distribution/pom.xml
455 condition-kind: boolean-expression
456 condition-expression: $RUN_TEST
459 - project: '{csit-list}'
461 predefined-parameters: |
462 BUNDLE_URL=$BUNDLE_URL
463 KARAF_VERSION=$KARAF_VERSION
467 - email-notification:
468 email-recipients: '{email-recipients}'
469 email-prefix: '[int/dist]'
472 name: 'integration-distribution-weekly-test-trigger-{stream}'
474 project-type: freestyle
475 node: queue-intque-2c-1g
478 - opendaylight-infra-properties:
479 build-days-to-keep: '{build-days-to-keep}'
482 - integration-bundle-url:
483 bundle-url: '{bundle-url}'
484 - distribution-karaf-version:
485 karaf-version: '{karaf-version}'
488 - timed: '{schedule-weekly}'
492 - project: '{csit-weekly-list}'
494 predefined-parameters: |
495 BUNDLE_URL=$BUNDLE_URL
496 KARAF_VERSION=$KARAF_VERSION
499 - email-notification:
500 email-recipients: '{email-recipients}'
501 email-prefix: '[integration]'
504 name: 'integration-update-csit-tests-{stream}'
506 # This job's purpose is to update csit
507 # tests to run in integration-distribution-test-{stream}
508 # by updating integration files: csit-list-{stream}.inc
509 # These files can be used as !include in int-dist-test-{stream}
511 ######################
512 # Default parameters #
513 ######################
515 git-url: '$GIT_URL/$PROJECT'
516 submodule-disable: false
517 submodule-recursive: true
518 submodule-timeout: 10
520 #####################
521 # Job Configuration #
522 #####################
524 project-type: freestyle
525 node: centos7-builder-2c-2g
528 - lf-infra-properties:
529 build-days-to-keep: 7
532 - lf-infra-parameters:
533 project: releng/builder # Hardcode as this job needs to pull releng/builder
535 branch: master # Hardcode as releng/builder only has master
536 lftools-version: '{lftools-version}'
539 default: '{csit-blacklist}'
540 description: Space separated list of jobs strings to blacklist.
543 - lf-infra-gerrit-scm:
544 jenkins-ssh-credential: '{jenkins-ssh-credential}'
546 refspec: '$GERRIT_REFSPEC'
547 branch: '$GERRIT_BRANCH'
548 submodule-disable: '{submodule-disable}'
549 submodule-recursive: '{submodule-recursive}'
550 submodule-timeout: '{submodule-timeout}'
551 choosing-strategy: default
556 jenkins-ssh-credential: '{jenkins-ssh-credential}'
560 jobs: builder-jjb-merge
564 - shell: !include-raw-escape: update-csit-tests.sh
567 git add jjb/integration/*.lst
568 - lf-infra-push-gerrit-patch:
569 project: 'releng/builder'
570 gerrit-user: 'jenkins-$SILO'
571 gerrit-host: 'git.opendaylight.org'
572 gerrit-topic: 'auto-update-csit-jobs-{stream}'
573 gerrit-commit-message: 'Auto Update CSIT Jobs to run for {stream}'
574 reviewers-email: 'jluhrsen@gmail.com'
580 name: integration-view
583 project-name: integration
587 description: 'List of stable integration jobs for managed projects'
589 - aaa-csit-1node-authn-all-neon
590 - bgpcep-csit-1node-throughpcep-all-neon
591 - controller-csit-1node-akka1-all-neon
592 - controller-csit-1node-benchmark-all-neon
593 - controller-csit-1node-notifications-longevity-only-neon
594 - controller-csit-1node-rest-cars-perf-all-neon
595 - controller-csit-3node-benchmark-all-neon
596 - controller-csit-3node-drb-precedence-longevity-only-neon
597 - controller-csit-3node-rest-clust-cars-perf-ask-only-neon
598 - controller-csit-3node-rest-clust-cars-perf-tell-only-neon
599 - daexim-csit-1node-basic-only-neon
600 - daexim-csit-3node-clustering-basic-only-neon
601 - distribution-csit-1node-userfeatures-all-neon
602 - genius-csit-1node-upstream-only-neon
603 - genius-csit-3node-upstream-only-neon
604 - lispflowmapping-csit-1node-msmr-all-neon
605 - netconf-csit-1node-callhome-only-neon
606 - netconf-csit-1node-userfeatures-all-neon
607 - netvirt-csit-1node-0cmb-1ctl-2cmp-openstack-queens-upstream-stateful-neon
608 - openflowplugin-csit-1node-flow-services-all-neon
609 - openflowplugin-csit-1node-longevity-only-neon
610 - openflowplugin-csit-1node-perf-bulkomatic-only-neon
611 - openflowplugin-csit-1node-perf-stats-collection-only-neon
612 - openflowplugin-csit-1node-sanity-only-neon
613 - openflowplugin-csit-1node-scale-link-only-neon
614 - openflowplugin-csit-1node-scale-only-neon
615 - openflowplugin-csit-1node-scale-switch-only-neon
616 - openflowplugin-csit-3node-clustering-bulkomatic-only-neon
617 - openflowplugin-csit-3node-clustering-only-neon
618 - ovsdb-csit-3node-upstream-clustering-only-neon
620 filter-executors: false