Description of problem: Building remotely on builder0.int.rht.gluster.org (rpm7) in workspace /home/jenkins/workspace/devrpm-fedora Wiping out workspace first. java.nio.file.AccessDeniedException: /home/jenkins/workspace/devrpm-fedora/RPMS/fc25/x86_64/root.log And the smoke test is marked with a failure. Examples: - https://build.gluster.org/job/devrpm-fedora/5789/console - https://build.gluster.org/job/devrpm-el6/5754/ Both builders have been disabled until this is resolved. 13:03 < ndevos> nigelb, misc: builder0.int.rht.gluster.org seems to have a weird failure - https://build.gluster.org/job/devrpm-fedora/5786/console 13:04 < ndevos> oh, and builder1 has that as well - https://build.gluster.org/job/devrpm-el6/5751/console 13:44 < misc> ndevos: looking 13:44 < misc> mhh 13:44 < misc> ndevos: can you log it as a bugzilla ticket, seems to be a bit more complicated than a quick fix :/
Ok so it seems that mock is using root: $ ls -ld /home/jenkins/workspace/devrpm-fedora/RPMS/ drwxrwxr-x. 3 root root 4096 4 sept. 08:51 /home/jenkins/workspace/devrpm-fedora/RPMS/ I guess that's related to: https://github.com/gluster/gluster.org_ansible_configuration/pull/13#discussion_r136525704 I am cherrypicking the fix
So looking at it, it seems that if jenkins can't write to the workspace directory found, it then go to its home. Then it create the workspace and then fail with mock. I am reenabling the builder on ansible fixed it, please redisable and complete that bug report if it still fail.