haskell-servant / haskell-servant/servant

Occasional `openBinaryFile: resource busy (file is locked)` on CI

Open
#1,464 0 comments 1 reaction 0 assignees View on GitHub
ci
Dominant language
Haskell
Stars
2k
Forks
427
Avg merge
2d 23h
Merged PRs (30d)
5

Description

We sometimes run into what seems to be a race condition when using stack on CI:

```
[…]
servant > Finished in 0.0234 seconds
servant > 45 examples, 0 failures
servant > Test suite spec passed
Completed 10 action(s).
/tmp/stack-aee3dab89ea90a5d/test-ghc-env: openBinaryFile: resource busy (file is locked)
/tmp/stack-aee3dab89ea90a5d/test-ghc-env: openBinaryFile: resource busy (file is locked)
[…]
```

The strange part is that it seems to occur _after_ running tests. This is relatively infrequent not to be a big problem¸but deserves investigation nonetheless.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.