Den tors 30 juni 2022 kl 15:45 skrev Nathan Hartman <
hartman.nat...@gmail.com>:

> Recent breakage in the PO files wasn't detected by the buildbot so I
> went digging.
>
> The buildbot infrastructure changed recently. Builders are now listed at
> [1].
>
> At this time, svn-backport-conflicts-1.10.x and
> svn-backport-conflicts-1.14.x are happy.
>
> But svn-trunk-nightly is broken. All builds show FAILURE, like this:
>
> [[[
> ./nightly.sh -d ../uploads
>  in dir /home/buildslave/slave/svn-trunk-nightly/build (timeout 1200 secs)
>  watching logfiles {}
>  argv: [b'./nightly.sh', b'-d', b'../uploads']
>  environment:
>   HOME=/home/buildslave
>   LANG=en_US.UTF-8
>   LESSCLOSE=/usr/bin/lesspipe %s %s
>   LESSOPEN=| /usr/bin/lesspipe %s
>   LOGNAME=buildslave
>   MAIL=/var/mail/buildslave
>   MANPATH=:/opt/puppetlabs/puppet/share/man
>   OLDPWD=/home/buildslave
>
> PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin
>   PWD=/home/buildslave/slave/svn-trunk-nightly/build
>   SHELL=/bin/bash
>   SHLVL=1
>   TERM=xterm
>   USER=buildslave
>
> VIRTUALENVWRAPPER_SCRIPT=/usr/share/virtualenvwrapper/virtualenvwrapper.sh
>   XDG_DATA_DIRS=/usr/local/share:/usr/share:/var/lib/snapd/desktop
>   _=../slave-install/bin/buildbot-worker
>   _VIRTUALENVWRAPPER_API= mkvirtualenv rmvirtualenv lsvirtualenv
> showvirtualenv workon add2virtualenv cdsitepackages cdvirtualenv
> lssitepackages toggleglobalsitepackages cpvirtualenv
> setvirtualenvproject mkproject cdproject mktmpenv mkvirtualenv
> rmvirtualenv lsvirtualenv showvirtualenv workon add2virtualenv
> cdsitepackages cdvirtualenv lssitepackages toggleglobalsitepackages
> cpvirtualenv setvirtualenvproject mkproject cdproject mktmpenv
>  using PTY: False
> ./nightly.sh: 1: cd: can't cd to ../uploads
> program finished with exit code 2
> elapsedTime=0.004434
> ]]]
>
> The error is in the third-to-last row, "can't cd to ../uploads".
>
> I don't know how to fix this so maybe someone can offer guidance.
>
> Any pointers?
>

Maybe
https://svn.apache.org/repos/infra/infrastructure/buildbot2/projects/subversion.py
(I don't know if this file is in use or if it was migrated to github, Infra
seems to have moved in that direction lately).

Search for ## Nightly Snapshots ##. One of the first steps is to call
nightly.sh with the arguments -d and ../upload. Nightly.sh
(/tools/dist/nightly.sh) in turn tries to do cd $OPTARG when called with
the -d argument.

Maybe the build configuration needs a step to verify that the ../upload
folder actually exists? Maybe it was added manually on the old buildbot
machine and it was never added to the script thus got lost during migration
to the new buildbots?

Kind regards,
/Daniel

Reply via email to