refactor: Clean up DB sessions consistently #2238
Triggered via pull request
July 16, 2024 07:54
AndreasAlbertQC
synchronize
#702
Status
Failure
Total duration
7m 10s
Artifacts
–
ci.yml
on: pull_request_target
test_release
1m 41s
Matrix: test_quetz
Annotations
16 errors and 10 warnings
test_quetz (ubuntu-latest, sqlite, create-tables):
quetz/tests/test_mirror.py#L629
test_download_remote_file_in_parallel
assert 404 == 200
+ where 404 = <Response [404 Not Found]>.status_code
|
test_quetz (ubuntu-latest, sqlite, create-tables)
Process completed with exit code 1.
|
test_quetz (ubuntu-latest, postgres, use-migrations):
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)
|
test_quetz (ubuntu-latest, postgres, use-migrations):
quetz/tests/test_cli.py#L396
test_multi_head
alembic.util.exc.CommandError: Can't locate revision identified by '3ba25f23fb7d'
|
test_quetz (ubuntu-latest, postgres, use-migrations)
Process completed with exit code 1.
|
test_quetz (ubuntu-latest, postgres, create-tables):
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)
|
test_quetz (ubuntu-latest, postgres, create-tables):
quetz/tests/test_cli.py#L396
test_multi_head
alembic.util.exc.CommandError: Can't locate revision identified by '3ba25f23fb7d'
|
test_quetz (ubuntu-latest, postgres, create-tables):
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
|
test_quetz (ubuntu-latest, postgres, create-tables):
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
|
test_quetz (ubuntu-latest, postgres, create-tables):
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
|
test_quetz (ubuntu-latest, postgres, create-tables):
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
|
test_quetz (ubuntu-latest, postgres, create-tables):
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
|
test_quetz (ubuntu-latest, postgres, create-tables):
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
|
test_quetz (ubuntu-latest, postgres, create-tables):
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
|
test_quetz (ubuntu-latest, postgres, create-tables)
Process completed with exit code 1.
|
test_quetz (ubuntu-latest, sqlite, use-migrations)
The action 'Testing server' has timed out after 5 minutes.
|
test_release
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-python@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
test_release
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v2, actions/setup-python@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
test_quetz (ubuntu-latest, sqlite, create-tables)
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/
|
test_quetz (ubuntu-latest, sqlite, create-tables)
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/
|
test_quetz (ubuntu-latest, postgres, use-migrations)
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/
|
test_quetz (ubuntu-latest, postgres, use-migrations)
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/
|
test_quetz (ubuntu-latest, postgres, create-tables)
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/
|
test_quetz (ubuntu-latest, postgres, create-tables)
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/
|
test_quetz (ubuntu-latest, sqlite, use-migrations)
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/
|
test_quetz (ubuntu-latest, sqlite, use-migrations)
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/
|