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}'
14 # CSIT Lists in releng-defaults.yaml
20 csit-list: '{csit-list-carbon}'
21 schedule: 'H H * * 0-4'
24 branch: 'stable/boron'
27 csit-list: '{csit-list-boron}'
28 schedule: 'H H * * 0-4'
31 branch: 'stable/beryllium'
34 csit-list: '{csit-list-beryllium}'
38 tools_system_image: Ubuntu 14.04 - mininet-ovs-25 - 20170210-0300
40 # Template: integration-csit-verify-1node-library
41 # Goal: Verify changes in csit folder not covered by projects suite verify jobs (e.g. libraries or variables)
42 # Operation: This job template performs a base openflow test when there is a change in the libraries folder
45 name: 'integration-csit-verify-1node-library'
47 project-type: freestyle
48 node: centos7-robot-2c-2g
50 # {stream} is already defined as a composite object, it cannot be overriden.
52 # This is not a template, so define branch, scope and jre for distribution to test with.
58 - opendaylight-infra-properties:
59 build-days-to-keep: '{build-days-to-keep}'
62 - opendaylight-infra-parameters:
64 branch: '{test-branch}'
65 refspec: 'refs/heads/{test-branch}'
66 artifacts: '{archive-artifacts}'
67 - integration-distribution-branch:
69 - integration-distribution-stream:
70 stream: '{dist-stream}'
71 - integration-bundleurl:
72 bundleurl: '{bundleurl}'
73 - integration-controller-scope:
74 controller-scope: '{scope}'
75 - integration-controller-features:
76 controller-features: >
77 odl-clustering-test-app,
78 odl-openflowplugin-flow-services-ui,
79 odl-openflowplugin-app-table-miss-enforcer,
82 odl-netconf-connector-all
83 # when upgrading to carbon you should replace odl-netconf-connector-all with odl-netconf-topology
84 # and change USE_NETCONF_CONNECTOR to False in test-options
85 - integration-test-options:
86 test-options: '-v TIMEOUT_BUG_4220:10s -v USE_NETCONF_CONNECTOR:True'
87 - integration-stream-test-plan:
88 stream-test-plan: 'test-libraries-{dist-stream}.txt'
89 - integration-test-plan:
90 test-plan: 'test-libraries.txt'
91 - integration-patch-refspec:
92 branch: '$GERRIT_REFSPEC'
93 - integration-jdk-version:
97 - integration-gerrit-scm:
99 refspec: '$PATCHREFSPEC'
100 branch: '{test-branch}'
103 - opendaylight-infra-wrappers:
104 build-timeout: '{build-timeout}'
107 - integration-trigger-patch-submitted:
108 server: '{server-name}'
110 branch: '{test-branch}'
111 files: 'csit/libraries/*'
114 - integration-infra-stack:
115 stack-template: '{stack-template}'
117 vm_0_flavor: '{odl_system_flavor}'
118 vm_0_image: '{odl_system_image}'
119 vm_1_count: '{tools_system_count}'
120 vm_1_flavor: '{tools_system_flavor}'
121 vm_1_image: '{tools_system_image}'
122 - integration-install-robotframework
124 properties-file: 'env.properties'
125 - integration-get-slave-addresses
127 properties-file: 'slave_addresses.txt'
128 - integration-get-bundle-vars
130 properties-file: 'bundle_vars.txt'
131 - integration-deploy-controller-run-test
132 - integration-cleanup-tmp
138 - email-notification:
139 email-recipients: '{email-recipients}'
140 email-prefix: '[integration]'
141 - integration-csit-archive-build
142 - opendaylight-infra-shiplogs:
143 maven-version: 'mvn33'
145 # Template: integration-distribution-test-{stream}
146 # Goal: Verify a distribution through all system test available
147 # Operation: This daily job template takes a distribution and passes all available system test
150 name: 'integration-distribution-test-{stream}'
152 project-type: freestyle
153 node: centos7-robot-2c-2g
156 - opendaylight-infra-properties:
157 build-days-to-keep: '{build-days-to-keep}'
160 - integration-bundleurl:
161 bundleurl: '{bundleurl}'
162 - integration-jdk-version:
166 - timed: '{schedule}'
170 - project: '{csit-list}'
172 predefined-parameters:
176 - email-notification:
177 email-recipients: '{email-recipients}'
178 email-prefix: '[integration]'
180 # Template: integration-patch-test-{stream}
181 # Goal: Build a patch and run all available system test on a distribution containing the change
182 # Operation: This job template builds a patch, creates a distribution containing the patch, and
183 # triggers the distribution test when test-integration is used in gerrit comments
186 name: 'integration-patch-test-{stream}'
189 node: centos7-java-builder-2c-8g
193 - opendaylight-infra-properties:
194 build-days-to-keep: '{build-days-to-keep}'
197 - opendaylight-infra-parameters:
198 project: '$GERRIT_PROJECT'
200 refspec: '$GERRIT_REFSPEC'
201 artifacts: '{archive-artifacts} **/dependency_tree.txt'
202 - integration-distribution-branch:
204 - integration-distribution-git-url:
208 - integration-gerrit-scm:
209 basedir: '$GERRIT_PROJECT'
210 refspec: '$GERRIT_REFSPEC'
212 - integration-distribution-scm:
216 - opendaylight-infra-wrappers:
221 server-name: '{server-name}'
223 - comment-added-contains-event:
224 comment-contains-value: 'test-integration'
226 - project-compare-type: 'ANT'
227 project-pattern: '**'
229 - branch-compare-type: 'ANT'
230 branch-pattern: '**/{branch}'
238 - integration-rebase-gerrit-patch
239 - integration-get-bundle-url
241 properties-file: 'bundle.txt'
242 - wipe-org-opendaylight-repo
243 - provide-maven-settings:
244 global-settings-file: 'odl-global-settings'
245 settings-file: 'integration-settings'
247 maven-version: 'mvn33'
248 pom: '$GERRIT_PROJECT/pom.xml'
250 clean install dependency:tree -DoutputFile=dependency_tree.txt
252 -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r
255 - '-Xmx4096m -XX:MaxPermSize=1024m -Dmaven.compile.fork=true'
256 settings: 'integration-settings'
258 global-settings: 'odl-global-settings'
259 global-settings-type: cfp
263 root-pom: 'distribution/pom.xml'
265 clean install dependency:tree -DoutputFile=dependency_tree.txt
267 -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r
268 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true'
269 settings: 'integration-settings'
271 global-settings: 'odl-global-settings'
272 global-settings-type: cfp
273 ignore-upstream-changes: true
274 post-step-run-condition: 'SUCCESS'
278 - project: '{csit-list}'
280 predefined-parameters:
284 - opendaylight-infra-shiplogs:
285 maven-version: 'mvn33'
286 - email-notification:
287 email-recipients: '{email-recipients}'
288 email-prefix: '[$GERRIT_PROJECT]'
290 # Template: integration-multipatch-test-{stream}
291 # Goal: Build one or more patches and run all available system test on a distribution containing the change
292 # Operation: This job template checks out and builds each patch provided in job parameters, creates a distribution
293 # containing these patches, and triggers the distribution test job which includes most (if not all) available
297 name: 'integration-multipatch-test-{stream}'
300 node: centos7-java-builder-8c-8g
304 - opendaylight-infra-properties:
305 build-days-to-keep: '{build-days-to-keep}'
308 - patches-to-build-parameter:
309 patches_to_build: '$PATCHES_TO_BUILD'
310 - integration-distribution-branch:
312 - opendaylight-infra-parameters:
313 project: 'integration/distribution'
315 refspec: 'refs/heads/{branch}'
316 artifacts: '{archive-artifacts} **/dependency_tree.txt'
319 - wipe-org-opendaylight-repo
320 - integration-multipatch-builder
322 properties-file: 'bundle.txt'
323 - provide-maven-settings:
324 global-settings-file: 'odl-global-settings'
325 settings-file: 'yangtools-settings'
328 - opendaylight-infra-wrappers:
329 build-timeout: '1200'
333 root-pom: 'patch_tester/pom.xml'
334 # TODO: Make Maven options configurable. Currently tests are not skipped, everything else is.
336 clean install dependency:tree -DoutputFile=dependency_tree.txt
337 -f patch_tester/pom.xml -V -B -Pq -Djenkins
338 -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r
340 maven-opts: '-Xmx7168m -XX:MaxPermSize=1024m -Dmaven.compile.fork=true'
341 settings: 'yangtools-settings'
343 global-settings: 'odl-global-settings'
344 global-settings-type: cfp
345 post-step-run-condition: 'SUCCESS'
349 - project: '{csit-list}'
351 predefined-parameters:
355 - opendaylight-infra-shiplogs:
356 maven-version: 'mvn33'
357 - email-notification:
358 email-recipients: '{email-recipients}'
359 email-prefix: '[int/dist]'