On Sun, 30 Apr 2023 at 14:02, Roy Lenferink <rlenfer...@apache.org> wrote:
>
> It seems to only fail on the 'websites2' node. Other builds that are 
> scheduled on e.g. 'websites1'
> or 'jenkins-websites-ec2-or' don't seem to have that problem.

Wel spotted.

> Having had a quick look at the build output, it fails to write to the 
> /tmp/hugo_cache directory.
> Maybe the permissions of that directory between websites2 and the other nodes 
> are different?
> It seems other people have the same problem: 
> https://github.com/gohugoio/hugo/issues/7391
>
> After reading that I noticed that there is a --cacheDir argument which can be 
> used to specify
> another cache directory:
>
> --cacheDir string    filesystem path to cache directory. Defaults: 
> $TMPDIR/hugo_cache/
>
> Maybe we need to start using this option (mktemp -d at the start, cleanup in 
> post), because I can
> only assume if there are two concurrent builds on the same node that this 
> will result in some
> problems.

Just tried this in preview/test3 and it worked fine.

> On 2023/04/30 10:45:58 sebb wrote:
> > Not quite sure why this failed to create the directory. Perhaps there
> > was a concurrent run?
> > Anyway, I re-ran the job and it worked
> >
> > On Sun, 30 Apr 2023 at 11:44, Jenkins <jenk...@ci-builds.apache.org> wrote:
> > >
> > > There is a build failure in Community Development/site/main.
> > >
> > > Build: 
> > > https://ci-builds.apache.org/job/Community%20Development/job/site/job/main/41/
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: dev-unsubscr...@community.apache.org
> > > For additional commands, e-mail: dev-h...@community.apache.org
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: dev-unsubscr...@community.apache.org
> > For additional commands, e-mail: dev-h...@community.apache.org
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscr...@community.apache.org
> For additional commands, e-mail: dev-h...@community.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@community.apache.org
For additional commands, e-mail: dev-h...@community.apache.org

Reply via email to