Skip to content

Devnet Partner Chains Tests #44

Devnet Partner Chains Tests

Devnet Partner Chains Tests #44

Triggered via schedule December 4, 2024 04:36
Status Failure
Total duration 28m 58s
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_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 0x0000000000000000000000000000000000000000000000000000000000000001 does not match committee seat expected distribution E assert 2.0000000000000036 in (0, 1) E + where 2.0000000000000036 = abs((26 - (26.666666666666664 - (0.3333333333333335 * 8)))) E + where 8 = int((26.666666666666664 / 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 223266. 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 eve not found in any committees on mc epoch 770 E assert 0 > 0 E + where 0 = <function get_candidate_participation.<locals>._inner at 0x7f6fd4fd2560>(Candidate(id=701, name='eve', next_status='active'), next_status_epoch=770))
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 0x7f6fda680970>>(771, valid_only=True) E + where <bound method SubstrateApi.get_trustless_candidates of <src.substrate_api.SubstrateApi object at 0x7f6fda680970>> = <src.substrate_api.SubstrateApi object at 0x7f6fda680970>.get_trustless_candidates
Failed Test: tests/committee/test_permissioned_registrations.py::test_add_permissioned_candidate
tests/committee/test_permissioned_registrations.py::test_add_permissioned_candidate: The test failed in the call phase due to an assertion error - tests/committee/test_permissioned_registrations.py:58: in test_add_permissioned_candidate assert ( E AssertionError: Expected new permissioned candidate not found, keys do not match any existing candidate E assert False
Failed Test: tests/committee/test_permissioned_registrations.py::test_remove_permissioned_candidate
tests/committee/test_permissioned_registrations.py::test_remove_permissioned_candidate: The test failed in the call phase due to an assertion error - tests/committee/test_permissioned_registrations.py:110: in test_remove_permissioned_candidate assert candidate_not_found, "Removed permissioned candidate still found" E AssertionError: Removed permissioned candidate still found E assert False
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:40: in test_register_candidate registration = candidate_registrations[registered_mc_pub_key][0] E KeyError: '0x6d4b0b7619803f187ccbbd74562a85e9721fee6733c934c081143cc569c96f8f'
Failed Test: tests/committee/test_registrations.py::test_deregister_candidate
tests/committee/test_registrations.py::test_deregister_candidate: The test failed in the teardown phase - /usr/local/lib/python3.10/site-packages/sqlalchemy/engine/base.py:1115: in _rollback_impl self.engine.dialect.do_rollback(self.connection) /usr/local/lib/python3.10/site-packages/sqlalchemy/engine/default.py:691: in do_rollback dbapi_connection.rollback() E psycopg2.OperationalError: server closed the connection unexpectedly E This probably means the server terminated abnormally E before or while processing the request. The above exception was the direct cause of the following exception: tests/conftest.py:385: in db_sync with Session(init_db_sync) as session: /usr/local/lib/python3.10/site-packages/sqlalchemy/orm/session.py:1702: in __exit__ self.close() /usr/local/lib/python3.10/site-packages/sqlalchemy/orm/session.py:2397: in close self._close_impl(invalidate=False) /usr/local/lib/python3.10/site-packages/sqlalchemy/orm/session.py:2439: in _close_impl transaction.close(invalidate) /usr/local/lib/python3.10/site-packages/sqlalchemy/orm/state_changes.py:139: in _go ret_value = fn(self, *arg, **kw) /usr/local/lib/python3.10/site-packages/sqlalchemy/orm/session.py:1342: in close transaction.close() /usr/local/lib/python3.10/site-packages/sqlalchemy/engine/base.py:2572: in close self._do_close() /usr/local/lib/python3.10/site-packages/sqlalchemy/engine/base.py:2710: in _do_close self._close_impl() /usr/local/lib/python3.10/site-packages/sqlalchemy/engine/base.py:2696: in _close_impl self._connection_rollback_impl() /usr/local/lib/python3.10/site-packages/sqlalchemy/engine/base.py:2688: in _connection_rollback_impl self.connection._rollback_impl() /usr/local/lib/python3.10/site-packages/sqlalchemy/engine/base.py:1117: in _rollback_impl self._handle_dbapi_exception(e, None, None, None, None) /usr/local/lib/python3.10/site-packages/sqlalchemy/engine/base.py:2339: in _handle_dbapi_exception raise sqlalchemy_exception.with_traceback(exc_info[2]) from e /usr/local/lib/python3.10/site-packages/sqlalchemy/engine/base.py:1115: in _rollback_impl self.engine.dialect.do_rollback(self.connection) /usr/local/lib/python3.10/site-packages/sqlalchemy/engine/default.py:691: in do_rollback dbapi_connection.rollback() E sqlalchemy.exc.OperationalError: (psycopg2.OperationalError) server closed the connection unexpectedly E This probably means the server terminated abnormally E before or while processing the request. E E (Background on this error at: https://sqlalche.me/e/20/e3q8)
run
Process completed with exit code 1.

Artifacts

Produced during runtime
Name Size
debug_log Expired
34.4 KB