[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:33137/library/busybox:latest
time="2024-11-27T16:52:17Z" level=info msg="trying next host - response was http.StatusNotFound" host="localhost:33137"
run.go:272: copied docker.io/amd64/alpine:latest@sha256:25fad2a32ad1f6f510e528448ae1ec69a28ef81916a004d3629874104f8a7f70 to local mirror localhost:33137/library/alpine:latest
time="2024-11-27T16:52:18Z" level=info msg="trying next host - response was http.StatusNotFound" host="localhost:33137"
run.go:272: copied docker.io/moby/buildkit:buildx-stable-1 to local mirror localhost:33137/moby/buildkit:buildx-stable-1
--- FAIL: TestIntegration (0.01s)
|
Generate annotations:
tests/sandbox.go#L135
=== RUN TestIntegration/TestBakePrint/worker=docker
=== PAUSE TestIntegration/TestBakePrint/worker=docker
=== CONT TestIntegration/TestBakePrint/worker=docker
sandbox.go:135: stdout: /usr/bin/dockerd
sandbox.go:135: stderr: /usr/bin/dockerd
sandbox.go:138: > startCmd 2024-11-27 16:54:24.685174861 +0000 UTC m=+127.952875982 /usr/bin/dockerd --data-root /tmp/integration1988071953/dsa3gvhx2rpmu/root --exec-root /tmp/dxr/dsa3gvhx2rpmu --pidfile /tmp/integration1988071953/dsa3gvhx2rpmu/docker.pid --containerd-namespace dsa3gvhx2rpmu --containerd-plugins-namespace dsa3gvhx2rpmup --host unix:///tmp/docker-integration/dsa3gvhx2rpmu.sock --config-file /tmp/integration1988071953/daemon.json --userland-proxy=false --tls=false --debug
sandbox.go:138: time="2024-11-27T16:54:24.703605821Z" level=info msg="Starting up"
sandbox.go:138: time="2024-11-27T16:54:24.704707704Z" level=warning msg="could not change group /tmp/docker-integration/dsa3gvhx2rpmu.sock to docker: group docker not found"
sandbox.go:138: time="2024-11-27T16:54:24.704839389Z" level=debug msg="Listener created for HTTP on unix (/tmp/docker-integration/dsa3gvhx2rpmu.sock)"
sandbox.go:138: time="2024-11-27T16:54:24.704862683Z" level=info msg="containerd not running, starting managed containerd"
sandbox.go:138: time="2024-11-27T16:54:24.705442486Z" level=info msg="started new containerd process" address=/tmp/dxr/dsa3gvhx2rpmu/containerd/containerd.sock module=libcontainerd pid=20120
sandbox.go:138: time="2024-11-27T16:54:24.705798299Z" level=debug msg="created containerd monitoring client" address=/tmp/dxr/dsa3gvhx2rpmu/containerd/containerd.sock module=libcontainerd
sandbox.go:138: time="2024-11-27T16:54:24.705951111Z" level=debug msg="2024/11/27 16:54:24 WARNING: [core] [Channel #1 SubChannel #2]grpc: addrConn.createTransport failed to connect to {Addr: \"/tmp/dxr/dsa3gvhx2rpmu/containerd/containerd.sock\", ServerName: \"localhost\", Attributes: {\"<%!p(networktype.keyType=grpc.internal.transport.networktype)>\": \"unix\" }, }. Err: connection error: desc = \"transport: Error while dialing: dial unix /tmp/dxr/dsa3gvhx2rpmu/containerd/containerd.sock: connect: no such file or directory\"" library=grpc
sandbox.go:138: time="2024-11-27T16:54:24.716675753Z" level=info msg="starting containerd" revision=7f7fdf5fed64eb6a7caf99b3e12efcf9d60e311c version=v1.7.22
sandbox.go:138: time="2024-11-27T16:54:24.729568158Z" level=info msg="loading plugin \"io.containerd.event.v1.exchange\"..." type=io.containerd.event.v1
sandbox.go:138: time="2024-11-27T16:54:24.729612972Z" level=info msg="loading plugin \"io.containerd.internal.v1.opt\"..." type=io.containerd.internal.v1
sandbox.go:138: time="2024-11-27T16:54:24.729655441Z" level=info msg="loading plugin \"io.containerd.warning.v1.deprecations\"..." type=io.containerd.warning.v1
sandbox.go:138: time="2024-11-27T16:54:24.729710463Z" level=info msg="loading plugin \"io.containerd.snapshotter.v1.blockfile\"..." type=io.containerd.snapshotter.v1
sandbox.go:138: time="2024-11-27T16:54:24.729812403Z" level=info msg="skip loading plugin \"io.containerd.snapshotter.v1.blockfile\"..." error="no scratch file generator: skip plugin" type=io.containerd.snapshotter.v1
sandbox.go:138: time="2024-11-27T16:54:24.729827100Z" level=info msg="loading plugin \"io.containerd.snapshotter.v1.devmapper\"..." type=io.containerd.snapshotter.v1
sandbox.go:138: time="2024-11-27T16:54:24.729897532Z" level=info msg="skip loading plugin \"io.containerd.snapshotter.v1.devmapper\"..." error="devmapper not configured: skip plugin" type=io.containerd.snapshotter.v1
sandbox.go:138: time="2024-11-27T16:54:24.729922298Z" level=info msg="loading plugin \"io.containerd.snapshotter.v1.native\"..." type=io.containerd.snapshotter.v1
sandbox.go:138: time="2024-11-27T16:54:24.730052491Z" level=info msg="loading plugin \"io.containerd.snapshotter.v1.overlayfs\"..." type=io.containerd.snapshotter.v1
sandbox.go:138: time="2024-11-27T16:54:24.730278482Z" level=info msg="loading plugin \"io.container
|
Generate annotations:
tests/bake.go#L144
=== RUN TestIntegration/TestBakePrint/worker=docker/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=docker/HCL
--- FAIL: TestIntegration/TestBakePrint/worker=docker/HCL (0.02s)
|
Test
Process completed with exit code 1.
|
Loading