-
-
Notifications
You must be signed in to change notification settings - Fork 14.4k
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
nixosTests.pt2-clone and others hang #144613
Comments
|
I've skipped a few steps here. The reason to do so is we can force the shutdown in-band, without risking the loss of buffered data. Or we could just use this of course https://docs.microsoft.com/en-us/windows/win32/api/namedpipeapi/nf-namedpipeapi-disconnectnamedpipe |
We surely don't want to shut down the pipe since it's a socket that connects us to the backdoor service or am I misunderstanding your point here? |
Turns out tests still hang sometimes so my fix didn't really fix the root issue. We can probably just revert it and live with the pain of hanging tests |
UPDATE: I'm not a fan of the solution I describe here.
Yeah we only want to terminate the command. I wasn't clear about which pipe.
That's not something we can do with a normal unix fifo, as far as I'm aware.
except this can throw away unbuffered data when
Excuse my pseudocode.
|
I think we should just wait for stdout. It's a sensible thing to do. See #144679 |
…t-wait-stdout nixosTest: document wait for stdout behavior, fix #144613
Sensible but not great. See #144875 |
Describe the bug
pt2-clone.tests
/nixosTests.pt2-clone
,nixosTests.ft2-clone
,nixosTests.shattered-pixel-dungeon
,nixosTests.xterm
(and probably others) hangs:Full log: pt2-clone.tests.txt
Steps To Reproduce
nix-build -A pt2-clone.tests
Expected behavior
Additional context
I ran a bisect and it looks like 1640359 (PR #142747) is the cause
Notify maintainers
Author of the above commit: @dasJ
Metadata
Please run
nix-shell -p nix-info --run "nix-info -m"
and paste the result.Maintainer information:
The text was updated successfully, but these errors were encountered: