bake: test empty attribute #4715
Annotations
3 errors
Generate annotations:
tests/run.go#L272
=== RUN TestIntegration
run.go:272: copied docker.io/amd64/busybox:latest@sha256:023917ec6a886d0e8e15f28fb543515a5fcd8d938edb091e8147db4efed388ee to local mirror localhost:33187/library/busybox:latest
time="2024-11-28T15:50:34Z" level=info msg="trying next host - response was http.StatusNotFound" host="localhost:33187"
run.go:272: copied docker.io/amd64/alpine:latest@sha256:25fad2a32ad1f6f510e528448ae1ec69a28ef81916a004d3629874104f8a7f70 to local mirror localhost:33187/library/alpine:latest
time="2024-11-28T15:50:35Z" level=info msg="trying next host - response was http.StatusNotFound" host="localhost:33187"
run.go:272: copied docker.io/moby/buildkit:v0.16.0 to local mirror localhost:33187/moby/buildkit:buildx-stable-1
--- FAIL: TestIntegration (0.01s)
|
Generate annotations:
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)(0xc00065b260), (*buildflags.CacheOptionsEntry)(0xc00065b278), (*buildflags.CacheOptionsEntry)(0xc00065b290)}
actual : []*buildflags.CacheOptionsEntry{(*buildflags.CacheOptionsEntry)(0xc00065b098), (*buildflags.CacheOptionsEntry)(0xc00065b0c8), (*buildflags.CacheOptionsEntry)(0xc00065b0f8)}
Diff:
--- Expected
+++ Actual
@@ -3,4 +3,5 @@
Type: (string) (len=3) "gha",
- Attrs: (map[string]string) (len=1) {
- (string) (len=5) "scope": (string) (len=5) "build"
+ Attrs: (map[string]string) (len=2) {
+ (string) (len=5) "scope": (string) (len=5) "build",
+ (string) (len=5) "token": (string) (len=3) "baz"
}
@@ -9,5 +10,7 @@
Type: (string) (len=2) "s3",
- Attrs: (map[string]string) (len=2) {
+ Attrs: (map[string]string) (len=4) {
+ (string) (len=13) "access_key_id": (string) (len=3) "foo",
(string) (len=6) "bucket": (string) (len=8) "mybucket",
- (string) (len=6) "region": (string) (len=9) "eu-west-1"
+ (string) (len=6) "region": (string) (len=9) "eu-west-1",
+ (string) (len=17) "secret_access_key": (string) (len=3) "bar"
}
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_config1960790774/buildkitd.toml --root /tmp/bktest_buildkitd3210000909 --addr unix:///tmp/bktest_buildkitd3210000909/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_config1960790774/buildkitd.toml --root /tmp/bktest_buildkitd3210000909 --addr unix:///tmp/bktest_buildkitd3210000909/buildkitd.sock --debug
sandbox.go:138: > StartCmd 2024-11-28 15:50:43.796390853 +0000 UTC m=+9.314256934 /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_config1960790774/buildkitd.toml --root /tmp/bktest_buildkitd3210000909 --addr unix:///tmp/bktest_buildkitd3210000909/buildkitd.sock --debug
sandbox.go:138: time="2024-11-28T15:50:43Z" level=warning msg="failed to get disk size: no such file or directory"
sandbox.go:138: time="2024-11-28T15:50:43Z" level=warning msg="failed to get disk size: no such file or directory"
sandbox.go:138: time="2024-11-28T15:50:43Z" level=info msg="auto snapshotter: using overlayfs"
sandbox.go:138: time="2024-11-28T15:50:43Z" level=warning msg="using host network as the default"
sandbox.go:138: time="2024-11-28T15:50:43Z" level=info msg="found worker \"are0sbcj1pozk1eiui86mb4lv\", labels=map[org.mobyproject.buildkit.worker.executor:oci org.mobyproject.buildkit.worker.hostname:cc007e59671c org.mobyproject.buildkit.worker.network:host org.mobyproject.buildkit.worker.oci.process-mode:sandbox org.mobyproject.buildkit.worker.sandbox:true org.mobyproject.buildkit.wor
|
Test
Process completed with exit code 1.
|
Set up job
3s
3s
Error:
This step has been truncated due to its large size. Download the full logs from the menu
once the workflow run has completed.
Prepare
0s
0s
Error:
This step has been truncated due to its large size. Download the full logs from the menu
once the workflow run has completed.
Checkout
4s
4s
Error:
This step has been truncated due to its large size. Download the full logs from the menu
once the workflow run has completed.
Set up QEMU
2s
2s
Error:
This step has been truncated due to its large size. Download the full logs from the menu
once the workflow run has completed.
Set up Docker Buildx
5s
5s
Error:
This step has been truncated due to its large size. Download the full logs from the menu
once the workflow run has completed.
Build test image
1m 52s
1m 52s
Error:
This step has been truncated due to its large size. Download the full logs from the menu
once the workflow run has completed.
Test
58s
58s
Error:
This step has been truncated due to its large size. Download the full logs from the menu
once the workflow run has completed.
Send to Codecov
5s
5s
Error:
This step has been truncated due to its large size. Download the full logs from the menu
once the workflow run has completed.
Generate annotations
1s
1s
Error:
This step has been truncated due to its large size. Download the full logs from the menu
once the workflow run has completed.
Upload test reports
0s
0s
Error:
This step has been truncated due to its large size. Download the full logs from the menu
once the workflow run has completed.
Post Build test image
4s
4s
Error:
This step has been truncated due to its large size. Download the full logs from the menu
once the workflow run has completed.
Post Set up Docker Buildx
3s
3s
Error:
This step has been truncated due to its large size. Download the full logs from the menu
once the workflow run has completed.
Post Checkout
0s
0s
Error:
This step has been truncated due to its large size. Download the full logs from the menu
once the workflow run has completed.
Complete job
0s
0s
Error:
This step has been truncated due to its large size. Download the full logs from the menu
once the workflow run has completed.
Loading