bake: add call methods support and printing #4103
Annotations
11 errors
tests/run.go#L273
=== RUN TestIntegration
time="2024-06-28T07:20:09Z" level=info msg="trying next host - response was http.StatusNotFound" host="localhost:44443"
run.go:273: copied docker.io/moby/buildkit:latest to local mirror localhost:44443/moby/buildkit:buildx-stable-1
time="2024-06-28T07:20:14Z" level=info msg="trying next host - response was http.StatusNotFound" host="localhost:44443"
run.go:273: copied docker.io/amd64/busybox:latest@sha256:023917ec6a886d0e8e15f28fb543515a5fcd8d938edb091e8147db4efed388ee to local mirror localhost:44443/library/busybox:latest
time="2024-06-28T07:20:15Z" level=info msg="trying next host - response was http.StatusNotFound" host="localhost:44443"
run.go:273: copied docker.io/amd64/alpine:latest@sha256:25fad2a32ad1f6f510e528448ae1ec69a28ef81916a004d3629874104f8a7f70 to local mirror localhost:44443/library/alpine:latest
--- FAIL: TestIntegration (7.36s)
|
tests/sandbox.go#L133
=== RUN TestIntegration/TestBakeMetadataProvenance/worker=remote
=== PAUSE TestIntegration/TestBakeMetadataProvenance/worker=remote
=== CONT TestIntegration/TestBakeMetadataProvenance/worker=remote
sandbox.go:133: stdout: /usr/bin/buildkitd --oci-worker=true --containerd-worker=false --oci-worker-gc=false --oci-worker-labels=org.mobyproject.buildkit.worker.sandbox=true --config=/tmp/bktest_config3052324547/buildkitd.toml --root /tmp/bktest_buildkitd1308146651 --addr unix:///tmp/bktest_buildkitd1308146651/buildkitd.sock --debug
sandbox.go:133: stderr: /usr/bin/buildkitd --oci-worker=true --containerd-worker=false --oci-worker-gc=false --oci-worker-labels=org.mobyproject.buildkit.worker.sandbox=true --config=/tmp/bktest_config3052324547/buildkitd.toml --root /tmp/bktest_buildkitd1308146651 --addr unix:///tmp/bktest_buildkitd1308146651/buildkitd.sock --debug
sandbox.go:136: > StartCmd 2024-06-28 07:20:21.666095841 +0000 UTC m=+12.953211216 /usr/bin/buildkitd --oci-worker=true --containerd-worker=false --oci-worker-gc=false --oci-worker-labels=org.mobyproject.buildkit.worker.sandbox=true --config=/tmp/bktest_config3052324547/buildkitd.toml --root /tmp/bktest_buildkitd1308146651 --addr unix:///tmp/bktest_buildkitd1308146651/buildkitd.sock --debug
sandbox.go:136: time="2024-06-28T07:20:21Z" level=warning msg="failed to get disk size: no such file or directory"
sandbox.go:136: time="2024-06-28T07:20:21Z" level=warning msg="failed to get disk size: no such file or directory"
sandbox.go:136: time="2024-06-28T07:20:21Z" level=info msg="auto snapshotter: using overlayfs"
sandbox.go:136: time="2024-06-28T07:20:21Z" level=warning msg="using host network as the default"
sandbox.go:136: time="2024-06-28T07:20:21Z" level=info msg="found worker \"x15038vcc2ofe0l1m3ryoe0ko\", labels=map[org.mobyproject.buildkit.worker.executor:oci org.mobyproject.buildkit.worker.hostname:13672fee3586 org.mobyproject.buildkit.worker.network:host org.mobyproject.buildkit.worker.oci.process-mode:sandbox org.mobyproject.buildkit.worker.sandbox:true org.mobyproject.buildkit.worker.selinux.enabled:false org.mobyproject.buildkit.worker.snapshotter:overlayfs], platforms=[linux/amd64 linux/amd64/v2 linux/amd64/v3 linux/arm64 linux/riscv64 linux/ppc64le linux/s390x linux/386 linux/mips64le linux/mips64 linux/arm/v7 linux/arm/v6]"
sandbox.go:136: time="2024-06-28T07:20:21Z" level=info msg="found 1 workers, default=\"x15038vcc2ofe0l1m3ryoe0ko\""
sandbox.go:136: time="2024-06-28T07:20:21Z" level=warning msg="currently, only the default worker can be used."
sandbox.go:136: time="2024-06-28T07:20:21Z" level=info msg="running server on /tmp/bktest_buildkitd1308146651/buildkitd.sock"
sandbox.go:136: time="2024-06-28T07:20:21Z" level=debug msg="session started"
sandbox.go:136: time="2024-06-28T07:20:21Z" level=debug msg="session finished: <nil>"
sandbox.go:136: time="2024-06-28T07:20:21Z" level=debug msg="session started"
sandbox.go:136: time="2024-06-28T07:20:21Z" level=debug msg="resolve exporter docker with map[]"
sandbox.go:136: time="2024-06-28T07:20:21Z" level=debug msg="new ref for local: fnm4lwyyilqdlahzz9kb12v11" span="[internal] load build definition from Dockerfile"
sandbox.go:136: time="2024-06-28T07:20:21Z" level=debug msg="diffcopy took: 2.731799ms" span="[internal] load build definition from Dockerfile"
sandbox.go:136: time="2024-06-28T07:20:21Z" level=debug msg="saved fnm4lwyyilqdlahzz9kb12v11 as dockerfile:dockerfile:" span="[internal] load build definition from Dockerfile"
sandbox.go:136: time="2024-06-28T07:20:21Z" level=debug msg="new ref for local: tqz82k8btnynt3jlbxnxbkx2w" span="[internal] load .dockerignore"
sandbox.go:136: time="2024-06-28T07:20:21Z" level=debug msg="diffcopy took: 1.176234ms" span="[internal] load .dockerignore"
sandbox.go:136: time="2024-06-28T07:20:21Z" level=debug msg="saved tqz82k8btnynt3jlbxnxbkx2w as context:context-.dockerignore:" span="[internal] load .dockerignore"
sandbox.go:136: time="2024-06-28T07:20:21Z" level=debug msg="new ref
|
tests/sandbox.go#L133
=== RUN TestIntegration/TestBakeMetadataWarnings/worker=remote
=== PAUSE TestIntegration/TestBakeMetadataWarnings/worker=remote
=== CONT TestIntegration/TestBakeMetadataWarnings/worker=remote
sandbox.go:133: stdout: /usr/bin/buildkitd --oci-worker=true --containerd-worker=false --oci-worker-gc=false --oci-worker-labels=org.mobyproject.buildkit.worker.sandbox=true --config=/tmp/bktest_config1010549525/buildkitd.toml --root /tmp/bktest_buildkitd463081547 --addr unix:///tmp/bktest_buildkitd463081547/buildkitd.sock --debug
sandbox.go:133: stderr: /usr/bin/buildkitd --oci-worker=true --containerd-worker=false --oci-worker-gc=false --oci-worker-labels=org.mobyproject.buildkit.worker.sandbox=true --config=/tmp/bktest_config1010549525/buildkitd.toml --root /tmp/bktest_buildkitd463081547 --addr unix:///tmp/bktest_buildkitd463081547/buildkitd.sock --debug
sandbox.go:136: > StartCmd 2024-06-28 07:20:21.603031883 +0000 UTC m=+12.890147268 /usr/bin/buildkitd --oci-worker=true --containerd-worker=false --oci-worker-gc=false --oci-worker-labels=org.mobyproject.buildkit.worker.sandbox=true --config=/tmp/bktest_config1010549525/buildkitd.toml --root /tmp/bktest_buildkitd463081547 --addr unix:///tmp/bktest_buildkitd463081547/buildkitd.sock --debug
sandbox.go:136: time="2024-06-28T07:20:21Z" level=warning msg="failed to get disk size: no such file or directory"
sandbox.go:136: time="2024-06-28T07:20:21Z" level=warning msg="failed to get disk size: no such file or directory"
sandbox.go:136: time="2024-06-28T07:20:21Z" level=info msg="auto snapshotter: using overlayfs"
sandbox.go:136: time="2024-06-28T07:20:21Z" level=warning msg="using host network as the default"
sandbox.go:136: time="2024-06-28T07:20:21Z" level=info msg="found worker \"i4c7u28dvx7n3c3koghmpgkw6\", labels=map[org.mobyproject.buildkit.worker.executor:oci org.mobyproject.buildkit.worker.hostname:13672fee3586 org.mobyproject.buildkit.worker.network:host org.mobyproject.buildkit.worker.oci.process-mode:sandbox org.mobyproject.buildkit.worker.sandbox:true org.mobyproject.buildkit.worker.selinux.enabled:false org.mobyproject.buildkit.worker.snapshotter:overlayfs], platforms=[linux/amd64 linux/amd64/v2 linux/amd64/v3 linux/arm64 linux/riscv64 linux/ppc64le linux/s390x linux/386 linux/mips64le linux/mips64 linux/arm/v7 linux/arm/v6]"
sandbox.go:136: time="2024-06-28T07:20:21Z" level=info msg="found 1 workers, default=\"i4c7u28dvx7n3c3koghmpgkw6\""
sandbox.go:136: time="2024-06-28T07:20:21Z" level=warning msg="currently, only the default worker can be used."
sandbox.go:136: time="2024-06-28T07:20:21Z" level=info msg="running server on /tmp/bktest_buildkitd463081547/buildkitd.sock"
sandbox.go:136: time="2024-06-28T07:20:21Z" level=debug msg="session started"
sandbox.go:136: time="2024-06-28T07:20:21Z" level=debug msg="session finished: <nil>"
sandbox.go:136: time="2024-06-28T07:20:21Z" level=debug msg="session started"
sandbox.go:136: time="2024-06-28T07:20:21Z" level=debug msg="new ref for local: 66rgy7e83wmzimdwculk8cnpx" span="[internal] load build definition from Dockerfile"
sandbox.go:136: time="2024-06-28T07:20:21Z" level=debug msg="diffcopy took: 3.243441ms" span="[internal] load build definition from Dockerfile"
sandbox.go:136: time="2024-06-28T07:20:21Z" level=debug msg="saved 66rgy7e83wmzimdwculk8cnpx as dockerfile:dockerfile:" span="[internal] load build definition from Dockerfile"
sandbox.go:136: time="2024-06-28T07:20:21Z" level=debug msg="checked for cached auth handler namespace" cached=false key="docker.io/library/busybox::pull" name=docker.io/library/busybox scope=pull
sandbox.go:136: time="2024-06-28T07:20:21Z" level=debug msg=resolving host="localhost:44443"
sandbox.go:136: time="2024-06-28T07:20:21Z" level=debug msg="do request" host="localhost:44443" request.header.accept="application/vnd.docker.distribution.manifest.v2+json, application/vnd.docker.distribution.manifest.list.v2+json, application/vnd.oci.image.manifest.v1+json, application/vnd.oci.image.index.v1+json, */*" request.
|
tests/bake.go#L819
=== RUN TestIntegration/TestBakeMetadataWarningsDedup/worker=remote
=== PAUSE TestIntegration/TestBakeMetadataWarningsDedup/worker=remote
=== CONT TestIntegration/TestBakeMetadataWarningsDedup/worker=remote
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=remote
Messages: #0 building with "integration-remote-6a42h0fisrhl5pmzc1e6cw2o8" instance using remote driver
#1 [internal] load local bake definitions
#1 reading docker-bake.hcl 102B / 102B done
#1 DONE 0.0s
#2 [base internal] load build definition from Dockerfile
#2 transferring dockerfile: 130B done
#2 WARN: ConsistentInstructionCasing: Command 'frOM' should match the case of the command majority (lowercase) (line 2)
#2 WARN: ConsistentInstructionCasing: Command 'cOpy' should match the case of the command majority (lowercase) (line 3)
#2 WARN: ConsistentInstructionCasing: Command 'COPy' should match the case of the command majority (lowercase) (line 5)
#2 DONE 0.0s
#3 [def internal] load build definition from Dockerfile
#3 transferring dockerfile: 130B done
#3 WARN: ConsistentInstructionCasing: Command 'frOM' should match the case of the command majority (lowercase) (line 2)
#3 WARN: ConsistentInstructionCasing: Command 'cOpy' should match the case of the command majority (lowercase) (line 3)
#3 WARN: ConsistentInstructionCasing: Command 'COPy' should match the case of the command majority (lowercase) (line 5)
#3 DONE 0.0s
#4 [def internal] load metadata for docker.io/library/busybox:latest
#4 DONE 0.0s
#5 [base internal] load .dockerignore
#5 transferring context: 2B done
#5 DONE 0.0s
#6 [def 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.2s
#11 [base base 2/2] COPY Dockerfile .
#11 DONE 0.0s
#12 [def stage-1 1/1] COPY --from=base /Dockerfile /
|
tests/bake.go#L760
=== RUN TestIntegration/TestBakeMetadataWarnings/worker=remote/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=remote/default
Messages: #0 building with "integration-remote-etyj920pgwf3lz7zzzl00q9mr" instance using remote 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 match the case of the command majority (lowercase) (line 2)
#2 WARN: ConsistentInstructionCasing: Command 'cOpy' should match the case of the command majority (lowercase) (line 3)
#2 WARN: ConsistentInstructionCasing: Command 'COPy' should match the case of the command majority (lowercase) (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
#5 [base 1/2] FROM docker.io/library/busybox:latest@sha256:023917ec6a886d0e8e15f28fb543515a5fcd8d938edb091e8147db4efed388ee
#5 sha256:3f4d90098f5b5a6f6a76e9d217da85aa39b2081e30fa1f7d287138d6e7bf0ad7 2.22MB / 2.22MB 0.0s done
#5 extracting sha256:3f4d90098f5b5a6f6a76e9d217da85aa39b2081e30fa1f7d287138d6e7bf0ad7 0.1s done
#5 DONE 0.2s
#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?, 0xc000340000?}, {0x2806238?, 0xc0005ad7c0}, {0xc00050a240, 0x0, _}, {{0x3a97e80, 0x0, 0x0}, ...}, ...)
github.com/docker/buildx/commands/bake.go:411 +0x304f
github.com/docker/buildx/commands.bakeCmd.func1(0xc000456300, {0xc00050a240, 0x0, 0x4})
github.com/docker/buildx/commands/bake.go:433 +0x2a5
github.com/spf13/cobra.(*Command).execute(0xc000456300, {0xc0001b8140, 0x4, 0x4})
github.com/spf13/cobra@v1.8.1/command.go:985
|
tests/bake.go#L690
=== RUN TestIntegration/TestBakeMetadataProvenance/worker=remote/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=remote/default
Messages: #0 building with "integration-remote-cune9p8paw7fg4kygqame7j7e" instance using remote 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 docker image format
#6 exporting layers 0.0s done
#6 exporting manifest sha256:9c360cf975d76be4731486f1f1e716c5ce119ea245598a3e5748f8505e3ef082
#6 exporting manifest sha256:9c360cf975d76be4731486f1f1e716c5ce119ea245598a3e5748f8505e3ef082 done
#6 exporting config sha256:a864dfb388a3968ce2d0cc5b842185882f1ff7a1085d92e346a0a4d0cb81bd7d done
#6 sending tarball 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?, 0xc0004acdc0?}, {0x2806238?, 0xc0004bd900}, {0xc000313d40, 0x0, _}, {{0x3a97e80, 0x0, 0x0}, ...}, ...)
github.com/docker/buildx/commands/bake.go:411 +0x304f
github.com/docker/buildx/commands.bakeCmd.func1(0xc000260300, {0xc000313d40, 0x0, 0x4})
github.com/docker/buildx/commands/bake.go:433 +0x2a5
github.com/spf13/cobra.(*Command).execute(0xc000260300, {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(0xc0004bd900)
github.com/docker/buildx/cmd/buildx/main.go:46 +0xd9
main.main()
github.com/docker/buildx/cmd/buildx/main.go:81 +0x13d
--- FAIL: TestIntegration/TestBakeMetadataProvenance/worker=remote/default (0.19s)
|
tests/bake.go#L690
=== RUN TestIntegration/TestBakeMetadataProvenance/worker=remote/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=remote/max
Messages: #0 building with "integration-remote-cune9p8paw7fg4kygqame7j7e" instance using remote 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 0.0s 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 docker image format
#6 exporting layers done
#6 exporting manifest sha256:9c360cf975d76be4731486f1f1e716c5ce119ea245598a3e5748f8505e3ef082 done
#6 exporting config sha256:a864dfb388a3968ce2d0cc5b842185882f1ff7a1085d92e346a0a4d0cb81bd7d done
#6 sending tarball 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?, 0xc0004684b0?}, {0x2806238?, 0xc00054a500}, {0xc000117f00, 0x0, _}, {{0x3a97e80, 0x0, 0x0}, ...}, ...)
github.com/docker/buildx/commands/bake.go:411 +0x304f
github.com/docker/buildx/commands.bakeCmd.func1(0xc000472300, {0xc000117f00, 0x0, 0x4})
github.com/docker/buildx/commands/bake.go:433 +0x2a5
github.com/spf13/cobra.(*Command).execute(0xc000472300, {0xc000142140, 0x4, 0x4})
github.com/spf13/cobra@v1.8.1/command.go:985 +0xabc
github.com/spf13/cobra.(*Command).ExecuteC(0xc0001dbb00)
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(0xc00054a500)
github.com/docker/buildx/cmd/buildx/main.go:46 +0xd9
main.main()
github.com/docker/buildx/cmd/buildx/main.go:81 +0x13d
--- FAIL: TestIntegration/TestBakeMetadataProvenance/worker=remote/max (0.12s)
|
tests/bake.go#L690
=== RUN TestIntegration/TestBakeMetadataProvenance/worker=remote/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=remote/min
Messages: #0 building with "integration-remote-cune9p8paw7fg4kygqame7j7e" instance using remote 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 docker image format
#6 exporting layers done
#6 exporting manifest sha256:9c360cf975d76be4731486f1f1e716c5ce119ea245598a3e5748f8505e3ef082 done
#6 exporting config sha256:a864dfb388a3968ce2d0cc5b842185882f1ff7a1085d92e346a0a4d0cb81bd7d done
#6 sending tarball 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?, 0xc00040b950?}, {0x2806238?, 0xc000052a00}, {0xc000288500, 0x0, _}, {{0x3a97e80, 0x0, 0x0}, ...}, ...)
github.com/docker/buildx/commands/bake.go:411 +0x304f
github.com/docker/buildx/commands.bakeCmd.func1(0xc000473500, {0xc000288500, 0x0, 0x4})
github.com/docker/buildx/commands/bake.go:433 +0x2a5
github.com/spf13/cobra.(*Command).execute(0xc000473500, {0xc000050200, 0x4, 0x4})
github.com/spf13/cobra@v1.8.1/command.go:985 +0xabc
github.com/spf13/cobra.(*Command).ExecuteC(0xc000472f00)
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(0xc000052a00)
github.com/docker/buildx/cmd/buildx/main.go:46 +0xd9
main.main()
github.com/docker/buildx/cmd/buildx/main.go:81 +0x13d
--- FAIL: TestIntegration/TestBakeMetadataProvenance/worker=remote/min (0.15s)
|
tests/bake.go#L760
=== RUN TestIntegration/TestBakeMetadataWarnings/worker=remote/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=remote/true
Messages: #0 building with "integration-remote-etyj920pgwf3lz7zzzl00q9mr" instance using remote 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 match the case of the command majority (lowercase) (line 2)
#2 WARN: ConsistentInstructionCasing: Command 'cOpy' should match the case of the command majority (lowercase) (line 3)
#2 WARN: ConsistentInstructionCasing: Command 'COPy' should match the case of the command majority (lowercase) (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?, 0xc0002c6000?}, {0x2806238?, 0xc0004e3040}, {0xc00031f140, 0x0, _}, {{0x3a97e80, 0x0, 0x0}, ...}, ...)
github.com/docker/buildx/commands/bake.go:411 +0x304f
github.com/docker/buildx/commands.bakeCmd.func1(0xc000005800, {0xc00031f140, 0x0, 0x4})
github.com/docker/buildx/commands/bake.go:433 +0x2a5
github.com/spf13/cobra.(*Command).execute(0xc000005800, {0xc000142140, 0x4, 0x4})
github.com/spf13/cobra@v1.8.1/command.go:985 +0xabc
github.com/spf13/cobra.(*Command).ExecuteC(0xc000005200)
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(0xc0004e3040)
github.com/docker/buildx/cmd/buildx/main.go:46 +0xd9
main
|
tests/bake.go#L690
=== RUN TestIntegration/TestBakeMetadataProvenance/worker=remote/disabled
bake.go:690:
Error Trace: /src/tests/bake.go:690
/src/tests/bake.go:655
Error: Received unexpected error:
exit status 2
Test: TestIntegration/TestBakeMetadataProvenance/worker=remote/disabled
Messages: #0 building with "integration-remote-cune9p8paw7fg4kygqame7j7e" instance using remote 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 docker image format
#6 exporting layers done
#6 exporting manifest sha256:9c360cf975d76be4731486f1f1e716c5ce119ea245598a3e5748f8505e3ef082 done
#6 exporting config sha256:a864dfb388a3968ce2d0cc5b842185882f1ff7a1085d92e346a0a4d0cb81bd7d done
#6 sending tarball done
#6 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?, 0xc00038f3b0?}, {0x2806238?, 0xc00038aa00}, {0xc0004c0e00, 0x0, _}, {{0x3a97e80, 0x0, 0x0}, ...}, ...)
github.com/docker/buildx/commands/bake.go:411 +0x304f
github.com/docker/buildx/commands.bakeCmd.func1(0xc000472300, {0xc0004c0e00, 0x0, 0x4})
github.com/docker/buildx/commands/bake.go:433 +0x2a5
github.com/spf13/cobra.(*Command).execute(0xc000472300, {0xc000050200, 0x4, 0x4})
github.com/spf13/cobra@v1.8.1/command.go:985 +0xabc
github.com/spf13/cobra.(*Command).ExecuteC(0xc00037db00)
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(0xc00038aa00)
github.com/docker/buildx/cmd/buildx/main.go:46 +0xd9
main.main()
github.com/docker/buildx/cmd/buildx/main.go:81 +0x13d
--- FAIL: TestIntegration/TestBakeMetadataProvenance/worker=remote/disabled (0.12s)
|
|
The logs for this run have expired and are no longer available.
Loading