frontend: update lint checks to use all args instead of non-nil args #4523
Annotations
11 errors
Generate annotations:
frontend/dockerfile/run.go#L272
=== RUN TestIntegration
run.go:272: copied docker.io/amd64/alpine:latest@sha256:25fad2a32ad1f6f510e528448ae1ec69a28ef81916a004d3629874104f8a7f70 to local mirror localhost:36323/library/alpine:latest
time="2024-10-04T22:28:01Z" level=info msg="trying next host - response was http.StatusNotFound" host="localhost:36323"
run.go:272: copied docker.io/amd64/busybox:latest@sha256:023917ec6a886d0e8e15f28fb543515a5fcd8d938edb091e8147db4efed388ee to local mirror localhost:36323/library/busybox:latest
run.go:272: copied docker.io/amd64/debian:bullseye-20230109-slim@sha256:1acb06a0c31fb467eb8327ad361f1091ab265e0bf26d452dea45dcb0c0ea5e75 to local mirror localhost:35031/amd64/bullseye-20230109-slim:latest
--- FAIL: TestIntegration (0.07s)
|
Generate annotations:
frontend/dockerfile/sandbox.go#L135
=== RUN TestIntegration/TestUndeclaredArg/worker=oci-snapshotter-stargz/frontend=builtin
=== PAUSE TestIntegration/TestUndeclaredArg/worker=oci-snapshotter-stargz/frontend=builtin
=== CONT TestIntegration/TestUndeclaredArg/worker=oci-snapshotter-stargz/frontend=builtin
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 --oci-worker-snapshotter=stargz --config=/tmp/bktest_config1098454066/buildkitd.toml --root /tmp/bktest_buildkitd1088517532 --addr unix:///tmp/bktest_buildkitd1088517532/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 --oci-worker-snapshotter=stargz --config=/tmp/bktest_config1098454066/buildkitd.toml --root /tmp/bktest_buildkitd1088517532 --addr unix:///tmp/bktest_buildkitd1088517532/buildkitd.sock --debug
sandbox.go:138: > StartCmd 2024-10-04 22:28:42.737432933 +0000 UTC m=+41.389088664 /usr/bin/buildkitd --oci-worker=true --containerd-worker=false --oci-worker-gc=false --oci-worker-labels=org.mobyproject.buildkit.worker.sandbox=true --oci-worker-snapshotter=stargz --config=/tmp/bktest_config1098454066/buildkitd.toml --root /tmp/bktest_buildkitd1088517532 --addr unix:///tmp/bktest_buildkitd1088517532/buildkitd.sock --debug
sandbox.go:138: time="2024-10-04T22:28:42Z" level=warning msg="failed to get disk size: no such file or directory"
sandbox.go:138: time="2024-10-04T22:28:42Z" level=warning msg="failed to get disk size: no such file or directory"
sandbox.go:138: time="2024-10-04T22:28:42Z" level=debug msg="could not read \"/tmp/bktest_buildkitd1088517532/net/cni\" for cleanup: open /tmp/bktest_buildkitd1088517532/net/cni: no such file or directory"
sandbox.go:138: time="2024-10-04T22:28:42Z" level=debug msg="creating new network namespace 50jal0tn0ul9t0xe4hi8ay6t4"
sandbox.go:138: time="2024-10-04T22:28:42Z" level=debug msg="finished creating network namespace 50jal0tn0ul9t0xe4hi8ay6t4"
sandbox.go:138: time="2024-10-04T22:28:42Z" level=debug msg="finished setting up network namespace 50jal0tn0ul9t0xe4hi8ay6t4"
sandbox.go:138: time="2024-10-04T22:28:42Z" level=info msg="found worker \"5jdm0s8v0yph3cvtyu6pq5kxb\", labels=map[org.mobyproject.buildkit.worker.executor:oci org.mobyproject.buildkit.worker.hostname:644db3695eb4 org.mobyproject.buildkit.worker.network:cni 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:stargz], 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-10-04T22:28:42Z" level=info msg="found 1 workers, default=\"5jdm0s8v0yph3cvtyu6pq5kxb\""
sandbox.go:138: time="2024-10-04T22:28:42Z" level=warning msg="currently, only the default worker can be used."
sandbox.go:138: time="2024-10-04T22:28:42Z" level=info msg="running server on /tmp/bktest_buildkitd1088517532/buildkitd.sock"
sandbox.go:138: time="2024-10-04T22:28:42Z" level=debug msg="session started" spanID=d971707f3c5deeb7 traceID=ce2b9564d5129f88756063a303803a67
sandbox.go:138: time="2024-10-04T22:28:42Z" level=debug msg="new ref for local: vjoax2qx057gximqnf1n1hfdc" span="[internal] load build definition from Dockerfile" spanID=c5b0b412848d7993 traceID=2b2d9a51470f62be341a55661d777c2d
sandbox.go:138: time="2024-10-04T22:28:42Z" level=debug msg="checking layer availability" span="[internal] load build definition from Dockerfile" spanID=c5b0b412848d7993 traceID=2b2d9a51470f62be341a55661d777c2d
sandbox.go:138: time="2024-10-04T22:28:42Z" level=debug msg="layer is normal snapshot(overlayfs)" span="[internal] load build definition from Dockerfile" spanID=c5b0b412848d7993 traceID=2b2d9a51470f62be341a55661d777c2d
sandbox.go:138: time=
|
Generate annotations:
frontend/dockerfile/sandbox.go#L135
=== RUN TestIntegration/TestUndeclaredArg/worker=oci-snapshotter-stargz/frontend=client
=== PAUSE TestIntegration/TestUndeclaredArg/worker=oci-snapshotter-stargz/frontend=client
=== CONT TestIntegration/TestUndeclaredArg/worker=oci-snapshotter-stargz/frontend=client
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 --oci-worker-snapshotter=stargz --config=/tmp/bktest_config1048361169/buildkitd.toml --root /tmp/bktest_buildkitd477375203 --addr unix:///tmp/bktest_buildkitd477375203/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 --oci-worker-snapshotter=stargz --config=/tmp/bktest_config1048361169/buildkitd.toml --root /tmp/bktest_buildkitd477375203 --addr unix:///tmp/bktest_buildkitd477375203/buildkitd.sock --debug
sandbox.go:138: > StartCmd 2024-10-04 22:28:42.559177436 +0000 UTC m=+41.210833177 /usr/bin/buildkitd --oci-worker=true --containerd-worker=false --oci-worker-gc=false --oci-worker-labels=org.mobyproject.buildkit.worker.sandbox=true --oci-worker-snapshotter=stargz --config=/tmp/bktest_config1048361169/buildkitd.toml --root /tmp/bktest_buildkitd477375203 --addr unix:///tmp/bktest_buildkitd477375203/buildkitd.sock --debug
sandbox.go:138: time="2024-10-04T22:28:42Z" level=warning msg="failed to get disk size: no such file or directory"
sandbox.go:138: time="2024-10-04T22:28:42Z" level=warning msg="failed to get disk size: no such file or directory"
sandbox.go:138: time="2024-10-04T22:28:42Z" level=debug msg="could not read \"/tmp/bktest_buildkitd477375203/net/cni\" for cleanup: open /tmp/bktest_buildkitd477375203/net/cni: no such file or directory"
sandbox.go:138: time="2024-10-04T22:28:42Z" level=debug msg="creating new network namespace z60z78goyndlm51k9kx9i8lyo"
sandbox.go:138: time="2024-10-04T22:28:42Z" level=debug msg="finished creating network namespace z60z78goyndlm51k9kx9i8lyo"
sandbox.go:138: time="2024-10-04T22:28:42Z" level=debug msg="finished setting up network namespace z60z78goyndlm51k9kx9i8lyo"
sandbox.go:138: time="2024-10-04T22:28:42Z" level=info msg="found worker \"xrqx4kwwk3onhnqy0fla87pc4\", labels=map[org.mobyproject.buildkit.worker.executor:oci org.mobyproject.buildkit.worker.hostname:644db3695eb4 org.mobyproject.buildkit.worker.network:cni 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:stargz], 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-10-04T22:28:42Z" level=info msg="found 1 workers, default=\"xrqx4kwwk3onhnqy0fla87pc4\""
sandbox.go:138: time="2024-10-04T22:28:42Z" level=warning msg="currently, only the default worker can be used."
sandbox.go:138: time="2024-10-04T22:28:42Z" level=info msg="running server on /tmp/bktest_buildkitd477375203/buildkitd.sock"
sandbox.go:138: time="2024-10-04T22:28:42Z" level=debug msg="session started" spanID=46144598aae3b97b traceID=47d94ac804b1d6d1460ccdedf0236d12
sandbox.go:138: time="2024-10-04T22:28:42Z" level=debug msg="new ref for local: hof1hs2ktrz3b5qgwzn1zgd0q" span="[internal] load build definition from Dockerfile" spanID=c751df6556a1f24d traceID=62b3863fec53a09902bbdfb7d8117400
sandbox.go:138: time="2024-10-04T22:28:42Z" level=debug msg="checking layer availability" span="[internal] load build definition from Dockerfile" spanID=c751df6556a1f24d traceID=62b3863fec53a09902bbdfb7d8117400
sandbox.go:138: time="2024-10-04T22:28:42Z" level=debug msg="layer is normal snapshot(overlayfs)" span="[internal] load build definition from Dockerfile" spanID=c751df6556a1f24d traceID=62b3863fec53a09902bbdfb7d8117400
sandbox.go:138: time="2024-10-04T
|
Generate annotations:
frontend/dockerfile/sandbox.go#L135
=== RUN TestIntegration/TestInvalidDefaultArgInFrom/worker=oci-snapshotter-stargz/frontend=builtin
=== PAUSE TestIntegration/TestInvalidDefaultArgInFrom/worker=oci-snapshotter-stargz/frontend=builtin
=== CONT TestIntegration/TestInvalidDefaultArgInFrom/worker=oci-snapshotter-stargz/frontend=builtin
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 --oci-worker-snapshotter=stargz --config=/tmp/bktest_config3733907448/buildkitd.toml --root /tmp/bktest_buildkitd962600747 --addr unix:///tmp/bktest_buildkitd962600747/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 --oci-worker-snapshotter=stargz --config=/tmp/bktest_config3733907448/buildkitd.toml --root /tmp/bktest_buildkitd962600747 --addr unix:///tmp/bktest_buildkitd962600747/buildkitd.sock --debug
sandbox.go:138: > StartCmd 2024-10-04 22:28:55.167394942 +0000 UTC m=+53.819050703 /usr/bin/buildkitd --oci-worker=true --containerd-worker=false --oci-worker-gc=false --oci-worker-labels=org.mobyproject.buildkit.worker.sandbox=true --oci-worker-snapshotter=stargz --config=/tmp/bktest_config3733907448/buildkitd.toml --root /tmp/bktest_buildkitd962600747 --addr unix:///tmp/bktest_buildkitd962600747/buildkitd.sock --debug
sandbox.go:138: time="2024-10-04T22:28:55Z" level=warning msg="failed to get disk size: no such file or directory"
sandbox.go:138: time="2024-10-04T22:28:55Z" level=warning msg="failed to get disk size: no such file or directory"
sandbox.go:138: time="2024-10-04T22:28:55Z" level=debug msg="could not read \"/tmp/bktest_buildkitd962600747/net/cni\" for cleanup: open /tmp/bktest_buildkitd962600747/net/cni: no such file or directory"
sandbox.go:138: time="2024-10-04T22:28:55Z" level=debug msg="creating new network namespace 7hc70h41gm3f4gzrvheje4oz8"
sandbox.go:138: time="2024-10-04T22:28:55Z" level=debug msg="finished creating network namespace 7hc70h41gm3f4gzrvheje4oz8"
sandbox.go:138: time="2024-10-04T22:28:55Z" level=debug msg="finished setting up network namespace 7hc70h41gm3f4gzrvheje4oz8"
sandbox.go:138: time="2024-10-04T22:28:55Z" level=info msg="found worker \"wctxu7tl1uyngunk1dt2s73ds\", labels=map[org.mobyproject.buildkit.worker.executor:oci org.mobyproject.buildkit.worker.hostname:644db3695eb4 org.mobyproject.buildkit.worker.network:cni 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:stargz], 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-10-04T22:28:55Z" level=info msg="found 1 workers, default=\"wctxu7tl1uyngunk1dt2s73ds\""
sandbox.go:138: time="2024-10-04T22:28:55Z" level=warning msg="currently, only the default worker can be used."
sandbox.go:138: time="2024-10-04T22:28:55Z" level=info msg="running server on /tmp/bktest_buildkitd962600747/buildkitd.sock"
sandbox.go:138: time="2024-10-04T22:28:55Z" level=debug msg="session started" spanID=06d5afe24c4acb30 traceID=98f6b15322b1bf3d325eb26bf827e1bf
sandbox.go:138: time="2024-10-04T22:28:55Z" level=debug msg="new ref for local: puuv8837un5l6rbzqtnmpcktt" span="[internal] load build definition from Dockerfile" spanID=5fdbf1e40814c34a traceID=fcf9c1ede9e421017037a1e467cf6032
sandbox.go:138: time="2024-10-04T22:28:55Z" level=debug msg="checking layer availability" span="[internal] load build definition from Dockerfile" spanID=5fdbf1e40814c34a traceID=fcf9c1ede9e421017037a1e467cf6032
sandbox.go:138: time="2024-10-04T22:28:55Z" level=debug msg="layer is normal snapshot(overlayfs)" span="[internal] load build definition from Dockerfile" spanID=5fdbf1e40814c34a traceID=fcf9c1ede9e421017037a1e467cf6032
|
Generate annotations:
frontend/dockerfile/sandbox.go#L135
=== RUN TestIntegration/TestInvalidDefaultArgInFrom/worker=oci-snapshotter-stargz/frontend=client
=== PAUSE TestIntegration/TestInvalidDefaultArgInFrom/worker=oci-snapshotter-stargz/frontend=client
=== CONT TestIntegration/TestInvalidDefaultArgInFrom/worker=oci-snapshotter-stargz/frontend=client
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 --oci-worker-snapshotter=stargz --config=/tmp/bktest_config434843483/buildkitd.toml --root /tmp/bktest_buildkitd2602604019 --addr unix:///tmp/bktest_buildkitd2602604019/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 --oci-worker-snapshotter=stargz --config=/tmp/bktest_config434843483/buildkitd.toml --root /tmp/bktest_buildkitd2602604019 --addr unix:///tmp/bktest_buildkitd2602604019/buildkitd.sock --debug
sandbox.go:138: > StartCmd 2024-10-04 22:28:54.623826241 +0000 UTC m=+53.275481972 /usr/bin/buildkitd --oci-worker=true --containerd-worker=false --oci-worker-gc=false --oci-worker-labels=org.mobyproject.buildkit.worker.sandbox=true --oci-worker-snapshotter=stargz --config=/tmp/bktest_config434843483/buildkitd.toml --root /tmp/bktest_buildkitd2602604019 --addr unix:///tmp/bktest_buildkitd2602604019/buildkitd.sock --debug
sandbox.go:138: time="2024-10-04T22:28:54Z" level=warning msg="failed to get disk size: no such file or directory"
sandbox.go:138: time="2024-10-04T22:28:54Z" level=warning msg="failed to get disk size: no such file or directory"
sandbox.go:138: time="2024-10-04T22:28:54Z" level=debug msg="could not read \"/tmp/bktest_buildkitd2602604019/net/cni\" for cleanup: open /tmp/bktest_buildkitd2602604019/net/cni: no such file or directory"
sandbox.go:138: time="2024-10-04T22:28:54Z" level=debug msg="creating new network namespace wwfkrb1gins9k07l9kaft7pp8"
sandbox.go:138: time="2024-10-04T22:28:54Z" level=debug msg="finished creating network namespace wwfkrb1gins9k07l9kaft7pp8"
sandbox.go:138: time="2024-10-04T22:28:54Z" level=debug msg="finished setting up network namespace wwfkrb1gins9k07l9kaft7pp8"
sandbox.go:138: time="2024-10-04T22:28:54Z" level=info msg="found worker \"l5clfnrclz88wk1c3f21ekaa9\", labels=map[org.mobyproject.buildkit.worker.executor:oci org.mobyproject.buildkit.worker.hostname:644db3695eb4 org.mobyproject.buildkit.worker.network:cni 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:stargz], 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-10-04T22:28:54Z" level=info msg="found 1 workers, default=\"l5clfnrclz88wk1c3f21ekaa9\""
sandbox.go:138: time="2024-10-04T22:28:54Z" level=warning msg="currently, only the default worker can be used."
sandbox.go:138: time="2024-10-04T22:28:54Z" level=info msg="running server on /tmp/bktest_buildkitd2602604019/buildkitd.sock"
sandbox.go:138: time="2024-10-04T22:28:54Z" level=debug msg="session started" spanID=55c8a4c2c3f5796e traceID=fa25cdff86b9be7c457e7fb1c897dd0e
sandbox.go:138: time="2024-10-04T22:28:54Z" level=debug msg="new ref for local: b08xy9wbps138vmg58hrpm13c" span="[internal] load build definition from Dockerfile" spanID=19c9086263c6db73 traceID=5410fea895ce47c5adc0c71d3e8d381f
sandbox.go:138: time="2024-10-04T22:28:54Z" level=debug msg="checking layer availability" span="[internal] load build definition from Dockerfile" spanID=19c9086263c6db73 traceID=5410fea895ce47c5adc0c71d3e8d381f
sandbox.go:138: time="2024-10-04T22:28:54Z" level=debug msg="layer is normal snapshot(overlayfs)" span="[internal] load build definition from Dockerfile" spanID=19c9086263c6db73 traceID=5410fea895ce47c5adc0c71d3e8d381f
|
Generate annotations:
frontend/dockerfile/dockerfile_lint_test.go#L1554
=== RUN TestIntegration/TestUndeclaredArg/worker=oci-snapshotter-stargz/frontend=client/warntype=progress#06
dockerfile_lint_test.go:1554:
Error Trace: /src/frontend/dockerfile/dockerfile_lint_test.go:1565
/src/frontend/dockerfile/dockerfile_lint_test.go:1520
/src/frontend/dockerfile/dockerfile_lint_test.go:1554
Error: Not equal:
expected: "UndefinedArgInFrom: FROM argument 'BULIDPLATFORM' is not declared (did you mean BUILDPLATFORM?) (line 2)"
actual : "UndefinedArgInFrom: FROM argument 'BULIDPLATFORM' is not declared (line 2)"
Diff:
--- Expected
+++ Actual
@@ -1 +1 @@
-UndefinedArgInFrom: FROM argument 'BULIDPLATFORM' is not declared (did you mean BUILDPLATFORM?) (line 2)
+UndefinedArgInFrom: FROM argument 'BULIDPLATFORM' is not declared (line 2)
Test: TestIntegration/TestUndeclaredArg/worker=oci-snapshotter-stargz/frontend=client/warntype=progress#06
--- FAIL: TestIntegration/TestUndeclaredArg/worker=oci-snapshotter-stargz/frontend=client/warntype=progress#06 (0.03s)
|
Generate annotations:
frontend/dockerfile/dockerfile_lint_test.go#L1419
=== RUN TestIntegration/TestUndeclaredArg/worker=oci-snapshotter-stargz/frontend=client/warntype=unmarshal#06
dockerfile_lint_test.go:1419:
Error Trace: /src/frontend/dockerfile/dockerfile_lint_test.go:1576
/src/frontend/dockerfile/dockerfile_lint_test.go:1419
/src/frontend/gateway/grpcclient/client.go:216
/src/client/build.go:58
/src/client/solve.go:296
/src/vendor/golang.org/x/sync/errgroup/errgroup.go:78
/usr/local/go/src/runtime/asm_amd64.s:1695
Error: Not equal:
expected: "FROM argument 'BULIDPLATFORM' is not declared (did you mean BUILDPLATFORM?)"
actual : "FROM argument 'BULIDPLATFORM' is not declared"
Diff:
--- Expected
+++ Actual
@@ -1 +1 @@
-FROM argument 'BULIDPLATFORM' is not declared (did you mean BUILDPLATFORM?)
+FROM argument 'BULIDPLATFORM' is not declared
Test: TestIntegration/TestUndeclaredArg/worker=oci-snapshotter-stargz/frontend=client/warntype=unmarshal#06
dockerfile_lint_test.go:1432:
Error Trace: /src/frontend/dockerfile/dockerfile_lint_test.go:1432
/src/frontend/dockerfile/dockerfile_lint_test.go:1558
Error: Should be true
Test: TestIntegration/TestUndeclaredArg/worker=oci-snapshotter-stargz/frontend=client/warntype=unmarshal#06
--- FAIL: TestIntegration/TestUndeclaredArg/worker=oci-snapshotter-stargz/frontend=client/warntype=unmarshal#06 (0.03s)
|
Generate annotations:
frontend/dockerfile/dockerfile_lint_test.go#L1554
=== RUN TestIntegration/TestUndeclaredArg/worker=oci-snapshotter-stargz/frontend=builtin/warntype=progress#06
dockerfile_lint_test.go:1554:
Error Trace: /src/frontend/dockerfile/dockerfile_lint_test.go:1565
/src/frontend/dockerfile/dockerfile_lint_test.go:1520
/src/frontend/dockerfile/dockerfile_lint_test.go:1554
Error: Not equal:
expected: "UndefinedArgInFrom: FROM argument 'BULIDPLATFORM' is not declared (did you mean BUILDPLATFORM?) (line 2)"
actual : "UndefinedArgInFrom: FROM argument 'BULIDPLATFORM' is not declared (line 2)"
Diff:
--- Expected
+++ Actual
@@ -1 +1 @@
-UndefinedArgInFrom: FROM argument 'BULIDPLATFORM' is not declared (did you mean BUILDPLATFORM?) (line 2)
+UndefinedArgInFrom: FROM argument 'BULIDPLATFORM' is not declared (line 2)
Test: TestIntegration/TestUndeclaredArg/worker=oci-snapshotter-stargz/frontend=builtin/warntype=progress#06
--- FAIL: TestIntegration/TestUndeclaredArg/worker=oci-snapshotter-stargz/frontend=builtin/warntype=progress#06 (0.02s)
|
Generate annotations:
frontend/dockerfile/dockerfile_lint_test.go#L1419
=== RUN TestIntegration/TestUndeclaredArg/worker=oci-snapshotter-stargz/frontend=builtin/warntype=unmarshal#06
dockerfile_lint_test.go:1419:
Error Trace: /src/frontend/dockerfile/dockerfile_lint_test.go:1576
/src/frontend/dockerfile/dockerfile_lint_test.go:1419
/src/frontend/gateway/grpcclient/client.go:216
/src/client/build.go:58
/src/client/solve.go:296
/src/vendor/golang.org/x/sync/errgroup/errgroup.go:78
/usr/local/go/src/runtime/asm_amd64.s:1695
Error: Not equal:
expected: "FROM argument 'BULIDPLATFORM' is not declared (did you mean BUILDPLATFORM?)"
actual : "FROM argument 'BULIDPLATFORM' is not declared"
Diff:
--- Expected
+++ Actual
@@ -1 +1 @@
-FROM argument 'BULIDPLATFORM' is not declared (did you mean BUILDPLATFORM?)
+FROM argument 'BULIDPLATFORM' is not declared
Test: TestIntegration/TestUndeclaredArg/worker=oci-snapshotter-stargz/frontend=builtin/warntype=unmarshal#06
dockerfile_lint_test.go:1432:
Error Trace: /src/frontend/dockerfile/dockerfile_lint_test.go:1432
/src/frontend/dockerfile/dockerfile_lint_test.go:1558
Error: Should be true
Test: TestIntegration/TestUndeclaredArg/worker=oci-snapshotter-stargz/frontend=builtin/warntype=unmarshal#06
--- FAIL: TestIntegration/TestUndeclaredArg/worker=oci-snapshotter-stargz/frontend=builtin/warntype=unmarshal#06 (0.02s)
|
Generate annotations:
frontend/dockerfile/dockerfile_lint_test.go#L1554
=== RUN TestIntegration/TestInvalidDefaultArgInFrom/worker=oci-snapshotter-stargz/frontend=client/warntype=progress
dockerfile_lint_test.go:1554: expected 1 warnings, received:
dockerfile_lint_test.go:1554:
Error Trace: /src/frontend/dockerfile/dockerfile_lint_test.go:1505
/src/frontend/dockerfile/dockerfile_lint_test.go:1554
Error: Not equal:
expected: 1
actual : 0
Test: TestIntegration/TestInvalidDefaultArgInFrom/worker=oci-snapshotter-stargz/frontend=client/warntype=progress
--- FAIL: TestIntegration/TestInvalidDefaultArgInFrom/worker=oci-snapshotter-stargz/frontend=client/warntype=progress (0.17s)
|
Test
Process completed with exit code 1.
|
Loading