-
Notifications
You must be signed in to change notification settings - Fork 93
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
tls-2.0.1
non-deterministic test failures in GitHub Actions, with Nix
#470
Comments
Does only "handshake can handshake with TLS 1.3 0RTT" fail? |
This also fails
Apparently there are more failures, but they are hidden:
I could probably make the GitHub Action print the entire log, if necessary. |
I guess that a client gives up receiving session data from a server. |
That's a good idea. I need some time to make the change in It may be faster and simpler if I can reproduce the issue here: #469 Will continue working on that. This is interesting.
That build succeeds. However,
There may be more than one issue with the Edit: I don't think the |
This is a niche issue involving the
tls
library, a Nix Flake, and GitHub Actions. I can only reproduce the issue in one project (hackage-server
).I have a Nix Flake which uses
tls-2.0.1
: https://github.com/haskell/hackage-server/pull/1305/files#diff-206b9ce276ab5971a2489d75eb1b12999d4bf3843b7988cbe8d687cfde61dea0R28-R29When run by the Nix Flake in GitHub Actions, the test suite of
tls-2.0.1
produces non-deterministic failures: https://github.com/haskell/hackage-server/actions/runs/8406893197/job/23021268896#step:5:1135When run by the Nix Flake on my own Linux box, the test suite of
tls-2.0.1
succeeds. This can be verified by checking out this branch https://github.com/peterbecich/hackage-server/tree/fix-flake and runningnix build
; I expect it will succeed on anyone's Mac or Linux box.I have attempted and failed to reproduce the issue by creating a new Nix Flake specifically for the
tls
library: #469It runs the same tests in GitHub Actions. However, it succeeds: https://github.com/peterbecich/hs-tls/actions/runs/8412270415/job/23032912211
Furthermore, the issue does not occur when testing
tls
in a plain GitHub Action without the Nix Flake.There must be some difference between the GitHub Action Runner and my Linux box, which causes the Flake to behave differently. Do you have any ideas? Thank you
The text was updated successfully, but these errors were encountered: