Console Output
Started by GitLab push by Denis Filatov
Building remotely on Build 3 (selenium docker) in workspace /home/jenkins/workspace/Intelligent Transport Systems/STF525_Auto_Interop
> 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 836125d6a9e10f0b5c6b0678e479de806a06b5a8 (refs/remotes/origin/STF525)
> git config core.sparsecheckout # timeout=10
> git checkout -f 836125d6a9e10f0b5c6b0678e479de806a06b5a8
Commit message: "Merge branch 'STF525' of https://forge.etsi.org/gitlab/ITS/ITS into STF525"
> git rev-list 17ac6b85bb628ad895d77c1314da6d5825201b2a # timeout=10
[STF525_Auto_Interop] $ /bin/bash /tmp/jenkins5747100741618292536.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=swccrgyb0ibpxg4cztay22vhb&shmsize=0&t=stf525_its&target=&ulimits=null&version=1: 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