[v0.19] revert: "bake: initial set of composable bake attributes" #4702
Annotations
4 errors
tests/run.go#L272
=== RUN TestIntegration
run.go:272: copied docker.io/amd64/alpine:latest@sha256:25fad2a32ad1f6f510e528448ae1ec69a28ef81916a004d3629874104f8a7f70 to local mirror localhost:33739/library/alpine:latest
time="2024-11-27T17:21:20Z" level=info msg="trying next host - response was http.StatusNotFound" host="localhost:33739"
run.go:272: copied docker.io/moby/buildkit:latest to local mirror localhost:33739/moby/buildkit:buildx-stable-1
time="2024-11-27T17:21:24Z" level=info msg="trying next host - response was http.StatusNotFound" host="localhost:33739"
run.go:272: copied docker.io/amd64/busybox:latest@sha256:023917ec6a886d0e8e15f28fb543515a5fcd8d938edb091e8147db4efed388ee to local mirror localhost:33739/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_config1792517759/buildkitd.toml --root /tmp/bktest_buildkitd1483855570 --addr unix:///tmp/bktest_buildkitd1483855570/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_config1792517759/buildkitd.toml --root /tmp/bktest_buildkitd1483855570 --addr unix:///tmp/bktest_buildkitd1483855570/buildkitd.sock --debug
sandbox.go:138: > StartCmd 2024-11-27 17:21:30.942231746 +0000 UTC m=+10.884396114 /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_config1792517759/buildkitd.toml --root /tmp/bktest_buildkitd1483855570 --addr unix:///tmp/bktest_buildkitd1483855570/buildkitd.sock --debug
sandbox.go:138: time="2024-11-27T17:21:31Z" level=info msg="auto snapshotter: using overlayfs"
sandbox.go:138: time="2024-11-27T17:21:31Z" level=warning msg="using host network as the default"
sandbox.go:138: time="2024-11-27T17:21:31Z" level=info msg="found worker \"ib0uxj3hb140fzyj3s8w5k1l7\", labels=map[org.mobyproject.buildkit.worker.executor:oci org.mobyproject.buildkit.worker.hostname:8707a84fafde 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/arm/v7 linux/arm/v6]"
sandbox.go:138: time="2024-11-27T17:21:31Z" level=info msg="found 1 workers, default=\"ib0uxj3hb140fzyj3s8w5k1l7\""
sandbox.go:138: time="2024-11-27T17:21:31Z" level=warning msg="currently, only the default worker can be used."
sandbox.go:138: time="2024-11-27T17:21:31Z" level=info msg="running server on /tmp/bktest_buildkitd1483855570/buildkitd.sock"
--- FAIL: TestIntegration/TestBakePrint/worker=remote (0.32s)
|
tests/bake.go#L144
=== RUN TestIntegration/TestBakePrint/worker=remote/Compose
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"}, "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"}}}}
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"}, "context":".", "dockerfile":"Dockerfile"}}}
Diff:
--- Expected
+++ Actual
@@ -9,3 +9,3 @@
(string) (len=6) "target": (map[string]interface {}) (len=1) {
- (string) (len=5) "build": (map[string]interface {}) (len=6) {
+ (string) (len=5) "build": (map[string]interface {}) (len=3) {
(string) (len=4) "args": (map[string]interface {}) (len=1) {
@@ -13,18 +13,4 @@
},
- (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=6) "output": ([]interface {}) (len=2) {
- (string) (len=13) "./release-out",
- (string) (len=26) "type=registry,ref=user/app"
- }
+ (string) (len=10) "dockerfile": (string) (len=10) "Dockerfile"
}
Test: TestIntegration/TestBakePrint/worker=remote/Compose
--- FAIL: TestIntegration/TestBakePrint/worker=remote/Compose (0.04s)
|
|
The logs for this run have expired and are no longer available.
Loading