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

Strange errors on GitHub actions #1590

Closed
ingwarsw opened this issue Jan 19, 2022 · 4 comments · Fixed by #1591
Closed

Strange errors on GitHub actions #1590

ingwarsw opened this issue Jan 19, 2022 · 4 comments · Fixed by #1591
Assignees
Labels
type:bug Something isn't working

Comments

@ingwarsw
Copy link
Contributor

From time to time we see some (its intermittent issue)
Im not sure if its GHA issue or something with earthly..

             ongoing | output (1 minute ago)
             ongoing | output (2 minutes ago)
              output | [          ]   0% transferring gcr.io/****:**
              output | [          ]   0% pushing layers
              output | [██████████] 100% pushing layers
              output | [          ]   0% pushing manifest for ggcr.io/****:**@sha256:feb255eb650fab4deaff22b29877136b3a324c6e144a1a624517a8cab739eeb8
              output | [██████████] 100% pushing manifest forgcr.io/****:**@sha256:feb255eb650fab4deaff22b29877136b3a324c6e144a1a624517a8cab739eeb8
              output | [          ]   0% transferring gcr.io/****:**.77
              output | [          ]   0% pushing manifest for gcr.io/****:**.77@sha256:feb255eb650fab4deaff22b29877136b3a324c6e144a1a624517a8cab739eeb8
              output | [██████████] 100% pushing manifest for ggcr.io/****:**.77@sha256:feb255eb650fab4deaff22b29877136b3a324c6e144a1a624517a8cab739eeb8
             ongoing | output (3 minutes ago)
              output | WARN: (exporting outputs) pull ping error: pull ping response: rpc error: code = Unknown desc = image rmi after pull and retag: command failed: docker image rm 127.0.0.1:8371/sess-4foxwkd93jxq2hysn02yocnzl/sp:img2: exit status 1: Error: No such image: 127.0.0.1:8371/sess-4foxwkd93jxq2hysn02yocnzl/sp:img2: exit status 1
Error: build target: build main: bkClient.Build: failed to solve: image rmi after pull and retag: command failed: docker image rm 127.0.0.1:8371/sess-4foxwkd93jxq2hysn02yocnzl/sp:img2: exit status 1: Error: No such image: 127.0.0.1:8371/sess-4foxwkd93jxq2hysn02yocnzl/sp:img2: exit status 1
@vladaionescu vladaionescu self-assigned this Jan 19, 2022
@vladaionescu
Copy link
Member

Thanks for reporting - not sure what the cause of it is, but that could be turned into a warning at least, so it doesn't break your builds randomly. It seems to be coming from a cleanup that is not strictly necessary for everything to function properly.

If you can think of anything special about your setup, or if you could share an Earthfile that we could run, it would help a lot!

@vladaionescu
Copy link
Member

BTW, are the images produced in that GH Actions pipeline really big by any chance?

@ingwarsw
Copy link
Contributor Author

@vladaionescu They are rathe big.. +- 1GB

@ingwarsw
Copy link
Contributor Author

I found stack trace if that may help..

Error stack trace:
github.com/moby/buildkit/util/stack.Enable
	/go/pkg/mod/github.com/earthly/buildkit@v0.0.0-20211125184125-c86fdb0bbe33/util/stack/stack.go:77
github.com/moby/buildkit/util/grpcerrors.FromGRPC
	/go/pkg/mod/github.com/earthly/buildkit@v0.0.0-20211125184125-c86fdb0bbe33/util/grpcerrors/grpcerrors.go:188
github.com/moby/buildkit/util/grpcerrors.UnaryClientInterceptor
	/go/pkg/mod/github.com/earthly/buildkit@v0.0.0-20211125184125-c86fdb0bbe33/util/grpcerrors/intercept.go:41
google.golang.org/grpc.(*ClientConn).Invoke
	/go/pkg/mod/google.golang.org/grpc@v1.41.0/call.go:35
github.com/moby/buildkit/api/services/control.(*controlClient).Solve
	/go/pkg/mod/github.com/earthly/buildkit@v0.0.0-20211125184125-c86fdb0bbe33/api/services/control/control.pb.go:1320
github.com/moby/buildkit/client.(*Client).solve.func2
	/go/pkg/mod/github.com/earthly/buildkit@v0.0.0-20211125184125-c86fdb0bbe33/client/solve.go:215
golang.org/x/sync/errgroup.(*Group).Go.func1
	/go/pkg/mod/golang.org/x/sync@v0.0.0-20210220032951-036812b2e83c/errgroup/errgroup.go:57
runtime.goexit
	/usr/local/go/src/runtime/asm_amd64.s:1581
Error: build target: build main: bkClient.Build: failed to solve: image rmi after pull and retag: command failed: docker image rm 127.0.0.1:8371/sess-twkj3bt7kz2b1mguisp3org6x/sp:img2: exit status 1: Error: No such image: 127.0.0.1:8371/sess-twkj3bt7kz2b1mguisp3org6x/sp:img2: exit status 1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants