bake: add call methods support and printing #4103
Annotations
11 errors
tests/run.go#L273
=== RUN TestIntegration
time="2024-06-28T07:20:00Z" level=info msg="trying next host - response was http.StatusNotFound" host="localhost:40639"
run.go:273: copied docker.io/amd64/busybox:latest@sha256:023917ec6a886d0e8e15f28fb543515a5fcd8d938edb091e8147db4efed388ee to local mirror localhost:40639/library/busybox:latest
time="2024-06-28T07:20:00Z" level=info msg="trying next host - response was http.StatusNotFound" host="localhost:40639"
run.go:273: copied docker.io/amd64/alpine:latest@sha256:25fad2a32ad1f6f510e528448ae1ec69a28ef81916a004d3629874104f8a7f70 to local mirror localhost:40639/library/alpine:latest
time="2024-06-28T07:20:00Z" level=info msg="trying next host - response was http.StatusNotFound" host="localhost:40639"
run.go:273: copied docker.io/moby/buildkit:buildx-stable-1 to local mirror localhost:40639/moby/buildkit:buildx-stable-1
--- FAIL: TestIntegration (4.94s)
|
tests/sandbox.go#L133
=== RUN TestIntegration/TestBakeMetadataProvenance/worker=docker+containerd
=== PAUSE TestIntegration/TestBakeMetadataProvenance/worker=docker+containerd
=== CONT TestIntegration/TestBakeMetadataProvenance/worker=docker+containerd
sandbox.go:133: stdout: /usr/bin/dockerd
sandbox.go:133: stderr: /usr/bin/dockerd
sandbox.go:136: > startCmd 2024-06-28 07:21:08.288981706 +0000 UTC m=+68.325323333 /usr/bin/dockerd --data-root /tmp/integration1408470408/dev9wa1u1r52q/root --exec-root /tmp/dxr/dev9wa1u1r52q --pidfile /tmp/integration1408470408/dev9wa1u1r52q/docker.pid --containerd-namespace dev9wa1u1r52q --containerd-plugins-namespace dev9wa1u1r52qp --host unix:///tmp/docker-integration/dev9wa1u1r52q.sock --config-file /tmp/integration1408470408/daemon.json --userland-proxy=false --tls=false --debug
sandbox.go:136: time="2024-06-28T07:21:08.308776735Z" level=info msg="Starting up"
sandbox.go:136: time="2024-06-28T07:21:08.309762528Z" level=warning msg="could not change group /tmp/docker-integration/dev9wa1u1r52q.sock to docker: group docker not found"
sandbox.go:136: time="2024-06-28T07:21:08.309906377Z" level=debug msg="Listener created for HTTP on unix (/tmp/docker-integration/dev9wa1u1r52q.sock)"
sandbox.go:136: time="2024-06-28T07:21:08.309926966Z" level=info msg="containerd not running, starting managed containerd"
sandbox.go:136: time="2024-06-28T07:21:08.310451877Z" level=info msg="started new containerd process" address=/tmp/dxr/dev9wa1u1r52q/containerd/containerd.sock module=libcontainerd pid=13227
sandbox.go:136: time="2024-06-28T07:21:08.310771725Z" level=debug msg="created containerd monitoring client" address=/tmp/dxr/dev9wa1u1r52q/containerd/containerd.sock module=libcontainerd
sandbox.go:136: time="2024-06-28T07:21:08.310945818Z" level=debug msg="2024/06/28 07:21:08 WARNING: [core] [Channel #1 SubChannel #2] grpc: addrConn.createTransport failed to connect to {Addr: \"/tmp/dxr/dev9wa1u1r52q/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/dev9wa1u1r52q/containerd/containerd.sock: connect: no such file or directory\"" library=grpc
sandbox.go:136: time="2024-06-28T07:21:08.323888995Z" level=info msg="starting containerd" revision=ae71819c4f5e67bb4d5ae76a6b735f29cc25774e version=v1.7.18
sandbox.go:136: time="2024-06-28T07:21:08.336479298Z" level=info msg="loading plugin \"io.containerd.event.v1.exchange\"..." type=io.containerd.event.v1
sandbox.go:136: time="2024-06-28T07:21:08.336502772Z" level=info msg="loading plugin \"io.containerd.internal.v1.opt\"..." type=io.containerd.internal.v1
sandbox.go:136: time="2024-06-28T07:21:08.336534792Z" level=info msg="loading plugin \"io.containerd.warning.v1.deprecations\"..." type=io.containerd.warning.v1
sandbox.go:136: time="2024-06-28T07:21:08.336548437Z" level=info msg="loading plugin \"io.containerd.snapshotter.v1.blockfile\"..." type=io.containerd.snapshotter.v1
sandbox.go:136: time="2024-06-28T07:21:08.336622866Z" level=info msg="skip loading plugin \"io.containerd.snapshotter.v1.blockfile\"..." error="no scratch file generator: skip plugin" type=io.containerd.snapshotter.v1
sandbox.go:136: time="2024-06-28T07:21:08.336638115Z" level=info msg="loading plugin \"io.containerd.snapshotter.v1.devmapper\"..." type=io.containerd.snapshotter.v1
sandbox.go:136: time="2024-06-28T07:21:08.336649887Z" level=warning msg="failed to load plugin io.containerd.snapshotter.v1.devmapper" error="devmapper not configured"
sandbox.go:136: time="2024-06-28T07:21:08.336665847Z" level=info msg="loading plugin \"io.containerd.snapshotter.v1.native\"..." type=io.containerd.snapshotter.v1
sandbox.go:136: time="2024-06-28T07:21:08.336751837Z" level=info msg="loading plugin \"io.containerd.snapshotter.v1.overlayfs\"..." type=io.containerd.snapshotter.v1
sandbox.go:136: time="2024-06-28T07:21:08.336963573Z" level=info msg="loadin
|
tests/sandbox.go#L133
=== RUN TestIntegration/TestBakeMetadataWarnings/worker=docker+containerd
=== PAUSE TestIntegration/TestBakeMetadataWarnings/worker=docker+containerd
=== CONT TestIntegration/TestBakeMetadataWarnings/worker=docker+containerd
sandbox.go:133: stdout: /usr/bin/dockerd
sandbox.go:133: stderr: /usr/bin/dockerd
sandbox.go:136: > startCmd 2024-06-28 07:21:05.430102509 +0000 UTC m=+65.466444126 /usr/bin/dockerd --data-root /tmp/integration3634052864/dtn0pm3x7k3q0/root --exec-root /tmp/dxr/dtn0pm3x7k3q0 --pidfile /tmp/integration3634052864/dtn0pm3x7k3q0/docker.pid --containerd-namespace dtn0pm3x7k3q0 --containerd-plugins-namespace dtn0pm3x7k3q0p --host unix:///tmp/docker-integration/dtn0pm3x7k3q0.sock --config-file /tmp/integration3634052864/daemon.json --userland-proxy=false --tls=false --debug
sandbox.go:136: time="2024-06-28T07:21:05.451068504Z" level=info msg="Starting up"
sandbox.go:136: time="2024-06-28T07:21:05.452144286Z" level=warning msg="could not change group /tmp/docker-integration/dtn0pm3x7k3q0.sock to docker: group docker not found"
sandbox.go:136: time="2024-06-28T07:21:05.452330034Z" level=debug msg="Listener created for HTTP on unix (/tmp/docker-integration/dtn0pm3x7k3q0.sock)"
sandbox.go:136: time="2024-06-28T07:21:05.452348869Z" level=info msg="containerd not running, starting managed containerd"
sandbox.go:136: time="2024-06-28T07:21:05.452964981Z" level=info msg="started new containerd process" address=/tmp/dxr/dtn0pm3x7k3q0/containerd/containerd.sock module=libcontainerd pid=12987
sandbox.go:136: time="2024-06-28T07:21:05.453370469Z" level=debug msg="created containerd monitoring client" address=/tmp/dxr/dtn0pm3x7k3q0/containerd/containerd.sock module=libcontainerd
sandbox.go:136: time="2024-06-28T07:21:05.453591325Z" level=debug msg="2024/06/28 07:21:05 WARNING: [core] [Channel #1 SubChannel #2] grpc: addrConn.createTransport failed to connect to {Addr: \"/tmp/dxr/dtn0pm3x7k3q0/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/dtn0pm3x7k3q0/containerd/containerd.sock: connect: no such file or directory\"" library=grpc
sandbox.go:136: time="2024-06-28T07:21:05.465115353Z" level=info msg="starting containerd" revision=ae71819c4f5e67bb4d5ae76a6b735f29cc25774e version=v1.7.18
sandbox.go:136: time="2024-06-28T07:21:05.478294404Z" level=info msg="loading plugin \"io.containerd.event.v1.exchange\"..." type=io.containerd.event.v1
sandbox.go:136: time="2024-06-28T07:21:05.478354937Z" level=info msg="loading plugin \"io.containerd.internal.v1.opt\"..." type=io.containerd.internal.v1
sandbox.go:136: time="2024-06-28T07:21:05.478404209Z" level=info msg="loading plugin \"io.containerd.warning.v1.deprecations\"..." type=io.containerd.warning.v1
sandbox.go:136: time="2024-06-28T07:21:05.478465372Z" level=info msg="loading plugin \"io.containerd.snapshotter.v1.blockfile\"..." type=io.containerd.snapshotter.v1
sandbox.go:136: time="2024-06-28T07:21:05.478668008Z" level=info msg="skip loading plugin \"io.containerd.snapshotter.v1.blockfile\"..." error="no scratch file generator: skip plugin" type=io.containerd.snapshotter.v1
sandbox.go:136: time="2024-06-28T07:21:05.478691993Z" level=info msg="loading plugin \"io.containerd.snapshotter.v1.devmapper\"..." type=io.containerd.snapshotter.v1
sandbox.go:136: time="2024-06-28T07:21:05.478710497Z" level=warning msg="failed to load plugin io.containerd.snapshotter.v1.devmapper" error="devmapper not configured"
sandbox.go:136: time="2024-06-28T07:21:05.478732388Z" level=info msg="loading plugin \"io.containerd.snapshotter.v1.native\"..." type=io.containerd.snapshotter.v1
sandbox.go:136: time="2024-06-28T07:21:05.478849758Z" level=info msg="loading plugin \"io.containerd.snapshotter.v1.overlayfs\"..." type=io.containerd.snapshotter.v1
sandbox.go:136: time="2024-06-28T07:21:05.479137226Z" level=info msg="loading plug
|
tests/bake.go#L819
=== RUN TestIntegration/TestBakeMetadataWarningsDedup/worker=docker+containerd
=== PAUSE TestIntegration/TestBakeMetadataWarningsDedup/worker=docker+containerd
=== CONT TestIntegration/TestBakeMetadataWarningsDedup/worker=docker+containerd
bake.go:819:
Error Trace: /src/tests/bake.go:819
/src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:96
/src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:211
Error: Received unexpected error:
exit status 2
Test: TestIntegration/TestBakeMetadataWarningsDedup/worker=docker+containerd
Messages: #0 building with "integration-e0jnrg3wxpaf9opytvvzqsxq5" instance using docker driver
#1 [internal] load local bake definitions
#1 reading docker-bake.hcl 102B / 102B done
#1 DONE 0.0s
#2 [def internal] load build definition from Dockerfile
#2 transferring dockerfile: 130B done
#2 WARN: ConsistentInstructionCasing: Command 'frOM' should be consistently cased (line 2)
#2 WARN: ConsistentInstructionCasing: Command 'cOpy' should be consistently cased (line 3)
#2 WARN: ConsistentInstructionCasing: Command 'COPy' should be consistently cased (line 5)
#2 DONE 0.0s
#3 [base internal] load build definition from Dockerfile
#3 transferring dockerfile: 130B done
#3 WARN: ConsistentInstructionCasing: Command 'frOM' should be consistently cased (line 2)
#3 WARN: ConsistentInstructionCasing: Command 'cOpy' should be consistently cased (line 3)
#3 WARN: ConsistentInstructionCasing: Command 'COPy' should be consistently cased (line 5)
#3 DONE 0.0s
#4 [base internal] load metadata for docker.io/library/busybox:latest
#4 DONE 0.0s
#5 [def internal] load .dockerignore
#5 transferring context:
#5 transferring context: 2B done
#5 DONE 0.0s
#6 [base internal] load .dockerignore
#6 transferring context: 2B done
#6 DONE 0.0s
#7 [base internal] load build context
#7 transferring context: 130B done
#7 DONE 0.0s
#8 [def internal] load build context
#8 transferring context: 130B done
#8 DONE 0.0s
#9 [def base 2/2] COPY Dockerfile .
#9 CANCELED
#10 [def base 1/2] FROM docker.io/library/busybox:latest@sha256:023917ec6a886d0e8e15f28fb543515a5fcd8d938edb091e8147db4efed388ee
#10 resolve docker.io/library/busybox:latest@sha256:023917ec6a886d0e8e15f28fb543515a5fcd8d938edb091e8147db4efed388ee done
#10 sha256:3f4d90098f5b5a6f6a76e9d217da85aa39b2081e30fa1f7d287138d6e7bf0ad7 2.22MB / 2.22MB 0.0s done
#10 extracting sha256:3f4d90098f5b5a6f6a76e9d217da85aa39b2081e30fa1f7d287138d6e7bf0ad7 0.1s done
#10 extracting sha256:3f4d90098f5b5a6f6a76e9d217da85aa39b2081e30fa1f7d287138d6e7bf0ad7 0.1s done
#10 DONE 0.1s
#11 [base base 2/2] COPY Dockerfile .
#11 DONE 0.0s
#12 [def stage-1 1/1] COPY --from=base /Dockerfile /
#12 DONE 0.0s
#13 [base] resolving pro
|
tests/bake.go#L760
=== RUN TestIntegration/TestBakeMetadataWarnings/worker=docker+containerd/default
bake.go:760:
Error Trace: /src/tests/bake.go:760
/src/tests/bake.go:722
Error: Received unexpected error:
exit status 2
Test: TestIntegration/TestBakeMetadataWarnings/worker=docker+containerd/default
Messages: #0 building with "integration-a4tztf79yxfv62em6k3xbz3bw" instance using docker driver
#1 [internal] load local bake definitions
#1 reading docker-bake.hcl 22B / 22B done
#1 DONE 0.0s
#2 [internal] load build definition from Dockerfile
#2 transferring dockerfile: 130B done
#2 WARN: ConsistentInstructionCasing: Command 'frOM' should be consistently cased (line 2)
#2 WARN: ConsistentInstructionCasing: Command 'cOpy' should be consistently cased (line 3)
#2 WARN: ConsistentInstructionCasing: Command 'COPy' should be consistently cased (line 5)
#2 DONE 0.0s
#3 [internal] load metadata for docker.io/library/busybox:latest
#3 DONE 0.0s
#4 [internal] load .dockerignore
#4 transferring context: 2B done
#4 DONE 0.0s
#5 [internal] load build context
#5 DONE 0.0s
#6 [base 1/2] FROM docker.io/library/busybox:latest@sha256:023917ec6a886d0e8e15f28fb543515a5fcd8d938edb091e8147db4efed388ee
#6 resolve docker.io/library/busybox:latest@sha256:023917ec6a886d0e8e15f28fb543515a5fcd8d938edb091e8147db4efed388ee done
#6 sha256:3f4d90098f5b5a6f6a76e9d217da85aa39b2081e30fa1f7d287138d6e7bf0ad7 2.22MB / 2.22MB 0.0s done
#6 extracting sha256:3f4d90098f5b5a6f6a76e9d217da85aa39b2081e30fa1f7d287138d6e7bf0ad7 0.1s done
#6 DONE 0.1s
#5 [internal] load build context
#5 transferring context: 130B done
#5 DONE 0.0s
#7 [base 2/2] COPY Dockerfile .
#7 DONE 0.0s
#8 [stage-1 1/1] COPY --from=base /Dockerfile /
#8 DONE 0.0s
#9 resolving provenance for metadata file
#9 DONE 0.0s
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x30 pc=0x13c2f6a]
goroutine 1 [running]:
github.com/docker/buildx/util/progress.(*Printer).Warnings(...)
github.com/docker/buildx/util/progress/printer.go:62
github.com/docker/buildx/commands.runBake.func2()
github.com/docker/buildx/commands/bake.go:171 +0x36a
github.com/docker/buildx/commands.runBake({0x27ef548?, 0xc0003af3b0?}, {0x2806238?, 0xc0003e6500}, {0xc0000cef00, 0x0, _}, {{0x3a97e80, 0x0, 0x0}, ...}, ...)
github.com/docker/buildx/commands/bake.go:411 +0x304f
github.com/docker/buildx/commands.bakeCmd.func1(0xc00044c300, {0xc0000cef00, 0x0, 0x4})
github.com/docker/buildx/commands/bake.go:433 +0x2a5
github.com/spf13/cobra.(*Command).execute(0xc00044c300, {0xc000050200, 0x4, 0x4})
github.com/spf13/cobra@v1.8.1/command.go:985 +0xabc
github.com/spf13/cobra.(*Command).ExecuteC(0xc000025b00)
github.com/spf13/cobra@v1.8.1/command.go:1117 +0x3ff
|
tests/bake.go#L760
=== RUN TestIntegration/TestBakeMetadataWarnings/worker=docker+containerd/true
bake.go:760:
Error Trace: /src/tests/bake.go:760
/src/tests/bake.go:725
Error: Received unexpected error:
exit status 2
Test: TestIntegration/TestBakeMetadataWarnings/worker=docker+containerd/true
Messages: #0 building with "integration-a4tztf79yxfv62em6k3xbz3bw" instance using docker driver
#1 [internal] load local bake definitions
#1 reading docker-bake.hcl 22B / 22B done
#1 DONE 0.0s
#2 [internal] load build definition from Dockerfile
#2 transferring dockerfile: 130B done
#2 WARN: ConsistentInstructionCasing: Command 'frOM' should be consistently cased (line 2)
#2 WARN: ConsistentInstructionCasing: Command 'cOpy' should be consistently cased (line 3)
#2 WARN: ConsistentInstructionCasing: Command 'COPy' should be consistently cased (line 5)
#2 DONE 0.0s
#3 [internal] load metadata for docker.io/library/busybox:latest
#3 DONE 0.0s
#4 [internal] load .dockerignore
#4 transferring context: 2B done
#4 DONE 0.0s
#5 [base 1/2] FROM docker.io/library/busybox:latest@sha256:023917ec6a886d0e8e15f28fb543515a5fcd8d938edb091e8147db4efed388ee
#5 resolve docker.io/library/busybox:latest@sha256:023917ec6a886d0e8e15f28fb543515a5fcd8d938edb091e8147db4efed388ee done
#5 DONE 0.0s
#6 [internal] load build context
#6 transferring context: 130B done
#6 DONE 0.0s
#7 [base 2/2] COPY Dockerfile .
#7 CACHED
#8 [stage-1 1/1] COPY --from=base /Dockerfile /
#8 CACHED
#9 resolving provenance for metadata file
#9 DONE 0.0s
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x30 pc=0x13c2f6a]
goroutine 1 [running]:
github.com/docker/buildx/util/progress.(*Printer).Warnings(...)
github.com/docker/buildx/util/progress/printer.go:62
github.com/docker/buildx/commands.runBake.func2()
github.com/docker/buildx/commands/bake.go:171 +0x36a
github.com/docker/buildx/commands.runBake({0x27ef548?, 0xc000580000?}, {0x2806238?, 0xc0003e4500}, {0xc0002ac700, 0x0, _}, {{0x3a97e80, 0x0, 0x0}, ...}, ...)
github.com/docker/buildx/commands/bake.go:411 +0x304f
github.com/docker/buildx/commands.bakeCmd.func1(0xc000452300, {0xc0002ac700, 0x0, 0x4})
github.com/docker/buildx/commands/bake.go:433 +0x2a5
github.com/spf13/cobra.(*Command).execute(0xc000452300, {0xc000050200, 0x4, 0x4})
github.com/spf13/cobra@v1.8.1/command.go:985 +0xabc
github.com/spf13/cobra.(*Command).ExecuteC(0xc0003a3b00)
github.com/spf13/cobra@v1.8.1/command.go:1117 +0x3ff
github.com/spf13/cobra.(*Command).Execute(...)
github.com/spf13/cobra@v1.8.1/command.go:1041
main.runStandalone(0xc0003e4500)
github.com/docker/buildx/cmd/buildx/main.go:46 +0xd9
main.main()
github.com/docker/buildx/cmd/buildx/main.
|
tests/bake.go#L760
=== RUN TestIntegration/TestBakeMetadataWarnings/worker=docker+containerd/false
bake.go:760:
Error Trace: /src/tests/bake.go:760
/src/tests/bake.go:728
Error: Received unexpected error:
exit status 2
Test: TestIntegration/TestBakeMetadataWarnings/worker=docker+containerd/false
Messages: #0 building with "integration-a4tztf79yxfv62em6k3xbz3bw" instance using docker driver
#1 [internal] load local bake definitions
#1 reading docker-bake.hcl 22B / 22B done
#1 DONE 0.0s
#2 [internal] load build definition from Dockerfile
#2 transferring dockerfile: 130B done
#2 WARN: ConsistentInstructionCasing: Command 'frOM' should be consistently cased (line 2)
#2 WARN: ConsistentInstructionCasing: Command 'cOpy' should be consistently cased (line 3)
#2 WARN: ConsistentInstructionCasing: Command 'COPy' should be consistently cased (line 5)
#2 DONE 0.0s
#3 [internal] load metadata for docker.io/library/busybox:latest
#3 DONE 0.0s
#4 [internal] load .dockerignore
#4 transferring context: 2B done
#4 DONE 0.0s
#5 [base 1/2] FROM docker.io/library/busybox:latest@sha256:023917ec6a886d0e8e15f28fb543515a5fcd8d938edb091e8147db4efed388ee
#5 resolve docker.io/library/busybox:latest@sha256:023917ec6a886d0e8e15f28fb543515a5fcd8d938edb091e8147db4efed388ee done
#5 DONE 0.0s
#6 [internal] load build context
#6 transferring context: 130B done
#6 DONE 0.0s
#7 [base 2/2] COPY Dockerfile .
#7 CACHED
#8 [stage-1 1/1] COPY --from=base /Dockerfile /
#8 CACHED
#9 resolving provenance for metadata file
#9 DONE 0.0s
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x30 pc=0x13c2f6a]
goroutine 1 [running]:
github.com/docker/buildx/util/progress.(*Printer).Warnings(...)
github.com/docker/buildx/util/progress/printer.go:62
github.com/docker/buildx/commands.runBake.func2()
github.com/docker/buildx/commands/bake.go:171 +0x36a
github.com/docker/buildx/commands.runBake({0x27ef548?, 0xc00033f3b0?}, {0x2806238?, 0xc000497a40}, {0xc00050fd00, 0x0, _}, {{0x3a97e80, 0x0, 0x0}, ...}, ...)
github.com/docker/buildx/commands/bake.go:411 +0x304f
github.com/docker/buildx/commands.bakeCmd.func1(0xc000480300, {0xc00050fd00, 0x0, 0x4})
github.com/docker/buildx/commands/bake.go:433 +0x2a5
github.com/spf13/cobra.(*Command).execute(0xc000480300, {0xc000050200, 0x4, 0x4})
github.com/spf13/cobra@v1.8.1/command.go:985 +0xabc
github.com/spf13/cobra.(*Command).ExecuteC(0xc0000fdb00)
github.com/spf13/cobra@v1.8.1/command.go:1117 +0x3ff
github.com/spf13/cobra.(*Command).Execute(...)
github.com/spf13/cobra@v1.8.1/command.go:1041
main.runStandalone(0xc000497a40)
github.com/docker/buildx/cmd/buildx/main.go:46 +0xd9
main.main()
github.com/docker/buildx/cmd/buildx/mai
|
tests/bake.go#L690
=== RUN TestIntegration/TestBakeMetadataProvenance/worker=docker+containerd/default
bake.go:690:
Error Trace: /src/tests/bake.go:690
/src/tests/bake.go:646
Error: Received unexpected error:
exit status 2
Test: TestIntegration/TestBakeMetadataProvenance/worker=docker+containerd/default
Messages: #0 building with "integration-c9az78j2jl3haqk282hehbmm3" instance using docker driver
#1 [internal] load local bake definitions
#1 reading docker-bake.hcl 22B / 22B done
#1 DONE 0.0s
#2 [internal] load build definition from Dockerfile
#2 transferring dockerfile: 66B done
#2 DONE 0.0s
#3 [internal] load .dockerignore
#3 transferring context: 2B done
#3 DONE 0.0s
#4 [internal] load build context
#4 transferring context: 33B done
#4 DONE 0.0s
#5 [1/1] COPY foo /foo
#5 DONE 0.0s
#6 exporting to image
#6 exporting layers 0.0s done
#6 exporting manifest sha256:5ee03c5bd53f9c9fde00087d3d6b632d94962ed5957845b2e9a795c196a33abe done
#6 exporting config sha256:7fb4afb5b9f776cfb31ae154204b64bc69a5c8d0e12ba6f83cb99fd9d4560e21 done
#6 exporting attestation manifest sha256:37a9c75913fe91614665770906a9d6461c6ffc643149f23603dceb3db15c4778 done
#6 exporting manifest list sha256:a1e8023c86b69ba506f036f196a523ce7227c815d548a985b619c65e8f7df937 done
#6 naming to moby-dangling@sha256:a1e8023c86b69ba506f036f196a523ce7227c815d548a985b619c65e8f7df937 done
#6 unpacking to moby-dangling@sha256:a1e8023c86b69ba506f036f196a523ce7227c815d548a985b619c65e8f7df937 done
#6 DONE 0.1s
#7 resolving provenance for metadata file
#7 DONE 0.0s
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x30 pc=0x13c2f6a]
goroutine 1 [running]:
github.com/docker/buildx/util/progress.(*Printer).Warnings(...)
github.com/docker/buildx/util/progress/printer.go:62
github.com/docker/buildx/commands.runBake.func2()
github.com/docker/buildx/commands/bake.go:171 +0x36a
github.com/docker/buildx/commands.runBake({0x27ef548?, 0xc000364000?}, {0x2806238?, 0xc0005477c0}, {0xc000499600, 0x0, _}, {{0x3a97e80, 0x0, 0x0}, ...}, ...)
github.com/docker/buildx/commands/bake.go:411 +0x304f
github.com/docker/buildx/commands.bakeCmd.func1(0xc00047c300, {0xc000499600, 0x0, 0x4})
github.com/docker/buildx/commands/bake.go:433 +0x2a5
github.com/spf13/cobra.(*Command).execute(0xc00047c300, {0xc000050200, 0x4, 0x4})
github.com/spf13/cobra@v1.8.1/command.go:985 +0xabc
github.com/spf13/cobra.(*Command).ExecuteC(0xc0004fbb00)
github.com/spf13/cobra@v1.8.1/command.go:1117 +0x3ff
github.com/spf13/cobra.(*Command).Execute(...)
github.com/spf13/cobra@v1.8.1/command.go:1041
main.runStandalone(0xc0005477c0)
github.com/docker/buildx/cmd/buildx/main.go:46 +0xd9
main.main()
github.com/docker/buildx/cmd/buildx/main.go:81 +0x13d
--- FAIL: TestIntegration/Tes
|
tests/bake.go#L690
=== RUN TestIntegration/TestBakeMetadataProvenance/worker=docker+containerd/max
bake.go:690:
Error Trace: /src/tests/bake.go:690
/src/tests/bake.go:649
Error: Received unexpected error:
exit status 2
Test: TestIntegration/TestBakeMetadataProvenance/worker=docker+containerd/max
Messages: #0 building with "integration-c9az78j2jl3haqk282hehbmm3" instance using docker driver
#1 [internal] load local bake definitions
#1 reading docker-bake.hcl 22B / 22B done
#1 DONE 0.0s
#2 [internal] load build definition from Dockerfile
#2 transferring dockerfile: 66B done
#2 DONE 0.0s
#3 [internal] load .dockerignore
#3 transferring context: 2B done
#3 DONE 0.0s
#4 [internal] load build context
#4 transferring context: 33B done
#4 DONE 0.0s
#5 [1/1] COPY foo /foo
#5 CACHED
#6 exporting to image
#6 exporting layers done
#6 exporting manifest sha256:5ee03c5bd53f9c9fde00087d3d6b632d94962ed5957845b2e9a795c196a33abe done
#6 exporting config sha256:7fb4afb5b9f776cfb31ae154204b64bc69a5c8d0e12ba6f83cb99fd9d4560e21 done
#6 exporting attestation manifest sha256:69fe776539a05c2011b75f7ce5b2b94a6ef15322b4eae481e2f239bc28c3f42e done
#6 exporting manifest list sha256:e5c882f50f5b52e03f70d5969f6ead5c6b6a468940c544e4f1c9df1ff7c89051 done
#6 naming to moby-dangling@sha256:e5c882f50f5b52e03f70d5969f6ead5c6b6a468940c544e4f1c9df1ff7c89051 done
#6 unpacking to moby-dangling@sha256:e5c882f50f5b52e03f70d5969f6ead5c6b6a468940c544e4f1c9df1ff7c89051 done
#6 DONE 0.0s
#7 resolving provenance for metadata file
#7 DONE 0.0s
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x30 pc=0x13c2f6a]
goroutine 1 [running]:
github.com/docker/buildx/util/progress.(*Printer).Warnings(...)
github.com/docker/buildx/util/progress/printer.go:62
github.com/docker/buildx/commands.runBake.func2()
github.com/docker/buildx/commands/bake.go:171 +0x36a
github.com/docker/buildx/commands.runBake({0x27ef548?, 0xc0004be1e0?}, {0x2806238?, 0xc000495040}, {0xc000109e00, 0x0, _}, {{0x3a97e80, 0x0, 0x0}, ...}, ...)
github.com/docker/buildx/commands/bake.go:411 +0x304f
github.com/docker/buildx/commands.bakeCmd.func1(0xc0004c4300, {0xc000109e00, 0x0, 0x4})
github.com/docker/buildx/commands/bake.go:433 +0x2a5
github.com/spf13/cobra.(*Command).execute(0xc0004c4300, {0xc000050200, 0x4, 0x4})
github.com/spf13/cobra@v1.8.1/command.go:985 +0xabc
github.com/spf13/cobra.(*Command).ExecuteC(0xc000005b00)
github.com/spf13/cobra@v1.8.1/command.go:1117 +0x3ff
github.com/spf13/cobra.(*Command).Execute(...)
github.com/spf13/cobra@v1.8.1/command.go:1041
main.runStandalone(0xc000495040)
github.com/docker/buildx/cmd/buildx/main.go:46 +0xd9
main.main()
github.com/docker/buildx/cmd/buildx/main.go:81 +0x13d
--- FAIL: TestIntegration/TestBakeMetadataPro
|
tests/bake.go#L690
=== RUN TestIntegration/TestBakeMetadataProvenance/worker=docker+containerd/min
bake.go:690:
Error Trace: /src/tests/bake.go:690
/src/tests/bake.go:652
Error: Received unexpected error:
exit status 2
Test: TestIntegration/TestBakeMetadataProvenance/worker=docker+containerd/min
Messages: #0 building with "integration-c9az78j2jl3haqk282hehbmm3" instance using docker driver
#1 [internal] load local bake definitions
#1 reading docker-bake.hcl 22B / 22B done
#1 DONE 0.0s
#2 [internal] load build definition from Dockerfile
#2 transferring dockerfile: 66B done
#2 DONE 0.0s
#3 [internal] load .dockerignore
#3 transferring context: 2B done
#3 DONE 0.0s
#4 [internal] load build context
#4 transferring context: 33B done
#4 DONE 0.0s
#5 [1/1] COPY foo /foo
#5 CACHED
#6 exporting to image
#6 exporting layers done
#6 exporting manifest sha256:5ee03c5bd53f9c9fde00087d3d6b632d94962ed5957845b2e9a795c196a33abe done
#6 exporting config sha256:7fb4afb5b9f776cfb31ae154204b64bc69a5c8d0e12ba6f83cb99fd9d4560e21 done
#6 exporting attestation manifest sha256:804c0b58fd42e8d6570e4c32e8bff29851d237ace743a3a6a6fda6b217533f2e done
#6 exporting manifest list sha256:28114d5804a6c13698210e61020379d9501954e1997bb11b6aa2724c7641d888 done
#6 naming to moby-dangling@sha256:28114d5804a6c13698210e61020379d9501954e1997bb11b6aa2724c7641d888 done
#6 unpacking to moby-dangling@sha256:28114d5804a6c13698210e61020379d9501954e1997bb11b6aa2724c7641d888 done
#6 DONE 0.0s
#7 resolving provenance for metadata file
#7 DONE 0.0s
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x30 pc=0x13c2f6a]
goroutine 1 [running]:
github.com/docker/buildx/util/progress.(*Printer).Warnings(...)
github.com/docker/buildx/util/progress/printer.go:62
github.com/docker/buildx/commands.runBake.func2()
github.com/docker/buildx/commands/bake.go:171 +0x36a
github.com/docker/buildx/commands.runBake({0x27ef548?, 0xc000502000?}, {0x2806238?, 0xc0003c2f00}, {0xc00042fc40, 0x0, _}, {{0x3a97e80, 0x0, 0x0}, ...}, ...)
github.com/docker/buildx/commands/bake.go:411 +0x304f
github.com/docker/buildx/commands.bakeCmd.func1(0xc0004a4300, {0xc00042fc40, 0x0, 0x4})
github.com/docker/buildx/commands/bake.go:433 +0x2a5
github.com/spf13/cobra.(*Command).execute(0xc0004a4300, {0xc0000ea140, 0x4, 0x4})
github.com/spf13/cobra@v1.8.1/command.go:985 +0xabc
github.com/spf13/cobra.(*Command).ExecuteC(0xc000005b00)
github.com/spf13/cobra@v1.8.1/command.go:1117 +0x3ff
github.com/spf13/cobra.(*Command).Execute(...)
github.com/spf13/cobra@v1.8.1/command.go:1041
main.runStandalone(0xc0003c2f00)
github.com/docker/buildx/cmd/buildx/main.go:46 +0xd9
main.main()
github.com/docker/buildx/cmd/buildx/main.go:81 +0x13d
--- FAIL: TestIntegration/TestBakeMetadataPro
|
|
The logs for this run have expired and are no longer available.
Loading