3 project: integration/test
4 project-name: integration-test
6 - '{project-name}-verify-tox-{stream}'
7 - 'integration-csit-verify-1node-library'
8 - 'integration-distribution-test-{stream}'
9 - 'integration-patch-test-{stream}'
10 - 'integration-multipatch-test-{stream}'
12 # CSIT Lists in releng-defaults.yaml
18 csit-list: '{csit-list-carbon}'
19 schedule: 'H H * * 0-4'
22 branch: 'stable/boron'
25 csit-list: '{csit-list-boron}'
26 schedule: 'H H * * 0-4'
29 branch: 'stable/beryllium'
32 csit-list: '{csit-list-beryllium}'
36 tools_system_image: Ubuntu 14.04 - mininet-ovs-25 - 20170210-0300
38 # Template: integration-csit-verify-1node-library
39 # Goal: Verify changes in csit folder not covered by projects suite verify jobs (e.g. libraries or variables)
40 # Operation: This job template performs a base openflow test when there is a change in the libraries folder
43 name: 'integration-csit-verify-1node-library'
45 project-type: freestyle
46 node: centos7-robot-2c-2g
48 # {stream} is already defined as a composite object, it cannot be overriden.
50 # This is not a template, so define branch, scope and jre for distribution to test with.
54 # Integration/Test branch remains hardcoded to 'master' as int/test does not have any other branch.
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'
249 goals: 'clean install dependency:tree -DoutputFile=dependency_tree.txt -V -B -Pq -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Dstream={stream}'
251 - '-Xmx4096m -XX:MaxPermSize=1024m -Dmaven.compile.fork=true'
252 settings: 'integration-settings'
254 global-settings: 'odl-global-settings'
255 global-settings-type: cfp
259 root-pom: 'distribution/pom.xml'
260 goals: 'clean install dependency:tree -DoutputFile=dependency_tree.txt -V -B -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r'
261 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true'
262 settings: 'integration-settings'
264 global-settings: 'odl-global-settings'
265 global-settings-type: cfp
266 ignore-upstream-changes: true
267 post-step-run-condition: 'SUCCESS'
271 - project: '{csit-list}'
273 predefined-parameters:
277 - opendaylight-infra-shiplogs:
278 maven-version: 'mvn33'
279 - email-notification:
280 email-recipients: '{email-recipients}'
281 email-prefix: '[$GERRIT_PROJECT]'
283 # Template: integration-multipatch-test-{stream}
284 # Goal: Build one or more patches and run all available system test on a distribution containing the change
285 # Operation: This job template checks out and builds each patch provided in job parameters, creates a distribution
286 # containing these patches, and triggers the distribution test job which includes most (if not all) available
290 name: 'integration-multipatch-test-{stream}'
293 node: centos7-java-builder-8c-8g
297 - opendaylight-infra-properties:
298 build-days-to-keep: '{build-days-to-keep}'
301 - patches-to-build-parameter:
302 patches_to_build: '$PATCHES_TO_BUILD'
303 - integration-distribution-branch:
305 - opendaylight-infra-parameters:
306 project: 'integration/distribution'
308 refspec: 'refs/heads/{branch}'
309 artifacts: '{archive-artifacts} **/dependency_tree.txt'
312 - wipe-org-opendaylight-repo
313 - integration-multipatch-builder
315 properties-file: 'bundle.txt'
316 - provide-maven-settings:
317 global-settings-file: 'odl-global-settings'
318 settings-file: 'yangtools-settings'
321 - opendaylight-infra-wrappers:
322 build-timeout: '1200'
326 root-pom: 'patch_tester/pom.xml'
327 # TODO: Make Maven options configurable. Currently tests are not skipped, everything else is.
328 goals: 'clean install dependency:tree -DoutputFile=dependency_tree.txt -f patch_tester/pom.xml -V -B -Pq -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Dstream={stream}'
329 maven-opts: '-Xmx7168m -XX:MaxPermSize=1024m -Dmaven.compile.fork=true'
330 settings: 'yangtools-settings'
332 global-settings: 'odl-global-settings'
333 global-settings-type: cfp
334 post-step-run-condition: 'SUCCESS'
338 - project: '{csit-list}'
340 predefined-parameters:
344 - opendaylight-infra-shiplogs:
345 maven-version: 'mvn33'
346 - email-notification:
347 email-recipients: '{email-recipients}'
348 email-prefix: '[int/dist]'