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-weekly: 'H 12 * * 0'
26 branch: 'stable/boron'
29 csit-list: '{csit-list-boron}'
31 schedule-weekly: 'H 12 * * 0'
34 branch: 'stable/beryllium'
37 csit-list: '{csit-list-beryllium}'
39 schedule-weekly: 'H 12 * * 0'
42 tools_system_image: Ubuntu 14.04 - mininet-ovs-25 - 20170210-0300
44 # Template: integration-csit-verify-1node-library
45 # Goal: Verify changes in csit folder not covered by projects suite verify jobs (e.g. libraries or variables)
46 # Operation: This job template performs a base openflow test when there is a change in the libraries folder
49 name: 'integration-csit-verify-1node-library'
51 project-type: freestyle
52 node: centos7-robot-2c-2g
54 # {stream} is already defined as a composite object, it cannot be overriden.
56 # This is not a template, so define branch, scope and jre for distribution to test with.
62 - opendaylight-infra-properties:
63 build-days-to-keep: '{build-days-to-keep}'
66 - opendaylight-infra-parameters:
68 branch: '{test-branch}'
69 refspec: 'refs/heads/{test-branch}'
70 artifacts: '{archive-artifacts}'
71 - integration-distribution-branch:
73 - integration-distribution-stream:
74 stream: '{dist-stream}'
75 - integration-bundleurl:
76 bundleurl: '{bundleurl}'
77 - integration-controller-scope:
78 controller-scope: '{scope}'
79 - integration-controller-features:
80 controller-features: >
81 odl-clustering-test-app,
82 odl-openflowplugin-flow-services-ui,
83 odl-openflowplugin-app-table-miss-enforcer,
86 odl-netconf-connector-all
87 # when upgrading to carbon you should replace odl-netconf-connector-all with odl-netconf-topology
88 # and change USE_NETCONF_CONNECTOR to False in test-options
89 - integration-test-options:
90 test-options: '-v TIMEOUT_BUG_4220:10s -v USE_NETCONF_CONNECTOR:True'
91 - integration-stream-test-plan:
92 stream-test-plan: 'test-libraries-{dist-stream}.txt'
93 - integration-test-plan:
94 test-plan: 'test-libraries.txt'
95 - integration-patch-refspec:
96 branch: '$GERRIT_REFSPEC'
97 - integration-jdk-version:
101 - integration-gerrit-scm:
103 refspec: '$PATCHREFSPEC'
104 branch: '{test-branch}'
107 - opendaylight-infra-wrappers:
108 build-timeout: '{build-timeout}'
111 - integration-trigger-patch-submitted:
112 server: '{server-name}'
114 branch: '{test-branch}'
115 files: 'csit/libraries/*'
118 - integration-infra-stack:
119 stack-template: '{stack-template}'
121 vm_0_flavor: '{odl_system_flavor}'
122 vm_0_image: '{odl_system_image}'
123 vm_1_count: '{tools_system_count}'
124 vm_1_flavor: '{tools_system_flavor}'
125 vm_1_image: '{tools_system_image}'
126 - integration-install-robotframework
128 properties-file: 'env.properties'
129 - integration-get-slave-addresses
131 properties-file: 'slave_addresses.txt'
132 - integration-get-bundle-vars
134 properties-file: 'bundle_vars.txt'
135 - integration-deploy-controller-run-test
136 - integration-cleanup-tmp
142 - email-notification:
143 email-recipients: '{email-recipients}'
144 email-prefix: '[integration]'
145 - integration-csit-archive-build
146 - opendaylight-infra-shiplogs:
147 maven-version: 'mvn33'
149 # Template: integration-distribution-test-{stream}
150 # Goal: Verify a distribution through all system test available
151 # Operation: This daily job template takes a distribution and passes all available system test
154 name: 'integration-distribution-test-{stream}'
156 project-type: freestyle
157 node: centos7-robot-2c-2g
160 - opendaylight-infra-properties:
161 build-days-to-keep: '{build-days-to-keep}'
164 - integration-bundleurl:
165 bundleurl: '{bundleurl}'
166 - integration-jdk-version:
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]'
363 name: 'integration-distribution-weekly-test-trigger-{stream}'
365 project-type: freestyle
366 node: centos7-robot-2c-2g
369 - opendaylight-infra-properties:
370 build-days-to-keep: '{build-days-to-keep}'
373 - integration-bundleurl:
374 bundleurl: '{bundleurl}'
375 - integration-jdk-version:
379 - timed: '{schedule-weekly}'
383 - project: '{csit-weekly-list}'
385 predefined-parameters:
389 - email-notification:
390 email-recipients: '{email-recipients}'
391 email-prefix: '[integration]'