fetching from ostree repos sometimes fails with a gpg error
Summary
fetching from ostree repos sometimes fails with a gpg error (Too many open files)
Steps to reproduce
I have been unable to reproduce this locally, but it happens consistently in the gitlab CI of gnome-build-meta when trying to fetch dependencies/base-sdk-images.bst
from the bootstrap project of freedesktop-sdk. (despite my attempts to upgrade gnupg/gpgme).
What is the current bug behavior?
the fetch fails with the following error: "GPG: Unable to complete signature verification: GPGME: Too many open files"
What is the expected correct behavior?
the fetch succeeds
Relevant logs and/or screenshots
https://gitlab.gnome.org/GNOME/gnome-build-meta/-/jobs/72861
https://gitlab.gnome.org/GNOME/gnome-build-meta/-/jobs/72764
https://gitlab.gnome.org/GNOME/gnome-build-meta/-/jobs/72101
https://gitlab.gnome.org/GNOME/gnome-build-meta/-/jobs/72084
Possible fixes
No idea.
Other relevant information
A workaround for this is to bst fetch
a small number of elements (including the ostree repo) before running the full pipeline.
- BuildStream version affected: 1.1.4 /milestone %BuildStream_v1.2