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}'
19 # CSIT Lists in releng-defaults.yaml
23 csit-blacklist: longevity gate sanity capwap centinel coe didm iotdm jsonrpc lacp netide tdd wip
24 csit-list: !include: csit-jobs-fluorine.lst
25 csit-sanity-list: '{csit-sanity-list-fluorine}'
26 csit-weekly-list: '{csit-weekly-list-fluorine}'
27 csit-high-frequency-list: '{csit-high-frequency-list-fluorine}'
30 branch: 'stable/oxygen'
31 csit-blacklist: longevity gate sanity capwap centinel coe didm iotdm jsonrpc lacp netide tdd wip
32 csit-list: !include: csit-jobs-oxygen.lst
33 csit-sanity-list: '{csit-sanity-list-oxygen}'
34 csit-weekly-list: '{csit-weekly-list-oxygen}'
35 csit-high-frequency-list: '{csit-high-frequency-list-oxygen}'
39 branch: 'stable/nitrogen'
40 csit-blacklist: longevity gate sanity capwap centinel coe didm iotdm jsonrpc lacp netide tsdr tdd wip
41 csit-list: !include: csit-jobs-nitrogen.lst
42 csit-sanity-list: '{csit-sanity-list-nitrogen}'
43 csit-weekly-list: '{csit-weekly-list-nitrogen}'
44 csit-high-frequency-list: '{csit-high-frequency-list-nitrogen}'
48 branch: 'stable/carbon'
50 csit-blacklist: longevity gate sanity capwap centinel coe jsonrpc tdd wip
51 csit-list: !include: csit-jobs-carbon.lst
52 csit-sanity-list: '{csit-sanity-list-carbon}'
53 csit-weekly-list: '{csit-weekly-list-carbon}'
54 csit-high-frequency-list: '{csit-high-frequency-list-carbon}'
58 tools_system_image: ZZCI - Ubuntu 16.04 - mininet-ovs-25 - 20171208-1847
60 # Template: integration-distribution-test-{stream}
61 # Goal: Verify a distribution through all system test available
62 # Operation: This template takes a distribution and passes all available system test
65 name: 'integration-distribution-test-{stream}'
67 project-type: freestyle
68 node: centos7-robot-2c-8g
71 - opendaylight-infra-properties:
72 build-days-to-keep: '{build-days-to-keep}'
75 - integration-bundle-url:
76 bundle-url: '{bundle-url}'
77 - distribution-karaf-version:
78 karaf-version: '{karaf-version}'
82 - project: '{csit-list}'
84 predefined-parameters: |
85 BUNDLE_URL=$BUNDLE_URL
86 KARAF_VERSION=$KARAF_VERSION
89 - opendaylight-infra-generate-csit-status-report
91 email-recipients: '{email-recipients}'
92 email-prefix: '[integration]'
95 # Template: integration-sanity-test-{stream}
96 # Goal: Verify a distribution through sanity test
97 # Operation: This template takes a distribution and passes sanity test
100 name: 'integration-sanity-test-{stream}'
102 project-type: freestyle
103 node: centos7-robot-2c-8g
106 - opendaylight-infra-properties:
107 build-days-to-keep: '{build-days-to-keep}'
110 - integration-bundle-url:
111 bundle-url: '{bundle-url}'
112 - distribution-karaf-version:
113 karaf-version: '{karaf-version}'
117 - project: '{csit-sanity-list}'
119 predefined-parameters: |
120 BUNDLE_URL=$BUNDLE_URL
121 KARAF_VERSION=$KARAF_VERSION
124 - email-notification:
125 email-recipients: '{email-recipients}'
126 email-prefix: '[integration]'
128 # Template: integration-patch-test-{stream}
129 # Goal: Build a patch and run all available system test on a distribution containing the change
130 # Operation: This job template builds a patch, creates a distribution containing the patch, and
131 # triggers the distribution test when test-integration is used in gerrit comments
134 name: 'integration-patch-test-{stream}'
136 project-type: freestyle
137 node: centos7-builder-2c-8g
140 - opendaylight-infra-properties:
141 build-days-to-keep: '{build-days-to-keep}'
144 - opendaylight-infra-parameters:
145 os-cloud: '{os-cloud}'
146 project: '$GERRIT_PROJECT'
148 refspec: '$GERRIT_REFSPEC'
149 artifacts: '{archive-artifacts}'
150 - integration-distribution-branch:
152 - distribution-karaf-version:
153 karaf-version: '{karaf-version}'
154 - integration-distribution-git-url:
160 - integration-gerrit-scm:
161 basedir: '$GERRIT_PROJECT'
162 refspec: '$GERRIT_REFSPEC'
164 - integration-distribution-scm:
168 - opendaylight-infra-wrappers:
173 server-name: '{gerrit-server-name}'
175 - comment-added-contains-event:
176 comment-contains-value: 'test-integration'
178 - project-compare-type: 'ANT'
179 project-pattern: '**'
181 - branch-compare-type: 'ANT'
182 branch-pattern: '**/{branch}'
190 - integration-rebase-gerrit-patch
191 - wipe-org-opendaylight-repo
192 - provide-maven-settings:
193 global-settings-file: 'global-settings'
194 settings-file: 'integration-settings'
196 maven-version: 'mvn33'
197 pom: '$GERRIT_PROJECT/pom.xml'
199 clean install dependency:tree -DoutputFile=dependency_tree.txt
202 {opendaylight-infra-mvn-opts}
203 # {opendaylight-infra-parallel-mvn-opts} is bad when there are multiple big features in SFT.
205 - '-Xmx4096m -XX:MaxPermSize=1024m -Dmaven.compile.fork=true'
206 settings: integration-settings
208 global-settings: global-settings
209 global-settings-type: cfp
212 pom: distribution/pom.xml
214 clean install dependency:tree -DoutputFile=dependency_tree.txt
215 {opendaylight-infra-mvn-opts}
216 # {opendaylight-infra-parallel-mvn-opts} is bad when there are multiple big features in SFT.
218 - '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true'
219 settings: integration-settings
221 global-settings: global-settings
222 global-settings-type: cfp
223 - integration-upload-distribution:
224 dist-pom: distribution/pom.xml
226 - project: '{csit-list}'
228 predefined-parameters: |
229 BUNDLE_URL=$BUNDLE_URL
230 KARAF_VERSION=$KARAF_VERSION
234 - email-notification:
235 email-recipients: '{email-recipients}'
236 email-prefix: '[$GERRIT_PROJECT]'
240 name: 'integration-multipatch-test-{stream}'
241 # Goal: Build one or more patches and run all available system test on a distribution containing the change.
242 # Operation: This job template checks out and builds in order each patch provided in job parameters, finally
243 # it creates a distribution containing all patches and triggers the distribution test job which includes most
244 # (if not all) available CSIT jobs.
246 project-type: freestyle
247 node: centos7-builder-4c-4g
248 jdk: '{java-version}'
251 - opendaylight-infra-properties:
252 build-days-to-keep: '{build-days-to-keep}'
255 - patches-to-build-parameter:
256 patches_to_build: '$PATCHES_TO_BUILD'
257 - run-test-parameter:
259 - integration-distribution-branch:
261 - integration-distribution-stream:
263 - distribution-karaf-version:
264 karaf-version: '{karaf-version}'
265 - opendaylight-infra-parameters:
266 os-cloud: '{os-cloud}'
267 project: 'integration/distribution'
269 refspec: 'refs/heads/{branch}'
270 artifacts: '{archive-artifacts}'
275 - opendaylight-infra-wrappers:
276 build-timeout: '1200'
280 server-name: '{gerrit-server-name}'
282 - comment-added-contains-event:
283 comment-contains-value: 'multipatch-build:'
285 - project-compare-type: ANT
286 project-pattern: '**'
288 - branch-compare-type: ANT
289 branch-pattern: '**/{branch}'
292 - wipe-org-opendaylight-repo
294 mvn-version: '{mvn-version}'
295 - provide-maven-settings:
296 global-settings-file: 'global-settings'
297 settings-file: 'integration-distribution-settings'
298 - integration-multipatch-builder
299 - integration-upload-distribution:
300 dist-pom: patch_tester/distribution/pom.xml
302 condition-kind: boolean-expression
303 condition-expression: $RUNTEST
306 - project: '{csit-list}'
308 predefined-parameters: |
309 BUNDLE_URL=$BUNDLE_URL
310 KARAF_VERSION=$KARAF_VERSION
314 - email-notification:
315 email-recipients: '{email-recipients}'
316 email-prefix: '[int/dist]'
319 name: 'integration-distribution-weekly-test-trigger-{stream}'
321 project-type: freestyle
322 node: centos7-robot-2c-8g
325 - opendaylight-infra-properties:
326 build-days-to-keep: '{build-days-to-keep}'
329 - integration-bundle-url:
330 bundle-url: '{bundle-url}'
331 - distribution-karaf-version:
332 karaf-version: '{karaf-version}'
335 - timed: '{schedule-weekly}'
339 - project: '{csit-weekly-list}'
341 predefined-parameters: |
342 BUNDLE_URL=$BUNDLE_URL
343 KARAF_VERSION=$KARAF_VERSION
346 - email-notification:
347 email-recipients: '{email-recipients}'
348 email-prefix: '[integration]'
351 name: 'integration-distribution-high-frequency-test-trigger-{stream}'
353 project-type: freestyle
354 node: centos7-robot-2c-8g
357 - opendaylight-infra-properties:
358 build-days-to-keep: '{build-days-to-keep}'
361 - integration-bundle-url:
362 bundle-url: '{bundle-url}'
363 - distribution-karaf-version:
364 karaf-version: '{karaf-version}'
367 - timed: '{schedule-high-frequency}'
371 - project: '{csit-high-frequency-list}'
373 predefined-parameters: |
374 BUNDLE_URL=$BUNDLE_URL
375 KARAF_VERSION=$KARAF_VERSION
378 - email-notification:
379 email-recipients: '{email-recipients}'
380 email-prefix: '[integration]'
383 name: 'integration-update-csit-tests-{stream}'
385 # This job's purpose is to update csit
386 # tests to run in integration-distribution-test-{stream}
387 # by updating integration files: csit-list-{stream}.inc
388 # These files can be used as !include in int-dist-test-{stream}
390 ######################
391 # Default parameters #
392 ######################
394 git-url: '$GIT_URL/$PROJECT'
395 submodule-recursive: true
397 #####################
398 # Job Configuration #
399 #####################
401 project-type: freestyle
402 node: centos7-builder-2c-8g
405 - lf-infra-properties:
406 build-days-to-keep: 7
409 - lf-infra-parameters:
410 project: releng/builder # Hardcode as this job needs to pull releng/builder
412 branch: master # Hardcode as releng/builder only has master
413 lftools-version: '{lftools-version}'
416 default: '{csit-blacklist}'
417 description: Space separated list of jobs strings to blacklist.
420 - lf-infra-gerrit-scm:
421 jenkins-ssh-credential: '{jenkins-ssh-credential}'
423 refspec: '$GERRIT_REFSPEC'
424 branch: '$GERRIT_BRANCH'
425 submodule-recursive: '{submodule-recursive}'
426 choosing-strategy: default
431 jenkins-ssh-credential: '{jenkins-ssh-credential}'
435 jobs: builder-jjb-merge
438 - shell: !include-raw-escape: update-csit-tests.sh
441 git add jjb/integration/*.lst
442 - opendaylight-infra-push-gerrit-patch:
443 project: "releng/builder"
444 gerrit-topic: "auto-update-csit-jobs-{stream}"
445 gerrit-commit-message: "Auto Update CSIT Jobs to run for {stream}"