Skip to content

cache loading data race with gc #1468

Closed

Description

We've seen the following error intermittently and recently enabled buildkit debug output to learn more.

It appears that the cache is garbage collected before the build is run.

Our build fails as follows:

time="2020-04-29T17:40:27Z" level=debug msg="serving grpc connection"
#2 [internal] load build definition from docker/Dockerfile.update-gitops-re...
#2 transferring dockerfile: 650B done
#2 DONE 0.0s

#1 [internal] load .dockerignore
#1 transferring context: 119B done
#1 DONE 0.0s

#4 [internal] load metadata for docker.io/library/golang:1.13-stretch
#4 DONE 1.4s

#3 [internal] load metadata for docker.io/library/debian:stretch
time="2020-04-29T17:40:30Z" level=debug msg="Skipping excluded path: .git"
#3 DONE 2.4s

#7 [builder 1/5] FROM docker.io/library/golang:1.13-stretch@sha256:78fee61a...
#7 resolve docker.io/library/golang:1.13-stretch@sha256:78fee61a1c3a15d3f2f8e172c6737a076c4877bd7fb6b43caf1a20b148cd5c42 done
#7 DONE 0.0s

#5 [stage-1 1/4] FROM docker.io/library/debian:stretch@sha256:666ffd4fbcdff...
#5 resolve docker.io/library/debian:stretch@sha256:666ffd4fbcdff07edcbd65f0ec1dc86ed294f5e3be93eb26280575f77427df46 done
#5 DONE 0.0s

#9 [internal] load build context
#9 transferring context: 2.43MB 0.1s done
#9 DONE 0.2s

#8 [builder 2/5] WORKDIR /work
#8 CACHED

#10 [builder 3/5] ADD . /work
#10 CACHED

#11 [builder 4/5] RUN apt-get update -y &&     apt-get install -y curl git b...
#11 CACHED

