Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

Docker cache is not being used #11257

Closed
lebeg opened this issue Jun 13, 2018 · 6 comments
Closed

Docker cache is not being used #11257

lebeg opened this issue Jun 13, 2018 · 6 comments

Comments

@lebeg
Copy link
Contributor

lebeg commented Jun 13, 2018

As can be seen for all latest builds: docker cache is not being reused and images are always getting rebuild. This is due to the ccache change #11151

The problem is that due to multiheaded docker build the first build does not get a tag and is considered an intermediate layer.

The --cache-from parameter in build.py restricts the cache only to tagged images and that leads to rebuilds.

@lebeg
Copy link
Contributor Author

lebeg commented Jun 13, 2018

I don't have permissions to add labels, but I believe that this should be tagged with the CI label.

@ThomasDelteil
Copy link
Contributor

https://jenkins.mxnet-ci.amazon-ml.com/blue/organizations/jenkins/incubator-mxnet/detail/PR-11210/8/pipeline something is happening with ccache is it related or a different issue?

@lebeg
Copy link
Contributor Author

lebeg commented Jun 14, 2018

@ThomasDelteil it is indeed related to ccache, but is a different error

@lebeg
Copy link
Contributor Author

lebeg commented Jun 14, 2018

thanks @ThomasDelteil for the link!

@kalyc
Copy link
Contributor

kalyc commented Jun 14, 2018

@sandeep-krishnamurthy could you add label "CI", "Docker" to this?

@lebeg
Copy link
Contributor Author

lebeg commented Jun 19, 2018

The issue should have been fixed by #11302

@lebeg lebeg closed this as completed Jun 19, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants