Skip to content

Devnet Partner Chains Tests #52

Devnet Partner Chains Tests

Devnet Partner Chains Tests #52

Triggered via schedule December 12, 2024 04:37
Status Failure
Total duration 8m 41s
Artifacts 1

devnet.yml

on: schedule
Fit to window
Zoom out
Zoom in

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_rpc.py::TestRpc::test_get_registrations
tests/test_rpc.py::TestRpc::test_get_registrations: The test failed in the call phase - tests/test_rpc.py:119: in test_get_registrations mainchain_key = next(iter(api.get_ariadne_parameters(mc_epoch)["candidateRegistrations"])) E StopIteration
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 276701 > 276701 E + where 276701 = <bound method SubstrateApi.get_latest_pc_block_number of <src.substrate_api.SubstrateApi object at 0x7ff58af44d60>>() E + where <bound method SubstrateApi.get_latest_pc_block_number of <src.substrate_api.SubstrateApi object at 0x7ff58af44d60>> = <src.substrate_api.SubstrateApi object at 0x7ff58af44d60>.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 4816320
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 4816605
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 4816320
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 4816320
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 4816320
run
Process completed with exit code 1.

Artifacts

Produced during runtime
Name Size
debug_log Expired
13.6 KB