Devnet Partner Chains Tests #81
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 - /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
|
21.4 KB |
|