Add additional warnings for lint rules #2674
Annotations
4 errors
Generate annotations:
frontend/dockerfile/run.go#L270
=== RUN TestIntegration
time="2024-03-16T00:32:18Z" level=info msg="trying next host - response was http.StatusNotFound" host="localhost:32915"
run.go:270: copied docker.io/amd64/busybox:latest@sha256:023917ec6a886d0e8e15f28fb543515a5fcd8d938edb091e8147db4efed388ee to local mirror localhost:32915/library/busybox:latest
run.go:270: copied docker.io/amd64/debian:bullseye-20230109-slim@sha256:1acb06a0c31fb467eb8327ad361f1091ab265e0bf26d452dea45dcb0c0ea5e75 to local mirror localhost:41101/amd64/bullseye-20230109-slim
--- FAIL: TestIntegration (2.17s)
|
Generate annotations:
frontend/dockerfile/dockerfile_test.go#L6834
=== RUN TestIntegration/TestMultiPlatformWarnings/worker=oci/frontend=builtin
=== PAUSE TestIntegration/TestMultiPlatformWarnings/worker=oci/frontend=builtin
=== CONT TestIntegration/TestMultiPlatformWarnings/worker=oci/frontend=builtin
dockerfile_test.go:6834:
Error Trace: /src/frontend/dockerfile/dockerfile_test.go:6834
/src/util/testutil/integration/run.go:94
/src/util/testutil/integration/run.go:208
Error: Not equal:
expected: "Empty continuation line found in: COPY Dockerfile ."
actual : "Empty Continuation Line (Dockerfile:5)"
Diff:
--- Expected
+++ Actual
@@ -1 +1 @@
-Empty continuation line found in: COPY Dockerfile .
+Empty Continuation Line (Dockerfile:5)
Test: TestIntegration/TestMultiPlatformWarnings/worker=oci/frontend=builtin
sandbox.go:128: 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_config2592034399/buildkitd.toml --root /tmp/bktest_buildkitd658466697 --addr unix:///tmp/bktest_buildkitd658466697/buildkitd.sock --debug
sandbox.go:131: > StartCmd 2024-03-16 00:32:36.43736154 +0000 UTC m=+17.965225614 /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_config2592034399/buildkitd.toml --root /tmp/bktest_buildkitd658466697 --addr unix:///tmp/bktest_buildkitd658466697/buildkitd.sock --debug
sandbox.go:131: time="2024-03-16T00:32:36Z" level=info msg="auto snapshotter: using overlayfs"
sandbox.go:131: time="2024-03-16T00:32:36Z" level=debug msg="could not read \"/tmp/bktest_buildkitd658466697/net/cni\" for cleanup: open /tmp/bktest_buildkitd658466697/net/cni: no such file or directory"
sandbox.go:131: time="2024-03-16T00:32:36Z" level=debug msg="creating new network namespace nzhzicqr8nyjx5hky9iorqmw9"
sandbox.go:131: time="2024-03-16T00:32:36Z" level=debug msg="finished creating network namespace nzhzicqr8nyjx5hky9iorqmw9"
sandbox.go:131: time="2024-03-16T00:32:36Z" level=debug msg="finished setting up network namespace nzhzicqr8nyjx5hky9iorqmw9"
sandbox.go:131: time="2024-03-16T00:32:36Z" level=info msg="found worker \"kyv48n9qui45y6fixe2wcxxmj\", labels=map[org.mobyproject.buildkit.worker.executor:oci org.mobyproject.buildkit.worker.hostname:74ddbf3b2e4c 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:overlayfs], platforms=[linux/amd64 linux/amd64/v2 linux/amd64/v3 linux/arm64 linux/riscv64 linux/ppc64le linux/s390x linux/386 linux/mips64le linux/mips64 linux/arm/v7 linux/arm/v6]"
sandbox.go:131: time="2024-03-16T00:32:36Z" level=info msg="found 1 workers, default=\"kyv48n9qui45y6fixe2wcxxmj\""
sandbox.go:131: time="2024-03-16T00:32:36Z" level=warning msg="currently, only the default worker can be used."
sandbox.go:131: time="2024-03-16T00:32:36Z" level=info msg="running server on /tmp/bktest_buildkitd658466697/buildkitd.sock"
sandbox.go:131: time="2024-03-16T00:32:36Z" level=debug msg="session started" spanID=0745d3d2e8eadfc2 traceID=3b237f11a24b7236825928666ee96643
sandbox.go:131: time="2024-03-16T00:32:36Z" level=debug msg="new ref for local: yac7rve9dpixhhzwvisjhn8oc" span="[internal] load build definition from Dockerfile" spanID=824b7fd020a50352 traceID=f30dde94e36782046c18bb465024c493
sandbox.go:131: time="2024-03-16T00:32:36Z" level=debug msg="diffcopy took: 1.462304ms" span="[internal] load build definition from Dockerfile" spanID=ee7bb814c521416b traceID=f30dde94e36782046c18bb465024c493
sandbox.go:131: time=
|
Generate annotations:
frontend/dockerfile/dockerfile_test.go#L6834
=== RUN TestIntegration/TestMultiPlatformWarnings/worker=oci/frontend=client
=== PAUSE TestIntegration/TestMultiPlatformWarnings/worker=oci/frontend=client
=== CONT TestIntegration/TestMultiPlatformWarnings/worker=oci/frontend=client
dockerfile_test.go:6834:
Error Trace: /src/frontend/dockerfile/dockerfile_test.go:6834
/src/util/testutil/integration/run.go:94
/src/util/testutil/integration/run.go:208
Error: Not equal:
expected: "Empty continuation line found in: COPY Dockerfile ."
actual : "Empty Continuation Line (Dockerfile:5)"
Diff:
--- Expected
+++ Actual
@@ -1 +1 @@
-Empty continuation line found in: COPY Dockerfile .
+Empty Continuation Line (Dockerfile:5)
Test: TestIntegration/TestMultiPlatformWarnings/worker=oci/frontend=client
sandbox.go:128: 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_config732740408/buildkitd.toml --root /tmp/bktest_buildkitd4112384870 --addr unix:///tmp/bktest_buildkitd4112384870/buildkitd.sock --debug
sandbox.go:128: 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_config732740408/buildkitd.toml --root /tmp/bktest_buildkitd4112384870 --addr unix:///tmp/bktest_buildkitd4112384870/buildkitd.sock --debug
sandbox.go:131: > StartCmd 2024-03-16 00:32:36.315510452 +0000 UTC m=+17.843374556 /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_config732740408/buildkitd.toml --root /tmp/bktest_buildkitd4112384870 --addr unix:///tmp/bktest_buildkitd4112384870/buildkitd.sock --debug
sandbox.go:131: time="2024-03-16T00:32:36Z" level=info msg="auto snapshotter: using overlayfs"
sandbox.go:131: time="2024-03-16T00:32:36Z" level=debug msg="could not read \"/tmp/bktest_buildkitd4112384870/net/cni\" for cleanup: open /tmp/bktest_buildkitd4112384870/net/cni: no such file or directory"
sandbox.go:131: time="2024-03-16T00:32:36Z" level=debug msg="creating new network namespace x8lmyvb9y6ux6sct0hf9eyrww"
sandbox.go:131: time="2024-03-16T00:32:36Z" level=debug msg="finished creating network namespace x8lmyvb9y6ux6sct0hf9eyrww"
sandbox.go:131: time="2024-03-16T00:32:36Z" level=debug msg="finished setting up network namespace x8lmyvb9y6ux6sct0hf9eyrww"
sandbox.go:131: time="2024-03-16T00:32:36Z" level=info msg="found worker \"uhr1kz5erf873hzrm4rug4k81\", labels=map[org.mobyproject.buildkit.worker.executor:oci org.mobyproject.buildkit.worker.hostname:74ddbf3b2e4c 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:overlayfs], platforms=[linux/amd64 linux/amd64/v2 linux/amd64/v3 linux/arm64 linux/riscv64 linux/ppc64le linux/s390x linux/386 linux/mips64le linux/mips64 linux/arm/v7 linux/arm/v6]"
sandbox.go:131: time="2024-03-16T00:32:36Z" level=info msg="found 1 workers, default=\"uhr1kz5erf873hzrm4rug4k81\""
sandbox.go:131: time="2024-03-16T00:32:36Z" level=warning msg="currently, only the default worker can be used."
sandbox.go:131: time="2024-03-16T00:32:36Z" level=info msg="running server on /tmp/bktest_buildkitd4112384870/buildkitd.sock"
sandbox.go:131: time="2024-03-16T00:32:36Z" level=debug msg="session started" spanID=f9e2d84cb7001646 traceID=b7aa16f824825fd2b99c0f92a20f03e6
sandbox.go:131: time="2024-03-16T00:32:36Z" level=debug msg="new ref for local: 0oy0j8zjtin3usfaql9zxio25" span="[internal] lo
|
Test
Process completed with exit code 1.
|
The logs for this run have expired and are no longer available.
Loading