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

solver: gracefully handle cache loading errors #1498

Merged
merged 1 commit into from
May 19, 2020

Conversation

tonistiigi
Copy link
Member

fix #1468

Signed-off-by: Tonis Tiigi tonistiigi@gmail.com

Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
@tonistiigi
Copy link
Member Author

@AkihiroSuda v0.7?

@ebeuker
Copy link

ebeuker commented Jun 20, 2020

i am also having the same issue in an azure devops pipeline.. however i am using a custom build of buildctl that contains the pr solver: gracefully handle cache loading errors #1498. My buildctl is based on commit 929fff0

my pipeline is inspired by this setup: https://dev.azure.com/codesharing-SU0/cachesandbox/_git/Scripts?path=%2Fdocker.yml&version=GBmaster

i extended it to do a second build to execute the unit tests:
sudo buildctl build --frontend=dockerfile.v0 --local context=./src/ --local dockerfile=. --import-cache type=local,src=$(BUILD_KIT_CACHE) --opt target=test-results --output type=local,dest=$(System.DefaultWorkingDirectory)/out

this build fails about 60% of the time

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.

cache loading data race with gc
3 participants