Skip to content

Fix conflicted containers in Jenkins tests - #561

Open
oksana-grishchenko wants to merge 3 commits into
mainfrom
fix-conflicted-containers
Open

Fix conflicted containers in Jenkins tests#561
oksana-grishchenko wants to merge 3 commits into
mainfrom
fix-conflicted-containers

Conversation

@oksana-grishchenko

@oksana-grishchenko oksana-grishchenko commented Jul 30, 2026

Copy link
Copy Markdown
Contributor

Problem:

when re-running Jenkins pipeline, a conflict appears in Docker:

14:15:40  Error response from daemon: Conflict. The container name "/version-service" is already in use by container "10205ea7c1f44231eb178a5732cb10a0ca6e7b4a7f57df8add4089aca6b560d6". You have to remove (or rename) that container to be able to reuse that name.

see the run
It blocks the CI, re-run helps only eventually when the other container is gone.

The problem is that we use hardcoded container name which could conflict with a running/orphaned container.

Suggestion:
Do not hardcode the container name and clean up orphaned containers before each run.

@JNKPercona

Copy link
Copy Markdown
Contributor
Test name Status
api-tests passed

@JNKPercona

Copy link
Copy Markdown
Contributor
Test name Status
api-tests passed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants