fix: 🚑 Re-initialise BSPs' challenge cycle when changing stake #2233
parachain.yml
on: pull_request
setup
9s
Run Para & Relay Network Test
3m 13s
Run Zombienet Tests
2m 12s
Check Rust/TS bindings are up to date
52s
Matrix: Run BSPNet Tests
Matrix: Run Dev Node Tests
Matrix: Run FullNet Tests
Annotations
11 errors, 14 warnings, and 9 notices
BSP fails to submit proof and is marked as slashable:
test/suites/integration/bsp/submit-proofs.test.ts#L164
[Error [ERR_TEST_FAILURE]: The last tick for which the BSP-Down submitted a proof should be the last tick before BSP-Down was marked as slashable plus one challenge period
21 !== 30
] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: AssertionError [ERR_ASSERTION]: The last tick for which the BSP-Down submitted a proof should be the last tick before BSP-Down was marked as slashable plus one challenge period
21 !== 30
at TestContext.<anonymous> (/home/runner/work/storage-hub/storage-hub/test/suites/integration/bsp/submit-proofs.test.ts:164:7)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
at async Test.run (node:internal/test_runner/test:932:9)
at async Suite.processPendingSubtests (node:internal/test_runner/test:629:7) {
generatedMessage: false,
code: 'ERR_ASSERTION',
actual: 21,
expected: 30,
operator: 'strictEqual'
}
}
|
Resume BSPs, and they shouldn't volunteer for the expired storage request:
test/suites/integration/bsp/submit-proofs.test.ts#L341
[Error [ERR_TEST_FAILURE]: Failed to detect BSP catch up after 30s] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: AssertionError [ERR_ASSERTION]: Failed to detect BSP catch up after 30s
at Module.waitForBspToCatchUpToChainTip (/home/runner/work/storage-hub/storage-hub/test/util/bspNet/waits.ts:299: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/bsp/submit-proofs.test.ts:341:7)
at async Test.run (node:internal/test_runner/test:932:9)
at async Suite.processPendingSubtests (node:internal/test_runner/test:629:7) {
generatedMessage: false,
code: 'ERR_ASSERTION',
actual: false,
expected: true,
operator: '=='
}
}
|
BSP-Two still correctly responds to challenges with same forest root:
test/suites/integration/bsp/submit-proofs.test.ts#L405
[Error [ERR_TEST_FAILURE]: All pending submit proof transactions should have been successful
2 !== 1
] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: AssertionError [ERR_ASSERTION]: All pending submit proof transactions should have been successful
2 !== 1
at TestContext.<anonymous> (/home/runner/work/storage-hub/storage-hub/test/suites/integration/bsp/submit-proofs.test.ts:405:7)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
at async Test.run (node:internal/test_runner/test:932:9)
at async Suite.processPendingSubtests (node:internal/test_runner/test:629:7) {
generatedMessage: false,
code: 'ERR_ASSERTION',
actual: 2,
expected: 1,
operator: 'strictEqual'
}
}
|
File is deleted by user:
test/suites/integration/bsp/submit-proofs.test.ts#L473
[Error [ERR_TEST_FAILURE]: Failed to detect proofsDealer.submitProof extrinsic in txPool. Error: AssertionError [ERR_ASSERTION]: Expected at least 2 extrinsics, but found 1 for proofsDealer.submitProof] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: Error: Failed to detect proofsDealer.submitProof extrinsic in txPool. Error: AssertionError [ERR_ASSERTION]: Expected at least 2 extrinsics, but found 1 for proofsDealer.submitProof
at waitForTxInPool (/home/runner/work/storage-hub/storage-hub/test/util/bspNet/waits.ts:62:11)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
at async Module.advanceToBlock (/home/runner/work/storage-hub/storage-hub/test/util/bspNet/block.ts:394:7)
at async TestContext.<anonymous> (/home/runner/work/storage-hub/storage-hub/test/suites/integration/bsp/submit-proofs.test.ts:473:7)
at async Test.run (node:internal/test_runner/test:932:9)
at async Suite.processPendingSubtests (node:internal/test_runner/test:629:7)
}
|
Priority challenge is included in checkpoint challenge round:
test/suites/integration/bsp/submit-proofs.test.ts#L512
[Error [ERR_TEST_FAILURE]: The file key should be included in the checkpoint challenge.] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: AssertionError [ERR_ASSERTION]: The file key should be included in the checkpoint challenge.
at TestContext.<anonymous> (/home/runner/work/storage-hub/storage-hub/test/suites/integration/bsp/submit-proofs.test.ts:512:7)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
at async Test.run (node:internal/test_runner/test:932:9)
at async Suite.processPendingSubtests (node:internal/test_runner/test:629:7) {
generatedMessage: false,
code: 'ERR_ASSERTION',
actual: false,
expected: true,
operator: '=='
}
}
|
BSP that has the file responds with correct proof including the file key, and BSP that doesn't have the file responds with correct proof non-including the file key:
test/suites/integration/bsp/submit-proofs.test.ts#L654
[Error [ERR_TEST_FAILURE]: No events matching proofsDealer.MutationsApplied found] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: AssertionError [ERR_ASSERTION]: No events matching proofsDealer.MutationsApplied found
at Module.assertEventMany (/home/runner/work/storage-hub/storage-hub/test/util/asserts.ts:175:3)
at Object.eventMany (/home/runner/work/storage-hub/storage-hub/test/util/bspNet/test-api.ts:178:27)
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/submit-proofs.test.ts:654:40)
at async Test.run (node:internal/test_runner/test:932:9)
at async Suite.processPendingSubtests (node:internal/test_runner/test:629:7) {
generatedMessage: false,
code: 'ERR_ASSERTION',
actual: false,
expected: true,
operator: '=='
}
}
|
File is removed from Forest by BSP:
test/suites/integration/bsp/submit-proofs.test.ts#L685
[Error [ERR_TEST_FAILURE]: The root should have been updated on chain] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: AssertionError [ERR_ASSERTION]: The root should have been updated on chain
at TestContext.<anonymous> (/home/runner/work/storage-hub/storage-hub/test/suites/integration/bsp/submit-proofs.test.ts:685:7)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
at async Test.run (node:internal/test_runner/test:932:9)
at async Suite.processPendingSubtests (node:internal/test_runner/test:629:7) {
generatedMessage: false,
code: 'ERR_ASSERTION',
actual: false,
expected: true,
operator: '=='
}
}
|
Run BSPNet Tests (4)
Process completed with exit code 1.
|
Run BSPNet Tests (2)
The job running on runner GitHub Actions 3 has exceeded the maximum execution time of 30 minutes.
|
BSP with reputation is prioritised:
test/suites/integration/bsp/bsp-thresholds.test.ts#L314
[Error [ERR_TEST_FAILURE]: Failed to detect fileSystem.bspVolunteer extrinsic in txPool. Error: Error: Failed to find matching extrinsic after 1000ms: No matching extrinsic found for fileSystem.bspVolunteer] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: Error: Failed to detect fileSystem.bspVolunteer extrinsic in txPool. Error: Error: Failed to find matching extrinsic after 1000ms: No matching extrinsic found for fileSystem.bspVolunteer
at waitForTxInPool (/home/runner/work/storage-hub/storage-hub/test/util/bspNet/waits.ts:62:11)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
at async Module.waitForBspVolunteer (/home/runner/work/storage-hub/storage-hub/test/util/bspNet/waits.ts:81:3)
at async TestContext.<anonymous> (/home/runner/work/storage-hub/storage-hub/test/suites/integration/bsp/bsp-thresholds.test.ts:314:7)
at async Test.run (node:internal/test_runner/test:932:9)
at async Suite.processPendingSubtests (node:internal/test_runner/test:629:7)
}
|
Run BSPNet Tests (2)
The operation was canceled.
|
setup
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Build node image
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Check Rust/TS bindings are up to date
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Run Dev Node Tests (2)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Run Dev Node Tests (1)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Run Zombienet Tests
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Run Para & Relay Network Test
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Run FullNet Tests (4)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Run FullNet Tests (2)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Run BSPNet Tests (1)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Run FullNet Tests (1)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Run BSPNet Tests (3)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Run FullNet Tests (3)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Run BSPNet Tests (4)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Run Dev Node Tests (2)
Total Tests: 3
Suites 📂: 1
Passed ✅: 3
Failed ❌: 0
Canceled 🚫: 0
Skipped ⏭️: 0
Todo 📝: 0
Duration 🕐: 19738.144ms
|
Run Dev Node Tests (1)
Total Tests: 5
Suites 📂: 1
Passed ✅: 5
Failed ❌: 0
Canceled 🚫: 0
Skipped ⏭️: 0
Todo 📝: 0
Duration 🕐: 19599.376ms
|
Run FullNet Tests (4)
Total Tests: 4
Suites 📂: 2
Passed ✅: 4
Failed ❌: 0
Canceled 🚫: 0
Skipped ⏭️: 0
Todo 📝: 0
Duration 🕐: 108965.105ms
|
Run FullNet Tests (2)
Total Tests: 10
Suites 📂: 3
Passed ✅: 10
Failed ❌: 0
Canceled 🚫: 0
Skipped ⏭️: 0
Todo 📝: 0
Duration 🕐: 152156.468ms
|
Run BSPNet Tests (1)
Total Tests: 13
Suites 📂: 7
Passed ✅: 11
Failed ❌: 0
Canceled 🚫: 0
Skipped ⏭️: 2
Todo 📝: 0
Duration 🕐: 249891.312ms
|
Run FullNet Tests (1)
Total Tests: 12
Suites 📂: 4
Passed ✅: 12
Failed ❌: 0
Canceled 🚫: 0
Skipped ⏭️: 0
Todo 📝: 0
Duration 🕐: 230622.174ms
|
Run BSPNet Tests (3)
Total Tests: 17
Suites 📂: 6
Passed ✅: 11
Failed ❌: 0
Canceled 🚫: 0
Skipped ⏭️: 6
Todo 📝: 0
Duration 🕐: 283707.718ms
|
Run FullNet Tests (3)
Total Tests: 18
Suites 📂: 4
Passed ✅: 18
Failed ❌: 0
Canceled 🚫: 0
Skipped ⏭️: 0
Todo 📝: 0
Duration 🕐: 288419.776ms
|
Run BSPNet Tests (4)
Total Tests: 34
Suites 📂: 8
Passed ✅: 24
Failed ❌: 7
Canceled 🚫: 0
Skipped ⏭️: 3
Todo 📝: 0
Duration 🕐: 396342.253ms
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
bsp-test-logs-shard-4
|
119 KB |
|
node
|
61 MB |
|