test: ✅ Implement TODOs and Fix Tests #1949
parachain.yml
on: pull_request
setup
7s
Run Para & Relay Network Test
3m 29s
Run Zombienet Tests
2m 22s
Check Rust/TS bindings are up to date
58s
Matrix: Run BSPNet Tests
Matrix: Run Dev Node Tests
Matrix: Run FullNet Tests
Annotations
4 errors and 10 notices
multiple BSPs volunteer to multiple requests:
test/suites/integration/bsp/multi-volunteer-3.test.ts#L77
Error [ERR_TEST_FAILURE]: Failed to find matching extrinsic after 10000ms: Invariant failed: Expected 9 extrinsics matching fileSystem.bspVolunteer, but found 6
at async Promise.all (index 0) {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: Error: Failed to find matching extrinsic after 10000ms: Invariant failed: Expected 9 extrinsics matching fileSystem.bspVolunteer, but found 6
at Module.assertExtrinsicPresent (/home/runner/work/storage-hub/storage-hub/test/util/asserts.ts:121:9)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
at async TestContext.<anonymous> (/home/runner/work/storage-hub/storage-hub/test/suites/integration/bsp/multi-volunteer-3.test.ts:77:5)
at async Test.run (node:internal/test_runner/test:935:9)
at async Promise.all (index 0)
at async Suite.run (node:internal/test_runner/test:1320:7)
at async Test.processPendingSubtests (node:internal/test_runner/test:633:7)
}
|
Run BSPNet Tests (3)
Process completed with exit code 1.
|
multiple BSPs race to volunteer for single file:
test/suites/integration/bsp/multi-volunteer-2.test.ts#L47
Error [ERR_TEST_FAILURE]: Failed to find matching extrinsic after 10000ms: Invariant failed: Expected 3 extrinsics matching fileSystem.bspVolunteer, but found 2
at async Promise.all (index 0) {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: Error: Failed to find matching extrinsic after 10000ms: Invariant failed: Expected 3 extrinsics matching fileSystem.bspVolunteer, but found 2
at Module.assertExtrinsicPresent (/home/runner/work/storage-hub/storage-hub/test/util/asserts.ts:121:9)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
at async TestContext.<anonymous> (/home/runner/work/storage-hub/storage-hub/test/suites/integration/bsp/multi-volunteer-2.test.ts:47:5)
at async Test.run (node:internal/test_runner/test:935:9)
at async Promise.all (index 0)
at async Suite.run (node:internal/test_runner/test:1320:7)
at async startSubtestAfterBootstrap (node:internal/test_runner/harness:297:3)
}
|
Run BSPNet Tests (2)
Process completed with exit code 1.
|
Run BSPNet Tests (3)
Total Tests: 16
Suites 📂: 6
Passed ✅: 11
Failed ❌: 1
Canceled 🚫: 0
Skipped ⏭️: 4
Todo 📝: 0
Duration 🕐: 231715.403ms
|
Run BSPNet Tests (4)
Total Tests: 17
Suites 📂: 5
Passed ✅: 17
Failed ❌: 0
Canceled 🚫: 0
Skipped ⏭️: 0
Todo 📝: 0
Duration 🕐: 216513.158ms
|
Run Dev Node Tests (4)
Total Tests: 0
Suites 📂: 0
Passed ✅: 0
Failed ❌: 0
Canceled 🚫: 0
Skipped ⏭️: 0
Todo 📝: 0
Duration 🕐: 83.435ms
|
Run BSPNet Tests (1)
Total Tests: 25
Suites 📂: 6
Passed ✅: 25
Failed ❌: 0
Canceled 🚫: 0
Skipped ⏭️: 0
Todo 📝: 0
Duration 🕐: 368124.979ms
|
Run Dev Node Tests (3)
Total Tests: 0
Suites 📂: 0
Passed ✅: 0
Failed ❌: 0
Canceled 🚫: 0
Skipped ⏭️: 0
Todo 📝: 0
Duration 🕐: 78.436ms
|
Run Dev Node Tests (2)
Total Tests: 3
Suites 📂: 1
Passed ✅: 3
Failed ❌: 0
Canceled 🚫: 0
Skipped ⏭️: 0
Todo 📝: 0
Duration 🕐: 19623.212ms
|
Run Dev Node Tests (1)
Total Tests: 5
Suites 📂: 1
Passed ✅: 5
Failed ❌: 0
Canceled 🚫: 0
Skipped ⏭️: 0
Todo 📝: 0
Duration 🕐: 19709.536ms
|
Run FullNet Tests (2)
Total Tests: 6
Suites 📂: 3
Passed ✅: 6
Failed ❌: 0
Canceled 🚫: 0
Skipped ⏭️: 0
Todo 📝: 0
Duration 🕐: 158557.832ms
|
Run FullNet Tests (1)
Total Tests: 20
Suites 📂: 6
Passed ✅: 20
Failed ❌: 0
Canceled 🚫: 0
Skipped ⏭️: 0
Todo 📝: 0
Duration 🕐: 304069.293ms
|
Run BSPNet Tests (2)
Total Tests: 39
Suites 📂: 8
Passed ✅: 32
Failed ❌: 1
Canceled 🚫: 0
Skipped ⏭️: 6
Todo 📝: 0
Duration 🕐: 423051.179ms
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
bsp-test-logs-shard-2
Expired
|
141 KB |
|