[v0.19] revert: "bake: initial set of composable bake attributes" #4698
Annotations
4 errors
Generate annotations:
tests/run.go#L272
=== RUN TestIntegration
run.go:272: copied docker.io/amd64/busybox:latest@sha256:023917ec6a886d0e8e15f28fb543515a5fcd8d938edb091e8147db4efed388ee to local mirror localhost:44677/library/busybox:latest
time="2024-11-27T16:52:48Z" level=info msg="trying next host - response was http.StatusNotFound" host="localhost:44677"
run.go:272: copied docker.io/amd64/alpine:latest@sha256:25fad2a32ad1f6f510e528448ae1ec69a28ef81916a004d3629874104f8a7f70 to local mirror localhost:44677/library/alpine:latest
time="2024-11-27T16:52:48Z" level=info msg="trying next host - response was http.StatusNotFound" host="localhost:44677"
run.go:272: copied docker.io/moby/buildkit:latest to local mirror localhost:44677/moby/buildkit:buildx-stable-1
--- FAIL: TestIntegration (0.00s)
|
Generate annotations:
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_config3536143119/buildkitd.toml --root /tmp/bktest_buildkitd3899635043 --addr unix:///tmp/bktest_buildkitd3899635043/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_config3536143119/buildkitd.toml --root /tmp/bktest_buildkitd3899635043 --addr unix:///tmp/bktest_buildkitd3899635043/buildkitd.sock --debug
sandbox.go:138: > StartCmd 2024-11-27 16:52:56.504539721 +0000 UTC m=+8.604288088 /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_config3536143119/buildkitd.toml --root /tmp/bktest_buildkitd3899635043 --addr unix:///tmp/bktest_buildkitd3899635043/buildkitd.sock --debug
sandbox.go:138: time="2024-11-27T16:52:56Z" level=info msg="auto snapshotter: using overlayfs"
sandbox.go:138: time="2024-11-27T16:52:56Z" level=warning msg="using host network as the default"
sandbox.go:138: time="2024-11-27T16:52:56Z" level=info msg="found worker \"rufsn6jsvbnvsr6t5ey8953n1\", labels=map[org.mobyproject.buildkit.worker.executor:oci org.mobyproject.buildkit.worker.hostname:d6dc34d761d4 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-27T16:52:56Z" level=info msg="found 1 workers, default=\"rufsn6jsvbnvsr6t5ey8953n1\""
sandbox.go:138: time="2024-11-27T16:52:56Z" level=warning msg="currently, only the default worker can be used."
sandbox.go:138: time="2024-11-27T16:52:56Z" level=info msg="running server on /tmp/bktest_buildkitd3899635043/buildkitd.sock"
--- FAIL: TestIntegration/TestBakePrint/worker=remote (0.38s)
|
Generate annotations:
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)
|
Test
Process completed with exit code 1.
|
Loading