Open nanonyme opened 3 months ago
Please post the freedesktop-sdk commit to reproduce this. It would help fix it.
You don't have to use the custom config template to reproduce. It's enough to use BuildStream 2.2.0 and that commit.
This is indeed weird. I can't reproduce it using my host install of buildstream (installed using pipx). However, using the CI container used in that commit I can reproduce it.
The error itself looks like we're leaking a YAMLLoadError
which should be caught within the _yaml
module. Reading the code, I suspect it's a typo here https://github.com/apache/buildstream/blob/c7274d41d0d0af87cc2081d67589841e8e16b592/src/buildstream/_yaml.pyx#L287, where should be YAMLLoadError
instead of LoadError
.
Is there a difference in ruamel.yaml or ruamel.yaml.clib versions?
Yes, indeed. On my system I have
ruamel.yaml 0.17.21
ruamel.yaml.clib 0.2.7
In the container
ruamel.yaml 0.18.6
ruamel.yaml.clib 0.2.8
However, upgrading to the same version on my system I keep getting the same behaviour (a proper FAILURE, not a BUG with a hang).
This is so odd. While there may be a difference in Cython used to buils this extension, I don't expect it to affect quite that.
Noticed with BuildStream 2.2.0
BuildStream doesn't correctly handle the raised exception but instead hits BUG and promptly hangs after this.