#12 [builder 5/5] RUN GO111MODULE=on go build -o ./update-gitops-repo ./cmd/...
#12 2.579 go: downloading github.com/sirupsen/logrus v1.4.2
#12 2.584 go: downloading github.com/gobwas/glob v0.2.3
#12 2.586 go: downloading github.com/alessio/shellescape v0.0.0-20190409004728-b115ca0f9053
#12 2.602 go: downloading github.com/tektoncd/pipeline v0.11.1
#12 2.611 go: downloading k8s.io/apimachinery v0.16.5
#12 2.611 go: extracting github.com/sirupsen/logrus v1.4.2
#12 2.612 go: extracting github.com/alessio/shellescape v0.0.0-20190409004728-b115ca0f9053
#12 2.616 go: extracting github.com/gobwas/glob v0.2.3
#12 2.616 go: downloading github.com/Masterminds/semver v1.5.0
#12 2.625 go: downloading github.com/chhsia0/go-scm v1.6.1-0.20200415001307-0e8394215a5e
#12 2.635 go: downloading github.com/gregjones/httpcache v0.0.0-20180305231024-9cad4c3443a7
#12 2.640 go: extracting github.com/Masterminds/semver v1.5.0
#12 2.657 go: extracting github.com/gregjones/httpcache v0.0.0-20180305231024-9cad4c3443a7
#12 2.774 go: extracting k8s.io/apimachinery v0.16.5
#12 2.812 go: extracting github.com/chhsia0/go-scm v1.6.1-0.20200415001307-0e8394215a5e
#12 2.817 go: extracting github.com/tektoncd/pipeline v0.11.1
#12 2.902 go: downloading golang.org/x/sys v0.0.0-20200212091648-12a6c2dcc1e4
#12 2.984 go: downloading github.com/pkg/errors v0.9.1
#12 2.997 go: downloading github.com/google/uuid v1.1.1
#12 3.011 go: extracting github.com/pkg/errors v0.9.1
#12 3.021 go: extracting github.com/google/uuid v1.1.1
#12 3.031 go: downloading github.com/google/go-containerregistry v0.0.0-20200115214256-379933c9c22b
#12 3.032 go: downloading k8s.io/api v0.16.5
#12 3.032 go: downloading go.uber.org/zap v1.13.0
#12 3.033 go: downloading github.com/mitchellh/go-homedir v1.1.0
#12 3.036 go: downloading gopkg.in/inf.v0 v0.9.1
#12 3.089 go: extracting gopkg.in/inf.v0 v0.9.1
#12 3.092 go: downloading knative.dev/pkg v0.0.0-20200207155214-fef852970f43
#12 3.093 go: extracting github.com/mitchellh/go-homedir v1.1.0
#12 3.094 go: extracting golang.org/x/sys v0.0.0-20200212091648-12a6c2dcc1e4
#12 3.095 go: downloading k8s.io/client-go v0.16.5
#12 3.106 go: extracting go.uber.org/zap v1.13.0
#12 3.132 go: downloading github.com/ghodss/yaml v1.0.0
#12 3.181 go: extracting github.com/ghodss/yaml v1.0.0
#12 3.222 go: extracting github.com/google/go-containerregistry v0.0.0-20200115214256-379933c9c22b
#12 3.297 go: downloading gopkg.in/yaml.v2 v2.2.7
#12 3.300 go: downloading github.com/google/go-cmp v0.4.0
#12 3.300 go: downloading k8s.io/klog v1.0.0
#12 3.300 go: downloading github.com/vdemeester/k8s-pkg-credentialprovider v1.13.12-1
#12 3.358 go: extracting k8s.io/klog v1.0.0
#12 3.358 go: extracting gopkg.in/yaml.v2 v2.2.7
#12 3.364 go: extracting github.com/google/go-cmp v0.4.0
#12 3.367 go: downloading go.uber.org/atomic v1.5.1
#12 3.377 go: downloading github.com/docker/cli v0.0.0-20191212191748-ebca1413117a
#12 3.379 go: extracting github.com/vdemeester/k8s-pkg-credentialprovider v1.13.12-1
#12 3.386 go: downloading github.com/Azure/azure-sdk-for-go v38.0.0+incompatible
#12 3.386 go: downloading github.com/hashicorp/golang-lru v0.5.4
#12 3.406 go: extracting knative.dev/pkg v0.0.0-20200207155214-fef852970f43
#12 3.417 go: extracting go.uber.org/atomic v1.5.1
#12 3.425 go: extracting github.com/hashicorp/golang-lru v0.5.4
#12 3.429 go: downloading github.com/aws/aws-sdk-go v1.27.1
#12 3.437 go: downloading go.uber.org/multierr v1.4.0
#12 3.460 go: extracting go.uber.org/multierr v1.4.0
#12 3.579 go: extracting k8s.io/api v0.16.5
#12 3.583 go: downloading github.com/gogo/protobuf v1.3.1
#12 3.583 go: downloading k8s.io/kube-openapi v0.0.0-20191107075043-30be4d16710a
#12 3.734 go: extracting k8s.io/kube-openapi v0.0.0-20191107075043-30be4d16710a
#12 3.814 go: downloading golang.org/x/sync v0.0.0-20190911185100-cd5d95a43a6e
#12 3.924 go: extracting github.com/gogo/protobuf v1.3.1
#12 3.937 go: extracting golang.org/x/sync v0.0.0-20190911185100-cd5d95a43a6e
#12 3.941 go: extracting github.com/docker/cli v0.0.0-20191212191748-ebca1413117a
#12 4.067 go: downloading github.com/davecgh/go-spew v1.1.1
#12 4.154 go: extracting github.com/davecgh/go-spew v1.1.1
#12 4.234 go: downloading github.com/dgrijalva/jwt-go v3.2.0+incompatible
#12 4.344 go: downloading github.com/Azure/go-autorest v13.0.0+incompatible
#12 4.357 go: extracting github.com/dgrijalva/jwt-go v3.2.0+incompatible
#12 4.386 go: downloading github.com/googleapis/gnostic v0.3.1
#12 4.447 go: extracting github.com/Azure/go-autorest v13.0.0+incompatible
#12 4.451 go: downloading github.com/Azure/go-autorest/autorest v0.9.3
#12 4.521 go: extracting github.com/googleapis/gnostic v0.3.1
#12 4.539 go: extracting github.com/Azure/go-autorest/autorest v0.9.3
#12 4.547 go: downloading github.com/Azure/go-autorest/autorest/adal v0.8.1
#12 4.639 go: extracting github.com/Azure/go-autorest/autorest/adal v0.8.1
#12 4.643 go: downloading k8s.io/legacy-cloud-providers v0.17.0
#12 4.798 go: extracting k8s.io/legacy-cloud-providers v0.17.0
#12 4.849 go: downloading github.com/golang/protobuf v1.3.3
#12 4.936 go: extracting github.com/golang/protobuf v1.3.3
#12 4.973 go: downloading github.com/spf13/pflag v1.0.5
#12 4.998 go: extracting github.com/spf13/pflag v1.0.5
#12 5.026 go: downloading github.com/Azure/go-autorest/tracing v0.5.0
#12 5.044 go: extracting github.com/Azure/go-autorest/tracing v0.5.0
#12 5.046 go: downloading sigs.k8s.io/yaml v1.1.0
#12 5.048 go: extracting github.com/aws/aws-sdk-go v1.27.1
#12 5.069 go: extracting sigs.k8s.io/yaml v1.1.0
#12 5.072 go: downloading github.com/google/gofuzz v1.1.0
#12 5.097 go: extracting github.com/google/gofuzz v1.1.0
#12 5.100 go: downloading github.com/Azure/go-autorest/autorest/date v0.2.0
#12 5.122 go: extracting github.com/Azure/go-autorest/autorest/date v0.2.0
#12 5.125 go: downloading golang.org/x/net v0.0.0-20200202094626-16171245cfb2
#12 5.338 go: extracting golang.org/x/net v0.0.0-20200202094626-16171245cfb2
#12 5.460 go: downloading golang.org/x/crypto v0.0.0-20191206172530-e9b2fee46413
#12 5.603 go: extracting golang.org/x/crypto v0.0.0-20191206172530-e9b2fee46413
#12 6.136 go: extracting github.com/Azure/azure-sdk-for-go v38.0.0+incompatible
#12 6.171 go: downloading golang.org/x/oauth2 v0.0.0-20200107190931-bf48bf16ab8d
#12 6.175 go: downloading github.com/jmespath/go-jmespath v0.0.0-20180206201540-c2b33e8439af
#12 6.185 go: downloading golang.org/x/text v0.3.2
#12 6.197 go: extracting golang.org/x/oauth2 v0.0.0-20200107190931-bf48bf16ab8d
#12 6.223 go: downloading github.com/Azure/go-autorest/logger v0.1.0
#12 6.224 go: downloading github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b
#12 6.286 go: extracting github.com/jmespath/go-jmespath v0.0.0-20180206201540-c2b33e8439af
#12 6.289 go: extracting github.com/Azure/go-autorest/logger v0.1.0
#12 6.289 go: extracting github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b
#12 6.292 go: downloading github.com/mattbaird/jsonpatch v0.0.0-20171005235357-81af80346b1a
#12 6.320 go: extracting github.com/mattbaird/jsonpatch v0.0.0-20171005235357-81af80346b1a
#12 6.327 go: downloading github.com/docker/docker v1.4.2-0.20190924003213-a8608b5b67c7
#12 6.352 go: downloading github.com/docker/docker-credential-helpers v0.6.3
#12 6.382 go: extracting github.com/docker/docker-credential-helpers v0.6.3
#12 6.615 go: extracting github.com/docker/docker v1.4.2-0.20190924003213-a8608b5b67c7
#12 6.676 go: extracting golang.org/x/text v0.3.2
#12 6.994 go: downloading github.com/evanphx/json-patch v4.5.0+incompatible
#12 7.128 go: downloading cloud.google.com/go v0.47.0
#12 7.148 go: extracting github.com/evanphx/json-patch v4.5.0+incompatible
#12 7.315 go: extracting cloud.google.com/go v0.47.0
#12 9.399 go: downloading github.com/Azure/go-autorest/autorest/to v0.3.0
#12 9.399 go: downloading github.com/Azure/go-autorest/autorest/validation v0.1.0
#12 9.439 go: extracting github.com/Azure/go-autorest/autorest/to v0.3.0
#12 9.439 go: extracting github.com/Azure/go-autorest/autorest/validation v0.1.0
#12 10.95 go: extracting k8s.io/client-go v0.16.5
#12 11.13 go: downloading k8s.io/utils v0.0.0-20191114184206-e782cd3c129f
#12 11.13 go: downloading golang.org/x/time v0.0.0-20191024005414-555d28b269f0
#12 11.13 go: downloading github.com/modern-go/reflect2 v1.0.1
#12 11.15 go: downloading github.com/json-iterator/go v1.1.8
#12 11.15 go: extracting golang.org/x/time v0.0.0-20191024005414-555d28b269f0
#12 11.16 go: extracting github.com/modern-go/reflect2 v1.0.1
#12 11.16 go: extracting k8s.io/utils v0.0.0-20191114184206-e782cd3c129f
#12 11.16 go: downloading github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd
#12 11.18 go: extracting github.com/json-iterator/go v1.1.8
#12 11.18 go: extracting github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd
#12 11.52 go: finding github.com/sirupsen/logrus v1.4.2
#12 11.52 go: finding github.com/alessio/shellescape v0.0.0-20190409004728-b115ca0f9053
#12 11.53 go: finding github.com/gobwas/glob v0.2.3
#12 11.57 go: finding github.com/Masterminds/semver v1.5.0
#12 11.57 go: finding github.com/chhsia0/go-scm v1.6.1-0.20200415001307-0e8394215a5e
#12 11.58 go: finding golang.org/x/sys v0.0.0-20200212091648-12a6c2dcc1e4
#12 11.63 go: finding github.com/gregjones/httpcache v0.0.0-20180305231024-9cad4c3443a7
#12 11.64 go: finding github.com/pkg/errors v0.9.1
#12 11.65 go: finding github.com/tektoncd/pipeline v0.11.1
#12 11.65 go: finding k8s.io/apimachinery v0.16.5
#12 11.68 go: finding github.com/google/go-cmp v0.4.0
#12 11.68 go: finding github.com/google/go-containerregistry v0.0.0-20200115214256-379933c9c22b
#12 11.69 go: finding github.com/google/uuid v1.1.1
#12 11.71 go: finding github.com/ghodss/yaml v1.0.0
#12 11.72 go: finding k8s.io/api v0.16.5
#12 11.72 go: finding github.com/hashicorp/golang-lru v0.5.4
#12 11.72 go: finding knative.dev/pkg v0.0.0-20200207155214-fef852970f43
#12 11.72 go: finding github.com/docker/cli v0.0.0-20191212191748-ebca1413117a
#12 11.73 go: finding github.com/vdemeester/k8s-pkg-credentialprovider v1.13.12-1
#12 11.75 go: finding gopkg.in/yaml.v2 v2.2.7
#12 11.75 go: finding github.com/mitchellh/go-homedir v1.1.0
#12 11.75 go: finding github.com/gogo/protobuf v1.3.1
#12 11.76 go: finding github.com/google/gofuzz v1.1.0
#12 11.76 go: finding gopkg.in/inf.v0 v0.9.1
#12 11.76 go: finding github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b
#12 11.76 go: finding k8s.io/client-go v0.16.5
#12 11.76 go: finding github.com/docker/docker v1.4.2-0.20190924003213-a8608b5b67c7
#12 11.76 go: finding github.com/aws/aws-sdk-go v1.27.1
#12 11.77 go: finding go.uber.org/zap v1.13.0
#12 11.77 go: finding github.com/spf13/pflag v1.0.5
#12 11.77 go: finding github.com/docker/docker-credential-helpers v0.6.3
#12 11.78 go: finding k8s.io/klog v1.0.0
#12 11.79 go: finding github.com/Azure/azure-sdk-for-go v38.0.0+incompatible
#12 11.79 go: finding golang.org/x/oauth2 v0.0.0-20200107190931-bf48bf16ab8d
#12 11.79 go: finding github.com/Azure/go-autorest/autorest v0.9.3
#12 11.80 go: finding github.com/Azure/go-autorest/autorest/adal v0.8.1
#12 11.80 go: finding k8s.io/kube-openapi v0.0.0-20191107075043-30be4d16710a
#12 11.80 go: finding golang.org/x/sync v0.0.0-20190911185100-cd5d95a43a6e
#12 11.81 go: finding github.com/dgrijalva/jwt-go v3.2.0+incompatible
#12 11.81 go: finding cloud.google.com/go v0.47.0
#12 11.81 go: finding github.com/davecgh/go-spew v1.1.1
#12 11.81 go: finding sigs.k8s.io/yaml v1.1.0
#12 11.82 go: finding go.uber.org/atomic v1.5.1
#12 11.82 go: finding golang.org/x/net v0.0.0-20200202094626-16171245cfb2
#12 11.82 go: finding github.com/jmespath/go-jmespath v0.0.0-20180206201540-c2b33e8439af
#12 11.82 go: finding go.uber.org/multierr v1.4.0
#12 11.83 go: finding github.com/googleapis/gnostic v0.3.1
#12 11.83 go: finding github.com/Azure/go-autorest/autorest/date v0.2.0
#12 11.83 go: finding github.com/golang/protobuf v1.3.3
#12 11.84 go: finding github.com/Azure/go-autorest/autorest/to v0.3.0
#12 11.84 go: finding k8s.io/legacy-cloud-providers v0.17.0
#12 11.84 go: finding github.com/evanphx/json-patch v4.5.0+incompatible
#12 11.84 go: finding golang.org/x/text v0.3.2
#12 11.84 go: finding github.com/Azure/go-autorest/autorest/validation v0.1.0
#12 11.85 go: finding github.com/Azure/go-autorest/tracing v0.5.0
#12 11.85 go: finding github.com/mattbaird/jsonpatch v0.0.0-20171005235357-81af80346b1a
#12 11.86 go: finding github.com/Azure/go-autorest/logger v0.1.0
#12 11.87 go: finding golang.org/x/crypto v0.0.0-20191206172530-e9b2fee46413
#12 11.87 go: finding github.com/json-iterator/go v1.1.8
#12 11.88 go: finding github.com/modern-go/reflect2 v1.0.1
#12 11.89 go: finding k8s.io/utils v0.0.0-20191114184206-e782cd3c129f
#12 11.89 go: finding golang.org/x/time v0.0.0-20191024005414-555d28b269f0
#12 11.93 go: finding github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd
#12 DONE 58.5s

