-
-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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
Multiple packages fail to build due to tests using locks #28974
Comments
Can confirm this issue on NixOS. Albeit I only ever have encountered this issue on one specific system and was unable to reproduce it when I wanted to. |
I can reproduce it reliably. |
Do you have lots of cores? https://debbugs.gnu.org/cgi/bugreport.cgi?bug=26441 |
8 cores only, but might be related if there's some sort of race condition in the test that can deadlock. |
I have had the same problem on my NUMA 32core machine, that test is a mess. More recent thread, summary of some problems: https://lists.gnu.org/archive/html/bug-gnulib/2017-01/msg00009.html Commit history shows various problems and attempts to fix them through early 2017: I'm not sure if it helps, but I /seem/ to recall that the CentOS kernel also has some bug that causes this or perhaps makes it worse. Unfortunately I'm not finding information on that but that's what my memory says so thought I'd share O:). |
Well, if they're flaky, we can disable them for now, in all packages where they are. Any better suggestions? (It would be a stdenv rebuild.) |
(triage) I've run three times |
I'm having troubles reproducing it too. Both libidn and libunistring now pass. Leaving the final decision to the higher ups. |
Issue description
libidn
includes a test:test-lock
that never finishes.libunistring
includes a similar testlt-test-lock
that behaves the same.If a maximum build time is enforced or if these tests are killed manually, installation errors due to a test-suite failure.
This happens on a CentOS system running nix on a custom root (
/share/nix
) directory.Compilation happens on
/dev/shm
while/share/nix
lives in an NFS based filesystem.Installation is performed by nix-daemon. The entire setup has no root access.
Some output from nix-env:
Steps to reproduce
Build any package that depends on libidn
Technical details
The text was updated successfully, but these errors were encountered: