From 250dcbe19a250f814509c8edf30304abea75ce3a Mon Sep 17 00:00:00 2001 From: Martin Stockhammer Date: Tue, 3 Apr 2018 23:01:40 +0200 Subject: [PATCH] Adding additonal output for troubleshooting on ci-server --- src/ci/scripts/container_webtest.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) 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 -- 2.39.5