Skip to content

Intermittently Using Wrong Version #110

@charlieoleary

Description

@charlieoleary

Hi,

Since we changed our Docker repository tags to be immutable I've noticed that intermittently Concourse / the semver resource will use the incorrect version between jobs in the pipeline. This ultimately leads to the build failing due to the tag being immutable. Here are some examples --

bump-version job starts and finishes successfully --

image

When we look at the job that includes the get for the version and the Docker build, we see that it's reusing the previous version --

image

Finally, when we look at the output itself, we see that the previous version (-rc.13) belongs to TWO builds, while (-rc.14) has no builds.

image

#16239 is using the duplicate tag.

Any idea what the root cause could be here? Most builds finish without an issue, but we will have some that end up with this version collision and are (correctly) blocked from overwriting the tag.

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