-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Regression: #525 causes missing files when caching is enabled in some situations #631
Comments
Removed my former comment, that was a red herring. It's probably not missing cache files. I've just copies the root filesystem from the kaniko container over (using |
It's a complete mystery to me and the best heisenbug I came across. I earlier on added
...and I can't reproduce it anymore. Now all builds of this pass with caching enabled:
|
Removing I'll try to revert the most likely candidates and see if I can get a version off from master without the bug. |
I've just checked out master and reverted 1ffae47, which was added by #525, and built a new image. That fixes the problem. I can now use the cache just fine. To double check, I also built from master with that commit included and it fails, so I can say with high confidence that 1ffae47 is introducing this behavior. |
Closing on merged fix. Reopen if still an issue. |
Actual behavior
First I observed that after enabling caching and building once, subsequent builds appear to miss the files the cached steps should have created. Disabling the cache fixes the problem.
When running the builds with the debug image, I'm see that it uses the cache here as expected:
This should have created files that appears to be missing the the next steps, since they fail with:
The Dockerfile is pretty generic:
Expected behavior
It should just work™️
To Reproduce
Haven't found an good way to reproduce (yet).
Additional Information
The text was updated successfully, but these errors were encountered: