Skip to content

Staging Partner Chains Tests #181

Staging Partner Chains Tests

Staging Partner Chains Tests #181

Triggered via schedule February 28, 2025 04:00
Status Failure
Total duration 3h 54m 42s
Artifacts 1

staging.yml

on: schedule
Fit to window
Zoom out
Zoom in

Annotations

11 errors
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 211413 > 211413 E + where 211413 = <bound method SubstrateApi.get_latest_pc_block_number of <src.substrate_api.SubstrateApi object at 0x7f7dfe1848e0>>() E + where <bound method SubstrateApi.get_latest_pc_block_number of <src.substrate_api.SubstrateApi object at 0x7f7dfe1848e0>> = <src.substrate_api.SubstrateApi object at 0x7f7dfe1848e0>.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 0x7f7dfd519040, 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 4835041
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:166: in test_epoch_committee_size_complies_with_dparam 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 4835233
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:190: in test_mc_epoch_committee_participation_total_number assert api.get_committee_seats(mc_epoch) * pc_epochs_in_mc_epoch_count == actual_total_attendance E assert (10 * 240) == 10 E + where 10 = <bound method SubstrateApi.get_committee_seats of <src.substrate_api.SubstrateApi object at 0x7f7dfe1848e0>>(856) E + where <bound method SubstrateApi.get_committee_seats of <src.substrate_api.SubstrateApi object at 0x7f7dfe1848e0>> = <src.substrate_api.SubstrateApi object at 0x7f7dfe1848e0>.get_committee_seats
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 due to an assertion error - tests/committee/test_committee.py:217: in test_mc_epoch_committee_participation_probability assert ( E AssertionError: Incorrect attendance for 0x03f38a062a4b372c045c1dddc4fe98a2c9cb1d6eec8bf02f973fd29b1096cd8155 E assert (720.0 - 129.6) <= 0
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:260: in __find_first_pc_epoch_with_committee_rotation next_committee = get_pc_epoch_committee(next_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 4835041
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:354: in test_active_permissioned_candidates_were_in_committee assert get_candidate_participation(candidate) > 0, ( E AssertionError: ('Permissioned candidate validator-5 not found in any committees on mc epoch ', '856') E assert 0 > 0 E + where 0 = <function get_candidate_participation.<locals>._inner at 0x7f7deb8ed870>(Permissioned candidate(id=601, name='validator-5', next_status='active'), next_status_epoch=856))
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:468: in test_no_rogue_committee_members 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 4835233
Failed Test: tests/committee/test_permissioned_registrations.py::test_upsert_permissioned_candidates
tests/committee/test_permissioned_registrations.py::test_upsert_permissioned_candidates: The test failed in the call phase due to an assertion error - tests/committee/test_permissioned_registrations.py:28: in test_upsert_permissioned_candidates assert result, f"Addition of permissioned candidate {new_candidates_list} failed." E AssertionError: Addition of permissioned candidate {'validator-4': {'scheme': '${...default_scheme}', 'host': 'staging-preview-validator-4-service.staging-preview.svc.cluster.local', 'port': '${nodes_config[default_port]}', 'url': '${.scheme}://${.host}:${.port}', 'rpc_scheme': '${...default_rpc_scheme}', 'rpc_url': '${.rpc_scheme}://${.host}:${.port}', 'aura_ss58_address': '5GVpqdtqjxqUjuVKMkmh8ehSwcs2nXjpvzHqjouZXMJAyC4b', 'pool_id': '2a3f5dd02da1310e081f2367412e02b72baad3e2a5045f62df2c78c5', 'public_key': '0x025e19f82c5e2bac5e8869d49ff26359e442628bc5cfa38eeb5275f43d04015da8', 'aura_public_key': '0xc41992b8eb2f3a8a6c46211df584827f9eeb0175e2c75e1242392262b55b6874', 'grandpa_public_key': '0x34b71fdad96431bf115350d8ad21eec07a2b154ff32dc31125f988e308bebea8', 'rotation_candidate': False, 'permissioned_candidate': True, 'cardano_payment_addr': 'addr_test1vq65mgmcpd6rq6ndy22kwxzdc9u0tmrpr7s30037qdhlalg3f5ax0', 'keys_files': {'cardano_payment_key': './secrets/substrate/staging/keys/validator-4/payment.skey.json.decrypted', 'spo_signing_key': './secrets/substrate/staging/keys/validator-4/cold.skey.json.decrypted', 'spo_public_key': './secrets/substrate/staging/keys/validator-4/cold.vkey.json.decrypted', 'partner_chain_signing_key': './secrets/substrate/staging/keys/validator-4/partner_chain.skey.json.decrypted'}, 'block_rewards_id': '0x0000000000000000000000000000000000000000000000000000000000000204'}, 'validator-5': {'scheme': '${...default_scheme}', 'host': '10.0.10.90', 'port': 30325, 'url': '${.scheme}://${.host}:${.port}', 'rpc_scheme': '${...default_rpc_scheme}', 'rpc_url': '${.rpc_scheme}://${.host}:${.port}', 'aura_ss58_address': '5DsfhT7HJe6i5LYeKBzefrXijW5UgPsn2Cuyw5WMa4uEktTn', 'pool_id': 'ae81beee7a6c3fa13bba811f91f63ebdd7eb25dd8a62476d4996de10', 'public_key': '0x03f38a062a4b372c045c1dddc4fe98a2c9cb1d6eec8bf02f973fd29b1096cd8155', 'aura_public_key': '0x500d7ff6d903c85db5ee5624df9510c2a085cf30da260166bd370010d0bdc97a', 'grandpa_public_key': '0xa04d74c1539550876d04e4d2de4e0531087c3b6810ce96ddc16d78ccf4ac4f11', 'rotation_candidate': False, 'permissioned_candidate': True, 'cardano_payment_addr': 'addr_test1vqqm36dcg5xeeqgc29r8gu6wujlmr4fyrdrvuzq4qnem2vs7g2kvj', 'keys_files': {'cardano_payment_key': './secrets/substrate/staging/keys/validator-5/payment.skey.json.decrypted', 'spo_signing_key': './secrets/substrate/staging/keys/validator-5/cold.skey.json.decrypted', 'spo_public_key': './secrets/substrate/staging/keys/validator-5/cold.vkey.json.decrypted', 'partner_chain_signing_key': './secrets/substrate/staging/keys/validator-5/partner_chain.skey.json.decrypted'}, 'block_rewards_id': '0x0000000000000000000000000000000000000000000000000000000000000205'}} failed. E assert False
run
Process completed with exit code 1.

Artifacts

Produced during runtime
Name Size
debug_log
714 KB