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