Add additional warnings for lint rules #2674
Annotations
4 errors
Generate annotations:
frontend/dockerfile/run.go#L270
=== RUN TestIntegration
time="2024-03-16T00:31:49Z" level=info msg="trying next host - response was http.StatusNotFound" host="localhost:43411"
run.go:270: copied docker.io/amd64/busybox:latest@sha256:023917ec6a886d0e8e15f28fb543515a5fcd8d938edb091e8147db4efed388ee to local mirror localhost:43411/library/busybox:latest
run.go:270: copied docker.io/amd64/debian:bullseye-20230109-slim@sha256:1acb06a0c31fb467eb8327ad361f1091ab265e0bf26d452dea45dcb0c0ea5e75 to local mirror localhost:38675/amd64/bullseye-20230109-slim
--- FAIL: TestIntegration (1.98s)
|
Generate annotations:
frontend/dockerfile/dockerfile_test.go#L6834
=== RUN TestIntegration/TestMultiPlatformWarnings/worker=oci-rootless-slirp4netns-detachnetns/frontend=builtin
=== PAUSE TestIntegration/TestMultiPlatformWarnings/worker=oci-rootless-slirp4netns-detachnetns/frontend=builtin
=== CONT TestIntegration/TestMultiPlatformWarnings/worker=oci-rootless-slirp4netns-detachnetns/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-rootless-slirp4netns-detachnetns/frontend=builtin
sandbox.go:128: stdout: /usr/bin/sudo -u #1000 -i -- exec rootlesskit --net=slirp4netns --copy-up=/etc --disable-host-loopback --detach-netns buildkitd --oci-worker=true --containerd-worker=false --oci-worker-gc=false --oci-worker-labels=org.mobyproject.buildkit.worker.sandbox=true --config=/tmp/bktest_config2739415259/buildkitd.toml --root /tmp/bktest_buildkitd3419469592 --addr unix:///tmp/bktest_buildkitd3419469592/buildkitd.sock --debug
sandbox.go:128: stderr: /usr/bin/sudo -u #1000 -i -- exec rootlesskit --net=slirp4netns --copy-up=/etc --disable-host-loopback --detach-netns buildkitd --oci-worker=true --containerd-worker=false --oci-worker-gc=false --oci-worker-labels=org.mobyproject.buildkit.worker.sandbox=true --config=/tmp/bktest_config2739415259/buildkitd.toml --root /tmp/bktest_buildkitd3419469592 --addr unix:///tmp/bktest_buildkitd3419469592/buildkitd.sock --debug
sandbox.go:131: > StartCmd 2024-03-16 00:32:04.838020147 +0000 UTC m=+15.224936994 /usr/bin/sudo -u #1000 -i -- exec rootlesskit --net=slirp4netns --copy-up=/etc --disable-host-loopback --detach-netns buildkitd --oci-worker=true --containerd-worker=false --oci-worker-gc=false --oci-worker-labels=org.mobyproject.buildkit.worker.sandbox=true --config=/tmp/bktest_config2739415259/buildkitd.toml --root /tmp/bktest_buildkitd3419469592 --addr unix:///tmp/bktest_buildkitd3419469592/buildkitd.sock --debug
sandbox.go:131: time="2024-03-16T00:32:05Z" level=info msg="auto snapshotter: using overlayfs"
sandbox.go:131: time="2024-03-16T00:32:05Z" level=debug msg="running in rootless mode"
sandbox.go:131: time="2024-03-16T00:32:05Z" level=info msg="found worker \"psuul7dg8qkj7n36wrptwo2e9\", labels=map[org.mobyproject.buildkit.worker.executor:oci org.mobyproject.buildkit.worker.hostname:25d8d3030a68 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/mips64le linux/mips64 linux/arm/v7 linux/arm/v6]"
sandbox.go:131: time="2024-03-16T00:32:05Z" level=info msg="found 1 workers, default=\"psuul7dg8qkj7n36wrptwo2e9\""
sandbox.go:131: time="2024-03-16T00:32:05Z" level=warning msg="currently, only the default worker can be used."
sandbox.go:131: time="2024-03-16T00:32:05Z" level=info msg="running server on /tmp/bktest_buildkitd3419469592/buildkitd.sock"
sandbox.go:131: time="2024-03-16T00:32:05Z" level=debug msg="session started" spanID=4c7189df8888e7c8 traceID=acbd20f4832ef615b83979a4d94cc0e5
sandbox.go:131: time="2024-03-16T00:32:05Z" level=debug msg="new ref for local: 9drjufg03qgnu25o7ocpdb9ef" span="[internal] load build definition from Dockerfi
|
Generate annotations:
frontend/dockerfile/dockerfile_test.go#L6834
=== RUN TestIntegration/TestMultiPlatformWarnings/worker=oci-rootless-slirp4netns-detachnetns/frontend=client
=== PAUSE TestIntegration/TestMultiPlatformWarnings/worker=oci-rootless-slirp4netns-detachnetns/frontend=client
=== CONT TestIntegration/TestMultiPlatformWarnings/worker=oci-rootless-slirp4netns-detachnetns/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-rootless-slirp4netns-detachnetns/frontend=client
sandbox.go:128: stdout: /usr/bin/sudo -u #1000 -i -- exec rootlesskit --net=slirp4netns --copy-up=/etc --disable-host-loopback --detach-netns buildkitd --oci-worker=true --containerd-worker=false --oci-worker-gc=false --oci-worker-labels=org.mobyproject.buildkit.worker.sandbox=true --config=/tmp/bktest_config1466282523/buildkitd.toml --root /tmp/bktest_buildkitd3066176986 --addr unix:///tmp/bktest_buildkitd3066176986/buildkitd.sock --debug
sandbox.go:128: stderr: /usr/bin/sudo -u #1000 -i -- exec rootlesskit --net=slirp4netns --copy-up=/etc --disable-host-loopback --detach-netns buildkitd --oci-worker=true --containerd-worker=false --oci-worker-gc=false --oci-worker-labels=org.mobyproject.buildkit.worker.sandbox=true --config=/tmp/bktest_config1466282523/buildkitd.toml --root /tmp/bktest_buildkitd3066176986 --addr unix:///tmp/bktest_buildkitd3066176986/buildkitd.sock --debug
sandbox.go:131: > StartCmd 2024-03-16 00:32:06.442256971 +0000 UTC m=+16.829173818 /usr/bin/sudo -u #1000 -i -- exec rootlesskit --net=slirp4netns --copy-up=/etc --disable-host-loopback --detach-netns buildkitd --oci-worker=true --containerd-worker=false --oci-worker-gc=false --oci-worker-labels=org.mobyproject.buildkit.worker.sandbox=true --config=/tmp/bktest_config1466282523/buildkitd.toml --root /tmp/bktest_buildkitd3066176986 --addr unix:///tmp/bktest_buildkitd3066176986/buildkitd.sock --debug
sandbox.go:131: time="2024-03-16T00:32:06Z" level=info msg="auto snapshotter: using overlayfs"
sandbox.go:131: time="2024-03-16T00:32:06Z" level=debug msg="running in rootless mode"
sandbox.go:131: time="2024-03-16T00:32:06Z" level=info msg="found worker \"9skys7wd04znwucf4mfo8i99n\", labels=map[org.mobyproject.buildkit.worker.executor:oci org.mobyproject.buildkit.worker.hostname:25d8d3030a68 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/mips64le linux/mips64 linux/arm/v7 linux/arm/v6]"
sandbox.go:131: time="2024-03-16T00:32:06Z" level=info msg="found 1 workers, default=\"9skys7wd04znwucf4mfo8i99n\""
sandbox.go:131: time="2024-03-16T00:32:06Z" level=warning msg="currently, only the default worker can be used."
sandbox.go:131: time="2024-03-16T00:32:06Z" level=info msg="running server on /tmp/bktest_buildkitd3066176986/buildkitd.sock"
sandbox.go:131: time="2024-03-16T00:32:06Z" level=debug msg="session started" spanID=30327004cd710d2c traceID=e8e7eb846b21ac1f3f54eeac3541d62d
sandbox.go:131: time="2024-03-16T00:32:06Z" level=debug msg="new ref for local: y5nbepff3qiqipf52ykf28l0f" span="[internal] load build definition from Dockerfile"
|
Test
Process completed with exit code 1.
|
The logs for this run have expired and are no longer available.
Loading