Skip to content

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

Open
@gdeest

Description

@gdeest

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    ciCI issues/patches

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions