y-scope/clp

CLP-package: search scheduler generating weird error logs

Closed this issue · 0 comments

Bug

In the latest CLP package, the search scheduler container keeps prining out the following error log:

Traceback (most recent call last):
  File "/opt/clp/lib/python3/site-packages/sqlalchemy/pool/base.py", line 374, in _close_connection
    self._dialect.do_terminate(connection)
TypeError: DefaultDialect.do_terminate() missing 1 required positional argument: 'dbapi_connection'
Exception during reset or similar
Traceback (most recent call last):
  File "/opt/clp/lib/python3/site-packages/sqlalchemy/pool/base.py", line 986, in _finalize_fairy
    fairy._reset(
  File "/opt/clp/lib/python3/site-packages/sqlalchemy/pool/base.py", line 1432, in _reset
    pool._dialect.do_rollback(self)
TypeError: DefaultDialect.do_rollback() missing 1 required positional argument: 'dbapi_connection'
Exception terminating connection <mariadb.connection connected to '127.0.0.1' at 0x7f69a6f25fe0>
Traceback (most recent call last):
  File "/opt/clp/lib/python3/site-packages/sqlalchemy/pool/base.py", line 986, in _finalize_fairy
    fairy._reset(
  File "/opt/clp/lib/python3/site-packages/sqlalchemy/pool/base.py", line 1432, in _reset
    pool._dialect.do_rollback(self)
TypeError: DefaultDialect.do_rollback() missing 1 required positional argument: 'dbapi_connection'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/opt/clp/lib/python3/site-packages/sqlalchemy/pool/base.py", line 374, in _close_connection
    self._dialect.do_terminate(connection)
TypeError: DefaultDialect.do_terminate() missing 1 required positional argument: 'dbapi_connection'
Exception during reset or similar
Traceback (most recent call last):
  File "/opt/clp/lib/python3/site-packages/sqlalchemy/pool/base.py", line 986, in _finalize_fairy
    fairy._reset(
  File "/opt/clp/lib/python3/site-packages/sqlalchemy/pool/base.py", line 1432, in _reset
    pool._dialect.do_rollback(self)
TypeError: DefaultDialect.do_rollback() missing 1 required positional argument: 'dbapi_connection'
Exception terminating connection <mariadb.connection connected to '127.0.0.1' at 0x7f69a6f25fe0>
Traceback (most recent call last):
  File "/opt/clp/lib/python3/site-packages/sqlalchemy/pool/base.py", line 986, in _finalize_fairy
    fairy._reset(
  File "/opt/clp/lib/python3/site-packages/sqlalchemy/pool/base.py", line 1432, in _reset
    pool._dialect.do_rollback(self)
TypeError: DefaultDialect.do_rollback() missing 1 required positional argument: 'dbapi_connection'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/opt/clp/lib/python3/site-packages/sqlalchemy/pool/base.py", line 374, in _close_connection
    self._dialect.do_terminate(connection)
TypeError: DefaultDialect.do_terminate() missing 1 required positional argument: 'dbapi_connection'

It is not causing any functional issue in the scheduler yet, but it could be worthwhile to take a look.

CLP version

ab5809e

Environment

Ubuntu 22.04

Reproduction steps

Build and run CLP package, compress any file and run a search query.

After that, run docker logs clp-search_scheduler-{suffix}