refactor: Clean up DB sessions consistently #2238
Annotations
10 errors and 2 warnings
quetz/tests/test_cli.py#L185
test_run_migrations
sqlalchemy.exc.InternalError: (psycopg2.errors.InFailedSqlTransaction) current transaction is aborted, commands ignored until end of transaction block
[SQL: SELECT pg_catalog.pg_class.relname
FROM pg_catalog.pg_class JOIN pg_catalog.pg_namespace ON pg_catalog.pg_namespace.oid = pg_catalog.pg_class.relnamespace
WHERE pg_catalog.pg_class.relname = %(table_name)s AND pg_catalog.pg_class.relkind = ANY (ARRAY[%(param_1)s, %(param_2)s, %(param_3)s, %(param_4)s, %(param_5)s]) AND pg_catalog.pg_table_is_visible(pg_catalog.pg_class.oid) AND pg_catalog.pg_namespace.nspname != %(nspname_1)s]
[parameters: ***'table_name': 'alembic_version', 'param_1': 'r', 'param_2': 'p', 'param_3': 'f', 'param_4': 'v', 'param_5': 'm', 'nspname_1': 'pg_catalog'***]
(Background on this error at: https://sqlalche.me/e/20/2j85)
|
quetz/tests/test_cli.py#L396
test_multi_head
alembic.util.exc.CommandError: Can't locate revision identified by '3ba25f23fb7d'
|
quetz/tests/api/test_users.py#L199
test_delete_user_permission[owner-other-200]
sqlalchemy.exc.MultipleResultsFound: Multiple rows were found when one or none was required
|
quetz/tests/api/test_users.py#L199
test_delete_user_permission[maintainer-other-200]
sqlalchemy.exc.MultipleResultsFound: Multiple rows were found when one or none was required
|
quetz/tests/api/test_users.py#L199
test_delete_user_permission[member-other-403]
sqlalchemy.exc.MultipleResultsFound: Multiple rows were found when one or none was required
|
quetz/tests/api/test_users.py#L199
test_delete_user_permission[None-other-403]
sqlalchemy.exc.MultipleResultsFound: Multiple rows were found when one or none was required
|
quetz/tests/api/test_users.py#L199
test_delete_user_permission[maintainer-bartosz-200]
sqlalchemy.exc.MultipleResultsFound: Multiple rows were found when one or none was required
|
quetz/tests/api/test_users.py#L199
test_delete_user_permission[member-bartosz-200]
sqlalchemy.exc.MultipleResultsFound: Multiple rows were found when one or none was required
|
quetz/tests/api/test_users.py#L199
test_delete_user_permission[None-bartosz-200]
sqlalchemy.exc.MultipleResultsFound: Multiple rows were found when one or none was required
|
|
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
This job failed
Loading