Skip to content

Staging Partner Chains Tests #164

Staging Partner Chains Tests

Staging Partner Chains Tests #164

Triggered via schedule February 12, 2025 04:00
Status Failure
Total duration 12m 39s
Artifacts 1

staging.yml

on: schedule
Fit to window
Zoom out
Zoom in

Annotations

11 errors
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 - /usr/local/lib/python3.10/site-packages/websocket/_socket.py:118: in recv bytes_ = _recv() /usr/local/lib/python3.10/site-packages/websocket/_socket.py:97: in _recv return sock.recv(bufsize) src/decorators.py:5: in timeout_handler raise TimeoutError(f"Function execution timed out {signum} {frame}") E TimeoutError: Function execution timed out 14 <frame at 0x7f21a6fc0840, file '/usr/local/lib/python3.10/site-packages/websocket/_socket.py', line 97, code _recv> During handling of the above exception, another exception occurred: 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:209: in submit_transaction tx._receipt = self.substrate.submit_extrinsic(tx._signed, wait_for_finalization=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:329: in rpc_request self.__rpc_message_queue.append(json.loads(self.websocket.recv())) /usr/local/lib/python3.10/site-packages/websocket/_core.py:388: in recv opcode, data = self.recv_data() /usr/local/lib/python3.10/site-packages/websocket/_core.py:416: in recv_data opcode, frame = self.recv_data_frame(control_frame) /usr/local/lib/python3.10/site-packages/websocket/_core.py:437: in recv_data_frame frame = self.recv_frame() /usr/local/lib/python3.10/site-packages/websocket/_core.py:478: in recv_frame return self.frame_buffer.recv_frame() /usr/local/lib/python3.10/site-packages/websocket/_abnf.py:363: in recv_frame self.recv_header() /usr/local/lib/python3.10/site-packages/websocket/_abnf.py:319: in recv_header header = self.recv_strict(2) /usr/local/lib/python3.10/site-packages/websocket/_abnf.py:398: in recv_strict bytes_ = self.recv(min(16384, shortage)) /usr/local/lib/python3.10/site-packages/websocket/_core.py:563: in _recv return recv(self.sock, bufsize) /usr/local/lib/python3.10/site-packages/websocket/_socket.py:120: in recv raise WebSocketTimeoutException("Connection timed out") E websocket._exceptions.WebSocketTimeoutException: Connection timed out
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:101: in test_epoch_committee_ratio_complies_with_dparam update_committee_attendance(mc_epoch) tests/committee/conftest.py:377: in _inner committee = get_pc_epoch_committee(pc_epoch) tests/committee/conftest.py:489: in _get_pc_epoch_committee raise ValueError(f"API call returned None for epoch {epoch}") E ValueError: API call returned None for epoch 4831200
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:167: 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 4831354. 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:188: in test_mc_epoch_committee_participation_total_number actual_total_attendance = get_total_attendance_for_mc_epoch(mc_epoch) tests/committee/conftest.py:251: in _inner update_committee_attendance(mc_epoch) tests/committee/conftest.py:377: in _inner committee = get_pc_epoch_committee(pc_epoch) tests/committee/conftest.py:489: in _get_pc_epoch_committee raise ValueError(f"API call returned None for epoch {epoch}") E ValueError: API call returned None for epoch 4831200
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:210: in test_mc_epoch_committee_participation_probability update_committee_expected_attendance(mc_epoch) tests/committee/conftest.py:398: in _inner update_committee_attendance(mc_epoch) tests/committee/conftest.py:377: in _inner committee = get_pc_epoch_committee(pc_epoch) tests/committee/conftest.py:489: in _get_pc_epoch_committee raise ValueError(f"API call returned None for epoch {epoch}") E ValueError: API call returned None for epoch 4831200
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:246: 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:259: in __find_first_pc_epoch_with_committee_rotation current_committee = get_pc_epoch_committee(current_pc_epoch) tests/committee/conftest.py:489: in _get_pc_epoch_committee raise ValueError(f"API call returned None for epoch {epoch}") E ValueError: API call returned None for epoch 4831200
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 - tests/committee/test_committee.py:310: in test_active_trustless_candidates_were_in_committee assert get_candidate_participation(candidate) > 0, ( tests/committee/conftest.py:272: in _inner update_committee_attendance(candidate.next_status_epoch) tests/committee/conftest.py:377: in _inner committee = get_pc_epoch_committee(pc_epoch) tests/committee/conftest.py:489: in _get_pc_epoch_committee raise ValueError(f"API call returned None for epoch {epoch}") E ValueError: API call returned None for epoch 4831200
Failed Test: tests/committee/test_committee.py::TestCommitteeRotation::test_inactive_trustless_candidates_were_not_in_committee
tests/committee/test_committee.py::TestCommitteeRotation::test_inactive_trustless_candidates_were_not_in_committee: The test failed in the call phase - tests/committee/test_committee.py:332: in test_inactive_trustless_candidates_were_not_in_committee assert get_candidate_participation(candidate) == 0, ( tests/committee/conftest.py:272: in _inner update_committee_attendance(candidate.next_status_epoch) tests/committee/conftest.py:377: in _inner committee = get_pc_epoch_committee(pc_epoch) tests/committee/conftest.py:489: in _get_pc_epoch_committee raise ValueError(f"API call returned None for epoch {epoch}") E ValueError: API call returned None for epoch 4831200
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:354: in test_active_permissioned_candidates_were_in_committee assert get_candidate_participation(candidate) > 0, ( tests/committee/conftest.py:272: in _inner update_committee_attendance(candidate.next_status_epoch) tests/committee/conftest.py:377: in _inner committee = get_pc_epoch_committee(pc_epoch) tests/committee/conftest.py:489: in _get_pc_epoch_committee raise ValueError(f"API call returned None for epoch {epoch}") E ValueError: API call returned None for epoch 4831200
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 - tests/committee/test_committee.py:376: in test_inactive_permissioned_candidates_were_not_in_committee assert get_candidate_participation(candidate) == 0, ( tests/committee/conftest.py:272: in _inner update_committee_attendance(candidate.next_status_epoch) tests/committee/conftest.py:377: in _inner committee = get_pc_epoch_committee(pc_epoch) tests/committee/conftest.py:489: in _get_pc_epoch_committee raise ValueError(f"API call returned None for epoch {epoch}") E ValueError: API call returned None for epoch 4831200
run
Process completed with exit code 1.

Artifacts

Produced during runtime
Name Size
debug_log Expired
732 KB