frontend: sets the InvalidDefinitionDescription check to be experimental #4591
Annotations
5 errors
Generate annotations:
frontend/dockerfile/run.go#L272
=== RUN TestIntegration
run.go:272: copied docker.io/amd64/busybox:latest@sha256:023917ec6a886d0e8e15f28fb543515a5fcd8d938edb091e8147db4efed388ee to local mirror localhost:36933/library/busybox:latest
time="2024-10-09T14:12:47Z" level=info msg="trying next host - response was http.StatusNotFound" host="localhost:36933"
run.go:272: copied docker.io/amd64/alpine:latest@sha256:25fad2a32ad1f6f510e528448ae1ec69a28ef81916a004d3629874104f8a7f70 to local mirror localhost:36933/library/alpine:latest
time="2024-10-09T14:12:47Z" level=info msg="trying next host - response was http.StatusNotFound" host="localhost:36933"
run.go:272: copied local:/mainline.tar to local mirror localhost:36933/buildkit_test/nyut1p9zf2g1i6ht22093aaqi:latest
run.go:272: copied docker.io/amd64/debian:bullseye-20230109-slim@sha256:1acb06a0c31fb467eb8327ad361f1091ab265e0bf26d452dea45dcb0c0ea5e75 to local mirror localhost:38715/amd64/bullseye-20230109-slim:latest
--- FAIL: TestIntegration (0.04s)
|
Generate annotations:
frontend/dockerfile/sandbox.go#L135
=== RUN TestIntegration/TestDefinitionDescription/worker=oci-snapshotter-stargz/frontend=gateway
=== PAUSE TestIntegration/TestDefinitionDescription/worker=oci-snapshotter-stargz/frontend=gateway
=== CONT TestIntegration/TestDefinitionDescription/worker=oci-snapshotter-stargz/frontend=gateway
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_config2530765424/buildkitd.toml --root /tmp/bktest_buildkitd1303219399 --addr unix:///tmp/bktest_buildkitd1303219399/buildkitd.sock --debug
sandbox.go:138: > StartCmd 2024-10-09 14:13:38.983875474 +0000 UTC m=+52.047184880 /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_config2530765424/buildkitd.toml --root /tmp/bktest_buildkitd1303219399 --addr unix:///tmp/bktest_buildkitd1303219399/buildkitd.sock --debug
sandbox.go:138: time="2024-10-09T14:13:39Z" level=debug msg="could not read \"/tmp/bktest_buildkitd1303219399/net/cni\" for cleanup: open /tmp/bktest_buildkitd1303219399/net/cni: no such file or directory"
sandbox.go:138: time="2024-10-09T14:13:39Z" level=debug msg="creating new network namespace yyp02sl7a1fec0r1rg68otih0"
sandbox.go:138: time="2024-10-09T14:13:39Z" level=debug msg="finished creating network namespace yyp02sl7a1fec0r1rg68otih0"
sandbox.go:138: time="2024-10-09T14:13:39Z" level=debug msg="finished setting up network namespace yyp02sl7a1fec0r1rg68otih0"
sandbox.go:138: time="2024-10-09T14:13:39Z" level=info msg="found worker \"n1bw31s2n4gokno0am4u9qe6z\", labels=map[org.mobyproject.buildkit.worker.executor:oci org.mobyproject.buildkit.worker.hostname:c01a19592be6 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-09T14:13:39Z" level=info msg="found 1 workers, default=\"n1bw31s2n4gokno0am4u9qe6z\""
sandbox.go:138: time="2024-10-09T14:13:39Z" level=warning msg="currently, only the default worker can be used."
sandbox.go:138: time="2024-10-09T14:13:39Z" level=info msg="running server on /tmp/bktest_buildkitd1303219399/buildkitd.sock"
sandbox.go:138: time="2024-10-09T14:13:39Z" level=debug msg="session started" spanID=73ebf74c4218ae38 traceID=4c10be466f9f833074d1f2e3e7496cab
sandbox.go:138: time="2024-10-09T14:13:39Z" level=debug msg="checked for cached auth handler namespace" cached=false key="docker.io/buildkit_test/nyut1p9zf2g1i6ht22093aaqi::pull" name=docker.io/buildkit_test/nyut1p9zf2g1i6ht22093aaqi scope=pull
sandbox.go:138: time="2024-10-09T14:13:39Z" level=debug msg=resolving span="resolving docker.io/buildkit_test/nyut1p9zf2g1i6ht22093aaqi:latest" spanID=7d501db43b2394b0 traceID=9c557f766f5840cf750e22fd87e04d90
sandbox.go:138: time="2024-10-09T14:13:39Z" level=debug msg="do request" request.header.accept="application/vnd.docker.distribution.manifest.v2+json, application/vnd.docker.distribution.manifest.list.v2+json, application/vnd.oci.image.manifest.v1+json, application/vnd.oci.image.index.v1+json, */*" request.header.user-agent=buildkit/v0.0.0+unknown request.method=HEAD span="resolving docker.io/buildkit_test/nyut1p9zf2g1i6ht22093aaqi:latest" spanID=7d501db43b2394b0 traceID=9c557f766f5840cf750e22fd87e04d90
sandbox.go:138: time="2024-10-09T14:13:39Z" level=debug msg="fetch response received" response.header.content-length=482 response.header.content-type=application/vnd.oci.image.manifest.v1+json response.header.date="Wed, 09 Oct 2024 14:13:39 GMT" response.header.docker-content-digest="sha256:1d89de17c4
|
Generate annotations:
frontend/dockerfile/dockerfile_lint_test.go#L1645
=== RUN TestIntegration/TestDefinitionDescription/worker=oci-snapshotter-stargz/frontend=gateway/warntype=progress#01
dockerfile_lint_test.go:1645: expected 4 warnings, received:
dockerfile_lint_test.go:1645: expected:
dockerfile_lint_test.go:1645: 0: Comment for ARG should follow the format: `# foo <description>`
dockerfile_lint_test.go:1645: 1: Comment for FROM should follow the format: `# base <description>`
dockerfile_lint_test.go:1645: 2: Comment for ARG should follow the format: `# version <description>`
dockerfile_lint_test.go:1645: 3: Comment for ARG should follow the format: `# <arg_key> <description>`
dockerfile_lint_test.go:1645: received:
dockerfile_lint_test.go:1645:
Error Trace: /src/frontend/dockerfile/dockerfile_lint_test.go:1596
/src/frontend/dockerfile/dockerfile_lint_test.go:1645
Error: Not equal:
expected: 4
actual : 0
Test: TestIntegration/TestDefinitionDescription/worker=oci-snapshotter-stargz/frontend=gateway/warntype=progress#01
--- FAIL: TestIntegration/TestDefinitionDescription/worker=oci-snapshotter-stargz/frontend=gateway/warntype=progress#01 (0.14s)
|
Generate annotations:
frontend/dockerfile/dockerfile_lint_test.go#L1492
=== RUN TestIntegration/TestDefinitionDescription/worker=oci-snapshotter-stargz/frontend=gateway/warntype=unmarshal#01
dockerfile_lint_test.go:1492:
Error Trace: /src/frontend/dockerfile/dockerfile_lint_test.go:1492
/src/frontend/gateway/grpcclient/client.go:215
/src/client/build.go:58
/src/client/solve.go:295
/src/vendor/golang.org/x/sync/errgroup/errgroup.go:78
/usr/local/go/src/runtime/asm_amd64.s:1695
Error: Not equal:
expected: 4
actual : 0
Test: TestIntegration/TestDefinitionDescription/worker=oci-snapshotter-stargz/frontend=gateway/warntype=unmarshal#01
dockerfile_lint_test.go:1518:
Error Trace: /src/frontend/dockerfile/dockerfile_lint_test.go:1518
/src/frontend/dockerfile/dockerfile_lint_test.go:1649
Error: Should be true
Test: TestIntegration/TestDefinitionDescription/worker=oci-snapshotter-stargz/frontend=gateway/warntype=unmarshal#01
--- FAIL: TestIntegration/TestDefinitionDescription/worker=oci-snapshotter-stargz/frontend=gateway/warntype=unmarshal#01 (0.04s)
|
Test
Process completed with exit code 1.
|
Loading