Devnet Partner Chains Tests #54
Annotations
4 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_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
|
22.5 KB |
|