printf "\nshowing recent changes that made it into integration/test used by this job:\n"
cd ${WORKSPACE}/test
-git --no-pager log --pretty=format:'%h %<(13)%ar%<(13)%cr %<(20,trunc)%an%d %s' -n10
+printf "Hash Author Date Commit Date Author Subject"
+printf "------- ------------------------------ ------------------------------ -------------------- -----------------------------"
+git --no-pager log --pretty=format:'%h %<(30)%ad%<(30)%cd %<(20,trunc)%an%d %s' -n20
cd -
cat << EOF
${NODE_FOLDER}/odl${i}_karaf.log > ${NODE_FOLDER}/odl${i}_err_warn_exception.log
# Print ROBOT lines and print Exception lines. For exception lines also print the previous line for context
sed -n -e '/ROBOT MESSAGE/P' -e '$!N;/Exception/P;D' ${NODE_FOLDER}/odl${i}_karaf.log > ${NODE_FOLDER}/odl${i}_exception.log
+ mv /tmp/odl${i}_exceptions.txt ${NODE_FOLDER}
rm ${NODE_FOLDER}/odl${i}_karaf.log.tar
mv *_threads* ${NODE_FOLDER}
mv ps_* ${NODE_FOLDER}
echo "git checkout ${DEVSTACK_HASH}"
git checkout ${DEVSTACK_HASH}
fi
-echo "workaround: Restore NEUTRON_CREATE_INITIAL_NETWORKS flag"
-if [ "${OPENSTACK_BRANCH}" == "stable/queens" ]; then
- git config --local user.email jenkins@opendaylight.org
- git config --local user.name jenkins
- git fetch https://git.openstack.org/openstack-dev/devstack refs/changes/99/550499/1 && git cherry-pick FETCH_HEAD
-fi
git --no-pager log --pretty=format:'%h %<(13)%ar%<(13)%cr %<(20,trunc)%an%d %s%b' -n20
echo
-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
echo "workaround: do not upgrade openvswitch"
sudo yum install -y yum-plugin-versionlock
exit 1
fi
- # upgrading pip, urllib3 and httplib2 so that tempest tests can be run on openstack control node
- # this needs to happen after devstack runs because it seems devstack is pulling in specific versions
- # of these libs that are not working for tempest.
- ${SSH} ${!CONTROLIP} "sudo pip install --upgrade pip"
- ${SSH} ${!CONTROLIP} "sudo pip install urllib3 --upgrade"
- ${SSH} ${!CONTROLIP} "sudo pip install httplib2 --upgrade"
-
# Gather Compute IPs for the site
for j in `seq 1 ${NUM_COMPUTES_PER_SITE}`; do
COMPUTE_INDEX=$(((i-1) * NUM_COMPUTES_PER_SITE + j))
-v HA_PROXY_2_IP:${HA_PROXY_2_IP} \
-v HA_PROXY_3_IP:${HA_PROXY_3_IP} \
-v JDKVERSION:${JDKVERSION} \
+ -v JENKINS_WORKSPACE:${WORKSPACE} \
-v NEXUSURL_PREFIX:${NEXUSURL_PREFIX} \
-v NUM_ODL_SYSTEM:${NUM_ODL_SYSTEM} \
-v NUM_OPENSTACK_SITES:${NUM_OPENSTACK_SITES} \