[v0.19] revert: "bake: initial set of composable bake attributes" #4698
Annotations
4 errors
tests/run.go#L272
=== RUN TestIntegration
run.go:272: copied docker.io/amd64/alpine:latest@sha256:25fad2a32ad1f6f510e528448ae1ec69a28ef81916a004d3629874104f8a7f70 to local mirror localhost:39105/library/alpine:latest
time="2024-11-27T16:52:31Z" level=info msg="trying next host - response was http.StatusNotFound" host="localhost:39105"
run.go:272: copied docker.io/moby/buildkit:v0.16.0 to local mirror localhost:39105/moby/buildkit:buildx-stable-1
time="2024-11-27T16:52:35Z" level=info msg="trying next host - response was http.StatusNotFound" host="localhost:39105"
run.go:272: copied docker.io/amd64/busybox:latest@sha256:023917ec6a886d0e8e15f28fb543515a5fcd8d938edb091e8147db4efed388ee to local mirror localhost:39105/library/busybox:latest
--- FAIL: TestIntegration (0.01s)
|
tests/sandbox.go#L135
=== RUN TestIntegration/TestBakePrint/worker=remote
=== PAUSE TestIntegration/TestBakePrint/worker=remote
=== CONT TestIntegration/TestBakePrint/worker=remote
sandbox.go:135: 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_config1909286747/buildkitd.toml --root /tmp/bktest_buildkitd932392011 --addr unix:///tmp/bktest_buildkitd932392011/buildkitd.sock --debug
sandbox.go:135: 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_config1909286747/buildkitd.toml --root /tmp/bktest_buildkitd932392011 --addr unix:///tmp/bktest_buildkitd932392011/buildkitd.sock --debug
sandbox.go:138: > StartCmd 2024-11-27 16:52:39.788647786 +0000 UTC m=+9.120961286 /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_config1909286747/buildkitd.toml --root /tmp/bktest_buildkitd932392011 --addr unix:///tmp/bktest_buildkitd932392011/buildkitd.sock --debug
sandbox.go:138: time="2024-11-27T16:52:39Z" level=warning msg="failed to get disk size: no such file or directory"
sandbox.go:138: time="2024-11-27T16:52:39Z" level=warning msg="failed to get disk size: no such file or directory"
sandbox.go:138: time="2024-11-27T16:52:39Z" level=info msg="auto snapshotter: using overlayfs"
sandbox.go:138: time="2024-11-27T16:52:39Z" level=warning msg="using host network as the default"
sandbox.go:138: time="2024-11-27T16:52:39Z" level=info msg="found worker \"aj19zipbcu4nxf62j7fq72wrb\", labels=map[org.mobyproject.buildkit.worker.executor:oci org.mobyproject.buildkit.worker.hostname:387277634cea 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:138: time="2024-11-27T16:52:39Z" level=info msg="found 1 workers, default=\"aj19zipbcu4nxf62j7fq72wrb\""
sandbox.go:138: time="2024-11-27T16:52:39Z" level=warning msg="currently, only the default worker can be used."
sandbox.go:138: time="2024-11-27T16:52:39Z" level=info msg="running server on /tmp/bktest_buildkitd932392011/buildkitd.sock"
--- FAIL: TestIntegration/TestBakePrint/worker=remote (0.44s)
|
tests/bake.go#L144
=== RUN TestIntegration/TestBakePrint/worker=remote/HCL
bake.go:144:
Error Trace: /src/tests/bake.go:144
Error: Not equal:
expected: map[string]interface {}{"group":map[string]interface {}{"default":map[string]interface {}{"targets":[]interface {}{"build"}}}, "target":map[string]interface {}{"build":map[string]interface {}{"args":map[string]interface {}{"HELLO":"foo"}, "context":".", "dockerfile":"Dockerfile"}}}
actual : map[string]interface {}{"group":map[string]interface {}{"default":map[string]interface {}{"targets":[]interface {}{"build"}}}, "target":map[string]interface {}{"build":map[string]interface {}{"args":map[string]interface {}{"HELLO":"foo"}, "cache-from":[]interface {}{"type=gha,scope=build", "type=s3,region=eu-west-1,bucket=mybucket", "user/repo:cache"}, "cache-to":[]interface {}{"type=gha,scope=build,mode=max", "type=s3,region=eu-west-1,bucket=mybucket", "type=inline"}, "context":".", "dockerfile":"Dockerfile", "output":[]interface {}{"./release-out", "type=registry,ref=user/app"}}}}
Diff:
--- Expected
+++ Actual
@@ -9,3 +9,3 @@
(string) (len=6) "target": (map[string]interface {}) (len=1) {
- (string) (len=5) "build": (map[string]interface {}) (len=3) {
+ (string) (len=5) "build": (map[string]interface {}) (len=6) {
(string) (len=4) "args": (map[string]interface {}) (len=1) {
@@ -13,4 +13,18 @@
},
+ (string) (len=10) "cache-from": ([]interface {}) (len=3) {
+ (string) (len=20) "type=gha,scope=build",
+ (string) (len=40) "type=s3,region=eu-west-1,bucket=mybucket",
+ (string) (len=15) "user/repo:cache"
+ },
+ (string) (len=8) "cache-to": ([]interface {}) (len=3) {
+ (string) (len=29) "type=gha,scope=build,mode=max",
+ (string) (len=40) "type=s3,region=eu-west-1,bucket=mybucket",
+ (string) (len=11) "type=inline"
+ },
(string) (len=7) "context": (string) (len=1) ".",
- (string) (len=10) "dockerfile": (string) (len=10) "Dockerfile"
+ (string) (len=10) "dockerfile": (string) (len=10) "Dockerfile",
+ (string) (len=6) "output": ([]interface {}) (len=2) {
+ (string) (len=13) "./release-out",
+ (string) (len=26) "type=registry,ref=user/app"
+ }
}
Test: TestIntegration/TestBakePrint/worker=remote/HCL
--- FAIL: TestIntegration/TestBakePrint/worker=remote/HCL (0.03s)
|
|
The logs for this run have expired and are no longer available.
Loading