Skip to content

Devnet Partner Chains Tests #47

Devnet Partner Chains Tests

Devnet Partner Chains Tests #47

Triggered via schedule December 7, 2024 04:36
Status Failure
Total duration 3m 48s
Artifacts 1

devnet.yml

on: schedule
Fit to window
Zoom out
Zoom in

Annotations

10 errors
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_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_blocks.py::test_block_beneficiaries_match_committee_seats
tests/committee/test_blocks.py::test_block_beneficiaries_match_committee_seats: The test failed in the call phase due to an assertion error - tests/committee/test_blocks.py:65: in test_block_beneficiaries_match_committee_seats assert abs( E AssertionError: Block rewards for 0x0000000000000000000000000000000000000000000000000000000000000002 does not match committee seat expected distribution E assert 2.0000000000000036 in (0, 1) E + where 2.0000000000000036 = abs((23 - (23.333333333333332 - (0.3333333333333335 * 7)))) E + where 7 = int((23.333333333333332 / 3))
Failed Test: tests/committee/test_blocks.py::test_block_authors_match_committee_seats
tests/committee/test_blocks.py::test_block_authors_match_committee_seats: The test failed in the call phase due to an assertion error - tests/committee/test_blocks.py:109: in test_block_authors_match_committee_seats assert block_author, f"Could not get author of block {block_no}. Please check decoder." E AssertionError: Could not get author of block 266320. Please check decoder. E assert None
Failed Test: tests/committee/test_committee.py::TestCommitteeRotation::test_active_trustless_candidates_were_in_committee
tests/committee/test_committee.py::TestCommitteeRotation::test_active_trustless_candidates_were_in_committee: The test failed in the call phase due to an assertion error - tests/committee/test_committee.py:258: in test_active_trustless_candidates_were_in_committee assert get_candidate_participation(candidate) > 0, ( E AssertionError: Trustless candidate ferdie not found in any committees on mc epoch 773 E assert 0 > 0 E + where 0 = <function get_candidate_participation.<locals>._inner at 0x7ff15a8de4d0>(Candidate(id=707, name='ferdie', next_status='active'), next_status_epoch=773))
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 due to an assertion error - tests/committee/test_committee.py:302: in test_active_permissioned_candidates_were_in_committee assert get_candidate_participation(candidate) > 0, ( E AssertionError: ('Permissioned candidate henry not found in any committees on mc epoch ', '773') E assert 0 > 0 E + where 0 = <function get_candidate_participation.<locals>._inner at 0x7ff15a605f30>(Permissioned candidate(id=591, name='henry', next_status='active'), next_status_epoch=773))
Failed Test: tests/committee/test_committee.py::TestCommitteeRotation::test_inactive_permissioned_candidates_were_not_in_committee
tests/committee/test_committee.py::TestCommitteeRotation::test_inactive_permissioned_candidates_were_not_in_committee: The test failed in the call phase due to an assertion error - tests/committee/test_committee.py:324: in test_inactive_permissioned_candidates_were_not_in_committee assert get_candidate_participation(candidate) == 0, ( E AssertionError: ('Inactive permissioned candidate charlie found in committee on mc epoch ', '773') E assert 1462 == 0 E + where 1462 = <function get_candidate_participation.<locals>._inner at 0x7ff15a606e60>(Permissioned candidate(id=592, name='charlie', next_status='inactive'), next_status_epoch=773))
Failed Test: tests/committee/test_committee.py::TestCommitteeMembers::test_there_is_at_least_one_trustless_candidate
tests/committee/test_committee.py::TestCommitteeMembers::test_there_is_at_least_one_trustless_candidate: The test failed in the call phase - tests/committee/test_committee.py:340: in test_there_is_at_least_one_trustless_candidate assert len(api.get_trustless_candidates(current_mc_epoch, valid_only=True)) > 0 E assert 0 > 0 E + where 0 = len({}) E + where {} = <bound method SubstrateApi.get_trustless_candidates of <src.substrate_api.SubstrateApi object at 0x7ff163715090>>(774, valid_only=True) E + where <bound method SubstrateApi.get_trustless_candidates of <src.substrate_api.SubstrateApi object at 0x7ff163715090>> = <src.substrate_api.SubstrateApi object at 0x7ff163715090>.get_trustless_candidates
Failed Test: tests/committee/test_registrations.py::test_register_candidate
tests/committee/test_registrations.py::test_register_candidate: The test failed in the call phase - tests/committee/test_registrations.py:23: in test_register_candidate result, next_status_epoch = api.register_candidate(candidate.name) src/substrate_api.py:295: in register_candidate signatures = self.sidechain_main_cli.get_signatures( src/sidechain_main_cli.py:81: in get_signatures raise e src/sidechain_main_cli.py:66: in get_signatures registration_signatures = json.loads(result.stdout) /usr/local/lib/python3.10/json/__init__.py:346: in loads return _default_decoder.decode(s) /usr/local/lib/python3.10/json/decoder.py:337: in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) /usr/local/lib/python3.10/json/decoder.py:355: in raw_decode raise JSONDecodeError("Expecting value", s, err.value) from None E json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
run
Process completed with exit code 1.

Artifacts

Produced during runtime
Name Size
debug_log Expired
30.6 KB