Add additional warnings for lint rules #2674
Annotations
4 errors
Generate annotations:
frontend/dockerfile/run.go#L270
=== RUN TestIntegration
time="2024-03-16T00:31:42Z" level=info msg="trying next host - response was http.StatusNotFound" host="localhost:41969"
run.go:270: copied docker.io/amd64/busybox:latest@sha256:023917ec6a886d0e8e15f28fb543515a5fcd8d938edb091e8147db4efed388ee to local mirror localhost:41969/library/busybox:latest
run.go:270: copied docker.io/amd64/debian:bullseye-20230109-slim@sha256:1acb06a0c31fb467eb8327ad361f1091ab265e0bf26d452dea45dcb0c0ea5e75 to local mirror localhost:44577/amd64/bullseye-20230109-slim
--- FAIL: TestIntegration (1.43s)
|
Generate annotations:
frontend/dockerfile/dockerfile_test.go#L6834
=== RUN TestIntegration/TestMultiPlatformWarnings/worker=containerd-rootless/frontend=builtin
=== PAUSE TestIntegration/TestMultiPlatformWarnings/worker=containerd-rootless/frontend=builtin
=== CONT TestIntegration/TestMultiPlatformWarnings/worker=containerd-rootless/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=containerd-rootless/frontend=builtin
sandbox.go:128: stderr: /usr/bin/sudo -u #1000 -i -- exec nsenter -U --preserve-credentials -m -t 34000 buildkitd --containerd-worker-gc=false --containerd-worker=true --containerd-worker-addr /tmp/bktest_containerd2695595165/containerd.sock --containerd-worker-labels=org.mobyproject.buildkit.worker.sandbox=true --oci-worker=false --containerd-worker-snapshotter=native --containerd-worker-snapshotter=native --config=/tmp/bktest_config4113971446/buildkitd.toml --root /tmp/bktest_buildkitd3196927738 --addr unix:///tmp/bktest_buildkitd3196927738/buildkitd.sock --debug
sandbox.go:131: > StartCmd 2024-03-16 00:32:17.23554016 +0000 UTC m=+35.202921936 /usr/bin/sudo -u #1000 -i -- exec nsenter -U --preserve-credentials -m -t 34000 buildkitd --containerd-worker-gc=false --containerd-worker=true --containerd-worker-addr /tmp/bktest_containerd2695595165/containerd.sock --containerd-worker-labels=org.mobyproject.buildkit.worker.sandbox=true --oci-worker=false --containerd-worker-snapshotter=native --containerd-worker-snapshotter=native --config=/tmp/bktest_config4113971446/buildkitd.toml --root /tmp/bktest_buildkitd3196927738 --addr unix:///tmp/bktest_buildkitd3196927738/buildkitd.sock --debug
sandbox.go:131: time="2024-03-16T00:32:17Z" level=debug msg="running in rootless mode"
sandbox.go:131: time="2024-03-16T00:32:17Z" level=debug msg="remote introspection plugin filters" filters="[type==io.containerd.runtime.v1 type==io.containerd.runtime.v2]"
sandbox.go:131: time="2024-03-16T00:32:17Z" level=info msg="found worker \"mybilcy8glcwdk2hbfng6tmx5\", labels=map[org.mobyproject.buildkit.worker.containerd.namespace:buildkit org.mobyproject.buildkit.worker.containerd.uuid:f241c147-2f27-4c7a-b587-2a25cbd65aa0 org.mobyproject.buildkit.worker.executor:containerd org.mobyproject.buildkit.worker.hostname:fa076ca44ddf org.mobyproject.buildkit.worker.network:host org.mobyproject.buildkit.worker.sandbox:true org.mobyproject.buildkit.worker.selinux.enabled:false org.mobyproject.buildkit.worker.snapshotter:native], 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:17Z" level=info msg="found 1 workers, default=\"mybilcy8glcwdk2hbfng6tmx5\""
sandbox.go:131: time="2024-03-16T00:32:17Z" level=warning msg="currently, only the default worker can be used."
sandbox.go:131: time="2024-03-16T00:32:17Z" level=info msg="running server on /tmp/bktest_buildkitd3196927738/buildkitd.sock"
sandbox.go:131: time="2024-03-16T00:32:17Z" level=debug msg="session started" spanID=baeabbbde31f62c5 traceID=bfbeaee90ca251e65c047421116a8083
sandbox.go:131: time="2024-03-16T00:32:17Z" level=debug msg="new ref for local: znhyw3kvegk9smywa5yrqduc5" span="[internal] load build definition from Dockerfile" spanID=af73345f95039f23 traceID=9c5784249e212770f0ed2557ea83b222
sandbox.go:131: t
|
Generate annotations:
frontend/dockerfile/dockerfile_test.go#L6834
=== RUN TestIntegration/TestMultiPlatformWarnings/worker=containerd-rootless/frontend=client
=== PAUSE TestIntegration/TestMultiPlatformWarnings/worker=containerd-rootless/frontend=client
=== CONT TestIntegration/TestMultiPlatformWarnings/worker=containerd-rootless/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=containerd-rootless/frontend=client
sandbox.go:128: stderr: /usr/bin/sudo -u #1000 -i -- exec nsenter -U --preserve-credentials -m -t 33921 buildkitd --containerd-worker-gc=false --containerd-worker=true --containerd-worker-addr /tmp/bktest_containerd1691975244/containerd.sock --containerd-worker-labels=org.mobyproject.buildkit.worker.sandbox=true --oci-worker=false --containerd-worker-snapshotter=native --containerd-worker-snapshotter=native --config=/tmp/bktest_config3544233562/buildkitd.toml --root /tmp/bktest_buildkitd112853114 --addr unix:///tmp/bktest_buildkitd112853114/buildkitd.sock --debug
sandbox.go:131: > StartCmd 2024-03-16 00:32:17.146138288 +0000 UTC m=+35.113520064 /usr/bin/sudo -u #1000 -i -- exec nsenter -U --preserve-credentials -m -t 33921 buildkitd --containerd-worker-gc=false --containerd-worker=true --containerd-worker-addr /tmp/bktest_containerd1691975244/containerd.sock --containerd-worker-labels=org.mobyproject.buildkit.worker.sandbox=true --oci-worker=false --containerd-worker-snapshotter=native --containerd-worker-snapshotter=native --config=/tmp/bktest_config3544233562/buildkitd.toml --root /tmp/bktest_buildkitd112853114 --addr unix:///tmp/bktest_buildkitd112853114/buildkitd.sock --debug
sandbox.go:131: time="2024-03-16T00:32:17Z" level=debug msg="running in rootless mode"
sandbox.go:131: time="2024-03-16T00:32:17Z" level=debug msg="remote introspection plugin filters" filters="[type==io.containerd.runtime.v1 type==io.containerd.runtime.v2]"
sandbox.go:131: time="2024-03-16T00:32:17Z" level=info msg="found worker \"vudgwyu8jsug1hngomqiq585l\", labels=map[org.mobyproject.buildkit.worker.containerd.namespace:buildkit org.mobyproject.buildkit.worker.containerd.uuid:282f4a1c-8892-447e-ac6c-39d5b06b66dc org.mobyproject.buildkit.worker.executor:containerd org.mobyproject.buildkit.worker.hostname:fa076ca44ddf org.mobyproject.buildkit.worker.network:host org.mobyproject.buildkit.worker.sandbox:true org.mobyproject.buildkit.worker.selinux.enabled:false org.mobyproject.buildkit.worker.snapshotter:native], 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:17Z" level=info msg="found 1 workers, default=\"vudgwyu8jsug1hngomqiq585l\""
sandbox.go:131: time="2024-03-16T00:32:17Z" level=warning msg="currently, only the default worker can be used."
sandbox.go:131: time="2024-03-16T00:32:17Z" level=info msg="running server on /tmp/bktest_buildkitd112853114/buildkitd.sock"
sandbox.go:131: time="2024-03-16T00:32:17Z" level=debug msg="session started" spanID=d6448dc91d4de9f7 traceID=c6ed9f8bca06c1d7ae62f6045a2d126e
sandbox.go:131: time="2024-03-16T00:32:17Z" level=debug msg="new ref for local: sikcr5fxwrfaqoepn7rht9ryw" span="[internal] load build definition from Dockerfile" spanID=9f9b8bebc8d8de73 traceID=855b64c1ff699ee54def8a1b966b9251
sandbox.go:131: time="202
|
Test
Process completed with exit code 1.
|
The logs for this run have expired and are no longer available.
Loading