88 lines
6.5 KiB
XML
88 lines
6.5 KiB
XML
<?xml version="1.0" encoding="utf-8"?><testsuites><testsuite name="pytest" errors="1" failures="0" skipped="0" tests="1" time="0.827" timestamp="2023-10-23T14:43:56.711153" hostname="satella"><testcase classname="" name="dummy_test" time="0.000"><error message="collection failure">/home/slococo/.conda/envs/flights/lib/python3.11/site-packages/sqlalchemy/engine/base.py:145: in __init__
|
|
self._dbapi_connection = engine.raw_connection()
|
|
/home/slococo/.conda/envs/flights/lib/python3.11/site-packages/sqlalchemy/engine/base.py:3292: in raw_connection
|
|
return self.pool.connect()
|
|
/home/slococo/.conda/envs/flights/lib/python3.11/site-packages/sqlalchemy/pool/base.py:452: in connect
|
|
return _ConnectionFairy._checkout(self)
|
|
/home/slococo/.conda/envs/flights/lib/python3.11/site-packages/sqlalchemy/pool/base.py:1269: in _checkout
|
|
fairy = _ConnectionRecord.checkout(pool)
|
|
/home/slococo/.conda/envs/flights/lib/python3.11/site-packages/sqlalchemy/pool/base.py:716: in checkout
|
|
rec = pool._do_get()
|
|
/home/slococo/.conda/envs/flights/lib/python3.11/site-packages/sqlalchemy/pool/impl.py:169: in _do_get
|
|
with util.safe_reraise():
|
|
/home/slococo/.conda/envs/flights/lib/python3.11/site-packages/sqlalchemy/util/langhelpers.py:146: in __exit__
|
|
raise exc_value.with_traceback(exc_tb)
|
|
/home/slococo/.conda/envs/flights/lib/python3.11/site-packages/sqlalchemy/pool/impl.py:167: in _do_get
|
|
return self._create_connection()
|
|
/home/slococo/.conda/envs/flights/lib/python3.11/site-packages/sqlalchemy/pool/base.py:393: in _create_connection
|
|
return _ConnectionRecord(self)
|
|
/home/slococo/.conda/envs/flights/lib/python3.11/site-packages/sqlalchemy/pool/base.py:678: in __init__
|
|
self.__connect()
|
|
/home/slococo/.conda/envs/flights/lib/python3.11/site-packages/sqlalchemy/pool/base.py:902: in __connect
|
|
with util.safe_reraise():
|
|
/home/slococo/.conda/envs/flights/lib/python3.11/site-packages/sqlalchemy/util/langhelpers.py:146: in __exit__
|
|
raise exc_value.with_traceback(exc_tb)
|
|
/home/slococo/.conda/envs/flights/lib/python3.11/site-packages/sqlalchemy/pool/base.py:898: in __connect
|
|
self.dbapi_connection = connection = pool._invoke_creator(self)
|
|
/home/slococo/.conda/envs/flights/lib/python3.11/site-packages/sqlalchemy/engine/create.py:637: in connect
|
|
return dialect.connect(*cargs, **cparams)
|
|
/home/slococo/.conda/envs/flights/lib/python3.11/site-packages/sqlalchemy/engine/default.py:616: in connect
|
|
return self.loaded_dbapi.connect(*cargs, **cparams)
|
|
/home/slococo/.conda/envs/flights/lib/python3.11/site-packages/psycopg2/__init__.py:122: in connect
|
|
conn = _connect(dsn, connection_factory=connection_factory, **kwasync)
|
|
E psycopg2.OperationalError: could not translate host name "usermanager-db" to address: Name or service not known
|
|
|
|
The above exception was the direct cause of the following exception:
|
|
src/tests/dummy_test.py:3: in <module>
|
|
from src.api.main import app
|
|
src/api/main.py:6: in <module>
|
|
Base.metadata.create_all(bind=engine)
|
|
/home/slococo/.conda/envs/flights/lib/python3.11/site-packages/sqlalchemy/sql/schema.py:5828: in create_all
|
|
bind._run_ddl_visitor(
|
|
/home/slococo/.conda/envs/flights/lib/python3.11/site-packages/sqlalchemy/engine/base.py:3242: in _run_ddl_visitor
|
|
with self.begin() as conn:
|
|
/home/slococo/.conda/envs/flights/lib/python3.11/contextlib.py:137: in __enter__
|
|
return next(self.gen)
|
|
/home/slococo/.conda/envs/flights/lib/python3.11/site-packages/sqlalchemy/engine/base.py:3232: in begin
|
|
with self.connect() as conn:
|
|
/home/slococo/.conda/envs/flights/lib/python3.11/site-packages/sqlalchemy/engine/base.py:3268: in connect
|
|
return self._connection_cls(self)
|
|
/home/slococo/.conda/envs/flights/lib/python3.11/site-packages/sqlalchemy/engine/base.py:147: in __init__
|
|
Connection._handle_dbapi_exception_noconnection(
|
|
/home/slococo/.conda/envs/flights/lib/python3.11/site-packages/sqlalchemy/engine/base.py:2430: in _handle_dbapi_exception_noconnection
|
|
raise sqlalchemy_exception.with_traceback(exc_info[2]) from e
|
|
/home/slococo/.conda/envs/flights/lib/python3.11/site-packages/sqlalchemy/engine/base.py:145: in __init__
|
|
self._dbapi_connection = engine.raw_connection()
|
|
/home/slococo/.conda/envs/flights/lib/python3.11/site-packages/sqlalchemy/engine/base.py:3292: in raw_connection
|
|
return self.pool.connect()
|
|
/home/slococo/.conda/envs/flights/lib/python3.11/site-packages/sqlalchemy/pool/base.py:452: in connect
|
|
return _ConnectionFairy._checkout(self)
|
|
/home/slococo/.conda/envs/flights/lib/python3.11/site-packages/sqlalchemy/pool/base.py:1269: in _checkout
|
|
fairy = _ConnectionRecord.checkout(pool)
|
|
/home/slococo/.conda/envs/flights/lib/python3.11/site-packages/sqlalchemy/pool/base.py:716: in checkout
|
|
rec = pool._do_get()
|
|
/home/slococo/.conda/envs/flights/lib/python3.11/site-packages/sqlalchemy/pool/impl.py:169: in _do_get
|
|
with util.safe_reraise():
|
|
/home/slococo/.conda/envs/flights/lib/python3.11/site-packages/sqlalchemy/util/langhelpers.py:146: in __exit__
|
|
raise exc_value.with_traceback(exc_tb)
|
|
/home/slococo/.conda/envs/flights/lib/python3.11/site-packages/sqlalchemy/pool/impl.py:167: in _do_get
|
|
return self._create_connection()
|
|
/home/slococo/.conda/envs/flights/lib/python3.11/site-packages/sqlalchemy/pool/base.py:393: in _create_connection
|
|
return _ConnectionRecord(self)
|
|
/home/slococo/.conda/envs/flights/lib/python3.11/site-packages/sqlalchemy/pool/base.py:678: in __init__
|
|
self.__connect()
|
|
/home/slococo/.conda/envs/flights/lib/python3.11/site-packages/sqlalchemy/pool/base.py:902: in __connect
|
|
with util.safe_reraise():
|
|
/home/slococo/.conda/envs/flights/lib/python3.11/site-packages/sqlalchemy/util/langhelpers.py:146: in __exit__
|
|
raise exc_value.with_traceback(exc_tb)
|
|
/home/slococo/.conda/envs/flights/lib/python3.11/site-packages/sqlalchemy/pool/base.py:898: in __connect
|
|
self.dbapi_connection = connection = pool._invoke_creator(self)
|
|
/home/slococo/.conda/envs/flights/lib/python3.11/site-packages/sqlalchemy/engine/create.py:637: in connect
|
|
return dialect.connect(*cargs, **cparams)
|
|
/home/slococo/.conda/envs/flights/lib/python3.11/site-packages/sqlalchemy/engine/default.py:616: in connect
|
|
return self.loaded_dbapi.connect(*cargs, **cparams)
|
|
/home/slococo/.conda/envs/flights/lib/python3.11/site-packages/psycopg2/__init__.py:122: in connect
|
|
conn = _connect(dsn, connection_factory=connection_factory, **kwasync)
|
|
E sqlalchemy.exc.OperationalError: (psycopg2.OperationalError) could not translate host name "usermanager-db" to address: Name or service not known
|
|
E
|
|
E (Background on this error at: https://sqlalche.me/e/20/e3q8)</error></testcase></testsuite></testsuites> |