#these packages will enable C# compilation.
rpm --import "http://keyserver.ubuntu.com/pks/lookup?op=get&search=0x3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF"
#Added the mono tools repository
-yum-config-manager -q -y --add-repo http://download.mono-project.com/repo/centos6
+yum-config-manager -q -y --add-repo http://origin-download.mono-project.com/repo/centos6
#Install the nuget binary
-yum install -q -y http://download.mono-project.com/repo/centos/RPMS/noarch/nuget-2.8.3+md58+dhx1-0.noarch.rpm
+yum install -q -y http://origin-download.mono-project.com/repo/centos/n/nuget/nuget-2.8.3+md58+dhx1-0.noarch.rpm
#install the mono toolchain
yum -q -y install mono-complete
# netaddr and ipaddress libraries can be useful on this system as
# some tests are starting to push pyhon scripts/tools to this VM
# during CI tests
-yum install -q -y python-{ipaddress,netaddr}
+yum install -q -y python-{ipaddr,iptools,netaddr}
# the vagrant configuration for netopeer doesn't configure SSH correctly
# as it uses and here document via echo and not cat fix that
- project:
- name: aaa-csit-authn-master
+ name: aaa-csit-authn
jobs:
- '{project}-csit-1node-cds-{functionality}-{install}-{stream}'
- '{project}-csit-verify-{functionality}-{stream}'
stream:
- master:
branch: 'master'
+ - stable-lithium:
+ branch: 'stable/lithium'
install:
- only:
- project:
- name: controller-csit-netconf-master
+ name: controller-csit-netconf
jobs:
- '{project}-csit-1node-cds-{functionality}-{install}-{stream}'
- '{project}-csit-verify-{functionality}-{stream}'
stream:
- master:
branch: 'master'
+ - stable-lithium:
+ branch: 'stable/lithium'
install:
- only:
+BRANCHES:
+- master:
+ jdks: openjdk7
+- stable/helium:
+ jdks: openjdk7
+- stable/lithium:
+ jdks: openjdk7
MVN_GOALS: -U clean install findbugs:findbugs -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r
MVN_OPTS: -Xmx1024m -XX:MaxPermSize=256m
DEPENDENCIES: odlparent,yangtools,controller,openflowjava,openflowplugin
jdk: openjdk7
jdks:
- openjdk7
+ - stable-lithium:
+ branch: 'stable/lithium'
+ jdk: openjdk7
+ jdks:
+ - openjdk7
project: 'groupbasedpolicy'
-NEXUSURL_PREFIX=${ODLNEXUSPROXY:-https://nexus.opendaylight.org}
+export NEXUSURL_PREFIX=${ODLNEXUSPROXY:-https://nexus.opendaylight.org}
CONTROLLERMEM="2048m"
if [ ${CONTROLLERSCOPE} == 'all' ]; then
if [ ${BUNDLEURL} == 'last' ]; then
NEXUSPATH="${NEXUSURL_PREFIX}/content/repositories/opendaylight.snapshot/org/opendaylight/integration/distribution-karaf"
# Extract the BUNDLEVERSION from the pom.xml
- BUNDLEVERSION=`xpath pom.xml '/project/version/text()' 2> /dev/null`
+ export BUNDLEVERSION=`xpath pom.xml '/project/version/text()' 2> /dev/null`
echo "Bundle version is ${BUNDLEVERSION}"
# Acquire the timestamp information from maven-metadata.xml
wget ${NEXUSPATH}/${BUNDLEVERSION}/maven-metadata.xml
TIMESTAMP=`xpath maven-metadata.xml "//snapshotVersion[extension='zip'][1]/value/text()" 2>/dev/null`
echo "Nexus timestamp is ${TIMESTAMP}"
- BUNDLEFOLDER="distribution-karaf-${BUNDLEVERSION}"
- BUNDLE="distribution-karaf-${TIMESTAMP}.zip"
- ACTUALBUNDLEURL="${NEXUSPATH}/${BUNDLEVERSION}/${BUNDLE}"
+ export BUNDLEFOLDER="distribution-karaf-${BUNDLEVERSION}"
+ export BUNDLE="distribution-karaf-${TIMESTAMP}.zip"
+ export ACTUALBUNDLEURL="${NEXUSPATH}/${BUNDLEVERSION}/${BUNDLE}"
else
- ACTUALBUNDLEURL="${BUNDLEURL}"
- BUNDLE="${BUNDLEURL##*/}"
- BUNDLEVERSION="$(basename $(dirname $BUNDLEURL))"
- BUNDLEFOLDER="distribution-karaf-${BUNDLEVERSION}"
+ export ACTUALBUNDLEURL="${BUNDLEURL}"
+ export BUNDLE="${BUNDLEURL##*/}"
+ export BUNDLEVERSION="$(basename $(dirname $BUNDLEURL))"
+ export BUNDLEFOLDER="distribution-karaf-${BUNDLEVERSION}"
fi
echo "Distribution bundle URL is ${ACTUALBUNDLEURL}"
echo "Distribution folder is ${BUNDLEFOLDER}"
echo "Nexus prefix is ${NEXUSURL_PREFIX}"
+if [ -f ${WORKSPACE}/test/csit/scriptplans/${TESTPLAN} ]; then
+ echo "scriptplan exists!!!"
+ echo "Changing the scriptplan path..."
+ cat ${WORKSPACE}/test/csit/scriptplans/${TESTPLAN} | sed "s:integration:${WORKSPACE}:" > scriptplan.txt
+ cat scriptplan.txt
+ for line in $( egrep -v '(^[[:space:]]*#|^[[:space:]]*$)' scriptplan.txt ); do
+ echo "Executing ${line}..."
+ source ${line}
+ done
+fi
+
cat > ${WORKSPACE}/controller-script.sh <<EOF
echo "Changing to /tmp"
- project:
- name: iotdm-csit-basic-master
+ name: iotdm-csit-basic
jobs:
- '{project}-csit-1node-cds-{functionality}-{install}-{stream}'
- '{project}-csit-verify-{functionality}-{stream}'
stream:
- master:
branch: 'master'
+ - stable-lithium:
+ branch: 'stable/lithium'
install:
- only:
robot-options: ''
# Trigger jobs (upstream dependencies)
- trigger-jobs: 'iotdm-distribution-{stream}'
\ No newline at end of file
+ trigger-jobs: 'iotdm-distribution-{stream}'
- project:
- name: l2switch-csit-host-scalability-daily-master
+ name: l2switch-csit-host-scalability-daily
jobs:
- '{project}-csit-periodic-1node-cds-{functionality}-{install}-{stream}'
stream:
- master:
branch: 'master'
+ - stable-lithium:
+ branch: 'stable/lithium'
install:
- only:
- project:
- name: l2switch-csit-scalability-master
+ name: l2switch-csit-scalability
jobs:
- '{project}-csit-1node-cds-{functionality}-{install}-{stream}'
- '{project}-csit-verify-{functionality}-{stream}'
stream:
- master:
branch: 'master'
+ - stable-lithium:
+ branch: 'stable/lithium'
install:
- only:
- project:
- name: l2switch-csit-switch-master
+ name: l2switch-csit-switch
jobs:
- '{project}-csit-1node-cds-{functionality}-{install}-{stream}'
- '{project}-csit-verify-{functionality}-{stream}'
stream:
- master:
branch: 'master'
+ - stable-lithium:
+ branch: 'stable/lithium'
install:
- only:
- project:
- name: lispflowmapping-csit-all-master
+ name: lispflowmapping-csit-all
jobs:
- '{project}-csit-1node-cds-{functionality}-{install}-{stream}'
- '{project}-csit-verify-{functionality}-{stream}'
stream:
- master:
branch: 'master'
+ - stable-lithium:
+ branch: 'stable/lithium'
install:
- only:
- project:
- name: openflowplugin-csit-cbench-daily-master
+ name: openflowplugin-csit-cbench-daily
jobs:
- '{project}-csit-periodic-1node-cds-{functionality}-{install}-{stream}'
stream:
- master:
branch: 'master'
+ - stable-lithium:
+ branch: 'stable/lithium'
install:
- only:
- project:
- name: openflowplugin-csit-cbench-performance-master
+ name: openflowplugin-csit-cbench-performance
jobs:
- '{project}-csit-1node-cds-{functionality}-{install}-{stream}'
stream:
- master:
branch: 'master'
+ - stable-lithium:
+ branch: 'stable/lithium'
install:
- only:
- project:
- name: openflowplugin-csit-config-performance-master
+ name: openflowplugin-csit-config-performance
jobs:
- '{project}-csit-1node-cds-{functionality}-{install}-{stream}'
stream:
- master:
branch: 'master'
+ - stable-lithium:
+ branch: 'stable/lithium'
install:
- only:
- project:
- name: openflowplugin-csit-flow-services-more-master
+ name: openflowplugin-csit-flow-services-more
jobs:
- '{project}-csit-1node-cds-{functionality}-{install}-{stream}'
+ - '{project}-csit-verify-{functionality}-{stream}'
# The project name
project: 'openflowplugin'
stream:
- master:
branch: 'master'
+ - stable-lithium:
+ branch: 'stable/lithium'
install:
- only:
- project:
- name: openflowplugin-csit-flow-services-master
+ name: openflowplugin-csit-flow-services
jobs:
- '{project}-csit-1node-cds-{functionality}-{install}-{stream}'
- '{project}-csit-verify-{functionality}-{stream}'
stream:
- master:
branch: 'master'
+ - stable-lithium:
+ branch: 'stable/lithium'
install:
- only:
- project:
- name: openflowplugin-csit-scalability-daily-master
+ name: openflowplugin-csit-scalability-daily
jobs:
- '{project}-csit-periodic-1node-cds-{functionality}-{install}-{stream}'
stream:
- master:
branch: 'master'
+ - stable-lithium:
+ branch: 'stable/lithium'
install:
- only:
- project:
- name: openflowplugin-csit-scalability-master
+ name: openflowplugin-csit-scalability
jobs:
- '{project}-csit-1node-cds-{functionality}-{install}-{stream}'
- '{project}-csit-verify-{functionality}-{stream}'
stream:
- master:
branch: 'master'
+ - stable-lithium:
+ branch: 'stable/lithium'
install:
- only:
- project:
- name: snmp-csit-basic-master
+ name: snmp-csit-basic
jobs:
- '{project}-csit-1node-cds-{functionality}-{install}-{stream}'
- '{project}-csit-verify-{functionality}-{stream}'
stream:
- master:
branch: 'master'
+ - stable-lithium:
+ branch: 'stable/lithium'
install:
- only:
jdks: openjdk7
- stable/helium:
jdks: openjdk7
+- stable/lithium:
+ jdks: openjdk7
# MVN_GOALS: clean install javadoc:aggregate -DrepoBuild -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r
MVN_OPTS: -Xmx1024m -XX:MaxPermSize=256m
DEPENDENCIES: odlparent,controller,yangtools,tcpmd5
jdk: openjdk7
jdks:
- openjdk7
+ - stable-lithium:
+ branch: 'stable/lithium'
+ jdk: openjdk7
+ jdks:
+ - openjdk7
project: 'sxp'
--- /dev/null
+- project:
+ name: tsdr-csit-tsdr-h2
+ jobs:
+ - '{project}-csit-1node-cds-{functionality}-{install}-{stream}'
+ - '{project}-csit-verify-{functionality}-{stream}'
+
+ # The project name
+ project: 'tsdr'
+
+ # The functionality under test to verify
+ functionality: 'h2-datastore'
+
+ # Project branches
+ stream:
+ - master:
+ branch: 'master'
+
+ install:
+ - only:
+ scope: 'only'
+ - all:
+ scope: 'all'
+
+ # Features to install
+ install-features: 'odl-restconf,odl-tsdr-all'
+
+ # Robot custom options
+ robot-options: ' '
+
+ # Trigger jobs (upstream dependencies)
+ trigger-jobs: 'yangtools-distribution-{stream},controller-distribution-{stream},openflowjava-distribution-{stream},openflowplugin-distribution-{stream},tsdr-distribution-{stream}'
+
- project:
- name: tsdr-csit-tsdr-master
+ name: tsdr-csit-tsdr
jobs:
- '{project}-csit-1node-cds-{functionality}-{install}-{stream}'
- '{project}-csit-verify-{functionality}-{stream}'
stream:
- master:
branch: 'master'
+ - stable-lithium:
+ branch: 'stable/lithium'
install:
- only:
- project:
- name: usc-csit-channel-master
+ name: usc-csit-channel
jobs:
- '{project}-csit-1node-cds-{functionality}-{install}-{stream}'
- '{project}-csit-verify-{functionality}-{stream}'
stream:
- master:
branch: 'master'
+ - stable-lithium:
+ branch: 'stable/lithium'
install:
- only:
- project:
- name: vpnservice-csit-vpnservice-master
+ name: vpnservice-csit-vpnservice
jobs:
- '{project}-csit-1node-cds-{functionality}-{install}-{stream}'
- '{project}-csit-verify-{functionality}-{stream}'
stream:
- master:
branch: 'master'
+ - stable-lithium:
+ branch: 'stable/lithium'
install:
- only:
- project:
- name: vtn-csit-manager-master
+ name: vtn-csit-manager
jobs:
- '{project}-csit-1node-cds-{functionality}-{install}-{stream}'
- '{project}-csit-verify-{functionality}-{stream}'
stream:
- master:
branch: 'master'
+ - stable-lithium:
+ branch: 'stable/lithium'
install:
- only:
#these packages will enable C# compilation.
rpm --import "http://keyserver.ubuntu.com/pks/lookup?op=get&search=0x3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF"
#Added the mono tools repository
-yum-config-manager -q -y --add-repo http://download.mono-project.com/repo/centos6
+yum-config-manager -q -y --add-repo http://origin-download.mono-project.com/repo/centos6/
#Install the nuget binary
-yum install -q -y http://download.mono-project.com/repo/centos/RPMS/noarch/nuget-2.8.3+md58+dhx1-0.noarch.rpm
+yum install -q -y http://origin-download.mono-project.com/repo/centos/n/nuget/nuget-2.8.3+md58+dhx1-0.noarch.rpm
#install the mono toolchain
yum -q -y install mono-complete
yum clean all
yum update -q -y
+# install openvswitch
+yum install -q -y openvswitch
+# make sure it's enabled on system start, no need to start it
+# during setup
+systemctl enable openvswitch
+
# install mininet
git clone git://github.com/mininet/mininet
cd mininet