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
21 csit-list: '{csit-list-nitrogen}'
22 csit-sanity-list: '{csit-sanity-list-nitrogen}'
23 csit-weekly-list: '{csit-weekly-list-nitrogen}'
24 schedule-weekly: 'H 12 * * 0'
26 branch: 'stable/carbon'
29 csit-list: '{csit-list-carbon}'
30 csit-sanity-list: '{csit-sanity-list-carbon}'
31 csit-weekly-list: '{csit-weekly-list-carbon}'
32 schedule-weekly: 'H 12 * * 0'
35 branch: 'stable/boron'
38 csit-list: '{csit-list-boron}'
39 csit-sanity-list: '{csit-sanity-list-boron}'
40 csit-weekly-list: '{csit-weekly-list-boron}'
41 schedule-weekly: 'H 12 * * 0'
44 branch: 'stable/beryllium'
47 csit-list: '{csit-list-beryllium}'
50 schedule-weekly: 'H 12 * * 0'
53 tools_system_image: Ubuntu 14.04 - mininet-ovs-25 - 20170210-0300
55 # Template: integration-csit-verify-1node-library
56 # Goal: Verify changes in csit folder not covered by projects suite verify jobs (e.g. libraries or variables)
57 # Operation: This job template performs a base openflow test when there is a change in the libraries folder
60 name: 'integration-csit-verify-1node-library'
62 project-type: freestyle
63 node: centos7-robot-2c-2g
65 # {stream} is already defined as a composite object, it cannot be overriden.
67 # This is not a template, so define branch, scope and jre for distribution to test with.
73 - opendaylight-infra-properties:
74 build-days-to-keep: '{build-days-to-keep}'
77 - opendaylight-infra-parameters:
78 os-cloud: '{os-cloud}'
80 branch: '{test-branch}'
81 refspec: 'refs/heads/{test-branch}'
82 artifacts: '{archive-artifacts}'
83 - integration-distribution-branch:
85 - integration-distribution-stream:
86 stream: '{dist-stream}'
87 - integration-bundleurl:
88 bundleurl: '{bundleurl}'
89 - integration-controller-scope:
90 controller-scope: '{scope}'
91 - integration-controller-features:
92 controller-features: >
93 odl-clustering-test-app,
94 odl-openflowplugin-flow-services-ui,
95 odl-openflowplugin-app-table-miss-enforcer,
98 odl-netconf-connector-all
99 # when upgrading to carbon you should replace odl-netconf-connector-all with odl-netconf-topology
100 # and change USE_NETCONF_CONNECTOR to False in test-options
101 - integration-test-options:
102 test-options: '-v TIMEOUT_BUG_4220:10s -v USE_NETCONF_CONNECTOR:True'
103 - integration-stream-test-plan:
104 stream-test-plan: 'test-libraries-{dist-stream}.txt'
105 - integration-test-plan:
106 test-plan: 'test-libraries.txt'
107 - integration-patch-refspec:
108 branch: '$GERRIT_REFSPEC'
109 - integration-jdk-version:
113 - integration-gerrit-scm:
115 refspec: '$PATCHREFSPEC'
116 branch: '{test-branch}'
119 - opendaylight-infra-wrappers:
120 build-timeout: '{build-timeout}'
123 - integration-trigger-patch-submitted:
124 server: '{server-name}'
126 branch: '{test-branch}'
127 files: 'csit/libraries/*'
130 - integration-infra-stack:
131 stack-template: '{stack-template}'
133 vm_0_flavor: '{odl_system_flavor}'
134 vm_0_image: '{odl_system_image}'
135 vm_1_count: '{tools_system_count}'
136 vm_1_flavor: '{tools_system_flavor}'
137 vm_1_image: '{tools_system_image}'
138 - integration-install-robotframework
140 properties-file: 'env.properties'
141 - integration-get-slave-addresses
143 properties-file: 'slave_addresses.txt'
144 - integration-get-bundle-vars
146 properties-file: 'bundle_vars.txt'
147 - integration-deploy-controller-run-test
148 - integration-cleanup-tmp
154 - email-notification:
155 email-recipients: '{email-recipients}'
156 email-prefix: '[integration]'
157 - integration-csit-archive-build
158 - opendaylight-infra-shiplogs:
159 maven-version: 'mvn33'
161 # Template: integration-distribution-test-{stream}
162 # Goal: Verify a distribution through all system test available
163 # Operation: This template takes a distribution and passes all available system test
166 name: 'integration-distribution-test-{stream}'
168 project-type: freestyle
169 node: centos7-robot-2c-2g
172 - opendaylight-infra-properties:
173 build-days-to-keep: '{build-days-to-keep}'
176 - integration-bundleurl:
177 bundleurl: '{bundleurl}'
178 - integration-jdk-version:
183 - project: '{csit-list}'
185 predefined-parameters:
189 - email-notification:
190 email-recipients: '{email-recipients}'
191 email-prefix: '[integration]'
193 # Template: integration-sanity-test-{stream}
194 # Goal: Verify a distribution through sanity test
195 # Operation: This template takes a distribution and passes sanity test
198 name: 'integration-sanity-test-{stream}'
200 project-type: freestyle
201 node: centos7-robot-2c-2g
204 - opendaylight-infra-properties:
205 build-days-to-keep: '{build-days-to-keep}'
208 - integration-bundleurl:
209 bundleurl: '{bundleurl}'
210 - integration-jdk-version:
215 - project: '{csit-sanity-list}'
217 predefined-parameters:
221 - email-notification:
222 email-recipients: '{email-recipients}'
223 email-prefix: '[integration]'
225 # Template: integration-patch-test-{stream}
226 # Goal: Build a patch and run all available system test on a distribution containing the change
227 # Operation: This job template builds a patch, creates a distribution containing the patch, and
228 # triggers the distribution test when test-integration is used in gerrit comments
231 name: 'integration-patch-test-{stream}'
234 node: centos7-java-builder-2c-8g
238 - opendaylight-infra-properties:
239 build-days-to-keep: '{build-days-to-keep}'
242 - opendaylight-infra-parameters:
243 os-cloud: '{os-cloud}'
244 project: '$GERRIT_PROJECT'
246 refspec: '$GERRIT_REFSPEC'
247 artifacts: '{archive-artifacts} **/dependency_tree.txt'
248 - integration-distribution-branch:
250 - integration-distribution-git-url:
254 - integration-gerrit-scm:
255 basedir: '$GERRIT_PROJECT'
256 refspec: '$GERRIT_REFSPEC'
258 - integration-distribution-scm:
262 - opendaylight-infra-wrappers:
267 server-name: '{server-name}'
269 - comment-added-contains-event:
270 comment-contains-value: 'test-integration'
272 - project-compare-type: 'ANT'
273 project-pattern: '**'
275 - branch-compare-type: 'ANT'
276 branch-pattern: '**/{branch}'
284 - integration-rebase-gerrit-patch
285 - integration-get-bundle-url
287 properties-file: 'bundle.txt'
288 - wipe-org-opendaylight-repo
289 - provide-maven-settings:
290 global-settings-file: 'odl-global-settings'
291 settings-file: 'integration-settings'
293 maven-version: 'mvn33'
294 pom: '$GERRIT_PROJECT/pom.xml'
296 clean install dependency:tree -DoutputFile=dependency_tree.txt
298 -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r
301 - '-Xmx4096m -XX:MaxPermSize=1024m -Dmaven.compile.fork=true'
302 settings: 'integration-settings'
304 global-settings: 'odl-global-settings'
305 global-settings-type: cfp
309 root-pom: 'distribution/pom.xml'
311 clean install dependency:tree -DoutputFile=dependency_tree.txt
313 -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r
314 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true'
315 settings: 'integration-settings'
317 global-settings: 'odl-global-settings'
318 global-settings-type: cfp
319 ignore-upstream-changes: true
320 post-step-run-condition: 'SUCCESS'
324 - project: '{csit-list}'
326 predefined-parameters:
330 - opendaylight-infra-shiplogs:
331 maven-version: 'mvn33'
332 - email-notification:
333 email-recipients: '{email-recipients}'
334 email-prefix: '[$GERRIT_PROJECT]'
336 # Template: integration-multipatch-test-{stream}
337 # Goal: Build one or more patches and run all available system test on a distribution containing the change
338 # Operation: This job template checks out and builds each patch provided in job parameters, creates a distribution
339 # containing these patches, and triggers the distribution test job which includes most (if not all) available
343 name: 'integration-multipatch-test-{stream}'
346 node: centos7-java-builder-8c-8g
350 - opendaylight-infra-properties:
351 build-days-to-keep: '{build-days-to-keep}'
354 - patches-to-build-parameter:
355 patches_to_build: '$PATCHES_TO_BUILD'
356 - integration-distribution-branch:
358 - opendaylight-infra-parameters:
359 os-cloud: '{os-cloud}'
360 project: 'integration/distribution'
362 refspec: 'refs/heads/{branch}'
363 artifacts: '{archive-artifacts} **/dependency_tree.txt'
366 - wipe-org-opendaylight-repo
367 - integration-multipatch-builder
369 properties-file: 'bundle.txt'
370 - provide-maven-settings:
371 global-settings-file: 'odl-global-settings'
372 settings-file: 'yangtools-settings'
375 - opendaylight-infra-wrappers:
376 build-timeout: '1200'
380 root-pom: 'patch_tester/pom.xml'
381 # TODO: Make Maven options configurable. Currently tests are not skipped, everything else is.
383 clean install dependency:tree -DoutputFile=dependency_tree.txt
384 -f patch_tester/pom.xml -V -B -Pq -Djenkins
385 -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r
387 maven-opts: '-Xmx7168m -XX:MaxPermSize=1024m -Dmaven.compile.fork=true'
388 settings: 'yangtools-settings'
390 global-settings: 'odl-global-settings'
391 global-settings-type: cfp
392 post-step-run-condition: 'SUCCESS'
396 - project: '{csit-list}'
398 predefined-parameters:
402 - opendaylight-infra-shiplogs:
403 maven-version: 'mvn33'
404 - email-notification:
405 email-recipients: '{email-recipients}'
406 email-prefix: '[int/dist]'
409 name: 'integration-distribution-weekly-test-trigger-{stream}'
411 project-type: freestyle
412 node: centos7-robot-2c-2g
415 - opendaylight-infra-properties:
416 build-days-to-keep: '{build-days-to-keep}'
419 - integration-bundleurl:
420 bundleurl: '{bundleurl}'
421 - integration-jdk-version:
425 - timed: '{schedule-weekly}'
429 - project: '{csit-weekly-list}'
431 predefined-parameters:
435 - email-notification:
436 email-recipients: '{email-recipients}'
437 email-prefix: '[integration]'