From: Luis Gomez Date: Tue, 16 May 2017 18:53:34 +0000 (+0000) Subject: Merge "Adjust for karaf 4 not happening in carbon" X-Git-Tag: release/carbon~38 X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=commitdiff_plain;h=90a7b08bb7ef2cbbf24b5ba84c368d6b6576276b;hp=0bf45db1d8c9fc32027bf75acf67861244d1e30a;p=releng%2Fbuilder.git Merge "Adjust for karaf 4 not happening in carbon" --- diff --git a/jjb/autorelease/autorelease-macros.yaml b/jjb/autorelease/autorelease-macros.yaml index 7b6b0e204..0d8528056 100644 --- a/jjb/autorelease/autorelease-macros.yaml +++ b/jjb/autorelease/autorelease-macros.yaml @@ -133,15 +133,11 @@ 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: diff --git a/jjb/autorelease/autorelease-projects.yaml b/jjb/autorelease/autorelease-projects.yaml index e61a0fe5a..6e5fa31f4 100644 --- a/jjb/autorelease/autorelease-projects.yaml +++ b/jjb/autorelease/autorelease-projects.yaml @@ -3,7 +3,6 @@ name: autorelease-projects jobs: - 'autorelease-release-{stream}' - - 'autorelease-generate-release-notes-{stream}' stream: - nitrogen: @@ -41,6 +40,28 @@ 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 ### diff --git a/jjb/bgpcep/bgpcep-csit-bgpclustering-longevity.yaml b/jjb/bgpcep/bgpcep-csit-bgpclustering-longevity.yaml index cf480b8d9..0fa804008 100644 --- a/jjb/bgpcep/bgpcep-csit-bgpclustering-longevity.yaml +++ b/jjb/bgpcep/bgpcep-csit-bgpclustering-longevity.yaml @@ -26,7 +26,7 @@ # Features to install install-features: > - odl-restconf, + odl-restconf-noauth, odl-bgpcep-bgp # Built timeout diff --git a/jjb/bgpcep/bgpcep-csit-bgpclustering.yaml b/jjb/bgpcep/bgpcep-csit-bgpclustering.yaml index 1ba837742..4091f0f63 100644 --- a/jjb/bgpcep/bgpcep-csit-bgpclustering.yaml +++ b/jjb/bgpcep/bgpcep-csit-bgpclustering.yaml @@ -37,7 +37,7 @@ 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' diff --git a/jjb/controller/controller-csit-clustering.yaml b/jjb/controller/controller-csit-clustering.yaml index ba63cef0b..8778cf5f3 100644 --- a/jjb/controller/controller-csit-clustering.yaml +++ b/jjb/controller/controller-csit-clustering.yaml @@ -40,7 +40,7 @@ # Features to install install-features: > - odl-restconf, + odl-restconf-noauth, odl-clustering-test-app # Robot custom options diff --git a/jjb/controller/controller-csit-cs-chasing-leader.yaml b/jjb/controller/controller-csit-cs-chasing-leader.yaml index dcb89b350..40dc8c32e 100644 --- a/jjb/controller/controller-csit-cs-chasing-leader.yaml +++ b/jjb/controller/controller-csit-cs-chasing-leader.yaml @@ -26,7 +26,7 @@ # Features to install install-features: > - odl-restconf, + odl-restconf-noauth, odl-clustering-test-app # Built timeout diff --git a/jjb/controller/controller-csit-cs-partnheal.yaml b/jjb/controller/controller-csit-cs-partnheal.yaml index 599c29b3a..cc5101f4a 100644 --- a/jjb/controller/controller-csit-cs-partnheal.yaml +++ b/jjb/controller/controller-csit-cs-partnheal.yaml @@ -26,7 +26,7 @@ # Features to install install-features: > - odl-restconf, + odl-restconf-noauth, odl-clustering-test-app # Built timeout diff --git a/jjb/controller/controller-csit-ddb-expl-lead-movement.yaml b/jjb/controller/controller-csit-ddb-expl-lead-movement.yaml index 76edf6010..4c1b0afd0 100644 --- a/jjb/controller/controller-csit-ddb-expl-lead-movement.yaml +++ b/jjb/controller/controller-csit-ddb-expl-lead-movement.yaml @@ -26,7 +26,7 @@ # Features to install install-features: > - odl-restconf, + odl-restconf-noauth, odl-clustering-test-app # Built timeout diff --git a/jjb/controller/controller-csit-drb-partnheal.yaml b/jjb/controller/controller-csit-drb-partnheal.yaml index 6956ceb2c..bd0bbc154 100644 --- a/jjb/controller/controller-csit-drb-partnheal.yaml +++ b/jjb/controller/controller-csit-drb-partnheal.yaml @@ -26,7 +26,7 @@ # Features to install install-features: > - odl-restconf, + odl-restconf-noauth, odl-clustering-test-app # Built timeout diff --git a/jjb/controller/controller-csit-drb-precedence.yaml b/jjb/controller/controller-csit-drb-precedence.yaml index 5a131a293..039c68410 100644 --- a/jjb/controller/controller-csit-drb-precedence.yaml +++ b/jjb/controller/controller-csit-drb-precedence.yaml @@ -26,7 +26,7 @@ # Features to install install-features: > - odl-restconf, + odl-restconf-noauth, odl-clustering-test-app # Built timeout diff --git a/jjb/integration/include-raw-integration-deploy-controller-run-test.sh b/jjb/integration/include-raw-integration-deploy-controller-run-test.sh index b20f1ad57..7e7ff6791 100644 --- a/jjb/integration/include-raw-integration-deploy-controller-run-test.sh +++ b/jjb/integration/include-raw-integration-deploy-controller-run-test.sh @@ -238,11 +238,6 @@ done 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 @@ -253,6 +248,11 @@ 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 diff --git a/jjb/integration/include-raw-integration-deploy-openstack-run-test.sh b/jjb/integration/include-raw-integration-deploy-openstack-run-test.sh index c3e110fd5..d22ccf130 100644 --- a/jjb/integration/include-raw-integration-deploy-openstack-run-test.sh +++ b/jjb/integration/include-raw-integration-deploy-openstack-run-test.sh @@ -370,6 +370,9 @@ set +e # We do not want to create red dot just because something went wrong whi 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 diff --git a/jjb/integration/include-raw-integration-install-robotframework.sh b/jjb/integration/include-raw-integration-install-robotframework.sh index 6ad635cdc..be6b965f3 100644 --- a/jjb/integration/include-raw-integration-install-robotframework.sh +++ b/jjb/integration/include-raw-integration-install-robotframework.sh @@ -52,6 +52,9 @@ pip install --upgrade tornado jsonpointer # Module for TemplatedRequests.robot library pip install --upgrade jmespath +# Module for backup-restore support library +pip install jsonpatch + # Print installed versions. pip freeze diff --git a/jjb/iotdm/iotdm.yaml b/jjb/iotdm/iotdm.yaml index 166a85a8b..5c81767b2 100644 --- a/jjb/iotdm/iotdm.yaml +++ b/jjb/iotdm/iotdm.yaml @@ -34,8 +34,7 @@ - '{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 diff --git a/jjb/netvirt/netvirt-csit-hwvtep-openstack.yaml b/jjb/netvirt/netvirt-csit-hwvtep-openstack.yaml index 497d2d42b..99c83f650 100644 --- a/jjb/netvirt/netvirt-csit-hwvtep-openstack.yaml +++ b/jjb/netvirt/netvirt-csit-hwvtep-openstack.yaml @@ -59,8 +59,6 @@ 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' diff --git a/jjb/opendaylight-infra-cleanup-stale-stacks.sh b/jjb/opendaylight-infra-cleanup-stale-stacks.sh index db2390bdf..05949eec1 100644 --- a/jjb/opendaylight-infra-cleanup-stale-stacks.sh +++ b/jjb/opendaylight-infra-cleanup-stale-stacks.sh @@ -26,7 +26,7 @@ for silo in releng sandbox; do 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 ########################## diff --git a/jjb/releng-jobs.yaml b/jjb/releng-jobs.yaml index f45a61a8b..7fe94b942 100644 --- a/jjb/releng-jobs.yaml +++ b/jjb/releng-jobs.yaml @@ -120,6 +120,14 @@ - 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}' diff --git a/packer/provision/mininet-ovs-2.5.sh b/packer/provision/mininet-ovs-2.5.sh index 55efc9970..5f392cf8a 100644 --- a/packer/provision/mininet-ovs-2.5.sh +++ b/packer/provision/mininet-ovs-2.5.sh @@ -47,15 +47,3 @@ apt-get install vlan # 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/