Skip to content

concurrent map writes in integration-tests #381

@mzihlmann

Description

@mzihlmann

Actual behavior
We now run all integration tests in parallel, occasionally they crash with a concurrency issue:

https://github.com/osscontainertools/kaniko/actions/runs/19255094029/job/55048032841?pr=372

specifically this access here https://github.com/osscontainertools/kaniko/blob/deprecated-compression/integration/images.go#L427

Expected behavior
maybe mutex lock access or find some other architecture that doesn't require a shared resource between the tests.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions