Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow CI to force clear previously running resources if required #182

Merged
merged 2 commits into from
Aug 7, 2024

Conversation

KShivendu
Copy link
Member

@KShivendu KShivendu commented Aug 7, 2024

CI benches were failing. I found the following errors from the logs:

Error response from daemon: conflict: unable to remove repository reference "docker.io/qdrant/qdrant:master" (must force) - container 40054a4e5693 is using its referenced image 3d4537be4e7c

Error response from daemon: Conflict. The container name "/qdrant-continuous" is already in use by container "40054a4e5693eda6b6597fc6f247ad365c5be985a7d545e3084c34b994ebac68". You have to remove (or rename) that container to be able to reuse that name.

Also, on sshing into the machine I found that sometimes 2 vector-db-benchmark containers are running if the 1st workflow is cancelled. This isn't ideal for perf benchmarking and should be avoided.

So we should clear existing resources before running CI workflow.

@KShivendu
Copy link
Member Author

It fixed the CI. The latest run with this branch was successful

@KShivendu KShivendu merged commit a4ffca4 into master Aug 7, 2024
2 of 3 checks passed
@KShivendu KShivendu deleted the ci-clear-resources branch August 7, 2024 17:28
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.

2 participants