Skip to content
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

Buildkite: protect stack build dependencies from GC during build #831

Merged
merged 1 commit into from
Oct 16, 2019

Conversation

rvl
Copy link
Contributor

@rvl rvl commented Oct 15, 2019

Overview

Fixes a build issue where the Nix garbage collector runs while a stack build is in progress.

Example failure: https://buildkite.com/input-output-hk/cardano-wallet/builds/2752#9e69eaae-88d9-4277-a005-04c2fe742074

stack --color always test --coverage --skip http-bridge-integration --fast --skip integration --ta '--skip SERIAL'
--
  | waiting for the big garbage collector lock...
  | error: getting status of '/nix/store/56c76cz5dhg7zj028pjj8zkb899zlfwb-source/pkgs/build-support/cc-wrapper': No such file or directory
  | (use '--show-trace' to show detailed location information)
  | error: Command exited with code 1!

@rvl rvl requested a review from a team October 15, 2019 23:11
@rvl rvl self-assigned this Oct 15, 2019
@rvl rvl mentioned this pull request Oct 15, 2019
1 task
Copy link
Member

@KtorZ KtorZ left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

bors r+

iohk-bors bot added a commit that referenced this pull request Oct 16, 2019
831: Buildkite: protect stack build dependencies from GC during build r=KtorZ a=rvl

# Overview

Fixes a build issue where the Nix garbage collector runs while a stack build is in progress.

Example failure: https://buildkite.com/input-output-hk/cardano-wallet/builds/2752#9e69eaae-88d9-4277-a005-04c2fe742074

```
stack --color always test --coverage --skip http-bridge-integration --fast --skip integration --ta '--skip SERIAL'
--
  | waiting for the big garbage collector lock...
  | error: getting status of '/nix/store/56c76cz5dhg7zj028pjj8zkb899zlfwb-source/pkgs/build-support/cc-wrapper': No such file or directory
  | (use '--show-trace' to show detailed location information)
  | error: Command exited with code 1!
```

Co-authored-by: Rodney Lorrimar <[email protected]>
@iohk-bors
Copy link
Contributor

iohk-bors bot commented Oct 16, 2019

Build succeeded

@iohk-bors iohk-bors bot merged commit 07c2110 into master Oct 16, 2019
@rvl rvl deleted the rvl/stack-build-gc branch October 16, 2019 01:47
@KtorZ KtorZ added this to the Usability & Compatibility milestone Oct 17, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants