ignore = .git/**,
.tox/**,
jjb/global-jjb/**,
+ jenkins-config/**,
jenkins-scripts/*-local-env.sh
shell = bash
indent_size = 4
Following are the list of published images available to be used with Jenkins jobs.
+* ZZCI - CentOS 7 - autorelease - 20180125-2240
* ZZCI - CentOS 7 - builder - 20180109-0417
+* ZZCI - CentOS 7 - builder - 20180110-1659
* ZZCI - CentOS 7 - builder - 20180201-2139
* ZZCI - CentOS 7 - devstack - 20171208-1648
* ZZCI - CentOS 7 - devstack-ocata - 20171208-1649
* ZZCI - CentOS 7 - devstack-pike - 20171208-1649
* ZZCI - CentOS 7 - docker - 20171209-0317
* ZZCI - CentOS 7 - docker - 20180109-0346
+* ZZCI - CentOS 7 - docker - 20180110-1659
* ZZCI - CentOS 7 - java-builder - 20171206-1842
* ZZCI - CentOS 7 - java-builder - 20171209-0032
* ZZCI - CentOS 7 - robot - 20171207-1911
<table class="table table-bordered">
<tr class="warning">
- <td><b>Jenkins Labels</b><br/> centos7-builder-2c-4g,
- centos7-builder-2c-8g, centos7-java-builder-4c-8g,
- centos7-builder-8c-8g, centos7-java-builder-4c-16g</td>
- <td><b>Minion Template names</b><br/> centos7-builder-2c-4g,
- centos7-builder-2c-4g, centos7-java-builder-2c-8g,
- centos7-builder-4c-8g, centos7-java-builder-8c-8g,
- centos7-builder-4c-16g</td>
+ <td><b>Jenkins Labels</b><br/>
+ centos7-builder-2c-1g,<br/>
+ centos7-builder-2c-2g,<br/>
+ centos7-builder-2c-8g,<br/>
+ centos7-builder-4c-4g,<br/>
+ centos7-builder-8c-8g,<br/>
+ centos7-autorelease-4c-16g
+ </td>
+ <td><b>Minion Template names</b><br/>
+ prd-centos7-builder-2c-1g,<br/>
+ prd-centos7-builder-2c-2g,<br/>
+ prd-centos7-builder-2c-8g,<br/>
+ prd-centos7-builder-4c-4g,<br/>
+ prd-centos7-builder-8c-8g,<br/>
+ prd-centos7-autorelease-4c-16g
<td><b>Packer Template</b><br/>
releng/builder/packer/templates/builder.json</td>
<td><b>Spinup Script</b><br/>
</td>
</tr>
- <tr class="warning">
- <td><b>Job Template</b><br/>integration-patch-test-{stream}</td>
- <td><b>Gerrit Trigger</b><br/>test-integration</td>
- </tr>
- <tr>
- <td colspan="2">
- </td>
- </tr>
-
<tr class="warning">
<td><b>Job Template</b><br/>integration-patch-test-{stream}</td>
<td><b>Gerrit Trigger</b><br/>test-integration</td>
</li>
</td>
</tr>
+
+ <tr class="warning">
+ <td><b>Job Template</b><br/>integration-multipatch-test-{stream}</td>
+ <td><b>Gerrit Trigger</b><br/>multipatch-build</td>
+ </tr>
+ <tr>
+ <td colspan="2">
+ This job builds a list of patches provided in an specific order, and finally builds
+ a distribution from either provided patch or latest code in branch.
+ For example if someone leaves the following comment in a patch:
+ multipatch-build:controller=61/29761/5:45/29645/6,neutron=51/65551/4,netvirt:59/60259/17
+ the job will checkout controller patch 61/29761/5, cherry-pick 45/29645/6 and build controller,
+ checkout neutron patch 51/65551/4 and build neutron, checkout latest netvirt code,
+ cherry-pick 59/60259/17 and build netvirt, finally it will checkout latest distribution
+ code and build a distribution. The resulting distribution is stored in Nexus and the URL
+ is stored in a variable called BUNDLE_URL visible in the job console.
+ This job should not alter Gerrit votes for a given patch, nor will do anything with the
+ given patch unless the patch is added to the build list.
+ </td>
+ </tr>
+
</table>
Maven Properties
--- /dev/null
+GERRIT_URL=https://git.opendaylight.org/gerrit
+GIT_BASE=git://devvexx.opendaylight.org/mirror/$PROJECT
+GIT_URL=git://devvexx.opendaylight.org/mirror
+JENKINS_HOSTNAME=vex-yul-odl-jenkins-1
+LOGS_SERVER=https://logs.opendaylight.org
+NEXUS_URL=https://nexus.opendaylight.org
+ODLNEXUSPROXY=https://nexus.opendaylight.org
+SILO=releng
+SONAR_URL=https://sonar.opendaylight.org
--- /dev/null
+GERRIT_URL=https://git.opendaylight.org/gerrit
+GIT_BASE=git://devvexx.opendaylight.org/mirror/$PROJECT
+GIT_URL=git://devvexx.opendaylight.org/mirror
+JENKINS_HOSTNAME=vex-yul-odl-jenkins-2
+LOGS_SERVER=https://logs.opendaylight.org
+NEXUS_URL=https://nexus.opendaylight.org
+ODLNEXUSPROXY=https://nexus.opendaylight.org
+SILO=sandbox
+SONAR_URL=https://sonar.opendaylight.org
## add local environment changes post scripts
./jenkins-init-script-local-env.sh
+
+# Create a swap file
+dd if=/dev/zero of=/swap count=1024 bs=1MiB
+chmod 600 /swap
+mkswap /swap
+swapon /swap
install-features: 'odl-restconf-all'
tools_system_count: '1'
- tools_system_flavor: 'v1-performance-1'
+ tools_system_flavor: 'v2-highcpu-2'
tools_system_image: 'ZZCI - CentOS 7 - docker - 20171209-0317'
# Robot custom options
name: aaa-oxygen
jobs:
- '{project-name}-distribution-check-{stream}'
- - '{project-name}-integration-{stream}'
- odl-maven-jobs
stream: oxygen
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
dependencies: 'odlparent-merge-{stream},yangtools-merge-{stream},controller-merge-{stream}'
email-upstream: '[aaa] [odlparent] [yangtools] [controller]'
- archive-artifacts: ''
# Used by the release job
staging-profile-id: 9318cf3c82c33
name: aaa-nitrogen
jobs:
- '{project-name}-distribution-check-{stream}'
- - '{project-name}-integration-{stream}'
- odl-maven-jobs
stream: nitrogen
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
dependencies: 'odlparent-merge-{stream},yangtools-merge-{stream},controller-merge-{stream}'
email-upstream: '[aaa] [odlparent] [yangtools] [controller]'
- archive-artifacts: ''
# Used by the release job
staging-profile-id: 9318cf3c82c33
name: aaa-carbon
jobs:
- '{project-name}-distribution-check-{stream}'
- - '{project-name}-integration-{stream}'
- odl-maven-jobs
stream: carbon
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
dependencies: 'odlparent-merge-{stream},yangtools-merge-{stream},controller-merge-{stream}'
email-upstream: '[aaa] [odlparent] [yangtools] [controller]'
- archive-artifacts: ''
# Used by the release job
staging-profile-id: 9318cf3c82c33
name: alto-oxygen
jobs:
- '{project-name}-distribution-check-{stream}'
- - '{project-name}-integration-{stream}'
- odl-maven-jobs
stream: oxygen
project: 'alto'
project-name: 'alto'
branch: 'master'
+ build-node: centos7-builder-2c-8g
mvn-settings: 'alto-settings'
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
dependencies: 'l2switch-merge-{stream}'
email-upstream: '[alto] [l2switch]'
- archive-artifacts: ''
# Used by the release job
staging-profile-id: 931eabae9693c
name: alto-nitrogen
jobs:
- '{project-name}-distribution-check-{stream}'
- - '{project-name}-integration-{stream}'
- odl-maven-jobs
stream: nitrogen
project: 'alto'
project-name: 'alto'
branch: 'stable/nitrogen'
+ build-node: centos7-builder-2c-8g
mvn-settings: 'alto-settings'
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
dependencies: 'l2switch-merge-{stream}'
email-upstream: '[alto] [l2switch]'
- archive-artifacts: ''
# Used by the release job
staging-profile-id: 931eabae9693c
name: alto-carbon
jobs:
- '{project-name}-distribution-check-{stream}'
- - '{project-name}-integration-{stream}'
- odl-maven-jobs
stream: carbon
project: 'alto'
project-name: 'alto'
branch: 'stable/carbon'
+ build-node: centos7-builder-2c-8g
karaf-version: karaf3
mvn-settings: 'alto-settings'
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
dependencies: 'l2switch-merge-{stream}'
email-upstream: '[alto] [l2switch]'
- archive-artifacts: ''
# Used by the release job
staging-profile-id: 931eabae9693c
project: 'alto'
project-name: 'alto'
branch: 'master'
+ build-node: centos7-builder-2c-8g
mvn-settings: 'alto-settings'
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
name: atrium-oxygen
jobs:
- '{project-name}-distribution-check-{stream}'
- - '{project-name}-integration-{stream}'
- odl-maven-jobs
stream: oxygen
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
dependencies: ''
email-upstream: '[atrium]'
- archive-artifacts: ''
# Used by the release job
staging-profile-id: 9324f12310e6a
name: atrium-nitrogen
jobs:
- '{project-name}-distribution-check-{stream}'
- - '{project-name}-integration-{stream}'
- odl-maven-jobs
stream: nitrogen
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
dependencies: ''
email-upstream: '[atrium]'
- archive-artifacts: ''
# Used by the release job
staging-profile-id: 9324f12310e6a
name: atrium-carbon
jobs:
- '{project-name}-distribution-check-{stream}'
- - '{project-name}-integration-{stream}'
- odl-maven-jobs
stream: carbon
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
dependencies: ''
email-upstream: '[atrium]'
- archive-artifacts: ''
# Used by the release job
staging-profile-id: 9324f12310e6a
- builder:
name: autorelease-update-validate-projects
builders:
- - shell: !include-raw-escape: update-validate-autorelease-projects.sh
+ - shell: !include-raw: update-validate-autorelease-projects.sh
- publisher:
# Search console log for failures and email status to the release mailing list.
- job-template:
name: autorelease-update-validate-jobs-{stream}
project-type: freestyle
- node: centos7-builder-2c-8g
+ node: centos7-builder-2c-1g
properties:
- lf-infra-properties:
disabled: false
project-type: freestyle
- node: '{build-node}'
+ node: centos7-builder-2c-8g
concurrent: true
jdk: '{java-version}'
project: dlux
- dluxapps:
project: dluxapps
- - eman:
- project: eman
- - faas:
- project: faas
- genius:
project: genius
- groupbasedpolicy:
project: infrautils
- integration-distribution:
project: integration/distribution
+ - jsonrpc:
+ project: jsonrpc
- l2switch:
project: l2switch
- lispflowmapping:
project: netvirt
- neutron:
project: neutron
- - nic:
- project: nic
- of-config:
project: of-config
- openflowplugin:
project: snmp4sdn
- sxp:
project: sxp
- - unimgr:
- project: unimgr
+ - tsdr:
+ project: tsdr
- usc:
project: usc
- - vtn:
- project: vtn
odl-restconf,
odl-bgpcep-bgp,
odl-bgpcep-bgp-config-example,
- odl-bgpcep-data-change-counter,
- odl-netconf-topology
+ odl-bgpcep-data-change-counter
# Robot custom options
# Increase the TEST_DURATION_MULTIPLIER if the test runs in slower test
-v TEST_DURATION_MULTIPLIER:4
# Controller configuration
- odl_system_flavor: v1-performance-4
+ odl_system_flavor: v2-standard-4
# Plot Info
01-plot-title: 'Number of generated updates'
odl-restconf,
odl-bgpcep-bgp,
odl-bgpcep-bgp-config-example,
- odl-bgpcep-data-change-counter,
- odl-netconf-topology
+ odl-bgpcep-data-change-counter
# Robot custom options
# Increase the TEST_DURATION_MULTIPLIER if the test runs in slower test
-v TEST_DURATION_MULTIPLIER:4
# Controller configuration
- odl_system_flavor: v1-performance-2
+ odl_system_flavor: v2-standard-2
# Plot Info
01-plot-title: 'Number of generated updates'
odl-jolokia,
odl-bgpcep-data-change-counter,
odl-bgpcep-bgp,
- odl-bgpcep-bgp-config-example,
- odl-netconf-topology
+ odl-bgpcep-bgp-config-example
# Robot custom options:
robot-options: >
-v TEST_DURATION_MULTIPLIER_CHANGE_COUNT_MANY:8.0
# Controller configuration
- odl_system_flavor: v1-performance-4
+ odl_system_flavor: v2-standard-4
install-features: >
odl-restconf-noauth,
odl-bgpcep-bgp,
- odl-bgpcep-bgp-config-example,
- odl-netconf-clustered-topology
+ odl-bgpcep-bgp-config-example
# Robot custom options:
robot-options: '-v USE_NETCONF_CONNECTOR:False'
# Controller configuration
- odl_system_flavor: 'v1-performance-4'
+ odl_system_flavor: 'v2-standard-4'
-v UPDATER_TIMEOUT:600
# Controller configuration
- odl_system_flavor: v1-performance-4
+ odl_system_flavor: v2-standard-4
-v UPDATER_TIMEOUT:600
# Controller configuration
- odl_system_flavor: v1-performance-4
+ odl_system_flavor: v2-standard-4
name: bgpcep-oxygen
jobs:
- '{project-name}-distribution-check-{stream}'
- - '{project-name}-integration-{stream}'
- '{project-name}-maven-javadoc-jobs'
- odl-maven-jobs
mdsal-merge-{stream},
tcpmd5-merge-{stream}
email-upstream: '[bgpcep] [odlparent] [yangtools] [controller] [mdsal] [tcpmd5]'
- archive-artifacts: ''
# Used by the release job
staging-profile-id: 9427a05049030
name: bgpcep-nitrogen
jobs:
- '{project-name}-distribution-check-{stream}'
- - '{project-name}-integration-{stream}'
- '{project-name}-maven-javadoc-jobs'
- odl-maven-jobs
mdsal-merge-{stream},
tcpmd5-merge-{stream}
email-upstream: '[bgpcep] [odlparent] [yangtools] [controller] [mdsal] [tcpmd5]'
- archive-artifacts: ''
# Used by the release job
staging-profile-id: 9427a05049030
name: bgpcep-carbon
jobs:
- '{project-name}-distribution-check-{stream}'
- - '{project-name}-integration-{stream}'
- '{project-name}-maven-javadoc-jobs'
- odl-maven-jobs
mdsal-merge-{stream},
tcpmd5-merge-{stream}
email-upstream: '[bgpcep] [odlparent] [yangtools] [controller] [mdsal] [tcpmd5]'
- archive-artifacts: ''
# Used by the release job
staging-profile-id: 9427a05049030
name: bier-oxygen
jobs:
- '{project-name}-distribution-check-{stream}'
- - '{project-name}-integration-{stream}'
- odl-maven-jobs
stream: oxygen
project: 'bier'
project-name: 'bier'
branch: 'master'
+ build-node: centos7-builder-2c-8g
build-timeout: 90
mvn-settings: 'bier-settings'
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
dependencies: ''
email-upstream: '[bier]'
- archive-artifacts: ''
# Used by the release job
staging-profile-id: 942a8075b1f2a
name: bier-nitrogen
jobs:
- '{project-name}-distribution-check-{stream}'
- - '{project-name}-integration-{stream}'
- odl-maven-jobs
stream: nitrogen
project: 'bier'
project-name: 'bier'
branch: 'stable/nitrogen'
+ build-node: centos7-builder-2c-8g
mvn-settings: 'bier-settings'
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
dependencies: ''
email-upstream: '[bier]'
- archive-artifacts: ''
# Used by the release job
staging-profile-id: 942a8075b1f2a
name: bier-carbon
jobs:
- '{project-name}-distribution-check-{stream}'
- - '{project-name}-integration-{stream}'
- odl-maven-jobs
stream: carbon
project: 'bier'
project-name: 'bier'
branch: 'stable/carbon'
+ build-node: centos7-builder-2c-8g
karaf-version: karaf3
mvn-settings: 'bier-settings'
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
dependencies: ''
email-upstream: '[bier]'
- archive-artifacts: ''
# Used by the release job
staging-profile-id: 942a8075b1f2a
project: 'bier'
project-name: 'bier'
branch: 'master'
+ build-node: centos7-builder-2c-8g
mvn-settings: 'bier-settings'
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
name: capwap-oxygen
jobs:
- '{project-name}-distribution-check-{stream}'
- - '{project-name}-integration-{stream}'
- odl-maven-jobs
stream: oxygen
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
dependencies: ''
email-upstream: '[capwap]'
- archive-artifacts: ''
# Used by the release job
staging-profile-id: 96bd6b5bf86e3
name: capwap-nitrogen
jobs:
- '{project-name}-distribution-check-{stream}'
- - '{project-name}-integration-{stream}'
- odl-maven-jobs
stream: nitrogen
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
dependencies: ''
email-upstream: '[capwap]'
- archive-artifacts: ''
# Used by the release job
staging-profile-id: 96bd6b5bf86e3
name: capwap-carbon
jobs:
- '{project-name}-distribution-check-{stream}'
- - '{project-name}-integration-{stream}'
- odl-maven-jobs
stream: carbon
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
dependencies: ''
email-upstream: '[capwap]'
- archive-artifacts: ''
# Used by the release job
staging-profile-id: 96bd6b5bf86e3
name: cardinal-oxygen
jobs:
- '{project-name}-distribution-check-{stream}'
- - '{project-name}-integration-{stream}'
- odl-maven-jobs
stream: oxygen
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
dependencies: 'openflowplugin-merge-{stream},iotdm-merge-{stream},sfc-merge-{stream}'
email-upstream: '[cardinal] [openflowplugin] [iotdm] [sfc]'
- archive-artifacts: ''
# Used by the release job
staging-profile-id: 96be20348f0f2
name: cardinal-nitrogen
jobs:
- '{project-name}-distribution-check-{stream}'
- - '{project-name}-integration-{stream}'
- odl-maven-jobs
stream: nitrogen
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
dependencies: 'openflowplugin-merge-{stream},iotdm-merge-{stream},sfc-merge-{stream}'
email-upstream: '[cardinal] [openflowplugin] [iotdm] [sfc]'
- archive-artifacts: ''
# Used by the release job
staging-profile-id: 96be20348f0f2
name: cardinal-carbon
jobs:
- '{project-name}-distribution-check-{stream}'
- - '{project-name}-integration-{stream}'
- odl-maven-jobs
stream: carbon
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
dependencies: 'openflowplugin-merge-{stream},iotdm-merge-{stream},sfc-merge-{stream}'
email-upstream: '[cardinal] [openflowplugin] [iotdm] [sfc]'
- archive-artifacts: ''
# Used by the release job
staging-profile-id: 96be20348f0f2
name: centinel-oxygen
jobs:
- '{project-name}-distribution-check-{stream}'
- - '{project-name}-integration-{stream}'
- odl-maven-jobs
stream: oxygen
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
dependencies: ''
email-upstream: '[centinel]'
- archive-artifacts: ''
# Used by the release job
staging-profile-id: 96bf9b3fefd8a
name: centinel-nitrogen
jobs:
- '{project-name}-distribution-check-{stream}'
- - '{project-name}-integration-{stream}'
- odl-maven-jobs
stream: nitrogen
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
dependencies: ''
email-upstream: '[centinel]'
- archive-artifacts: ''
# Used by the release job
staging-profile-id: 96bf9b3fefd8a
name: centinel-carbon
jobs:
- '{project-name}-distribution-check-{stream}'
- - '{project-name}-integration-{stream}'
- odl-maven-jobs
stream: carbon
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
dependencies: ''
email-upstream: '[centinel]'
- archive-artifacts: ''
# Used by the release job
staging-profile-id: 96bf9b3fefd8a
name: coe-oxygen
jobs:
- '{project-name}-distribution-check-{stream}'
- - '{project-name}-integration-{stream}'
- odl-maven-jobs
project: 'coe'
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
dependencies: 'odlparent-merge-{stream},yangtools-merge-{stream},controller-merge-{stream}'
email-upstream: '[coe] [odlparent] [yangtools] [controller]'
- archive-artifacts: ''
# Used by the release job
staging-profile-id: 96c0be46aac33
name: coe-nitrogen
jobs:
- '{project-name}-distribution-check-{stream}'
- - '{project-name}-integration-{stream}'
- odl-maven-jobs
project: 'coe'
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
dependencies: 'odlparent-merge-{stream},yangtools-merge-{stream},controller-merge-{stream}'
email-upstream: '[coe] [odlparent] [yangtools] [controller]'
- archive-artifacts: ''
# Used by the release job
staging-profile-id: 96c0be46aac33
- project:
name: coe-carbon
jobs:
- - '{project-name}-integration-{stream}'
- odl-maven-jobs
project: 'coe'
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
dependencies: 'odlparent-merge-{stream},yangtools-merge-{stream},controller-merge-{stream}'
email-upstream: '[coe] [odlparent] [yangtools] [controller]'
- archive-artifacts: ''
# Used by the release job
staging-profile-id: 96c0be46aac33
# ODL system image to use
# The job uses scriptplan to set heap to 4GB, so 4GB RAM is not enough.
- odl_system_flavor: 'v1-performance-4'
+ odl_system_flavor: 'v2-standard-4'
build-timeout: '480'
# ODL system image to use
# The job uses scriptplan to set heap to 4GB, so 4GB RAM is not enough.
- odl_system_flavor: v1-performance-4
+ odl_system_flavor: v2-standard-4
# Plot Info
01-plot-title: 'Performance by structure'
name: controller-oxygen
jobs:
- '{project-name}-distribution-check-{stream}'
- - '{project-name}-integration-{stream}'
- '{project-name}-maven-javadoc-jobs'
- odl-maven-jobs
build-timeout: 90
dependencies: 'odlparent-merge-{stream},yangtools-merge-{stream},aaa-merge-{stream}'
email-upstream: '[controller] [odlparent] [yangtools] [aaa]'
- archive-artifacts: ''
# Used by the release job
staging-profile-id: 96c1c9177efdd
name: controller-nitrogen
jobs:
- '{project-name}-distribution-check-{stream}'
- - '{project-name}-integration-{stream}'
- odl-maven-jobs
stream: nitrogen
build-timeout: 90
dependencies: 'odlparent-merge-{stream},yangtools-merge-{stream},aaa-merge-{stream}'
email-upstream: '[controller] [odlparent] [yangtools] [aaa]'
- archive-artifacts: ''
# Used by the release job
staging-profile-id: 96c1c9177efdd
name: controller-carbon
jobs:
- '{project-name}-distribution-check-{stream}'
- - '{project-name}-integration-{stream}'
- odl-maven-jobs
stream: carbon
build-timeout: 90
dependencies: 'odlparent-merge-{stream},yangtools-merge-{stream},aaa-merge-{stream}'
email-upstream: '[controller] [odlparent] [yangtools] [aaa]'
- archive-artifacts: ''
# Used by the release job
staging-profile-id: 96c1c9177efdd
- project:
name: coretutorials-oxygen
jobs:
- - '{project-name}-integration-{stream}'
- odl-maven-jobs
stream: oxygen
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
dependencies: ''
email-upstream: '[coretutorials]'
- archive-artifacts: ''
build-timeout: 120
# Used by the release job
- project:
name: coretutorials-nitrogen
jobs:
- - '{project-name}-integration-{stream}'
- odl-maven-jobs
stream: nitrogen
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
dependencies: ''
email-upstream: '[coretutorials]'
- archive-artifacts: ''
build-timeout: 120
# Used by the release job
- project:
name: coretutorials-carbon
jobs:
- - '{project-name}-integration-{stream}'
- odl-maven-jobs
stream: carbon
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
dependencies: ''
email-upstream: '[coretutorials]'
- archive-artifacts: ''
build-timeout: 120
# Used by the release job
name: daexim-oxygen
jobs:
- '{project-name}-distribution-check-{stream}'
- - '{project-name}-integration-{stream}'
- odl-maven-jobs
project: 'daexim'
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
dependencies: 'odlparent-merge-{stream},yangtools-merge-{stream},controller-merge-{stream}'
email-upstream: '[daexim] [odlparent] [yangtools] [controller]'
- archive-artifacts: ''
# Used by the release job
staging-profile-id: 96e4dade34bd7
name: daexim-nitrogen
jobs:
- '{project-name}-distribution-check-{stream}'
- - '{project-name}-integration-{stream}'
- odl-maven-jobs
project: 'daexim'
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
dependencies: 'odlparent-merge-{stream},yangtools-merge-{stream},controller-merge-{stream}'
email-upstream: '[daexim] [odlparent] [yangtools] [controller]'
- archive-artifacts: ''
# Used by the release job
staging-profile-id: 96e4dade34bd7
name: didm-oxygen
jobs:
- '{project-name}-distribution-check-{stream}'
- - '{project-name}-integration-{stream}'
- odl-maven-jobs
stream: oxygen
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
dependencies: ''
email-upstream: '[didm]'
- archive-artifacts: ''
# Used by the release job
staging-profile-id: 96e6338c870f5
name: didm-nitrogen
jobs:
- '{project-name}-distribution-check-{stream}'
- - '{project-name}-integration-{stream}'
- odl-maven-jobs
stream: nitrogen
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
dependencies: ''
email-upstream: '[didm]'
- archive-artifacts: ''
# Used by the release job
staging-profile-id: 96e6338c870f5
name: didm-carbon
jobs:
- '{project-name}-distribution-check-{stream}'
- - '{project-name}-integration-{stream}'
- odl-maven-jobs
stream: carbon
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
dependencies: ''
email-upstream: '[didm]'
- archive-artifacts: ''
# Used by the release job
staging-profile-id: 96e6338c870f5
name: dlux-oxygen
jobs:
- '{project-name}-distribution-check-{stream}'
- - '{project-name}-integration-{stream}'
- odl-maven-jobs
stream: oxygen
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
dependencies: 'odlparent-merge-{stream}'
email-upstream: '[dlux] [odlparent]'
- archive-artifacts: ''
# Used by the release job
staging-profile-id: 96e6a0327484f
name: dlux-nitrogen
jobs:
- '{project-name}-distribution-check-{stream}'
- - '{project-name}-integration-{stream}'
- odl-maven-jobs
stream: nitrogen
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
dependencies: 'odlparent-merge-{stream}'
email-upstream: '[dlux] [odlparent]'
- archive-artifacts: ''
# Used by the release job
staging-profile-id: 96e6a0327484f
name: dlux-carbon
jobs:
- '{project-name}-distribution-check-{stream}'
- - '{project-name}-integration-{stream}'
- odl-maven-jobs
stream: carbon
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
dependencies: 'odlparent-merge-{stream}'
email-upstream: '[dlux] [odlparent]'
- archive-artifacts: ''
# Used by the release job
staging-profile-id: 96e6a0327484f
name: dluxapps-oxygen
jobs:
- '{project-name}-distribution-check-{stream}'
- - '{project-name}-integration-{stream}'
- odl-maven-jobs
project: 'dluxapps'
project-name: 'dluxapps'
stream: oxygen
branch: 'master'
+ build-node: centos7-builder-2c-8g
mvn-settings: 'dluxapps-settings'
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
dependencies: 'odlparent-merge-{stream},yangtools-merge-{stream},controller-merge-{stream}'
email-upstream: '[dluxapps] [odlparent] [yangtools] [controller]'
- archive-artifacts: ''
# Used by the release job
staging-profile-id: 96e6fb1e65bf9
name: dluxapps-nitrogen
jobs:
- '{project-name}-distribution-check-{stream}'
- - '{project-name}-integration-{stream}'
- odl-maven-jobs
project: 'dluxapps'
project-name: 'dluxapps'
stream: nitrogen
branch: 'stable/nitrogen'
+ build-node: centos7-builder-2c-8g
mvn-settings: 'dluxapps-settings'
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
dependencies: 'odlparent-merge-{stream},yangtools-merge-{stream},controller-merge-{stream}'
email-upstream: '[dluxapps] [odlparent] [yangtools] [controller]'
- archive-artifacts: ''
# Used by the release job
staging-profile-id: 96e6fb1e65bf9
name: dluxapps-carbon
jobs:
- '{project-name}-distribution-check-{stream}'
- - '{project-name}-integration-{stream}'
- odl-maven-jobs
project: 'dluxapps'
project-name: 'dluxapps'
stream: carbon
branch: 'stable/carbon'
+ build-node: centos7-builder-2c-8g
karaf-version: karaf3
mvn-settings: 'dluxapps-settings'
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
dependencies: 'odlparent-merge-{stream},yangtools-merge-{stream},controller-merge-{stream}'
email-upstream: '[dluxapps] [odlparent] [yangtools] [controller]'
- archive-artifacts: ''
# Used by the release job
staging-profile-id: 96e6fb1e65bf9
project: 'dluxapps'
project-name: 'dluxapps'
branch: 'master'
+ build-node: centos7-builder-2c-8g
mvn-settings: 'dluxapps-settings'
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
build-node: centos7-builder-2c-8g
build-timeout: 30
rtd-project: opendaylight
- archive-artifacts: ''
name: eman-oxygen
jobs:
- '{project-name}-distribution-check-{stream}'
- - '{project-name}-integration-{stream}'
- '{project-name}-maven-javadoc-jobs'
- odl-maven-jobs
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
dependencies: ''
email-upstream: '[eman]'
- archive-artifacts: ''
build-node: centos7-builder-4c-16g
# Used by the release job
name: eman-nitrogen
jobs:
- '{project-name}-distribution-check-{stream}'
- - '{project-name}-integration-{stream}'
- '{project-name}-maven-javadoc-jobs'
- odl-maven-jobs
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
dependencies: ''
email-upstream: '[eman]'
- archive-artifacts: ''
build-node: centos7-builder-4c-16g
# Used by the release job
name: eman-carbon
jobs:
- '{project-name}-distribution-check-{stream}'
- - '{project-name}-integration-{stream}'
- '{project-name}-maven-javadoc-jobs'
- odl-maven-jobs
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
dependencies: ''
email-upstream: '[eman]'
- archive-artifacts: ''
build-node: centos7-builder-4c-16g
# Used by the release job
name: faas-oxygen
jobs:
- '{project-name}-distribution-check-{stream}'
- - '{project-name}-integration-{stream}'
- odl-maven-jobs
stream: oxygen
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
dependencies: ''
email-upstream: '[faas]'
- archive-artifacts: ''
# Used by the release job
staging-profile-id: 96f5ac591d858
name: faas-nitrogen
jobs:
- '{project-name}-distribution-check-{stream}'
- - '{project-name}-integration-{stream}'
- odl-maven-jobs
stream: nitrogen
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
dependencies: ''
email-upstream: '[faas]'
- archive-artifacts: ''
# Used by the release job
staging-profile-id: 96f5ac591d858
name: faas-carbon
jobs:
- '{project-name}-distribution-check-{stream}'
- - '{project-name}-integration-{stream}'
- odl-maven-jobs
stream: carbon
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
dependencies: ''
email-upstream: '[faas]'
- archive-artifacts: ''
# Used by the release job
staging-profile-id: 96f5ac591d858
name: federation-oxygen
jobs:
- '{project-name}-distribution-check-{stream}'
- - '{project-name}-integration-{stream}'
- '{project-name}-maven-javadoc-jobs'
- odl-maven-jobs
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
dependencies: 'odlparent-merge-{stream},yangtools-merge-{stream},controller-merge-{stream}'
email-upstream: '[federation] [odlparent] [yangtools] [controller]'
- archive-artifacts: ''
# Used by the release job
staging-profile-id: 96f78c7a40a24
name: federation-nitrogen
jobs:
- '{project-name}-distribution-check-{stream}'
- - '{project-name}-integration-{stream}'
- '{project-name}-maven-javadoc-jobs'
- odl-maven-jobs
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
dependencies: 'odlparent-merge-{stream},yangtools-merge-{stream},controller-merge-{stream}'
email-upstream: '[federation] [odlparent] [yangtools] [controller]'
- archive-artifacts: ''
# Used by the release job
staging-profile-id: 96f78c7a40a24
name: federation-carbon
jobs:
- '{project-name}-distribution-check-{stream}'
- - '{project-name}-integration-{stream}'
- '{project-name}-maven-javadoc-jobs'
- odl-maven-jobs
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
dependencies: 'odlparent-merge-{stream},yangtools-merge-{stream},controller-merge-{stream}'
email-upstream: '[federation] [odlparent] [yangtools] [controller]'
- archive-artifacts: ''
# Used by the release job
staging-profile-id: 96f78c7a40a24
---
- project:
- name: genius-csit-genius
+ name: genius-csit-genius-oxygen
jobs:
- inttest-csit-1node
- inttest-csit-3node
- - inttest-csit-verify-1node
- - inttest-csit-verify-3node
-
# The project name
project: 'genius'
stream:
- oxygen:
branch: 'master'
+ install:
+ - all:
+ scope: 'all'
+
+ # Mininet configuration
+ tools_system_count: 3
+ tools_system_image: ZZCI - Ubuntu 16.04 - mininet-ovs-25 - 20171208-1847
+
+ # Features to install
+ install-features: 'odl-genius-rest'
+
+ # Robot custom options
+ robot-options: ' '
+
+- project:
+ name: genius-csit-genius-{stream}
+ jobs:
+ - inttest-csit-1node
+ - inttest-csit-3node
+ - inttest-csit-verify-1node
+ - inttest-csit-verify-3node
+
+
+ # The project name
+ project: 'genius'
+
+ # The functionality under test
+ functionality:
+ - 'upstream'
+ - 'gate'
+
+ # Project branches
+ stream:
- nitrogen:
branch: 'stable/nitrogen'
- carbon:
name: genius-oxygen
jobs:
- '{project-name}-distribution-check-{stream}'
- - '{project-name}-integration-{stream}'
- '{project-name}-maven-javadoc-jobs'
- odl-maven-jobs
project: 'genius'
project-name: 'genius'
branch: 'master'
+ build-node: centos7-builder-2c-8g
mvn-settings: 'genius-settings'
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
build-timeout: 90
openflowplugin-merge-{stream},
neutron-merge-{stream}
email-upstream: '[genius] [controller] [yangtools] [odlparent] [openflowplugin] [neutron]'
- archive-artifacts: ''
# Used by the release job
staging-profile-id: 96fb4b6d9d1ee
name: genius-nitrogen
jobs:
- '{project-name}-distribution-check-{stream}'
- - '{project-name}-integration-{stream}'
- odl-maven-jobs
stream: nitrogen
project: 'genius'
project-name: 'genius'
branch: 'stable/nitrogen'
+ build-node: centos7-builder-2c-8g
mvn-settings: 'genius-settings'
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
dependencies: >
openflowplugin-merge-{stream},
neutron-merge-{stream}
email-upstream: '[genius] [controller] [yangtools] [odlparent] [openflowplugin] [neutron]'
- archive-artifacts: ''
# Used by the release job
staging-profile-id: 96fb4b6d9d1ee
name: genius-carbon
jobs:
- '{project-name}-distribution-check-{stream}'
- - '{project-name}-integration-{stream}'
- odl-maven-jobs
stream: carbon
project: 'genius'
project-name: 'genius'
branch: 'stable/carbon'
+ build-node: centos7-builder-2c-8g
karaf-version: karaf3
mvn-settings: 'genius-settings'
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
openflowplugin-merge-{stream},
neutron-merge-{stream}
email-upstream: '[genius] [controller] [yangtools] [odlparent] [openflowplugin] [neutron]'
- archive-artifacts: ''
# Used by the release job
staging-profile-id: 96fb4b6d9d1ee
project: 'genius'
project-name: 'genius'
branch: 'master'
+ build-node: centos7-builder-2c-8g
mvn-settings: 'genius-settings'
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
-Subproject commit d22c3fe8f7bc3f3276dedd7448c4f82f50fe7584
+Subproject commit 8e33e6ab798cd57a383cb8871d973de3fce6340c
name: groupbasedpolicy-oxygen
jobs:
- '{project-name}-distribution-check-{stream}'
- - '{project-name}-integration-{stream}'
- odl-maven-jobs
stream: oxygen
project: 'groupbasedpolicy'
project-name: 'groupbasedpolicy'
branch: 'master'
+ build-node: centos7-builder-2c-8g
mvn-settings: 'groupbasedpolicy-settings'
mvn-goals: '-U clean deploy findbugs:findbugs'
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
sfc-merge-{stream},
ovsdb-merge-{stream}
email-upstream: '[groupbasedpolicy] [openflowjava] [openflowplugin] [neutron] [sfc] [ovsdb]'
- archive-artifacts: ''
# Used by the release job
staging-profile-id: 96fbb93f95a76
name: groupbasedpolicy-nitrogen
jobs:
- '{project-name}-distribution-check-{stream}'
- - '{project-name}-integration-{stream}'
- odl-maven-jobs
stream: nitrogen
project: 'groupbasedpolicy'
project-name: 'groupbasedpolicy'
branch: 'stable/nitrogen'
+ build-node: centos7-builder-2c-8g
mvn-settings: 'groupbasedpolicy-settings'
mvn-goals: '-U clean deploy findbugs:findbugs'
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
sfc-merge-{stream},
ovsdb-merge-{stream}
email-upstream: '[groupbasedpolicy] [openflowjava] [openflowplugin] [neutron] [sfc] [ovsdb]'
- archive-artifacts: ''
# Used by the release job
staging-profile-id: 96fbb93f95a76
name: groupbasedpolicy-carbon
jobs:
- '{project-name}-distribution-check-{stream}'
- - '{project-name}-integration-{stream}'
- odl-maven-jobs
stream: carbon
project: 'groupbasedpolicy'
project-name: 'groupbasedpolicy'
branch: 'stable/carbon'
+ build-node: centos7-builder-2c-8g
karaf-version: karaf3
mvn-settings: 'groupbasedpolicy-settings'
mvn-goals: '-U clean deploy findbugs:findbugs'
sfc-merge-{stream},
ovsdb-merge-{stream}
email-upstream: '[groupbasedpolicy] [openflowjava] [openflowplugin] [neutron] [sfc] [ovsdb]'
- archive-artifacts: ''
# Used by the release job
staging-profile-id: 96fbb93f95a76
project: 'groupbasedpolicy'
project-name: 'groupbasedpolicy'
branch: 'master'
+ build-node: centos7-builder-2c-8g
mvn-settings: 'groupbasedpolicy-settings'
mvn-goals: '-U clean deploy findbugs:findbugs'
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
name: vbd-oxygen
jobs:
- '{project-name}-distribution-check-{stream}'
- - '{project-name}-integration-{stream}'
- odl-maven-jobs
stream: oxygen
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
dependencies: ''
email-upstream: '[vbd]'
- archive-artifacts: ''
# Used by the release job
staging-profile-id: 96fc362c36862
name: vbd-nitrogen
jobs:
- '{project-name}-distribution-check-{stream}'
- - '{project-name}-integration-{stream}'
- odl-maven-jobs
stream: nitrogen
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
dependencies: ''
email-upstream: '[vbd]'
- archive-artifacts: ''
# Used by the release job
staging-profile-id: 96fc362c36862
name: vbd-carbon
jobs:
- '{project-name}-distribution-check-{stream}'
- - '{project-name}-integration-{stream}'
- odl-maven-jobs
stream: carbon
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
dependencies: ''
email-upstream: '[vbd]'
- archive-artifacts: ''
# Used by the release job
staging-profile-id: 96fc362c36862
name: infrautils-oxygen
jobs:
- '{project-name}-distribution-check-{stream}'
- - '{project-name}-integration-{stream}'
- '{project-name}-maven-javadoc-jobs'
- odl-maven-jobs
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
dependencies: 'odlparent-merge-{stream}'
email-upstream: '[infrautils] [odlparent]'
- archive-artifacts: ''
# Used by the release job
staging-profile-id: 96fca0367756c
name: infrautils-nitrogen
jobs:
- '{project-name}-distribution-check-{stream}'
- - '{project-name}-integration-{stream}'
- odl-maven-jobs
stream: nitrogen
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
dependencies: 'odlparent-merge-{stream}'
email-upstream: '[infrautils] [odlparent]'
- archive-artifacts: ''
# Used by the release job
staging-profile-id: 96fca0367756c
name: infrautils-carbon
jobs:
- '{project-name}-distribution-check-{stream}'
- - '{project-name}-integration-{stream}'
- odl-maven-jobs
stream: carbon
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
dependencies: 'odlparent-merge-{stream}'
email-upstream: '[infrautils] [odlparent]'
- archive-artifacts: ''
# Used by the release job
staging-profile-id: 96fca0367756c
# Setup JAVA_HOME and MAX_MEM Value in ODL startup config file
function set_java_vars() {
local JAVA_HOME=$1
+ local CONTROLLERMEM=$2
echo "Configure java home and max memory..."
sed -ie 's%^# export JAVA_HOME%export JAVA_HOME=${JAVA_HOME:-'"${JAVA_HOME}"'}%g' ${MEMCONF}
local -r controllerdebugmap=$2
local logapi=log4j
- echo "Configuring the karaf log... karaf_version: ${karaf_version}"
- if [[ "${karaf_version}" == "karaf4" ]]; then
+ # Check what the logging.cfg file is using for the logging api: log4j or log4j2
+ grep "log4j2" ${LOGCONF}
+ if [ $? -eq 0 ]; then
logapi=log4j2
+ fi
+
+ echo "Configuring the karaf log... karaf_version: ${karaf_version}, logapi: ${logapi}"
+ if [ "${logapi}" == "log4j2" ]; then
# FIXME: Make log size limit configurable from build parameter.
sed -ie 's/log4j2.appender.rolling.policies.size.size = 16MB/log4j2.appender.rolling.policies.size.size = 1GB/g' ${LOGCONF}
orgmodule="org.opendaylight.yangtools.yang.parser.repo.YangTextSchemaContextResolver"
# shellcheck disable=SC2157
if [ -n "${module}" ] && [ -n "${level}" ]; then
orgmodule="org.opendaylight.${module}"
- if [[ "${karaf_version}" == "karaf4" ]]; then
+ if [ "${logapi}" == "log4j2" ]; then
orgmodule_="${orgmodule//./_}"
echo "${logapi}.logger.${orgmodule_}.name = ${orgmodule}" >> ${LOGCONF}
echo "${logapi}.logger.${orgmodule_}.level = ${level}" >> ${LOGCONF}
done
fi
+ echo "cat ${LOGCONF}"
cat ${LOGCONF}
} # function configure_karaf_log()
cp "${0}" /tmp/common-functions.sh
source /tmp/v/openstack/bin/activate
- # shellcheck disable=SC2207
- ips=($(openstack stack show -f json -c outputs "$STACK_NAME" | \
- jq -r '.outputs[] | select(.output_key | match("^vm_[0-9]+_ips$")) | .output_value | .[]'))
+ mapfile -t ips <<< "$(openstack stack show -f json -c outputs "$STACK_NAME" | jq -r '.outputs[] | select(.output_key | match("^vm_[0-9]+_ips$")) | .output_value | .[]')"
for ip in "${ips[@]}"; do
echo "Copying common-functions.sh to ${ip}:/tmp"
scp /tmp/common-functions.sh ${ip}:/tmp
name: 'distribution-verify-{stream}'
project-type: freestyle
- node: centos7-builder-2c-8g
+ node: centos7-builder-8c-8g
concurrent: true
jdk: '{jre}'
# https://issues.apache.org/jira/browse/MNG-5666
project-type: maven
- node: '{build-node}'
+ node: 'centos7-builder-8c-8g'
jdk: '{jre}'
properties:
- job-template:
name: 'distribution-check-{stream}'
+
+ ######################
+ # Default parameters #
+ ######################
+
+ mvn-version: mvn33
+
+ #####################
+ # Job Configuration #
+ #####################
+
# Like a {project}-distribution-check, but few steps less as there is no upstream project involved.
disabled: false
project-type: freestyle
- node: '{build-node}'
+ node: 'centos7-builder-8c-8g'
concurrent: true
- jdk: '{jdk}'
+ jdk: '{java-version}'
properties:
- opendaylight-infra-properties:
- distribution-check-build-project:
pom: 'distribution/pom.xml'
mvn-opts: '{opendaylight-infra-mvn-opts}'
+ mvn-version: '{mvn-version}'
# '{opendaylight-infra-parallel-mvn-opts}' is bad when there are multiple big features in SFT.
- distribution-check-verify-groupid:
gerrit-project: 'integration'
- distribution-check-repeat-project-build:
pom: 'distribution/pom.xml'
mvn-opts: '{opendaylight-infra-mvn-opts}'
+ mvn-version: '{mvn-version}'
# '{opendaylight-infra-parallel-mvn-opts}' is bad when there are multiple big features in SFT.
- integration-set-variables
- distribution-check-warn-9191
# FIXME: List required variables.
project-type: freestyle
- node: centos7-builder-2c-8g
+ node: centos7-builder-4c-4g
concurrent: false
properties:
# FIXME: List required variables.
project-type: freestyle
- node: centos7-builder-2c-8g
+ node: centos7-builder-4c-4g
concurrent: false
properties:
# pom: Relative path to pom file to use. Typically '$GERRIT_PROJECT/pom.xml'.
builders:
- maven-target:
- maven-version: 'mvn33'
+ maven-version: '{mvn-version}'
pom: '{pom}'
goals: |
clean deploy
# dist-pom: Relative path to pom file to use. 'distribution/pom.xml' is recommended.
builders:
- maven-target:
- maven-version: 'mvn33'
+ maven-version: '{mvn-version}'
pom: '{dist-pom}'
goals: |
clean install
- shell: |
cp -r /tmp/r /tmp/t
- maven-target:
- maven-version: 'mvn33'
+ maven-version: '{mvn-version}'
pom: '{pom}'
goals: |
clean install
# dist-pom: Relative path to pom file to use. 'distribution/pom.xml' is recommended.
builders:
- maven-target:
- maven-version: 'mvn33'
+ maven-version: '{mvn-version}'
pom: '{dist-pom}'
goals: |
clean install
- job-template:
name: '{project-name}-distribution-check-{stream}'
+
+ ######################
+ # Default parameters #
+ ######################
+
+ java-version: openjdk8
+ mvn-version: mvn33
+
+ #####################
+ # Job Configuration #
+ #####################
+
# Operation: This job template builds a patch, creates a distribution containing
# the patch (making sure dependencies are specified),
# and performs the distribution deploy test.
disabled: false
project-type: freestyle
- node: '{build-node}'
+ node: 'centos7-builder-8c-8g'
concurrent: true
- jdk: '{jdk}'
+ jdk: '{java-version}'
properties:
- opendaylight-infra-properties:
- distribution-karaf-version:
karaf-version: '{karaf-version}'
- maven-exec:
- maven-version: mvn33
+ maven-version: '{mvn-version}'
scm:
- integration-gerrit-scm:
- distribution-check-build-project:
pom: '$GERRIT_PROJECT/pom.xml'
mvn-opts: '{opendaylight-infra-mvn-opts}'
+ mvn-version: '{mvn-version}'
# {opendaylight-infra-parallel-mvn-opts} is bad when there are multiple big features in SFT.
- distribution-check-verify-groupid:
gerrit-project: '$GERRIT_PROJECT'
- distribution-check-download-deps:
dist-pom: 'distribution/pom.xml'
mvn-opts: '{opendaylight-infra-mvn-opts}'
+ mvn-version: '{mvn-version}'
# {opendaylight-infra-parallel-mvn-opts} is bad when there are multiple big features in SFT.
- distribution-check-delete-snapshots
- distribution-check-configure-remotes
- distribution-check-repeat-project-build:
pom: '$GERRIT_PROJECT/pom.xml'
mvn-opts: '{opendaylight-infra-mvn-opts}'
+ mvn-version: '{mvn-version}'
# {opendaylight-infra-parallel-mvn-opts} is bad when there are multiple big features in SFT.
- distribution-check-repeat-distro-build:
dist-pom: 'distribution/pom.xml'
mvn-opts: '{opendaylight-infra-mvn-opts}'
+ mvn-version: '{mvn-version}'
# {opendaylight-infra-parallel-mvn-opts} is bad when there are multiple big features in SFT.
- integration-set-variables
- distribution-check-warn-9191
configure_karaf_log "${KARAF_VERSION}" "${CONTROLLERDEBUGMAP}"
-set_java_vars "${JAVA_HOME}"
+set_java_vars "${JAVA_HOME}" "${CONTROLLERMEM}"
# Copy shard file if exists
if [ -f /tmp/custom_shard_config.txt ]; then
configure_karaf_log "${KARAF_VERSION}" "${CONTROLLERDEBUGMAP}"
-set_java_vars "${JAVA_HOME}"
+set_java_vars "${JAVA_HOME}" "${CONTROLLERMEM}"
echo "Listing all open ports on controller system..."
netstat -pnatu
if [ "${ENABLE_NETWORKING_L2GW}" == "yes" ]; then
#networking-l2gw is not officially available in any release yet. Gettting the latest stable version.
- $PYTHON -m pip install networking-l2gw
+ $PYTHON -m pip install networking-l2gw==11.0.0
fi
}
} # configure_haproxy_for_neutron_requests()
# Collect the list of files on the hosts
-function list_files () {
- local ip=$1
- local folder=$2
- ${SSH} ${ip} "sudo find /etc > /tmp/find.etc.txt"
- ${SSH} ${ip} "sudo find /opt/stack > /tmp/find.opt.stack.txt"
- ${SSH} ${ip} "sudo find /var > /tmp/find2.txt"
- ${SSH} ${ip} "sudo find /var > /tmp/find.var.txt"
- rsync --rsync-path="sudo rsync" --list-only -arvhe ssh ${ip}:/etc/ > ${folder}/rsync.etc.txt
- rsync --rsync-path="sudo rsync" --list-only -arvhe ssh ${ip}:/opt/stack/ > ${folder}/rsync.opt.stack.txt
- rsync --rsync-path="sudo rsync" --list-only -arvhe ssh ${ip}:/var/ > ${folder}/rsync.var.txt
- scp ${ip}:/tmp/find.etc.txt ${folder}
- scp ${ip}:/tmp/find.opt.stack.txt ${folder}
- scp ${ip}:/tmp/find2.txt ${folder}
- scp ${ip}:/tmp/find.var.txt ${folder}
+function collect_files () {
+ local -r ip=$1
+ local -r folder=$2
+ finddir=/tmp/finder
+ ${SSH} ${ip} "mkdir -p ${finddir}"
+ ${SSH} ${ip} "sudo find /etc > ${finddir}/find.etc.txt"
+ ${SSH} ${ip} "sudo find /opt/stack > ${finddir}/find.opt.stack.txt"
+ ${SSH} ${ip} "sudo find /var > ${finddir}/find2.txt"
+ ${SSH} ${ip} "sudo find /var > ${finddir}/find.var.txt"
+ ${SSH} ${ip} "sudo tar -cf - -C /tmp finder | xz -T 0 > /tmp/find.tar.xz"
+ scp ${ip}:/tmp/find.tar.xz ${folder}
+ mkdir -p ${finddir}
+ rsync --rsync-path="sudo rsync" --list-only -arvhe ssh ${ip}:/etc/ > ${finddir}/rsync.etc.txt
+ rsync --rsync-path="sudo rsync" --list-only -arvhe ssh ${ip}:/opt/stack/ > ${finddir}/rsync.opt.stack.txt
+ rsync --rsync-path="sudo rsync" --list-only -arvhe ssh ${ip}:/var/ > ${finddir}/rsync.var.txt
+ tar -cf - -C /tmp finder | xz -T 0 > /tmp/rsync.tar.xz
+ cp /tmp/rsync.tar.xz ${folder}
}
function collect_logs () {
scp ${!CONTROLLERIP}:/tmp/journalctl.log ${NODE_FOLDER}
${SSH} ${!CONTROLLERIP} "dmesg -T > /tmp/dmesg.log"
scp ${!CONTROLLERIP}:/tmp/dmesg.log ${NODE_FOLDER}
- rsync -avhe ssh ${!CONTROLLERIP}:/tmp/${BUNDLEFOLDER}/etc ${NODE_FOLDER}
+ ${SSH} ${!CONTROLLERIP} "tar -cf - -C /tmp/${BUNDLEFOLDER} etc | xz -T 0 > /tmp/etc.tar.xz"
+ scp ${!CONTROLLERIP}:/tmp/etc.tar.xz ${NODE_FOLDER}
${SSH} ${!CONTROLLERIP} "cp -r /tmp/${BUNDLEFOLDER}/data/log /tmp/odl_log"
${SSH} ${!CONTROLLERIP} "tar -cf /tmp/odl${i}_karaf.log.tar /tmp/odl_log/*"
scp ${!CONTROLLERIP}:/tmp/odl${i}_karaf.log.tar ${NODE_FOLDER}
scp ${!OSIP}:/tmp/ovsdb-tool.log ${NODE_FOLDER}
scp ${!OSIP}:/var/log/openvswitch/ovs-vswitchd.log ${NODE_FOLDER}
scp ${!OSIP}:/var/log/openvswitch/ovsdb-server.log ${NODE_FOLDER}
- list_files "${!OSIP}" "${NODE_FOLDER}"
+ collect_files "${!OSIP}" "${NODE_FOLDER}"
+ ${SSH} ${!OSIP} "sudo tar -cf - -C /var/log rabbitmq | xz -T 0 > /tmp/rabbitmq.tar.xz "
+ scp ${!OSIP}:/tmp/rabbitmq.tar.xz ${NODE_FOLDER}
rsync --rsync-path="sudo rsync" -avhe ssh ${!OSIP}:/etc/hosts ${NODE_FOLDER}
rsync --rsync-path="sudo rsync" -avhe ssh ${!OSIP}:/usr/lib/systemd/system/haproxy.service ${NODE_FOLDER}
rsync --rsync-path="sudo rsync" -avhe ssh ${!OSIP}:/var/log/audit/audit.log ${NODE_FOLDER}
rsync --rsync-path="sudo rsync" -avhe ssh ${!OSIP}:/var/log/httpd/keystone_access.log ${NODE_FOLDER}
rsync --rsync-path="sudo rsync" -avhe ssh ${!OSIP}:/var/log/httpd/keystone.log ${NODE_FOLDER}
rsync --rsync-path="sudo rsync" -avhe ssh ${!OSIP}:/var/log/messages ${NODE_FOLDER}
- rsync --rsync-path="sudo rsync" -avhe ssh ${!OSIP}:/var/log/rabbitmq ${NODE_FOLDER}
rsync -avhe ssh ${!OSIP}:/opt/stack/logs/* ${NODE_FOLDER} # rsync to prevent copying of symbolic links
mv local.conf_control_${!OSIP} ${NODE_FOLDER}/local.conf
- # qdhcp files are created by robot tests
- mv /tmp/qdhcp ${NODE_FOLDER}
+ # qdhcp files are created by robot tests and copied into /tmp/qdhcp during the test
+ tar -cf - -C /tmp qdhcp | xz -T 0 > /tmp/qdhcp.tar.xz
+ mv /tmp/qdhcp.tar.xz ${NODE_FOLDER}
mv ${NODE_FOLDER} ${WORKSPACE}/archives/
done
scp ${!OSIP}:/tmp/ovsdb-tool.log ${NODE_FOLDER}
scp ${!OSIP}:/var/log/openvswitch/ovs-vswitchd.log ${NODE_FOLDER}
scp ${!OSIP}:/var/log/openvswitch/ovsdb-server.log ${NODE_FOLDER}
- list_files "${!OSIP}" "${NODE_FOLDER}"
+ collect_files "${!OSIP}" "${NODE_FOLDER}"
+ ${SSH} ${!OSIP} "sudo tar -cf - -C /var/log libvirt | xz -T 0 > /tmp/libvirt.tar.xz "
+ scp ${!OSIP}:/tmp/libvirt.tar.xz ${NODE_FOLDER}
rsync --rsync-path="sudo rsync" -avhe ssh ${!OSIP}:/etc/hosts ${NODE_FOLDER}
rsync --rsync-path="sudo rsync" -avhe ssh ${!OSIP}:/var/log/audit/audit.log ${NODE_FOLDER}
- rsync --rsync-path="sudo rsync" -avhe ssh ${!OSIP}:/var/log/libvirt ${NODE_FOLDER}
rsync --rsync-path="sudo rsync" -avhe ssh ${!OSIP}:/var/log/messages ${NODE_FOLDER}
rsync --rsync-path="sudo rsync" -avhe ssh ${!OSIP}:/var/log/nova-agent.log ${NODE_FOLDER}
rsync -avhe ssh ${!OSIP}:/opt/stack/logs/* ${NODE_FOLDER} # rsync to prevent copying of symbolic links
# Additional services
CORE_OS_CONTROL_SERVICES+=",mysql,rabbit"
+# collect performance stats
+CORE_OS_COMPUTE_SERVICES="dstat"
# computes only need nova and odl
-CORE_OS_COMPUTE_SERVICES="n-cpu,odl-compute"
+CORE_OS_COMPUTE_SERVICES+=",n-cpu,odl-compute"
cat > ${WORKSPACE}/disable_firewall.sh << EOF
sudo systemctl stop firewalld
sudo ip netns exec pnf_ns ifconfig pnf_veth1 up ${EXTNET_PNF_IP}/24;
sudo ovs-vsctl add-port ${PUBLIC_BRIDGE} pnf_veth0;
"
- # Control Node - set VXLAN TEP IP for Genius Auto TZ
- ${SSH} ${!CONTROLIP} "
- sudo ovs-vsctl set O . external_ids:tep-ip=${!CONTROLIP};
- "
# Control Node - external net internet address simulation
${SSH} ${!CONTROLIP} "
# please add pybot -v arguments on a single line and alphabetized
suite_num=0
for suite in ${SUITES}; do
- # prepend a incrmental counter to the suite name so that the full robot log combining all the suites as is done
- # in the rebot step below will list all the suites in chronological order as rebot seems to alphabatize them
+ # prepend an incremental counter to the suite name so that the full robot log combining all the suites as is done
+ # in the rebot step below will list all the suites in chronological order as rebot seems to alphabetize them
let "suite_num = suite_num + 1"
suite_index="$(printf %02d ${suite_num})"
suite_name="$(basename ${suite} | cut -d. -f1)"
log_name="${suite_index}_${suite_name}"
- pybot -N ${log_name} --removekeywords wuks -c critical -e exclude -e skip_if_${DISTROSTREAM} \
+ pybot -N ${log_name} \
+ -c critical -e exclude -e skip_if_${DISTROSTREAM} \
--log log_${log_name}.html --report None --output output_${log_name}.xml \
+ --removekeywords wuks \
+ --removekeywords name:SetupUtils.Setup_Utils_For_Setup_And_Teardown \
+ --removekeywords name:SetupUtils.Setup_Test_With_Logging_And_Without_Fast_Failing \
+ --removekeywords name:OpenStackOperations.Add_OVS_Logging_On_All_OpenStack_Nodes \
-v BUNDLEFOLDER:${BUNDLEFOLDER} \
-v BUNDLE_URL:${ACTUAL_BUNDLE_URL} \
-v CONTROLLERFEATURES:"${CONTROLLERFEATURES}" \
OPENSTACK_VENV="/tmp/v/openstack"
# shellcheck source=/tmp/v/openstack/bin/activate disable=SC1091
source $OPENSTACK_VENV/bin/activate
-# shellcheck disable=SC2207
-ADDR=($(openstack stack show -f json -c outputs "$STACK_NAME" | \
- jq -r '.outputs[] | select(.output_key | match("^vm_[0-9]+_ips$")) | .output_value | .[]'))
+mapfile -t ADDR <<< "$(openstack stack show -f json -c outputs "$STACK_NAME" | jq -r '.outputs[] | select(.output_key | match("^vm_[0-9]+_ips$")) | .output_value | .[]')"
# The next two blocks of code will parse the list of vm IP's hostnames to determine which type of node
# the vm is: odl, devstack controller or compute, ha_proxy or tools. For the odl node's the hsotname will contain
mkdir -p ./archives
curl --output robot-plugin.zip "$BUILD_URL/robot/report/*zip*/robot-plugin.zip"
unzip -d ./archives robot-plugin.zip
- mv *log* *.log *.log.gz *.csv *.png ./archives || true # Don't fail if file missing
+ mv *.log *.log.gz *.csv *.png ./archives || true # Don't fail if file missing
# TODO: Can the following line ever fail?
find . -type f -name *.hprof -print0 | tar -cvf - --null -T - | xz -9 > ./archives/hprof.tar.xz
# TODO: Tweak the compression level if better ratio (or speed) is needed.
- inject:
properties-file: 'slave_addresses.txt'
- integration-detect-variables
+ - integration-install-common-functions
- integration-configure-clustering
- integration-start-cluster-run-test
- integration-cleanup-tmp
- inject:
properties-file: 'slave_addresses.txt'
- integration-detect-variables
+ - integration-install-common-functions
- integration-configure-clustering
- integration-start-cluster-run-test
- integration-cleanup-tmp
- inject:
properties-file: 'slave_addresses.txt'
- integration-detect-variables
+ - integration-install-common-functions
- integration-configure-clustering
- integration-start-cluster-run-test
- integration-cleanup-tmp
- inject:
properties-file: 'slave_addresses.txt'
- integration-detect-variables
+ - integration-install-common-functions
- integration-configure-clustering
- integration-start-cluster-run-test
- integration-cleanup-tmp
project-type: freestyle
node: centos7-builder-2c-8g
concurrent: true
- jdk: '{jdk}'
+ jdk: '{java-version}'
properties:
- opendaylight-infra-properties:
project-type: freestyle
node: centos7-builder-4c-4g
- jdk: '{jdk}'
+ jdk: '{java-version}'
properties:
- opendaylight-infra-properties:
+++ /dev/null
----
-
-# TODO: This is only potentionally useful for Carbon. Remove this when Carbon is not supported anymore.
-
-- job-template:
- name: '{project}-csit4-1node-{functionality}-{install}-nitrogen'
- # Keep synchronized with *-csit-* please.
- disabled: false
-
- project-type: freestyle
- node: centos7-robot-2c-8g
-
- properties:
- - opendaylight-infra-properties:
- build-days-to-keep: '{build-days-to-keep}'
-
- parameters:
- # Removing {kafka-version} will force this job to run in k4.
- - opendaylight-infra-parameters:
- os-cloud: '{os-cloud}'
- project: 'integration/test'
- branch: 'master'
- refspec: 'refs/heads/master'
- artifacts: '{archive-artifacts}'
- - integration-distribution-branch:
- branch: 'master'
- - integration-distribution-stream:
- stream: 'nitrogen'
- - integration-bundle-url:
- bundle-url: '{bundle-url}'
- - integration-controller-scope:
- controller-scope: '{scope}'
- - integration-controller-features:
- controller-features: '{install-features}'
- - integration-test-options:
- test-options: '{robot-options}'
- - integration-stream-test-plan:
- stream-test-plan: '{project}-{functionality}-nitrogen.txt'
- - integration-test-plan:
- test-plan: '{project}-{functionality}.txt'
- - integration-patch-refspec:
- branch: 'master'
- - integration-jdk-version:
- jdkversion: 'openjdk8'
-
- scm:
- - integration-gerrit-scm:
- basedir: 'test'
- refspec: '$PATCHREFSPEC'
- branch: 'master'
-
- wrappers:
- - opendaylight-infra-wrappers:
- build-timeout: '{build-timeout}'
-
- builders:
- - integration-infra-stack:
- stack-template: '{stack-template}'
- vm_0_count: '1'
- vm_0_flavor: '{odl_system_flavor}'
- vm_0_image: '{odl_system_image}'
- vm_1_count: '{tools_system_count}'
- vm_1_flavor: '{tools_system_flavor}'
- vm_1_image: '{tools_system_image}'
- - integration-install-robotframework
- - inject:
- properties-file: 'env.properties'
- - integration-get-slave-addresses
- - inject:
- properties-file: 'slave_addresses.txt'
- - integration-detect-variables
- - integration-install-common-functions
- - integration-deploy-controller-run-test
- - integration-cleanup-tmp
-
- publishers:
- - integration-robot:
- unstable-if: 0.0
- pass-if: 100.0
- - email-notification:
- email-recipients: '{email-recipients}'
- email-prefix: '[{project}]'
- - plot:
- - title: '{01-plot-title}'
- yaxis: '{01-plot-yaxis}'
- group: '{01-plot-group}'
- num-builds: '5400'
- keep-records: true
- style: line
- use-description: false
- # yamllint disable-line rule:line-length
- csv-file-name: '{project}-csit4-1node-{functionality}-{install}-nitrogen-{01-plot-data-file}-history.csv'
- series:
- - file: '{01-plot-data-file}'
- inclusion-flag: 'off'
- display-table: true
- format: csv
- - title: '{02-plot-title}'
- yaxis: '{02-plot-yaxis}'
- group: '{02-plot-group}'
- num-builds: '5400'
- keep-records: true
- style: line
- use-description: false
- # yamllint disable-line rule:line-length
- csv-file-name: '{project}-csit4-1node-{functionality}-{install}-nitrogen-{02-plot-data-file}-history.csv'
- series:
- - file: '{02-plot-data-file}'
- inclusion-flag: 'off'
- display-table: true
- format: csv
- - integration-csit-archive-build
- - lf-infra-publish
"$MVN" clean install \
-e -Pq \
-Dstream=oxygen \
- -DskipTests=true \
+ -Dgitid.skip=false \
--global-settings "$GLOBAL_SETTINGS_FILE" \
--settings "$SETTINGS_FILE" \
$MAVEN_OPTIONS
"$MVN" clean install \
-e -Pq \
-Dstream="$DISTROSTREAM" \
- -DskipTests=true \
--global-settings "$GLOBAL_SETTINGS_FILE" \
--settings "$SETTINGS_FILE" \
$MAVEN_OPTIONS
name: iotdm-oxygen
jobs:
- '{project-name}-distribution-check-{stream}'
- - '{project-name}-integration-{stream}'
- odl-maven-jobs
stream: oxygen
project: 'iotdm'
project-name: 'iotdm'
branch: 'master'
+ build-node: centos7-builder-2c-8g
mvn-settings: 'iotdm-settings'
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
dependencies: 'aaa-merge-{stream}'
email-upstream: '[iotdm] [aaa]'
- archive-artifacts: ''
# Used by the release job
staging-profile-id: 96fd6e9453970
name: iotdm-nitrogen
jobs:
- '{project-name}-distribution-check-{stream}'
- - '{project-name}-integration-{stream}'
- odl-maven-jobs
stream: nitrogen
project: 'iotdm'
project-name: 'iotdm'
branch: 'stable/nitrogen'
+ build-node: centos7-builder-2c-8g
mvn-settings: 'iotdm-settings'
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
dependencies: 'aaa-merge-{stream}'
email-upstream: '[iotdm] [aaa]'
- archive-artifacts: ''
# Used by the release job
staging-profile-id: 96fd6e9453970
name: iotdm-carbon
jobs:
- '{project-name}-distribution-check-{stream}'
- - '{project-name}-integration-{stream}'
- odl-maven-jobs
stream: carbon
project: 'iotdm'
project-name: 'iotdm'
branch: 'stable/carbon'
+ build-node: centos7-builder-2c-8g
karaf-version: karaf3
mvn-settings: 'iotdm-settings'
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
dependencies: 'aaa-merge-{stream}'
email-upstream: '[iotdm] [aaa]'
- archive-artifacts: ''
# Used by the release job
staging-profile-id: 96fd6e9453970
project: 'iotdm'
project-name: 'iotdm'
branch: 'master'
+ build-node: centos7-builder-2c-8g
mvn-settings: 'iotdm-settings'
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
- project:
name: jsonrpc-fluorine
jobs:
- - '{project-name}-integration-{stream}'
- odl-maven-jobs
project: 'jsonrpc'
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
dependencies: 'odlparent-merge-{stream},yangtools-merge-{stream},controller-merge-{stream},mdsal-merge-{stream}'
email-upstream: '[jsonrpc] [odlparent] [yangtools] [controller] [mdsal]'
- archive-artifacts: ''
# Used by the release job
staging-profile-id: 96fdf4408765d
- project:
name: jsonrpc-oxygen
jobs:
- - '{project-name}-integration-{stream}'
+ - '{project-name}-distribution-check-{stream}'
- odl-maven-jobs
project: 'jsonrpc'
project-name: 'jsonrpc'
stream: oxygen
- branch: 'stable/oxygen'
+ branch: 'master'
mvn-settings: 'jsonrpc-settings'
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
dependencies: 'odlparent-merge-{stream},yangtools-merge-{stream},controller-merge-{stream},mdsal-merge-{stream}'
email-upstream: '[jsonrpc] [odlparent] [yangtools] [controller] [mdsal]'
- archive-artifacts: ''
# Used by the release job
staging-profile-id: 96fdf4408765d
- project:
name: jsonrpc-nitrogen
jobs:
- - '{project-name}-integration-{stream}'
- odl-maven-jobs
project: 'jsonrpc'
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
dependencies: 'odlparent-merge-{stream},yangtools-merge-{stream},controller-merge-{stream},mdsal-merge-{stream}'
email-upstream: '[jsonrpc] [odlparent] [yangtools] [controller] [mdsal]'
- archive-artifacts: ''
# Used by the release job
staging-profile-id: 96fdf4408765d
- project:
name: jsonrpc-carbon
jobs:
- - '{project-name}-integration-{stream}'
- odl-maven-jobs
project: 'jsonrpc'
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
dependencies: 'odlparent-merge-{stream},yangtools-merge-{stream},controller-merge-{stream},mdsal-merge-{stream}'
email-upstream: '[jsonrpc] [odlparent] [yangtools] [controller] [mdsal]'
- archive-artifacts: ''
# Used by the release job
staging-profile-id: 96fdf4408765d
name: l2switch-oxygen
jobs:
- '{project-name}-distribution-check-{stream}'
- - '{project-name}-integration-{stream}'
- odl-maven-jobs
stream: oxygen
openflowjava-merge-{stream},
openflowplugin-merge-{stream}
email-upstream: '[l2switch] [odlparent] [yangtools] [controller] [openflowjava] [openflowplugin]'
- archive-artifacts: ''
# Used by the release job
staging-profile-id: 96fee85953ca0
name: l2switch-nitrogen
jobs:
- '{project-name}-distribution-check-{stream}'
- - '{project-name}-integration-{stream}'
- odl-maven-jobs
stream: nitrogen
openflowjava-merge-{stream},
openflowplugin-merge-{stream}
email-upstream: '[l2switch] [odlparent] [yangtools] [controller] [openflowjava] [openflowplugin]'
- archive-artifacts: ''
# Used by the release job
staging-profile-id: 96fee85953ca0
name: l2switch-carbon
jobs:
- '{project-name}-distribution-check-{stream}'
- - '{project-name}-integration-{stream}'
- odl-maven-jobs
stream: carbon
openflowjava-merge-{stream},
openflowplugin-merge-{stream}
email-upstream: '[l2switch] [odlparent] [yangtools] [controller] [openflowjava] [openflowplugin]'
- archive-artifacts: ''
# Used by the release job
staging-profile-id: 96fee85953ca0
name: lacp-oxygen
jobs:
- '{project-name}-distribution-check-{stream}'
- - '{project-name}-integration-{stream}'
- odl-maven-jobs
stream: oxygen
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
dependencies: 'openflowjava-merge-{stream},openflowplugin-merge-{stream}'
email-upstream: '[lacp] [openflowjava] [openflowplugin]'
- archive-artifacts: ''
# Used by the release job
staging-profile-id: 96ff6c0ff6ab1
name: lacp-nitrogen
jobs:
- '{project-name}-distribution-check-{stream}'
- - '{project-name}-integration-{stream}'
- odl-maven-jobs
stream: nitrogen
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
dependencies: 'openflowjava-merge-{stream},openflowplugin-merge-{stream}'
email-upstream: '[lacp] [openflowjava] [openflowplugin]'
- archive-artifacts: ''
# Used by the release job
staging-profile-id: 96ff6c0ff6ab1
name: lacp-carbon
jobs:
- '{project-name}-distribution-check-{stream}'
- - '{project-name}-integration-{stream}'
- odl-maven-jobs
stream: carbon
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
dependencies: 'openflowjava-merge-{stream},openflowplugin-merge-{stream}'
email-upstream: '[lacp] [openflowjava] [openflowplugin]'
- archive-artifacts: ''
# Used by the release job
staging-profile-id: 96ff6c0ff6ab1
---
+- project:
+ name: lf-infra-ansible-roles-system-update
+ jobs:
+ - gerrit-tox-verify
+
+ project-name: lf-infra-ansible-roles
+ project: ansible/roles/*
+ build-node: ubuntu1604-docker-2c-2g
+ build-timeout: 60
+ stream: any
+ branch: '*'
+
+ git-url: https://gerrit.linuxfoundation.org/infra/$GERRIT_PROJECT
+ gerrit-server-name: LinuxFoundation
+
- project:
name: lf-infra-ci-workshop
jobs:
git-url: https://gerrit.linuxfoundation.org/infra/$GERRIT_PROJECT
gerrit-server-name: LinuxFoundation
+
+- project:
+ name: lf-infra-license-checker
+ jobs:
+ - gerrit-tox-verify
+
+ project-name: lf-infra-license-checker
+ project: releng/license-checker
+ build-node: centos7-builder-2c-2g
+ stream: any
+ branch: '*'
+
+ git-url: https://gerrit.linuxfoundation.org/infra/$GERRIT_PROJECT
+ gerrit-server-name: LinuxFoundation
name: lispflowmapping-oxygen
jobs:
- '{project-name}-distribution-check-{stream}'
- - '{project-name}-integration-{stream}'
- '{project-name}-maven-javadoc-jobs'
- odl-maven-jobs
name: lispflowmapping-nitrogen
jobs:
- '{project-name}-distribution-check-{stream}'
- - '{project-name}-integration-{stream}'
- '{project-name}-maven-javadoc-jobs'
- odl-maven-jobs
name: lispflowmapping-carbon
jobs:
- '{project-name}-distribution-check-{stream}'
- - '{project-name}-integration-{stream}'
- '{project-name}-maven-javadoc-jobs'
- odl-maven-jobs
mvn-opts: '-Xmx2048m -XX:MaxPermSize=512m -Dmaven.compile.fork=true'
dependencies: 'controller-merge-{stream},odlparent-merge-{stream},yangtools-merge-{stream},neutron-merge-{stream}'
email-upstream: '[lispflowmapping] [controller] [odlparent] [yangtools] [neutron]'
- archive-artifacts: ''
build-node: centos7-builder-8c-8g
# Used by the release job
# No tools system VMs needed, but ODL system needs RAM and benefits from CPUs.
tools_system_count: 0
- odl_system_flavor: v1-performance-4
+ odl_system_flavor: v2-standard-4
# Features to install
install-features: 'odl-restconf'
- project:
name: mdsal-oxygen
jobs:
- - '{project-name}-distribution-check-{stream}'
- - '{project-name}-integration-{stream}'
+ - '{project-name}-distribution-check-{stream}':
+ mvn-version: 'mvn35'
- '{project-name}-maven-javadoc-jobs'
- odl-maven-jobs
build-timeout: 90
dependencies: 'odlparent-merge-{stream},yangtools-merge-{stream}'
email-upstream: '[mdsal] [odlparent] [yangtools]'
- archive-artifacts: ''
# Used by the release job
staging-profile-id: a674173c7b29d
name: mdsal-nitrogen
jobs:
- '{project-name}-distribution-check-{stream}'
- - '{project-name}-integration-{stream}'
- '{project-name}-maven-javadoc-jobs'
- odl-maven-jobs
mvn-opts: '-Xmx2048m -XX:MaxPermSize=1024m'
dependencies: 'odlparent-merge-{stream},yangtools-merge-{stream}'
email-upstream: '[mdsal] [odlparent] [yangtools]'
- archive-artifacts: ''
# Used by the release job
staging-profile-id: a674173c7b29d
name: mdsal-carbon
jobs:
- '{project-name}-distribution-check-{stream}'
- - '{project-name}-integration-{stream}'
- '{project-name}-maven-javadoc-jobs'
- odl-maven-jobs
mvn-opts: '-Xmx2048m -XX:MaxPermSize=1024m'
dependencies: 'odlparent-merge-{stream},yangtools-merge-{stream}'
email-upstream: '[mdsal] [odlparent] [yangtools]'
- archive-artifacts: ''
# Used by the release job
staging-profile-id: a674173c7b29d
name: messaging4transport-oxygen
jobs:
- '{project-name}-distribution-check-{stream}'
- - '{project-name}-integration-{stream}'
- '{project-name}-maven-javadoc-jobs'
- odl-maven-jobs
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
dependencies: ''
email-upstream: '[messaging4transport]'
- archive-artifacts: ''
# Used by the release job
staging-profile-id: a677283157db4
name: messaging4transport-nitrogen
jobs:
- '{project-name}-distribution-check-{stream}'
- - '{project-name}-integration-{stream}'
- '{project-name}-maven-javadoc-jobs'
- odl-maven-jobs
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
dependencies: ''
email-upstream: '[messaging4transport]'
- archive-artifacts: ''
# Used by the release job
staging-profile-id: a677283157db4
name: messaging4transport-carbon
jobs:
- '{project-name}-distribution-check-{stream}'
- - '{project-name}-integration-{stream}'
- '{project-name}-maven-javadoc-jobs'
- odl-maven-jobs
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
dependencies: ''
email-upstream: '[messaging4transport]'
- archive-artifacts: ''
# Used by the release job
staging-profile-id: a677283157db4
name: natapp-oxygen
jobs:
- '{project-name}-distribution-check-{stream}'
- - '{project-name}-integration-{stream}'
- '{project-name}-maven-javadoc-jobs'
- odl-maven-jobs
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
dependencies: 'openflowplugin-merge-{stream}'
email-upstream: '[natapp] [openflowplugin]'
- archive-artifacts: ''
# Used by the release job
staging-profile-id: a679c0f4f08a8
name: natapp-nitrogen
jobs:
- '{project-name}-distribution-check-{stream}'
- - '{project-name}-integration-{stream}'
- '{project-name}-maven-javadoc-jobs'
- odl-maven-jobs
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
dependencies: 'openflowplugin-merge-{stream}'
email-upstream: '[natapp] [openflowplugin]'
- archive-artifacts: ''
# Used by the release job
staging-profile-id: a679c0f4f08a8
name: natapp-carbon
jobs:
- '{project-name}-distribution-check-{stream}'
- - '{project-name}-integration-{stream}'
- '{project-name}-maven-javadoc-jobs'
- odl-maven-jobs
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
dependencies: 'openflowplugin-merge-{stream}'
email-upstream: '[natapp] [openflowplugin]'
- archive-artifacts: ''
# Used by the release job
staging-profile-id: a679c0f4f08a8
name: nemo-oxygen
jobs:
- '{project-name}-distribution-check-{stream}'
- - '{project-name}-integration-{stream}'
- odl-maven-jobs
stream: oxygen
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
dependencies: ''
email-upstream: '[nemo]'
- archive-artifacts: ''
# Used by the release job
staging-profile-id: a67a9890f6202
name: nemo-nitrogen
jobs:
- '{project-name}-distribution-check-{stream}'
- - '{project-name}-integration-{stream}'
- odl-maven-jobs
stream: nitrogen
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
dependencies: ''
email-upstream: '[nemo]'
- archive-artifacts: ''
# Used by the release job
staging-profile-id: a67a9890f6202
name: nemo-carbon
jobs:
- '{project-name}-distribution-check-{stream}'
- - '{project-name}-integration-{stream}'
- odl-maven-jobs
stream: carbon
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
dependencies: ''
email-upstream: '[nemo]'
- archive-artifacts: ''
# Used by the release job
staging-profile-id: a67a9890f6202
robot-options: '-v USE_NETCONF_CONNECTOR:False'
# ODL system configuration
- odl_system_flavor: v1-performance-4
+ odl_system_flavor: v2-standard-4
name: netconf-oxygen
jobs:
- '{project-name}-distribution-check-{stream}'
- - '{project-name}-integration-{stream}'
- odl-maven-jobs
stream: oxygen
project: 'netconf'
project-name: 'netconf'
branch: 'master'
+ build-node: centos7-builder-2c-8g
mvn-settings: 'netconf-settings'
mvn-goals: 'clean deploy -Pintegrationtests'
mvn-opts: '-Xmx2048m -XX:MaxPermSize=1024m -Dmaven.compile.fork=true'
build-timeout: 90
dependencies: 'aaa-merge-{stream},controller-merge-{stream},odlparent-merge-{stream},yangtools-merge-{stream}'
email-upstream: '[netconf] [aaa] [controller] [odlparent] [yangtools]'
- archive-artifacts: ''
# Used by the release job
staging-profile-id: a67b22fc3663f
name: netconf-nitrogen
jobs:
- '{project-name}-distribution-check-{stream}'
- - '{project-name}-integration-{stream}'
- odl-maven-jobs
stream: nitrogen
project: 'netconf'
project-name: 'netconf'
branch: 'stable/nitrogen'
+ build-node: centos7-builder-2c-8g
mvn-settings: 'netconf-settings'
mvn-goals: 'clean deploy -Pintegrationtests'
mvn-opts: '-Xmx2048m -XX:MaxPermSize=1024m -Dmaven.compile.fork=true'
dependencies: 'aaa-merge-{stream},controller-merge-{stream},odlparent-merge-{stream},yangtools-merge-{stream}'
email-upstream: '[netconf] [aaa] [controller] [odlparent] [yangtools]'
- archive-artifacts: ''
# Used by the release job
staging-profile-id: a67b22fc3663f
name: netconf-carbon
jobs:
- '{project-name}-distribution-check-{stream}'
- - '{project-name}-integration-{stream}'
- odl-maven-jobs
stream: carbon
project: 'netconf'
project-name: 'netconf'
branch: 'stable/carbon'
+ build-node: centos7-builder-2c-8g
karaf-version: karaf3
mvn-settings: 'netconf-settings'
mvn-goals: 'clean deploy -Pintegrationtests'
mvn-opts: '-Xmx2048m -XX:MaxPermSize=1024m -Dmaven.compile.fork=true'
dependencies: 'aaa-merge-{stream},controller-merge-{stream},odlparent-merge-{stream},yangtools-merge-{stream}'
email-upstream: '[netconf] [aaa] [controller] [odlparent] [yangtools]'
- archive-artifacts: ''
# Used by the release job
staging-profile-id: a67b22fc3663f
project: 'netconf'
project-name: 'netconf'
branch: 'master'
+ build-node: centos7-builder-2c-8g
mvn-settings: 'netconf-settings'
mvn-goals: 'clean deploy -Pintegrationtests'
mvn-opts: '-Xmx2048m -XX:MaxPermSize=1024m -Dmaven.compile.fork=true'
name: netide-oxygen
jobs:
- '{project-name}-distribution-check-{stream}'
- - '{project-name}-integration-{stream}'
- odl-maven-jobs
stream: oxygen
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
dependencies: 'openflowjava-merge-{stream}'
email-upstream: '[netide] [openflowjava]'
- archive-artifacts: ''
# Used by the release job
staging-profile-id: a67bab3755815
name: netide-nitrogen
jobs:
- '{project-name}-distribution-check-{stream}'
- - '{project-name}-integration-{stream}'
- odl-maven-jobs
stream: nitrogen
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
dependencies: 'openflowjava-merge-{stream}'
email-upstream: '[netide] [openflowjava]'
- archive-artifacts: ''
# Used by the release job
staging-profile-id: a67bab3755815
name: netide-carbon
jobs:
- '{project-name}-distribution-check-{stream}'
- - '{project-name}-integration-{stream}'
- odl-maven-jobs
stream: carbon
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
dependencies: 'openflowjava-merge-{stream}'
email-upstream: '[netide] [openflowjava]'
- archive-artifacts: ''
# Used by the release job
staging-profile-id: a67bab3755815
project: 'netvirt'
stream: 'oxygen'
branch: 'master'
+ testplan: '{project}-{topology}-l2gw-openstack.txt'
+ odl-ml2-driver-version: 'v2'
+ enable-openstack-services: 'placement-api,l2gw-plugin'
+ enable-openstack-compute-services: 'placement-client'
+ security-group-mode: 'stateful'
+ odl_system_flavor: v2-standard-8
+ openstack_system_flavor: v2-standard-8
+ openstack_system2_flavor: v2-standard-4
+ tools_system_count: 2
+ tools_system_image: ZZCI - Ubuntu 16.04 - mininet-ovs-26 - 20171208-1847
+
+ # TODO: remove this flag and instead use the enable-openstack-services list to know if l2gw is enabled
+ enable-networking-l2gw: 'yes'
topology:
- 1node:
- openstack_system1_count: 1
openstack_system2_count: 1
odl_system_count: 1
enable-haproxy: 'no'
install-features: 'odl-netvirt-openstack'
- 3node:
- openstack_system1_count: 1
openstack_system2_count: 1
odl_system_count: 3
enable-haproxy: 'yes'
install-features: 'odl-jolokia,odl-netvirt-openstack'
- testplan: '{project}-{topology}-l2gw-openstack.txt'
-
functionality:
- - upstream-stateful:
- sg-mode: 'stateful'
- - gate-stateful:
- sg-mode: 'stateful'
+ - upstream-stateful
+ - gate-stateful
openstack:
- ocata:
openstack_system_image: '{openstack_system_image_pike}'
openstack_system2_image: '{openstack_system_image_pike}'
- odl-ml2-driver-version: 'v2'
- enable-openstack-services: 'placement-api,l2gw-plugin'
- enable-openstack-compute-services: 'placement-client'
- security-group-mode: '{sg-mode}'
- tools_system_count: 2
- tools_system_image: ZZCI - Ubuntu 16.04 - mininet-ovs-26 - 20171208-1847
-
- # TODO: remove this flag and instead use the enable-openstack-services list to know if l2gw is enabled
- enable-networking-l2gw: 'yes'
-
- project:
name: netvirt-csit-hwvtep-openstack-integration-nitrogen
jobs:
project: 'netvirt'
stream: 'nitrogen'
branch: 'stable/nitrogen'
+ testplan: '{project}-{topology}-l2gw-openstack.txt'
+ odl-ml2-driver-version: 'v2'
+ enable-openstack-services: 'placement-api,l2gw-plugin'
+ enable-openstack-compute-services: 'placement-client'
+ security-group-mode: 'stateful'
+ odl_system_flavor: v2-standard-8
+ openstack_system_flavor: v2-standard-8
+ openstack_system2_flavor: v2-standard-4
+ tools_system_count: 2
+ tools_system_image: ZZCI - Ubuntu 16.04 - mininet-ovs-26 - 20171208-1847
+
+ # TODO: remove this flag and instead use the enable-openstack-services list to know if l2gw is enabled
+ enable-networking-l2gw: 'yes'
topology:
- 1node:
- openstack_system1_count: 1
openstack_system2_count: 1
odl_system_count: 1
enable-haproxy: 'no'
install-features: 'odl-netvirt-openstack'
- 3node:
- openstack_system1_count: 1
openstack_system2_count: 1
odl_system_count: 3
enable-haproxy: 'yes'
install-features: 'odl-jolokia,odl-netvirt-openstack'
- testplan: '{project}-{topology}-l2gw-openstack.txt'
-
functionality:
- - upstream-stateful:
- schedule: ''
- sg-mode: 'stateful'
- - gate-stateful:
- schedule: ''
- sg-mode: 'stateful'
+ - upstream-stateful
+ - gate-stateful
openstack:
- ocata:
openstack_system_image: '{openstack_system_image_pike}'
openstack_system2_image: '{openstack_system_image_pike}'
- odl-ml2-driver-version: 'v2'
- enable-openstack-services: 'placement-api,l2gw-plugin'
- enable-openstack-compute-services: 'placement-client'
- security-group-mode: '{sg-mode}'
- tools_system_count: 2
- tools_system_image: ZZCI - Ubuntu 16.04 - mininet-ovs-26 - 20171208-1847
-
- # TODO: remove this flag and instead use the enable-openstack-services list to know if l2gw is enabled
- enable-networking-l2gw: 'yes'
-
- project:
name: netvirt-csit-hwvtep-openstack-integration-carbon
jobs:
- inttest-csit-hwvtep-openstack
project: 'netvirt'
-
stream: 'carbon'
branch: 'stable/carbon'
karaf-version: karaf3
+ testplan: '{project}-{topology}-l2gw-openstack.txt'
+ odl-ml2-driver-version: 'v2'
+ enable-openstack-services: 'placement-api,l2gw-plugin'
+ enable-openstack-compute-services: 'placement-client'
+ security-group-mode: 'stateful'
+ odl_system_flavor: v2-standard-8
+ openstack_system_flavor: v2-standard-8
+ openstack_system2_flavor: v2-standard-4
+ tools_system_count: 2
+ tools_system_image: ZZCI - Ubuntu 16.04 - mininet-ovs-26 - 20171208-1847
+
+ # TODO: remove this flag and instead use the enable-openstack-services list to know if l2gw is enabled
+ enable-networking-l2gw: 'yes'
topology:
- 1node:
- openstack_system1_count: 1
openstack_system2_count: 1
odl_system_count: 1
enable-haproxy: 'no'
install-features: 'odl-netvirt-openstack'
- 3node:
- openstack_system1_count: 1
openstack_system2_count: 1
odl_system_count: 3
enable-haproxy: 'yes'
install-features: 'odl-jolokia,odl-netvirt-openstack'
- testplan: '{project}-{topology}-l2gw-openstack.txt'
-
functionality:
- - upstream-stateful:
- schedule: ''
- sg-mode: 'stateful'
- - gate-stateful:
- schedule: ''
- sg-mode: 'stateful'
+ - upstream-stateful
+ - gate-stateful
openstack:
- ocata:
openstack_system_image: '{openstack_system_image_pike}'
openstack_system2_image: '{openstack_system_image_pike}'
enable-openstack-network-services: '{openstack_legacy_default_network_services}'
-
- odl-ml2-driver-version: 'v2'
- enable-openstack-services: 'placement-api,l2gw-plugin'
- enable-openstack-compute-services: 'placement-client'
- security-group-mode: '{sg-mode}'
- tools_system_count: 2
- tools_system_image: ZZCI - Ubuntu 16.04 - mininet-ovs-26 - 20171208-1847
-
- # TODO: remove this flag and instead use the enable-openstack-services list to know if l2gw is enabled
- enable-networking-l2gw: 'yes'
enable-openstack-services: 'placement-api,tempest'
enable-openstack-compute-services: 'placement-client'
security-group-mode: 'stateful'
- odl_system_flavor: v1-performance-8
- openstack_system_flavor: v1-performance-8
- openstack_system2_flavor: v1-performance-4
+ odl_system_flavor: v2-standard-8
+ openstack_system_flavor: v2-standard-8
+ openstack_system2_flavor: v2-standard-4
topology:
- 1node:
- gate-minimal-cluster:
testplan: '{project}-{topology}-minimal-openstack.txt'
# Job for Test Driven Development with it's own testplan to run new/non-passing suites. scheduled manually.
- - tdd-wip:
+ - gate-tdd-wip:
testplan: '{project}-{topology}-tdd-wip-openstack.txt'
schedule: ''
enable-openstack-services: 'placement-api,tempest'
enable-openstack-compute-services: 'placement-client'
security-group-mode: 'stateful'
- odl_system_flavor: v1-performance-8
- openstack_system_flavor: v1-performance-8
- openstack_system2_flavor: v1-performance-4
+ odl_system_flavor: v2-standard-8
+ openstack_system_flavor: v2-standard-8
+ openstack_system2_flavor: v2-standard-4
topology:
- 1node:
enable-openstack-services: 'placement-api,tempest'
enable-openstack-compute-services: 'placement-client'
security-group-mode: 'stateful'
- odl_system_flavor: v1-performance-8
- openstack_system_flavor: v1-performance-8
- openstack_system2_flavor: v1-performance-4
+ odl_system_flavor: v2-standard-8
+ openstack_system_flavor: v2-standard-8
+ openstack_system2_flavor: v2-standard-4
topology:
- 1node:
project: 'netvirt'
security-group-mode: 'stateful'
- odl_system_flavor: v1-performance-4
- openstack_system2_flavor: v1-performance-2
+ odl_system_flavor: v2-standard-4
+ openstack_system2_flavor: v2-standard-2
topology:
- 1node:
project-type: freestyle
node: centos7-docker-1c-4g
concurrent: true
- jdk: '{jdk}'
+ jdk: '{java-version}'
description: >
Integration tests for the Netvirt project against different versions of
OVS and branches. This job runs nightly.
netvirt-csit-hwvtep-1node-openstack-{os-branch}-gate-stateful-{stream}
- tdd-wip:
csit-list: >
- netvirt-csit-1node-openstack-{os-branch}-tdd-wip-{stream}
+ netvirt-csit-1node-openstack-{os-branch}-gate-tdd-wip-{stream}
name: netvirt
jobs:
- '{project-name}-distribution-check-{stream}'
- - '{project-name}-integration-{stream}'
- '{project-name}-maven-javadoc-jobs'
- gerrit-tox-verify
- odl-maven-jobs
ovsdb-merge-{stream},
sfc-merge-{stream}
email-upstream: '[genius] [netvirt] [neutron] [openflowjava] [openflowplugin] [ovsdb] [sfc]'
- archive-artifacts: ''
# Used by the release job
staging-profile-id: a67da0ffbb1ba
mvn-opts: '-Xmx2048m -XX:MaxPermSize=512m'
dependencies:
email-upstream: '[netvirt]'
- archive-artifacts: ''
- project:
name: netvirt-sonar
name: neutron-oxygen
jobs:
- '{project-name}-distribution-check-{stream}'
- - '{project-name}-integration-{stream}'
- '{project-name}-maven-javadoc-jobs'
- odl-maven-jobs
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
dependencies: 'odlparent-merge-{stream},aaa-merge-{stream}'
email-upstream: '[neutron] [odlparent] [aaa]'
- archive-artifacts: ''
# Used by the release job
staging-profile-id: a67e1b40d7419
name: neutron-nitrogen
jobs:
- '{project-name}-distribution-check-{stream}'
- - '{project-name}-integration-{stream}'
- '{project-name}-maven-javadoc-jobs'
- odl-maven-jobs
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
dependencies: 'odlparent-merge-{stream},aaa-merge-{stream}'
email-upstream: '[neutron] [odlparent] [aaa]'
- archive-artifacts: ''
# Used by the release job
staging-profile-id: a67e1b40d7419
name: neutron-carbon
jobs:
- '{project-name}-distribution-check-{stream}'
- - '{project-name}-integration-{stream}'
- '{project-name}-maven-javadoc-jobs'
- odl-maven-jobs
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
dependencies: 'odlparent-merge-{stream},aaa-merge-{stream}'
email-upstream: '[neutron] [odlparent] [aaa]'
- archive-artifacts: ''
# Used by the release job
staging-profile-id: a67e1b40d7419
name: next-oxygen
jobs:
- '{project-name}-distribution-check-{stream}'
- - '{project-name}-integration-{stream}'
- odl-maven-jobs
stream: oxygen
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
dependencies: ''
email-upstream: '[next]'
- archive-artifacts: ''
# Used by the release job
staging-profile-id: a67e7c516f385
name: next-nitrogen
jobs:
- '{project-name}-distribution-check-{stream}'
- - '{project-name}-integration-{stream}'
- odl-maven-jobs
stream: nitrogen
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
dependencies: ''
email-upstream: '[next]'
- archive-artifacts: ''
# Used by the release job
staging-profile-id: a67e7c516f385
name: next-carbon
jobs:
- '{project-name}-distribution-check-{stream}'
- - '{project-name}-integration-{stream}'
- odl-maven-jobs
stream: carbon
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
dependencies: ''
email-upstream: '[next]'
- archive-artifacts: ''
# Used by the release job
staging-profile-id: a67e7c516f385
name: nic-oxygen
jobs:
- '{project-name}-distribution-check-{stream}'
- - '{project-name}-integration-{stream}'
- odl-maven-jobs
stream: oxygen
project: 'nic'
project-name: 'nic'
branch: 'master'
+ build-node: centos7-builder-2c-8g
mvn-settings: 'nic-settings'
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
dependencies: 'vtn-merge-{stream},groupbasedpolicy-merge-{stream}'
email-upstream: '[nic] [vtn] [groupbasedpolicy]'
- archive-artifacts: ''
# Used by the release job
staging-profile-id: a67ef386204aa
name: nic-nitrogen
jobs:
- '{project-name}-distribution-check-{stream}'
- - '{project-name}-integration-{stream}'
- odl-maven-jobs
stream: nitrogen
project: 'nic'
project-name: 'nic'
branch: 'stable/nitrogen'
+ build-node: centos7-builder-2c-8g
mvn-settings: 'nic-settings'
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
dependencies: 'vtn-merge-{stream},groupbasedpolicy-merge-{stream}'
email-upstream: '[nic] [vtn] [groupbasedpolicy]'
- archive-artifacts: ''
# Used by the release job
staging-profile-id: a67ef386204aa
name: nic-carbon
jobs:
- '{project-name}-distribution-check-{stream}'
- - '{project-name}-integration-{stream}'
- odl-maven-jobs
stream: carbon
project: 'nic'
project-name: 'nic'
branch: 'stable/carbon'
+ build-node: centos7-builder-2c-8g
karaf-version: karaf3
mvn-settings: 'nic-settings'
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
dependencies: 'vtn-merge-{stream},groupbasedpolicy-merge-{stream}'
email-upstream: '[nic] [vtn] [groupbasedpolicy]'
- archive-artifacts: ''
# Used by the release job
staging-profile-id: a67ef386204aa
project: 'nic'
project-name: 'nic'
branch: 'master'
+ build-node: centos7-builder-2c-8g
mvn-settings: 'nic-settings'
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
name: ocpplugin-oxygen
jobs:
- '{project-name}-distribution-check-{stream}'
- - '{project-name}-integration-{stream}'
- odl-maven-jobs
stream: oxygen
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
dependencies: 'odlparent-merge-{stream},yangtools-merge-{stream},controller-merge-{stream}'
email-upstream: '[ocpplugin] [odlparent] [yangtools] [controller]'
- archive-artifacts: ''
# Used by the release job
staging-profile-id: a687673279f9c
name: ocpplugin-nitrogen
jobs:
- '{project-name}-distribution-check-{stream}'
- - '{project-name}-integration-{stream}'
- odl-maven-jobs
stream: nitrogen
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
dependencies: 'odlparent-merge-{stream},yangtools-merge-{stream},controller-merge-{stream}'
email-upstream: '[ocpplugin] [odlparent] [yangtools] [controller]'
- archive-artifacts: ''
# Used by the release job
staging-profile-id: a687673279f9c
name: ocpplugin-carbon
jobs:
- '{project-name}-distribution-check-{stream}'
- - '{project-name}-integration-{stream}'
- odl-maven-jobs
stream: carbon
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
dependencies: 'odlparent-merge-{stream},yangtools-merge-{stream},controller-merge-{stream}'
email-upstream: '[ocpplugin] [odlparent] [yangtools] [controller]'
- archive-artifacts: ''
# Used by the release job
staging-profile-id: a687673279f9c
##############################################################################
echo "---> Cleanup orphaned servers"
-# shellcheck source=/tmp/v/openstack/bin/activate disable=SC1091
-source "/tmp/v/openstack/bin/activate"
-
minion_in_jenkins() {
# Usage: check_stack_in_jenkins STACK_NAME JENKINS_URL [JENKINS_URL...]
# Returns: 0 If stack is in Jenkins and 1 if stack is not in Jenkins.
# Fetch server list before fetching active minions to minimize race condition
# where we might be trying to delete servers while jobs are trying to start
+# shellcheck source=/tmp/v/openstack/bin/activate disable=SC1091
+source "/tmp/v/openstack/bin/activate"
+
# We purposely need word splitting here to create the OS_SERVERS array.
# shellcheck disable=SC2207
-OS_SERVERS=($(openstack server list -f value -c "Name" | grep -E 'prd|snd'))
+mapfile -t OS_SERVERS < <(openstack server list -f value -c "Name" | grep -E 'prd|snd')
+
+deactivate
#############################
## DELETE ORPHANED SERVERS ##
#############################
+
+# shellcheck source=/tmp/v/lftools/bin/activate disable=SC1091
+source "/tmp/v/lftools/bin/activate"
+
# Search for servers that are not in use by either releng or sandbox silos and
# delete them.
for server in "${OS_SERVERS[@]}"; do
continue
else
echo "Deleting $server"
- openstack server delete "$server"
+ lftools openstack --os-cloud vex \
+ server remove --minutes 15 "$server"
fi
done
+
+deactivate
name: odlparent-carbon
jobs:
- '{project-name}-distribution-check-{stream}'
- - '{project-name}-integration-{stream}'
- '{project-name}-maven-javadoc-jobs'
- odl-maven-jobs
- gerrit-tox-verify
name: of-config-oxygen
jobs:
- '{project-name}-distribution-check-{stream}'
- - '{project-name}-integration-{stream}'
- odl-maven-jobs
stream: oxygen
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
dependencies: netconf-merge-{stream}'
email-upstream: '[of-config] [netconf]'
- archive-artifacts: ''
# Used by the release job
staging-profile-id: a6880455efe67
name: of-config-nitrogen
jobs:
- '{project-name}-distribution-check-{stream}'
- - '{project-name}-integration-{stream}'
- odl-maven-jobs
stream: nitrogen
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
dependencies: netconf-merge-{stream}'
email-upstream: '[of-config] [netconf]'
- archive-artifacts: ''
# Used by the release job
staging-profile-id: a6880455efe67
name: of-config-carbon
jobs:
- '{project-name}-distribution-check-{stream}'
- - '{project-name}-integration-{stream}'
- odl-maven-jobs
stream: carbon
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
dependencies: netconf-merge-{stream}'
email-upstream: '[of-config] [netconf]'
- archive-artifacts: ''
# Used by the release job
staging-profile-id: a6880455efe67
- project:
name: circuitsw-oxygen
jobs:
- - '{project-name}-integration-{stream}'
- odl-maven-jobs
stream: oxygen
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
dependencies: ''
email-upstream: '[circuitsw]'
- archive-artifacts: ''
# Used by the release job
staging-profile-id: a68970cf5b25c
- project:
name: circuitsw-nitrogen
jobs:
- - '{project-name}-integration-{stream}'
- odl-maven-jobs
stream: nitrogen
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
dependencies: ''
email-upstream: '[circuitsw]'
- archive-artifacts: ''
# Used by the release job
staging-profile-id: a68970cf5b25c
- project:
name: circuitsw-carbon
jobs:
- - '{project-name}-integration-{stream}'
- odl-maven-jobs
stream: carbon
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
dependencies: ''
email-upstream: '[circuitsw]'
- archive-artifacts: ''
# Used by the release job
staging-profile-id: a68970cf5b25c
CREATE_FAILED)
reason=$(openstack stack show "$STACK_NAME" -f value -c stack_status_reason)
echo "ERROR: Failed to initialize infrastructure. Reason: $reason"
+ openstack stack resource list -n 25 "$STACK_NAME"
echo "Deleting stack and possibly retrying to create..."
openstack stack delete --yes "$STACK_NAME"
name: openflowjava-nitrogen
jobs:
- '{project-name}-distribution-check-{stream}'
- - '{project-name}-integration-{stream}'
- '{project-name}-maven-javadoc-jobs'
- odl-maven-jobs
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
dependencies: 'odlparent-merge-{stream},yangtools-merge-{stream},controller-merge-{stream}'
email-upstream: '[openflowjava] [odlparent] [yangtools] [controller]'
- archive-artifacts: ''
# Used by the release job
staging-profile-id: a68a1507dae22
name: openflowjava-carbon
jobs:
- '{project-name}-distribution-check-{stream}'
- - '{project-name}-integration-{stream}'
- '{project-name}-maven-javadoc-jobs'
- odl-maven-jobs
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
dependencies: 'odlparent-merge-{stream},yangtools-merge-{stream},controller-merge-{stream}'
email-upstream: '[openflowjava] [odlparent] [yangtools] [controller]'
- archive-artifacts: ''
# Used by the release job
staging-profile-id: a68a1507dae22
scope: 'only'
# Job images
- odl_system_flavor: 'v1-performance-4'
+ odl_system_flavor: 'v2-standard-4'
tools_system_image: 'ZZCI - Ubuntu 16.04 - mininet-ovs-26 - 20171208-1847'
- tools_system_flavor: 'v1-performance-2'
+ tools_system_flavor: 'v2-highcpu-2'
# Features to install
install-features: 'odl-openflowplugin-flow-services-rest,odl-openflowplugin-drop-test'
scope: 'only'
# Job images
- odl_system_flavor: 'v1-performance-4'
+ odl_system_flavor: 'v2-standard-4'
tools_system_image: 'ZZCI - Ubuntu 16.04 - mininet-ovs-26 - 20171208-1847'
# Features to install
scope: 'only'
# Job images
- odl_system_flavor: 'v1-performance-4'
+ odl_system_flavor: 'v2-standard-4'
tools_system_image: 'ZZCI - Ubuntu 16.04 - mininet-ovs-26 - 20171208-1847'
# Features to install
scope: 'only'
# Job images
- odl_system_flavor: 'v1-performance-4'
+ odl_system_flavor: 'v2-standard-4'
tools_system_image: 'ZZCI - Ubuntu 16.04 - mininet-ovs-26 - 20171208-1847'
# Features to install
scope: 'only'
# Job images
- odl_system_flavor: 'v1-performance-4'
+ odl_system_flavor: 'v2-standard-4'
tools_system_image: 'ZZCI - Ubuntu 16.04 - mininet-ovs-26 - 20171208-1847'
- tools_system_flavor: 'v1-performance-2'
+ tools_system_flavor: 'v2-highcpu-2'
# Features to install
install-features: >
scope: 'only'
# Job images
- odl_system_flavor: 'v1-performance-4'
+ odl_system_flavor: 'v2-standard-4'
tools_system_image: 'ZZCI - Ubuntu 16.04 - mininet-ovs-26 - 20171208-1847'
# Features to install
name: openflowplugin-oxygen
jobs:
- '{project-name}-distribution-check-{stream}'
- - '{project-name}-integration-{stream}'
- '{project-name}-maven-javadoc-jobs'
- odl-maven-jobs
project: 'openflowplugin'
project-name: 'openflowplugin'
branch: 'master'
+ build-node: centos7-builder-2c-8g
+ build-timeout: 90
mvn-settings: 'openflowplugin-settings'
mvn-goals: 'clean deploy javadoc:aggregate'
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
- build-timeout: 90
dependencies: >
odlparent-merge-{stream},
yangtools-merge-{stream},
name: openflowplugin-nitrogen
jobs:
- '{project-name}-distribution-check-{stream}'
- - '{project-name}-integration-{stream}'
- '{project-name}-maven-javadoc-jobs'
- odl-maven-jobs
project: 'openflowplugin'
project-name: 'openflowplugin'
branch: 'stable/nitrogen'
+ build-node: centos7-builder-2c-8g
+ build-timeout: 90
mvn-settings: 'openflowplugin-settings'
mvn-goals: 'clean deploy javadoc:aggregate'
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
name: openflowplugin-carbon
jobs:
- '{project-name}-distribution-check-{stream}'
- - '{project-name}-integration-{stream}'
- '{project-name}-maven-javadoc-jobs'
- odl-maven-jobs
project: 'openflowplugin'
project-name: 'openflowplugin'
branch: 'stable/carbon'
+ build-node: centos7-builder-2c-8g
+ build-timeout: 90
karaf-version: 'karaf3'
mvn-settings: 'openflowplugin-settings'
mvn-goals: 'clean deploy javadoc:aggregate'
project: 'openflowplugin'
project-name: 'openflowplugin'
branch: 'master'
+ build-node: centos7-builder-2c-8g
+ build-timeout: 90
mvn-settings: 'openflowplugin-settings'
mvn-goals: 'clean deploy javadoc:aggregate'
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
project-type: freestyle
node: centos7-builder-2c-8g
concurrent: true
- jdk: '{jdk}'
+ jdk: '{java-version}'
properties:
- opendaylight-infra-properties:
name: 'opflex-merge-{stream}'
node: centos7-builder-2c-8g
- jdk: '{jdk}'
+ jdk: '{java-version}'
properties:
- opendaylight-infra-properties:
name: 'opflex-release-{stream}'
node: centos7-builder-2c-8g
- jdk: '{jdk}'
+ jdk: '{java-version}'
######################
# Default parameters #
dependencies: ''
email-upstream: '[ovil]'
- archive-artifacts: ''
# Used by the release job
staging-profile-id: 7b48866c207d8
project-type: freestyle
node: centos7-docker-1c-4g
- jdk: '{jdk}'
+ jdk: '{java-version}'
description: >
Integration tests for the OVSDB project against different versions of
OVS and branches. This job runs nightly.
stream:
- oxygen:
branch: 'master'
- os-branch: 'pike'
+ # os-branch: 'pike'
+ # issues with pike right now (esp l2gw), lets stick with ocata
+ os-branch: 'ocata'
- nitrogen:
branch: 'stable/nitrogen'
os-branch: 'ocata'
project-type: freestyle
node: centos7-docker-1c-4g
- jdk: '{jdk}'
+ jdk: '{java-version}'
properties:
- opendaylight-infra-properties:
name: ovsdb-oxygen
jobs:
- '{project-name}-distribution-check-{stream}'
- - '{project-name}-integration-{stream}'
- '{project-name}-maven-javadoc-jobs'
- odl-maven-jobs
project: 'ovsdb'
project-name: 'ovsdb'
branch: 'master'
+ build-node: centos7-builder-2c-8g
mvn-settings: 'ovsdb-settings'
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
dependencies: 'odlparent-merge-{stream},controller-merge-{stream},yangtools-merge-{stream}'
email-upstream: '[ovsdb] [odlparent] [controller] [yangtools]'
- archive-artifacts: ''
# Used by the release job
staging-profile-id: a68b188166958
name: ovsdb-nitrogen
jobs:
- '{project-name}-distribution-check-{stream}'
- - '{project-name}-integration-{stream}'
- '{project-name}-maven-javadoc-jobs'
- odl-maven-jobs
project: 'ovsdb'
project-name: 'ovsdb'
branch: 'stable/nitrogen'
+ build-node: centos7-builder-2c-8g
mvn-settings: 'ovsdb-settings'
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
dependencies: 'odlparent-merge-{stream},controller-merge-{stream},yangtools-merge-{stream}'
email-upstream: '[ovsdb] [odlparent] [controller] [yangtools]'
- archive-artifacts: ''
# Used by the release job
staging-profile-id: a68b188166958
name: ovsdb-carbon
jobs:
- '{project-name}-distribution-check-{stream}'
- - '{project-name}-integration-{stream}'
- '{project-name}-maven-javadoc-jobs'
- odl-maven-jobs
project: 'ovsdb'
project-name: 'ovsdb'
branch: 'stable/carbon'
+ build-node: centos7-builder-2c-8g
karaf-version: karaf3
mvn-settings: 'ovsdb-settings'
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
dependencies: 'odlparent-merge-{stream},controller-merge-{stream},yangtools-merge-{stream}'
email-upstream: '[ovsdb] [odlparent] [controller] [yangtools]'
- archive-artifacts: ''
# Used by the release job
staging-profile-id: a68b188166958
name: p4plugin-oxygen
jobs:
- '{project-name}-distribution-check-{stream}'
- - '{project-name}-integration-{stream}'
- '{project-name}-maven-javadoc-jobs'
- odl-maven-jobs
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
dependencies: ''
email-upstream: '[p4plugin]'
- archive-artifacts: ''
# Used by the release job
staging-profile-id: a68bf26e208d4
builders:
- inject:
properties-content: 'URL=/home/$USER/rpmbuild/RPMS/noarch/*.rpm'
- - shell: !include-raw: test-rpm-deps.sh
- - shell: !include-raw-escape: install-rpm.sh
- - shell: !include-raw: start-odl.sh
# Install deps needed interactive Karaf shell tests
- shell: |
# Install expect to interact with Karaf shell
# Install nmap to check status of ODL's SSH port
sudo yum install -y expect nmap
+ - shell: !include-raw: test-rpm-deps.sh
+ - shell: !include-raw-escape: install-rpm.sh
+ - shell: !include-raw: start-odl.sh
+ - shell: !include-raw: test-ports-nofeature.sh
- shell: !include-raw: test-karaf.expect
- - shell: !include-raw: test-rest-ok.sh
+ # Disable this test until ODLPARENT-139 is fixed
+ # - shell: !include-raw: test-rest-ok.sh
- shell: !include-raw: stop-odl.sh
- shell: !include-raw: uninstall-rpm.sh
- shell: |
# Test Oxygen pre-release autorelease tarball
# FIXME: There aren't any available Oxygen autorelease builds, add one once possible
+ # FIXME: Oxygen tests fail due to jira.opendaylight.org/browse/ODLPARENT-139
# - inject:
# yamllint disable-line rule:line-length
# properties-content: 'DOWNLOAD_URL=https://nexus.opendaylight.org/content/repositories/autorelease-2052/org/opendaylight/integration/karaf/0.8.0/karaf-0.8.0.tar.gz'
# - install-test-uninstall-rpm
# Test Oxygen multipatch zip (no parallel tarball available)
- - inject:
- # yamllint disable-line rule:line-length
- properties-content: 'DOWNLOAD_URL=https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/org/opendaylight/integration/integration/distribution/karaf/0.8.0-SNAPSHOT/karaf-0.8.0-20180126.083749-120.zip'
- - shell: !include-raw-escape: build-rpm.sh
- - install-test-uninstall-rpm
+ # FIXME: Oxygen tests fail due to jira.opendaylight.org/browse/ODLPARENT-139
+ # - inject:
+ # yamllint disable-line rule:line-length
+ # properties-content: 'DOWNLOAD_URL=https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/org/opendaylight/integration/integration/distribution/karaf/0.8.0-SNAPSHOT/karaf-0.8.0-20180204.191936-134.zip'
+ # - shell: !include-raw-escape: build-rpm.sh
+ # - install-test-uninstall-rpm
# Test latest Oxygen snapshot
- - inject:
- properties-content: 'STREAM=oxygen'
- - shell: !include-raw: build-rpm-snap.sh
- - install-test-uninstall-rpm
+ # FIXME: Oxygen tests fail due to jira.opendaylight.org/browse/ODLPARENT-139
+ # - inject:
+ # properties-content: 'STREAM=oxygen'
+ # - shell: !include-raw: build-rpm-snap.sh
+ # - install-test-uninstall-rpm
triggers:
- gerrit:
- install-test-uninstall-rpm
# Test Oxygen pre-release autorelease tarball
- # NB: This will need to be updated as old builds expire
# FIXME: There aren't any available Oxygen autorelease builds, add one once possible
+ # FIXME: Oxygen tests fail due to jira.opendaylight.org/browse/ODLPARENT-139
+ # NB: This will need to be updated as old builds expire
# - inject:
# yamllint disable-line rule:line-length
# properties-content: 'DOWNLOAD_URL=https://nexus.opendaylight.org/content/repositories/autorelease-2052/org/opendaylight/integration/karaf/0.8.0/karaf-0.8.0.tar.gz'
# - install-test-uninstall-rpm
# Test Oxygen multipatch zip (no parallel tarball available)
- # FIXME: Something is wrong with current Oxygen multipatch builds
+ # FIXME: Oxygen tests fail due to jira.opendaylight.org/browse/ODLPARENT-139
# NB: This will need to be updated as old builds expire
# - inject:
# yamllint disable-line rule:line-length
- # properties-content: 'DOWNLOAD_URL=https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/org/opendaylight/integration/integration/distribution/karaf/0.8.0-SNAPSHOT/karaf-0.8.0-20180111.030942-90.zip'
+ # properties-content: 'DOWNLOAD_URL=https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/org/opendaylight/integration/integration/distribution/karaf/0.8.0-SNAPSHOT/karaf-0.8.0-20180204.191936-134.zip'
# - shell: !include-raw: build-rpm.sh
# - install-test-uninstall-rpm
# Test latest Oxygen snapshot
+ # FIXME: Oxygen tests fail due to jira.opendaylight.org/browse/ODLPARENT-139
+ # NB: Leaving this one known-failing Oxygen test running so can watch for fix
- inject:
properties-content: 'STREAM=oxygen'
- shell: !include-raw: build-rpm-snap.sh
build-timeout: '{build-timeout}'
builders:
- - shell: !include-raw-escape: install-rpm.sh
- - shell: !include-raw: start-odl.sh
- shell: |
# Install expect to interact with Karaf shell
# Install nmap to check status of ODL's SSH port
sudo yum install -y expect nmap
+ - shell: !include-raw-escape: install-rpm.sh
+ - shell: !include-raw: start-odl.sh
+ - shell: !include-raw-escape: test-ports-nofeature.sh
- shell: !include-raw: test-karaf.expect
- shell: !include-raw-escape: test-rest-ok.sh
- shell: !include-raw: stop-odl.sh
}}
}}
+# Disable this test until ODLPARENT-139 is fixed
# Install feature
-expect "$prompt"
-send "feature:install odl-netvirt-openstack\r"
-expect {{
- "Error executing command: Can't install feature" {{
- send_user "\nFailed to install test feature\n"
- exit 1
- }}
-}}
+# expect "$prompt"
+# send "feature:install odl-netvirt-openstack\r"
+# expect {{
+# "Error executing command: Can't install feature" {{
+# send_user "\nFailed to install test feature\n"
+# exit 1
+# }}
+# }}
# Verify installed feature is actually installed
-expect "$prompt"
+# expect "$prompt"
# The -i flag will only show installed features
-send "feature:list -i | grep odl-netvirt-openstack\r"
-expect {{
- timeout {{
- send_user "\nTest feature not installed\n"
- exit 1
- }}
- "OpenDaylight :: NetVirt :: OpenStack" {{
- send_user "\nTest feature installed successfully\n"
- }}
-}}
+# send "feature:list -i | grep odl-netvirt-openstack\r"
+# expect {{
+# timeout {{
+# send_user "\nTest feature not installed\n"
+# exit 1
+# }}
+# "OpenDaylight :: NetVirt :: OpenStack" {{
+# send_user "\nTest feature installed successfully\n"
+# }}
+# }}
--- /dev/null
+#!/bin/bash
+
+# Options:
+# -x: Echo commands
+# -e: Fail on errors
+# -o pipefail: Fail on errors in scripts this calls, give stacktrace
+set -ex -o pipefail
+
+# Ports that should be open after ODL is started with default features
+# Port 1099: Karaf rmiRegistryPort
+# Port 8101: Karaf SSH Shell port
+# Port 44444: Karaf rmiServerPort
+declare -a expected_ports=("1099" "8101" "44444")
+
+# Ports that should only be open after odl-nevirt-openstack is installed
+# 8080 is Nitrogen and Carbon only, not Oxygen
+declare -a unexpected_ports=("2550" "6633" "6640" "6644" "6653" "8080" "8181" "8185")
+
+# Make sure expected ports open
+COUNT="0"
+while true; do
+ open_ports=()
+ closed_ports=()
+ for port in "${expected_ports[@]}"
+ do
+ if nmap -Pn -p$port localhost | grep -q open; then
+ echo "Port $port is open"
+ open_ports+=("$port")
+ else
+ echo "Port $port is not yet open"
+ closed_ports+=("$port")
+ fi
+ done
+ if [[ ${#open_ports[@]} -eq ${#expected_ports[@]} && ${#closed_ports[@]} -eq 0 ]]; then
+ echo "All expected ports are open"
+ echo "Open ports:"
+ printf '%s\n' "${open_ports[@]}"
+ echo "Closed ports:"
+ printf '%s\n' "${closed_ports[@]}"
+ break
+ elif [ $COUNT -gt 120 ]; then
+ echo "Timeout waiting ports to open"
+ echo "Open ports:"
+ printf '%s\n' "${open_ports[@]}"
+ echo "Closed ports:"
+ printf '%s\n' "${closed_ports[@]}"
+ exit 1
+ else
+ ((COUNT+=5))
+ sleep 5
+ fi
+done
+
+# Make sure unexpected ports are not open
+open_ports=()
+closed_ports=()
+for port in "${unexpected_ports[@]}"
+do
+ if nmap -Pn -p$port localhost | grep -q open; then
+ echo "Port $port is open"
+ open_ports+=("$port")
+ else
+ echo "Port $port is not open"
+ closed_ports+=("$port")
+ fi
+done
+if [[ ${#closed_ports[@]} -eq ${#unexpected_ports[@]} && ${#open_ports[@]} -eq 0 ]]; then
+ echo "No unexpected ports are open"
+ echo "Open ports:"
+ printf '%s\n' "${open_ports[@]}"
+ echo "Closed ports:"
+ printf '%s\n' "${closed_ports[@]}"
+fi
name: packetcable-oxygen
jobs:
- '{project-name}-distribution-check-{stream}'
- - '{project-name}-integration-{stream}'
- odl-maven-jobs
stream: oxygen
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
dependencies: ''
email-upstream: '[packetcable]'
- archive-artifacts: ''
# Used by the release job
staging-profile-id: a68ca4a24655c
name: packetcable-nitrogen
jobs:
- '{project-name}-distribution-check-{stream}'
- - '{project-name}-integration-{stream}'
- odl-maven-jobs
stream: nitrogen
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
dependencies: ''
email-upstream: '[packetcable]'
- archive-artifacts: ''
# Used by the release job
staging-profile-id: a68ca4a24655c
name: packetcable-carbon
jobs:
- '{project-name}-distribution-check-{stream}'
- - '{project-name}-integration-{stream}'
- odl-maven-jobs
stream: carbon
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
dependencies: ''
email-upstream: '[packetcable]'
- archive-artifacts: ''
# Used by the release job
staging-profile-id: a68ca4a24655c
- project:
name: persistence-oxygen
jobs:
- - '{project-name}-integration-{stream}'
- odl-maven-jobs
stream: oxygen
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
dependencies: ''
email-upstream: '[persistence]'
- archive-artifacts: ''
# Used by the release job
staging-profile-id: a68d3c2bb44d1
- project:
name: persistence-nitrogen
jobs:
- - '{project-name}-integration-{stream}'
- odl-maven-jobs
stream: nitrogen
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
dependencies: ''
email-upstream: '[persistence]'
- archive-artifacts: ''
# Used by the release job
staging-profile-id: a68d3c2bb44d1
- project:
name: persistence-carbon
jobs:
- - '{project-name}-integration-{stream}'
- odl-maven-jobs
stream: carbon
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
dependencies: ''
email-upstream: '[persistence]'
- archive-artifacts: ''
# Used by the release job
staging-profile-id: a68d3c2bb44d1
openstack_system_image_pike: ZZCI - CentOS 7 - devstack-pike - 20171208-1649
stack-template: csit-2-instance-type.yaml
docker_system_count: 1
- docker_system_flavor: v1-performance-1
+ docker_system_flavor: v2-standard-1
docker_system_image: ZZCI - CentOS 7 - docker - 20180109-0346
odl_system_count: 1
- odl_system_flavor: v1-performance-2
+ odl_system_flavor: v2-highcpu-4
odl_system_image: ZZCI - CentOS 7 - builder - 20180201-2139
openstack_system_count: 1
- openstack_system_flavor: v1-performance-4
+ openstack_system_flavor: v2-standard-4
openstack_system_image: ZZCI - CentOS 7 - devstack - 20171208-1648
openstack_system2_count: 0
- openstack_system2_flavor: v1-performance-1
+ openstack_system2_flavor: v2-standard-1
openstack_system2_image: ZZCI - CentOS 7 - devstack - 20171208-1648
tools_system_count: 1
- tools_system_flavor: v1-performance-1
+ tools_system_flavor: v2-highcpu-2
tools_system_image: ZZCI - Ubuntu 16.04 - mininet-ovs-25 - 20171208-1847
# Default Robot framework options
# Maven / Java
java-version: 'openjdk8'
jre: 'openjdk8'
- jdk: 'openjdk8'
opendaylight-infra-mvn-opts: |
--show-version
--batch-mode
- '{project-name}-ci-jobs':
build-node: centos7-builder-2c-2g
build-timeout: 60
+ jenkins-silos: releng sandbox
- builder-check-poms
- builder-copy-sandbox-logs
- builder-openstack-cron
jobs:
- gerrit-maven-clm
- - gerrit-maven-merge:
- post_build_trigger:
- - project:
- - 'distribution-merge-{stream}'
- condition: SUCCESS
- trigger-with-no-params: true
+ # TODO: Figure out what's wrong with the gerrit-maven-merge job.
+ # - gerrit-maven-merge:
+ # post_build_trigger:
+ # - project:
+ # - 'distribution-merge-{stream}'
+ # condition: SUCCESS
+ # trigger-with-no-params: true
+ - '{project-name}-merge-{stream}':
+ build-timeout: 180
+ mvn-goals: clean install -V -Dmaven.compile.fork=true -Dintegrationtests -Dvtn.build.jobs=2
- gerrit-maven-release
- gerrit-maven-verify
# Default parameters #
######################
+ archive-artifacts: >
+ **/*.log
+ **/hs_err_*.log
+ **/target/**/feature.xml
+ **/target/failsafe-reports/failsafe-summary.xml
+ **/target/surefire-reports/*-output.txt
mvn-goals: clean install
#####################
project-type: freestyle
node: '{build-node}'
- jdk: '{jdk}'
+ jdk: '{java-version}'
properties:
- opendaylight-infra-properties:
- findbugs
- lf-jacoco-report
- lf-infra-publish
+
+- job-template:
+ name: '{project-name}-merge-{stream}'
+
+ ######################
+ # Default parameters #
+ ######################
+
+ archive-artifacts: >
+ **/*.log
+ **/hs_err_*.log
+ **/target/**/feature.xml
+ **/target/failsafe-reports/failsafe-summary.xml
+ **/target/surefire-reports/*-output.txt
+ mvn-version: mvn33
+ java-version: openjdk8
+
+ #####################
+ # Job Configuration #
+ #####################
+
+ # Need to keep jobs that deploy to Nexus at end of build as Maven
+ # projects. Maybe reconsider this once upstream moves deploy to a
+ # separate lifecycle:
+ # https://issues.apache.org/jira/browse/MNG-5666
+ project-type: maven
+ node: '{build-node}'
+ jdk: '{java-version}'
+
+ properties:
+ - opendaylight-infra-properties:
+ build-days-to-keep: 14
+
+ parameters:
+ - opendaylight-infra-parameters:
+ os-cloud: '{os-cloud}'
+ project: '{project}'
+ branch: '{branch}'
+ refspec: 'refs/heads/{branch}'
+ artifacts: '{archive-artifacts}'
+ - string:
+ name: STREAM
+ default: '{stream}'
+ description: "String representing release name"
+
+ scm:
+ - gerrit-trigger-scm:
+ refspec: ''
+ choosing-strategy: 'default'
+
+ wrappers:
+ - opendaylight-infra-wrappers:
+ build-timeout: '{build-timeout}'
+
+ triggers:
+ - timed: 'H H * * 0'
+ - gerrit-trigger-patch-merged:
+ gerrit-server-name: '{gerrit-server-name}'
+ name: '{project}'
+ branch: '{branch}'
+
+ prebuilders:
+ - jacoco-nojava-workaround
+ - provide-maven-settings:
+ global-settings-file: 'global-settings'
+ settings-file: '{mvn-settings}'
+ - lf-maven-install:
+ mvn-version: '{mvn-version}'
+
+ # TODO: Do we want to apply sophisticated checks as in *-distribution-check-*?
+ maven:
+ maven-name: '{mvn-version}'
+ goals: >
+ {mvn-goals}
+ -Dmerge
+ -Dstream={stream}
+ {opendaylight-infra-mvn-opts}
+ maven-opts: '{mvn-opts}'
+ settings: '{mvn-settings}'
+ settings-type: cfp
+ global-settings: 'global-settings'
+ global-settings-type: cfp
+ post-step-run-condition: UNSTABLE
+
+ reporters:
+ - findbugs
+
+ publishers:
+ - email-notification:
+ email-recipients: '{email-recipients}'
+ email-prefix: '[{project-name}]'
+ - maven-deploy:
+ id: ''
+ unique-version: true
+ deploy-unstable: false
+ - lf-jacoco-report
+ - lf-infra-publish
+ - trigger:
+ project: 'distribution-merge-{stream}'
+ threshold: SUCCESS
project-type: freestyle
node: '{build-node}'
- jdk: '{jdk}'
+ jdk: '{java-version}'
properties:
- opendaylight-infra-properties:
project-type: freestyle
node: '{build-node}'
- jdk: '{jdk}'
+ jdk: '{java-version}'
parameters:
- opendaylight-infra-parameters:
- project:
name: reservation-oxygen
jobs:
- - '{project-name}-integration-{stream}'
- odl-maven-jobs
stream: oxygen
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
dependencies: ''
email-upstream: '[reservation]'
- archive-artifacts: ''
# Used by the release job
staging-profile-id: a68d9bc504037
- project:
name: reservation-nitrogen
jobs:
- - '{project-name}-integration-{stream}'
- odl-maven-jobs
stream: nitrogen
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
dependencies: ''
email-upstream: '[reservation]'
- archive-artifacts: ''
# Used by the release job
staging-profile-id: a68d9bc504037
- project:
name: reservation-carbon
jobs:
- - '{project-name}-integration-{stream}'
- odl-maven-jobs
stream: carbon
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
dependencies: ''
email-upstream: '[reservation]'
- archive-artifacts: ''
# Used by the release job
staging-profile-id: a68d9bc504037
name: sdninterfaceapp-oxygen
jobs:
- '{project-name}-distribution-check-{stream}'
- - '{project-name}-integration-{stream}'
- odl-maven-jobs
stream: oxygen
project: 'sdninterfaceapp'
project-name: 'sdninterfaceapp'
branch: 'master'
+ build-node: centos7-builder-2c-8g
mvn-settings: 'sdninterfaceapp-settings'
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
dependencies: 'bgpcep-merge-{stream}'
email-upstream: '[sdninterfaceapp] [bgpcep]'
- archive-artifacts: ''
# Used by the release job
staging-profile-id: a68e3d1ff55e3
name: sdninterfaceapp-nitrogen
jobs:
- '{project-name}-distribution-check-{stream}'
- - '{project-name}-integration-{stream}'
- odl-maven-jobs
stream: nitrogen
project: 'sdninterfaceapp'
project-name: 'sdninterfaceapp'
branch: 'stable/nitrogen'
+ build-node: centos7-builder-2c-8g
mvn-settings: 'sdninterfaceapp-settings'
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
dependencies: 'bgpcep-merge-{stream}'
email-upstream: '[sdninterfaceapp] [bgpcep]'
- archive-artifacts: ''
# Used by the release job
staging-profile-id: a68e3d1ff55e3
name: sdninterfaceapp-carbon
jobs:
- '{project-name}-distribution-check-{stream}'
- - '{project-name}-integration-{stream}'
- odl-maven-jobs
stream: carbon
project: 'sdninterfaceapp'
project-name: 'sdninterfaceapp'
branch: 'stable/carbon'
+ build-node: centos7-builder-2c-8g
karaf-version: karaf3
mvn-settings: 'sdninterfaceapp-settings'
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
dependencies: 'bgpcep-merge-{stream}'
email-upstream: '[sdninterfaceapp] [bgpcep]'
- archive-artifacts: ''
# Used by the release job
staging-profile-id: a68e3d1ff55e3
project: 'sdninterfaceapp'
project-name: 'sdninterfaceapp'
branch: 'master'
+ build-node: centos7-builder-2c-8g
mvn-settings: 'sdninterfaceapp-settings'
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
name: sfc-oxygen
jobs:
- '{project-name}-distribution-check-{stream}'
- - '{project-name}-integration-{stream}'
- odl-maven-jobs
stream: oxygen
build-timeout: 120
dependencies: 'openflowplugin-merge-{stream},ovsdb-merge-{stream},lispflowmapping-merge-{stream}'
email-upstream: '[sfc] [openflowplugin] [ovsdb] [lispflowmapping]'
- archive-artifacts: ''
build-node: centos7-builder-8c-8g
# Used by the release job
name: sfc-nitrogen
jobs:
- '{project-name}-distribution-check-{stream}'
- - '{project-name}-integration-{stream}'
- odl-maven-jobs
stream: nitrogen
mvn-opts: '-Xmx2048m -XX:MaxPermSize=256m -Dmaven.compile.fork=true'
dependencies: 'openflowplugin-merge-{stream},ovsdb-merge-{stream},lispflowmapping-merge-{stream}'
email-upstream: '[sfc] [openflowplugin] [ovsdb] [lispflowmapping]'
- archive-artifacts: ''
build-node: centos7-builder-8c-8g
# Used by the release job
name: sfc-carbon
jobs:
- '{project-name}-distribution-check-{stream}'
- - '{project-name}-integration-{stream}'
- odl-maven-jobs
stream: carbon
mvn-opts: '-Xmx2048m -XX:MaxPermSize=256m -Dmaven.compile.fork=true'
dependencies: 'openflowplugin-merge-{stream},ovsdb-merge-{stream},lispflowmapping-merge-{stream}'
email-upstream: '[sfc] [openflowplugin] [ovsdb] [lispflowmapping]'
- archive-artifacts: ''
build-node: centos7-builder-8c-8g
# Used by the release job
name: snbi-oxygen
jobs:
- '{project-name}-distribution-check-{stream}'
- - '{project-name}-integration-{stream}'
- odl-maven-jobs
stream: oxygen
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
dependencies: ''
email-upstream: '[snbi]'
- archive-artifacts: ''
# Used by the release job
staging-profile-id: a68f328cefed6
name: snbi-nitrogen
jobs:
- '{project-name}-distribution-check-{stream}'
- - '{project-name}-integration-{stream}'
- odl-maven-jobs
stream: nitrogen
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
dependencies: ''
email-upstream: '[snbi]'
- archive-artifacts: ''
# Used by the release job
staging-profile-id: a68f328cefed6
name: snbi-carbon
jobs:
- '{project-name}-distribution-check-{stream}'
- - '{project-name}-integration-{stream}'
- odl-maven-jobs
stream: carbon
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
dependencies: ''
email-upstream: '[snbi]'
- archive-artifacts: ''
# Used by the release job
staging-profile-id: a68f328cefed6
name: snmp-oxygen
jobs:
- '{project-name}-distribution-check-{stream}'
- - '{project-name}-integration-{stream}'
- odl-maven-jobs
stream: oxygen
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
dependencies: 'odlparent-merge-{stream}'
email-upstream: '[snmp] [odlparent]'
- archive-artifacts: ''
# Used by the release job
staging-profile-id: a68fb236b93a6
name: snmp-nitrogen
jobs:
- '{project-name}-distribution-check-{stream}'
- - '{project-name}-integration-{stream}'
- odl-maven-jobs
stream: nitrogen
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
dependencies: 'odlparent-merge-{stream}'
email-upstream: '[snmp] [odlparent]'
- archive-artifacts: ''
# Used by the release job
staging-profile-id: a68fb236b93a6
name: snmp-carbon
jobs:
- '{project-name}-distribution-check-{stream}'
- - '{project-name}-integration-{stream}'
- odl-maven-jobs
stream: carbon
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
dependencies: 'odlparent-merge-{stream}'
email-upstream: '[snmp] [odlparent]'
- archive-artifacts: ''
# Used by the release job
staging-profile-id: a68fb236b93a6
name: snmp4sdn-oxygen
jobs:
- '{project-name}-distribution-check-{stream}'
- - '{project-name}-integration-{stream}'
- odl-maven-jobs
stream: oxygen
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
dependencies: 'odlparent-merge-{stream},controller-merge-{stream},yangtools-merge-{stream}'
email-upstream: '[snmp4sdn] [odlparent] [controller] [yangtools]'
- archive-artifacts: ''
# Used by the release job
staging-profile-id: a69034a4b6ef5
name: snmp4sdn-nitrogen
jobs:
- '{project-name}-distribution-check-{stream}'
- - '{project-name}-integration-{stream}'
- odl-maven-jobs
stream: nitrogen
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
dependencies: 'odlparent-merge-{stream},controller-merge-{stream},yangtools-merge-{stream}'
email-upstream: '[snmp4sdn] [odlparent] [controller] [yangtools]'
- archive-artifacts: ''
# Used by the release job
staging-profile-id: a69034a4b6ef5
name: snmp4sdn-carbon
jobs:
- '{project-name}-distribution-check-{stream}'
- - '{project-name}-integration-{stream}'
- odl-maven-jobs
stream: carbon
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
dependencies: 'odlparent-merge-{stream},controller-merge-{stream},yangtools-merge-{stream}'
email-upstream: '[snmp4sdn] [odlparent] [controller] [yangtools]'
- archive-artifacts: ''
# Used by the release job
staging-profile-id: a69034a4b6ef5
name: sxp-oxygen
jobs:
- '{project-name}-distribution-check-{stream}'
- - '{project-name}-integration-{stream}'
- odl-maven-jobs
stream: oxygen
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
dependencies: 'odlparent-merge-{stream},controller-merge-{stream},yangtools-merge-{stream}'
email-upstream: '[sxp] [odlparent] [controller] [yangtools]'
- archive-artifacts: ''
# Used by the release job
staging-profile-id: a6909c75719b7
name: sxp-nitrogen
jobs:
- '{project-name}-distribution-check-{stream}'
- - '{project-name}-integration-{stream}'
- odl-maven-jobs
stream: nitrogen
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
dependencies: 'odlparent-merge-{stream},controller-merge-{stream},yangtools-merge-{stream}'
email-upstream: '[sxp] [odlparent] [controller] [yangtools]'
- archive-artifacts: ''
# Used by the release job
staging-profile-id: a6909c75719b7
name: sxp-carbon
jobs:
- '{project-name}-distribution-check-{stream}'
- - '{project-name}-integration-{stream}'
- odl-maven-jobs
stream: carbon
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
dependencies: 'odlparent-merge-{stream},controller-merge-{stream},yangtools-merge-{stream}'
email-upstream: '[sxp] [odlparent] [controller] [yangtools]'
- archive-artifacts: ''
# Used by the release job
staging-profile-id: a6909c75719b7
- project:
name: systemmetrics-oxygen
jobs:
- - '{project-name}-integration-{stream}'
- odl-maven-jobs
project: 'systemmetrics'
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
dependencies: 'odlparent-merge-{stream},yangtools-merge-{stream},controller-merge-{stream}'
email-upstream: '[systemmetrics] [odlparent] [yangtools] [controller]'
- archive-artifacts: ''
# Used by the release job
staging-profile-id: a69113575458e
- project:
name: systemmetrics-nitrogen
jobs:
- - '{project-name}-integration-{stream}'
- odl-maven-jobs
project: 'systemmetrics'
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
dependencies: 'odlparent-merge-{stream},yangtools-merge-{stream},controller-merge-{stream}'
email-upstream: '[systemmetrics] [odlparent] [yangtools] [controller]'
- archive-artifacts: ''
# Used by the release job
staging-profile-id: a69113575458e
- project:
name: systemmetrics-carbon
jobs:
- - '{project-name}-integration-{stream}'
- odl-maven-jobs
project: 'systemmetrics'
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
dependencies: 'odlparent-merge-{stream},yangtools-merge-{stream},controller-merge-{stream}'
email-upstream: '[systemmetrics] [odlparent] [yangtools] [controller]'
- archive-artifacts: ''
# Used by the release job
staging-profile-id: a69113575458e
name: topoprocessing-oxygen
jobs:
- '{project-name}-distribution-check-{stream}'
- - '{project-name}-integration-{stream}'
- odl-maven-jobs
stream: oxygen
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
dependencies: 'odlparent-merge-{stream},controller-merge-{stream},yangtools-merge-{stream}'
email-upstream: '[topoprocessing] [odlparent] [controller] [yangtools]'
- archive-artifacts: ''
# Used by the release job
staging-profile-id: a691bbe2328cb
name: topoprocessing-nitrogen
jobs:
- '{project-name}-distribution-check-{stream}'
- - '{project-name}-integration-{stream}'
- odl-maven-jobs
stream: nitrogen
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
dependencies: 'odlparent-merge-{stream},controller-merge-{stream},yangtools-merge-{stream}'
email-upstream: '[topoprocessing] [odlparent] [controller] [yangtools]'
- archive-artifacts: ''
# Used by the release job
staging-profile-id: a691bbe2328cb
name: topoprocessing-carbon
jobs:
- '{project-name}-distribution-check-{stream}'
- - '{project-name}-integration-{stream}'
- odl-maven-jobs
stream: carbon
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
dependencies: 'odlparent-merge-{stream},controller-merge-{stream},yangtools-merge-{stream}'
email-upstream: '[topoprocessing] [odlparent] [controller] [yangtools]'
- archive-artifacts: ''
# Used by the release job
staging-profile-id: a691bbe2328cb
- project:
name: transportpce-oxygen
jobs:
- - '{project-name}-integration-{stream}'
- odl-maven-jobs
project: 'transportpce'
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
dependencies: 'odlparent-merge-{stream},yangtools-merge-{stream},controller-merge-{stream}'
email-upstream: '[transportpce] [odlparent] [yangtools] [controller]'
- archive-artifacts: ''
# Used by the release job
staging-profile-id: a6927323fa3d4
- project:
name: transportpce-nitrogen
jobs:
- - '{project-name}-integration-{stream}'
- odl-maven-jobs
project: 'transportpce'
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
dependencies: 'odlparent-merge-{stream},yangtools-merge-{stream},controller-merge-{stream}'
email-upstream: '[transportpce] [odlparent] [yangtools] [controller]'
- archive-artifacts: ''
# Used by the release job
staging-profile-id: a6927323fa3d4
- project:
name: transportpce-carbon
jobs:
- - '{project-name}-integration-{stream}'
- odl-maven-jobs
project: 'transportpce'
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
dependencies: 'odlparent-merge-{stream},yangtools-merge-{stream},controller-merge-{stream}'
email-upstream: '[transportpce] [odlparent] [yangtools] [controller]'
- archive-artifacts: ''
# Used by the release job
staging-profile-id: a6927323fa3d4
name: tsdr-oxygen
jobs:
- '{project-name}-distribution-check-{stream}'
- - '{project-name}-integration-{stream}'
- odl-maven-jobs
stream: oxygen
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
dependencies: ''
email-upstream: '[tsdr]'
- archive-artifacts: ''
# Used by the release job
staging-profile-id: a69373036303c
name: tsdr-nitrogen
jobs:
- '{project-name}-distribution-check-{stream}'
- - '{project-name}-integration-{stream}'
- odl-maven-jobs
stream: nitrogen
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
dependencies: ''
email-upstream: '[tsdr]'
- archive-artifacts: ''
# Used by the release job
staging-profile-id: a69373036303c
name: tsdr-carbon
jobs:
- '{project-name}-distribution-check-{stream}'
- - '{project-name}-integration-{stream}'
- odl-maven-jobs
stream: carbon
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
dependencies: ''
email-upstream: '[tsdr]'
- archive-artifacts: ''
# Used by the release job
staging-profile-id: a69373036303c
name: ttp-oxygen
jobs:
- '{project-name}-distribution-check-{stream}'
- - '{project-name}-integration-{stream}'
- odl-maven-jobs
stream: oxygen
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
dependencies: 'odlparent-merge-{stream}'
email-upstream: '[ttp] [odlparent]'
- archive-artifacts: ''
# Used by the release job
staging-profile-id: a693f948563d5
name: ttp-nitrogen
jobs:
- '{project-name}-distribution-check-{stream}'
- - '{project-name}-integration-{stream}'
- odl-maven-jobs
stream: nitrogen
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
dependencies: 'odlparent-merge-{stream}'
email-upstream: '[ttp] [odlparent]'
- archive-artifacts: ''
# Used by the release job
staging-profile-id: a693f948563d5
name: ttp-carbon
jobs:
- '{project-name}-distribution-check-{stream}'
- - '{project-name}-integration-{stream}'
- odl-maven-jobs
stream: carbon
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
dependencies: 'odlparent-merge-{stream}'
email-upstream: '[ttp] [odlparent]'
- archive-artifacts: ''
# Used by the release job
staging-profile-id: a693f948563d5
name: unimgr-oxygen
jobs:
- '{project-name}-distribution-check-{stream}'
- - '{project-name}-integration-{stream}'
- odl-maven-jobs
stream: oxygen
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
dependencies: 'ovsdb-merge-{stream}'
email-upstream: '[unimgr] [ovsdb]'
- archive-artifacts: ''
build-node: centos7-builder-4c-16g
# Used by the release job
name: unimgr-nitrogen
jobs:
- '{project-name}-distribution-check-{stream}'
- - '{project-name}-integration-{stream}'
- odl-maven-jobs
stream: nitrogen
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
dependencies: 'ovsdb-merge-{stream}'
email-upstream: '[unimgr] [ovsdb]'
- archive-artifacts: ''
build-node: centos7-builder-4c-16g
# Used by the release job
name: unimgr-carbon
jobs:
- '{project-name}-distribution-check-{stream}'
- - '{project-name}-integration-{stream}'
- odl-maven-jobs
stream: carbon
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
dependencies: 'ovsdb-merge-{stream}'
email-upstream: '[unimgr] [ovsdb]'
- archive-artifacts: ''
build-node: centos7-builder-4c-16g
# Used by the release job
name: usc-oxygen
jobs:
- '{project-name}-distribution-check-{stream}'
- - '{project-name}-integration-{stream}'
- '{project-name}-maven-javadoc-jobs'
- odl-maven-jobs
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
dependencies: 'controller-merge-{stream},yangtools-merge-{stream},odlparent-merge-{stream}'
email-upstream: '[usc] [controller] [yangtools] [odlparent]'
- archive-artifacts: ''
# Used by the release job
staging-profile-id: a697b633b3ffe
name: usc-nitrogen
jobs:
- '{project-name}-distribution-check-{stream}'
- - '{project-name}-integration-{stream}'
- '{project-name}-maven-javadoc-jobs'
- odl-maven-jobs
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
dependencies: 'controller-merge-{stream},yangtools-merge-{stream},odlparent-merge-{stream}'
email-upstream: '[usc] [controller] [yangtools] [odlparent]'
- archive-artifacts: ''
# Used by the release job
staging-profile-id: a697b633b3ffe
name: usc-carbon
jobs:
- '{project-name}-distribution-check-{stream}'
- - '{project-name}-integration-{stream}'
- '{project-name}-maven-javadoc-jobs'
- odl-maven-jobs
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
dependencies: 'controller-merge-{stream},yangtools-merge-{stream},odlparent-merge-{stream}'
email-upstream: '[usc] [controller] [yangtools] [odlparent]'
- archive-artifacts: ''
# Used by the release job
staging-profile-id: a697b633b3ffe
name: usecplugin-oxygen
jobs:
- '{project-name}-distribution-check-{stream}'
- - '{project-name}-integration-{stream}'
- odl-maven-jobs
stream: oxygen
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
dependencies: 'openflowplugin-merge-{stream}'
email-upstream: '[usecplugin] [openflowplugin]'
- archive-artifacts: ''
# Used by the release job
staging-profile-id: a69902281e037
name: usecplugin-nitrogen
jobs:
- '{project-name}-distribution-check-{stream}'
- - '{project-name}-integration-{stream}'
- odl-maven-jobs
stream: nitrogen
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
dependencies: 'openflowplugin-merge-{stream}'
email-upstream: '[usecplugin] [openflowplugin]'
- archive-artifacts: ''
# Used by the release job
staging-profile-id: a69902281e037
name: usecplugin-carbon
jobs:
- '{project-name}-distribution-check-{stream}'
- - '{project-name}-integration-{stream}'
- odl-maven-jobs
stream: carbon
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
dependencies: 'openflowplugin-merge-{stream}'
email-upstream: '[usecplugin] [openflowplugin]'
- archive-artifacts: ''
# Used by the release job
staging-profile-id: a69902281e037
public-bridge: 'br-ex'
disable-openstack-services: 'n-net,q-l3'
tenant-network-type: 'local'
- odl_system_flavor: v1-performance-8
- openstack_system_flavor: v1-performance-8
+ odl_system_flavor: v2-standard-8
+ openstack_system_flavor: v2-standard-8
odl-ml2-driver-version: 'v2'
name: vtn-oxygen
jobs:
- '{project-name}-distribution-check-{stream}'
- - '{project-name}-integration-{stream}'
- '{project-name}-maven-javadoc-jobs'
- odl-maven-jobs
name: vtn-nitrogen
jobs:
- '{project-name}-distribution-check-{stream}'
- - '{project-name}-integration-{stream}'
- '{project-name}-maven-javadoc-jobs'
- odl-maven-jobs
name: vtn-carbon
jobs:
- '{project-name}-distribution-check-{stream}'
- - '{project-name}-integration-{stream}'
- '{project-name}-maven-javadoc-jobs'
- odl-maven-jobs
name: yang-push-oxygen
jobs:
- '{project-name}-distribution-check-{stream}'
- - '{project-name}-integration-{stream}'
- odl-maven-jobs
stream: oxygen
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
dependencies: ''
email-upstream: '[yang-push]'
- archive-artifacts: ''
# Used by the release job
staging-profile-id: a69aae2832869
name: yang-push-nitrogen
jobs:
- '{project-name}-distribution-check-{stream}'
- - '{project-name}-integration-{stream}'
- odl-maven-jobs
stream: nitrogen
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
dependencies: ''
email-upstream: '[yang-push]'
- archive-artifacts: ''
# Used by the release job
staging-profile-id: a69aae2832869
name: yang-push-carbon
jobs:
- '{project-name}-distribution-check-{stream}'
- - '{project-name}-integration-{stream}'
- odl-maven-jobs
stream: carbon
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
dependencies: ''
email-upstream: '[yang-push]'
- archive-artifacts: ''
# Used by the release job
staging-profile-id: a69aae2832869
- project:
name: yangide-oxygen
jobs:
- - '{project-name}-integration-{stream}'
- odl-maven-jobs
stream: oxygen
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
dependencies: 'odlparent-merge-{stream},yangtools-merge-{stream}'
email-upstream: '[yangide] [odlparent] [yangtools]'
- archive-artifacts: ''
# Used by the release job
staging-profile-id: fba306956f98
- project:
name: yangide-nitrogen
jobs:
- - '{project-name}-integration-{stream}'
- odl-maven-jobs
stream: nitrogen
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
dependencies: 'odlparent-merge-{stream},yangtools-merge-{stream}'
email-upstream: '[yangide] [odlparent] [yangtools]'
- archive-artifacts: ''
# Used by the release job
staging-profile-id: fba306956f98
- project:
name: yangide-carbon
jobs:
- - '{project-name}-integration-{stream}'
- odl-maven-jobs
stream: carbon
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
dependencies: 'odlparent-merge-{stream},yangtools-merge-{stream}'
email-upstream: '[yangide] [odlparent] [yangtools]'
- archive-artifacts: ''
# Used by the release job
staging-profile-id: fba306956f98
robot-options: ''
# Additional patterns to archive
- archive-artifacts: ''
# FIXME: Delete if no patterns.
name: yangtools-nitrogen
jobs:
- '{project-name}-distribution-check-{stream}'
- - '{project-name}-integration-{stream}'
- '{project-name}-maven-javadoc-jobs'
- odl-maven-jobs
name: yangtools-carbon
jobs:
- '{project-name}-distribution-check-{stream}'
- - '{project-name}-integration-{stream}'
- '{project-name}-maven-javadoc-jobs'
- odl-maven-jobs
-Subproject commit 0b9b6addb738ea7c483c8cdf75b9ae173480f9cd
+Subproject commit 45fe40b674c0f2d2cfed080848ddeb2775b7d402
-Subproject commit ee1810e763425480edd032f9dd2aae0c2b289b8c
+Subproject commit 4332818a2ae9fc366bace64f459f4e44d1f8a86e
--- /dev/null
+---
+- import_playbook: ../common-packer/provision/docker.yaml
+
+- hosts: all
+ become_user: root
+ become_method: sudo
+
+ pre_tasks:
+ - include_role: name=system-update
+
+ post_tasks:
+ - name: System Reseal
+ script: ../common-packer/provision/system-reseal.sh
+ become: true
+++ /dev/null
-{
- "variables": {
- "base_image": null,
- "distro": null,
- "cloud_auth_url": null,
- "cloud_user": null,
- "cloud_pass": null,
- "cloud_network": null,
- "cloud_tenant": null,
- "cloud_user_data": null,
- "ssh_user": null,
- "ssh_proxy_host": ""
- },
- "builders": [
- {
- "name": "vexxhost",
- "image_name": "ZZCI - {{user `distro`}} - builder - {{isotime \"20060102-1504\"}}",
- "source_image_name": "{{user `base_image`}}",
- "type": "openstack",
- "identity_endpoint": "{{user `cloud_auth_url`}}",
- "username": "{{user `cloud_user`}}",
- "password": "{{user `cloud_pass`}}",
- "tenant_name": "{{user `cloud_tenant`}}",
- "domain_name": "Default",
- "region": "ca-ymq-1",
- "availability_zone": "ca-ymq-2",
- "networks": [
- "{{user `cloud_network`}}"
- ],
- "user_data_file": "{{user `cloud_user_data`}}",
- "ssh_username": "{{user `ssh_user`}}",
- "ssh_proxy_host": "{{user `ssh_proxy_host`}}",
- "flavor": "v1-standard-1",
- "metadata": {
- "ci_managed": "yes"
- }
- }
- ],
- "provisioners": [
- {
- "type": "shell",
- "scripts": [
- "common-packer/provision/install-python.sh"
- ],
- "execute_command": "chmod +x {{ .Path }}; if [ \"$UID\" == \"0\" ]; then {{ .Vars }} '{{ .Path }}'; else {{ .Vars }} sudo -E '{{ .Path }}'; fi"
- },
- {
- "type": "ansible",
- "playbook_file": "provision/builder.yaml",
- "ansible_env_vars": [
- "ANSIBLE_NOCOWS=1",
- "ANSIBLE_PIPELINING=True",
- "ANSIBLE_ROLES_PATH=../lf-ansible/roles",
- "ANSIBLE_CALLBACK_WHITELIST=profile_tasks",
- "ANSIBLE_STDOUT_CALLBACK=debug"
- ]
- }
- ]
-}
--- /dev/null
+../common-packer/templates/builder.json
\ No newline at end of file
-../common-packer/templates/docker.json.example
\ No newline at end of file
+../common-packer/templates/docker.json
\ No newline at end of file