#6 [stage-1 2/4] RUN apt-get update -y && apt-get install -y git gnupg
#6 CACHED

#13 [stage-1 3/4] COPY --from=builder /work/update-gitops-repo /usr/bin/
time="2020-04-29T17:41:29Z" level=debug msg="stopping session"
#13 ERROR: y0luugyft77khpszzbef6figx not found: not found
------
 > [stage-1 3/4] COPY --from=builder /work/update-gitops-repo /usr/bin/:
------
error: rpc error: code = Unknown desc = failed to load cache: y0luugyft77khpszzbef6figx not found: not found
failed to solve
github.com/moby/buildkit/client.(*Client).solve.func2
	/src/client/solve.go:203
golang.org/x/sync/errgroup.(*Group).Go.func1
	/src/vendor/golang.org/x/sync/errgroup/errgroup.go:58
runtime.goexit
	/usr/local/go/src/runtime/asm_amd64.s:1337

The dockerfile in question is:

FROM golang:1.13-stretch as builder

WORKDIR /work
ADD . /work

RUN apt-get update -y && \
    apt-get install -y curl git bash

RUN GO111MODULE=on go build -o ./update-gitops-repo ./cmd/update-gitops-repo

FROM debian:stretch

RUN apt-get update -y && apt-get install -y git gnupg

