-
Notifications
You must be signed in to change notification settings - Fork 205
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
Disable http2 with Nix to work around segfaults #4427
Conversation
CHANGELOG_BEGIN CHANGELOG_END
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does that mean we should be able to remove all the while loops to retry nix-build -A tools -A cached nix
?
Looking at that code these loops are working around occasional download issues
So, unrelated. |
You probably want to update https://github.com/digital-asset/daml/blob/master/ci/dev-env-install.sh#L26 |
Thanks, good point! Using a fresh Docker container with Ubuntu 19.10 and Nix 2.3.2 I was able to reliably reproduce the segfaults on master in both the dev-env setup and Bazel rules_nixpkgs fetches. Adding |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, let’s see how this goes 👍
On CI and locally we observe occasional segmantation faults of nix. A known issue since Nix 2.2.2 is that HTTP2 support can cause such segmentation faults. Since Nix 2.3.2 it is possible to disable HTTP2 via a command-line flag, which reportedly solves the issue. See NixOS/nix#2733 (comment)
Pull Request Checklist
CHANGELOG_BEGIN
andCHANGELOG_END
tagsNOTE: CI is not automatically run on non-members pull-requests for security
reasons. The reviewer will have to comment with
/AzurePipelines run
totrigger the build.