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-patch-test-{stream}'
12 - 'integration-multipatch-test-{stream}'
13 - 'integration-distribution-weekly-test-trigger-{stream}'
15 # CSIT Lists in releng-defaults.yaml
21 csit-list: '{csit-list-carbon}'
22 csit-weekly-list: '{csit-weekly-list-carbon}'
23 schedule: 'H H * * 0-4'
24 schedule-weekly: 'H 12 * * 0'
27 branch: 'stable/boron'
30 csit-list: '{csit-list-boron}'
32 schedule: 'H H * * 0-4'
33 schedule-weekly: 'H 12 * * 0'
36 branch: 'stable/beryllium'
39 csit-list: '{csit-list-beryllium}'
42 schedule-weekly: 'H 12 * * 0'
45 tools_system_image: Ubuntu 14.04 - mininet-ovs-25 - 20170210-0300
47 # Template: integration-csit-verify-1node-library
48 # Goal: Verify changes in csit folder not covered by projects suite verify jobs (e.g. libraries or variables)
49 # Operation: This job template performs a base openflow test when there is a change in the libraries folder
52 name: 'integration-csit-verify-1node-library'
54 project-type: freestyle
55 node: centos7-robot-2c-2g
57 # {stream} is already defined as a composite object, it cannot be overriden.
59 # This is not a template, so define branch, scope and jre for distribution to test with.
65 - opendaylight-infra-properties:
66 build-days-to-keep: '{build-days-to-keep}'
69 - opendaylight-infra-parameters:
70 os-cloud: '{os-cloud}'
72 branch: '{test-branch}'
73 refspec: 'refs/heads/{test-branch}'
74 artifacts: '{archive-artifacts}'
75 - integration-distribution-branch:
77 - integration-distribution-stream:
78 stream: '{dist-stream}'
79 - integration-bundleurl:
80 bundleurl: '{bundleurl}'
81 - integration-controller-scope:
82 controller-scope: '{scope}'
83 - integration-controller-features:
84 controller-features: >
85 odl-clustering-test-app,
86 odl-openflowplugin-flow-services-ui,
87 odl-openflowplugin-app-table-miss-enforcer,
90 odl-netconf-connector-all
91 # when upgrading to carbon you should replace odl-netconf-connector-all with odl-netconf-topology
92 # and change USE_NETCONF_CONNECTOR to False in test-options
93 - integration-test-options:
94 test-options: '-v TIMEOUT_BUG_4220:10s -v USE_NETCONF_CONNECTOR:True'
95 - integration-stream-test-plan:
96 stream-test-plan: 'test-libraries-{dist-stream}.txt'
97 - integration-test-plan:
98 test-plan: 'test-libraries.txt'
99 - integration-patch-refspec:
100 branch: '$GERRIT_REFSPEC'
101 - integration-jdk-version:
105 - integration-gerrit-scm:
107 refspec: '$PATCHREFSPEC'
108 branch: '{test-branch}'
111 - opendaylight-infra-wrappers:
112 build-timeout: '{build-timeout}'
115 - integration-trigger-patch-submitted:
116 server: '{server-name}'
118 branch: '{test-branch}'
119 files: 'csit/libraries/*'
122 - integration-infra-stack:
123 stack-template: '{stack-template}'
125 vm_0_flavor: '{odl_system_flavor}'
126 vm_0_image: '{odl_system_image}'
127 vm_1_count: '{tools_system_count}'
128 vm_1_flavor: '{tools_system_flavor}'
129 vm_1_image: '{tools_system_image}'
130 - integration-install-robotframework
132 properties-file: 'env.properties'
133 - integration-get-slave-addresses
135 properties-file: 'slave_addresses.txt'
136 - integration-get-bundle-vars
138 properties-file: 'bundle_vars.txt'
139 - integration-deploy-controller-run-test
140 - integration-cleanup-tmp
146 - email-notification:
147 email-recipients: '{email-recipients}'
148 email-prefix: '[integration]'
149 - integration-csit-archive-build
150 - opendaylight-infra-shiplogs:
151 maven-version: 'mvn33'
153 # Template: integration-distribution-test-{stream}
154 # Goal: Verify a distribution through all system test available
155 # Operation: This daily job template takes a distribution and passes all available system test
158 name: 'integration-distribution-test-{stream}'
160 project-type: freestyle
161 node: centos7-robot-2c-2g
164 - opendaylight-infra-properties:
165 build-days-to-keep: '{build-days-to-keep}'
168 - integration-bundleurl:
169 bundleurl: '{bundleurl}'
170 - integration-jdk-version:
174 - timed: '{schedule}'
178 - project: '{csit-list}'
180 predefined-parameters:
184 - email-notification:
185 email-recipients: '{email-recipients}'
186 email-prefix: '[integration]'
188 # Template: integration-patch-test-{stream}
189 # Goal: Build a patch and run all available system test on a distribution containing the change
190 # Operation: This job template builds a patch, creates a distribution containing the patch, and
191 # triggers the distribution test when test-integration is used in gerrit comments
194 name: 'integration-patch-test-{stream}'
197 node: centos7-java-builder-2c-8g
201 - opendaylight-infra-properties:
202 build-days-to-keep: '{build-days-to-keep}'
205 - opendaylight-infra-parameters:
206 os-cloud: '{os-cloud}'
207 project: '$GERRIT_PROJECT'
209 refspec: '$GERRIT_REFSPEC'
210 artifacts: '{archive-artifacts} **/dependency_tree.txt'
211 - integration-distribution-branch:
213 - integration-distribution-git-url:
217 - integration-gerrit-scm:
218 basedir: '$GERRIT_PROJECT'
219 refspec: '$GERRIT_REFSPEC'
221 - integration-distribution-scm:
225 - opendaylight-infra-wrappers:
230 server-name: '{server-name}'
232 - comment-added-contains-event:
233 comment-contains-value: 'test-integration'
235 - project-compare-type: 'ANT'
236 project-pattern: '**'
238 - branch-compare-type: 'ANT'
239 branch-pattern: '**/{branch}'
247 - integration-rebase-gerrit-patch
248 - integration-get-bundle-url
250 properties-file: 'bundle.txt'
251 - wipe-org-opendaylight-repo
252 - provide-maven-settings:
253 global-settings-file: 'odl-global-settings'
254 settings-file: 'integration-settings'
256 maven-version: 'mvn33'
257 pom: '$GERRIT_PROJECT/pom.xml'
259 clean install dependency:tree -DoutputFile=dependency_tree.txt
261 -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r
264 - '-Xmx4096m -XX:MaxPermSize=1024m -Dmaven.compile.fork=true'
265 settings: 'integration-settings'
267 global-settings: 'odl-global-settings'
268 global-settings-type: cfp
272 root-pom: 'distribution/pom.xml'
274 clean install dependency:tree -DoutputFile=dependency_tree.txt
276 -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r
277 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true'
278 settings: 'integration-settings'
280 global-settings: 'odl-global-settings'
281 global-settings-type: cfp
282 ignore-upstream-changes: true
283 post-step-run-condition: 'SUCCESS'
287 - project: '{csit-list}'
289 predefined-parameters:
293 - opendaylight-infra-shiplogs:
294 maven-version: 'mvn33'
295 - email-notification:
296 email-recipients: '{email-recipients}'
297 email-prefix: '[$GERRIT_PROJECT]'
299 # Template: integration-multipatch-test-{stream}
300 # Goal: Build one or more patches and run all available system test on a distribution containing the change
301 # Operation: This job template checks out and builds each patch provided in job parameters, creates a distribution
302 # containing these patches, and triggers the distribution test job which includes most (if not all) available
306 name: 'integration-multipatch-test-{stream}'
309 node: centos7-java-builder-8c-8g
313 - opendaylight-infra-properties:
314 build-days-to-keep: '{build-days-to-keep}'
317 - patches-to-build-parameter:
318 patches_to_build: '$PATCHES_TO_BUILD'
319 - integration-distribution-branch:
321 - opendaylight-infra-parameters:
322 os-cloud: '{os-cloud}'
323 project: 'integration/distribution'
325 refspec: 'refs/heads/{branch}'
326 artifacts: '{archive-artifacts} **/dependency_tree.txt'
329 - wipe-org-opendaylight-repo
330 - integration-multipatch-builder
332 properties-file: 'bundle.txt'
333 - provide-maven-settings:
334 global-settings-file: 'odl-global-settings'
335 settings-file: 'yangtools-settings'
338 - opendaylight-infra-wrappers:
339 build-timeout: '1200'
343 root-pom: 'patch_tester/pom.xml'
344 # TODO: Make Maven options configurable. Currently tests are not skipped, everything else is.
346 clean install dependency:tree -DoutputFile=dependency_tree.txt
347 -f patch_tester/pom.xml -V -B -Pq -Djenkins
348 -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r
350 maven-opts: '-Xmx7168m -XX:MaxPermSize=1024m -Dmaven.compile.fork=true'
351 settings: 'yangtools-settings'
353 global-settings: 'odl-global-settings'
354 global-settings-type: cfp
355 post-step-run-condition: 'SUCCESS'
359 - project: '{csit-list}'
361 predefined-parameters:
365 - opendaylight-infra-shiplogs:
366 maven-version: 'mvn33'
367 - email-notification:
368 email-recipients: '{email-recipients}'
369 email-prefix: '[int/dist]'
372 name: 'integration-distribution-weekly-test-trigger-{stream}'
374 project-type: freestyle
375 node: centos7-robot-2c-2g
378 - opendaylight-infra-properties:
379 build-days-to-keep: '{build-days-to-keep}'
382 - integration-bundleurl:
383 bundleurl: '{bundleurl}'
384 - integration-jdk-version:
388 - timed: '{schedule-weekly}'
392 - project: '{csit-weekly-list}'
394 predefined-parameters:
398 - email-notification:
399 email-recipients: '{email-recipients}'
400 email-prefix: '[integration]'