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-oxygen.lst
25 csit-sanity-list: '{csit-sanity-list-oxygen}'
26 csit-weekly-list: '{csit-weekly-list-oxygen}'
27 csit-high-frequency-list: '{csit-high-frequency-list-oxygen}'
31 branch: 'stable/nitrogen'
32 csit-blacklist: longevity gate sanity capwap centinel coe didm iotdm jsonrpc lacp netide tsdr
33 csit-list: !include: csit-jobs-nitrogen.lst
34 csit-sanity-list: '{csit-sanity-list-nitrogen}'
35 csit-weekly-list: '{csit-weekly-list-nitrogen}'
36 csit-high-frequency-list: '{csit-high-frequency-list-nitrogen}'
40 branch: 'stable/carbon'
42 csit-blacklist: longevity gate sanity capwap centinel coe jsonrpc
43 csit-list: !include: csit-jobs-carbon.lst
44 csit-sanity-list: '{csit-sanity-list-carbon}'
45 csit-weekly-list: '{csit-weekly-list-carbon}'
46 csit-high-frequency-list: '{csit-high-frequency-list-carbon}'
50 tools_system_image: ZZCI - Ubuntu 16.04 - mininet-ovs-25 - 20171208-1847
52 # Template: integration-distribution-test-{stream}
53 # Goal: Verify a distribution through all system test available
54 # Operation: This template takes a distribution and passes all available system test
57 name: 'integration-distribution-test-{stream}'
59 project-type: freestyle
60 node: centos7-robot-2c-8g
63 - opendaylight-infra-properties:
64 build-days-to-keep: '{build-days-to-keep}'
67 - integration-bundle-url:
68 bundle-url: '{bundle-url}'
69 - distribution-karaf-version:
70 karaf-version: '{karaf-version}'
74 - project: '{csit-list}'
76 predefined-parameters: |
77 BUNDLE_URL=$BUNDLE_URL
78 KARAF_VERSION=$KARAF_VERSION
81 - opendaylight-infra-generate-csit-status-report
83 email-recipients: '{email-recipients}'
84 email-prefix: '[integration]'
87 # Template: integration-sanity-test-{stream}
88 # Goal: Verify a distribution through sanity test
89 # Operation: This template takes a distribution and passes sanity test
92 name: 'integration-sanity-test-{stream}'
94 project-type: freestyle
95 node: centos7-robot-2c-8g
98 - opendaylight-infra-properties:
99 build-days-to-keep: '{build-days-to-keep}'
102 - integration-bundle-url:
103 bundle-url: '{bundle-url}'
104 - distribution-karaf-version:
105 karaf-version: '{karaf-version}'
109 - project: '{csit-sanity-list}'
111 predefined-parameters: |
112 BUNDLE_URL=$BUNDLE_URL
113 KARAF_VERSION=$KARAF_VERSION
116 - email-notification:
117 email-recipients: '{email-recipients}'
118 email-prefix: '[integration]'
120 # Template: integration-patch-test-{stream}
121 # Goal: Build a patch and run all available system test on a distribution containing the change
122 # Operation: This job template builds a patch, creates a distribution containing the patch, and
123 # triggers the distribution test when test-integration is used in gerrit comments
126 name: 'integration-patch-test-{stream}'
128 project-type: freestyle
129 node: centos7-builder-2c-8g
132 - opendaylight-infra-properties:
133 build-days-to-keep: '{build-days-to-keep}'
136 - opendaylight-infra-parameters:
137 os-cloud: '{os-cloud}'
138 project: '$GERRIT_PROJECT'
140 refspec: '$GERRIT_REFSPEC'
141 artifacts: '{archive-artifacts}'
142 - integration-distribution-branch:
144 - distribution-karaf-version:
145 karaf-version: '{karaf-version}'
146 - integration-distribution-git-url:
152 - integration-gerrit-scm:
153 basedir: '$GERRIT_PROJECT'
154 refspec: '$GERRIT_REFSPEC'
156 - integration-distribution-scm:
160 - opendaylight-infra-wrappers:
165 server-name: '{gerrit-server-name}'
167 - comment-added-contains-event:
168 comment-contains-value: 'test-integration'
170 - project-compare-type: 'ANT'
171 project-pattern: '**'
173 - branch-compare-type: 'ANT'
174 branch-pattern: '**/{branch}'
182 - integration-rebase-gerrit-patch
183 - wipe-org-opendaylight-repo
184 - provide-maven-settings:
185 global-settings-file: 'global-settings'
186 settings-file: 'integration-settings'
188 maven-version: 'mvn33'
189 pom: '$GERRIT_PROJECT/pom.xml'
191 clean install dependency:tree -DoutputFile=dependency_tree.txt
194 {opendaylight-infra-mvn-opts}
195 # {opendaylight-infra-parallel-mvn-opts} is bad when there are multiple big features in SFT.
197 - '-Xmx4096m -XX:MaxPermSize=1024m -Dmaven.compile.fork=true'
198 settings: integration-settings
200 global-settings: global-settings
201 global-settings-type: cfp
204 pom: distribution/pom.xml
206 clean install dependency:tree -DoutputFile=dependency_tree.txt
207 {opendaylight-infra-mvn-opts}
208 # {opendaylight-infra-parallel-mvn-opts} is bad when there are multiple big features in SFT.
210 - '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true'
211 settings: integration-settings
213 global-settings: global-settings
214 global-settings-type: cfp
215 - integration-upload-distribution:
216 dist-pom: distribution/pom.xml
218 - project: '{csit-list}'
220 predefined-parameters: |
221 BUNDLE_URL=$BUNDLE_URL
222 KARAF_VERSION=$KARAF_VERSION
226 - email-notification:
227 email-recipients: '{email-recipients}'
228 email-prefix: '[$GERRIT_PROJECT]'
232 name: 'integration-multipatch-test-{stream}'
233 # Goal: Build one or more patches and run all available system test on a distribution containing the change.
234 # Operation: This job template checks out and builds in order each patch provided in job parameters, finally
235 # it creates a distribution containing all patches and triggers the distribution test job which includes most
236 # (if not all) available CSIT jobs.
238 project-type: freestyle
239 node: centos7-builder-4c-4g
243 - opendaylight-infra-properties:
244 build-days-to-keep: '{build-days-to-keep}'
247 - patches-to-build-parameter:
248 patches_to_build: '$PATCHES_TO_BUILD'
249 - run-test-parameter:
251 - integration-distribution-branch:
253 - integration-distribution-stream:
255 - distribution-karaf-version:
256 karaf-version: '{karaf-version}'
257 - opendaylight-infra-parameters:
258 os-cloud: '{os-cloud}'
259 project: 'integration/distribution'
261 refspec: 'refs/heads/{branch}'
262 artifacts: '{archive-artifacts}'
267 - opendaylight-infra-wrappers:
268 build-timeout: '1200'
272 server-name: '{gerrit-server-name}'
274 - comment-added-contains-event:
275 comment-contains-value: 'multipatch-build:'
277 - project-compare-type: ANT
278 project-pattern: '**'
280 - branch-compare-type: ANT
281 branch-pattern: '**/{branch}'
284 - wipe-org-opendaylight-repo
286 mvn-version: '{mvn-version}'
287 - provide-maven-settings:
288 global-settings-file: 'global-settings'
289 settings-file: 'integration-distribution-settings'
290 - integration-multipatch-builder
291 - integration-upload-distribution:
292 dist-pom: patch_tester/distribution/pom.xml
294 condition-kind: boolean-expression
295 condition-expression: $RUNTEST
298 - project: '{csit-list}'
300 predefined-parameters: |
301 BUNDLE_URL=$BUNDLE_URL
302 KARAF_VERSION=$KARAF_VERSION
306 - email-notification:
307 email-recipients: '{email-recipients}'
308 email-prefix: '[int/dist]'
311 name: 'integration-distribution-weekly-test-trigger-{stream}'
313 project-type: freestyle
314 node: centos7-robot-2c-8g
317 - opendaylight-infra-properties:
318 build-days-to-keep: '{build-days-to-keep}'
321 - integration-bundle-url:
322 bundle-url: '{bundle-url}'
323 - distribution-karaf-version:
324 karaf-version: '{karaf-version}'
327 - timed: '{schedule-weekly}'
331 - project: '{csit-weekly-list}'
333 predefined-parameters: |
334 BUNDLE_URL=$BUNDLE_URL
335 KARAF_VERSION=$KARAF_VERSION
338 - email-notification:
339 email-recipients: '{email-recipients}'
340 email-prefix: '[integration]'
343 name: 'integration-distribution-high-frequency-test-trigger-{stream}'
345 project-type: freestyle
346 node: centos7-robot-2c-8g
349 - opendaylight-infra-properties:
350 build-days-to-keep: '{build-days-to-keep}'
353 - integration-bundle-url:
354 bundle-url: '{bundle-url}'
355 - distribution-karaf-version:
356 karaf-version: '{karaf-version}'
359 - timed: '{schedule-high-frequency}'
363 - project: '{csit-high-frequency-list}'
365 predefined-parameters: |
366 BUNDLE_URL=$BUNDLE_URL
367 KARAF_VERSION=$KARAF_VERSION
370 - email-notification:
371 email-recipients: '{email-recipients}'
372 email-prefix: '[integration]'
375 name: 'integration-update-csit-tests-{stream}'
377 # This job's purpose is to update csit
378 # tests to run in integration-distribution-test-{stream}
379 # by updating integration files: csit-list-{stream}.inc
380 # These files can be used as !include in int-dist-test-{stream}
382 ######################
383 # Default parameters #
384 ######################
386 git-url: '$GIT_URL/$PROJECT'
387 submodule-recursive: true
389 #####################
390 # Job Configuration #
391 #####################
393 project-type: freestyle
394 node: centos7-builder-2c-8g
397 - lf-infra-properties:
398 build-days-to-keep: 7
401 - lf-infra-parameters:
402 project: releng/builder # Hardcode as this job needs to pull releng/builder
404 branch: master # Hardcode as releng/builder only has master
405 lftools-version: '{lftools-version}'
408 default: '{csit-blacklist}'
409 description: Space separated list of jobs strings to blacklist.
412 - lf-infra-gerrit-scm:
413 jenkins-ssh-credential: '{jenkins-ssh-credential}'
415 refspec: '$GERRIT_REFSPEC'
416 branch: '$GERRIT_BRANCH'
417 submodule-recursive: '{submodule-recursive}'
418 choosing-strategy: default
423 jenkins-ssh-credential: '{jenkins-ssh-credential}'
427 jobs: builder-jjb-merge
430 - shell: !include-raw-escape: update-csit-tests.sh
433 git add jjb/integration/*.lst
434 - opendaylight-infra-push-gerrit-patch:
435 project: "releng/builder"
436 gerrit-topic: "auto-update-csit-jobs-{stream}"
437 gerrit-commit-message: "Auto Update CSIT Jobs to run for {stream}"