You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running make testsuite, the build uses docker containers that mount a host volume. Files written to the volume from within the container are owned by root. Because these files are owned by root, on the host system they cannot be removed by a normal user.
This causes problems for Jenkins when it is configured to clean the workspace prior to executing a job. Jenkins handles the problem by moving the original workspace that cannot be deleted and creates a new one for the build. Over time this fills the disk.
When running
make testsuite
, the build uses docker containers that mount a host volume. Files written to the volume from within the container are owned by root. Because these files are owned by root, on the host system they cannot be removed by a normal user.This causes problems for Jenkins when it is configured to clean the workspace prior to executing a job. Jenkins handles the problem by moving the original workspace that cannot be deleted and creates a new one for the build. Over time this fills the disk.
One solution is to run the processes inside of the docker container using the same UID as the user that started the container. This can be done by building the container and passing in the user's UID using
--build-arg UID=${UID}
. See https://docs.docker.com/engine/reference/commandline/build/#set-build-time-variables-build-argThe text was updated successfully, but these errors were encountered: