infrastructure icon indicating copy to clipboard operation
infrastructure copied to clipboard

centos7_docker_image_updater failing on RISC-V

Open sxa opened this issue 1 year ago • 2 comments

Ref: https://ci.adoptium.net/job/centos7_docker_image_updater/504/execution/node/89/log/

+ docker build -t adoptopenjdk/ubuntu2004_build_image:linux-riscv64 --build-arg git_sha=2a029fd406c6f35f70c32ef5a814933fa11297ee -f ansible/docker/Dockerfile.Ubuntu2004-riscv64 .
ERROR: permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Get "http://%2Fvar%2Frun%2Fdocker.sock/_ping": dial unix /var/run/docker.sock: connect: permission denied

Runs on docker&&linux&&riscv64 and has selected Scaleway machine 1 for that particular run

sxa avatar May 03 '24 14:05 sxa

I've restarted the jenkins agent on the -1 machine in case it wasn't in the correct docker group before. I've been able to run docker operations from the jenkins user on the command line without issues, so hopefully it will be ok. Looking at -8 it is in a similar situation where running id from the jenkins script console shows that it is NOT in the docker group, but logging into the machine.

All of the others seemed similar - I verified 2 and, 8. On that basis I've restarted the agent on each of the boards 1 through 10

Noting that not all of them enabled the docker group after the restart so potentially additional remediation will be required on the machines.

sxa avatar May 03 '24 14:05 sxa

I've switched docker and dockerBuild for dockerX and dockerBuildX to avoid problems until someone can fix this on the machines.

sxa avatar May 03 '24 14:05 sxa

Memo to self: Retry when the machines are refreshed as a part of https://github.com/adoptium/infrastructure/issues/3719

sxa avatar Dec 16 '24 11:12 sxa

Removing from the current plan on the assumption that this will get resolved as part of the reinstalls in https://github.com/adoptium/infrastructure/issues/3719

sxa avatar Jan 02 '25 10:01 sxa