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

[CI] Docker prunes may clash #1599

Open
krisgesling opened this issue Nov 2, 2021 · 0 comments
Open

[CI] Docker prunes may clash #1599

krisgesling opened this issue Nov 2, 2021 · 0 comments

Comments

@krisgesling
Copy link
Contributor

Describe the bug
If two jenkins jobs attempt to prune docker images at the same time an error will be thrown and one job will appear to fail.

To Reproduce
Steps to reproduce the behavior:

  1. Process a large batch of Skills simultaneously and you might hit it.
  2. Success message posted to PR, but the job fails with the following error
+ docker image prune --all --force --filter label=build=mycroft-skills/PR-1584
Error response from daemon: a prune operation is already running

Possible options
Either add a new global lock so only 1 job can prune at a time.
Or allow failure of pruning to complete without failing the job?

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

No branches or pull requests

1 participant