New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
1.7.1: self test failures on NetBSD #6647
Comments
I installed NetBSD 10.0 RC 1 and I cannot reproduce this. Are you running this in a somewhat odd environment where you cannot execute |
I use an unprivileged user in a chroot for building and testing.
Why does it try to set setgid? Is there way to take a look at the final state of the test directory (e.g. owner/group)? Perhaps my unprivileged user is not in the right group to use setgid. |
These particular tests try to emulate
I agree that your constrained environment probably lacks the ability to do this. We could add an environment variable in the tests that will skip these sorts of tests, that you could set. 🤔 |
I'm still a bit confused about the details, since all the files belong to the same user and its main group, and ctest is started by that user. |
OK. It's not too much trouble, really, so let me know if you change your mind. One thing that's difficult, I suspect, for people who build packages for distributions (and perhaps that's what you're doing) is that tests fail because we have a lot that exercise a lot of cases. If I were doing this, I would want 100% tests passing to feel confident about my package but I would also be building in an environment that may artificially limit the ability of tests to run. I want the people building packages to have high confidence in their builds. |
Well, if you're offering and it's easy, then yes, please. Thank you! |
Reproduction steps
Build libgit2-1.7.1 on NetBSD 10.99.10/amd64, run the self tests.
Expected behavior
All tests pass.
Actual behavior
From the logfile:
and
Version of libgit2 (release number or SHA1)
1.7.1
Operating system(s) tested
NetBSD/amd64
The text was updated successfully, but these errors were encountered: