diff options
author | Martin Stockhammer <martin_s@apache.org> | 2018-04-03 23:01:40 +0200 |
---|---|---|
committer | Martin Stockhammer <martin_s@apache.org> | 2018-04-03 23:05:00 +0200 |
commit | 250dcbe19a250f814509c8edf30304abea75ce3a (patch) | |
tree | 87ff967b8828e99c125284ee6994cd603a91225f /src | |
parent | ff44bab792386b02b372fd6612d6c95a1a74cac8 (diff) | |
download | archiva-250dcbe19a250f814509c8edf30304abea75ce3a.tar.gz archiva-250dcbe19a250f814509c8edf30304abea75ce3a.zip |
Adding additonal output for troubleshooting on ci-server
Diffstat (limited to 'src')
-rwxr-xr-x | src/ci/scripts/container_webtest.sh | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/ci/scripts/container_webtest.sh b/src/ci/scripts/container_webtest.sh index 90dbc45be..eae366e50 100755 --- a/src/ci/scripts/container_webtest.sh +++ b/src/ci/scripts/container_webtest.sh @@ -70,6 +70,11 @@ function print_usage() { echo "Starts or stops the container. Builds the images if necessary" } +echo "Date: $(date)" +docker ps +echo "netstat" +netstat -anp |grep 4444 + if [ "${START_ARG}" == "start" ]; then IMG=`docker images -q ${TAG}` # Build the image, if it does not exist @@ -104,6 +109,11 @@ if [ "${START_ARG}" == "start" ]; then RES=$? done docker logs "${INSTANCE_NAME}" + echo "netstat: " + netstat -anp |grep 4444 + echo "Trying curl on Webdriver port: " + curl "http://localhost:4444/wd/hub" + echo "Result: "$? elif [ "${START_ARG}" == "stop" ]; then docker logs "${INSTANCE_NAME}" stop_instance |