4 project: integration/test
5 project-name: integration-test
8 - 'integration-distribution-test-{stream}'
9 - 'integration-sanity-test-{stream}'
10 - 'integration-patch-test-{stream}'
11 - 'integration-multipatch-test-{stream}'
12 - 'integration-distribution-weekly-test-trigger-{stream}'
13 - 'integration-distribution-high-frequency-test-trigger-{stream}'
14 - 'integration-update-csit-tests-{stream}'
15 - '{project-name}-rtd-jobs':
16 build-node: centos7-builder-2c-2g
17 project-pattern: integration/test
18 rtd-project: odl-integrationtest
23 # CSIT Lists in releng-defaults.yaml
27 csit-blacklist: longevity gate sanity capwap centinel coe didm iotdm jsonrpc lacp netide tdd wip
28 csit-list: !include: csit-jobs-fluorine.lst
29 csit-sanity-list: '{csit-sanity-list-fluorine}'
30 csit-weekly-list: '{csit-weekly-list-fluorine}'
31 csit-high-frequency-list: '{csit-high-frequency-list-fluorine}'
34 branch: 'stable/oxygen'
35 csit-blacklist: longevity gate sanity capwap centinel coe didm iotdm jsonrpc lacp netide tdd wip
36 csit-list: !include: csit-jobs-oxygen.lst
37 csit-sanity-list: '{csit-sanity-list-oxygen}'
38 csit-weekly-list: '{csit-weekly-list-oxygen}'
39 csit-high-frequency-list: '{csit-high-frequency-list-oxygen}'
43 branch: 'stable/nitrogen'
44 csit-blacklist: longevity gate sanity capwap centinel coe didm iotdm jsonrpc lacp netide tsdr tdd wip
45 csit-list: !include: csit-jobs-nitrogen.lst
46 csit-sanity-list: '{csit-sanity-list-nitrogen}'
47 csit-weekly-list: '{csit-weekly-list-nitrogen}'
48 csit-high-frequency-list: '{csit-high-frequency-list-nitrogen}'
52 branch: 'stable/carbon'
54 csit-blacklist: longevity gate sanity capwap centinel coe jsonrpc tdd wip
55 csit-list: !include: csit-jobs-carbon.lst
56 csit-sanity-list: '{csit-sanity-list-carbon}'
57 csit-weekly-list: '{csit-weekly-list-carbon}'
58 csit-high-frequency-list: '{csit-high-frequency-list-carbon}'
62 tools_system_image: ZZCI - Ubuntu 16.04 - mininet-ovs-25 - 20171208-1847
64 # Template: integration-distribution-test-{stream}
65 # Goal: Verify a distribution through all system test available
66 # Operation: This template takes a distribution and passes all available system test
69 name: 'integration-distribution-test-{stream}'
71 project-type: freestyle
72 node: centos7-robot-2c-8g
75 - opendaylight-infra-properties:
76 build-days-to-keep: '{build-days-to-keep}'
79 - integration-bundle-url:
80 bundle-url: '{bundle-url}'
81 - distribution-karaf-version:
82 karaf-version: '{karaf-version}'
86 - project: '{csit-list}'
88 predefined-parameters: |
89 BUNDLE_URL=$BUNDLE_URL
90 KARAF_VERSION=$KARAF_VERSION
93 - opendaylight-infra-generate-csit-status-report
95 email-recipients: '{email-recipients}'
96 email-prefix: '[integration]'
99 # Template: integration-sanity-test-{stream}
100 # Goal: Verify a distribution through sanity test
101 # Operation: This template takes a distribution and passes sanity test
104 name: 'integration-sanity-test-{stream}'
106 project-type: freestyle
107 node: centos7-robot-2c-8g
110 - opendaylight-infra-properties:
111 build-days-to-keep: '{build-days-to-keep}'
114 - integration-bundle-url:
115 bundle-url: '{bundle-url}'
116 - distribution-karaf-version:
117 karaf-version: '{karaf-version}'
121 - project: '{csit-sanity-list}'
123 predefined-parameters: |
124 BUNDLE_URL=$BUNDLE_URL
125 KARAF_VERSION=$KARAF_VERSION
128 - email-notification:
129 email-recipients: '{email-recipients}'
130 email-prefix: '[integration]'
132 # Template: integration-patch-test-{stream}
133 # Goal: Build a patch and run all available system test on a distribution containing the change
134 # Operation: This job template builds a patch, creates a distribution containing the patch, and
135 # triggers the distribution test when test-integration is used in gerrit comments
138 name: 'integration-patch-test-{stream}'
140 project-type: freestyle
141 node: centos7-builder-2c-8g
144 - opendaylight-infra-properties:
145 build-days-to-keep: '{build-days-to-keep}'
148 - opendaylight-infra-parameters:
149 os-cloud: '{os-cloud}'
150 project: '$GERRIT_PROJECT'
152 refspec: '$GERRIT_REFSPEC'
153 artifacts: '{archive-artifacts}'
154 - integration-distribution-branch:
156 - distribution-karaf-version:
157 karaf-version: '{karaf-version}'
158 - integration-distribution-git-url:
164 - integration-gerrit-scm:
165 basedir: '$GERRIT_PROJECT'
166 refspec: '$GERRIT_REFSPEC'
168 - integration-distribution-scm:
172 - opendaylight-infra-wrappers:
177 server-name: '{gerrit-server-name}'
179 - comment-added-contains-event:
180 comment-contains-value: 'test-integration'
182 - project-compare-type: 'ANT'
183 project-pattern: '**'
185 - branch-compare-type: 'ANT'
186 branch-pattern: '**/{branch}'
194 - integration-rebase-gerrit-patch
195 - wipe-org-opendaylight-repo
196 - provide-maven-settings:
197 global-settings-file: 'global-settings'
198 settings-file: 'integration-settings'
200 maven-version: 'mvn33'
201 pom: '$GERRIT_PROJECT/pom.xml'
203 clean install dependency:tree -DoutputFile=dependency_tree.txt
206 {opendaylight-infra-mvn-opts}
207 # {opendaylight-infra-parallel-mvn-opts} is bad when there are multiple big features in SFT.
209 - '-Xmx4096m -XX:MaxPermSize=1024m -Dmaven.compile.fork=true'
210 settings: integration-settings
212 global-settings: global-settings
213 global-settings-type: cfp
216 pom: distribution/pom.xml
218 clean install dependency:tree -DoutputFile=dependency_tree.txt
219 {opendaylight-infra-mvn-opts}
220 # {opendaylight-infra-parallel-mvn-opts} is bad when there are multiple big features in SFT.
222 - '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true'
223 settings: integration-settings
225 global-settings: global-settings
226 global-settings-type: cfp
227 - integration-upload-distribution:
228 dist-pom: distribution/pom.xml
230 - project: '{csit-list}'
232 predefined-parameters: |
233 BUNDLE_URL=$BUNDLE_URL
234 KARAF_VERSION=$KARAF_VERSION
238 - email-notification:
239 email-recipients: '{email-recipients}'
240 email-prefix: '[$GERRIT_PROJECT]'
244 name: 'integration-multipatch-test-{stream}'
245 # Goal: Build one or more patches and run all available system test on a distribution containing the change.
246 # Operation: This job template checks out and builds in order each patch provided in job parameters, finally
247 # it creates a distribution containing all patches and triggers the distribution test job which includes most
248 # (if not all) available CSIT jobs.
250 project-type: freestyle
251 node: centos7-builder-4c-4g
252 jdk: '{java-version}'
255 - opendaylight-infra-properties:
256 build-days-to-keep: '{build-days-to-keep}'
259 - patches-to-build-parameter:
260 patches_to_build: '$PATCHES_TO_BUILD'
261 - run-test-parameter:
263 - integration-distribution-branch:
265 - integration-distribution-stream:
267 - distribution-karaf-version:
268 karaf-version: '{karaf-version}'
269 - opendaylight-infra-parameters:
270 os-cloud: '{os-cloud}'
271 project: 'integration/distribution'
273 refspec: 'refs/heads/{branch}'
274 artifacts: '{archive-artifacts}'
279 - opendaylight-infra-wrappers:
280 build-timeout: '1200'
284 server-name: '{gerrit-server-name}'
286 - comment-added-contains-event:
287 comment-contains-value: 'multipatch-build:'
289 - project-compare-type: ANT
290 project-pattern: '**'
292 - branch-compare-type: ANT
293 branch-pattern: '**/{branch}'
296 - wipe-org-opendaylight-repo
298 mvn-version: '{mvn-version}'
299 - provide-maven-settings:
300 global-settings-file: 'global-settings'
301 settings-file: 'integration-distribution-settings'
302 - integration-multipatch-builder
303 - integration-upload-distribution:
304 dist-pom: patch_tester/distribution/pom.xml
306 condition-kind: boolean-expression
307 condition-expression: $RUNTEST
310 - project: '{csit-list}'
312 predefined-parameters: |
313 BUNDLE_URL=$BUNDLE_URL
314 KARAF_VERSION=$KARAF_VERSION
318 - email-notification:
319 email-recipients: '{email-recipients}'
320 email-prefix: '[int/dist]'
323 name: 'integration-distribution-weekly-test-trigger-{stream}'
325 project-type: freestyle
326 node: centos7-robot-2c-8g
329 - opendaylight-infra-properties:
330 build-days-to-keep: '{build-days-to-keep}'
333 - integration-bundle-url:
334 bundle-url: '{bundle-url}'
335 - distribution-karaf-version:
336 karaf-version: '{karaf-version}'
339 - timed: '{schedule-weekly}'
343 - project: '{csit-weekly-list}'
345 predefined-parameters: |
346 BUNDLE_URL=$BUNDLE_URL
347 KARAF_VERSION=$KARAF_VERSION
350 - email-notification:
351 email-recipients: '{email-recipients}'
352 email-prefix: '[integration]'
355 name: 'integration-distribution-high-frequency-test-trigger-{stream}'
357 project-type: freestyle
358 node: centos7-robot-2c-8g
361 - opendaylight-infra-properties:
362 build-days-to-keep: '{build-days-to-keep}'
365 - integration-bundle-url:
366 bundle-url: '{bundle-url}'
367 - distribution-karaf-version:
368 karaf-version: '{karaf-version}'
371 - timed: '{schedule-high-frequency}'
375 - project: '{csit-high-frequency-list}'
377 predefined-parameters: |
378 BUNDLE_URL=$BUNDLE_URL
379 KARAF_VERSION=$KARAF_VERSION
382 - email-notification:
383 email-recipients: '{email-recipients}'
384 email-prefix: '[integration]'
387 name: 'integration-update-csit-tests-{stream}'
389 # This job's purpose is to update csit
390 # tests to run in integration-distribution-test-{stream}
391 # by updating integration files: csit-list-{stream}.inc
392 # These files can be used as !include in int-dist-test-{stream}
394 ######################
395 # Default parameters #
396 ######################
398 git-url: '$GIT_URL/$PROJECT'
399 submodule-recursive: true
401 #####################
402 # Job Configuration #
403 #####################
405 project-type: freestyle
406 node: centos7-builder-2c-8g
409 - lf-infra-properties:
410 build-days-to-keep: 7
413 - lf-infra-parameters:
414 project: releng/builder # Hardcode as this job needs to pull releng/builder
416 branch: master # Hardcode as releng/builder only has master
417 lftools-version: '{lftools-version}'
420 default: '{csit-blacklist}'
421 description: Space separated list of jobs strings to blacklist.
424 - lf-infra-gerrit-scm:
425 jenkins-ssh-credential: '{jenkins-ssh-credential}'
427 refspec: '$GERRIT_REFSPEC'
428 branch: '$GERRIT_BRANCH'
429 submodule-recursive: '{submodule-recursive}'
430 choosing-strategy: default
435 jenkins-ssh-credential: '{jenkins-ssh-credential}'
439 jobs: builder-jjb-merge
442 - shell: !include-raw-escape: update-csit-tests.sh
445 git add jjb/integration/*.lst
446 - opendaylight-infra-push-gerrit-patch:
447 project: "releng/builder"
448 gerrit-topic: "auto-update-csit-jobs-{stream}"
449 gerrit-commit-message: "Auto Update CSIT Jobs to run for {stream}"