bake: handle derived attributes #4708
Annotations
3 errors
tests/run.go#L272
=== RUN TestIntegration
run.go:272: copied docker.io/amd64/busybox:latest@sha256:023917ec6a886d0e8e15f28fb543515a5fcd8d938edb091e8147db4efed388ee to local mirror localhost:34349/library/busybox:latest
time="2024-11-28T10:52:53Z" level=info msg="trying next host - response was http.StatusNotFound" host="localhost:34349"
run.go:272: copied docker.io/amd64/alpine:latest@sha256:25fad2a32ad1f6f510e528448ae1ec69a28ef81916a004d3629874104f8a7f70 to local mirror localhost:34349/library/alpine:latest
time="2024-11-28T10:52:53Z" level=info msg="trying next host - response was http.StatusNotFound" host="localhost:34349"
run.go:272: copied docker.io/moby/buildkit:buildx-stable-1 to local mirror localhost:34349/moby/buildkit:buildx-stable-1
--- FAIL: TestIntegration (0.01s)
|
tests/bake.go#L123
=== RUN TestIntegration/TestBakePrint/worker=docker+containerd
=== PAUSE TestIntegration/TestBakePrint/worker=docker+containerd
=== CONT TestIntegration/TestBakePrint/worker=docker+containerd
bake.go:123:
Error Trace: /src/tests/bake.go:123
/src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:97
/src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:211
Error: Not equal:
expected: []*buildflags.CacheOptionsEntry{(*buildflags.CacheOptionsEntry)(0xc001f063a0), (*buildflags.CacheOptionsEntry)(0xc001f063c0), (*buildflags.CacheOptionsEntry)(0xc001f063e0)}
actual : []*buildflags.CacheOptionsEntry{(*buildflags.CacheOptionsEntry)(0xc001f06280), (*buildflags.CacheOptionsEntry)(0xc001f062a0), (*buildflags.CacheOptionsEntry)(0xc001f062e0)}
Diff:
--- Expected
+++ Actual
@@ -17,4 +17,6 @@
(*buildflags.CacheOptionsEntry)({
- Type: (string) (len=15) "user/repo:cache",
- Attrs: (map[string]string) <nil>,
+ Type: (string) (len=8) "registry",
+ Attrs: (map[string]string) (len=1) {
+ (string) (len=3) "ref": (string) (len=15) "user/repo:cache"
+ },
ImplicitAttrs: (map[string]string) <nil>
Test: TestIntegration/TestBakePrint/worker=docker+containerd
sandbox.go:135: stdout: /usr/bin/dockerd
sandbox.go:135: stderr: /usr/bin/dockerd
sandbox.go:138: > startCmd 2024-11-28 10:54:59.876707397 +0000 UTC m=+126.607028936 /usr/bin/dockerd --data-root /tmp/integration3397570469/dzil1ot7lmb7c/root --exec-root /tmp/dxr/dzil1ot7lmb7c --pidfile /tmp/integration3397570469/dzil1ot7lmb7c/docker.pid --containerd-namespace dzil1ot7lmb7c --containerd-plugins-namespace dzil1ot7lmb7cp --host unix:///tmp/docker-integration/dzil1ot7lmb7c.sock --config-file /tmp/integration3397570469/daemon.json --userland-proxy=false --tls=false --debug
sandbox.go:138: time="2024-11-28T10:54:59.897155587Z" level=info msg="Starting up"
sandbox.go:138: time="2024-11-28T10:54:59.898194595Z" level=warning msg="could not change group /tmp/docker-integration/dzil1ot7lmb7c.sock to docker: group docker not found"
sandbox.go:138: time="2024-11-28T10:54:59.898336682Z" level=debug msg="Listener created for HTTP on unix (/tmp/docker-integration/dzil1ot7lmb7c.sock)"
sandbox.go:138: time="2024-11-28T10:54:59.898354185Z" level=info msg="containerd not running, starting managed containerd"
sandbox.go:138: time="2024-11-28T10:54:59.898880572Z" level=info msg="started new containerd process" address=/tmp/dxr/dzil1ot7lmb7c/containerd/containerd.sock module=libcontainerd pid=20081
sandbox.go:138: time="2024-11-28T10:54:59.899263450Z" level=debug msg="created containerd monitoring client" address=/tmp/dxr/dzil1ot7lmb7c/containerd/containerd.sock module=libcontainerd
sandbox.go:138: time="2024-11-28T10:54:59.899422363Z" level=debug msg="2024/11/28 10:54:59 WARNING: [core] [Channel #1 SubChannel #2]grpc: addrConn.createTransport failed to connect to {Addr: \"/tmp/dxr/dzil1ot7lmb7c/containerd/containerd.sock\", ServerName: \"localhost\", Attributes: {\"<%!p(networktype.keyType=grpc.internal.transport.networktype)>\": \"unix\" }, }. Err: connection error: desc = \"transport: Error while dialing: dial unix /tmp/dxr/dzil1ot7lmb7c/containerd/containerd.sock: connect: no such file or directory\"" library=grpc
sandbox.go:138: time="2024-11-28T10:54:59.909698368Z" level=info msg="starting containerd" revision=7f7fdf5fed64eb6a7caf99b3e12efcf9d60e311c version=v1.7.22
sandbox.go:138: time="2024-11-28T10:54:59.923206227Z" level=info msg="loading plugin \"io.containerd.event.v1.exchange\"..." type=io.containerd.event.v1
sandbox.go:138: time="2024-11-28T10:54:59.923229090Z" level=info msg="loading plug
|
|
The logs for this run have expired and are no longer available.
Loading