Lock ops based on computed key rather than LLB digest #243
Annotations
9 errors and 2 warnings
Generate annotations:
frontend/dockerfile/dockerfile_test.go#L1811
=== RUN TestIntegration/TestCmdShell/worker=containerd-rootless/frontend=builtin
=== PAUSE TestIntegration/TestCmdShell/worker=containerd-rootless/frontend=builtin
=== CONT TestIntegration/TestCmdShell/worker=containerd-rootless/frontend=builtin
dockerfile_test.go:1811:
Error Trace: /src/frontend/dockerfile/dockerfile_test.go:1811
/src/util/testutil/integration/run.go:91
/src/util/testutil/integration/run.go:205
Error: Not equal:
expected: []string(nil)
actual : []string{"test"}
Diff:
--- Expected
+++ Actual
@@ -1,2 +1,4 @@
-([]string) <nil>
+([]string) (len=1) {
+ (string) (len=4) "test"
+}
Test: TestIntegration/TestCmdShell/worker=containerd-rootless/frontend=builtin
sandbox.go:128: stdout: /usr/bin/sudo -u #1000 -i CONTAINERD_ROOTLESS_ROOTLESSKIT_STATE_DIR=/tmp/bktest_containerd1252805819/rootlesskit-containerd CONTAINERD_ROOTLESS_ROOTLESSKIT_NET=host CONTAINERD_ROOTLESS_ROOTLESSKIT_PORT_DRIVER=none CONTAINERD_ROOTLESS_ROOTLESSKIT_FLAGS=--mtu=0 containerd-rootless.sh -c /tmp/bktest_containerd1252805819/config.toml
sandbox.go:128: stderr: /usr/bin/sudo -u #1000 -i CONTAINERD_ROOTLESS_ROOTLESSKIT_STATE_DIR=/tmp/bktest_containerd1252805819/rootlesskit-containerd CONTAINERD_ROOTLESS_ROOTLESSKIT_NET=host CONTAINERD_ROOTLESS_ROOTLESSKIT_PORT_DRIVER=none CONTAINERD_ROOTLESS_ROOTLESSKIT_FLAGS=--mtu=0 containerd-rootless.sh -c /tmp/bktest_containerd1252805819/config.toml
sandbox.go:131: > StartCmd 2024-05-17 22:23:27.639576764 +0000 UTC m=+2.196468287 /usr/bin/sudo -u #1000 -i CONTAINERD_ROOTLESS_ROOTLESSKIT_STATE_DIR=/tmp/bktest_containerd1252805819/rootlesskit-containerd CONTAINERD_ROOTLESS_ROOTLESSKIT_NET=host CONTAINERD_ROOTLESS_ROOTLESSKIT_PORT_DRIVER=none CONTAINERD_ROOTLESS_ROOTLESSKIT_FLAGS=--mtu=0 containerd-rootless.sh -c /tmp/bktest_containerd1252805819/config.toml
sandbox.go:131: time="2024-05-17T22:23:27Z" level=warning msg="The host root filesystem is mounted as \"master:245\". Setting child propagation to \"rslave\" is not supported."
sandbox.go:131: time="2024-05-17T22:23:27Z" level=warning msg="containerd config version `1` has been deprecated and will be removed in containerd v2.0, please switch to version `2`, see https://github.com/containerd/containerd/blob/main/docs/PLUGINS.md#version-header"
sandbox.go:131: time="2024-05-17T22:23:27.692136394Z" level=info msg="starting containerd" revision=8c087663b0233f6e6e2f4515cee61d49f14746a8 version=v1.7.7
sandbox.go:131: time="2024-05-17T22:23:27.727400146Z" level=info msg="loading plugin \"io.containerd.event.v1.exchange\"..." type=io.containerd.event.v1
sandbox.go:131: time="2024-05-17T22:23:27.727435031Z" level=info msg="loading plugin \"io.containerd.internal.v1.opt\"..." type=io.containerd.internal.v1
sandbox.go:131: time="2024-05-17T22:23:27.727503589Z" level=warning msg="failed to load plugin io.containerd.internal.v1.opt" error="mkdir /opt/containerd: permission denied"
sandbox.go:131: time="2024-05-17T22:23:27.727518747Z" level=info msg="loading plugin \"io.containerd.snapshotter.v1.blockfile\"..." type=io.containerd.snapshotter.v1
sandbox.go:131: time="2024-05-17T22:23:27.727607874Z" level=info msg="skip loading plugin \"io.containerd.snapshotter.v1.blockfile\"..." error="no scratch file generator: skip plugin" type=io.containerd.snapshotter.v1
sandbox.go:131: time="2024-05-17T22:23:27.727629124Z" level=info msg="loading plugin \"io.containerd.snapshotter.v1.devmapper\"..." type=io.containerd.snapshotter.v1
sandbox.go:131: time="2024-05-17T22:23:27.727648309Z" level=warning msg="failed to load plugin io.containerd.snapshotter.v1.devmapper" error="devmapper not configured"
sandbox.go:131: time="2024-05-17T22:23:27.727660292Z" level=info msg=
|
Generate annotations:
frontend/dockerfile/dockerfile_mount_test.go#L132
=== RUN TestIntegration/TestMountInvalid/worker=containerd-rootless/frontend=builtin
=== PAUSE TestIntegration/TestMountInvalid/worker=containerd-rootless/frontend=builtin
=== CONT TestIntegration/TestMountInvalid/worker=containerd-rootless/frontend=builtin
dockerfile_mount_test.go:132:
Error Trace: /src/frontend/dockerfile/dockerfile_mount_test.go:132
/src/util/testutil/integration/run.go:91
/src/util/testutil/integration/run.go:205
Error: "failed to solve: dockerfile parse error on line 3: unknown flag: mont (did you mean mount?)" does not contain "unexpected key 'typ'"
Test: TestIntegration/TestMountInvalid/worker=containerd-rootless/frontend=builtin
sandbox.go:128: stderr: /usr/bin/sudo -u #1000 -i -- exec nsenter -U --preserve-credentials -m -t 10595 buildkitd --oci-worker=false --containerd-worker-gc=false --containerd-worker=true --containerd-worker-addr /tmp/bktest_containerd1319250102/containerd.sock --containerd-worker-labels=org.mobyproject.buildkit.worker.sandbox=true --containerd-worker-snapshotter=native --containerd-worker-snapshotter=native --config=/tmp/bktest_config1685963884/buildkitd.toml --root /tmp/bktest_buildkitd96011457 --addr unix:///tmp/bktest_buildkitd96011457/buildkitd.sock --debug
sandbox.go:131: > StartCmd 2024-05-17 22:23:34.261036188 +0000 UTC m=+8.817927741 /usr/bin/sudo -u #1000 -i -- exec nsenter -U --preserve-credentials -m -t 10595 buildkitd --oci-worker=false --containerd-worker-gc=false --containerd-worker=true --containerd-worker-addr /tmp/bktest_containerd1319250102/containerd.sock --containerd-worker-labels=org.mobyproject.buildkit.worker.sandbox=true --containerd-worker-snapshotter=native --containerd-worker-snapshotter=native --config=/tmp/bktest_config1685963884/buildkitd.toml --root /tmp/bktest_buildkitd96011457 --addr unix:///tmp/bktest_buildkitd96011457/buildkitd.sock --debug
sandbox.go:131: time="2024-05-17T22:23:34Z" level=debug msg="running in rootless mode"
sandbox.go:131: time="2024-05-17T22:23:34Z" level=debug msg="remote introspection plugin filters" filters="[type==io.containerd.runtime.v1 type==io.containerd.runtime.v2]"
sandbox.go:131: time="2024-05-17T22:23:34Z" level=info msg="found worker \"8hp8jvsjjuha6z7rc8nv6orh2\", labels=map[org.mobyproject.buildkit.worker.containerd.namespace:buildkit org.mobyproject.buildkit.worker.containerd.uuid:141d93f3-36a5-42c4-9a2e-8371752c92ae org.mobyproject.buildkit.worker.executor:containerd org.mobyproject.buildkit.worker.hostname:ac45b4c55f0f 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]"
sandbox.go:131: time="2024-05-17T22:23:34Z" level=info msg="found 1 workers, default=\"8hp8jvsjjuha6z7rc8nv6orh2\""
sandbox.go:131: time="2024-05-17T22:23:34Z" level=warning msg="currently, only the default worker can be used."
sandbox.go:131: time="2024-05-17T22:23:34Z" level=info msg="running server on /tmp/bktest_buildkitd96011457/buildkitd.sock"
sandbox.go:131: time="2024-05-17T22:23:34Z" level=debug msg="session started" revision=8d9e2dc9f4e6f9d23a27222e48f4b520df271422 spanID=5bc9fd2c5955f7d6 traceID=e1045ed9b4b28acc653978f777d85830 version=v0.0.0+earthlyunknown
sandbox.go:131: time="2024-05-17T22:23:34Z" level=debug msg="new ref for local: se74gmqnoqwcer6qb1hwz976h" revision=8d9e2dc9f4e6f9d23a27222e48f4b520df271422 span="[internal] load build definition from Dockerfile" spanID=e2162e529555d8b5 traceID=a50341fc934da6572c091657d6922faf version=v0.0.0+earthlyunknown
sandbox.go:131: time="2024-05-17T22:23:34Z" level=debug msg="diffcopy took: 1.880463ms" revision=8d9e2dc9f4e6f9d23a27222e48f4b520df271422 span="[internal] load build definition from Dockerfile" spanID=6c097d74a1b4f4ea traceID=a50341fc934da6572c091657d6922faf version=v0.0.0+earthlyunknown
sandbox.go:131: time="2024-05-17T22:23:34Z"
|
Generate annotations:
frontend/dockerfile/dockerfile_mount_test.go#L132
=== RUN TestIntegration/TestMountInvalid/worker=containerd-rootless/frontend=client
=== PAUSE TestIntegration/TestMountInvalid/worker=containerd-rootless/frontend=client
=== CONT TestIntegration/TestMountInvalid/worker=containerd-rootless/frontend=client
dockerfile_mount_test.go:132:
Error Trace: /src/frontend/dockerfile/dockerfile_mount_test.go:132
/src/util/testutil/integration/run.go:91
/src/util/testutil/integration/run.go:205
Error: "failed to solve: dockerfile parse error on line 3: unknown flag: mont (did you mean mount?)" does not contain "unexpected key 'typ'"
Test: TestIntegration/TestMountInvalid/worker=containerd-rootless/frontend=client
sandbox.go:128: stderr: /usr/bin/sudo -u #1000 -i -- exec nsenter -U --preserve-credentials -m -t 7835 buildkitd --oci-worker=false --containerd-worker-gc=false --containerd-worker=true --containerd-worker-addr /tmp/bktest_containerd1691725345/containerd.sock --containerd-worker-labels=org.mobyproject.buildkit.worker.sandbox=true --containerd-worker-snapshotter=native --containerd-worker-snapshotter=native --config=/tmp/bktest_config2474323115/buildkitd.toml --root /tmp/bktest_buildkitd2316024326 --addr unix:///tmp/bktest_buildkitd2316024326/buildkitd.sock --debug
sandbox.go:131: > StartCmd 2024-05-17 22:23:28.033770654 +0000 UTC m=+2.590662197 /usr/bin/sudo -u #1000 -i -- exec nsenter -U --preserve-credentials -m -t 7835 buildkitd --oci-worker=false --containerd-worker-gc=false --containerd-worker=true --containerd-worker-addr /tmp/bktest_containerd1691725345/containerd.sock --containerd-worker-labels=org.mobyproject.buildkit.worker.sandbox=true --containerd-worker-snapshotter=native --containerd-worker-snapshotter=native --config=/tmp/bktest_config2474323115/buildkitd.toml --root /tmp/bktest_buildkitd2316024326 --addr unix:///tmp/bktest_buildkitd2316024326/buildkitd.sock --debug
sandbox.go:131: time="2024-05-17T22:23:28Z" level=debug msg="running in rootless mode"
sandbox.go:131: time="2024-05-17T22:23:28Z" level=debug msg="remote introspection plugin filters" filters="[type==io.containerd.runtime.v1 type==io.containerd.runtime.v2]"
sandbox.go:131: time="2024-05-17T22:23:28Z" level=info msg="found worker \"ij911brlfq63bajccac6rgijg\", labels=map[org.mobyproject.buildkit.worker.containerd.namespace:buildkit org.mobyproject.buildkit.worker.containerd.uuid:693cf1e1-e1de-49f5-a885-efa5bc1c1f75 org.mobyproject.buildkit.worker.executor:containerd org.mobyproject.buildkit.worker.hostname:ac45b4c55f0f 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]"
sandbox.go:131: time="2024-05-17T22:23:28Z" level=info msg="found 1 workers, default=\"ij911brlfq63bajccac6rgijg\""
sandbox.go:131: time="2024-05-17T22:23:28Z" level=warning msg="currently, only the default worker can be used."
sandbox.go:131: time="2024-05-17T22:23:28Z" level=info msg="running server on /tmp/bktest_buildkitd2316024326/buildkitd.sock"
sandbox.go:131: time="2024-05-17T22:23:28Z" level=debug msg="session started" revision=8d9e2dc9f4e6f9d23a27222e48f4b520df271422 spanID=c84b2b73fa81da69 traceID=a3f860ef77a7872f889dff6895082058 version=v0.0.0+earthlyunknown
sandbox.go:131: time="2024-05-17T22:23:28Z" level=debug msg="new ref for local: szmqf2z67oy7e6f1ds3gq0xgx" revision=8d9e2dc9f4e6f9d23a27222e48f4b520df271422 span="[internal] load build definition from Dockerfile" spanID=8c777122d24e001f traceID=5a464b758446c2b64a23b85f3035ffdf version=v0.0.0+earthlyunknown
sandbox.go:131: time="2024-05-17T22:23:28Z" level=debug msg="diffcopy took: 1.76532ms" revision=8d9e2dc9f4e6f9d23a27222e48f4b520df271422 span="[internal] load build definition from Dockerfile" spanID=113488003ab54338 traceID=5a464b758446c2b64a23b85f3035ffdf version=v0.0.0+earthlyunknown
sandbox.go:131: time="2024-05-17T22:23:2
|
Generate annotations:
frontend/dockerfile/dockerfile_addchecksum_test.go#L93
=== RUN TestIntegration/TestAddChecksum/worker=containerd-rootless/frontend=builtin/DigestMismatch
dockerfile_addchecksum_test.go:93:
Error Trace: /src/frontend/dockerfile/dockerfile_addchecksum_test.go:93
Error: An error is expected but got nil.
Test: TestIntegration/TestAddChecksum/worker=containerd-rootless/frontend=builtin/DigestMismatch
Messages: digest mismatch
--- FAIL: TestIntegration/TestAddChecksum/worker=containerd-rootless/frontend=builtin/DigestMismatch (0.02s)
|
Generate annotations:
frontend/dockerfile/dockerfile_addchecksum_test.go#L110
=== RUN TestIntegration/TestAddChecksum/worker=containerd-rootless/frontend=builtin/DigestWithKnownButUnsupportedAlgoName
dockerfile_addchecksum_test.go:110:
Error Trace: /src/frontend/dockerfile/dockerfile_addchecksum_test.go:110
Error: An error is expected but got nil.
Test: TestIntegration/TestAddChecksum/worker=containerd-rootless/frontend=builtin/DigestWithKnownButUnsupportedAlgoName
Messages: unsupported digest algorithm
--- FAIL: TestIntegration/TestAddChecksum/worker=containerd-rootless/frontend=builtin/DigestWithKnownButUnsupportedAlgoName (0.02s)
|
Generate annotations:
frontend/dockerfile/dockerfile_addchecksum_test.go#L127
=== RUN TestIntegration/TestAddChecksum/worker=containerd-rootless/frontend=builtin/DigestWithUnknownAlgoName
dockerfile_addchecksum_test.go:127:
Error Trace: /src/frontend/dockerfile/dockerfile_addchecksum_test.go:127
Error: An error is expected but got nil.
Test: TestIntegration/TestAddChecksum/worker=containerd-rootless/frontend=builtin/DigestWithUnknownAlgoName
Messages: unsupported digest algorithm
--- FAIL: TestIntegration/TestAddChecksum/worker=containerd-rootless/frontend=builtin/DigestWithUnknownAlgoName (0.02s)
|
Generate annotations:
frontend/dockerfile/dockerfile_addchecksum_test.go#L144
=== RUN TestIntegration/TestAddChecksum/worker=containerd-rootless/frontend=builtin/DigestWithoutAlgoName
dockerfile_addchecksum_test.go:144:
Error Trace: /src/frontend/dockerfile/dockerfile_addchecksum_test.go:144
Error: An error is expected but got nil.
Test: TestIntegration/TestAddChecksum/worker=containerd-rootless/frontend=builtin/DigestWithoutAlgoName
Messages: invalid checksum digest format
--- FAIL: TestIntegration/TestAddChecksum/worker=containerd-rootless/frontend=builtin/DigestWithoutAlgoName (0.03s)
|
Generate annotations:
frontend/dockerfile/dockerfile_addchecksum_test.go#L163
=== RUN TestIntegration/TestAddChecksum/worker=containerd-rootless/frontend=builtin/NonHTTPSource
dockerfile_addchecksum_test.go:163:
Error Trace: /src/frontend/dockerfile/dockerfile_addchecksum_test.go:163
Error: An error is expected but got nil.
Test: TestIntegration/TestAddChecksum/worker=containerd-rootless/frontend=builtin/NonHTTPSource
Messages: checksum can't be specified for non-HTTP sources
--- FAIL: TestIntegration/TestAddChecksum/worker=containerd-rootless/frontend=builtin/NonHTTPSource (0.02s)
|
Test
Process completed with exit code 1.
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: codecov/codecov-action@v3, actions/github-script@v6, actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
The following artifacts were uploaded using a version of actions/upload-artifact that is scheduled for deprecation: "test-reports".
Please update your workflow to use v4 of the artifact actions.
Learn more: https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/
|
Loading