X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=jjb%2Fintegration%2Fintegration-deploy-controller-run-test.sh;h=c222ed2fc184b6680090b5103ee3b0fd6de050cc;hb=f93289b1fc422b77fcd00cfebe848c4eac982284;hp=c6beeed410da498e9cccb2a5dc1db1b0ee6ab7fd;hpb=580538afd2795b61a826ccd08195628c729d63cb;p=releng%2Fbuilder.git diff --git a/jjb/integration/integration-deploy-controller-run-test.sh b/jjb/integration/integration-deploy-controller-run-test.sh index c6beeed41..c222ed2fc 100644 --- a/jjb/integration/integration-deploy-controller-run-test.sh +++ b/jjb/integration/integration-deploy-controller-run-test.sh @@ -4,7 +4,7 @@ # script. # shellcheck source=${ROBOT_VENV}/bin/activate disable=SC1091 source ${ROBOT_VENV}/bin/activate - +source /tmp/common-functions.sh ${BUNDLEFOLDER} if [ "${ENABLE_HAPROXY_FOR_NEUTRON}" == "yes" ]; then echo "Configure cluster" @@ -45,6 +45,8 @@ if [ -f "${WORKSPACE}/test/csit/scriptplans/${TESTPLAN}" ]; then fi cat > ${WORKSPACE}/configuration-script.sh <> ${LOGCONF} -# Add custom logging levels -# CONTROLLERDEBUGMAP is expected to be a key:value map of space separated values like "module:level module2:level2" -# where module is abbreviated and does not include org.opendaylight -unset IFS -if [ -n "${CONTROLLERDEBUGMAP}" ]; then - for kv in ${CONTROLLERDEBUGMAP}; do - module=\${kv%%:*} - level=\${kv#*:} - if [ -n \${module} ] && [ -n \${level} ]; then - echo "log4j.logger.org.opendaylight.\${module} = \${level}" >> ${LOGCONF} - fi - done -fi -cat ${LOGCONF} +configure_karaf_log "${KARAF_VERSION}" "${CONTROLLERDEBUGMAP}" -set_java_vars +set_java_vars "${JAVA_HOME}" "${CONTROLLERMEM}" echo "Listing all open ports on controller system..." netstat -pnatu @@ -126,6 +110,7 @@ if [ "${ENABLE_HAPROXY_FOR_NEUTRON}" == "yes" ]; then fi EOF +# cat > ${WORKSPACE}/configuration-script.sh < ${WORKSPACE}/startup-script.sh < ${WORKSPACE}/startup-script.sh < ${WORKSPACE}/post-startup-script.sh < ${WORKSPACE}/post-startup-script.sh <