Skip to content

Staging Partner Chains Tests #124

Staging Partner Chains Tests

Staging Partner Chains Tests #124

Triggered via schedule January 9, 2025 04:00
Status Failure
Total duration 10m 45s
Artifacts 1

staging.yml

on: schedule
Fit to window
Zoom out
Zoom in

Annotations

10 errors
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:100: 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 4823040
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 due to an assertion error - tests/committee/test_committee.py:164: in test_epoch_committee_size_complies_with_dparam assert len(committee) == expected_committee_size, f"Committee size mismatch for pc epoch {pc_epoch}." E AssertionError: Committee size mismatch for pc epoch 4823143. E assert 5 == 10 E + where 5 = len([{'sidechainPubKey': '0x03b827f4da9711bab7292e5695576a841a4d20af9a07b1ba7a230168d2a78e9df4'}, {'sidechainPubKey': '0x02ef5bcd94d54a18ad199559782cd72ac3ccd850976aaaafbca8f9d2625afbf7c4'}, {'sidechainPubKey': '0x02f2762ab6e1a125dc03908a7b738f8023d13763f28a11d7633c6c8bc463478430'}, {'sidechainPubKey': '0x025e19f82c5e2bac5e8869d49ff26359e442628bc5cfa38eeb5275f43d04015da8'}, {'sidechainPubKey': '0x03f38a062a4b372c045c1dddc4fe98a2c9cb1d6eec8bf02f973fd29b1096cd8155'}])
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:185: 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 4823040
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:207: 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 4823040
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:243: 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:256: 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 4823040
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:391: 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 0x7facf030aef0>>(807, valid_only=True) E + where <bound method SubstrateApi.get_trustless_candidates of <src.substrate_api.SubstrateApi object at 0x7facf030aef0>> = <src.substrate_api.SubstrateApi object at 0x7facf030aef0>.get_trustless_candidates
Failed Test: tests/committee/test_committee.py::TestCommitteeMembers::test_no_rogue_committee_members
tests/committee/test_committee.py::TestCommitteeMembers::test_no_rogue_committee_members: The test failed in the call phase due to an assertion error - tests/committee/test_committee.py:468: in test_no_rogue_committee_members assert ( E AssertionError: Committee member 0x03b827f4da9711bab7292e5695576a841a4d20af9a07b1ba7a230168d2a78e9df4 not an active candidate for pc epoch 4823143 E assert '0x03b827f4da9711bab7292e5695576a841a4d20af9a07b1ba7a230168d2a78e9df4' in ['0x03f38a062a4b372c045c1dddc4fe98a2c9cb1d6eec8bf02f973fd29b1096cd8155', '0x025e19f82c5e2bac5e8869d49ff26359e442628bc5cfa38eeb5275f43d04015da8']
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 due to an assertion error - tests/committee/test_registrations.py:56: in test_register_candidate assert registration["isValid"], f"Registered candidate {candidate.name} is not valid" E AssertionError: Registered candidate validator-1 is not valid E assert False
run
Process completed with exit code 1.

Artifacts

Produced during runtime
Name Size
debug_log
442 KB