Devnet Partner Chains Tests #57
Annotations
11 errors
Failed Test: tests/test_rpc.py::TestRpc::test_get_epoch_committee
tests/test_rpc.py::TestRpc::test_get_epoch_committee: The test failed in the call phase - tests/test_rpc.py:80: in test_get_epoch_committee
assert (
E TypeError: 'NoneType' object is not subscriptable
|
Failed Test: tests/test_smoke.py::TestSmoke::test_block_producing
tests/test_smoke.py::TestSmoke::test_block_producing: The test failed in the call phase - tests/test_smoke.py:25: in test_block_producing
assert api.get_latest_pc_block_number() > block_number
E assert 373391 > 373391
E + where 373391 = <bound method SubstrateApi.get_latest_pc_block_number of <src.substrate_api.SubstrateApi object at 0x7faa5b329930>>()
E + where <bound method SubstrateApi.get_latest_pc_block_number of <src.substrate_api.SubstrateApi object at 0x7faa5b329930>> = <src.substrate_api.SubstrateApi object at 0x7faa5b329930>.get_latest_pc_block_number
|
Failed Test: tests/test_smoke.py::TestSmoke::test_transaction
tests/test_smoke.py::TestSmoke::test_transaction: The test failed in the call phase due to an exception - tests/test_smoke.py:51: in test_transaction
api.submit_transaction(tx=signed, wait_for_finalization=True)
src/decorators.py:13: in wrapper
func(*args, **kwargs)
src/substrate_api.py:216: in submit_transaction
tx._receipt = self.substrate.submit_extrinsic(tx._signed, wait_for_finalization)
/usr/local/lib/python3.10/site-packages/substrateinterface/base.py:1788: in submit_extrinsic
response = self.rpc_request(
/usr/local/lib/python3.10/site-packages/substrateinterface/base.py:299: in rpc_request
raise SubstrateRequestException(message['error'])
E substrateinterface.exceptions.SubstrateRequestException: {'code': 1014, 'message': 'Priority is too low: (4256 vs 4256)', 'data': 'The transaction has too low priority to replace another transaction already in the pool.'}
|
Failed Test: tests/test_smoke.py::TestSmoke::test_get_params
tests/test_smoke.py::TestSmoke::test_get_params: The test failed in the call phase - tests/test_smoke.py:99: in test_get_params
assert params["chainId"] == config.chain_id, "Chain ID mismatch"
E KeyError: 'chainId'
|
Failed Test: tests/committee/test_committee.py::TestCommitteeDistribution::test_epoch_committee_ratio_complies_with_dparam
tests/committee/test_committee.py::TestCommitteeDistribution::test_epoch_committee_ratio_complies_with_dparam: The test failed in the call phase - tests/committee/test_committee.py:51: in test_epoch_committee_ratio_complies_with_dparam
update_committee_attendance(mc_epoch)
tests/committee/conftest.py:376: in _inner
committee = get_pc_epoch_committee(pc_epoch)
tests/committee/conftest.py:488: in _get_pc_epoch_committee
raise ValueError(f"API call returned None for epoch {epoch}")
E ValueError: API call returned None for epoch 4817520
|
Failed Test: tests/committee/test_committee.py::TestCommitteeDistribution::test_epoch_committee_size_complies_with_dparam
tests/committee/test_committee.py::TestCommitteeDistribution::test_epoch_committee_size_complies_with_dparam: The test failed in the call phase - tests/committee/test_committee.py:114: in test_epoch_committee_size_complies_with_dparam
committee = get_pc_epoch_committee(pc_epoch)
tests/committee/conftest.py:488: in _get_pc_epoch_committee
raise ValueError(f"API call returned None for epoch {epoch}")
E ValueError: API call returned None for epoch 4817805
|
Failed Test: tests/committee/test_committee.py::TestCommitteeDistribution::test_mc_epoch_committee_participation_total_number
tests/committee/test_committee.py::TestCommitteeDistribution::test_mc_epoch_committee_participation_total_number: The test failed in the call phase - tests/committee/test_committee.py:136: in test_mc_epoch_committee_participation_total_number
actual_total_attendance = get_total_attendance_for_mc_epoch(mc_epoch)
tests/committee/conftest.py:250: in _inner
update_committee_attendance(mc_epoch)
tests/committee/conftest.py:376: in _inner
committee = get_pc_epoch_committee(pc_epoch)
tests/committee/conftest.py:488: in _get_pc_epoch_committee
raise ValueError(f"API call returned None for epoch {epoch}")
E ValueError: API call returned None for epoch 4817520
|
Failed Test: tests/committee/test_committee.py::TestCommitteeDistribution::test_mc_epoch_committee_participation_probability
tests/committee/test_committee.py::TestCommitteeDistribution::test_mc_epoch_committee_participation_probability: The test failed in the call phase - tests/committee/test_committee.py:158: in test_mc_epoch_committee_participation_probability
update_committee_expected_attendance(mc_epoch)
tests/committee/conftest.py:397: in _inner
update_committee_attendance(mc_epoch)
tests/committee/conftest.py:376: in _inner
committee = get_pc_epoch_committee(pc_epoch)
tests/committee/conftest.py:488: in _get_pc_epoch_committee
raise ValueError(f"API call returned None for epoch {epoch}")
E ValueError: API call returned None for epoch 4817520
|
Failed Test: tests/committee/test_committee.py::TestCommitteeRotation::test_committee_members_rotate_over_pc_epochs
tests/committee/test_committee.py::TestCommitteeRotation::test_committee_members_rotate_over_pc_epochs: The test failed in the call phase - tests/committee/test_committee.py:194: in test_committee_members_rotate_over_pc_epochs
epochs_with_committee_rotation = self.__find_first_pc_epoch_with_committee_rotation(
tests/committee/test_committee.py:207: in __find_first_pc_epoch_with_committee_rotation
current_committee = get_pc_epoch_committee(current_pc_epoch)
tests/committee/conftest.py:488: in _get_pc_epoch_committee
raise ValueError(f"API call returned None for epoch {epoch}")
E ValueError: API call returned None for epoch 4817520
|
Failed Test: tests/committee/test_committee.py::TestCommitteeRotation::test_active_permissioned_candidates_were_in_committee
tests/committee/test_committee.py::TestCommitteeRotation::test_active_permissioned_candidates_were_in_committee: The test failed in the call phase - tests/committee/test_committee.py:302: in test_active_permissioned_candidates_were_in_committee
assert get_candidate_participation(candidate) > 0, (
tests/committee/conftest.py:271: in _inner
update_committee_attendance(candidate.next_status_epoch)
tests/committee/conftest.py:376: in _inner
committee = get_pc_epoch_committee(pc_epoch)
tests/committee/conftest.py:488: in _get_pc_epoch_committee
raise ValueError(f"API call returned None for epoch {epoch}")
E ValueError: API call returned None for epoch 4817520
|
run
Process completed with exit code 1.
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
debug_log
|
16.6 KB |
|