Code Review
/
releng
/
builder.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Remove deprecated bgp "all" feature from bgpclustering carbon jobs
[releng/builder.git]
/
jjb
/
integration
/
include-raw-integration-distribution-check.sh
diff --git
a/jjb/integration/include-raw-integration-distribution-check.sh
b/jjb/integration/include-raw-integration-distribution-check.sh
index f97e76bdebf8427131818e1b539916921b6fc348..b245cac555112d30cb8f4bc012636eb58e5166af 100644
(file)
--- a/
jjb/integration/include-raw-integration-distribution-check.sh
+++ b/
jjb/integration/include-raw-integration-distribution-check.sh
@@
-60,6
+60,9
@@
export KARAF_REDIRECT="${WORKSPACE}/${BUNDLEFOLDER}/data/log/karaf_console.log"
echo "Starting controller..."
${WORKSPACE}/${BUNDLEFOLDER}/bin/start
echo "Starting controller..."
${WORKSPACE}/${BUNDLEFOLDER}/bin/start
+# No need for verbose printing during repeating operations.
+set +x
+
echo "Waiting for controller to come up..."
COUNT=0
while true; do
echo "Waiting for controller to come up..."
COUNT=0
while true; do
@@
-83,9
+86,20
@@
while true; do
done
echo "loading many features at once. Need to allow time for problems to show up in logs. cool down for 5 min ..."
done
echo "loading many features at once. Need to allow time for problems to show up in logs. cool down for 5 min ..."
-sleep 300
+COUNT="300"
+while true; do
+ if (( "${COUNT}" <= "0" )); then
+ break
+ fi
+ echo "${COUNT} seconds yet to wait..."
+ sleep 10
+ COUNT=$(( ${COUNT} - 10 ))
+done
+
+# End of repeating operations, enable verbose printing.
+set -x
-echo "Checking OSGi bundles..."
+
#
echo "Checking OSGi bundles..."
# sshpass seems to fail with new karaf version
# sshpass -p karaf ${WORKSPACE}/${BUNDLEFOLDER}/bin/client -u karaf 'bundle:list'
# sshpass seems to fail with new karaf version
# sshpass -p karaf ${WORKSPACE}/${BUNDLEFOLDER}/bin/client -u karaf 'bundle:list'