bake: add call methods support and printing #4103
Annotations
10 errors
tests/run.go#L273
=== RUN TestIntegration
time="2024-06-28T07:20:07Z" level=info msg="trying next host - response was http.StatusNotFound" host="localhost:41195"
run.go:273: copied docker.io/amd64/alpine:latest@sha256:25fad2a32ad1f6f510e528448ae1ec69a28ef81916a004d3629874104f8a7f70 to local mirror localhost:41195/library/alpine:latest
time="2024-06-28T07:20:08Z" level=info msg="trying next host - response was http.StatusNotFound" host="localhost:41195"
run.go:273: copied docker.io/moby/buildkit:v0.13.2 to local mirror localhost:41195/moby/buildkit:buildx-stable-1
time="2024-06-28T07:20:13Z" level=info msg="trying next host - response was http.StatusNotFound" host="localhost:41195"
run.go:273: copied docker.io/amd64/busybox:latest@sha256:023917ec6a886d0e8e15f28fb543515a5fcd8d938edb091e8147db4efed388ee to local mirror localhost:41195/library/busybox:latest
--- FAIL: TestIntegration (9.54s)
|
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-zjg4ivpe6dj0rlndmxkincfvj" 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: 130B done
#2 DONE 0.0s
#3 [def internal] load build definition from Dockerfile
#3 transferring dockerfile: 130B done
#3 DONE 0.0s
#4 [def internal] load .dockerignore
#4 transferring context: 2B done
#4 DONE 0.0s
#5 [def internal] load metadata for docker.io/library/busybox:latest
#5 DONE 0.0s
#6 [base internal] load .dockerignore
#6 transferring context: 2B done
#6 DONE 0.0s
#7 [def base 1/2] FROM docker.io/library/busybox:latest@sha256:023917ec6a886d0e8e15f28fb543515a5fcd8d938edb091e8147db4efed388ee
#7 resolve docker.io/library/busybox:latest@sha256:023917ec6a886d0e8e15f28fb543515a5fcd8d938edb091e8147db4efed388ee 0.0s done
#7 DONE 0.0s
#8 [base internal] load build context
#8 transferring context: 130B done
#8 DONE 0.0s
#9 [def internal] load build context
#9 transferring context: 130B done
#9 DONE 0.0s
#10 [def base 2/2] COPY Dockerfile .
#10 CANCELED
#7 [def base 1/2] FROM docker.io/library/busybox:latest@sha256:023917ec6a886d0e8e15f28fb543515a5fcd8d938edb091e8147db4efed388ee
#7 sha256:3f4d90098f5b5a6f6a76e9d217da85aa39b2081e30fa1f7d287138d6e7bf0ad7 2.22MB / 2.22MB 0.0s done
#7 extracting sha256:3f4d90098f5b5a6f6a76e9d217da85aa39b2081e30fa1f7d287138d6e7bf0ad7 0.1s done
#7 extracting sha256:3f4d90098f5b5a6f6a76e9d217da85aa39b2081e30fa1f7d287138d6e7bf0ad7 0.1s done
#7 DONE 0.2s
#11 [def stage-1 1/1] COPY --from=base /Dockerfile /
#11 DONE 0.0s
#12 [def base 2/2] COPY Dockerfile .
#12 DONE 0.0s
#13 [def] resolving provenance for metadata file
#13 DONE 0.0s
#14 [base] resolving provenance for metadata file
#14 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/p
|
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-nxinilnqwlsxu4lj6mhxnpiu8" 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 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 0.0s done
#6 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 sha256:3f4d90098f5b5a6f6a76e9d217da85aa39b2081e30fa1f7d287138d6e7bf0ad7 2.22MB / 2.22MB 0.0s done
#6 extracting sha256:3f4d90098f5b5a6f6a76e9d217da85aa39b2081e30fa1f7d287138d6e7bf0ad7 0.1s done
#6 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?, 0xc000580000?}, {0x2806238?, 0xc0000e9cc0}, {0xc0002ac140, 0x0, _}, {{0x3a97e80, 0x0, 0x0}, ...}, ...)
github.com/docker/buildx/commands/bake.go:411 +0x304f
github.com/docker/buildx/commands.bakeCmd.func1(0xc0003b8300, {0xc0002ac140, 0x0, 0x4})
github.com/docker/buildx/commands/bake.go:433 +0x2a5
github.com/spf13/cobra.(*Command).execute(0xc0003b8300, {0xc000050200, 0x4, 0x4})
github.com/spf13/cobra@v1.8.1/command.go:985 +0xabc
github.com/spf13/cobra.(*Command).ExecuteC(0xc0000f9b00)
github.com/spf13/cobra@v1.8.1/command.go:1117 +0x3ff
github.com/spf13/cobra.(*Command).Execute(...)
github.com/spf13/cobr
|
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-nsyxvxu5ijll2ntmh2oavgnl5" 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:92acb64aa1f696c99736e32c2512dc1acffc882a9dd82d4e42990969fdcc2eaa done
#6 exporting config sha256:d7cf91665e0acfd9c52637abaf880b016281f9e3d12fe004128cfb7726b77af1
#6 exporting config sha256:d7cf91665e0acfd9c52637abaf880b016281f9e3d12fe004128cfb7726b77af1 done
#6 sending tarball 0.0s done
#6 DONE 0.1s
#7 resolving provenance for metadata file
#7 DONE 0.0s
#8 importing to docker
#8 loading layer 084e5949878f 98B / 98B done
#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?, 0xc00043a8c0?}, {0x2806238?, 0xc0005d4b40}, {0xc0002ac380, 0x0, _}, {{0x3a97e80, 0x0, 0x0}, ...}, ...)
github.com/docker/buildx/commands/bake.go:411 +0x304f
github.com/docker/buildx/commands.bakeCmd.func1(0xc000472300, {0xc0002ac380, 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(0xc0005e4300)
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(0xc0005d4b40)
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.41s)
|
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-nsyxvxu5ijll2ntmh2oavgnl5" 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:92acb64aa1f696c99736e32c2512dc1acffc882a9dd82d4e42990969fdcc2eaa done
#6 exporting config sha256:d7cf91665e0acfd9c52637abaf880b016281f9e3d12fe004128cfb7726b77af1 done
#6 sending tarball done
#6 DONE 0.0s
#7 resolving provenance for metadata file
#7 DONE 0.0s
#8 importing to docker
#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?, 0xc0003524b0?}, {0x2806238?, 0xc000528c80}, {0xc00043a000, 0x0, _}, {{0x3a97e80, 0x0, 0x0}, ...}, ...)
github.com/docker/buildx/commands/bake.go:411 +0x304f
github.com/docker/buildx/commands.bakeCmd.func1(0xc0003aa300, {0xc00043a000, 0x0, 0x4})
github.com/docker/buildx/commands/bake.go:433 +0x2a5
github.com/spf13/cobra.(*Command).execute(0xc0003aa300, {0xc000050200, 0x4, 0x4})
github.com/spf13/cobra@v1.8.1/command.go:985 +0xabc
github.com/spf13/cobra.(*Command).ExecuteC(0xc0004da300)
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(0xc000528c80)
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.30s)
|
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-nxinilnqwlsxu4lj6mhxnpiu8" 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 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?, 0xc00035f3b0?}, {0x2806238?, 0xc0001d1400}, {0xc0004287c0, 0x0, _}, {{0x3a97e80, 0x0, 0x0}, ...}, ...)
github.com/docker/buildx/commands/bake.go:411 +0x304f
github.com/docker/buildx/commands.bakeCmd.func1(0xc000452300, {0xc0004287c0, 0x0, 0x4})
github.com/docker/buildx/commands/bake.go:433 +0x2a5
github.com/spf13/cobra.(*Command).execute(0xc000452300, {0xc0000ea140, 0x4, 0x4})
github.com/spf13/cobra@v1.8.1/command.go:985 +0xabc
github.com/spf13/cobra.(*Command).ExecuteC(0xc000181b00)
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(0xc0001d1400)
github.com/docker/buildx/cmd/buildx/main.go:46 +0xd9
main.main()
github.com/docker/buildx/cmd/buildx/main.go:81 +0x13d
--- FAIL: TestIntegration/TestBakeMetadataWarnings/worker=docker-container/true (0.28s)
|
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-nsyxvxu5ijll2ntmh2oavgnl5" 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:92acb64aa1f696c99736e32c2512dc1acffc882a9dd82d4e42990969fdcc2eaa done
#6 exporting config sha256:d7cf91665e0acfd9c52637abaf880b016281f9e3d12fe004128cfb7726b77af1 done
#6 sending tarball 0.0s done
#6 DONE 0.0s
#7 resolving provenance for metadata file
#7 DONE 0.0s
#8 importing to docker
#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?, 0xc00050afa0?}, {0x2806238?, 0xc000536b40}, {0xc000438d80, 0x0, _}, {{0x3a97e80, 0x0, 0x0}, ...}, ...)
github.com/docker/buildx/commands/bake.go:411 +0x304f
github.com/docker/buildx/commands.bakeCmd.func1(0xc000326300, {0xc000438d80, 0x0, 0x4})
github.com/docker/buildx/commands/bake.go:433 +0x2a5
github.com/spf13/cobra.(*Command).execute(0xc000326300, {0xc000050200, 0x4, 0x4})
github.com/spf13/cobra@v1.8.1/command.go:985 +0xabc
github.com/spf13/cobra.(*Command).ExecuteC(0xc000004600)
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(0xc000536b40)
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.31s)
|
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-nxinilnqwlsxu4lj6mhxnpiu8" 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 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?, 0xc000680000?}, {0x2806238?, 0xc0001d1400}, {0xc0004f8440, 0x0, _}, {{0x3a97e80, 0x0, 0x0}, ...}, ...)
github.com/docker/buildx/commands/bake.go:411 +0x304f
github.com/docker/buildx/commands.bakeCmd.func1(0xc000500300, {0xc0004f8440, 0x0, 0x4})
github.com/docker/buildx/commands/bake.go:433 +0x2a5
github.com/spf13/cobra.(*Command).execute(0xc000500300, {0xc0000ea140, 0x4, 0x4})
github.com/spf13/cobra@v1.8.1/command.go:985 +0xabc
github.com/spf13/cobra.(*Command).ExecuteC(0xc000181b00)
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(0xc0001d1400)
github.com/docker/buildx/cmd/buildx/main.go:46 +0xd9
main.main()
github.com/docker/buildx/cmd/buildx/main.go:81 +0x13d
--- FAIL: TestIntegration/TestBakeMetadataWarnings/worker=docker-container/false (0.32s)
|
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-nsyxvxu5ijll2ntmh2oavgnl5" 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 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:92acb64aa1f696c99736e32c2512dc1acffc882a9dd82d4e42990969fdcc2eaa done
#6 exporting config sha256:d7cf91665e0acfd9c52637abaf880b016281f9e3d12fe004128cfb7726b77af1 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?, 0xc00047f3b0?}, {0x2806238?, 0xc0002fc140}, {0xc0005c0540, 0x0, _}, {{0x3a97e80, 0x0, 0x0}, ...}, ...)
github.com/docker/buildx/commands/bake.go:411 +0x304f
github.com/docker/buildx/commands.bakeCmd.func1(0xc000522600, {0xc0005c0540, 0x0, 0x4})
github.com/docker/buildx/commands/bake.go:433 +0x2a5
github.com/spf13/cobra.(*Command).execute(0xc000522600, {0xc0000ea140, 0x4, 0x4})
github.com/spf13/cobra@v1.8.1/command.go:985 +0xabc
github.com/spf13/cobra.(*Command).ExecuteC(0xc000522000)
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(0xc0002fc140)
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.33s)
|
|
The logs for this run have expired and are no longer available.
Loading