You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It should be that CacheKey can return digest directly if user set one manually (pin), or data can be pulled and digest calculated or digest from previously downloaded ref can be reused if the etag confirms that it has not changed since the last pull. In the latter two cases the data is already pulled and should be accessed by refID. If hs.cacheKey is empty that should mean that it expected early return in L424.
Buildkit version: v0.12.3
From a Dockerfile with:
Occasionally we see build failures that look like this:
The failures are intermittent, but I'm not sure if that's because we round robin between 4 build nodes, or if there is some other problem.
The relevant code seems to be:
buildkit/source/http/source.go
Lines 449 to 451 in 4d9a4e5
I notice that
hs.cacheKey
is an empty string, which seems strange. I guess it's expected thaths.cacheKey
has a non-zero value here?Anything else I can provide to help debug this problem?
The text was updated successfully, but these errors were encountered: