name: autorelease-generate-release-notes
builders:
- shell: |
- # TODO: Remove this condition once stable/beryllium is no longer
- # officially maintained.
- if [ "$GERRIT_BRANCH" != "stable/beryllium" ]; then
- cd $WORKSPACE/scripts/release_notes_management
- java -jar target/autonotes.jar
- if [ -f "$WORKSPACE/scripts/release_notes_management/projects/release-notes.rst" ]; then
- mkdir -p $WORKSPACE/archives
- cp -vf "$WORKSPACE/scripts/release_notes_management/projects/release-notes.rst" "$WORKSPACE/archives"
- fi
+ cd $WORKSPACE/scripts/release_notes_management
+ java -jar target/autonotes.jar
+ if [ -f "$WORKSPACE/scripts/release_notes_management/projects/release-notes.rst" ]; then
+ mkdir -p $WORKSPACE/archives
+ cp -vf "$WORKSPACE/scripts/release_notes_management/projects/release-notes.rst" "$WORKSPACE/archives"
fi
- publisher:
name: autorelease-projects
jobs:
- 'autorelease-release-{stream}'
- - 'autorelease-generate-release-notes-{stream}'
stream:
- nitrogen:
patches.tar.gz
error.log.gz
+
+- project:
+ name: autorelease-release-notes
+ jobs:
+ - 'autorelease-generate-release-notes-{stream}'
+
+ stream:
+ - nitrogen:
+ branch: 'master'
+ jdk: 'openjdk8'
+ - carbon:
+ branch: 'stable/carbon'
+ jdk: 'openjdk8'
+ - boron:
+ branch: 'stable/boron'
+ jdk: 'openjdk8'
+
+ project: 'releng/autorelease'
+ archive-artifacts: >
+ **/*.log
+
+
###
# TODO: Remove this job once guava21 testing is complete
###
# Features to install
install-features: >
- odl-restconf,
+ odl-restconf-noauth,
odl-bgpcep-bgp
# Built timeout
scope: 'all'
# Features to install
- install-features: 'odl-restconf,odl-bgpcep-bgp,odl-netconf-clustered-topology'
+ install-features: 'odl-restconf-noauth,odl-bgpcep-bgp,odl-netconf-clustered-topology'
# Robot custom options:
robot-options: '-v USE_NETCONF_CONNECTOR:False'
# Features to install
install-features: >
- odl-restconf,
+ odl-restconf-noauth,
odl-clustering-test-app
# Robot custom options
# Features to install
install-features: >
- odl-restconf,
+ odl-restconf-noauth,
odl-clustering-test-app
# Built timeout
# Features to install
install-features: >
- odl-restconf,
+ odl-restconf-noauth,
odl-clustering-test-app
# Built timeout
# Features to install
install-features: >
- odl-restconf,
+ odl-restconf-noauth,
odl-clustering-test-app
# Built timeout
# Features to install
install-features: >
- odl-restconf,
+ odl-restconf-noauth,
odl-clustering-test-app
# Built timeout
# Features to install
install-features: >
- odl-restconf,
+ odl-restconf-noauth,
odl-clustering-test-app
# Built timeout
echo "Cool down for ${COOLDOWN_PERIOD} seconds :)..."
sleep ${COOLDOWN_PERIOD}
-if [ ${NUM_OPENSTACK_SYSTEM} -gt 0 ]; then
- echo "Exiting without running tests to deploy openstack for testing"
- exit
-fi
-
echo "Generating controller variables..."
for i in `seq 1 ${NUM_ODL_SYSTEM}`
do
ssh ${!CONTROLLERIP} "jstack $KARAF_PID"> ${WORKSPACE}/karaf_${i}_threads_before.log || true
done
+if [ ${NUM_OPENSTACK_SYSTEM} -gt 0 ]; then
+ echo "Exiting without running tests to deploy openstack for testing"
+ exit
+fi
+
echo "Generating mininet variables..."
for i in `seq 1 ${NUM_TOOLS_SYSTEM}`
do
for i in `seq 1 ${NUM_ODL_SYSTEM}`
do
CONTROLLERIP=ODL_SYSTEM_${i}_IP
+ echo "Lets's take the karaf thread dump again..."
+ KARAF_PID=$(ssh ${!CONTROLLERIP} "ps aux | grep ${KARAF_ARTIFACT} | grep -v grep | tr -s ' ' | cut -f2 -d' '")
+ ssh ${!CONTROLLERIP} "jstack $KARAF_PID"> ${WORKSPACE}/karaf_${i}_threads_after.log || true
echo "killing karaf process..."
${SSH} "${!CONTROLLERIP}" bash -c 'ps axf | grep karaf | grep -v grep | awk '"'"'{print "kill -9 " $1}'"'"' | sh'
done
# Module for TemplatedRequests.robot library
pip install --upgrade jmespath
+# Module for backup-restore support library
+pip install jsonpatch
+
# Print installed versions.
pip freeze
- '{project-name}-distribution-check-{stream}'
- '{project-name}-integration-{stream}'
- '{project-name}-merge-{stream}'
- # TODO uncomment this line when IoTDM added to Carbon
- # - '{project-name}-validate-autorelease-{stream}'
+ - '{project-name}-validate-autorelease-{stream}'
- '{project-name}-verify-{stream}-{maven}-{jdks}'
stream: carbon
tools_system_image: 'Ubuntu 16.04 - mininet-ovs-25 - 20170406-0546'
- odl_system_image: 'CentOS 7 - java-builder - 20170403-0948'
-
enable-networking-l2gw: 'yes'
enable-openstack-services: 'q-svc,q-dhcp,q-meta,n-cauth,tempest,l2gw-plugin'
sleep 1 # Need to sleep for 1 second otherwise next line causes script to stall
ACTIVE_BUILDS=(${ACTIVE_BUILDS[@]} $( \
jq -r '.computer[].executors[].currentExecutable.url' "${silo}_builds.json" \
- | grep -v null | awk -F'/' '{print $6 "-" $7}'))
+ | grep -v null | awk -F'/' '{print $4 "-" $6 "-" $7}'))
done
##########################
- opendaylight-infra-properties:
build-days-to-keep: 7
+ parameters:
+ - opendaylight-infra-parameters:
+ os-cloud: '{os-cloud}'
+ project: '{project}'
+ branch: '{branch}'
+ refspec: 'refs/heads/{branch}'
+ artifacts: '{archive-artifacts}'
+
wrappers:
- opendaylight-infra-wrappers:
build-timeout: '{build-timeout}'
# Install netaddr package which is needed by some custom mininet topologies
apt-get install python-netaddr
-
-#Check out 6Wind quagga with tag name '20170418', compile and install for router functionalities
-echo "---> Installing the Quagga..."
-mkdir -p /tmp/build_quagga
-cd /tmp/build_quagga
-git clone https://github.com/6WIND/zrpcd.git
-cd zrpcd
-chmod a+x /tmp/build_quagga/zrpcd/pkgsrc/dev_compile_script.sh
-/tmp/build_quagga/zrpcd/pkgsrc/dev_compile_script.sh -d -b -t -v 2
-
-# Removing the build_quagga folder
-rm -rf /tmp/build_quagga/