4 project: integration/test
5 project-name: integration-test
8 - '{project-name}-verify-tox-master'
9 - 'integration-csit-verify-1node-library'
10 - 'integration-distribution-test-{stream}'
11 - 'integration-sanity-test-{stream}'
12 - 'integration-patch-test-{stream}'
13 - 'integration-multipatch-test-{stream}'
14 - 'integration-distribution-weekly-test-trigger-{stream}'
16 # CSIT Lists in releng-defaults.yaml
22 csit-list: '{csit-list-carbon}'
23 csit-sanity-list: '{csit-sanity-list-carbon}'
24 csit-weekly-list: '{csit-weekly-list-carbon}'
25 schedule-weekly: 'H 12 * * 0'
28 branch: 'stable/boron'
31 csit-list: '{csit-list-boron}'
32 csit-sanity-list: '{csit-sanity-list-boron}'
33 csit-weekly-list: '{csit-weekly-list-boron}'
34 schedule-weekly: 'H 12 * * 0'
37 branch: 'stable/beryllium'
40 csit-list: '{csit-list-beryllium}'
43 schedule-weekly: 'H 12 * * 0'
46 tools_system_image: Ubuntu 14.04 - mininet-ovs-25 - 20170210-0300
48 # Template: integration-csit-verify-1node-library
49 # Goal: Verify changes in csit folder not covered by projects suite verify jobs (e.g. libraries or variables)
50 # Operation: This job template performs a base openflow test when there is a change in the libraries folder
53 name: 'integration-csit-verify-1node-library'
55 project-type: freestyle
56 node: centos7-robot-2c-2g
58 # {stream} is already defined as a composite object, it cannot be overriden.
60 # This is not a template, so define branch, scope and jre for distribution to test with.
66 - opendaylight-infra-properties:
67 build-days-to-keep: '{build-days-to-keep}'
70 - opendaylight-infra-parameters:
71 os-cloud: '{os-cloud}'
73 branch: '{test-branch}'
74 refspec: 'refs/heads/{test-branch}'
75 artifacts: '{archive-artifacts}'
76 - integration-distribution-branch:
78 - integration-distribution-stream:
79 stream: '{dist-stream}'
80 - integration-bundleurl:
81 bundleurl: '{bundleurl}'
82 - integration-controller-scope:
83 controller-scope: '{scope}'
84 - integration-controller-features:
85 controller-features: >
86 odl-clustering-test-app,
87 odl-openflowplugin-flow-services-ui,
88 odl-openflowplugin-app-table-miss-enforcer,
91 odl-netconf-connector-all
92 # when upgrading to carbon you should replace odl-netconf-connector-all with odl-netconf-topology
93 # and change USE_NETCONF_CONNECTOR to False in test-options
94 - integration-test-options:
95 test-options: '-v TIMEOUT_BUG_4220:10s -v USE_NETCONF_CONNECTOR:True'
96 - integration-stream-test-plan:
97 stream-test-plan: 'test-libraries-{dist-stream}.txt'
98 - integration-test-plan:
99 test-plan: 'test-libraries.txt'
100 - integration-patch-refspec:
101 branch: '$GERRIT_REFSPEC'
102 - integration-jdk-version:
106 - integration-gerrit-scm:
108 refspec: '$PATCHREFSPEC'
109 branch: '{test-branch}'
112 - opendaylight-infra-wrappers:
113 build-timeout: '{build-timeout}'
116 - integration-trigger-patch-submitted:
117 server: '{server-name}'
119 branch: '{test-branch}'
120 files: 'csit/libraries/*'
123 - integration-infra-stack:
124 stack-template: '{stack-template}'
126 vm_0_flavor: '{odl_system_flavor}'
127 vm_0_image: '{odl_system_image}'
128 vm_1_count: '{tools_system_count}'
129 vm_1_flavor: '{tools_system_flavor}'
130 vm_1_image: '{tools_system_image}'
131 - integration-install-robotframework
133 properties-file: 'env.properties'
134 - integration-get-slave-addresses
136 properties-file: 'slave_addresses.txt'
137 - integration-get-bundle-vars
139 properties-file: 'bundle_vars.txt'
140 - integration-deploy-controller-run-test
141 - integration-cleanup-tmp
147 - email-notification:
148 email-recipients: '{email-recipients}'
149 email-prefix: '[integration]'
150 - integration-csit-archive-build
151 - opendaylight-infra-shiplogs:
152 maven-version: 'mvn33'
154 # Template: integration-distribution-test-{stream}
155 # Goal: Verify a distribution through all system test available
156 # Operation: This template takes a distribution and passes all available system test
159 name: 'integration-distribution-test-{stream}'
161 project-type: freestyle
162 node: centos7-robot-2c-2g
165 - opendaylight-infra-properties:
166 build-days-to-keep: '{build-days-to-keep}'
169 - integration-bundleurl:
170 bundleurl: '{bundleurl}'
171 - integration-jdk-version:
176 - project: '{csit-list}'
178 predefined-parameters:
182 - email-notification:
183 email-recipients: '{email-recipients}'
184 email-prefix: '[integration]'
186 # Template: integration-sanity-test-{stream}
187 # Goal: Verify a distribution through sanity test
188 # Operation: This template takes a distribution and passes sanity test
191 name: 'integration-sanity-test-{stream}'
193 project-type: freestyle
194 node: centos7-robot-2c-2g
197 - opendaylight-infra-properties:
198 build-days-to-keep: '{build-days-to-keep}'
201 - integration-bundleurl:
202 bundleurl: '{bundleurl}'
203 - integration-jdk-version:
208 - project: '{csit-sanity-list}'
210 predefined-parameters:
214 - email-notification:
215 email-recipients: '{email-recipients}'
216 email-prefix: '[integration]'
218 # Template: integration-patch-test-{stream}
219 # Goal: Build a patch and run all available system test on a distribution containing the change
220 # Operation: This job template builds a patch, creates a distribution containing the patch, and
221 # triggers the distribution test when test-integration is used in gerrit comments
224 name: 'integration-patch-test-{stream}'
227 node: centos7-java-builder-2c-8g
231 - opendaylight-infra-properties:
232 build-days-to-keep: '{build-days-to-keep}'
235 - opendaylight-infra-parameters:
236 os-cloud: '{os-cloud}'
237 project: '$GERRIT_PROJECT'
239 refspec: '$GERRIT_REFSPEC'
240 artifacts: '{archive-artifacts} **/dependency_tree.txt'
241 - integration-distribution-branch:
243 - integration-distribution-git-url:
247 - integration-gerrit-scm:
248 basedir: '$GERRIT_PROJECT'
249 refspec: '$GERRIT_REFSPEC'
251 - integration-distribution-scm:
255 - opendaylight-infra-wrappers:
260 server-name: '{server-name}'
262 - comment-added-contains-event:
263 comment-contains-value: 'test-integration'
265 - project-compare-type: 'ANT'
266 project-pattern: '**'
268 - branch-compare-type: 'ANT'
269 branch-pattern: '**/{branch}'
277 - integration-rebase-gerrit-patch
278 - integration-get-bundle-url
280 properties-file: 'bundle.txt'
281 - wipe-org-opendaylight-repo
282 - provide-maven-settings:
283 global-settings-file: 'odl-global-settings'
284 settings-file: 'integration-settings'
286 maven-version: 'mvn33'
287 pom: '$GERRIT_PROJECT/pom.xml'
289 clean install dependency:tree -DoutputFile=dependency_tree.txt
291 -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r
294 - '-Xmx4096m -XX:MaxPermSize=1024m -Dmaven.compile.fork=true'
295 settings: 'integration-settings'
297 global-settings: 'odl-global-settings'
298 global-settings-type: cfp
302 root-pom: 'distribution/pom.xml'
304 clean install dependency:tree -DoutputFile=dependency_tree.txt
306 -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r
307 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true'
308 settings: 'integration-settings'
310 global-settings: 'odl-global-settings'
311 global-settings-type: cfp
312 ignore-upstream-changes: true
313 post-step-run-condition: 'SUCCESS'
317 - project: '{csit-list}'
319 predefined-parameters:
323 - opendaylight-infra-shiplogs:
324 maven-version: 'mvn33'
325 - email-notification:
326 email-recipients: '{email-recipients}'
327 email-prefix: '[$GERRIT_PROJECT]'
329 # Template: integration-multipatch-test-{stream}
330 # Goal: Build one or more patches and run all available system test on a distribution containing the change
331 # Operation: This job template checks out and builds each patch provided in job parameters, creates a distribution
332 # containing these patches, and triggers the distribution test job which includes most (if not all) available
336 name: 'integration-multipatch-test-{stream}'
339 node: centos7-java-builder-8c-8g
343 - opendaylight-infra-properties:
344 build-days-to-keep: '{build-days-to-keep}'
347 - patches-to-build-parameter:
348 patches_to_build: '$PATCHES_TO_BUILD'
349 - integration-distribution-branch:
351 - opendaylight-infra-parameters:
352 os-cloud: '{os-cloud}'
353 project: 'integration/distribution'
355 refspec: 'refs/heads/{branch}'
356 artifacts: '{archive-artifacts} **/dependency_tree.txt'
359 - wipe-org-opendaylight-repo
360 - integration-multipatch-builder
362 properties-file: 'bundle.txt'
363 - provide-maven-settings:
364 global-settings-file: 'odl-global-settings'
365 settings-file: 'yangtools-settings'
368 - opendaylight-infra-wrappers:
369 build-timeout: '1200'
373 root-pom: 'patch_tester/pom.xml'
374 # TODO: Make Maven options configurable. Currently tests are not skipped, everything else is.
376 clean install dependency:tree -DoutputFile=dependency_tree.txt
377 -f patch_tester/pom.xml -V -B -Pq -Djenkins
378 -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r
380 maven-opts: '-Xmx7168m -XX:MaxPermSize=1024m -Dmaven.compile.fork=true'
381 settings: 'yangtools-settings'
383 global-settings: 'odl-global-settings'
384 global-settings-type: cfp
385 post-step-run-condition: 'SUCCESS'
389 - project: '{csit-list}'
391 predefined-parameters:
395 - opendaylight-infra-shiplogs:
396 maven-version: 'mvn33'
397 - email-notification:
398 email-recipients: '{email-recipients}'
399 email-prefix: '[int/dist]'
402 name: 'integration-distribution-weekly-test-trigger-{stream}'
404 project-type: freestyle
405 node: centos7-robot-2c-2g
408 - opendaylight-infra-properties:
409 build-days-to-keep: '{build-days-to-keep}'
412 - integration-bundleurl:
413 bundleurl: '{bundleurl}'
414 - integration-jdk-version:
418 - timed: '{schedule-weekly}'
422 - project: '{csit-weekly-list}'
424 predefined-parameters:
428 - email-notification:
429 email-recipients: '{email-recipients}'
430 email-prefix: '[integration]'