Flathub buildbot error with shared-modules

The latest test build in this PR triggered an error that I cannot understand, as the log seems quite terse:

git version 2.28.0
program finished with exit code 0
stat: No such file or directory: /srv/buildbot-master/master/workers/MasterWorker5/Builds/build/.buildbot-patchedprogram finished with exit code 2
program finished with exit code 0
git fetch -t https://github.com/flathub/flathub refs/pull/1277/head --progress
 in dir /srv/buildbot-master/master/workers/MasterWorker5/Builds/build (timeout 1200 secs)
 watching logfiles {}
 argv: [b'git', b'fetch', b'-t', b'https://github.com/flathub/flathub', b'refs/pull/1277/head', b'--progress']
 using PTY: False
remote: Enumerating objects: 20, done.        
remote: Total 20 (delta 0), reused 0 (delta 0), pack-reused 20        
From https://github.com/flathub/flathub
 * branch              refs/pull/1277/head -> FETCH_HEAD
fatal: exec 'rev-list': cd to 'shared-modules' failed: No such file or directory
Fetching submodule shared-modules
fatal: cannot chdir to '../../../shared-modules': No such file or directory
Errors during submodule fetch:
program finished with exit code 1

Here’s my (poor) understanding:

  • git rev-list is failing because is executed before downloading the submodules?
  • shared-modules submodule cannot be fetched… the chdir '../../../shared-modules' sounds strange. Why moving three directories back?

If that helps, the failure is actually different now: https://flathub.org/builds/#/builders/27/builds/25924

Yes, I see so I guess it was just a temporary error

I did comment about that new failure. I got hit with a similar one updating a package.