diff options
Diffstat (limited to 'csit/plans/healthcheck/setup.sh')
-rw-r--r-- | csit/plans/healthcheck/setup.sh | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/csit/plans/healthcheck/setup.sh b/csit/plans/healthcheck/setup.sh index 327aba21..5e4b7a78 100644 --- a/csit/plans/healthcheck/setup.sh +++ b/csit/plans/healthcheck/setup.sh @@ -55,7 +55,7 @@ chmod +x docker-compose # WAIT 5 minutes maximum and check karaf.log for readiness every 10 seconds -TIME_OUT=300 +TIME_OUT=360 INTERVAL=10 TIME=0 while [ "$TIME" -lt "$TIME_OUT" ]; do @@ -74,9 +74,13 @@ done if [ "$TIME" -ge "$TIME_OUT" ]; then echo TIME OUT: karaf session not started in $TIME_OUT seconds, setup failed + echo "karaf.log follows:" + docker exec ccsdk_odlsli_container cat /opt/opendaylight/data/log/karaf.log exit 1; fi +echo "*TRACE* bundle list : $(docker exec -i ccsdk_odlsli_container /opt/opendaylight/current/bin/client bundle:list)" + num_bundles=$(docker exec -i ccsdk_odlsli_container /opt/opendaylight/current/bin/client bundle:list | tail -1 | cut -d' ' -f1) if [ "$num_bundles" -ge 333 ]; then |