Rename, refactor, & basic caching. #160
Annotations
4 errors and 1 warning
Generate annotations:
frontend/dockerfile/dockerfile_test.go#L1581
=== RUN TestIntegration/TestNoSnapshotLeak/worker=oci/frontend=gateway
=== PAUSE TestIntegration/TestNoSnapshotLeak/worker=oci/frontend=gateway
=== CONT TestIntegration/TestNoSnapshotLeak/worker=oci/frontend=gateway
dockerfile_test.go:1581:
Error Trace: /src/frontend/dockerfile/dockerfile_test.go:1581
/src/util/testutil/integration/run.go:91
/src/util/testutil/integration/run.go:205
Error: Not equal:
expected: 5
actual : 9
Test: TestIntegration/TestNoSnapshotLeak/worker=oci/frontend=gateway
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_config2668380273/buildkitd.toml --root /tmp/bktest_buildkitd3261441718 --addr unix:///tmp/bktest_buildkitd3261441718/buildkitd.sock --debug
sandbox.go:131:
sandbox.go:131: docker-image://docker.io/buildkit_test/u0ari5x93mn1wnd1vchtxz17i:latest@sha256:fc845ee1f548fdb2557001566ba366174fb2282df324dba8afd5d16d1192a738
sandbox.go:131: LLB digest: sha256:15e6a1649320078cf7b78d0e375c2ac7159aa2643f62ec3bf12bb7e3a2e8036f
sandbox.go:131: CacheMap digest: sha256:7b53d749cd30ed661e1f2714356f9ea067651bd836566111fb9da343024fdf5c
sandbox.go:131: Computed cache key: 4dea80404cd7774a85b5a937c750c6ba8e46fe0c95c677e00872775cd078e24c
sandbox.go:131:
sandbox.go:131: [internal] load build definition from Dockerfile
sandbox.go:131: LLB digest: sha256:86d272c17c618cfbf38c560f0eaf91cc619022ae134be3c9ebaf0a7650c0a4ec
sandbox.go:131: CacheMap digest: random:c1fdf15a7a55620c64cac637ac426caa4c6f759cb926e124bb7521506f1a8d87
sandbox.go:131: Computed cache key: db2a0f3f36911c1b18b1c5fec37bd1bed7570062b561fe60e0da496d26a72682
sandbox.go:131:
sandbox.go:131: [internal] load .dockerignore
sandbox.go:131: LLB digest: sha256:cf620bb1273062dcf24b558bba4da1919515188d4b23beab6f5917802b2780c0
sandbox.go:131: CacheMap digest: random:1d05c35d57a5872bd3cac5baeb21e098e4e671514c4fa389c4ee1ca9c89e915b
sandbox.go:131: Computed cache key: 0cb9b93d75f974016e85549bd7d3b71f6017245ea62e9de02fd1ca393e046985
sandbox.go:131:
sandbox.go:131: [internal] load build context
sandbox.go:131: LLB digest: sha256:70048afb0b1116b2c539cb2cfcca88ac447c3fc2c3176280e030a56406a6bf76
sandbox.go:131: CacheMap digest: random:ca6df12c4d264b3dca62405d9773f1b46bef43c6e3382f1c1d1b9a6576a514a2
sandbox.go:131: Computed cache key: 72299f247aa87a3dc8c6a76707f5a41f44ea060dc4ca919602ce8d2323e8e469
sandbox.go:131:
sandbox.go:131: [1/1] COPY foo /
sandbox.go:131: LLB digest: sha256:d46cceae1b09db4c90a12eacd2256b406d9f4df0357b120b3c728226e2caaaa0
sandbox.go:131: CacheMap digest: sha256:3eaad0668ed059e84b5fd4a31cd95d3ac57b689b53184bea76b71952dd1a74fd
sandbox.go:131: Computed cache key: ec08af4caa96a251e821db3adcc8de8f96272c3b2d1a9c38e7a7d6bce3fb530c
sandbox.go:131:
sandbox.go:131: docker-image://docker.io/buildkit_test/u0ari5x93mn1wnd1vchtxz17i:latest@sha256:fc845ee1f548fdb2557001566ba366174fb2282df324dba8afd5d16d1192a738
sandbox.go:131: LLB digest: sha256:15e6a1649320078cf7b78d0e375c2ac7159aa2643f62ec3bf12bb7e3a2e8036f
sandbox.go:131: CacheMap digest: sha256:7b53d749cd30ed661e1f2714356f9ea067651bd836566111fb9da343024fdf5c
sandbox.go:131: Computed cache key: 4dea80404cd7774a85b5a937c750c6ba8e46fe0c95c677e00872775cd078e24c
sandbox.go:131: Cache hit!
sandbox.go:131:
sandbox.go:131: [internal] load build definition from Dockerfile
sandbox.go:131: LLB digest: sha256:1d95e0b16b979e43538a9ec2c0154a0609a22ae0701443d60683a66d3ce5b703
sandbox.go:131: CacheMap digest: random:5743c639ca5c2857ef4b3deb658b10953ebd2a1c4677d4a1a8ce2d5b49508385
sandbox.go:131: Computed cache key: 02d15aff6a67a3e119ef8301ee10d3cd8e823a8a2feec1bf797d4517ed7a0f73
sandbox.go:131:
sandbox.go:131: [internal] load .dockerignore
sandbox.go:131: LLB digest: sha256:
|
Generate annotations:
frontend/dockerfile/dockerfile_mount_test.go#L225
=== RUN TestIntegration/TestMountRWCache/worker=oci/frontend=gateway
=== PAUSE TestIntegration/TestMountRWCache/worker=oci/frontend=gateway
=== CONT TestIntegration/TestMountRWCache/worker=oci/frontend=gateway
dockerfile_mount_test.go:225:
Error Trace: /src/frontend/dockerfile/dockerfile_mount_test.go:225
/src/util/testutil/integration/run.go:91
/src/util/testutil/integration/run.go:205
Error: Not equal:
expected: []byte{0x30, 0x32, 0x65, 0x34, 0x39, 0x30, 0x65, 0x30, 0x37, 0x34, 0x39, 0x31, 0x35, 0x32, 0x62, 0x39, 0x65, 0x30, 0x30, 0x38, 0x66, 0x34, 0x64, 0x34, 0x36, 0x30, 0x37, 0x66, 0x31, 0x33, 0x36, 0x33, 0x35, 0x62, 0x62, 0x64, 0x34, 0x63, 0x31, 0x61, 0x36, 0x35, 0x33, 0x38, 0x31, 0x30, 0x33, 0x31, 0x34, 0x33, 0x63, 0x38, 0x35, 0x63, 0x34, 0x32, 0x39, 0x39, 0x32, 0x31, 0x31, 0x38, 0x32, 0x30, 0x20, 0x20, 0x2d, 0xa}
actual : []byte{0x62, 0x38, 0x61, 0x30, 0x31, 0x38, 0x63, 0x33, 0x65, 0x66, 0x39, 0x64, 0x31, 0x30, 0x64, 0x35, 0x64, 0x39, 0x33, 0x33, 0x33, 0x30, 0x62, 0x33, 0x34, 0x36, 0x64, 0x36, 0x61, 0x35, 0x61, 0x62, 0x62, 0x31, 0x61, 0x34, 0x63, 0x39, 0x62, 0x31, 0x31, 0x32, 0x62, 0x62, 0x66, 0x39, 0x62, 0x34, 0x35, 0x32, 0x34, 0x30, 0x33, 0x33, 0x64, 0x30, 0x35, 0x33, 0x65, 0x66, 0x66, 0x63, 0x33, 0x32, 0x20, 0x20, 0x2d, 0xa}
Diff:
--- Expected
+++ Actual
@@ -1,6 +1,6 @@
([]uint8) (len=68) {
- 00000000 30 32 65 34 39 30 65 30 37 34 39 31 35 32 62 39 |02e490e0749152b9|
- 00000010 65 30 30 38 66 34 64 34 36 30 37 66 31 33 36 33 |e008f4d4607f1363|
- 00000020 35 62 62 64 34 63 31 61 36 35 33 38 31 30 33 31 |5bbd4c1a65381031|
- 00000030 34 33 63 38 35 63 34 32 39 39 32 31 31 38 32 30 |43c85c4299211820|
+ 00000000 62 38 61 30 31 38 63 33 65 66 39 64 31 30 64 35 |b8a018c3ef9d10d5|
+ 00000010 64 39 33 33 33 30 62 33 34 36 64 36 61 35 61 62 |d93330b346d6a5ab|
+ 00000020 62 31 61 34 63 39 62 31 31 32 62 62 66 39 62 34 |b1a4c9b112bbf9b4|
+ 00000030 35 32 34 30 33 33 64 30 35 33 65 66 66 63 33 32 |524033d053effc32|
00000040 20 20 2d 0a | -.|
Test: TestIntegration/TestMountRWCache/worker=oci/frontend=gateway
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_config1577337507/buildkitd.toml --root /tmp/bktest_buildkitd3585695223 --addr unix:///tmp/bktest_buildkitd3585695223/buildkitd.sock --debug
sandbox.go:131:
sandbox.go:131: docker-image://docker.io/buildkit_test/u0ari5x93mn1wnd1vchtxz17i:latest@sha256:fc845ee1f548fdb2557001566ba366174fb2282df324dba8afd5d16d1192a738
sandbox.go:131: LLB digest: sha256:15e6a1649320078cf7b78d0e375c2ac7159aa2643f62ec3bf12bb7e3a2e8036f
sandbox.go:131: CacheMap digest: sha256:7b53d749cd30ed661e1f2714356f9ea067651bd836566111fb9da343024fdf5c
sandbox.go:131: Computed cache key: 4dea80404cd7774a85b5a937c750c6ba8e46fe0c95c677e00872775cd078e24c
sandbox.go:131:
sandbox.go:131: [internal] load build definition from Dockerfile
sandbox.go:131: LLB digest: sha256:79e5420a5d4f1101d5862c8e34016de53190e2294d273723a8e0c45f68da6a0e
sandbox.go:131: CacheMap digest: random:97eb8f5f430c06327b4343430cdf4b8a34aaba06ed4bacc8b8638cb14026a6ba
sandbox.go:131: Computed cache key: 995c7bbfe66725695d22e961373aa628b14cfc9d9d90885236d7d03f61b77cbb
sandbox.go:131:
sandbox.go:131: [internal] load .dockerignore
sandbox.go:131: LLB digest: sha256:d76109d742ce4e67399547baba7f7bcc14f15d64f30764ccbd3667ca362c6c89
sandbox.go:131: CacheMap digest: random:c124c88eeff85bae2f112e1679cb990274cc1d7ae3ed6
|
Generate annotations:
frontend/dockerfile/dockerfile_test.go#L6560
=== RUN TestIntegration/TestReproSourceDateEpoch/worker=oci/frontend=gateway
=== PAUSE TestIntegration/TestReproSourceDateEpoch/worker=oci/frontend=gateway
=== CONT TestIntegration/TestReproSourceDateEpoch/worker=oci/frontend=gateway
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=gateway
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_config1419104975/buildkitd.toml --root /tmp/bktest_buildkitd96806085 --addr unix:///tmp/bktest_buildkitd96806085/buildkitd.sock --debug
sandbox.go:131:
sandbox.go:131: docker-image://docker.io/buildkit_test/u0ari5x93mn1wnd1vchtxz17i:latest@sha256:fc845ee1f548fdb2557001566ba366174fb2282df324dba8afd5d16d1192a738
sandbox.go:131: LLB digest: sha256:15e6a1649320078cf7b78d0e375c2ac7159aa2643f62ec3bf12bb7e3a2e8036f
sandbox.go:131: CacheMap digest: sha256:7b53d749cd30ed661e1f2714356f9ea067651bd836566111fb9da343024fdf5c
sandbox.go:131: Computed cache key: 4dea80404cd7774a85b5a937c750c6ba8e46fe0c95c677e00872775cd078e24c
sandbox.go:131:
sandbox.go:131: [internal] load build definition from Dockerfile
sandbox.go:131: LLB digest: sha256:dba6dda34ae6081d6bd70127be13ee145b4d783c4e1bffcf068fdd2d10e7c528
sandbox.go:131: CacheMap digest: random:085603cc4b7bfe71e3fa63ce6bd36f1f988614e28b1fa89a286f75979349c8ce
sandbox.go:131: Computed cache key: abfae2f50935e02fa151ffb43727713a4459cd26744ac3b4ddcc9c886f3de4be
sandbox.go:131:
sandbox.go:131: [internal] load .dockerignore
sandbox.go:131: LLB digest: sha256:a6c5d1fc0664a4c11b0bd41f17a4ed8d5012f216811419cb81c99aa75c0e020b
sandbox.go:131: CacheMap digest: random:2626da8b660db78e624f348ba718eb62c182e7b885340dd2fd9fefbf3d8d00e5
sandbox.go:131: Computed cache key: 5a099a3483123243e270178a41384be8f2a0c22e48acfa60ecdff16733aea4fb
sandbox.go:131:
sandbox.go:131: [ 1/10] FROM docker.io/amd64/debian:bullseye-20230109-slim@sha256:1acb06a0c31fb467eb8327ad361f1091ab265e0bf26d452dea45dcb0c0ea5e75
sandbox.go:131: LLB digest: sha256:617096fc2c4285e0d79c25d23aa2ddac2fc089481a57aa265f1b8604a27686bc
sandbox.go:131: CacheMap digest: sha256:98a7f358e5fe3722aa6d8b6eaebd1762964cc8947eb7e48625c132ca9267125b
sandbox.go:131: Computed cache key: 60d8095979f8e01fa388852e85edcc78564a775da2e9fb3af88c288543cb0c9d
sandbox.go:131:
sandbox.go:131: [ 2/10] RUN touch /foo
sandbox.go:131: LLB digest: sha256:51898757e5df6f93fbc5afa451c272c04c1fc243d03e20d41a645b760ed10f9c
sandbox.go:131: CacheMap digest: sha256:df1845ce2fa7f578e54351380d710c66cddb0b23bc08e8679b0f0d51aac21717
sandbox.go:131: Computed cache key: a4df4e2346f8ff065c54379e0e0cee3bb22dd71e68e02f17e39af86b583434e4
sandbox.go:131:
sandbox.go:131: [ 3/10] RUN touch /foo.1
sandbox.go:131: LLB digest: sha256:067c6de2d933c0348ba689fdd3ba2d9f9917931124a08a909466a01029c779e6
sandbox.go:131: CacheMap digest: sha256:a5d7d1b545e5d4ce0436817e32625e7374c2b0d7185835fbf2bfd454a69a50e4
sandbox.go:131: Computed cache key: d0652082c752dde0213ba92a41a1a15fd1f8037fb9c3bfec21e131b74e883107
sandbox.go:131:
san
|
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