bake: handle derived attributes #4708
Annotations
3 errors
tests/run.go#L272
=== RUN TestIntegration
run.go:272: copied docker.io/amd64/alpine:latest@sha256:25fad2a32ad1f6f510e528448ae1ec69a28ef81916a004d3629874104f8a7f70 to local mirror localhost:34543/library/alpine:latest
time="2024-11-28T10:53:01Z" level=info msg="trying next host - response was http.StatusNotFound" host="localhost:34543"
run.go:272: copied docker.io/moby/buildkit:buildx-stable-1 to local mirror localhost:34543/moby/buildkit:buildx-stable-1
time="2024-11-28T10:53:06Z" level=info msg="trying next host - response was http.StatusNotFound" host="localhost:34543"
run.go:272: copied docker.io/amd64/busybox:latest@sha256:023917ec6a886d0e8e15f28fb543515a5fcd8d938edb091e8147db4efed388ee to local mirror localhost:34543/library/busybox:latest
--- FAIL: TestIntegration (0.01s)
|
tests/bake.go#L123
=== RUN TestIntegration/TestBakePrint/worker=remote
=== PAUSE TestIntegration/TestBakePrint/worker=remote
=== CONT TestIntegration/TestBakePrint/worker=remote
bake.go:123:
Error Trace: /src/tests/bake.go:123
/src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:97
/src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:211
Error: Not equal:
expected: []*buildflags.CacheOptionsEntry{(*buildflags.CacheOptionsEntry)(0xc000e7f640), (*buildflags.CacheOptionsEntry)(0xc000e7f660), (*buildflags.CacheOptionsEntry)(0xc000e7f680)}
actual : []*buildflags.CacheOptionsEntry{(*buildflags.CacheOptionsEntry)(0xc000e7f540), (*buildflags.CacheOptionsEntry)(0xc000e7f560), (*buildflags.CacheOptionsEntry)(0xc000e7f5a0)}
Diff:
--- Expected
+++ Actual
@@ -17,4 +17,6 @@
(*buildflags.CacheOptionsEntry)({
- Type: (string) (len=15) "user/repo:cache",
- Attrs: (map[string]string) <nil>,
+ Type: (string) (len=8) "registry",
+ Attrs: (map[string]string) (len=1) {
+ (string) (len=3) "ref": (string) (len=15) "user/repo:cache"
+ },
ImplicitAttrs: (map[string]string) <nil>
Test: 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_config3081947151/buildkitd.toml --root /tmp/bktest_buildkitd3850510184 --addr unix:///tmp/bktest_buildkitd3850510184/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_config3081947151/buildkitd.toml --root /tmp/bktest_buildkitd3850510184 --addr unix:///tmp/bktest_buildkitd3850510184/buildkitd.sock --debug
sandbox.go:138: > StartCmd 2024-11-28 10:53:11.753039163 +0000 UTC m=+11.368035226 /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_config3081947151/buildkitd.toml --root /tmp/bktest_buildkitd3850510184 --addr unix:///tmp/bktest_buildkitd3850510184/buildkitd.sock --debug
sandbox.go:138: time="2024-11-28T10:53:11Z" level=info msg="auto snapshotter: using overlayfs"
sandbox.go:138: time="2024-11-28T10:53:11Z" level=warning msg="using host network as the default"
sandbox.go:138: time="2024-11-28T10:53:11Z" level=info msg="found worker \"t7aj85tofs46g2v6bgbxldw9q\", labels=map[org.mobyproject.buildkit.worker.executor:oci org.mobyproject.buildkit.worker.hostname:eda67f827a52 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-28T10:53:11Z" level=info msg="found 1 workers, default=\"t7aj85tofs46g2v6bgbxldw9q\""
sandbox.go:138: time="2024-11-28T10:53:11Z" level=warning msg="currently, only the default worker can be used."
sandbox.go:138: time="2024-11-28T10:53:11Z" level=info msg="running server on /tmp/bktest_buildkitd3850510184/buildkitd.sock"
--- FAIL: TestIntegration/TestBakePrint/worker=remote (0.43s)
|
|
The logs for this run have expired and are no longer available.
Loading