bake: add call methods support and printing #4103
Annotations
10 errors
tests/run.go#L273
=== RUN TestIntegration
time="2024-06-28T07:20:04Z" level=info msg="trying next host - response was http.StatusNotFound" host="localhost:33521"
run.go:273: copied docker.io/amd64/busybox:latest@sha256:023917ec6a886d0e8e15f28fb543515a5fcd8d938edb091e8147db4efed388ee to local mirror localhost:33521/library/busybox:latest
time="2024-06-28T07:20:05Z" level=info msg="trying next host - response was http.StatusNotFound" host="localhost:33521"
run.go:273: copied docker.io/amd64/alpine:latest@sha256:25fad2a32ad1f6f510e528448ae1ec69a28ef81916a004d3629874104f8a7f70 to local mirror localhost:33521/library/alpine:latest
time="2024-06-28T07:20:05Z" level=info msg="trying next host - response was http.StatusNotFound" host="localhost:33521"
run.go:273: copied docker.io/moby/buildkit:master to local mirror localhost:33521/moby/buildkit:buildx-stable-1
--- FAIL: TestIntegration (6.02s)
|
tests/bake.go#L819
=== RUN TestIntegration/TestBakeMetadataWarningsDedup/worker=docker-container
=== PAUSE TestIntegration/TestBakeMetadataWarningsDedup/worker=docker-container
=== CONT TestIntegration/TestBakeMetadataWarningsDedup/worker=docker-container
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-container
Messages: #0 building with "integration-container-wipg7qgk9mids06iocz7dp8i4" instance using docker-container 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:
#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.1s
#11 [def base 2/2] COPY Dockerfile .
#11 DONE 0.0s
|
tests/bake.go#L760
=== RUN TestIntegration/TestBakeMetadataWarnings/worker=docker-container/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-container/default
Messages: #0 building with "integration-container-f7xvmrle3s7otmjpv21yaont6" instance using docker-container 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 [internal] load build context
#5 transferring context: 130B done
#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
#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?, 0xc000580000?}, {0x2806238?, 0xc0004a8a00}, {0xc0004a46c0, 0x0, _}, {{0x3a97e80, 0x0, 0x0}, ...}, ...)
github.com/docker/buildx/commands/bake.go:411 +0x304f
github.com/docker/buildx/commands.bakeCmd.func1(0xc0004cc300, {0xc0004a46c0, 0x0, 0x4})
github.com/docker/buildx/commands/bake.go:433 +0x2a5
github.com/spf13/cobra.(*Command).execute(0xc0004cc300, {0xc0000ea140, 0x4, 0x4})
github.com/spf13/cobra@v1.8.1/command.go:985 +0xabc
github.com/spf13/cobra.(*Command).ExecuteC(0xc000201b00)
github.com/spf13/cobra@v1.8.1/command.go:1117 +0x3ff
|
tests/bake.go#L760
=== RUN TestIntegration/TestBakeMetadataWarnings/worker=docker-container/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-container/true
Messages: #0 building with "integration-container-f7xvmrle3s7otmjpv21yaont6" instance using docker-container 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 [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 DONE 0.0s
#5 [internal] load build context
#5 transferring context: 130B done
#5 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?, 0xc0005a6000?}, {0x2806238?, 0xc0001d1400}, {0xc0004486c0, 0x0, _}, {{0x3a97e80, 0x0, 0x0}, ...}, ...)
github.com/docker/buildx/commands/bake.go:411 +0x304f
github.com/docker/buildx/commands.bakeCmd.func1(0xc000460300, {0xc0004486c0, 0x0, 0x4})
github.com/docker/buildx/commands/bake.go:433 +0x2a5
github.com/spf13/cobra.(*Command).execute(0xc000460300, {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
|
tests/bake.go#L760
=== RUN TestIntegration/TestBakeMetadataWarnings/worker=docker-container/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-container/false
Messages: #0 building with "integration-container-f7xvmrle3s7otmjpv21yaont6" instance using docker-container 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?, 0xc0003bfbd0?}, {0x2806238?, 0xc0001dea00}, {0xc0002ad700, 0x0, _}, {{0x3a97e80, 0x0, 0x0}, ...}, ...)
github.com/docker/buildx/commands/bake.go:411 +0x304f
github.com/docker/buildx/commands.bakeCmd.func1(0xc0003e1800, {0xc0002ad700, 0x0, 0x4})
github.com/docker/buildx/commands/bake.go:433 +0x2a5
github.com/spf13/cobra.(*Command).execute(0xc0003e1800, {0xc000050200, 0x4, 0x4})
github.com/spf13/cobra@v1.8.1/command.go:985 +0xabc
github.com/spf13/cobra.(*Command).ExecuteC(0xc0003e0f00)
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(0xc0001dea00)
github.com/docker/buildx/cmd/buildx/main.go:
|
tests/bake.go#L690
=== RUN TestIntegration/TestBakeMetadataProvenance/worker=docker-container/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-container/default
Messages: #0 building with "integration-container-lfx32ai9z7ggwn9ey02co4kfr" instance using docker-container 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:6b9f235a269612f2dfacb46da735f8dd597dcf0caf938d05411d3f232b3d9340 done
#6 exporting config sha256:73a34ed708a290f271a68ed86efa9c891d2bbc000ad68c4f1fb919f2fc027c08 done
#6 sending tarball 0.0s done
#6 DONE 0.1s
#7 importing to docker
#7 loading layer c00700dfa43f 98B / 98B 0.0s done
#7 DONE 0.0s
#8 resolving provenance for metadata file
#8 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?, 0xc0002d4000?}, {0x2806238?, 0xc000102f00}, {0xc0000bac80, 0x0, _}, {{0x3a97e80, 0x0, 0x0}, ...}, ...)
github.com/docker/buildx/commands/bake.go:411 +0x304f
github.com/docker/buildx/commands.bakeCmd.func1(0xc000005800, {0xc0000bac80, 0x0, 0x4})
github.com/docker/buildx/commands/bake.go:433 +0x2a5
github.com/spf13/cobra.(*Command).execute(0xc000005800, {0xc0000ea140, 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(0xc000102f00)
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=docker-container/default (0.26s)
|
tests/bake.go#L690
=== RUN TestIntegration/TestBakeMetadataProvenance/worker=docker-container/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-container/max
Messages: #0 building with "integration-container-lfx32ai9z7ggwn9ey02co4kfr" instance using docker-container 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:6b9f235a269612f2dfacb46da735f8dd597dcf0caf938d05411d3f232b3d9340 done
#6 exporting config sha256:73a34ed708a290f271a68ed86efa9c891d2bbc000ad68c4f1fb919f2fc027c08 done
#6 sending tarball 0.0s done
#6 DONE 0.0s
#7 importing to docker
#7 DONE 0.0s
#8 resolving provenance for metadata file
#8 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?, 0xc0002c33b0?}, {0x2806238?, 0xc0000cec80}, {0xc000028a40, 0x0, _}, {{0x3a97e80, 0x0, 0x0}, ...}, ...)
github.com/docker/buildx/commands/bake.go:411 +0x304f
github.com/docker/buildx/commands.bakeCmd.func1(0xc000454300, {0xc000028a40, 0x0, 0x4})
github.com/docker/buildx/commands/bake.go:433 +0x2a5
github.com/spf13/cobra.(*Command).execute(0xc000454300, {0xc000138140, 0x4, 0x4})
github.com/spf13/cobra@v1.8.1/command.go:985 +0xabc
github.com/spf13/cobra.(*Command).ExecuteC(0xc0001cfb00)
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(0xc0000cec80)
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=docker-container/max (0.23s)
|
tests/bake.go#L690
=== RUN TestIntegration/TestBakeMetadataProvenance/worker=docker-container/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-container/min
Messages: #0 building with "integration-container-lfx32ai9z7ggwn9ey02co4kfr" instance using docker-container 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:6b9f235a269612f2dfacb46da735f8dd597dcf0caf938d05411d3f232b3d9340 done
#6 exporting config sha256:73a34ed708a290f271a68ed86efa9c891d2bbc000ad68c4f1fb919f2fc027c08 done
#6 sending tarball 0.0s done
#6 DONE 0.0s
#7 importing to docker
#7 DONE 0.0s
#8 resolving provenance for metadata file
#8 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?, 0xc0005b8870?}, {0x2806238?, 0xc000546500}, {0xc0002dee00, 0x0, _}, {{0x3a97e80, 0x0, 0x0}, ...}, ...)
github.com/docker/buildx/commands/bake.go:411 +0x304f
github.com/docker/buildx/commands.bakeCmd.func1(0xc000004300, {0xc0002dee00, 0x0, 0x4})
github.com/docker/buildx/commands/bake.go:433 +0x2a5
github.com/spf13/cobra.(*Command).execute(0xc000004300, {0xc0000ea140, 0x4, 0x4})
github.com/spf13/cobra@v1.8.1/command.go:985 +0xabc
github.com/spf13/cobra.(*Command).ExecuteC(0xc0004b7800)
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(0xc000546500)
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=docker-container/min (0.25s)
|
tests/bake.go#L690
=== RUN TestIntegration/TestBakeMetadataProvenance/worker=docker-container/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=docker-container/disabled
Messages: #0 building with "integration-container-lfx32ai9z7ggwn9ey02co4kfr" instance using docker-container 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:6b9f235a269612f2dfacb46da735f8dd597dcf0caf938d05411d3f232b3d9340 done
#6 exporting config sha256:73a34ed708a290f271a68ed86efa9c891d2bbc000ad68c4f1fb919f2fc027c08 done
#6 sending tarball done
#6 DONE 0.0s
#7 importing to docker
#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?, 0xc00002c000?}, {0x2806238?, 0xc000434280}, {0xc000516dc0, 0x0, _}, {{0x3a97e80, 0x0, 0x0}, ...}, ...)
github.com/docker/buildx/commands/bake.go:411 +0x304f
github.com/docker/buildx/commands.bakeCmd.func1(0xc000462300, {0xc000516dc0, 0x0, 0x4})
github.com/docker/buildx/commands/bake.go:433 +0x2a5
github.com/spf13/cobra.(*Command).execute(0xc000462300, {0xc000050200, 0x4, 0x4})
github.com/spf13/cobra@v1.8.1/command.go:985 +0xabc
github.com/spf13/cobra.(*Command).ExecuteC(0xc0000afb00)
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(0xc000434280)
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=docker-container/disabled (0.23s)
|
|
The logs for this run have expired and are no longer available.
Loading