SuccessConsole Output

Started by user carignani
Building remotely on Build 3 (selenium docker) in workspace /home/jenkins/workspace/ttcn/titan-docker
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 git@forge.etsi.org:etsi-cti-admin/titan-docker.git # timeout=10
Fetching upstream changes from git@forge.etsi.org:etsi-cti-admin/titan-docker.git
 > git --version # timeout=10
using GIT_SSH to set credentials 
 > git fetch --tags --progress git@forge.etsi.org:etsi-cti-admin/titan-docker.git +refs/heads/*:refs/remotes/origin/*
 > git rev-parse refs/remotes/origin/master^{commit} # timeout=10
 > git rev-parse refs/remotes/origin/origin/master^{commit} # timeout=10
Checking out Revision 94788707b3dd2d0d0ccb0bb5fcac3e58b2d8226c (refs/remotes/origin/master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 94788707b3dd2d0d0ccb0bb5fcac3e58b2d8226c
Commit message: "Reorganize ETSI-CTI TITAN docker"
 > git rev-list --no-walk 94788707b3dd2d0d0ccb0bb5fcac3e58b2d8226c # timeout=10
[titan-docker] $ /bin/bash /tmp/jenkins406612600714895740.sh

#echo "Building titan:binaries"
#cd from-binaries
#docker build --tag titan-bin .

echo "Building titan:binaries"
+ echo 'Building titan:binaries'
Building titan:binaries
cd from-sources
+ cd from-sources
./.jenkins.sh
+ ./.jenkins.sh

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

OLD_PWD=`pwd`
++ pwd
+ OLD_PWD=/home/jenkins/workspace/ttcn/titan-docker/from-sources

./build.sh
+ ./build.sh

#check and build stfubuntu image
DOCKER_ID=`docker ps -a | grep -e stfubuntu | awk '{ print $1 }'`
++ docker ps -a
++ grep -e stfubuntu
++ awk '{ print $1 }'
Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Get http://%2Fvar%2Frun%2Fdocker.sock/v1.39/containers/json?all=1: dial unix /var/run/docker.sock: connect: permission denied
+ DOCKER_ID=
if [ ! -z "${DOCKER_ID}" ]
then
    docker rm --force ${DOCKER_ID}
fi
+ '[' '!' -z '' ']'
DOCKER_IMAGES=`docker images -a -q`
++ docker images -a -q
Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Get http://%2Fvar%2Frun%2Fdocker.sock/v1.39/images/json?all=1: dial unix /var/run/docker.sock: connect: permission denied
+ DOCKER_IMAGES=
if [ ! -z "${DOCKER_IMAGES}" ]
then
    docker rmi ${DOCKER_IMAGES}
fi
+ '[' '!' -z '' ']'
if [ -z `docker images -q stfubuntu` ]; then
  docker build --tag stfubuntu:18.04 -f Dockerfile.stfubuntu --force-rm  . || exit 1
fi
++ docker images -q stfubuntu
Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Get http://%2Fvar%2Frun%2Fdocker.sock/v1.39/images/json?filters=%7B%22reference%22%3A%7B%22stfubuntu%22%3Atrue%7D%7D: dial unix /var/run/docker.sock: connect: permission denied
+ '[' -z ']'
+ docker build --tag stfubuntu:18.04 -f Dockerfile.stfubuntu --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.39/build?buildargs=%7B%7D&cachefrom=%5B%5D&cgroupparent=&cpuperiod=0&cpuquota=0&cpusetcpus=&cpusetmems=&cpushares=0&dockerfile=Dockerfile.stfubuntu&forcerm=1&labels=%7B%7D&memory=0&memswap=0&networkmode=default&rm=1&session=wzaq4ao9ybrw6vk0x2bgrxc37&shmsize=0&t=stfubuntu%3A18.04&target=&ulimits=null&version=1: dial unix /var/run/docker.sock: connect: permission denied
+ exit 1
./run.sh
+ ./run.sh

docker run -it -e DISPLAY=$DISPLAY -v /tmp/.X11-unix:/tmp/.X11-unix --cap-add=NET_RAW --cap-add=NET_ADMIN --rm stftitan:latest /bin/bash -c "cd /home/etsi"
+ docker run -it -e DISPLAY= -v /tmp/.X11-unix:/tmp/.X11-unix --cap-add=NET_RAW --cap-add=NET_ADMIN --rm stftitan:latest /bin/bash -c 'cd /home/etsi'
the input device is not a TTY

cd ${OLD_PWD}
+ cd /home/jenkins/workspace/ttcn/titan-docker/from-sources

# That's all Floks
exit 0
+ exit 0

cd -
+ cd -
/home/jenkins/workspace/ttcn/titan-docker

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