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}'
15 - 'integration-distribution-high-frequency-test-trigger-{stream}'
17 # CSIT Lists in releng-defaults.yaml
22 csit-list: '{csit-list-nitrogen}'
23 csit-sanity-list: '{csit-sanity-list-nitrogen}'
24 csit-weekly-list: '{csit-weekly-list-nitrogen}'
25 schedule-weekly: 'H 12 * * 0'
26 csit-high-frequency-list: ''
27 schedule-high-frequency: ''
30 branch: 'stable/carbon'
33 csit-list: '{csit-list-carbon}'
34 csit-sanity-list: '{csit-sanity-list-carbon}'
35 csit-weekly-list: '{csit-weekly-list-carbon}'
36 schedule-weekly: 'H 12 * * 0'
37 csit-high-frequency-list: '{csit-high-frequency-list-carbon}'
38 schedule-high-frequency: 'H H/4 * * *'
41 branch: 'stable/boron'
44 csit-list: '{csit-list-boron}'
45 csit-sanity-list: '{csit-sanity-list-boron}'
46 csit-weekly-list: '{csit-weekly-list-boron}'
47 schedule-weekly: 'H 12 * * 0'
48 csit-high-frequency-list: ''
49 schedule-high-frequency: ''
52 branch: 'stable/beryllium'
55 csit-list: '{csit-list-beryllium}'
58 schedule-weekly: 'H 12 * * 0'
59 csit-high-frequency-list: ''
60 schedule-high-frequency: ''
63 tools_system_image: Ubuntu 14.04 - mininet-ovs-25 - 20170210-0300
65 # Template: integration-csit-verify-1node-library
66 # Goal: Verify changes in csit folder not covered by projects suite verify jobs (e.g. libraries or variables)
67 # Operation: This job template performs a base openflow test when there is a change in the libraries folder
70 name: 'integration-csit-verify-1node-library'
72 project-type: freestyle
73 node: centos7-robot-2c-2g
75 # {stream} is already defined as a composite object, it cannot be overriden.
77 # This is not a template, so define branch, scope and jre for distribution to test with.
83 - opendaylight-infra-properties:
84 build-days-to-keep: '{build-days-to-keep}'
87 - opendaylight-infra-parameters:
88 os-cloud: '{os-cloud}'
90 branch: '{test-branch}'
91 refspec: 'refs/heads/{test-branch}'
92 artifacts: '{archive-artifacts}'
93 - integration-distribution-branch:
95 - integration-distribution-stream:
96 stream: '{dist-stream}'
97 - integration-bundleurl:
98 bundleurl: '{bundleurl}'
99 - integration-controller-scope:
100 controller-scope: '{scope}'
101 - integration-controller-features:
102 controller-features: >
103 odl-clustering-test-app,
104 odl-openflowplugin-flow-services-ui,
105 odl-openflowplugin-app-table-miss-enforcer,
108 odl-netconf-connector-all
109 # when upgrading to carbon you should replace odl-netconf-connector-all with odl-netconf-topology
110 # and change USE_NETCONF_CONNECTOR to False in test-options
111 - integration-test-options:
112 test-options: '-v TIMEOUT_BUG_4220:10s -v USE_NETCONF_CONNECTOR:True'
113 - integration-stream-test-plan:
114 stream-test-plan: 'test-libraries-{dist-stream}.txt'
115 - integration-test-plan:
116 test-plan: 'test-libraries.txt'
117 - integration-patch-refspec:
118 branch: '$GERRIT_REFSPEC'
119 - integration-jdk-version:
123 - integration-gerrit-scm:
125 refspec: '$PATCHREFSPEC'
126 branch: '{test-branch}'
129 - opendaylight-infra-wrappers:
130 build-timeout: '{build-timeout}'
133 - integration-trigger-patch-submitted:
134 server: '{server-name}'
136 branch: '{test-branch}'
137 files: 'csit/libraries/*'
140 - integration-infra-stack:
141 stack-template: '{stack-template}'
143 vm_0_flavor: '{odl_system_flavor}'
144 vm_0_image: '{odl_system_image}'
145 vm_1_count: '{tools_system_count}'
146 vm_1_flavor: '{tools_system_flavor}'
147 vm_1_image: '{tools_system_image}'
148 - integration-install-robotframework
150 properties-file: 'env.properties'
151 - integration-get-slave-addresses
153 properties-file: 'slave_addresses.txt'
154 - integration-get-bundle-vars
156 properties-file: 'bundle_vars.txt'
157 - integration-deploy-controller-run-test
158 - integration-cleanup-tmp
164 - email-notification:
165 email-recipients: '{email-recipients}'
166 email-prefix: '[integration]'
167 - integration-csit-archive-build
168 - opendaylight-infra-shiplogs:
169 maven-version: 'mvn33'
171 # Template: integration-distribution-test-{stream}
172 # Goal: Verify a distribution through all system test available
173 # Operation: This template takes a distribution and passes all available system test
176 name: 'integration-distribution-test-{stream}'
178 project-type: freestyle
179 node: centos7-robot-2c-2g
182 - opendaylight-infra-properties:
183 build-days-to-keep: '{build-days-to-keep}'
186 - integration-bundleurl:
187 bundleurl: '{bundleurl}'
188 - integration-jdk-version:
193 - project: '{csit-list}'
195 predefined-parameters:
199 - email-notification:
200 email-recipients: '{email-recipients}'
201 email-prefix: '[integration]'
203 # Template: integration-sanity-test-{stream}
204 # Goal: Verify a distribution through sanity test
205 # Operation: This template takes a distribution and passes sanity test
208 name: 'integration-sanity-test-{stream}'
210 project-type: freestyle
211 node: centos7-robot-2c-2g
214 - opendaylight-infra-properties:
215 build-days-to-keep: '{build-days-to-keep}'
218 - integration-bundleurl:
219 bundleurl: '{bundleurl}'
220 - integration-jdk-version:
225 - project: '{csit-sanity-list}'
227 predefined-parameters:
231 - email-notification:
232 email-recipients: '{email-recipients}'
233 email-prefix: '[integration]'
235 # Template: integration-patch-test-{stream}
236 # Goal: Build a patch and run all available system test on a distribution containing the change
237 # Operation: This job template builds a patch, creates a distribution containing the patch, and
238 # triggers the distribution test when test-integration is used in gerrit comments
241 name: 'integration-patch-test-{stream}'
244 node: centos7-java-builder-2c-8g
248 - opendaylight-infra-properties:
249 build-days-to-keep: '{build-days-to-keep}'
252 - opendaylight-infra-parameters:
253 os-cloud: '{os-cloud}'
254 project: '$GERRIT_PROJECT'
256 refspec: '$GERRIT_REFSPEC'
257 artifacts: '{archive-artifacts} **/dependency_tree.txt'
258 - integration-distribution-branch:
260 - integration-distribution-git-url:
264 - integration-gerrit-scm:
265 basedir: '$GERRIT_PROJECT'
266 refspec: '$GERRIT_REFSPEC'
268 - integration-distribution-scm:
272 - opendaylight-infra-wrappers:
277 server-name: '{server-name}'
279 - comment-added-contains-event:
280 comment-contains-value: 'test-integration'
282 - project-compare-type: 'ANT'
283 project-pattern: '**'
285 - branch-compare-type: 'ANT'
286 branch-pattern: '**/{branch}'
294 - integration-rebase-gerrit-patch
295 - integration-get-bundle-url
297 properties-file: 'bundle.txt'
298 - wipe-org-opendaylight-repo
299 - provide-maven-settings:
300 global-settings-file: 'odl-global-settings'
301 settings-file: 'integration-settings'
303 maven-version: 'mvn33'
304 pom: '$GERRIT_PROJECT/pom.xml'
306 clean install dependency:tree -DoutputFile=dependency_tree.txt
308 -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r
311 - '-Xmx4096m -XX:MaxPermSize=1024m -Dmaven.compile.fork=true'
312 settings: 'integration-settings'
314 global-settings: 'odl-global-settings'
315 global-settings-type: cfp
319 root-pom: 'distribution/pom.xml'
321 clean install dependency:tree -DoutputFile=dependency_tree.txt
323 -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r
324 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true'
325 settings: 'integration-settings'
327 global-settings: 'odl-global-settings'
328 global-settings-type: cfp
329 ignore-upstream-changes: true
330 post-step-run-condition: 'SUCCESS'
334 - project: '{csit-list}'
336 predefined-parameters:
340 - opendaylight-infra-shiplogs:
341 maven-version: 'mvn33'
342 - email-notification:
343 email-recipients: '{email-recipients}'
344 email-prefix: '[$GERRIT_PROJECT]'
346 # Template: integration-multipatch-test-{stream}
347 # Goal: Build one or more patches and run all available system test on a distribution containing the change
348 # Operation: This job template checks out and builds each patch provided in job parameters, creates a distribution
349 # containing these patches, and triggers the distribution test job which includes most (if not all) available
353 name: 'integration-multipatch-test-{stream}'
356 node: centos7-java-builder-8c-8g
360 - opendaylight-infra-properties:
361 build-days-to-keep: '{build-days-to-keep}'
364 - patches-to-build-parameter:
365 patches_to_build: '$PATCHES_TO_BUILD'
366 - integration-distribution-branch:
368 - opendaylight-infra-parameters:
369 os-cloud: '{os-cloud}'
370 project: 'integration/distribution'
372 refspec: 'refs/heads/{branch}'
373 artifacts: '{archive-artifacts} **/dependency_tree.txt'
376 - wipe-org-opendaylight-repo
377 - integration-multipatch-builder
379 properties-file: 'bundle.txt'
380 - provide-maven-settings:
381 global-settings-file: 'odl-global-settings'
382 settings-file: 'yangtools-settings'
385 - opendaylight-infra-wrappers:
386 build-timeout: '1200'
390 root-pom: 'patch_tester/pom.xml'
391 # TODO: Make Maven options configurable. Currently tests are not skipped, everything else is.
393 clean install dependency:tree -DoutputFile=dependency_tree.txt
394 -f patch_tester/pom.xml -V -B -Pq -Djenkins
395 -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r
397 maven-opts: '-Xmx7168m -XX:MaxPermSize=1024m -Dmaven.compile.fork=true'
398 settings: 'yangtools-settings'
400 global-settings: 'odl-global-settings'
401 global-settings-type: cfp
402 post-step-run-condition: 'SUCCESS'
406 - project: '{csit-list}'
408 predefined-parameters:
412 - opendaylight-infra-shiplogs:
413 maven-version: 'mvn33'
414 - email-notification:
415 email-recipients: '{email-recipients}'
416 email-prefix: '[int/dist]'
419 name: 'integration-distribution-weekly-test-trigger-{stream}'
421 project-type: freestyle
422 node: centos7-robot-2c-2g
425 - opendaylight-infra-properties:
426 build-days-to-keep: '{build-days-to-keep}'
429 - integration-bundleurl:
430 bundleurl: '{bundleurl}'
431 - integration-jdk-version:
435 - timed: '{schedule-weekly}'
439 - project: '{csit-weekly-list}'
441 predefined-parameters:
445 - email-notification:
446 email-recipients: '{email-recipients}'
447 email-prefix: '[integration]'
450 name: 'integration-distribution-high-frequency-test-trigger-{stream}'
452 project-type: freestyle
453 node: centos7-robot-2c-2g
456 - opendaylight-infra-properties:
457 build-days-to-keep: '{build-days-to-keep}'
460 - integration-bundleurl:
461 bundleurl: '{bundleurl}'
462 - integration-jdk-version:
466 - timed: '{schedule-high-frequency}'
470 - project: '{csit-high-frequency-list}'
472 predefined-parameters:
476 - email-notification:
477 email-recipients: '{email-recipients}'
478 email-prefix: '[integration]'