Skip to content

Error waiting for log message with Docker 20.10.1 #3613

Description

@PandarinDev

Our E2E test suite uses Testcontainers to run our microservices and their dependencies in containers for the duration of our tests. All of the tests were passing until we updated our build nodes to Docker 20.10.1, at which point we started repeatedly getting STDOUT: $Error grabbing logs: unexpected EOF errors, and our Wait.forLogMessage calls started timing out.

Note however, that this issue seems sporadic as about 1 out of 10 builds still passes. After we reverted to Docker 19.03.14 the issue went away. We're using the latest version of Testcontainers (1.15.1 at the time of reporting the issue).

It's unclear to me if this is a Docker/Moby problem or a Testcontainers problem - I figured I'd report it here first to see if anyone else experienced similar issues, as I couldn't find related bug reports on Docker's issue tracker.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions