Skip to content

Devnet Partner Chains Tests #80

Devnet Partner Chains Tests

Devnet Partner Chains Tests #80

Triggered via schedule January 9, 2025 04:34
Status Failure
Total duration 4m 0s
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_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 1590 > 1590 E + where 1590 = <bound method SubstrateApi.get_latest_pc_block_number of <src.substrate_api.SubstrateApi object at 0x7fa9bd750820>>() E + where <bound method SubstrateApi.get_latest_pc_block_number of <src.substrate_api.SubstrateApi object at 0x7fa9bd750820>> = <src.substrate_api.SubstrateApi object at 0x7fa9bd750820>.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 - /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 0x7fa9bd7fc240, 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: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: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/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 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 - 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 4823325
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 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: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 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: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 4823040
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 - tests/committee/test_committee.py:414: in test_no_rogue_committee_members 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 4823325
run
Process completed with exit code 1.

Artifacts

Produced during runtime
Name Size
debug_log
9.12 KB