COPY --from=builder /work/update-gitops-repo /usr/bin/

ENV PATH /usr/bin:${PATH}

WORKDIR /workspace

ENTRYPOINT ["/usr/bin/update-gitops-repo"]

The buildkit debug logs are as follows:

...
time="2020-04-29T17:40:59Z" level=debug msg="file \"/\" ignored: resolved to root"
time="2020-04-29T17:41:06Z" level=debug msg="remove snapshot" key=b4nof0raydmny3d8b9oslnlbt snapshotter=overlayfs
time="2020-04-29T17:41:06Z" level=debug msg="remove snapshot" key=wnofhfmdjjkqktnvd9f5lgrn9 snapshotter=overlayfs
time="2020-04-29T17:41:06Z" level=debug msg="remove snapshot" key=x6grjuo3ymfhjrvykm4ey3s7j snapshotter=overlayfs
time="2020-04-29T17:41:06Z" level=debug msg="remove snapshot" key=y0luugyft77khpszzbef6figx snapshotter=overlayfs
time="2020-04-29T17:41:06Z" level=debug msg="remove content" key="sha256:4eab23072ed69d49c45c019db15e5865c89852e13101651d0bc0ed791e460cee"
time="2020-04-29T17:41:06Z" level=debug msg="remove content" key="sha256:4eb0f716a2f2753d95295e159d5a59039c726dba41d157365a0661b3c8b7e288"
time="2020-04-29T17:41:06Z" level=debug msg="remove content" key="sha256:597d90701602eee935270424baefb87ba75a421b10121536cf8c296b24c783c8"
time="2020-04-29T17:41:06Z" level=debug msg="remove content" key="sha256:682e4d31fcb269c3555d4d4329c11e3718c2e1ff240daddfdb10c54610c53635"
time="2020-04-29T17:41:06Z" level=debug msg="schedule snapshotter cleanup" snapshotter=overlayfs
time="2020-04-29T17:41:06Z" level=debug msg="schedule content cleanup"
time="2020-04-29T17:41:06Z" level=debug msg="removed content" digest="sha256:4eab23072ed69d49c45c019db15e5865c89852e13101651d0bc0ed791e460cee"
time="2020-04-29T17:41:06Z" level=debug msg="removed content" digest="sha256:4eb0f716a2f2753d95295e159d5a59039c726dba41d157365a0661b3c8b7e288"
time="2020-04-29T17:41:06Z" level=debug msg="removed content" digest="sha256:597d90701602eee935270424baefb87ba75a421b10121536cf8c296b24c783c8"
time="2020-04-29T17:41:06Z" level=debug msg="removed content" digest="sha256:682e4d31fcb269c3555d4d4329c11e3718c2e1ff240daddfdb10c54610c53635"
time="2020-04-29T17:41:06Z" level=debug msg="content garbage collected" d=46.621056ms
time="2020-04-29T17:41:06Z" level=debug msg="removed snapshot" key=buildkit/1904/wnofhfmdjjkqktnvd9f5lgrn9 snapshotter=overlayfs
time="2020-04-29T17:41:06Z" level=debug msg="removed snapshot" key=buildkit/1818/y0luugyft77khpszzbef6figx snapshotter=overlayfs
time="2020-04-29T17:41:06Z" level=debug msg="removed snapshot" key=buildkit/1822/x6grjuo3ymfhjrvykm4ey3s7j snapshotter=overlayfs
time="2020-04-29T17:41:06Z" level=debug msg="removed snapshot" key=buildkit/1816/b4nof0raydmny3d8b9oslnlbt snapshotter=overlayfs
time="2020-04-29T17:41:07Z" level=debug msg="snapshot garbage collected" d=1.053501654s snapshotter=overlayfs
time="2020-04-29T17:41:07Z" level=debug msg="gc cleaned up 247501461 bytes"
time="2020-04-29T17:41:14Z" level=debug msg="diff applied" d=14.80765418s dgst="sha256:a01966f58dc5e5b361f6628327184cbec9e2944ae93daab714cdca12d0d4b747" media=application/vnd.docker.image.rootfs.diff.tar.gzip size=0
time="2020-04-29T17:41:14Z" level=debug msg="file \"/\" ignored: resolved to root"
time="2020-04-29T17:41:19Z" level=debug msg="diff applied" d=4.527684839s dgst="sha256:c22dd5caee9cb76655e29b77201c55739333babeb25dcdb4a25b8be33bf9c4f8" media=application/vnd.docker.image.rootfs.diff.tar.gzip size=0
time="2020-04-29T17:41:19Z" level=debug msg="file \"/\" ignored: resolved to root"
time="2020-04-29T17:41:24Z" level=debug msg="diff applied" d=5.383395031s dgst="sha256:c00dc78627f0afb0837027a1139e24d15b33869f5b3df79bc8efc7e94fec479e" media=application/vnd.docker.image.rootfs.diff.tar.gzip size=0
time="2020-04-29T17:41:29Z" level=debug msg="load cache for [stage-1 3/4] COPY --from=builder /work/update-gitops-repo /usr/bin/ with so4lsc74o5r2o72ejwb2sgzva::y0luugyft77khpszzbef6figx"
time="2020-04-29T17:41:29Z" level=error msg="/moby.buildkit.v1.Control/Solve returned error: not found\ngithub.com/moby/buildkit/cache.init\n\t/src/cache/manager.go:29\nruntime.doInit\n\t/usr/local/go/src/runtime/proc.go:5222\nruntime.doInit\n\t/usr/local/go/src/runtime/proc.go:5217\nruntime.doInit\n\t/usr/local/go/src/runtime/proc.go:5217\nruntime.doInit\n\t/usr/local/go/src/runtime/proc.go:5217\nruntime.doInit\n\t/usr/local/go/src/runtime/proc.go:5217\nruntime.main\n\t/usr/local/go/src/runtime/proc.go:190\nruntime.goexit\n\t/usr/local/go/src/runtime/asm_amd64.s:1357\ny0luugyft77khpszzbef6figx not found\ngithub.com/moby/buildkit/cache.(*cacheManager).getRecord\n\t/src/cache/manager.go:335\ngithub.com/moby/buildkit/cache.(*cacheManager).get\n\t/src/cache/manager.go:297\ngithub.com/moby/buildkit/cache.(*cacheManager).Get\n\t/src/cache/manager.go:282\ngithub.com/moby/buildkit/worker/base.(*Worker).LoadRef\n\t/src/worker/base/worker.go:229\ngithub.com/moby/buildkit/worker.(*cacheResultStorage).load\n\t/src/worker/cacheresult.go:62\ngithub.com/moby/buildkit/worker.(*cacheResultStorage).Load\n\t/src/worker/cacheresult.go:39\ngithub.com/moby/buildkit/solver.(*cacheManager).Load\n\t/src/solver/cachemanager.go:144\ngithub.com/moby/buildkit/solver.(*sharedOp).LoadCache\n\t/src/solver/jobs.go:561\ngithub.com/moby/buildkit/solver.(*edge).loadCache\n\t/src/solver/edge.go:856\ngithub.com/moby/buildkit/solver/internal/pipe.NewWithFunction.func2\n\t/src/solver/internal/pipe/pipe.go:82\nruntime.goexit\n\t/usr/local/go/src/runtime/asm_amd64.s:1357\nfailed to load cache\ngithub.com/moby/buildkit/solver.(*edge).loadCache\n\t/src/solver/edge.go:858\ngithub.com/moby/buildkit/solver/internal/pipe.NewWithFunction.func2\n\t/src/solver/internal/pipe/pipe.go:82\nruntime.goexit\n\t/usr/local/go/src/runtime/asm_amd64.s:1357"
time="2020-04-29T17:41:29Z" level=debug msg="session finished: <nil>"
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions