SuccessConsole Output

Started by GitLab push by Yann Garcia
Building remotely on Build 3 (selenium docker) in workspace /home/jenkins/workspace/Intelligent Transport Systems/STF525_Auto_Interop
using credential f9a9fd70-ea8b-4872-a9d5-d1fb1cf8123e
 > git rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
 > git config remote.origin.url https://forge.etsi.org/gitlab/ITS/ITS.git # timeout=10
Fetching upstream changes from https://forge.etsi.org/gitlab/ITS/ITS.git
 > git --version # timeout=10
using GIT_SSH to set credentials 
 > git fetch --tags --progress https://forge.etsi.org/gitlab/ITS/ITS.git +refs/heads/*:refs/remotes/origin/*
skipping resolution of commit remotes/origin/STF525, since it originates from another repository
 > git rev-parse refs/remotes/origin/STF525^{commit} # timeout=10
 > git rev-parse refs/remotes/origin/origin/STF525^{commit} # timeout=10
Checking out Revision da6059cef73965801664efa5bcc8df3c2e17de9a (refs/remotes/origin/STF525)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f da6059cef73965801664efa5bcc8df3c2e17de9a
Commit message: "Update README.md"
 > git rev-list --no-walk ff8b24e31179adc982a5efca89e9ab7384655090 # timeout=10
[STF525_Auto_Interop] $ /bin/bash /tmp/jenkins2563458481142352117.sh
#set -e

cd $(dirname $0)
++ dirname .jenkins.sh
+ cd .

run_dir=`pwd`
++ pwd
+ run_dir='/home/jenkins/workspace/Intelligent Transport Systems/STF525_Auto_Interop'

# Docker version 2
#cd docker/v2
#./build.sh
#./run.sh

# Docker version 1
cd docker
+ cd docker
./build-container.sh
+ ./build-container.sh

DOCKER_FILE=./Dockerfile
+ DOCKER_FILE=./Dockerfile
if [ -f ${DOCKER_FILE} ]
then
    docker build --tag stf525_its --force-rm .
    if [ "$?" != "0" ]
    then
        echo "Docker build failed: $?"
        exit -1
    fi
    docker image ls -a
    docker inspect stf525_its:latest
    if [ "$?" != "0" ]
    then
        echo "Docker inspect failed: $?"
        exit -1
    fi
else
    exit -2
fi
+ '[' -f ./Dockerfile ']'
+ docker build --tag stf525_its --force-rm .
Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Post http://%2Fvar%2Frun%2Fdocker.sock/v1.38/build?buildargs=%7B%7D&cachefrom=%5B%5D&cgroupparent=&cpuperiod=0&cpuquota=0&cpusetcpus=&cpusetmems=&cpushares=0&dockerfile=Dockerfile&forcerm=1&labels=%7B%7D&memory=0&memswap=0&networkmode=default&rm=1&session=rt9r3ec9e93dkif502pib0a40&shmsize=0&t=stf525_its&target=&ulimits=null&version=1: dial unix /var/run/docker.sock: connect: permission denied
time="2019-05-29T10:05:23+02:00" level=error msg="failed to dial gRPC: cannot connect to the Docker daemon. Is 'docker daemon' running on this host?: dial unix /var/run/docker.sock: connect: permission denied"
./run-container.sh $run_dir
+ ./run-container.sh /home/jenkins/workspace/Intelligent Transport Systems/STF525_Auto_Interop

docker run -i --rm stf525_its:latest /bin/bash -c "cd /home/etsi/dev/etsi_its/src/TestCodec/objs && ../bin/run_all.bash"
+ docker run -i --rm stf525_its:latest /bin/bash -c 'cd /home/etsi/dev/etsi_its/src/TestCodec/objs && ../bin/run_all.bash'
docker: Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Post http://%2Fvar%2Frun%2Fdocker.sock/v1.38/containers/create: dial unix /var/run/docker.sock: connect: permission denied.
See 'docker run --help'.

# That's all Floks
exit 0
+ exit 0
Finished: SUCCESS