Skip to content

Podman with wait strategy stderr_contains may be stuck indefinitely #40

@wiktor-k

Description

@wiktor-k

Hi,

We're using rustainers to run integration tests and found out that when running it with high concurrency (e.g. tons of tests via cargo nextest run) the stderr_contains wait strategy makes the container start stuck.

A workaround is using different strategy (e.g. HTTPS) - everything is fine then.

I've made a small repo which reproduces the problem for me:

https://github.com/wiktor-k/nextest-integr-test/blob/e7e25370b75f3698dadef9041c60991688dd0365/src/lib.rs#L51-L54

It seems as if there was some kind of race condition when retrieving the logs but I didn't dig deeper.

CC: @dvzrv

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions