refactor: Clean up DB sessions consistently #2234
Triggered via pull request
July 15, 2024 13:15
AndreasAlbertQC
synchronize
#702
Status
Failure
Total duration
8m 50s
Artifacts
–
ci.yml
on: pull_request_target
test_release
1m 39s
Matrix: test_quetz
Annotations
24 errors and 10 warnings
test_quetz (ubuntu-latest, postgres, 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, postgres, create-tables)
Process completed with exit code 1.
|
test_quetz (ubuntu-latest, sqlite, use-migrations):
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, use-migrations)
Process completed with exit code 1.
|
test_quetz (ubuntu-latest, sqlite, create-tables):
plugins/quetz_conda_suggest/tests/test_quetz_conda_suggest.py#L49
test_post_add_package_version
sqlalchemy.exc.IntegrityError: (sqlite3.IntegrityError) UNIQUE constraint failed: quetz_conda_suggest_metadata.version_id
[SQL: INSERT INTO quetz_conda_suggest_metadata (version_id, data) VALUES (?, ?)]
[parameters: (<memory at 0x7fcf103d6c80>, '***"test-bin": "test-package"***')]
(Background on this error at: https://sqlalche.me/e/20/gkpj)
|
test_quetz (ubuntu-latest, sqlite, create-tables):
plugins/quetz_conda_suggest/tests/test_quetz_conda_suggest.py#L114
test_conda_suggest_endpoint_with_upload
TypeError: 'generator' object does not support the context manager protocol
|
test_quetz (ubuntu-latest, sqlite, create-tables)
Tests for plugin ./plugins/quetz_conda_suggest failed!
|
test_quetz (ubuntu-latest, sqlite, create-tables):
plugins/quetz_content_trust/tests/test_quetz_content_trust.py#L36
test_post_root_role_permissions[True-owner-201]
sqlalchemy.exc.ResourceClosedError: This Connection is closed
|
test_quetz (ubuntu-latest, sqlite, create-tables):
plugins/quetz_content_trust/tests/test_quetz_content_trust.py#L46
test_post_root_role
sqlalchemy.exc.ResourceClosedError: This Connection is closed
|
test_quetz (ubuntu-latest, sqlite, create-tables):
plugins/quetz_content_trust/tests/test_quetz_content_trust.py#L108
test_delegation_cascade_deletion
sqlalchemy.exc.ResourceClosedError: This Connection is closed
|
test_quetz (ubuntu-latest, sqlite, create-tables):
plugins/quetz_content_trust/tests/test_quetz_content_trust.py#L129
test_overwrite_root_role
sqlalchemy.exc.ResourceClosedError: This Connection is closed
|
test_quetz (ubuntu-latest, sqlite, create-tables):
plugins/quetz_content_trust/tests/test_quetz_content_trust.py#L155
test_get_root_role[True-member-200]
sqlalchemy.exc.ResourceClosedError: This Connection is closed
|
test_quetz (ubuntu-latest, sqlite, create-tables):
plugins/quetz_content_trust/tests/test_quetz_content_trust.py#L155
test_get_root_role[True-maintainer-200]
sqlalchemy.exc.ResourceClosedError: This Connection is closed
|
test_quetz (ubuntu-latest, sqlite, create-tables):
plugins/quetz_content_trust/tests/test_quetz_content_trust.py#L155
test_get_root_role[True-owner-200]
sqlalchemy.exc.ResourceClosedError: This Connection is closed
|
test_quetz (ubuntu-latest, postgres, use-migrations):
plugins/quetz_conda_suggest/tests/test_quetz_conda_suggest.py#L49
test_post_add_package_version
sqlalchemy.exc.IntegrityError: (sqlite3.IntegrityError) UNIQUE constraint failed: quetz_conda_suggest_metadata.version_id
[SQL: INSERT INTO quetz_conda_suggest_metadata (version_id, data) VALUES (?, ?)]
[parameters: (<memory at 0x7f6d96c26a40>, '***"test-bin": "test-package"***')]
(Background on this error at: https://sqlalche.me/e/20/gkpj)
|
test_quetz (ubuntu-latest, postgres, use-migrations):
plugins/quetz_conda_suggest/tests/test_quetz_conda_suggest.py#L114
test_conda_suggest_endpoint_with_upload
TypeError: 'generator' object does not support the context manager protocol
|
test_quetz (ubuntu-latest, postgres, use-migrations)
Tests for plugin ./plugins/quetz_conda_suggest failed!
|
test_quetz (ubuntu-latest, postgres, use-migrations):
plugins/quetz_content_trust/tests/test_quetz_content_trust.py#L36
test_post_root_role_permissions[True-owner-201]
sqlalchemy.exc.ResourceClosedError: This Connection is closed
|
test_quetz (ubuntu-latest, postgres, use-migrations):
plugins/quetz_content_trust/tests/test_quetz_content_trust.py#L46
test_post_root_role
sqlalchemy.exc.ResourceClosedError: This Connection is closed
|
test_quetz (ubuntu-latest, postgres, use-migrations):
plugins/quetz_content_trust/tests/test_quetz_content_trust.py#L108
test_delegation_cascade_deletion
sqlalchemy.exc.ResourceClosedError: This Connection is closed
|
test_quetz (ubuntu-latest, postgres, use-migrations):
plugins/quetz_content_trust/tests/test_quetz_content_trust.py#L129
test_overwrite_root_role
sqlalchemy.exc.ResourceClosedError: This Connection is closed
|
test_quetz (ubuntu-latest, postgres, use-migrations):
plugins/quetz_content_trust/tests/test_quetz_content_trust.py#L155
test_get_root_role[True-member-200]
sqlalchemy.exc.ResourceClosedError: This Connection is closed
|
test_quetz (ubuntu-latest, postgres, use-migrations):
plugins/quetz_content_trust/tests/test_quetz_content_trust.py#L155
test_get_root_role[True-maintainer-200]
sqlalchemy.exc.ResourceClosedError: This Connection is closed
|
test_quetz (ubuntu-latest, postgres, use-migrations):
plugins/quetz_content_trust/tests/test_quetz_content_trust.py#L155
test_get_root_role[True-owner-200]
sqlalchemy.exc.ResourceClosedError: This Connection is closed
|
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, 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/
|
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/
|