You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@archiva.apache.org by ma...@apache.org on 2018/04/03 21:05:43 UTC
archiva git commit: Adding additonal output for troubleshooting on
ci-server
Repository: archiva
Updated Branches:
refs/heads/master ff44bab79 -> 250dcbe19
Adding additonal output for troubleshooting on ci-server
Project: http://git-wip-us.apache.org/repos/asf/archiva/repo
Commit: http://git-wip-us.apache.org/repos/asf/archiva/commit/250dcbe1
Tree: http://git-wip-us.apache.org/repos/asf/archiva/tree/250dcbe1
Diff: http://git-wip-us.apache.org/repos/asf/archiva/diff/250dcbe1
Branch: refs/heads/master
Commit: 250dcbe19a250f814509c8edf30304abea75ce3a
Parents: ff44bab
Author: Martin Stockhammer <ma...@apache.org>
Authored: Tue Apr 3 23:01:40 2018 +0200
Committer: Martin Stockhammer <ma...@apache.org>
Committed: Tue Apr 3 23:05:00 2018 +0200
----------------------------------------------------------------------
src/ci/scripts/container_webtest.sh | 10 ++++++++++
1 file changed, 10 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/archiva/blob/250dcbe1/src/ci/scripts/container_webtest.sh
----------------------------------------------------------------------
diff --git a/src/ci/scripts/container_webtest.sh b/src/ci/scripts/container_webtest.sh
index 90dbc45..eae366e 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