* CentOS 7 - java-builder - 20170807-2145
* CentOS 7 - java-builder - 20171014-2148
* CentOS 7 - java-builder - 20171020-0130
+* CentOS 7 - java-builder - 20171030-1039
* CentOS 7 - robot - 20170117-0004
* CentOS 7 - robot - 20170210-1803
* CentOS 7 - robot - 20170328-0206
# disable the firewall
/bin/bash ./disable_firewall.sh
+
+# Add 'hostname' into /etc/hosts during node spinup time to avoid sudo returning
+# an 'unable to resolve host' message or some Java API's returning an unknown
+# host exception. The workaround on adding "myhostname" into /etc/nss-switch.conf
+# does not work on Ubuntu flavours.
+sed -i "/127.0.0.1/s/$/\t$(hostname)/" /etc/hosts
jenkins ALL = NOPASSWD: ALL
EOF
+# Add 'hostname' into /etc/hosts during node spinup time to avoid sudo returning
+# an 'unable to resolve host' message or some Java API's returning an unknown
+# host exception. The workaround on adding "myhostname" into /etc/nss-switch.conf
+# does not work on Ubuntu flavours.
+sed -i "/127.0.0.1/s/$/\t$(hostname)/" /etc/hosts
+
# Do the final install of OVS that the has to be done at boot time for
# some reason due to how the snapshots keep behaving.
dpkg --install /root/openvswitch-datapath-dkms* && \
- project:
name: aaa-oxygen
jobs:
- - '{project-name}-clm-{stream}'
- '{project-name}-distribution-check-{stream}'
- '{project-name}-integration-{stream}'
+ - '{project-name}-maven-jobs'
- '{project-name}-merge-{stream}'
- - '{project-name}-verify-{stream}-{maven}-{jdks}'
- - gerrit-maven-verify-dependencies
stream: oxygen
project: 'aaa'
email-upstream: '[aaa] [odlparent] [yangtools] [controller]'
archive-artifacts: ''
+ # Used by the release job
+ staging-profile-id: 9318cf3c82c33
+
- project:
name: aaa-nitrogen
jobs:
- - '{project-name}-clm-{stream}'
- '{project-name}-distribution-check-{stream}'
- '{project-name}-integration-{stream}'
+ - '{project-name}-maven-jobs'
- '{project-name}-merge-{stream}'
- - '{project-name}-verify-{stream}-{maven}-{jdks}'
stream: nitrogen
project: 'aaa'
email-upstream: '[aaa] [odlparent] [yangtools] [controller]'
archive-artifacts: ''
+ # Used by the release job
+ staging-profile-id: 9318cf3c82c33
+
- project:
name: aaa-carbon
jobs:
- - '{project-name}-clm-{stream}'
- '{project-name}-distribution-check-{stream}'
- '{project-name}-integration-{stream}'
+ - '{project-name}-maven-jobs'
- '{project-name}-merge-{stream}'
- - '{project-name}-verify-{stream}-{maven}-{jdks}'
stream: carbon
project: 'aaa'
email-upstream: '[aaa] [odlparent] [yangtools] [controller]'
archive-artifacts: ''
+ # Used by the release job
+ staging-profile-id: 9318cf3c82c33
+
- project:
name: aaa-sonar
jobs:
- project:
name: alto-oxygen
jobs:
- - '{project-name}-clm-{stream}'
- '{project-name}-distribution-check-{stream}'
- '{project-name}-integration-{stream}'
+ - '{project-name}-maven-jobs'
- '{project-name}-merge-{stream}'
- - '{project-name}-verify-{stream}-{maven}-{jdks}'
- - gerrit-maven-verify-dependencies
stream: oxygen
project: 'alto'
email-upstream: '[alto] [l2switch]'
archive-artifacts: ''
+ # Used by the release job
+ staging-profile-id: 931eabae9693c
+
- project:
name: alto-nitrogen
jobs:
- - '{project-name}-clm-{stream}'
- '{project-name}-distribution-check-{stream}'
- '{project-name}-integration-{stream}'
+ - '{project-name}-maven-jobs'
- '{project-name}-merge-{stream}'
- - '{project-name}-verify-{stream}-{maven}-{jdks}'
stream: nitrogen
project: 'alto'
email-upstream: '[alto] [l2switch]'
archive-artifacts: ''
+ # Used by the release job
+ staging-profile-id: 931eabae9693c
+
- project:
name: alto-carbon
jobs:
- - '{project-name}-clm-{stream}'
- '{project-name}-distribution-check-{stream}'
- '{project-name}-integration-{stream}'
+ - '{project-name}-maven-jobs'
- '{project-name}-merge-{stream}'
- - '{project-name}-verify-{stream}-{maven}-{jdks}'
stream: carbon
project: 'alto'
email-upstream: '[alto] [l2switch]'
archive-artifacts: ''
+ # Used by the release job
+ staging-profile-id: 931eabae9693c
+
- project:
name: alto-sonar
jobs:
- project:
name: atrium-oxygen
jobs:
- - '{project-name}-clm-{stream}'
- '{project-name}-distribution-check-{stream}'
- '{project-name}-integration-{stream}'
+ - '{project-name}-maven-jobs'
- '{project-name}-merge-{stream}'
- - '{project-name}-verify-{stream}-{maven}-{jdks}'
stream: oxygen
project: 'atrium'
email-upstream: '[atrium]'
archive-artifacts: ''
+ # Used by the release job
+ staging-profile-id: 9324f12310e6a
+
- project:
name: atrium-nitrogen
jobs:
- - '{project-name}-clm-{stream}'
- '{project-name}-distribution-check-{stream}'
- '{project-name}-integration-{stream}'
+ - '{project-name}-maven-jobs'
- '{project-name}-merge-{stream}'
- - '{project-name}-verify-{stream}-{maven}-{jdks}'
stream: nitrogen
project: 'atrium'
email-upstream: '[atrium]'
archive-artifacts: ''
+ # Used by the release job
+ staging-profile-id: 9324f12310e6a
+
- project:
name: atrium-carbon
jobs:
- - '{project-name}-clm-{stream}'
- '{project-name}-distribution-check-{stream}'
- '{project-name}-integration-{stream}'
+ - '{project-name}-maven-jobs'
- '{project-name}-merge-{stream}'
- - '{project-name}-verify-{stream}-{maven}-{jdks}'
stream: carbon
project: 'atrium'
email-upstream: '[atrium]'
archive-artifacts: ''
+ # Used by the release job
+ staging-profile-id: 9324f12310e6a
+
- project:
name: atrium-sonar
jobs:
- project:
name: bgpcep-oxygen
jobs:
- - '{project-name}-clm-{stream}'
- '{project-name}-distribution-check-{stream}'
- '{project-name}-integration-{stream}'
+ - '{project-name}-maven-jobs'
+ - '{project-name}-maven-javadoc-jobs'
- '{project-name}-merge-{stream}'
- - '{project-name}-verify-{stream}-{maven}-{jdks}'
- - gerrit-maven-verify-dependencies
stream: oxygen
project: 'bgpcep'
email-upstream: '[bgpcep] [odlparent] [yangtools] [controller] [mdsal] [tcpmd5]'
archive-artifacts: ''
+ # Used by the release job
+ staging-profile-id: 9427a05049030
+
- project:
name: bgpcep-nitrogen
jobs:
- - '{project-name}-clm-{stream}'
- '{project-name}-distribution-check-{stream}'
- '{project-name}-integration-{stream}'
+ - '{project-name}-maven-jobs'
+ - '{project-name}-maven-javadoc-jobs'
- '{project-name}-merge-{stream}'
- - '{project-name}-verify-{stream}-{maven}-{jdks}'
stream: nitrogen
project: 'bgpcep'
email-upstream: '[bgpcep] [odlparent] [yangtools] [controller] [mdsal] [tcpmd5]'
archive-artifacts: ''
+ # Used by the release job
+ staging-profile-id: 9427a05049030
+
- project:
name: bgpcep-carbon
jobs:
- - '{project-name}-clm-{stream}'
- '{project-name}-distribution-check-{stream}'
- '{project-name}-integration-{stream}'
+ - '{project-name}-maven-jobs'
+ - '{project-name}-maven-javadoc-jobs'
- '{project-name}-merge-{stream}'
- - '{project-name}-verify-{stream}-{maven}-{jdks}'
stream: carbon
project: 'bgpcep'
email-upstream: '[bgpcep] [odlparent] [yangtools] [controller] [mdsal] [tcpmd5]'
archive-artifacts: ''
+ # Used by the release job
+ staging-profile-id: 9427a05049030
+
- project:
name: bgpcep-sonar
jobs:
- project:
name: bier-oxygen
jobs:
- - '{project-name}-clm-{stream}'
- '{project-name}-distribution-check-{stream}'
- '{project-name}-integration-{stream}'
+ - '{project-name}-maven-jobs'
- '{project-name}-merge-{stream}'
- - '{project-name}-verify-{stream}-{maven}-{jdks}'
- - gerrit-maven-verify-dependencies
stream: oxygen
project: 'bier'
email-upstream: '[bier]'
archive-artifacts: ''
+ # Used by the release job
+ staging-profile-id: 942a8075b1f2a
+
- project:
name: bier-nitrogen
jobs:
- - '{project-name}-clm-{stream}'
- '{project-name}-distribution-check-{stream}'
- '{project-name}-integration-{stream}'
+ - '{project-name}-maven-jobs'
- '{project-name}-merge-{stream}'
- - '{project-name}-verify-{stream}-{maven}-{jdks}'
stream: nitrogen
project: 'bier'
email-upstream: '[bier]'
archive-artifacts: ''
+ # Used by the release job
+ staging-profile-id: 942a8075b1f2a
+
- project:
name: bier-carbon
jobs:
- - '{project-name}-clm-{stream}'
- '{project-name}-distribution-check-{stream}'
- '{project-name}-integration-{stream}'
+ - '{project-name}-maven-jobs'
- '{project-name}-merge-{stream}'
- - '{project-name}-verify-{stream}-{maven}-{jdks}'
stream: carbon
project: 'bier'
email-upstream: '[bier]'
archive-artifacts: ''
+ # Used by the release job
+ staging-profile-id: 942a8075b1f2a
+
- project:
name: bier-sonar
jobs:
- project:
name: capwap-oxygen
jobs:
- - '{project-name}-clm-{stream}'
- '{project-name}-distribution-check-{stream}'
- '{project-name}-integration-{stream}'
+ - '{project-name}-maven-jobs'
- '{project-name}-merge-{stream}'
- - '{project-name}-verify-{stream}-{maven}-{jdks}'
stream: oxygen
project: 'capwap'
email-upstream: '[capwap]'
archive-artifacts: ''
+ # Used by the release job
+ staging-profile-id: 96bd6b5bf86e3
+
- project:
name: capwap-nitrogen
jobs:
- - '{project-name}-clm-{stream}'
- '{project-name}-distribution-check-{stream}'
- '{project-name}-integration-{stream}'
+ - '{project-name}-maven-jobs'
- '{project-name}-merge-{stream}'
- - '{project-name}-verify-{stream}-{maven}-{jdks}'
stream: nitrogen
project: 'capwap'
email-upstream: '[capwap]'
archive-artifacts: ''
+ # Used by the release job
+ staging-profile-id: 96bd6b5bf86e3
+
- project:
name: capwap-carbon
jobs:
- - '{project-name}-clm-{stream}'
- '{project-name}-distribution-check-{stream}'
- '{project-name}-integration-{stream}'
+ - '{project-name}-maven-jobs'
- '{project-name}-merge-{stream}'
- - '{project-name}-verify-{stream}-{maven}-{jdks}'
stream: carbon
project: 'capwap'
email-upstream: '[capwap]'
archive-artifacts: ''
+ # Used by the release job
+ staging-profile-id: 96bd6b5bf86e3
+
- project:
name: capwap
jobs:
- project:
name: cardinal-oxygen
jobs:
- - '{project-name}-clm-{stream}'
- '{project-name}-distribution-check-{stream}'
- '{project-name}-integration-{stream}'
+ - '{project-name}-maven-jobs'
- '{project-name}-merge-{stream}'
- - '{project-name}-verify-{stream}-{maven}-{jdks}'
stream: oxygen
project: 'cardinal'
email-upstream: '[cardinal] [openflowplugin] [iotdm] [sfc]'
archive-artifacts: ''
+ # Used by the release job
+ staging-profile-id: 96be20348f0f2
+
- project:
name: cardinal-nitrogen
jobs:
- - '{project-name}-clm-{stream}'
- '{project-name}-distribution-check-{stream}'
- '{project-name}-integration-{stream}'
+ - '{project-name}-maven-jobs'
- '{project-name}-merge-{stream}'
- - '{project-name}-verify-{stream}-{maven}-{jdks}'
stream: nitrogen
project: 'cardinal'
email-upstream: '[cardinal] [openflowplugin] [iotdm] [sfc]'
archive-artifacts: ''
+ # Used by the release job
+ staging-profile-id: 96be20348f0f2
+
- project:
name: cardinal-carbon
jobs:
- - '{project-name}-clm-{stream}'
- '{project-name}-distribution-check-{stream}'
- '{project-name}-integration-{stream}'
+ - '{project-name}-maven-jobs'
- '{project-name}-merge-{stream}'
- - '{project-name}-verify-{stream}-{maven}-{jdks}'
stream: carbon
project: 'cardinal'
email-upstream: '[cardinal] [openflowplugin] [iotdm] [sfc]'
archive-artifacts: ''
+ # Used by the release job
+ staging-profile-id: 96be20348f0f2
+
- project:
name: cardinal-sonar
jobs:
- project:
name: centinel-oxygen
jobs:
- - '{project-name}-clm-{stream}'
- '{project-name}-distribution-check-{stream}'
- '{project-name}-integration-{stream}'
+ - '{project-name}-maven-jobs'
- '{project-name}-merge-{stream}'
- - '{project-name}-verify-{stream}-{maven}-{jdks}'
stream: oxygen
project: 'centinel'
email-upstream: '[centinel]'
archive-artifacts: ''
+ # Used by the release job
+ staging-profile-id: 96bf9b3fefd8a
+
- project:
name: centinel-nitrogen
jobs:
- - '{project-name}-clm-{stream}'
- '{project-name}-distribution-check-{stream}'
- '{project-name}-integration-{stream}'
+ - '{project-name}-maven-jobs'
- '{project-name}-merge-{stream}'
- - '{project-name}-verify-{stream}-{maven}-{jdks}'
stream: nitrogen
project: 'centinel'
email-upstream: '[centinel]'
archive-artifacts: ''
+ # Used by the release job
+ staging-profile-id: 96bf9b3fefd8a
+
- project:
name: centinel-carbon
jobs:
- - '{project-name}-clm-{stream}'
- '{project-name}-distribution-check-{stream}'
- '{project-name}-integration-{stream}'
+ - '{project-name}-maven-jobs'
- '{project-name}-merge-{stream}'
- - '{project-name}-verify-{stream}-{maven}-{jdks}'
stream: carbon
project: 'centinel'
email-upstream: '[centinel]'
archive-artifacts: ''
+ # Used by the release job
+ staging-profile-id: 96bf9b3fefd8a
+
- project:
name: centinel-sonar
jobs:
- project:
name: coe-oxygen
jobs:
- - '{project-name}-clm-{stream}'
- '{project-name}-distribution-check-{stream}'
- '{project-name}-integration-{stream}'
+ - '{project-name}-maven-jobs'
- '{project-name}-merge-{stream}'
- - '{project-name}-verify-{stream}-{maven}-{jdks}'
- - gerrit-maven-verify-dependencies
project: 'coe'
project-name: 'coe'
email-upstream: '[coe] [odlparent] [yangtools] [controller]'
archive-artifacts: ''
+ # Used by the release job
+ staging-profile-id: 96c0be46aac33
+
- project:
name: coe-nitrogen
jobs:
- - '{project-name}-clm-{stream}'
- '{project-name}-distribution-check-{stream}'
- '{project-name}-integration-{stream}'
+ - '{project-name}-maven-jobs'
- '{project-name}-merge-{stream}'
- - '{project-name}-verify-{stream}-{maven}-{jdks}'
project: 'coe'
project-name: 'coe'
email-upstream: '[coe] [odlparent] [yangtools] [controller]'
archive-artifacts: ''
+ # Used by the release job
+ staging-profile-id: 96c0be46aac33
+
- project:
name: coe-carbon
jobs:
- - '{project-name}-clm-{stream}'
- '{project-name}-integration-{stream}'
+ - '{project-name}-maven-jobs'
- '{project-name}-merge-{stream}'
- - '{project-name}-verify-{stream}-{maven}-{jdks}'
project: 'coe'
project-name: 'coe'
email-upstream: '[coe] [odlparent] [yangtools] [controller]'
archive-artifacts: ''
+ # Used by the release job
+ staging-profile-id: 96c0be46aac33
+
- project:
name: coe-sonar
jobs:
- project:
name: controller-oxygen
jobs:
- - '{project-name}-clm-{stream}'
- '{project-name}-distribution-check-{stream}'
- '{project-name}-integration-{stream}'
- - '{project-name}-merge-{stream}'
- - '{project-name}-verify-{stream}-{maven}-{jdks}'
+ - '{project-name}-maven-jobs'
- '{project-name}-maven-javadoc-jobs'
- - gerrit-maven-verify-dependencies
+ - '{project-name}-merge-{stream}'
stream: oxygen
project: 'controller'
email-upstream: '[controller] [odlparent] [yangtools] [aaa]'
archive-artifacts: ''
+ # Used by the release job
+ staging-profile-id: 96c1c9177efdd
+
- project:
name: controller-nitrogen
jobs:
- - '{project-name}-clm-{stream}'
- '{project-name}-distribution-check-{stream}'
- '{project-name}-integration-{stream}'
+ - '{project-name}-maven-jobs'
- '{project-name}-merge-{stream}'
- - '{project-name}-verify-{stream}-{maven}-{jdks}'
stream: nitrogen
project: 'controller'
email-upstream: '[controller] [odlparent] [yangtools] [aaa]'
archive-artifacts: ''
+ # Used by the release job
+ staging-profile-id: 96c1c9177efdd
+
- project:
name: controller-carbon
jobs:
- - '{project-name}-clm-{stream}'
- '{project-name}-distribution-check-{stream}'
- '{project-name}-integration-{stream}'
+ - '{project-name}-maven-jobs'
- '{project-name}-merge-{stream}'
- - '{project-name}-verify-{stream}-{maven}-{jdks}'
stream: carbon
project: 'controller'
email-upstream: '[controller] [odlparent] [yangtools] [aaa]'
archive-artifacts: ''
+ # Used by the release job
+ staging-profile-id: 96c1c9177efdd
+
- project:
name: controller-sonar
jobs:
- project:
name: coretutorials-oxygen
jobs:
- - '{project-name}-clm-{stream}'
- '{project-name}-integration-{stream}'
+ - '{project-name}-maven-jobs'
- '{project-name}-merge-{stream}'
- - '{project-name}-verify-{stream}-{maven}-{jdks}'
stream: oxygen
project: 'coretutorials'
email-upstream: '[coretutorials]'
archive-artifacts: ''
+ # Used by the release job
+ staging-profile-id: 96cd299563ec6
+
- project:
name: coretutorials-nitrogen
jobs:
- - '{project-name}-clm-{stream}'
- '{project-name}-integration-{stream}'
+ - '{project-name}-maven-jobs'
- '{project-name}-merge-{stream}'
- - '{project-name}-verify-{stream}-{maven}-{jdks}'
stream: nitrogen
project: 'coretutorials'
email-upstream: '[coretutorials]'
archive-artifacts: ''
+ # Used by the release job
+ staging-profile-id: 96cd299563ec6
+
- project:
name: coretutorials-carbon
jobs:
- - '{project-name}-clm-{stream}'
- '{project-name}-integration-{stream}'
+ - '{project-name}-maven-jobs'
- '{project-name}-merge-{stream}'
- - '{project-name}-verify-{stream}-{maven}-{jdks}'
stream: carbon
project: 'coretutorials'
email-upstream: '[coretutorials]'
archive-artifacts: ''
+ # Used by the release job
+ staging-profile-id: 96cd299563ec6
+
- project:
name: coretutorials-sonar
jobs:
- project:
name: daexim-oxygen
jobs:
- - '{project-name}-clm-{stream}'
- '{project-name}-distribution-check-{stream}'
- '{project-name}-integration-{stream}'
+ - '{project-name}-maven-jobs'
- '{project-name}-merge-{stream}'
- - '{project-name}-verify-{stream}-{maven}-{jdks}'
- - gerrit-maven-verify-dependencies
project: 'daexim'
project-name: 'daexim'
email-upstream: '[daexim] [odlparent] [yangtools] [controller]'
archive-artifacts: ''
+ # Used by the release job
+ staging-profile-id: 96e4dade34bd7
+
- project:
name: daexim-nitrogen
jobs:
- - '{project-name}-clm-{stream}'
- '{project-name}-distribution-check-{stream}'
- '{project-name}-integration-{stream}'
+ - '{project-name}-maven-jobs'
- '{project-name}-merge-{stream}'
- - '{project-name}-verify-{stream}-{maven}-{jdks}'
project: 'daexim'
project-name: 'daexim'
email-upstream: '[daexim] [odlparent] [yangtools] [controller]'
archive-artifacts: ''
+ # Used by the release job
+ staging-profile-id: 96e4dade34bd7
+
- project:
name: daexim-sonar
jobs:
- project:
name: didm-oxygen
jobs:
- - '{project-name}-clm-{stream}'
- '{project-name}-distribution-check-{stream}'
- '{project-name}-integration-{stream}'
+ - '{project-name}-maven-jobs'
- '{project-name}-merge-{stream}'
- - '{project-name}-verify-{stream}-{maven}-{jdks}'
stream: oxygen
project: 'didm'
email-upstream: '[didm]'
archive-artifacts: ''
+ # Used by the release job
+ staging-profile-id: 96e6338c870f5
+
- project:
name: didm-nitrogen
jobs:
- - '{project-name}-clm-{stream}'
- '{project-name}-distribution-check-{stream}'
- '{project-name}-integration-{stream}'
+ - '{project-name}-maven-jobs'
- '{project-name}-merge-{stream}'
- - '{project-name}-verify-{stream}-{maven}-{jdks}'
stream: nitrogen
project: 'didm'
email-upstream: '[didm]'
archive-artifacts: ''
+ # Used by the release job
+ staging-profile-id: 96e6338c870f5
+
- project:
name: didm-carbon
jobs:
- - '{project-name}-clm-{stream}'
- '{project-name}-distribution-check-{stream}'
- '{project-name}-integration-{stream}'
+ - '{project-name}-maven-jobs'
- '{project-name}-merge-{stream}'
- - '{project-name}-verify-{stream}-{maven}-{jdks}'
stream: carbon
project: 'didm'
email-upstream: '[didm]'
archive-artifacts: ''
+ # Used by the release job
+ staging-profile-id: 96e6338c870f5
+
- project:
name: didm-sonar
jobs:
- project:
name: dlux-oxygen
jobs:
- - '{project-name}-clm-{stream}'
- '{project-name}-distribution-check-{stream}'
- '{project-name}-integration-{stream}'
+ - '{project-name}-maven-jobs'
- '{project-name}-merge-{stream}'
- - '{project-name}-verify-{stream}-{maven}-{jdks}'
- - gerrit-maven-verify-dependencies
stream: oxygen
project: 'dlux'
email-upstream: '[dlux] [odlparent]'
archive-artifacts: ''
+ # Used by the release job
+ staging-profile-id: 96e6a0327484f
+
- project:
name: dlux-nitrogen
jobs:
- - '{project-name}-clm-{stream}'
- '{project-name}-distribution-check-{stream}'
- '{project-name}-integration-{stream}'
+ - '{project-name}-maven-jobs'
- '{project-name}-merge-{stream}'
- - '{project-name}-verify-{stream}-{maven}-{jdks}'
stream: nitrogen
project: 'dlux'
email-upstream: '[dlux] [odlparent]'
archive-artifacts: ''
+ # Used by the release job
+ staging-profile-id: 96e6a0327484f
+
- project:
name: dlux-carbon
jobs:
- - '{project-name}-clm-{stream}'
- '{project-name}-distribution-check-{stream}'
- '{project-name}-integration-{stream}'
+ - '{project-name}-maven-jobs'
- '{project-name}-merge-{stream}'
- - '{project-name}-verify-{stream}-{maven}-{jdks}'
stream: carbon
project: 'dlux'
email-upstream: '[dlux] [odlparent]'
archive-artifacts: ''
+ # Used by the release job
+ staging-profile-id: 96e6a0327484f
+
- project:
name: dlux-sonar
jobs:
- project:
name: dluxapps-oxygen
jobs:
- - '{project-name}-clm-{stream}'
- '{project-name}-distribution-check-{stream}'
- '{project-name}-integration-{stream}'
+ - '{project-name}-maven-jobs'
- '{project-name}-merge-{stream}'
- - '{project-name}-verify-{stream}-{maven}-{jdks}'
- - gerrit-maven-verify-dependencies
project: 'dluxapps'
project-name: 'dluxapps'
email-upstream: '[dluxapps] [odlparent] [yangtools] [controller]'
archive-artifacts: ''
+ # Used by the release job
+ staging-profile-id: 96e6fb1e65bf9
+
- project:
name: dluxapps-nitrogen
jobs:
- - '{project-name}-clm-{stream}'
- '{project-name}-distribution-check-{stream}'
- '{project-name}-integration-{stream}'
+ - '{project-name}-maven-jobs'
- '{project-name}-merge-{stream}'
- - '{project-name}-verify-{stream}-{maven}-{jdks}'
project: 'dluxapps'
project-name: 'dluxapps'
email-upstream: '[dluxapps] [odlparent] [yangtools] [controller]'
archive-artifacts: ''
+ # Used by the release job
+ staging-profile-id: 96e6fb1e65bf9
+
- project:
name: dluxapps-carbon
jobs:
- - '{project-name}-clm-{stream}'
- '{project-name}-distribution-check-{stream}'
- '{project-name}-integration-{stream}'
+ - '{project-name}-maven-jobs'
- '{project-name}-merge-{stream}'
- - '{project-name}-verify-{stream}-{maven}-{jdks}'
project: 'dluxapps'
project-name: 'dluxapps'
email-upstream: '[dluxapps] [odlparent] [yangtools] [controller]'
archive-artifacts: ''
+ # Used by the release job
+ staging-profile-id: 96e6fb1e65bf9
+
- project:
name: dluxapps-sonar
jobs:
- project:
name: eman-oxygen
jobs:
- - '{project-name}-clm-{stream}'
- '{project-name}-distribution-check-{stream}'
- '{project-name}-integration-{stream}'
+ - '{project-name}-maven-jobs'
+ - '{project-name}-maven-javadoc-jobs'
- '{project-name}-merge-{stream}'
- - '{project-name}-verify-{stream}-{maven}-{jdks}'
- - gerrit-maven-verify-dependencies
stream: oxygen
project: 'eman'
email-upstream: '[eman]'
archive-artifacts: ''
+ # Used by the release job
+ staging-profile-id: 96e9352979521
+
- project:
name: eman-nitrogen
jobs:
- - '{project-name}-clm-{stream}'
- '{project-name}-distribution-check-{stream}'
- '{project-name}-integration-{stream}'
+ - '{project-name}-maven-jobs'
+ - '{project-name}-maven-javadoc-jobs'
- '{project-name}-merge-{stream}'
- - '{project-name}-verify-{stream}-{maven}-{jdks}'
stream: nitrogen
project: 'eman'
email-upstream: '[eman]'
archive-artifacts: ''
+ # Used by the release job
+ staging-profile-id: 96e9352979521
+
- project:
name: eman-carbon
jobs:
- - '{project-name}-clm-{stream}'
- '{project-name}-distribution-check-{stream}'
- '{project-name}-integration-{stream}'
+ - '{project-name}-maven-jobs'
+ - '{project-name}-maven-javadoc-jobs'
- '{project-name}-merge-{stream}'
- - '{project-name}-verify-{stream}-{maven}-{jdks}'
stream: carbon
project: 'eman'
email-upstream: '[eman]'
archive-artifacts: ''
+ # Used by the release job
+ staging-profile-id: 96e9352979521
+
- project:
name: eman-sonar
jobs:
- project:
name: faas-oxygen
jobs:
- - '{project-name}-clm-{stream}'
- '{project-name}-distribution-check-{stream}'
- '{project-name}-integration-{stream}'
+ - '{project-name}-maven-jobs'
- '{project-name}-merge-{stream}'
- - '{project-name}-verify-{stream}-{maven}-{jdks}'
- - gerrit-maven-verify-dependencies
stream: oxygen
project: 'faas'
email-upstream: '[faas]'
archive-artifacts: ''
+ # Used by the release job
+ staging-profile-id: 96f5ac591d858
+
- project:
name: faas-nitrogen
jobs:
- - '{project-name}-clm-{stream}'
- '{project-name}-distribution-check-{stream}'
- '{project-name}-integration-{stream}'
+ - '{project-name}-maven-jobs'
- '{project-name}-merge-{stream}'
- - '{project-name}-verify-{stream}-{maven}-{jdks}'
stream: nitrogen
project: 'faas'
email-upstream: '[faas]'
archive-artifacts: ''
+ # Used by the release job
+ staging-profile-id: 96f5ac591d858
+
- project:
name: faas-carbon
jobs:
- - '{project-name}-clm-{stream}'
- '{project-name}-distribution-check-{stream}'
- '{project-name}-integration-{stream}'
+ - '{project-name}-maven-jobs'
- '{project-name}-merge-{stream}'
- - '{project-name}-verify-{stream}-{maven}-{jdks}'
stream: carbon
project: 'faas'
email-upstream: '[faas]'
archive-artifacts: ''
+ # Used by the release job
+ staging-profile-id: 96f5ac591d858
+
- project:
name: faas-sonar
jobs:
- project:
name: federation-oxygen
jobs:
- - '{project-name}-clm-{stream}'
+ - '{project-name}-distribution-check-{stream}'
- '{project-name}-integration-{stream}'
+ - '{project-name}-maven-jobs'
+ - '{project-name}-maven-javadoc-jobs'
- '{project-name}-merge-{stream}'
- - '{project-name}-verify-{stream}-{maven}-{jdks}'
- - '{project-name}-distribution-check-{stream}'
project: 'federation'
project-name: 'federation'
email-upstream: '[federation] [odlparent] [yangtools] [controller]'
archive-artifacts: ''
+ # Used by the release job
+ staging-profile-id: 96f78c7a40a24
+
- project:
name: federation-nitrogen
jobs:
- - '{project-name}-clm-{stream}'
+ - '{project-name}-distribution-check-{stream}'
- '{project-name}-integration-{stream}'
+ - '{project-name}-maven-jobs'
+ - '{project-name}-maven-javadoc-jobs'
- '{project-name}-merge-{stream}'
- - '{project-name}-verify-{stream}-{maven}-{jdks}'
- - '{project-name}-distribution-check-{stream}'
project: 'federation'
project-name: 'federation'
email-upstream: '[federation] [odlparent] [yangtools] [controller]'
archive-artifacts: ''
+ # Used by the release job
+ staging-profile-id: 96f78c7a40a24
+
- project:
name: federation-carbon
jobs:
- - '{project-name}-clm-{stream}'
+ - '{project-name}-distribution-check-{stream}'
- '{project-name}-integration-{stream}'
+ - '{project-name}-maven-jobs'
+ - '{project-name}-maven-javadoc-jobs'
- '{project-name}-merge-{stream}'
- - '{project-name}-verify-{stream}-{maven}-{jdks}'
- - '{project-name}-distribution-check-{stream}'
project: 'federation'
project-name: 'federation'
email-upstream: '[federation] [odlparent] [yangtools] [controller]'
archive-artifacts: ''
+ # Used by the release job
+ staging-profile-id: 96f78c7a40a24
+
- project:
name: federation-sonar
jobs:
- project:
name: genius-oxygen
jobs:
- - '{project-name}-clm-{stream}'
- '{project-name}-distribution-check-{stream}'
- '{project-name}-integration-{stream}'
- - '{project-name}-merge-{stream}'
- - '{project-name}-verify-{stream}-{maven}-{jdks}'
+ - '{project-name}-maven-jobs'
- '{project-name}-maven-javadoc-jobs'
- - gerrit-maven-verify-dependencies
+ - '{project-name}-merge-{stream}'
stream: oxygen
project: 'genius'
email-upstream: '[genius] [controller] [yangtools] [odlparent] [openflowplugin] [neutron]'
archive-artifacts: ''
+ # Used by the release job
+ staging-profile-id: 96fb4b6d9d1ee
+
- project:
name: genius-nitrogen
jobs:
- - '{project-name}-clm-{stream}'
- '{project-name}-distribution-check-{stream}'
- '{project-name}-integration-{stream}'
+ - '{project-name}-maven-jobs'
- '{project-name}-merge-{stream}'
- - '{project-name}-verify-{stream}-{maven}-{jdks}'
stream: nitrogen
project: 'genius'
email-upstream: '[genius] [controller] [yangtools] [odlparent] [openflowplugin] [neutron]'
archive-artifacts: ''
+ # Used by the release job
+ staging-profile-id: 96fb4b6d9d1ee
+
- project:
name: genius-carbon
jobs:
- - '{project-name}-clm-{stream}'
- '{project-name}-distribution-check-{stream}'
- '{project-name}-integration-{stream}'
+ - '{project-name}-maven-jobs'
- '{project-name}-merge-{stream}'
- - '{project-name}-verify-{stream}-{maven}-{jdks}'
stream: carbon
project: 'genius'
email-upstream: '[genius] [controller] [yangtools] [odlparent] [openflowplugin] [neutron]'
archive-artifacts: ''
+ # Used by the release job
+ staging-profile-id: 96fb4b6d9d1ee
+
- project:
name: genius-sonar
jobs:
-Subproject commit cda2ec16956502d39e9cffb1843987c03aca8c00
+Subproject commit 055c992c99b92928f7bdd82ae96ed89cb790617d
- project:
name: groupbasedpolicy-oxygen
jobs:
- - '{project-name}-clm-{stream}'
- '{project-name}-distribution-check-{stream}'
- '{project-name}-integration-{stream}'
+ - '{project-name}-maven-jobs'
- '{project-name}-merge-{stream}'
- - '{project-name}-verify-{stream}-{maven}-{jdks}'
- - gerrit-maven-verify-dependencies
stream: oxygen
project: 'groupbasedpolicy'
email-upstream: '[groupbasedpolicy] [openflowjava] [openflowplugin] [neutron] [sfc] [ovsdb]'
archive-artifacts: ''
+ # Used by the release job
+ staging-profile-id: 96fbb93f95a76
+
- project:
name: groupbasedpolicy-nitrogen
jobs:
- - '{project-name}-clm-{stream}'
- '{project-name}-distribution-check-{stream}'
- '{project-name}-integration-{stream}'
+ - '{project-name}-maven-jobs'
- '{project-name}-merge-{stream}'
- - '{project-name}-verify-{stream}-{maven}-{jdks}'
stream: nitrogen
project: 'groupbasedpolicy'
email-upstream: '[groupbasedpolicy] [openflowjava] [openflowplugin] [neutron] [sfc] [ovsdb]'
archive-artifacts: ''
+ # Used by the release job
+ staging-profile-id: 96fbb93f95a76
+
- project:
name: groupbasedpolicy-carbon
jobs:
- - '{project-name}-clm-{stream}'
- '{project-name}-distribution-check-{stream}'
- '{project-name}-integration-{stream}'
+ - '{project-name}-maven-jobs'
- '{project-name}-merge-{stream}'
- - '{project-name}-verify-{stream}-{maven}-{jdks}'
stream: carbon
project: 'groupbasedpolicy'
email-upstream: '[groupbasedpolicy] [openflowjava] [openflowplugin] [neutron] [sfc] [ovsdb]'
archive-artifacts: ''
+ # Used by the release job
+ staging-profile-id: 96fbb93f95a76
+
- project:
name: groupbasedpolicy-sonar
jobs:
- project:
name: vbd-oxygen
jobs:
- - '{project-name}-clm-{stream}'
- '{project-name}-distribution-check-{stream}'
- '{project-name}-integration-{stream}'
+ - '{project-name}-maven-jobs'
- '{project-name}-merge-{stream}'
- - '{project-name}-verify-{stream}-{maven}-{jdks}'
- - gerrit-maven-verify-dependencies
stream: oxygen
project: 'honeycomb/vbd'
email-upstream: '[vbd]'
archive-artifacts: ''
+ # Used by the release job
+ staging-profile-id: 96fc362c36862
+
- project:
name: vbd-nitrogen
jobs:
- - '{project-name}-clm-{stream}'
- '{project-name}-distribution-check-{stream}'
- '{project-name}-integration-{stream}'
+ - '{project-name}-maven-jobs'
- '{project-name}-merge-{stream}'
- - '{project-name}-verify-{stream}-{maven}-{jdks}'
stream: nitrogen
project: 'honeycomb/vbd'
email-upstream: '[vbd]'
archive-artifacts: ''
+ # Used by the release job
+ staging-profile-id: 96fc362c36862
+
- project:
name: vbd-carbon
jobs:
- - '{project-name}-clm-{stream}'
- '{project-name}-distribution-check-{stream}'
- '{project-name}-integration-{stream}'
+ - '{project-name}-maven-jobs'
- '{project-name}-merge-{stream}'
- - '{project-name}-verify-{stream}-{maven}-{jdks}'
stream: carbon
project: 'honeycomb/vbd'
email-upstream: '[vbd]'
archive-artifacts: ''
+ # Used by the release job
+ staging-profile-id: 96fc362c36862
+
- project:
name: vbd-sonar
jobs:
- project:
name: infrautils-oxygen
jobs:
- - '{project-name}-clm-{stream}'
- '{project-name}-distribution-check-{stream}'
- '{project-name}-integration-{stream}'
- - '{project-name}-merge-{stream}'
- - '{project-name}-verify-{stream}-{maven}-{jdks}'
+ - '{project-name}-maven-jobs'
- '{project-name}-maven-javadoc-jobs'
- - gerrit-maven-verify-dependencies
+ - '{project-name}-merge-{stream}'
stream: oxygen
project: 'infrautils'
email-upstream: '[infrautils] [odlparent]'
archive-artifacts: ''
+ # Used by the release job
+ staging-profile-id: 96fca0367756c
+
- project:
name: infrautils-nitrogen
jobs:
- - '{project-name}-clm-{stream}'
- '{project-name}-distribution-check-{stream}'
- '{project-name}-integration-{stream}'
+ - '{project-name}-maven-jobs'
- '{project-name}-merge-{stream}'
- - '{project-name}-verify-{stream}-{maven}-{jdks}'
stream: nitrogen
project: 'infrautils'
email-upstream: '[infrautils] [odlparent]'
archive-artifacts: ''
+ # Used by the release job
+ staging-profile-id: 96fca0367756c
+
- project:
name: infrautils-carbon
jobs:
- - '{project-name}-clm-{stream}'
- '{project-name}-distribution-check-{stream}'
- '{project-name}-integration-{stream}'
+ - '{project-name}-maven-jobs'
- '{project-name}-merge-{stream}'
- - '{project-name}-verify-{stream}-{maven}-{jdks}'
stream: carbon
project: 'infrautils'
email-upstream: '[infrautils] [odlparent]'
archive-artifacts: ''
+ # Used by the release job
+ staging-profile-id: 96fca0367756c
+
- project:
name: infrautils-sonar
jobs:
- project:
name: distribution
jobs:
- # {project-name}- is generic template, distribution- is project specific.
- - '{project-name}-clm-{stream}'
- - '{project-name}-sonar'
+ # gerrit- is generic template, distribution- is project specific.
- 'distribution-merge-{stream}'
- 'distribution-verify-{stream}'
- 'distribution-deploy-{stream}'
- 'distribution-offline-{stream}'
- 'distribution-check-{stream}'
+ - gerrit-maven-clm
+ - gerrit-maven-sonar
- gerrit-tox-verify
project: integration/distribution
sudo getenforce
echo -e "\njournalctl > /tmp/journalctl.log\n"
sudo journalctl > /tmp/journalctl.log
+echo -e "\nsudo systemctl status httpd\n"
+sudo systemctl status httpd
+echo -e "\nenv\n"
+env
+source /opt/stack/devstack/openrc admin admin
+echo -e "\nenv after openrc\n"
+env
EOF
+ # Since this log collection work is happening before the archive build macro which also
+ # creates the ${WORKSPACE}/archives dir, we have to do it here first. The mkdir in the
+ # archives build step will essentially be a noop.
+ mkdir -p ${WORKSPACE}/archives
+
sleep 5
# FIXME: Do not create .tar and gzip before copying.
for i in `seq 1 ${NUM_ODL_SYSTEM}`; do
CONTROLLERIP=ODL_SYSTEM_${i}_IP
- ${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" "${WORKSPACE}/odl${i}_karaf.log.tar"
- ${SSH} "${!CONTROLLERIP}" "tar -cf /tmp/odl${i}_zrpcd.log.tar /tmp/zrpcd.init.log"
- scp "${!CONTROLLERIP}:/tmp/odl${i}_zrpcd.log.tar" "${WORKSPACE}/odl${i}_zrpcd.log.tar"
- tar -xvf ${WORKSPACE}/odl${i}_karaf.log.tar -C . --strip-components 2 --transform s/karaf/odl${i}_karaf/g
- grep "ROBOT MESSAGE\| ERROR " odl${i}_karaf.log > odl${i}_err.log
+ NODE_FOLDER="odl_${i}"
+ mkdir -p ${NODE_FOLDER}
+ ${SSH} ${!CONTROLLERIP} "journalctl > /tmp/journalctl.log"
+ scp ${!CONTROLLERIP}:/tmp/journalctl.log ${NODE_FOLDER}
+ ${SSH} ${!CONTROLLERIP} "dmesg -T > /tmp/dmesg.log"
+ scp ${!CONTROLLERIP}:/tmp/dmesg.log ${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}
+ ${SSH} ${!CONTROLLERIP} "tar -cf /tmp/odl${i}_zrpcd.log.tar /tmp/zrpcd.init.log"
+ scp ${!CONTROLLERIP}:/tmp/odl${i}_zrpcd.log.tar ${NODE_FOLDER}
+ tar -xvf ${NODE_FOLDER}/odl${i}_karaf.log.tar -C ${NODE_FOLDER} --strip-components 2 --transform s/karaf/odl${i}_karaf/g
+ grep "ROBOT MESSAGE\| ERROR " ${NODE_FOLDER}/odl${i}_karaf.log > ${NODE_FOLDER}/odl${i}_err.log
# Print ROBOT lines, Print Caused by...Exception: lines,
# Print Exception{ lines as well as the previous line that has the timestamp for context
- sed -n -e '/ROBOT MESSAGE/P' -e '/Caused by.*Exception:/P' -e '$!N;/Exception:/P;D' -e '$!N;/Exception{/P;D' odl${i}_karaf.log > odl${i}_exception.log
- grep "ROBOT MESSAGE\| ERROR \| WARN \|Exception" odl${i}_karaf.log > odl${i}_err_warn_exception.log
- rm ${WORKSPACE}/odl${i}_karaf.log.tar
+ sed -n -e '/ROBOT MESSAGE/P' -e '/Caused by.*Exception:/P' -e '$!N;/Exception:/P;D' -e '$!N;/Exception{/P;D' \
+ ${NODE_FOLDER}/odl${i}_karaf.log > ${NODE_FOLDER}/odl${i}_exception.log
+ grep "ROBOT MESSAGE\| ERROR \| WARN \|Exception" \
+ ${NODE_FOLDER}/odl${i}_karaf.log > ${NODE_FOLDER}/odl${i}_err_warn_exception.log
+ rm ${NODE_FOLDER}/odl${i}_karaf.log.tar
+ mv karaf_${i}_threads* ${NODE_FOLDER}
+ mv ${NODE_FOLDER} ${WORKSPACE}/archives/
done
- # Since this log collection work is happening before the archive build macro which also
- # creates the ${WORKSPACE}/archives dir, we have to do it here first. The mkdir in the
- # archives build step will essentially be a noop.
- mkdir -p ${WORKSPACE}/archives
-
print_job_parameters > ${WORKSPACE}/archives/params.txt
# Control Node
OSIP=OPENSTACK_CONTROL_NODE_${i}_IP
NODE_FOLDER="control_${i}"
mkdir -p ${NODE_FOLDER}
+ scp ${!OSIP}:/etc/keystone/keystone.conf ${NODE_FOLDER}
+ scp ${!OSIP}:/etc/keystone/keystone-uwsgi-admin.ini ${NODE_FOLDER}
+ scp ${!OSIP}:/etc/keystone/keystone-uwsgi-public.ini ${NODE_FOLDER}
scp ${!OSIP}:/etc/kuryr/kuryr.conf ${NODE_FOLDER}
scp ${!OSIP}:/etc/neutron/dhcp_agent.ini ${NODE_FOLDER}
scp ${!OSIP}:/etc/neutron/metadata_agent.ini ${NODE_FOLDER}
scp ${!OSIP}:/etc/neutron/plugins/ml2/ml2_conf.ini ${NODE_FOLDER}
scp ${!OSIP}:/etc/neutron/services/loadbalancer/haproxy/lbaas_agent.ini ${NODE_FOLDER}
scp ${!OSIP}:/etc/nova/nova.conf ${NODE_FOLDER}
+ scp ${!OSIP}:/etc/nova/nova-api-uwsgi.ini ${NODE_FOLDER}
+ scp ${!OSIP}:/etc/nova/nova_cell1.conf ${NODE_FOLDER}
+ scp ${!OSIP}:/etc/nova/nova-cpu.conf ${NODE_FOLDER}
+ scp ${!OSIP}:/etc/nova/placement-uwsgi.ini ${NODE_FOLDER}
+ scp ${!OSIP}:/etc/openstack/clouds.yaml ${NODE_FOLDER}
+ scp ${!OSIP}:/opt/stack/devstack/.stackenv ${NODE_FOLDER}
scp ${!OSIP}:/opt/stack/devstack/nohup.out ${NODE_FOLDER}/stack.log
+ scp ${!OSIP}:/opt/stack/devstack/openrc ${NODE_FOLDER}
scp ${!OSIP}:/opt/stack/requirements/upper-constraints.txt ${NODE_FOLDER}
scp ${!OSIP}:/opt/stack/tempest/etc/tempest.conf ${NODE_FOLDER}
scp ${!OSIP}:/tmp/get_devstack.sh.txt ${NODE_FOLDER}
+ scp ${!OSIP}:/var/log/httpd/keystone_access.log ${NODE_FOLDER}
+ scp ${!OSIP}:/var/log/httpd/keystone.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}"
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/dmesg.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
scp extra_debug.sh ${!OSIP}:/tmp
${SSH} ${!OSIP} "bash /tmp/extra_debug.sh > /tmp/extra_debug.log"
NODE_FOLDER="compute_${i}"
mkdir -p ${NODE_FOLDER}
scp ${!OSIP}:/etc/nova/nova.conf ${NODE_FOLDER}
+ scp ${!OSIP}:/etc/nova/nova-cpu.conf ${NODE_FOLDER}
+ scp ${!OSIP}:/etc/openstack/clouds.yaml ${NODE_FOLDER}
+ scp ${!OSIP}:/opt/stack/devstack/.stackenv ${NODE_FOLDER}
scp ${!OSIP}:/opt/stack/devstack/nohup.out ${NODE_FOLDER}/stack.log
+ scp ${!OSIP}:/opt/stack/devstack/openrc ${NODE_FOLDER}
scp ${!OSIP}:/opt/stack/requirements/upper-constraints.txt ${NODE_FOLDER}
scp ${!OSIP}:/tmp/get_devstack.sh.txt ${NODE_FOLDER}
scp ${!OSIP}:/var/log/openvswitch/ovs-vswitchd.log ${NODE_FOLDER}
fi
} # collect_logs()
+# Following three functions are debugging helpers when debugging devstack changes.
+# Keeping them for now so we can simply call them when needed.
+ctrlhn=""
+comp1hn=""
+comp2hn=""
+function get_hostnames () {
+ set +e
+ local ctrlip=${OPENSTACK_CONTROL_NODE_1_IP}
+ local comp1ip=${OPENSTACK_COMPUTE_NODE_1_IP}
+ local comp2ip=${OPENSTACK_COMPUTE_NODE_2_IP}
+ ctrlhn=$(${SSH} ${ctrlip} "hostname")
+ comp1hn=$(${SSH} ${comp1ip} "hostname")
+ comp2hn=$(${SSH} ${comp2ip} "hostname")
+ echo "hostnames: ${ctrlhn}, ${comp1hn}, ${comp2hn}"
+ set -e
+}
+
+function check_firewall() {
+ set +e
+ echo $-
+ local ctrlip=${OPENSTACK_CONTROL_NODE_1_IP}
+ local comp1ip=${OPENSTACK_COMPUTE_NODE_1_IP}
+ local comp2ip=${OPENSTACK_COMPUTE_NODE_2_IP}
+
+ echo "check_firewall on control"
+ ${SSH} ${ctrlip} "
+ sudo systemctl status firewalld
+ sudo systemctl -l status iptables
+ sudo iptables --line-numbers -nvL
+ " || true
+ echo "check_firewall on compute 1"
+ ${SSH} ${comp1ip} "
+ sudo systemctl status firewalld
+ sudo systemctl -l status iptables
+ sudo iptables --line-numbers -nvL
+ " || true
+ echo "check_firewall on compute 2"
+ ${SSH} ${comp2ip} "
+ sudo systemctl status firewalld
+ sudo systemctl -l status iptables
+ sudo iptables --line-numbers -nvL
+ " || true
+}
+
+function get_service () {
+ set +e
+ local iter=$1
+ #local idx=$2
+ local ctrlip=${OPENSTACK_CONTROL_NODE_1_IP}
+ local comp1ip=${OPENSTACK_COMPUTE_NODE_1_IP}
+
+ #if [ ${idx} -eq 1 ]; then
+ if [ ${iter} -eq 1 ] || [ ${iter} -gt 16 ]; then
+ curl http://${ctrlip}:5000
+ curl http://${ctrlip}:35357
+ curl http://${ctrlip}/identity
+ ${SSH} ${ctrlip} "
+ source /opt/stack/devstack/openrc admin admin;
+ env
+ openstack configuration show --unmask;
+ openstack service list
+ openstack --os-cloud devstack-admin --os-region RegionOne compute service list
+ openstack hypervisor list;
+ " || true
+ check_firewall
+ fi
+ #fi
+ set -e
+}
+
# if we are using the new netvirt impl, as determined by the feature name
# odl-netvirt-openstack (note: old impl is odl-ovsdb-openstack) then we
# want PROVIDER_MAPPINGS to be used -- this should be fixed if we want to support
cat > ${WORKSPACE}/disable_firewall.sh << EOF
sudo systemctl stop firewalld
-sudo systemctl stop iptables
+# Open these ports to match the tutorial vms
+# http/https (80/443), samba (445), netbios (137,138,139)
+sudo iptables -I INPUT -p tcp -m multiport --dports 80,443,139,445 -j ACCEPT
+sudo iptables -I INPUT -p udp -m multiport --dports 137,138 -j ACCEPT
+# OpenStack services as well as vxlan tunnel ports 4789 and 9876
+# identity public/admin (5000/35357), ampq (5672), vnc (6080), nova (8774), glance (9292), neutron (9696)
+sudo sudo iptables -I INPUT -p tcp -m multiport --dports 5000,5672,6080,8774,9292,9696,35357 -j ACCEPT
+sudo sudo iptables -I INPUT -p udp -m multiport --dports 4789,9876 -j ACCEPT
+sudo iptables-save > /etc/sysconfig/iptables
+sudo systemctl restart iptables
+sudo iptables --line-numbers -nvL
true
EOF
git checkout ${DEVSTACK_HASH}
fi
git --no-pager log --pretty=format:'%h %<(13)%ar%<(13)%cr %<(20,trunc)%an%d %s\n%b' -n20
+echo "workaround: adjust wait from 60s to 1800s (30m)"
+sed -i 's/wait_for_compute 60/wait_for_compute 1800/g' /opt/stack/devstack/lib/nova
+# TODO: modify sleep 1 to sleep 60, search wait_for_compute, then first sleep 1
+# that would just reduce the number of logs in the compute stack.log
EOF
cat > "${WORKSPACE}/setup_host_cell_mapping.sh" << EOF
for i in `seq 1 ${NUM_OPENSTACK_CONTROL_NODES}`; do
CONTROLIP=OPENSTACK_CONTROL_NODE_${i}_IP
- echo "Stack the control node ${i} of ${NUM_OPENSTACK_CONTROL_NODES}: ${CONTROLIP}"
+ echo "Configure the stack of the control node ${i} of ${NUM_OPENSTACK_CONTROL_NODES}: ${CONTROLIP}"
+ scp ${WORKSPACE}/disable_firewall.sh ${!CONTROLIP}:/tmp
+ ${SSH} ${!CONTROLIP} "sudo bash /tmp/disable_firewall.sh"
create_etc_hosts ${!CONTROLIP}
scp ${WORKSPACE}/hosts_file ${!CONTROLIP}:/tmp/hosts
scp ${WORKSPACE}/get_devstack.sh ${!CONTROLIP}:/tmp
${SSH} ${!CONTROLIP} "bash /tmp/get_devstack.sh > /tmp/get_devstack.sh.txt 2>&1"
create_control_node_local_conf ${!CONTROLIP} ${ODLMGRIP[$i]} "${ODL_OVS_MGRS[$i]}"
scp ${WORKSPACE}/local.conf_control_${!CONTROLIP} ${!CONTROLIP}:/opt/stack/devstack/local.conf
+ echo "Stack the control node ${i} of ${NUM_OPENSTACK_CONTROL_NODES}: ${CONTROLIP}"
ssh ${!CONTROLIP} "cd /opt/stack/devstack; nohup ./stack.sh > /opt/stack/devstack/nohup.out 2>&1 &"
ssh ${!CONTROLIP} "ps -ef | grep stack.sh"
ssh ${!CONTROLIP} "ls -lrt /opt/stack/devstack/nohup.out"
fi
done
+# This is a backup to the CELLSV2_SETUP=singleconductor workaround. Keeping it here as an easy lookup
+# if needed.
+# Let the control node get started to avoid a race condition where the computes start and try to access
+# the nova_cell1 on the control node before it is created. If that happens, the nova-compute service on the
+# compute exits and does not attempt to restart.
+# 180s is chosen because in test runs the control node usually finished in 17-20 minutes and the computes finished
+# in 17 minutes, so take the max difference of 3 minutes and the jobs should still finish around the same time.
+# one of the following errors is seen in the compute n-cpu.log:
+# Unhandled error: NotAllowed: Connection.open: (530) NOT_ALLOWED - access to vhost 'nova_cell1' refused for user 'stackrabbit'
+# AccessRefused: (0, 0): (403) ACCESS_REFUSED - Login was refused using authentication mechanism AMQPLAIN. For details see the broker logfile.
+# Compare that timestamp to this log in the control stack.log: sudo rabbitmqctl set_permissions -p nova_cell1 stackrabbit
+# If the n-cpu.log is earlier than the control stack.log timestamp then the failure condition is likely hit.
+# TODO: modify devstack to wait for rabbitmq to be available on the controller before starting nova-compute.
+echo "Sleeping for 360s to allow controller to create nova_cell1 before the computes need it"
+sleep 360
+
for i in `seq 1 ${NUM_OPENSTACK_COMPUTE_NODES}`; do
NUM_COMPUTES_PER_SITE=$((NUM_OPENSTACK_COMPUTE_NODES / NUM_OPENSTACK_SITES))
SITE_INDEX=$((((i - 1) / NUM_COMPUTES_PER_SITE) + 1)) # We need the site index to infer the control node IP for this compute
COMPUTEIP=OPENSTACK_COMPUTE_NODE_${i}_IP
CONTROLIP=OPENSTACK_CONTROL_NODE_${SITE_INDEX}_IP
- echo "Stack the compute node ${i} of ${NUM_OPENSTACK_COMPUTE_NODES}: ${COMPUTEIP}"
+ echo "Configure the stack of the compute node ${i} of ${NUM_OPENSTACK_COMPUTE_NODES}: ${COMPUTEIP}"
+ scp ${WORKSPACE}/disable_firewall.sh "${!COMPUTEIP}:/tmp"
+ ${SSH} "${!COMPUTEIP}" "sudo bash /tmp/disable_firewall.sh"
create_etc_hosts ${!COMPUTEIP} ${!CONTROLIP}
scp ${WORKSPACE}/hosts_file ${!COMPUTEIP}:/tmp/hosts
scp ${WORKSPACE}/get_devstack.sh ${!COMPUTEIP}:/tmp
${SSH} ${!COMPUTEIP} "bash /tmp/get_devstack.sh > /tmp/get_devstack.sh.txt 2>&1"
- create_compute_node_local_conf ${!COMPUTEIP} ${!CONTROLIP} ${ODLMGRIP[$SITE_INDEX]} "${ODL_OVS_MGRS[$SITE_INDEX]}"
- scp ${WORKSPACE}/local.conf_compute_${!COMPUTEIP} ${!COMPUTEIP}:/opt/stack/devstack/local.conf
- ssh ${!COMPUTEIP} "cd /opt/stack/devstack; nohup ./stack.sh > /opt/stack/devstack/nohup.out 2>&1 &"
- ssh ${!COMPUTEIP} "ps -ef | grep stack.sh"
- os_node_list+=(${!COMPUTEIP})
- # Workaround for https://review.openstack.org/#/c/491032/
- # Modify upper-constraints to use libvirt-python 3.2.0
if [ "${ODL_ML2_BRANCH}" == "stable/ocata" ]; then
+ echo "Updating requirements for ${ODL_ML2_BRANCH}"
+ echo "Workaround for https://review.openstack.org/#/c/491032/"
+ echo "Modify upper-constraints to use libvirt-python 3.2.0"
${SSH} ${!COMPUTEIP} "
cd /opt/stack;
git clone https://git.openstack.org/openstack/requirements;
sed -i s/libvirt-python===2.5.0/libvirt-python===3.2.0/ upper-constraints.txt
"
fi
+ create_compute_node_local_conf ${!COMPUTEIP} ${!CONTROLIP} ${ODLMGRIP[$SITE_INDEX]} "${ODL_OVS_MGRS[$SITE_INDEX]}"
+ scp ${WORKSPACE}/local.conf_compute_${!COMPUTEIP} ${!COMPUTEIP}:/opt/stack/devstack/local.conf
+ echo "Stack the compute node ${i} of ${NUM_OPENSTACK_COMPUTE_NODES}: ${COMPUTEIP}"
+ ssh ${!COMPUTEIP} "cd /opt/stack/devstack; nohup ./stack.sh > /opt/stack/devstack/nohup.out 2>&1 &"
+ ssh ${!COMPUTEIP} "ps -ef | grep stack.sh"
+ os_node_list+=(${!COMPUTEIP})
done
echo "nodelist: ${os_node_list[*]}"
fi
EOF
+# devstack debugging
+# get_hostnames
+
# Check if the stacking is finished. Poll all nodes every 60s for one hour.
iteration=0
in_progress=1
scp ${os_node_list[index]}:/tmp/stack_progress .
cat stack_progress
stacking_status=`cat stack_progress`
+ # devstack debugging
+ # get_service "${iteration}" "${index}"
if [ "$stacking_status" == "Still Stacking" ]; then
continue
elif [ "$stacking_status" == "Stacking Failed" ]; then
COMPUTE_IPS[$((j-1))]=${!IP_VAR}
done
- # Need to disable firewalld and iptables in compute nodes as well
- for ip in ${COMPUTE_IPS[*]}; do
- scp ${WORKSPACE}/disable_firewall.sh "${ip}:/tmp"
- ${SSH} "${ip}" "sudo bash /tmp/disable_firewall.sh"
- done
-
- #Need to disable firewalld and iptables in control node
- echo "Stop Firewall in Control Node for compute nodes to be able to reach the ports and add to hypervisor-list"
- scp ${WORKSPACE}/disable_firewall.sh ${!CONTROLIP}:/tmp
- ${SSH} ${!CONTROLIP} "sudo bash /tmp/disable_firewall.sh"
-
echo "sleep for 60s and print hypervisor-list"
sleep 60
# In Ocata if we do not enable the n-cpu in control node then
COMPUTE_IPS[$((j-1))]=${!IP_VAR}
done
- # Need to disable firewalld and iptables in compute nodes as well
- for ip in ${COMPUTE_IPS[*]}; do
- scp ${WORKSPACE}/disable_firewall.sh "${ip}:/tmp"
- ${SSH} "${ip}" "sudo bash /tmp/disable_firewall.sh"
- done
-
# External Network
echo "prepare external networks by adding vxlan tunnels between all nodes on a separate bridge..."
# FIXME Should there be a unique gateway IP and devstack index for each site?
SUITES=`egrep -v '(^[[:space:]]*#|^[[:space:]]*$)' testplan.txt | tr '\012' ' '`
fi
-if [ "${OPENSTACK_BRANCH}" == "stable/pike" ] || [ "${OPENSTACK_BRANCH}" == "master" ]; then
- AUTH="http://${!CONTROLIP}/identity"
-else
- AUTH="http://${!CONTROLIP}:35357/v3"
-fi
-
+# TODO: run openrc on control node and then scrape the vars from it
# Environment Variables Needed to execute Openstack Client for NetVirt Jobs
cat > /tmp/os_netvirt_client_rc << EOF
export OS_USERNAME=admin
export OS_PROJECT_NAME=admin
export OS_USER_DOMAIN_NAME=default
export OS_PROJECT_DOMAIN_NAME=default
-export OS_AUTH_URL=${AUTH}
+export OS_AUTH_URL="http://${!CONTROLIP}/identity"
export OS_IDENTITY_API_VERSION=3
export OS_IMAGE_API_VERSION=2
export OS_TENANT_NAME=admin
echo "Starting Robot test suites ${SUITES} ..."
# please add pybot -v arguments on a single line and alphabetized
-pybot -N ${TESTPLAN} --removekeywords wuks --flattenkeywords for -c critical -e exclude -e skip_if_${DISTROSTREAM} \
+pybot -N ${TESTPLAN} --removekeywords wuks -c critical -e exclude -e skip_if_${DISTROSTREAM} \
-v BUNDLEFOLDER:${BUNDLEFOLDER} \
-v BUNDLE_URL:${ACTUAL_BUNDLE_URL} \
-v CONTROLLER_USER:${USER} \
- project:
name: iotdm-oxygen
jobs:
- - '{project-name}-clm-{stream}'
- '{project-name}-distribution-check-{stream}'
- '{project-name}-integration-{stream}'
+ - '{project-name}-maven-jobs'
- '{project-name}-merge-{stream}'
- - '{project-name}-verify-{stream}-{maven}-{jdks}'
stream: oxygen
project: 'iotdm'
email-upstream: '[iotdm] [aaa]'
archive-artifacts: ''
+ # Used by the release job
+ staging-profile-id: 96fd6e9453970
+
- project:
name: iotdm-nitrogen
jobs:
- - '{project-name}-clm-{stream}'
- '{project-name}-distribution-check-{stream}'
- '{project-name}-integration-{stream}'
+ - '{project-name}-maven-jobs'
- '{project-name}-merge-{stream}'
- - '{project-name}-verify-{stream}-{maven}-{jdks}'
stream: nitrogen
project: 'iotdm'
email-upstream: '[iotdm] [aaa]'
archive-artifacts: ''
+ # Used by the release job
+ staging-profile-id: 96fd6e9453970
+
- project:
name: iotdm-carbon
jobs:
- - '{project-name}-clm-{stream}'
- '{project-name}-distribution-check-{stream}'
- '{project-name}-integration-{stream}'
+ - '{project-name}-maven-jobs'
- '{project-name}-merge-{stream}'
- - '{project-name}-verify-{stream}-{maven}-{jdks}'
stream: carbon
project: 'iotdm'
email-upstream: '[iotdm] [aaa]'
archive-artifacts: ''
+ # Used by the release job
+ staging-profile-id: 96fd6e9453970
+
- project:
name: iotdm-sonar
jobs:
- project:
name: jsonrpc-oxygen
jobs:
- - '{project-name}-clm-{stream}'
- '{project-name}-integration-{stream}'
+ - '{project-name}-maven-jobs'
- '{project-name}-merge-{stream}'
- - '{project-name}-verify-{stream}-{maven}-{jdks}'
project: 'jsonrpc'
project-name: 'jsonrpc'
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}-clm-{stream}'
- '{project-name}-integration-{stream}'
+ - '{project-name}-maven-jobs'
- '{project-name}-merge-{stream}'
- - '{project-name}-verify-{stream}-{maven}-{jdks}'
project: 'jsonrpc'
project-name: 'jsonrpc'
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}-clm-{stream}'
- '{project-name}-integration-{stream}'
+ - '{project-name}-maven-jobs'
- '{project-name}-merge-{stream}'
- - '{project-name}-verify-{stream}-{maven}-{jdks}'
project: 'jsonrpc'
project-name: 'jsonrpc'
email-upstream: '[jsonrpc] [odlparent] [yangtools] [controller] [mdsal]'
archive-artifacts: ''
+ # Used by the release job
+ staging-profile-id: 96fdf4408765d
+
- project:
name: jsonrpc-sonar
jobs:
- project:
name: l2switch-oxygen
jobs:
- - '{project-name}-clm-{stream}'
- '{project-name}-distribution-check-{stream}'
- '{project-name}-integration-{stream}'
+ - '{project-name}-maven-jobs'
- '{project-name}-merge-{stream}'
- - '{project-name}-verify-{stream}-{maven}-{jdks}'
- - gerrit-maven-verify-dependencies
stream: oxygen
project: 'l2switch'
email-upstream: '[l2switch] [odlparent] [yangtools] [controller] [openflowjava] [openflowplugin]'
archive-artifacts: ''
+ # Used by the release job
+ staging-profile-id: 96fee85953ca0
+
- project:
name: l2switch-nitrogen
jobs:
- - '{project-name}-clm-{stream}'
- '{project-name}-distribution-check-{stream}'
- '{project-name}-integration-{stream}'
+ - '{project-name}-maven-jobs'
- '{project-name}-merge-{stream}'
- - '{project-name}-verify-{stream}-{maven}-{jdks}'
stream: nitrogen
project: 'l2switch'
email-upstream: '[l2switch] [odlparent] [yangtools] [controller] [openflowjava] [openflowplugin]'
archive-artifacts: ''
+ # Used by the release job
+ staging-profile-id: 96fee85953ca0
+
- project:
name: l2switch-carbon
jobs:
- - '{project-name}-clm-{stream}'
- '{project-name}-distribution-check-{stream}'
- '{project-name}-integration-{stream}'
+ - '{project-name}-maven-jobs'
- '{project-name}-merge-{stream}'
- - '{project-name}-verify-{stream}-{maven}-{jdks}'
stream: carbon
project: 'l2switch'
email-upstream: '[l2switch] [odlparent] [yangtools] [controller] [openflowjava] [openflowplugin]'
archive-artifacts: ''
+ # Used by the release job
+ staging-profile-id: 96fee85953ca0
+
- project:
name: l2switch-sonar
jobs:
- project:
name: lacp-oxygen
jobs:
- - '{project-name}-clm-{stream}'
- '{project-name}-distribution-check-{stream}'
- '{project-name}-integration-{stream}'
+ - '{project-name}-maven-jobs'
- '{project-name}-merge-{stream}'
- - '{project-name}-verify-{stream}-{maven}-{jdks}'
stream: oxygen
project: 'lacp'
email-upstream: '[lacp] [openflowjava] [openflowplugin]'
archive-artifacts: ''
+ # Used by the release job
+ staging-profile-id: 96ff6c0ff6ab1
+
- project:
name: lacp-nitrogen
jobs:
- - '{project-name}-clm-{stream}'
- '{project-name}-distribution-check-{stream}'
- '{project-name}-integration-{stream}'
+ - '{project-name}-maven-jobs'
- '{project-name}-merge-{stream}'
- - '{project-name}-verify-{stream}-{maven}-{jdks}'
stream: nitrogen
project: 'lacp'
email-upstream: '[lacp] [openflowjava] [openflowplugin]'
archive-artifacts: ''
+ # Used by the release job
+ staging-profile-id: 96ff6c0ff6ab1
+
- project:
name: lacp-carbon
jobs:
- - '{project-name}-clm-{stream}'
- '{project-name}-distribution-check-{stream}'
- '{project-name}-integration-{stream}'
+ - '{project-name}-maven-jobs'
- '{project-name}-merge-{stream}'
- - '{project-name}-verify-{stream}-{maven}-{jdks}'
stream: carbon
project: 'lacp'
email-upstream: '[lacp] [openflowjava] [openflowplugin]'
archive-artifacts: ''
+ # Used by the release job
+ staging-profile-id: 96ff6c0ff6ab1
+
- project:
name: lacp-sonar
jobs:
- project:
name: lispflowmapping-oxygen
jobs:
- - '{project-name}-clm-{stream}'
- '{project-name}-distribution-check-{stream}'
- '{project-name}-integration-{stream}'
+ - '{project-name}-maven-jobs'
+ - '{project-name}-maven-javadoc-jobs'
- '{project-name}-merge-{stream}'
- - '{project-name}-verify-{stream}-{maven}-{jdks}'
- - gerrit-maven-verify-dependencies
stream: oxygen
project: 'lispflowmapping'
archive-artifacts: ''
build-node: centos7-java-builder-4c-8g
+ # Used by the release job
+ staging-profile-id: 96fff2503b766
+
- project:
name: lispflowmapping-nitrogen
jobs:
- - '{project-name}-clm-{stream}'
- '{project-name}-distribution-check-{stream}'
- '{project-name}-integration-{stream}'
+ - '{project-name}-maven-jobs'
+ - '{project-name}-maven-javadoc-jobs'
- '{project-name}-merge-{stream}'
- - '{project-name}-verify-{stream}-{maven}-{jdks}'
stream: nitrogen
project: 'lispflowmapping'
archive-artifacts: ''
build-node: centos7-java-builder-4c-8g
+ # Used by the release job
+ staging-profile-id: 96fff2503b766
+
- project:
name: lispflowmapping-carbon
jobs:
- - '{project-name}-clm-{stream}'
- '{project-name}-distribution-check-{stream}'
- '{project-name}-integration-{stream}'
+ - '{project-name}-maven-jobs'
+ - '{project-name}-maven-javadoc-jobs'
- '{project-name}-merge-{stream}'
- - '{project-name}-verify-{stream}-{maven}-{jdks}'
stream: carbon
project: 'lispflowmapping'
archive-artifacts: ''
build-node: centos7-java-builder-4c-8g
+ # Used by the release job
+ staging-profile-id: 96fff2503b766
+
- project:
name: lispflowmapping-sonar
jobs:
- ocata:
openstack-branch: 'stable/ocata'
odl-ml2-branch: 'stable/ocata'
- devstack-hash: '8cb43d098ca88ce57ec216423c009cccd07f1299'
openstack_system_image: '{openstack_system_image_ocata}'
openstack_system2_image: '{openstack_system_image_ocata}'
- pike:
openstack-branch: 'stable/pike'
- devstack-hash: 'c2bb1020ac4f18df5aa90a13f3b6ee8eb2c15d65'
odl-ml2-branch: 'stable/pike'
odl-ml2-port-binding: 'pseudo-agentdb-binding'
openstack_system_image: '{openstack_system_image_pike}'
openstack_system2_image: '{openstack_system_image_pike}'
- queens:
openstack-branch: 'master'
- devstack-hash: '2d5494cfc57b95b61f8b33240eff65f1a339a53e'
odl-ml2-branch: 'master'
odl-ml2-port-binding: 'pseudo-agentdb-binding'
openstack_system_image: '{openstack_system_image_pike}'
- ocata:
openstack-branch: 'stable/ocata'
odl-ml2-branch: 'stable/ocata'
- devstack-hash: '8cb43d098ca88ce57ec216423c009cccd07f1299'
openstack_system_image: '{openstack_system_image_ocata}'
openstack_system2_image: '{openstack_system_image_ocata}'
- pike:
openstack-branch: 'stable/pike'
- devstack-hash: 'c2bb1020ac4f18df5aa90a13f3b6ee8eb2c15d65'
odl-ml2-branch: 'stable/pike'
odl-ml2-port-binding: 'pseudo-agentdb-binding'
openstack_system_image: '{openstack_system_image_pike}'
openstack_system2_image: '{openstack_system_image_pike}'
- queens:
openstack-branch: 'master'
- devstack-hash: '2d5494cfc57b95b61f8b33240eff65f1a339a53e'
odl-ml2-branch: 'master'
odl-ml2-port-binding: 'pseudo-agentdb-binding'
openstack_system_image: '{openstack_system_image_pike}'
- ocata:
openstack-branch: 'stable/ocata'
odl-ml2-branch: 'stable/ocata'
- devstack-hash: '8cb43d098ca88ce57ec216423c009cccd07f1299'
openstack_system_image: '{openstack_system_image_ocata}'
openstack_system2_image: '{openstack_system_image_ocata}'
- pike:
openstack-branch: 'stable/pike'
- devstack-hash: 'c2bb1020ac4f18df5aa90a13f3b6ee8eb2c15d65'
odl-ml2-branch: 'stable/pike'
odl-ml2-port-binding: 'pseudo-agentdb-binding'
openstack_system_image: '{openstack_system_image_pike}'
- ocata:
openstack-branch: 'stable/ocata'
odl-ml2-branch: 'stable/ocata'
- devstack-hash: '8cb43d098ca88ce57ec216423c009cccd07f1299'
openstack_system_image: '{openstack_system_image_ocata}'
openstack_system2_image: '{openstack_system_image_ocata}'
- pike:
openstack-branch: 'stable/pike'
- devstack-hash: 'c2bb1020ac4f18df5aa90a13f3b6ee8eb2c15d65'
odl-ml2-branch: 'stable/pike'
odl-ml2-port-binding: 'pseudo-agentdb-binding'
openstack_system_image: '{openstack_system_image_pike}'
openstack_system2_image: '{openstack_system_image_pike}'
- queens:
openstack-branch: 'master'
- devstack-hash: '2d5494cfc57b95b61f8b33240eff65f1a339a53e'
odl-ml2-branch: 'master'
odl-ml2-port-binding: 'pseudo-agentdb-binding'
openstack_system_image: '{openstack_system_image_pike}'
- ocata:
openstack-branch: 'stable/ocata'
odl-ml2-branch: 'stable/ocata'
- devstack-hash: '8cb43d098ca88ce57ec216423c009cccd07f1299'
openstack_system_image: '{openstack_system_image_ocata}'
openstack_system2_image: '{openstack_system_image_ocata}'
- pike:
openstack-branch: 'stable/pike'
- devstack-hash: 'c2bb1020ac4f18df5aa90a13f3b6ee8eb2c15d65'
odl-ml2-branch: 'stable/pike'
odl-ml2-port-binding: 'pseudo-agentdb-binding'
openstack_system_image: '{openstack_system_image_pike}'
openstack_system2_image: '{openstack_system_image_pike}'
- queens:
openstack-branch: 'master'
- devstack-hash: '2d5494cfc57b95b61f8b33240eff65f1a339a53e'
odl-ml2-branch: 'master'
odl-ml2-port-binding: 'pseudo-agentdb-binding'
openstack_system_image: '{openstack_system_image_pike}'
- ocata:
openstack-branch: 'stable/ocata'
odl-ml2-branch: 'stable/ocata'
- devstack-hash: '8cb43d098ca88ce57ec216423c009cccd07f1299'
openstack_system_image: '{openstack_system_image_ocata}'
openstack_system2_image: '{openstack_system_image_ocata}'
- pike:
openstack-branch: 'stable/pike'
- devstack-hash: 'c2bb1020ac4f18df5aa90a13f3b6ee8eb2c15d65'
odl-ml2-branch: 'stable/pike'
odl-ml2-port-binding: 'pseudo-agentdb-binding'
openstack_system_image: '{openstack_system_image_pike}'
openstack:
- pike:
openstack-branch: 'stable/pike'
- devstack-hash: 'c2bb1020ac4f18df5aa90a13f3b6ee8eb2c15d65'
odl-ml2-branch: 'stable/pike'
odl-ml2-port-binding: 'pseudo-agentdb-binding'
openstack_system_image: '{openstack_system_image_pike}'
scope: 'all'
# Features to install
- install-features: 'odl-openflowplugin-flow-services-rest,odl-openflowplugin-app-table-miss-enforcer'
+ install-features: >
+ odl-openflowplugin-flow-services-rest,
+ odl-openflowplugin-app-table-miss-enforcer,
+ odl-openflowplugin-nxm-extensions
# Robot custom options
robot-options: ''
- string:
name: DOWNLOAD_URL
# yamllint disable-line rule:line-length
- default: 'https://nexus.opendaylight.org/content/repositories/opendaylight.release/org/opendaylight/integration/distribution-karaf/0.6.0-Carbon/distribution-karaf-0.6.0-Carbon.tar.gz'
+ default: 'https://nexus.opendaylight.org/content/repositories/opendaylight.release/org/opendaylight/integration/karaf/0.7.0/karaf-0.7.0.tar.gz'
description: 'URL to ODL tarball artifact to repackage into RPM'
- string:
name: CHANGELOG_NAME
properties-content: 'DOWNLOAD_URL=https://nexus.opendaylight.org/content/repositories/opendaylight.release/org/opendaylight/integration/karaf/0.7.0/karaf-0.7.0.tar.gz'
- shell: !include-raw: build-rpm.sh
- # Test Nitrogen multipatch zip (no parallel tarball available)
+ # Test Oxygen pre-release autorelease tarball
- 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.7.1-SNAPSHOT/karaf-0.7.1-20171009.081353-13.zip'
+ properties-content: 'DOWNLOAD_URL=https://nexus.opendaylight.org/content/repositories/autorelease-2011/org/opendaylight/integration/karaf/0.8.0/karaf-0.8.0.tar.gz'
- shell: !include-raw: build-rpm.sh
- # Test latest Nitrogen snapshot
+ # Test Oxygen multipatch zip (no parallel tarball available)
- inject:
- properties-content: 'STREAM=nitrogen'
+ # 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-20171030.111310-56.zip'
+ - shell: !include-raw: build-rpm.sh
+
+ # Test latest Oxygen snapshot
+ - inject:
+ properties-content: 'STREAM=oxygen'
- shell: !include-raw: build-rpm-snap.sh
triggers:
builders:
# TODO: Install/test each RPM. Will require builder script changes.
- # Test Carbon SR1 tarball
+ # Test Carbon SR2 tarball
- inject:
# yamllint disable-line rule:line-length
- properties-content: 'DOWNLOAD_URL=https://nexus.opendaylight.org/content/repositories/opendaylight.release/org/opendaylight/integration/distribution-karaf/0.6.1-Carbon/distribution-karaf-0.6.1-Carbon.tar.gz'
+ properties-content: 'DOWNLOAD_URL=https://nexus.opendaylight.org/content/repositories/opendaylight.release/org/opendaylight/integration/distribution-karaf/0.6.2-Carbon/distribution-karaf-0.6.2-Carbon.tar.gz'
- shell: !include-raw: build-rpm.sh
# Test Carbon 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/distribution-karaf/0.6.2-SNAPSHOT/distribution-karaf-0.6.2-20171009.100453-60.zip'
+ properties-content: 'DOWNLOAD_URL=https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/org/opendaylight/integration/integration/distribution/distribution-karaf/0.6.3-SNAPSHOT/distribution-karaf-0.6.3-20171027.223207-3.zip'
- shell: !include-raw: build-rpm.sh
# Test latest Carbon snapshot
# Test Nitrogen 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.7.1-SNAPSHOT/karaf-0.7.1-20171009.081353-13.zip'
+ properties-content: 'DOWNLOAD_URL=https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/org/opendaylight/integration/integration/distribution/karaf/0.7.1-SNAPSHOT/karaf-0.7.1-20171027.044826-22.zip'
- shell: !include-raw: build-rpm.sh
# Test latest Nitrogen snapshot
properties-content: 'STREAM=nitrogen'
- shell: !include-raw: build-rpm-snap.sh
- # Test Oxygen tarball
- # TODO: Change this to an autorelease build once available
+ # Test Oxygen pre-release autorelease tarball
- inject:
# yamllint disable-line rule:line-length
- properties-content: 'DOWNLOAD_URL=https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/org/opendaylight/integration/karaf/0.8.0-SNAPSHOT/karaf-0.8.0-20171009.114003-676.tar.gz'
+ properties-content: 'DOWNLOAD_URL=https://nexus.opendaylight.org/content/repositories/autorelease-2011/org/opendaylight/integration/karaf/0.8.0/karaf-0.8.0.tar.gz'
- shell: !include-raw: build-rpm.sh
# 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-20171004.132827-33.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-20171030.111310-56.zip'
- shell: !include-raw: build-rpm.sh
# Test latest Oxygen snapshot
EOF
- # Add hostname to /etc/hosts to fix 'unable to resolve host' issue with sudo
- sed -i "/127.0.0.1/s/$/ $(hostname)/" /etc/hosts
-
echo "---> Updating operating system"
# add additional repositories
"region": "DFW",
"ssh_username": "{{user `public_cloud_user`}}",
"image_name": "{{user `distro`}} - baseline - {{isotime \"20060102-1504\"}}",
- "source_image": "{{user `public_base_image`}}",
+ "source_image_name": "{{user `public_base_image`}}",
"flavor": "general1-1",
"networks": [
"{{user `public_network`}}"
"region": "DFW",
"ssh_username": "{{user `public_cloud_user`}}",
"image_name": "{{user `distro`}} - devstack-newton - {{isotime \"20060102-1504\"}}",
- "source_image": "{{user `public_base_image`}}",
+ "source_image_name": "{{user `public_base_image`}}",
"flavor": "general1-1",
"networks": [
"{{user `public_network`}}"
"region": "DFW",
"ssh_username": "{{user `public_cloud_user`}}",
"image_name": "{{user `distro`}} - devstack-ocata - {{isotime \"20060102-1504\"}}",
- "source_image": "{{user `public_base_image`}}",
+ "source_image_name": "{{user `public_base_image`}}",
"flavor": "general1-1",
"networks": [
"{{user `public_network`}}"
"region": "DFW",
"ssh_username": "{{user `public_cloud_user`}}",
"image_name": "{{user `distro`}} - devstack-pike - {{isotime \"20060102-1504\"}}",
- "source_image": "{{user `public_base_image`}}",
+ "source_image_name": "{{user `public_base_image`}}",
"flavor": "general1-1",
"networks": [
"{{user `public_network`}}"
"region": "DFW",
"ssh_username": "{{user `public_cloud_user`}}",
"image_name": "{{user `distro`}} - devstack - {{isotime \"20060102-1504\"}}",
- "source_image": "{{user `public_base_image`}}",
+ "source_image_name": "{{user `public_base_image`}}",
"flavor": "general1-1",
"networks": [
"{{user `public_network`}}"
"region": "DFW",
"ssh_username": "{{user `public_cloud_user`}}",
"image_name": "{{user `distro`}} - docker - {{isotime \"20060102-1504\"}}",
- "source_image": "{{user `public_base_image`}}",
+ "source_image_name": "{{user `public_base_image`}}",
"flavor": "general1-1",
"networks": [
"{{user `public_network`}}"
"region": "DFW",
"ssh_username": "{{user `public_cloud_user`}}",
"image_name": "{{user `distro`}} - java-builder - {{isotime \"20060102-1504\"}}",
- "source_image": "{{user `public_base_image`}}",
+ "source_image_name": "{{user `public_base_image`}}",
"flavor": "general1-1",
"networks": [
"{{user `public_network`}}"
"region": "DFW",
"ssh_username": "{{user `public_cloud_user`}}",
"image_name": "{{user `distro`}} - robot - {{isotime \"20060102-1504\"}}",
- "source_image": "{{user `public_base_image`}}",
+ "source_image_name": "{{user `public_base_image`}}",
"flavor": "general1-1",
"networks": [
"{{user `public_network`}}"
{
- "public_base_image": "2d659868-df96-4f8e-8ce1-bd32bb86805a",
+ "public_base_image": "CentOS 7 (PVHVM)",
"public_cloud_user": "root",
"private_base_image": "CentOS 7 (cloudimg 1510)",
"private_cloud_user": "centos",