Cache IDs & fix BK result caching #175
Annotations
10 errors and 1 warning
Generate annotations:
frontend/dockerfile/dockerfile_heredoc_test.go#L667
=== RUN TestIntegration/TestOnBuildHeredoc/worker=oci/frontend=builtin
=== PAUSE TestIntegration/TestOnBuildHeredoc/worker=oci/frontend=builtin
=== CONT TestIntegration/TestOnBuildHeredoc/worker=oci/frontend=builtin
dockerfile_heredoc_test.go:667:
Error Trace: /src/frontend/dockerfile/dockerfile_heredoc_test.go:667
/src/util/testutil/integration/run.go:91
/src/util/testutil/integration/run.go:205
Error: Received unexpected error:
open /tmp/TestIntegrationTestOnBuildHeredocworker=ocifrontend=builtin1151365545/001/dest: no such file or directory
Test: TestIntegration/TestOnBuildHeredoc/worker=oci/frontend=builtin
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_config2381715637/buildkitd.toml --root /tmp/bktest_buildkitd1324727245 --addr unix:///tmp/bktest_buildkitd1324727245/buildkitd.sock --debug
sandbox.go:131: (interface {}) <nil>
sandbox.go:131: (interface {}) <nil>
sandbox.go:131: (interface {}) <nil>
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_config2381715637/buildkitd.toml --root /tmp/bktest_buildkitd1324727245 --addr unix:///tmp/bktest_buildkitd1324727245/buildkitd.sock --debug
sandbox.go:131: > StartCmd 2024-04-05 00:23:39.1829283 +0000 UTC m=+3.498404018 /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_config2381715637/buildkitd.toml --root /tmp/bktest_buildkitd1324727245 --addr unix:///tmp/bktest_buildkitd1324727245/buildkitd.sock --debug
sandbox.go:131: time="2024-04-05T00:23:39Z" level=info msg="auto snapshotter: using overlayfs"
sandbox.go:131: time="2024-04-05T00:23:39Z" level=debug msg="could not read \"/tmp/bktest_buildkitd1324727245/net/cni\" for cleanup: open /tmp/bktest_buildkitd1324727245/net/cni: no such file or directory"
sandbox.go:131: time="2024-04-05T00:23:39Z" level=debug msg="creating new network namespace veahebxnm3f44mj45z4x2dnr9" revision=dc0a61c4f518c4b119287931b4f763afa364b43e version=v0.0.0+earthlyunknown
sandbox.go:131: time="2024-04-05T00:23:39Z" level=debug msg="finished creating network namespace veahebxnm3f44mj45z4x2dnr9" revision=dc0a61c4f518c4b119287931b4f763afa364b43e version=v0.0.0+earthlyunknown
sandbox.go:131: time="2024-04-05T00:23:39Z" level=debug msg="finished setting up network namespace veahebxnm3f44mj45z4x2dnr9" revision=dc0a61c4f518c4b119287931b4f763afa364b43e version=v0.0.0+earthlyunknown
sandbox.go:131: time="2024-04-05T00:23:39Z" level=info msg="found worker \"uobzy2net2oedl4zonjbsfcgr\", labels=map[org.mobyproject.buildkit.worker.executor:oci org.mobyproject.buildkit.worker.hostname:f1dda0b5e8df 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-04-05T00:23:39Z" level=info msg="found 1 workers, default=\"uobzy2net2oedl4zonjbsfcgr\""
sandbox.go:131: time="2024-04-05T00:23:39Z" level=warning msg="currently, only the default worker can be used."
sandbox.go:131: time="2024-04-05T00:23:39Z" level=info msg="running server on /tmp/bktest_buildkitd1324727245/buildkitd.sock"
sandbox.go:131: time="2024-04-05T00:23:39Z" level=debug msg="session started" revision=dc0a61c4f518c4b119287931b4f763afa364b43e spanID=b876bb5392b9124d traceID=ca107d17ad87619da8433f318be558ad version=v0.0.0+earthlyu
|
Generate annotations:
frontend/dockerfile/dockerfile_heredoc_test.go#L667
=== RUN TestIntegration/TestOnBuildHeredoc/worker=oci/frontend=client
=== PAUSE TestIntegration/TestOnBuildHeredoc/worker=oci/frontend=client
=== CONT TestIntegration/TestOnBuildHeredoc/worker=oci/frontend=client
dockerfile_heredoc_test.go:667:
Error Trace: /src/frontend/dockerfile/dockerfile_heredoc_test.go:667
/src/util/testutil/integration/run.go:91
/src/util/testutil/integration/run.go:205
Error: Received unexpected error:
open /tmp/TestIntegrationTestOnBuildHeredocworker=ocifrontend=client1006448067/001/dest: no such file or directory
Test: TestIntegration/TestOnBuildHeredoc/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_config1931750162/buildkitd.toml --root /tmp/bktest_buildkitd2652119586 --addr unix:///tmp/bktest_buildkitd2652119586/buildkitd.sock --debug
sandbox.go:131: (interface {}) <nil>
sandbox.go:131: (interface {}) <nil>
sandbox.go:131: (interface {}) <nil>
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_config1931750162/buildkitd.toml --root /tmp/bktest_buildkitd2652119586 --addr unix:///tmp/bktest_buildkitd2652119586/buildkitd.sock --debug
sandbox.go:131: > StartCmd 2024-04-05 00:23:39.124518898 +0000 UTC m=+3.439994626 /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_config1931750162/buildkitd.toml --root /tmp/bktest_buildkitd2652119586 --addr unix:///tmp/bktest_buildkitd2652119586/buildkitd.sock --debug
sandbox.go:131: time="2024-04-05T00:23:39Z" level=info msg="auto snapshotter: using overlayfs"
sandbox.go:131: time="2024-04-05T00:23:39Z" level=debug msg="could not read \"/tmp/bktest_buildkitd2652119586/net/cni\" for cleanup: open /tmp/bktest_buildkitd2652119586/net/cni: no such file or directory"
sandbox.go:131: time="2024-04-05T00:23:39Z" level=debug msg="creating new network namespace qbw29nm59cs9t55jxk8zpro70" revision=dc0a61c4f518c4b119287931b4f763afa364b43e version=v0.0.0+earthlyunknown
sandbox.go:131: time="2024-04-05T00:23:39Z" level=debug msg="finished creating network namespace qbw29nm59cs9t55jxk8zpro70" revision=dc0a61c4f518c4b119287931b4f763afa364b43e version=v0.0.0+earthlyunknown
sandbox.go:131: time="2024-04-05T00:23:39Z" level=debug msg="finished setting up network namespace qbw29nm59cs9t55jxk8zpro70" revision=dc0a61c4f518c4b119287931b4f763afa364b43e version=v0.0.0+earthlyunknown
sandbox.go:131: time="2024-04-05T00:23:39Z" level=info msg="found worker \"n2xdzdjye0ecp2531or9czzyr\", labels=map[org.mobyproject.buildkit.worker.executor:oci org.mobyproject.buildkit.worker.hostname:f1dda0b5e8df 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-04-05T00:23:39Z" level=info msg="found 1 workers, default=\"n2xdzdjye0ecp2531or9czzyr\""
sandbox.go:131: time="2024-04-05T00:23:39Z" level=warning msg="currently, only the default worker can be used."
sandbox.go:131: time="2024-04-05T00:23:39Z" level=info msg="running server on /tmp/bktest_buildkitd2652119586/buildkitd.sock"
sandbox.go:131: time="2024-04-05T00:23:39Z" level=debug msg="session started" revision=dc0a61c4f518c4b119287931b4f763afa364b43e spanID=e2e5e2580fb44e2a traceID=64c416ad07596a5a4178b72488db98d5 version=v0.0.0+earthlyunkn
|
Generate annotations:
frontend/dockerfile/dockerfile_test.go#L6560
=== RUN TestIntegration/TestReproSourceDateEpoch/worker=oci/frontend=builtin
=== PAUSE TestIntegration/TestReproSourceDateEpoch/worker=oci/frontend=builtin
=== CONT TestIntegration/TestReproSourceDateEpoch/worker=oci/frontend=builtin
dockerfile_test.go:6560: SOURCE_DATE_EPOCH=1673354096
dockerfile_test.go:6621:
Error Trace: /src/frontend/dockerfile/dockerfile_test.go:6621
/src/util/testutil/integration/run.go:91
/src/util/testutil/integration/run.go:205
Error: Received unexpected error:
rpc error: code = Unavailable desc = error reading from server: EOF
failed to receive status
github.com/moby/buildkit/client.(*Client).solve.func4
/src/client/solve.go:335
golang.org/x/sync/errgroup.(*Group).Go.func1
/src/vendor/golang.org/x/sync/errgroup/errgroup.go:75
runtime.goexit
/usr/local/go/src/runtime/asm_amd64.s:1650
Test: TestIntegration/TestReproSourceDateEpoch/worker=oci/frontend=builtin
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_config3107120273/buildkitd.toml --root /tmp/bktest_buildkitd3667995968 --addr unix:///tmp/bktest_buildkitd3667995968/buildkitd.sock --debug
sandbox.go:131: (interface {}) <nil>
sandbox.go:131: (interface {}) <nil>
sandbox.go:131: (interface {}) <nil>
sandbox.go:131: (interface {}) <nil>
sandbox.go:131: (interface {}) <nil>
sandbox.go:131: (interface {}) <nil>
sandbox.go:131: (interface {}) <nil>
sandbox.go:131: (interface {}) <nil>
sandbox.go:131: (interface {}) <nil>
sandbox.go:131: (interface {}) <nil>
sandbox.go:131: (interface {}) <nil>
sandbox.go:131: (interface {}) <nil>
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_config3107120273/buildkitd.toml --root /tmp/bktest_buildkitd3667995968 --addr unix:///tmp/bktest_buildkitd3667995968/buildkitd.sock --debug
sandbox.go:131: > StartCmd 2024-04-05 00:23:37.900451015 +0000 UTC m=+2.215926723 /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_config3107120273/buildkitd.toml --root /tmp/bktest_buildkitd3667995968 --addr unix:///tmp/bktest_buildkitd3667995968/buildkitd.sock --debug
sandbox.go:131: time="2024-04-05T00:23:38Z" level=info msg="auto snapshotter: using overlayfs"
sandbox.go:131: time="2024-04-05T00:23:38Z" level=debug msg="could not read \"/tmp/bktest_buildkitd3667995968/net/cni\" for cleanup: open /tmp/bktest_buildkitd3667995968/net/cni: no such file or directory"
sandbox.go:131: time="2024-04-05T00:23:38Z" level=debug msg="creating new network namespace kwk8wq0qqza04g1q7uhl16x06" revision=dc0a61c4f518c4b119287931b4f763afa364b43e version=v0.0.0+earthlyunknown
sandbox.go:131: time="2024-04-05T00:23:38Z" level=debug msg="finished creating network namespace kwk8wq0qqza04g1q7uhl16x06" revision=dc0a61c4f518c4b119287931b4f763afa364b43e version=v0.0.0+earthlyunknown
sandbox.go:131: time="2024-04-05T00:23:38Z" level=debug msg="finished setting up network namespace kwk8wq0qqza04g1q7uhl16x06" revision=dc0a61c4f518c4b119287931b4f763afa364b43e version=v0.0.0+earthlyunknown
sandbox.go:131: time="2024-04-05T00:23:38Z" level=info msg="found worker \"z8qlt2nqa7yrd4fbo0yuqnbj3\", labels=map[org.mobyproject.buildkit.worker.executor:oci org.mobyproject.buildkit.worker.hostname:f1dda0b5e8df 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.
|
Generate annotations:
frontend/dockerfile/dockerfile_test.go#L6560
=== RUN TestIntegration/TestReproSourceDateEpoch/worker=oci/frontend=client
=== PAUSE TestIntegration/TestReproSourceDateEpoch/worker=oci/frontend=client
=== CONT TestIntegration/TestReproSourceDateEpoch/worker=oci/frontend=client
dockerfile_test.go:6560: SOURCE_DATE_EPOCH=1673354096
dockerfile_test.go:6621:
Error Trace: /src/frontend/dockerfile/dockerfile_test.go:6621
/src/util/testutil/integration/run.go:91
/src/util/testutil/integration/run.go:205
Error: Received unexpected error:
rpc error: code = Unavailable desc = error reading from server: EOF
failed to receive status
github.com/moby/buildkit/client.(*Client).solve.func4
/src/client/solve.go:335
golang.org/x/sync/errgroup.(*Group).Go.func1
/src/vendor/golang.org/x/sync/errgroup/errgroup.go:75
runtime.goexit
/usr/local/go/src/runtime/asm_amd64.s:1650
Test: TestIntegration/TestReproSourceDateEpoch/worker=oci/frontend=client
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_config2717538716/buildkitd.toml --root /tmp/bktest_buildkitd2051867894 --addr unix:///tmp/bktest_buildkitd2051867894/buildkitd.sock --debug
sandbox.go:131: > StartCmd 2024-04-05 00:23:37.536469614 +0000 UTC m=+1.851945342 /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_config2717538716/buildkitd.toml --root /tmp/bktest_buildkitd2051867894 --addr unix:///tmp/bktest_buildkitd2051867894/buildkitd.sock --debug
sandbox.go:131: time="2024-04-05T00:23:37Z" level=info msg="auto snapshotter: using overlayfs"
sandbox.go:131: time="2024-04-05T00:23:37Z" level=debug msg="could not read \"/tmp/bktest_buildkitd2051867894/net/cni\" for cleanup: open /tmp/bktest_buildkitd2051867894/net/cni: no such file or directory"
sandbox.go:131: time="2024-04-05T00:23:37Z" level=debug msg="creating new network namespace u1tipfxvrnjs6ls8sbxhql49m" revision=dc0a61c4f518c4b119287931b4f763afa364b43e version=v0.0.0+earthlyunknown
sandbox.go:131: time="2024-04-05T00:23:37Z" level=debug msg="finished creating network namespace u1tipfxvrnjs6ls8sbxhql49m" revision=dc0a61c4f518c4b119287931b4f763afa364b43e version=v0.0.0+earthlyunknown
sandbox.go:131: time="2024-04-05T00:23:37Z" level=debug msg="finished setting up network namespace u1tipfxvrnjs6ls8sbxhql49m" revision=dc0a61c4f518c4b119287931b4f763afa364b43e version=v0.0.0+earthlyunknown
sandbox.go:131: time="2024-04-05T00:23:37Z" level=info msg="found worker \"vptt6mlex1d6zzafd8dl1j7dm\", labels=map[org.mobyproject.buildkit.worker.executor:oci org.mobyproject.buildkit.worker.hostname:f1dda0b5e8df 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-04-05T00:23:37Z" level=info msg="found 1 workers, default=\"vptt6mlex1d6zzafd8dl1j7dm\""
sandbox.go:131: time="2024-04-05T00:23:37Z" level=warning msg="currently, only the default worker can be used."
sandbox.go:131: time="2024-04-05T00:23:37Z" level=info msg="running server on /tmp/bktest_buildkitd2051867894/buildkitd.sock"
sandbox.go:131: time="2024-04-05T00:23:37Z" level=debug msg="session started" revision=dc0a61c4f518c4b119287931b4f763afa364b43e spanID=d5b960b3e9348e61 traceID=96b3bbd2ec0d8fabafdcccb197b22c8b version=v0.0.0+earthlyunknown
sandbox.go:131:
|
Generate annotations:
frontend/dockerfile/dockerfile_addchecksum_test.go#L93
=== RUN TestIntegration/TestAddChecksum/worker=oci/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=oci/frontend=builtin/DigestMismatch
Messages: digest mismatch
--- FAIL: TestIntegration/TestAddChecksum/worker=oci/frontend=builtin/DigestMismatch (0.01s)
|
Generate annotations:
frontend/dockerfile/dockerfile_addchecksum_test.go#L110
=== RUN TestIntegration/TestAddChecksum/worker=oci/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=oci/frontend=builtin/DigestWithKnownButUnsupportedAlgoName
Messages: unsupported digest algorithm
--- FAIL: TestIntegration/TestAddChecksum/worker=oci/frontend=builtin/DigestWithKnownButUnsupportedAlgoName (0.01s)
|
Generate annotations:
frontend/dockerfile/dockerfile_addchecksum_test.go#L127
=== RUN TestIntegration/TestAddChecksum/worker=oci/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=oci/frontend=builtin/DigestWithUnknownAlgoName
Messages: unsupported digest algorithm
--- FAIL: TestIntegration/TestAddChecksum/worker=oci/frontend=builtin/DigestWithUnknownAlgoName (0.01s)
|
Generate annotations:
frontend/dockerfile/dockerfile_addchecksum_test.go#L144
=== RUN TestIntegration/TestAddChecksum/worker=oci/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=oci/frontend=builtin/DigestWithoutAlgoName
Messages: invalid checksum digest format
--- FAIL: TestIntegration/TestAddChecksum/worker=oci/frontend=builtin/DigestWithoutAlgoName (0.01s)
|
Generate annotations:
frontend/dockerfile/dockerfile_addchecksum_test.go#L163
=== RUN TestIntegration/TestAddChecksum/worker=oci/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=oci/frontend=builtin/NonHTTPSource
Messages: checksum can't be specified for non-HTTP sources
--- FAIL: TestIntegration/TestAddChecksum/worker=oci/frontend=builtin/NonHTTPSource (0.01s)
|
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/.
|
Loading