You are viewing a plain text version of this content. The canonical link for it is here.
Posted to builds@apache.org by Udi Meiri <ud...@apache.org> on 2020/04/15 18:34:04 UTC

Website publishing Jenkins job using Docker issue

Hi builds,

I'm trying to debug a website publishing issue for the Beam project.
We use a ruby:2.5 based docker image to generate the website. Here's a
successful website test job running on one of Beam's own Jenkins machines
(with extra debugging information):
https://builds.apache.org/job/beam_PreCommit_Website_Commit/3575/

The /repo container directory is using a "bind mount" mapped to the git
repo
(/home/jenkins/jenkins-slave/workspace/beam_PreCommit_Website_Commit/src).
On this successful run the ownership is the uid:gid of the host's jenkins
user:

drwxrwxr-x 18 1017 1018 4096 Apr 14 23:54 /repo


I believe this used to also work on "websites" (1-2 months ago), but is no
longer: https://builds.apache.org/job/beam_PostCommit_Website_Test_PR/17/

Specifically, I believe the issue is with the ownership of /repo, which is:

drwxr-xr-x 18 root root 4096 Apr 14 23:54 /repo


I would appreciate any help in this.
Is the Docker configuration on websites more strict? Perhaps a recent
change?
Is it using AppArmor or SELinux, and could that be the issue?

Re: Website publishing Jenkins job using Docker issue

Posted by Chris Lambertus <cm...@apache.org>.
Please see my post to this list from last week regarding this issue and the fix:

https://lists.apache.org/thread.html/r00c669dd82bbde47958e81ecb330116de131d774e2d4df26a06fe92f%40<builds.apache.org> <https://lists.apache.org/thread.html/r00c669dd82bbde47958e81ecb330116de131d774e2d4df26a06fe92f@%3Cbuilds.apache.org%3E>




> On Apr 15, 2020, at 11:34 AM, Udi Meiri <ud...@apache.org> wrote:
> 
> Hi builds,
> 
> I'm trying to debug a website publishing issue for the Beam project.
> We use a ruby:2.5 based docker image to generate the website. Here's a
> successful website test job running on one of Beam's own Jenkins machines
> (with extra debugging information):
> https://builds.apache.org/job/beam_PreCommit_Website_Commit/3575/
> 
> The /repo container directory is using a "bind mount" mapped to the git
> repo
> (/home/jenkins/jenkins-slave/workspace/beam_PreCommit_Website_Commit/src).
> On this successful run the ownership is the uid:gid of the host's jenkins
> user:
> 
> drwxrwxr-x 18 1017 1018 4096 Apr 14 23:54 /repo
> 
> 
> I believe this used to also work on "websites" (1-2 months ago), but is no
> longer: https://builds.apache.org/job/beam_PostCommit_Website_Test_PR/17/
> 
> Specifically, I believe the issue is with the ownership of /repo, which is:
> 
> drwxr-xr-x 18 root root 4096 Apr 14 23:54 /repo
> 
> 
> I would appreciate any help in this.
> Is the Docker configuration on websites more strict? Perhaps a recent
> change?
> Is it using AppArmor or SELinux, and could that be the issue?