fix: 🚑 make it so is_in_bucket is consistent across same file key records
#825
network.yml
on: pull_request
setup
9s
Push node Docker image to Docker Hub
52s
Network Test: Zombienet (Parachain + Relay)
3m 18s
Network Test: Zombienet CLI
2m 5s
Integration Tests: Fisherman
23m 0s
Check Rust/TS bindings are up to date
1m 17s
Matrix: Integration Tests: BSPNet
Matrix: Node Tests: Solo Dev Node
Matrix: Integration Tests: FullNet
Matrix: Integration Tests: User
Push backend Docker image to Docker Hub
41s
Integration Tests: Solochain EVM
6m 28s
Matrix: Integration Tests: Backend
Annotations
7 errors and 18 notices
|
Integration Tests: Backend (1)
Process completed with exit code 1.
|
|
Should successfully download a file via the backend API:
test/test/suites/integration/backend/upload-download-file.test.ts#L372
AssertionError [ERR_ASSERTION]: Upload test must complete successfully before download test
at TestContext.<anonymous> (/home/runner/_work/storage-hub/storage-hub/test/suites/integration/backend/upload-download-file.test.ts:372:7)
at Test.runInAsyncScope (node:async_hooks:214:14)
at Test.run (node:internal/test_runner/test:1047:25)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
at async Suite.processPendingSubtests (node:internal/test_runner/test:744:7) {
generatedMessage: false,
code: 'ERR_ASSERTION',
actual: undefined,
expected: true,
operator: '=='
}
|
|
MSP should successfully distribute the file to BSPs who have volunteered to store it:
test/test/suites/integration/backend/upload-download-file.test.ts#L364
AssertionError [ERR_ASSERTION]: Failed to confirm BSP storage after 10s. Last error: Error: Failed to find matching extrinsic after 0.1s: No extrinsic matching fileSystem.bspConfirmStoring found in block
at Module.waitForBspStored (/home/runner/_work/storage-hub/storage-hub/test/util/bspNet/waits.ts:207:7)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
at async TestContext.<anonymous> (/home/runner/_work/storage-hub/storage-hub/test/suites/integration/backend/upload-download-file.test.ts:364:7)
at async Test.run (node:internal/test_runner/test:1054:7)
at async Suite.processPendingSubtests (node:internal/test_runner/test:744:7) {
generatedMessage: false,
code: 'ERR_ASSERTION',
actual: false,
expected: true,
operator: '=='
}
|
|
Should successfully upload file via the backend API and reject concurrent uploads of the same file key:
test/test/suites/integration/backend/upload-download-file.test.ts#L277
TypeError [Error]: fetch failed
at node:internal/deps/undici/undici:13510:13
at async Promise.all (index 1)
at async TestContext.<anonymous> (/home/runner/_work/storage-hub/storage-hub/test/suites/integration/backend/upload-download-file.test.ts:277:47)
at async Test.run (node:internal/test_runner/test:1054:7)
at async Suite.processPendingSubtests (node:internal/test_runner/test:744:7) {
[cause]: Error: write EPIPE
at afterWriteDispatched (node:internal/stream_base_commons:159:15)
at writeGeneric (node:internal/stream_base_commons:150:3)
at Socket._writeGeneric (node:net:971:11)
at Socket._write (node:net:983:8)
at doWrite (node:internal/streams/writable:596:12)
at clearBuffer (node:internal/streams/writable:781:7)
at Writable.uncork (node:internal/streams/writable:529:7)
at AsyncWriter.write (node:internal/deps/undici/undici:6739:16)
at writeIterable (node:internal/deps/undici/undici:6673:23) {
errno: -32,
code: 'EPIPE',
syscall: 'write'
}
}
|
|
Should successfully download a file via the backend API:
test/test/suites/integration/backend/upload-download-file.test.ts#L372
AssertionError [ERR_ASSERTION]: Upload test must complete successfully before download test
at TestContext.<anonymous> (/home/runner/_work/storage-hub/storage-hub/test/suites/integration/backend/upload-download-file.test.ts:372:7)
at Test.runInAsyncScope (node:async_hooks:214:14)
at Test.run (node:internal/test_runner/test:1047:25)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
at async Suite.processPendingSubtests (node:internal/test_runner/test:744:7) {
generatedMessage: false,
code: 'ERR_ASSERTION',
actual: undefined,
expected: true,
operator: '=='
}
|
|
MSP should successfully distribute the file to BSPs who have volunteered to store it:
test/test/suites/integration/backend/upload-download-file.test.ts#L364
AssertionError [ERR_ASSERTION]: Failed to confirm BSP storage after 10s. Last error: Error: Failed to find matching extrinsic after 0.1s: No extrinsic matching fileSystem.bspConfirmStoring found in block
at Module.waitForBspStored (/home/runner/_work/storage-hub/storage-hub/test/util/bspNet/waits.ts:207:7)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
at async TestContext.<anonymous> (/home/runner/_work/storage-hub/storage-hub/test/suites/integration/backend/upload-download-file.test.ts:364:7)
at async Test.run (node:internal/test_runner/test:1054:7)
at async Suite.processPendingSubtests (node:internal/test_runner/test:744:7) {
generatedMessage: false,
code: 'ERR_ASSERTION',
actual: false,
expected: true,
operator: '=='
}
|
|
Should successfully upload file via the backend API and reject concurrent uploads of the same file key:
test/test/suites/integration/backend/upload-download-file.test.ts#L277
TypeError [Error]: fetch failed
at node:internal/deps/undici/undici:13510:13
at async Promise.all (index 1)
at async TestContext.<anonymous> (/home/runner/_work/storage-hub/storage-hub/test/suites/integration/backend/upload-download-file.test.ts:277:47)
at async Test.run (node:internal/test_runner/test:1054:7)
at async Suite.processPendingSubtests (node:internal/test_runner/test:744:7) {
[cause]: Error: write EPIPE
at afterWriteDispatched (node:internal/stream_base_commons:159:15)
at writeGeneric (node:internal/stream_base_commons:150:3)
at Socket._writeGeneric (node:net:971:11)
at Socket._write (node:net:983:8)
at doWrite (node:internal/streams/writable:596:12)
at clearBuffer (node:internal/streams/writable:781:7)
at Writable.uncork (node:internal/streams/writable:529:7)
at AsyncWriter.write (node:internal/deps/undici/undici:6739:16)
at writeIterable (node:internal/deps/undici/undici:6673:23) {
errno: -32,
code: 'EPIPE',
syscall: 'write'
}
}
|
|
sccache stats
93% - 28 hits, 2 misses, 0 errors
|
|
sccache stats
100% - 1102 hits, 0 misses, 0 errors
|
|
Node Tests: Solo Dev Node (2)
Total Tests: 3
Suites 📂: 1
Passed ✅: 3
Failed ❌: 0
Canceled 🚫: 0
Skipped ⏭️: 0
Todo 📝: 0
Duration 🕐: 12779.732ms
|
|
Node Tests: Solo Dev Node (1)
Total Tests: 5
Suites 📂: 1
Passed ✅: 5
Failed ❌: 0
Canceled 🚫: 0
Skipped ⏭️: 0
Todo 📝: 0
Duration 🕐: 12758.277ms
|
|
Integration Tests: User (2)
Total Tests: 14
Suites 📂: 2
Passed ✅: 14
Failed ❌: 0
Canceled 🚫: 0
Skipped ⏭️: 0
Todo 📝: 0
Duration 🕐: 64853.976ms
|
|
Integration Tests: User (1)
Total Tests: 16
Suites 📂: 4
Passed ✅: 16
Failed ❌: 0
Canceled 🚫: 0
Skipped ⏭️: 0
Todo 📝: 0
Duration 🕐: 165660.357ms
|
|
Integration Tests: FullNet (1)
Total Tests: 15
Suites 📂: 6
Passed ✅: 15
Failed ❌: 0
Canceled 🚫: 0
Skipped ⏭️: 0
Todo 📝: 0
Duration 🕐: 242870.499ms
|
|
Integration Tests: BSPNet (4)
Total Tests: 24
Suites 📂: 6
Passed ✅: 19
Failed ❌: 0
Canceled 🚫: 0
Skipped ⏭️: 5
Todo 📝: 0
Duration 🕐: 287877.921ms
|
|
Integration Tests: Solochain EVM
Total Tests: 26
Suites 📂: 4
Passed ✅: 26
Failed ❌: 0
Canceled 🚫: 0
Skipped ⏭️: 0
Todo 📝: 0
Duration 🕐: 143559.123ms
|
|
Integration Tests: BSPNet (2)
Total Tests: 19
Suites 📂: 7
Passed ✅: 15
Failed ❌: 0
Canceled 🚫: 0
Skipped ⏭️: 4
Todo 📝: 0
Duration 🕐: 311380.359ms
|
|
Integration Tests: BSPNet (5)
Total Tests: 31
Suites 📂: 6
Passed ✅: 29
Failed ❌: 0
Canceled 🚫: 0
Skipped ⏭️: 2
Todo 📝: 0
Duration 🕐: 316290.634ms
|
|
Integration Tests: Backend (1)
Total Tests: 92
Suites 📂: 10
Passed ✅: 82
Failed ❌: 6
Canceled 🚫: 0
Skipped ⏭️: 4
Todo 📝: 0
Duration 🕐: 327029.187ms
|
|
Integration Tests: FullNet (2)
Total Tests: 25
Suites 📂: 5
Passed ✅: 25
Failed ❌: 0
Canceled 🚫: 0
Skipped ⏭️: 0
Todo 📝: 0
Duration 🕐: 330969.802ms
|
|
Integration Tests: BSPNet (3)
Total Tests: 45
Suites 📂: 7
Passed ✅: 45
Failed ❌: 0
Canceled 🚫: 0
Skipped ⏭️: 0
Todo 📝: 0
Duration 🕐: 350786.711ms
|
|
Integration Tests: FullNet (3)
Total Tests: 34
Suites 📂: 7
Passed ✅: 34
Failed ❌: 0
Canceled 🚫: 0
Skipped ⏭️: 0
Todo 📝: 0
Duration 🕐: 364181.506ms
|
|
Integration Tests: FullNet (4)
Total Tests: 36
Suites 📂: 8
Passed ✅: 36
Failed ❌: 0
Canceled 🚫: 0
Skipped ⏭️: 0
Todo 📝: 0
Duration 🕐: 369553.684ms
|
|
Integration Tests: BSPNet (1)
Total Tests: 25
Suites 📂: 13
Passed ✅: 25
Failed ❌: 0
Canceled 🚫: 0
Skipped ⏭️: 0
Todo 📝: 0
Duration 🕐: 451117.945ms
|
|
Integration Tests: Fisherman
Total Tests: 42
Suites 📂: 10
Passed ✅: 42
Failed ❌: 0
Canceled 🚫: 0
Skipped ⏭️: 0
Todo 📝: 0
Duration 🕐: 1283136.246ms
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
backend
|
7.96 MB |
sha256:0e21a3165cceb4160b934da556283b636fa307e736c860617d3cba625dd52f75
|
|
|
backend-test-logs
|
19.9 KB |
sha256:7054dffb4ea92cd57718e7377f8f1f15e3ff3d2e638077658450d29f063b87f2
|
|
|
node
|
69.4 MB |
sha256:25bd3246d1849bf076a3c47c1de0faaea0c1d10ca95b2bd34decda4ca8a47e36
|
|