fixing test build failure

2 jobs from docker_setup in 3 minutes and 22 seconds (queued for 2 seconds)
Status Job ID Name Coverage
  Build
passed #3553
maven-build

00:01:24

 
  Docker
failed #3554
docker-build

00:01:57

 
Name Stage Failure
failed
docker-build Docker
AppArmor detection and --privileged mode might break.
mount: permission denied
ln: failed to create symbolic link '/sys/fs/cgroup/systemd/name=systemd': Read-only file system
Timed out trying to connect to internal docker host.
$ docker login -u gitlab-ci-token -p $CI_JOB_TOKEN $CI_REGISTRY
Warning: failed to get default registry endpoint from daemon (Cannot connect to the Docker daemon. Is the docker daemon running on this host?). Using system default: https://index.docker.io/v1/
Cannot connect to the Docker daemon. Is the docker daemon running on this host?
Cleaning up file based variables
ERROR: Job failed: exit code 1