X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=csit%2Fplans%2Fhealthcheck%2Fsetup.sh;fp=csit%2Fplans%2Fhealthcheck%2Fsetup.sh;h=5e4b7a78d7b84bdcd053a2686798923b6de347be;hb=5a763149e6c57b72a4a59faf3300bb55c7c2279a;hp=327aba217084833117bc5d0effd8ef9a603723ba;hpb=d11b0692ca464fa2060f48d078577e59042e27b1;p=ccsdk%2Fdistribution.git 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