remove all list from netvirt patch test as it's given by default
[releng/builder.git] / jjb / integration / integration-test-jobs.yaml
1 - project:
2     name: integration-test
3     jobs:
4         - '{project-name}-verify-tox-{stream}'
5         - 'integration-csit-verify-1node-library'
6         - 'integration-distribution-test-{stream}'
7         - 'integration-patch-test-{stream}'
8         - 'integration-multipatch-test-{stream}'
9
10     project: integration/test
11     project-name: integration-test
12
13     stream:
14         - carbon:
15             branch: 'master'
16             jdk: 'openjdk8'
17             jre: 'openjdk8'
18             csit-list: >
19                 controller-csit-3node-clustering-only-{stream},
20                 controller-csit-3node-clustering-all-{stream},
21                 integration-distribution-deploy-{stream},
22                 integration-distribution-offline-{stream},
23                 l2switch-csit-1node-switch-only-{stream},
24                 l2switch-csit-1node-switch-all-{stream},
25                 l2switch-csit-1node-scalability-only-{stream},
26                 l2switch-csit-1node-scalability-all-{stream},
27                 lispflowmapping-csit-1node-msmr-only-{stream},
28                 lispflowmapping-csit-1node-msmr-all-{stream},
29                 nemo-csit-1node-engine-all-{stream},
30                 nemo-csit-1node-engine-only-{stream},
31                 netvirt-csit-1node-openstack-basic-only-{stream},
32                 netvirt-csit-1node-openstack-basic-all-{stream},
33                 netvirt-csit-1node-openstack-mitaka-openstack-{stream},
34                 netvirt-vpnservice-csit-1node-openstack-mitaka-openstack-{stream},
35                 netvirt-csit-3node-clustering-only-{stream},
36                 ocpplugin-csit-1node-get-only-{stream},
37                 ocpplugin-csit-1node-get-all-{stream},
38                 ocpplugin-csit-1node-scalability-only-{stream},
39                 ocpplugin-csit-1node-scalability-all-{stream},
40                 openflowplugin-csit-1node-flow-services-only-{stream},
41                 openflowplugin-csit-1node-flow-services-all-{stream},
42                 openflowplugin-csit-1node-scalability-only-{stream},
43                 openflowplugin-csit-1node-cbench-performance-only-{stream},
44                 openflowplugin-csit-1node-config-performance-only-{stream},
45                 openflowplugin-csit-3node-clustering-only-{stream},
46                 ovsdb-csit-1node-southbound-all-{stream},
47                 ovsdb-csit-1node-southbound-only-{stream},
48                 ovsdb-csit-3node-clustering-only-{stream},
49                 packetcable-csit-1node-pcmm-only-{stream},
50                 packetcable-csit-1node-pcmm-all-{stream},
51                 sxp-csit-1node-basic-only-{stream},
52                 sxp-csit-1node-filtering-all-{stream},
53                 sxp-csit-1node-topology-only-{stream},
54                 sxp-csit-1node-topology-all-{stream},
55                 topoprocessing-csit-1node-topology-operations-all-{stream},
56                 topoprocessing-csit-1node-topology-operations-only-{stream},
57                 tsdr-csit-1node-cassandra-datastore-only-{stream},
58                 tsdr-csit-1node-hbase-datastore-all-{stream},
59                 tsdr-csit-1node-hbase-datastore-only-{stream},
60                 tsdr-csit-1node-hsqldb-datastore-all-{stream},
61                 tsdr-csit-1node-hsqldb-datastore-only-{stream},
62                 usc-csit-1node-channel-only-{stream},
63                 usc-csit-1node-channel-all-{stream},
64                 usc-csit-1node-tcp-only-{stream},
65                 usc-csit-1node-tcp-all-{stream},
66                 vtn-csit-1node-manager-only-{stream},
67                 vtn-csit-1node-manager-all-{stream},
68                 vtn-csit-1node-coordinator-only-{stream}
69
70         - boron:
71             branch: 'stable/boron'
72             jdk: 'openjdk8'
73             jre: 'openjdk8'
74             csit-list: >
75                 controller-csit-3node-clustering-only-{stream},
76                 controller-csit-3node-clustering-all-{stream},
77                 integration-distribution-deploy-{stream},
78                 integration-distribution-offline-{stream},
79                 l2switch-csit-1node-switch-only-{stream},
80                 l2switch-csit-1node-switch-all-{stream},
81                 l2switch-csit-1node-scalability-only-{stream},
82                 l2switch-csit-1node-scalability-all-{stream},
83                 lispflowmapping-csit-1node-msmr-only-{stream},
84                 lispflowmapping-csit-1node-msmr-all-{stream},
85                 nemo-csit-1node-engine-all-{stream},
86                 nemo-csit-1node-engine-only-{stream},
87                 netvirt-csit-1node-openstack-basic-only-{stream},
88                 netvirt-csit-1node-openstack-basic-all-{stream},
89                 netvirt-csit-1node-openstack-mitaka-openstack-{stream},
90                 netvirt-vpnservice-csit-1node-openstack-mitaka-openstack-{stream},
91                 netvirt-csit-3node-clustering-only-{stream},
92                 ocpplugin-csit-1node-get-only-{stream},
93                 ocpplugin-csit-1node-get-all-{stream},
94                 ocpplugin-csit-1node-scalability-only-{stream},
95                 ocpplugin-csit-1node-scalability-all-{stream},
96                 openflowplugin-csit-1node-flow-services-only-{stream},
97                 openflowplugin-csit-1node-flow-services-all-{stream},
98                 openflowplugin-csit-1node-scalability-only-{stream},
99                 openflowplugin-csit-1node-cbench-performance-only-{stream},
100                 openflowplugin-csit-1node-config-performance-only-{stream},
101                 openflowplugin-csit-3node-clustering-only-{stream},
102                 ovsdb-csit-1node-southbound-all-{stream},
103                 ovsdb-csit-1node-southbound-only-{stream},
104                 ovsdb-csit-3node-clustering-only-{stream},
105                 packetcable-csit-1node-pcmm-only-{stream},
106                 packetcable-csit-1node-pcmm-all-{stream},
107                 sxp-csit-1node-basic-only-{stream},
108                 sxp-csit-1node-filtering-all-{stream},
109                 sxp-csit-1node-topology-only-{stream},
110                 sxp-csit-1node-topology-all-{stream},
111                 topoprocessing-csit-1node-topology-operations-all-{stream},
112                 topoprocessing-csit-1node-topology-operations-only-{stream},
113                 tsdr-csit-1node-cassandra-datastore-only-{stream},
114                 tsdr-csit-1node-hbase-datastore-only-{stream},
115                 tsdr-csit-1node-hsqldb-datastore-only-{stream},
116                 usc-csit-1node-channel-only-{stream},
117                 usc-csit-1node-channel-all-{stream},
118                 usc-csit-1node-tcp-only-{stream},
119                 usc-csit-1node-tcp-all-{stream},
120                 vtn-csit-1node-manager-only-{stream},
121                 vtn-csit-1node-manager-all-{stream},
122                 vtn-csit-1node-coordinator-only-{stream}
123
124         - beryllium:
125             branch: 'stable/beryllium'
126             jdk: 'openjdk7'
127             jre: 'openjdk7'
128             csit-list: >
129                 aaa-csit-1node-authn-only-{stream},
130                 aaa-csit-1node-authn-all-{stream},
131                 bgpcep-csit-1node-userfeatures-only-{stream},
132                 bgpcep-csit-1node-userfeatures-all-{stream},
133                 capwap-csit-1node-ac-only-{stream},
134                 capwap-csit-1node-ac-all-{stream},
135                 integration-distribution-offline-{stream},
136                 integration-distribution-deploy-{stream},
137                 l2switch-csit-1node-switch-only-{stream},
138                 l2switch-csit-1node-scalability-only-{stream},
139                 l2switch-csit-1node-scalability-all-{stream},
140                 lispflowmapping-csit-1node-msmr-only-{stream},
141                 lispflowmapping-csit-1node-msmr-all-{stream},
142                 nemo-csit-1node-engine-all-{stream},
143                 nemo-csit-1node-engine-only-{stream},
144                 netconf-csit-1node-userfeatures-all-{stream},
145                 netconf-csit-1node-userfeatures-only-{stream},
146                 netvirt-csit-1node-openstack-basic-only-{stream},
147                 netvirt-csit-1node-openstack-basic-all-{stream},
148                 netvirt-csit-3node-clustering-only-{stream},
149                 nic-csit-1node-basic-all-{stream},
150                 nic-csit-1node-basic-only-{stream},
151                 openflowplugin-csit-1node-flow-services-only-{stream},
152                 openflowplugin-csit-1node-flow-services-all-{stream},
153                 openflowplugin-csit-1node-scalability-only-{stream},
154                 openflowplugin-csit-1node-cbench-performance-only-{stream},
155                 openflowplugin-csit-1node-config-performance-only-{stream},
156                 openflowplugin-csit-3node-clustering-only-{stream},
157                 ovsdb-csit-1node-southbound-all-{stream},
158                 ovsdb-csit-1node-southbound-only-{stream},
159                 packetcable-csit-1node-pcmm-only-{stream},
160                 packetcable-csit-1node-pcmm-all-{stream},
161                 snmp-csit-1node-basic-only-{stream},
162                 snmp-csit-1node-basic-all-{stream},
163                 sxp-csit-1node-basic-only-{stream},
164                 sxp-csit-1node-filtering-only-{stream},
165                 sxp-csit-1node-filtering-all-{stream},
166                 topoprocessing-csit-1node-topology-operations-all-{stream},
167                 topoprocessing-csit-1node-topology-operations-only-{stream},
168                 tsdr-csit-1node-cassandra-datastore-only-{stream},
169                 tsdr-csit-1node-hbase-datastore-only-{stream},
170                 tsdr-csit-1node-hsqldb-datastore-only-{stream},
171                 usc-csit-1node-channel-only-{stream},
172                 usc-csit-1node-channel-all-{stream},
173                 usc-csit-1node-tcp-only-{stream},
174                 usc-csit-1node-tcp-all-{stream},
175                 vtn-csit-1node-manager-only-{stream},
176                 vtn-csit-1node-manager-all-{stream},
177                 vtn-csit-1node-coordinator-only-{stream}
178
179     # mininet image
180     mininet-image: 'ubuntu-trusty-mininet-ovs-25-2c-2g'
181
182 # Template: integration-csit-verify-1node-library
183 # Goal: Verify changes in csit folder not covered by projects suite verify jobs (e.g. libraries or variables)
184 # Operation: This job template performs a base openflow test when there is a change in the libraries folder
185
186 - job-template:
187     name: 'integration-csit-verify-1node-library'
188
189     project-type: freestyle
190     node: centos7-robot-2c-2g
191
192     logrotate:
193         daysToKeep: '{build-days-to-keep}'
194         numToKeep: '{build-num-to-keep}'
195         artifactDaysToKeep: '{build-artifact-days-to-keep}'
196         artifactNumToKeep: '{build-artifact-num-to-keep}'
197
198     parameters:
199         - opendaylight-infra-parameters:
200             project: 'integration/test'
201             branch: '{branch}'
202             refspec: 'refs/heads/{branch}'
203             artifacts: '{archive-artifacts}'
204         - integration-branch:
205             branch: 'stable/boron'
206         - integration-distribution-stream:
207             stream: 'boron'
208         - integration-bundleurl:
209             bundleurl: 'last'
210         - integration-controller-scope:
211             controller-scope: 'only'
212         - integration-controller-features:
213             controller-features: >
214                 odl-clustering-test-app,
215                 odl-openflowplugin-flow-services-ui,
216                 odl-bgpcep-pcep,
217                 odl-bgpcep-bgp,
218                 odl-netconf-connector-all
219         - integration-test-options:
220             test-options: '-v TIMEOUT_BUG_4220:10s'
221         - integration-stream-test-plan:
222             stream-test-plan: 'test-libraries-boron.txt'
223         - integration-test-plan:
224             test-plan: 'test-libraries.txt'
225         - integration-patch-refspec:
226             branch: '$GERRIT_REFSPEC'
227         - integration-jdk-version:
228             jdkversion: 'openjdk8'
229
230     scm:
231         - integration-gerrit-scm:
232             basedir: 'test'
233             refspec: '$PATCHREFSPEC'
234             branch: 'master'
235
236     wrappers:
237         - opendaylight-infra-wrappers:
238             build-timeout: '{build-timeout}'
239         - integration-jclouds-controller-mininet:
240             controller-image: '{controller-image}'
241             controller-vms: 1
242             mininet-image: '{mininet-image}'
243             mininet-vms: '{mininet-vms}'
244
245     triggers:
246         - integration-trigger-patch-submitted:
247             name: 'integration/test'
248             branch: 'master'
249             pattern: 'csit/libraries/*'
250
251     builders:
252         - integration-copy-ssh-keys
253         - integration-cleanup-workspace
254         - integration-install-robotframework
255         - inject:
256             properties-file: 'env.properties'
257         - integration-get-slave-addresses
258         - inject:
259             properties-file: 'slave_addresses.txt'
260         - integration-get-bundle-vars
261         - inject:
262             properties-file: 'bundle_vars.txt'
263         - integration-deploy-controller-run-test
264         - integration-cleanup-tmp
265
266     publishers:
267         - integration-robot:
268             unstable-if: 0.0
269             pass-if: 100.0
270         - email-notification:
271             email-prefix: '[integration]'
272         - integration-csit-archive-build
273         - opendaylight-infra-shiplogs:
274             maven-version: 'mvn33'
275
276 # Template: integration-distribution-test-{stream}
277 # Goal: Verify a distribution through all system test available
278 # Operation: This daily job template takes a distribution and passes all available system test
279
280 - job-template:
281     name: 'integration-distribution-test-{stream}'
282
283     project-type: freestyle
284     node: centos7-java-builder-2c-8g
285
286     logrotate:
287         daysToKeep: '{build-days-to-keep}'
288         numToKeep: '{build-num-to-keep}'
289         artifactDaysToKeep: '{build-artifact-days-to-keep}'
290         artifactNumToKeep: '{build-artifact-num-to-keep}'
291
292     parameters:
293         - integration-bundleurl:
294             bundleurl: 'last'
295         - integration-jdk-version:
296             jdkversion: '{jre}'
297
298     triggers:
299         - timed: 'H H * * 6'
300
301     builders:
302         - trigger-builds:
303             - project: '{csit-list}'
304               block: true
305               predefined-parameters:
306                   BUNDLEURL=$BUNDLEURL
307
308     publishers:
309         - email-notification:
310             email-prefix: '[integration]'
311
312 # Template: integration-patch-test-{stream}
313 # Goal: Build a patch and run all available system test on a distribution containing the change
314 # Operation: This job template builds a patch, creates a distribution containing the patch, and
315 # triggers the distribution test when test-integration is used in gerrit comments
316
317 - job-template:
318     name: 'integration-patch-test-{stream}'
319
320     project-type: maven
321     node: centos7-java-builder-2c-8g
322     jdk: '{jdk}'
323
324     logrotate:
325         daysToKeep: '{build-days-to-keep}'
326         numToKeep: '{build-num-to-keep}'
327         artifactDaysToKeep: '{build-artifact-days-to-keep}'
328         artifactNumToKeep: '{build-artifact-num-to-keep}'
329
330     parameters:
331         - opendaylight-infra-parameters:
332             project: '$GERRIT_PROJECT'
333             branch: '{branch}'
334             refspec: '$GERRIT_REFSPEC'
335             artifacts: '{archive-artifacts} **/dependency_tree.txt'
336         - integration-branch:
337             branch: '{branch}'
338         - integration-distribution-git-url
339
340     scm:
341         - integration-gerrit-scm:
342             basedir: '$GERRIT_PROJECT'
343             refspec: '$GERRIT_REFSPEC'
344             branch: '{branch}'
345         - integration-distribution-scm:
346             branch: '{branch}'
347
348     wrappers:
349         - opendaylight-infra-wrappers:
350             build-timeout: '{build-timeout}'
351
352     triggers:
353         - gerrit:
354             server-name: 'OpenDaylight'
355             trigger-on:
356                 - comment-added-contains-event:
357                     comment-contains-value: 'test-integration'
358             projects:
359               - project-compare-type: 'ANT'
360                 project-pattern: '**'
361                 branches:
362                   - branch-compare-type: 'ANT'
363                     branch-pattern: '**/{branch}'
364             skip-vote:
365                 successful: true
366                 failed: true
367                 unstable: true
368                 notbuilt: true
369
370     prebuilders:
371         - integration-rebase-gerrit-patch
372         - integration-get-bundle-url
373         - inject:
374             properties-file: 'bundle.txt'
375         - wipe-org-opendaylight-repo
376         - provide-maven-settings:
377             global-settings-file: 'odl-global-settings'
378             settings-file: 'integration-settings'
379         - maven-target:
380             maven-version: 'mvn33'
381             pom: '$GERRIT_PROJECT/pom.xml'
382             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}'
383             java-opts:
384                 - '-Xmx4096m -XX:MaxPermSize=1024m -Dmaven.compile.fork=true'
385             settings: 'integration-settings'
386             settings-type: cfp
387             global-settings: 'odl-global-settings'
388             global-settings-type: cfp
389
390     maven:
391         maven-name: 'mvn33'
392         root-pom: 'distribution/pom.xml'
393         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'
394         maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true'
395         settings: 'integration-settings'
396         settings-type: cfp
397         global-settings: 'odl-global-settings'
398         global-settings-type: cfp
399         ignore-upstream-changes: true
400         post-step-run-condition: 'SUCCESS'
401
402     postbuilders:
403         - trigger-builds:
404             - project: '{csit-list}'
405               block: true
406               predefined-parameters:
407                   BUNDLEURL=$BUNDLEURL
408
409     publishers:
410         - opendaylight-infra-shiplogs:
411             maven-version: 'mvn33'
412         - email-notification:
413             email-prefix: '[$GERRIT_PROJECT]'
414
415 # Template: integration-multipatch-test-{stream}
416 # Goal: Build one or more patches and run all available system test on a distribution containing the change
417 # Operation: This job template checks out and builds each patch provided in job parameters, creates a distribution
418 # containing these patches, and triggers the distribution test job which includes most (if not all) available
419 # CSIT jobs
420
421 - job-template:
422     name: 'integration-multipatch-test-{stream}'
423
424     project-type: maven
425     node: centos7-java-builder-8c-8g
426     jdk: '{jdk}'
427
428     logrotate:
429         daysToKeep: '{build-days-to-keep}'
430         numToKeep: '{build-num-to-keep}'
431         artifactDaysToKeep: '{build-artifact-days-to-keep}'
432         artifactNumToKeep: '{build-artifact-num-to-keep}'
433
434     parameters:
435         - patches-to-build-parameter:
436             patches_to_build: '$PATCHES_TO_BUILD'
437         - integration-branch:
438             branch: '{branch}'
439         - opendaylight-infra-parameters:
440             project: 'integration/distribution'
441             branch: '{branch}'
442             refspec: 'refs/heads/{branch}'
443             artifacts: '{archive-artifacts} **/dependency_tree.txt'
444
445     prebuilders:
446         - wipe-org-opendaylight-repo
447         - integration-multipatch-builder
448         - inject:
449             properties-file: 'bundle.txt'
450         - provide-maven-settings:
451             global-settings-file: 'odl-global-settings'
452             settings-file: 'yangtools-settings'
453
454     wrappers:
455         - opendaylight-infra-wrappers:
456             build-timeout: '1200'
457
458     maven:
459         maven-name: 'mvn33'
460         root-pom: 'patch_tester/pom.xml'
461         # TODO: Make Maven options configurable. Currently tests are not skipped, everything else is.
462         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}'
463         maven-opts: '-Xmx7168m -XX:MaxPermSize=1024m -Dmaven.compile.fork=true'
464         settings: 'yangtools-settings'
465         settings-type: cfp
466         global-settings: 'odl-global-settings'
467         global-settings-type: cfp
468         post-step-run-condition: 'SUCCESS'
469
470     postbuilders:
471         - trigger-builds:
472             - project: '{csit-list}'
473               block: true
474               predefined-parameters:
475                   BUNDLEURL=$BUNDLEURL
476
477     publishers:
478         - opendaylight-infra-shiplogs:
479             maven-version: 'mvn33'
480         - email-notification:
481             email-prefix: '[int/dist]'