4 project: integration/test
5 project-name: integration-test
7 - '{project-name}-verify-tox-{stream}'
8 - 'integration-csit-verify-1node-library'
9 - 'integration-distribution-test-{stream}'
10 - 'integration-patch-test-{stream}'
11 - 'integration-multipatch-test-{stream}'
13 # CSIT Lists in releng-defaults.yaml
19 csit-list: '{csit-list-carbon}'
20 schedule: 'H H * * 0-4'
23 branch: 'stable/boron'
26 csit-list: '{csit-list-boron}'
27 schedule: 'H H * * 0-4'
30 branch: 'stable/beryllium'
33 csit-list: '{csit-list-beryllium}'
37 tools_system_image: Ubuntu 14.04 - mininet-ovs-25 - 20170210-0300
39 # Template: integration-csit-verify-1node-library
40 # Goal: Verify changes in csit folder not covered by projects suite verify jobs (e.g. libraries or variables)
41 # Operation: This job template performs a base openflow test when there is a change in the libraries folder
44 name: 'integration-csit-verify-1node-library'
46 project-type: freestyle
47 node: centos7-robot-2c-2g
49 # {stream} is already defined as a composite object, it cannot be overriden.
51 # This is not a template, so define branch, scope and jre for distribution to test with.
55 # Integration/Test branch remains hardcoded to 'master' as int/test does not have any other branch.
59 - opendaylight-infra-properties:
60 build-days-to-keep: '{build-days-to-keep}'
63 - opendaylight-infra-parameters:
65 branch: '{test-branch}'
66 refspec: 'refs/heads/{test-branch}'
67 artifacts: '{archive-artifacts}'
68 - integration-distribution-branch:
70 - integration-distribution-stream:
71 stream: '{dist-stream}'
72 - integration-bundleurl:
73 bundleurl: '{bundleurl}'
74 - integration-controller-scope:
75 controller-scope: '{scope}'
76 - integration-controller-features:
77 controller-features: >
78 odl-clustering-test-app,
79 odl-openflowplugin-flow-services-ui,
80 odl-openflowplugin-app-table-miss-enforcer,
83 odl-netconf-connector-all
84 # when upgrading to carbon you should replace odl-netconf-connector-all with odl-netconf-topology
85 # and change USE_NETCONF_CONNECTOR to False in test-options
86 - integration-test-options:
87 test-options: '-v TIMEOUT_BUG_4220:10s -v USE_NETCONF_CONNECTOR:True'
88 - integration-stream-test-plan:
89 stream-test-plan: 'test-libraries-{dist-stream}.txt'
90 - integration-test-plan:
91 test-plan: 'test-libraries.txt'
92 - integration-patch-refspec:
93 branch: '$GERRIT_REFSPEC'
94 - integration-jdk-version:
98 - integration-gerrit-scm:
100 refspec: '$PATCHREFSPEC'
101 branch: '{test-branch}'
104 - opendaylight-infra-wrappers:
105 build-timeout: '{build-timeout}'
108 - integration-trigger-patch-submitted:
109 server: '{server-name}'
111 branch: '{test-branch}'
112 files: 'csit/libraries/*'
115 - integration-infra-stack:
116 stack-template: '{stack-template}'
118 vm_0_flavor: '{odl_system_flavor}'
119 vm_0_image: '{odl_system_image}'
120 vm_1_count: '{tools_system_count}'
121 vm_1_flavor: '{tools_system_flavor}'
122 vm_1_image: '{tools_system_image}'
123 - integration-install-robotframework
125 properties-file: 'env.properties'
126 - integration-get-slave-addresses
128 properties-file: 'slave_addresses.txt'
129 - integration-get-bundle-vars
131 properties-file: 'bundle_vars.txt'
132 - integration-deploy-controller-run-test
133 - integration-cleanup-tmp
139 - email-notification:
140 email-recipients: '{email-recipients}'
141 email-prefix: '[integration]'
142 - integration-csit-archive-build
143 - opendaylight-infra-shiplogs:
144 maven-version: 'mvn33'
146 # Template: integration-distribution-test-{stream}
147 # Goal: Verify a distribution through all system test available
148 # Operation: This daily job template takes a distribution and passes all available system test
151 name: 'integration-distribution-test-{stream}'
153 project-type: freestyle
154 node: centos7-robot-2c-2g
157 - opendaylight-infra-properties:
158 build-days-to-keep: '{build-days-to-keep}'
161 - integration-bundleurl:
162 bundleurl: '{bundleurl}'
163 - integration-jdk-version:
167 - timed: '{schedule}'
171 - project: '{csit-list}'
173 predefined-parameters:
177 - email-notification:
178 email-recipients: '{email-recipients}'
179 email-prefix: '[integration]'
181 # Template: integration-patch-test-{stream}
182 # Goal: Build a patch and run all available system test on a distribution containing the change
183 # Operation: This job template builds a patch, creates a distribution containing the patch, and
184 # triggers the distribution test when test-integration is used in gerrit comments
187 name: 'integration-patch-test-{stream}'
190 node: centos7-java-builder-2c-8g
194 - opendaylight-infra-properties:
195 build-days-to-keep: '{build-days-to-keep}'
198 - opendaylight-infra-parameters:
199 project: '$GERRIT_PROJECT'
201 refspec: '$GERRIT_REFSPEC'
202 artifacts: '{archive-artifacts} **/dependency_tree.txt'
203 - integration-distribution-branch:
205 - integration-distribution-git-url:
209 - integration-gerrit-scm:
210 basedir: '$GERRIT_PROJECT'
211 refspec: '$GERRIT_REFSPEC'
213 - integration-distribution-scm:
217 - opendaylight-infra-wrappers:
222 server-name: '{server-name}'
224 - comment-added-contains-event:
225 comment-contains-value: 'test-integration'
227 - project-compare-type: 'ANT'
228 project-pattern: '**'
230 - branch-compare-type: 'ANT'
231 branch-pattern: '**/{branch}'
239 - integration-rebase-gerrit-patch
240 - integration-get-bundle-url
242 properties-file: 'bundle.txt'
243 - wipe-org-opendaylight-repo
244 - provide-maven-settings:
245 global-settings-file: 'odl-global-settings'
246 settings-file: 'integration-settings'
248 maven-version: 'mvn33'
249 pom: '$GERRIT_PROJECT/pom.xml'
251 clean install dependency:tree -DoutputFile=dependency_tree.txt
253 -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r
256 - '-Xmx4096m -XX:MaxPermSize=1024m -Dmaven.compile.fork=true'
257 settings: 'integration-settings'
259 global-settings: 'odl-global-settings'
260 global-settings-type: cfp
264 root-pom: 'distribution/pom.xml'
266 clean install dependency:tree -DoutputFile=dependency_tree.txt
268 -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r
269 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true'
270 settings: 'integration-settings'
272 global-settings: 'odl-global-settings'
273 global-settings-type: cfp
274 ignore-upstream-changes: true
275 post-step-run-condition: 'SUCCESS'
279 - project: '{csit-list}'
281 predefined-parameters:
285 - opendaylight-infra-shiplogs:
286 maven-version: 'mvn33'
287 - email-notification:
288 email-recipients: '{email-recipients}'
289 email-prefix: '[$GERRIT_PROJECT]'
291 # Template: integration-multipatch-test-{stream}
292 # Goal: Build one or more patches and run all available system test on a distribution containing the change
293 # Operation: This job template checks out and builds each patch provided in job parameters, creates a distribution
294 # containing these patches, and triggers the distribution test job which includes most (if not all) available
298 name: 'integration-multipatch-test-{stream}'
301 node: centos7-java-builder-8c-8g
305 - opendaylight-infra-properties:
306 build-days-to-keep: '{build-days-to-keep}'
309 - patches-to-build-parameter:
310 patches_to_build: '$PATCHES_TO_BUILD'
311 - integration-distribution-branch:
313 - opendaylight-infra-parameters:
314 project: 'integration/distribution'
316 refspec: 'refs/heads/{branch}'
317 artifacts: '{archive-artifacts} **/dependency_tree.txt'
320 - wipe-org-opendaylight-repo
321 - integration-multipatch-builder
323 properties-file: 'bundle.txt'
324 - provide-maven-settings:
325 global-settings-file: 'odl-global-settings'
326 settings-file: 'yangtools-settings'
329 - opendaylight-infra-wrappers:
330 build-timeout: '1200'
334 root-pom: 'patch_tester/pom.xml'
335 # TODO: Make Maven options configurable. Currently tests are not skipped, everything else is.
337 clean install dependency:tree -DoutputFile=dependency_tree.txt
338 -f patch_tester/pom.xml -V -B -Pq -Djenkins
339 -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r
341 maven-opts: '-Xmx7168m -XX:MaxPermSize=1024m -Dmaven.compile.fork=true'
342 settings: 'yangtools-settings'
344 global-settings: 'odl-global-settings'
345 global-settings-type: cfp
346 post-step-run-condition: 'SUCCESS'
350 - project: '{csit-list}'
352 predefined-parameters:
356 - opendaylight-infra-shiplogs:
357 maven-version: 'mvn33'
358 - email-notification:
359 email-recipients: '{email-recipients}'
360 email-prefix: '[int/dist]'