Skip to content

Devnet Partner Chains Tests #92

Devnet Partner Chains Tests

Devnet Partner Chains Tests #92

Triggered via schedule January 21, 2025 04:34
Status Failure
Total duration 3m 12s
Artifacts 1

devnet.yml

on: schedule
Fit to window
Zoom out
Zoom in

Annotations

6 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_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 4.0000000000000036 in (0, 1) E + where 4.0000000000000036 = abs((25 - (23.333333333333332 - (0.3333333333333335 * 7)))) E + where 7 = int((23.333333333333332 / 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 51649. Please check decoder. E assert None
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:23: in test_register_candidate result, next_status_epoch = api.register_candidate(candidate.name) src/substrate_api.py:295: in register_candidate signatures = self.sidechain_main_cli.get_signatures( src/sidechain_main_cli.py:81: in get_signatures raise e src/sidechain_main_cli.py:66: in get_signatures registration_signatures = json.loads(result.stdout) /usr/local/lib/python3.10/json/__init__.py:346: in loads return _default_decoder.decode(s) /usr/local/lib/python3.10/json/decoder.py:337: in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) /usr/local/lib/python3.10/json/decoder.py:355: in raw_decode raise JSONDecodeError("Expecting value", s, err.value) from None E json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
Failed Test: tests/committee/test_registrations.py::test_deregister_candidate
tests/committee/test_registrations.py::test_deregister_candidate: The test failed in the call phase due to an exception - src/sidechain_main_cli.py:256: in handle_response response = json.loads(json_part) /usr/local/lib/python3.10/json/__init__.py:346: in loads return _default_decoder.decode(s) /usr/local/lib/python3.10/json/decoder.py:337: in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) /usr/local/lib/python3.10/json/decoder.py:355: in raw_decode raise JSONDecodeError("Expecting value", s, err.value) from None E json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0) During handling of the above exception, another exception occurred: tests/committee/test_registrations.py:74: in test_deregister_candidate result, next_status_epoch = api.deregister_candidate(candidate.name) src/substrate_api.py:321: in deregister_candidate txId, next_status_epoch = self.sidechain_main_cli.deregister_candidate( src/sidechain_main_cli.py:134: in deregister_candidate response = self.handle_response(result) src/sidechain_main_cli.py:260: in handle_response raise SidechainMainCliException(result.stdout) E src.sidechain_main_cli.SidechainMainCliException: (NotFoundInputUtxo "Couldn't find registration UTxO")
run
Process completed with exit code 1.

Artifacts

Produced during runtime
Name Size
debug_log Expired
22 KB