postgresql Pulling postgresql Pulled Network docker_services_cli_default Creating Network docker_services_cli_default Created Container docker_services_cli-postgresql-1 Creating Container docker_services_cli-postgresql-1 Created Container docker_services_cli-postgresql-1 Starting Container docker_services_cli-postgresql-1 Started ============================= test session starts ============================== platform linux -- Python 3.14.2, pytest-8.4.2, pluggy-1.6.0 rootdir: /home/runner/work/rdm-14-tests/rdm-14-tests/workdir/tests/invenio-records-files/patched configfile: setup.cfg testpaths: tests, invenio_records_files plugins: flask-1.3.0, black-0.6.0, github-actions-annotate-failures-0.4.1, pycodestyle-2.5.0, cov-7.1.0, invenio-4.0.1, pydocstyle-2.4.0, isort-4.0.0 collected 98 items tests/conftest.py ... [ 3%] tests/data/__init__.py ... [ 6%] tests/data/v6/__init__.py ... [ 9%] tests/data/v7/__init__.py ... [ 12%] tests/test_alembic.py [ 15%] tests/test_api.py [ 33%] tests/test_invenio_records_files.py ....s [ 38%] tests/test_links.py [ 43%] tests/test_models.py [ 48%] tests/test_utils.py [ 53%] tests/test_views.py [ 59%] invenio_records_files/__init__.py [ 63%] invenio_records_files/alembic/1ba76da94103_create_records_files_tables.py . [ 64%] [ 66%] invenio_records_files/alembic/2da9a03b0833_create_records_files_branch.py . [ 67%] [ 69%] invenio_records_files/alembic/4a5d5b4d4c2f_create_bucket_id_index.py ... [ 72%] [ 72%] invenio_records_files/api.py ... [ 75%] invenio_records_files/config.py ... [ 78%] invenio_records_files/ext.py ... [ 81%] invenio_records_files/jsonschemas/__init__.py ... [ 84%] invenio_records_files/links.py ... [ 87%] invenio_records_files/models.py ... [ 90%] invenio_records_files/serializer.py ... [ 93%] invenio_records_files/utils.py ... [ 96%] invenio_records_files/views.py ... [100%] =============================== warnings summary =============================== warnings.warn( tests/test_alembic.py::test_alembic util.warn_deprecated( /home/runner/work/rdm-14-tests/rdm-14-tests/workdir/tests/invenio-records-files/patched/.venv/lib/python3.14/site-packages/invenio_records/api.py:302: SAWarning: nested transaction already deassociated from connection with db.session.begin_nested(): tests/test_api.py::test_files_property /home/runner/work/rdm-14-tests/rdm-14-tests/workdir/tests/invenio-records-files/patched/.venv/lib/python3.14/site-packages/invenio_files_rest/models.py:714: SAWarning: Object of type not in session, add operation along 'Bucket.objects' will not proceed (This warning originated from the Session 'autoflush' process, which was invoked automatically in response to a user-initiated operation. Consider using ``no_autoflush`` context manager if this warning happened while initializing objects.) return db.session.query(cls).filter_by(id=file_id).one_or_none() tests/test_links.py::test_bucket_link_factory_has_bucket /home/runner/work/rdm-14-tests/rdm-14-tests/workdir/tests/invenio-records-files/patched/tests/test_links.py:28: SAWarning: nested transaction already deassociated from connection with db.session.begin_nested(): tests/test_links.py::test_record_files_link_factory /home/runner/work/rdm-14-tests/rdm-14-tests/workdir/tests/invenio-records-files/patched/tests/test_links.py:44: SAWarning: nested transaction already deassociated from connection with db.session.begin_nested(): tests/test_models.py::test_cascade_action_record_delete[False-1] tests/test_models.py::test_cascade_action_record_delete[True-0] tests/test_utils.py::test_file_download_ui /home/runner/work/rdm-14-tests/rdm-14-tests/workdir/tests/invenio-records-files/patched/.venv/lib/python3.14/site-packages/invenio_records/api.py:410: SAWarning: nested transaction already deassociated from connection with db.session.begin_nested(): tests/test_models.py::test_cascade_action_record_delete[False-1] tests/test_models.py::test_cascade_action_record_delete[True-0] /home/runner/work/rdm-14-tests/rdm-14-tests/workdir/tests/invenio-records-files/patched/.venv/lib/python3.14/site-packages/invenio_records/api.py:463: SAWarning: nested transaction already deassociated from connection with db.session.begin_nested(): tests/test_views.py::test_records_files_rest_integration /home/runner/work/rdm-14-tests/rdm-14-tests/workdir/tests/invenio-records-files/patched/tests/conftest.py:177: SAWarning: nested transaction already deassociated from connection with db.session.begin_nested(): tests/test_views.py::test_records_files_rest_integration RecordBucketSchema().dump(bucket, context=context_schema.get()).data tests/test_views.py::test_record_without_bucket tests/test_views.py::test_record_no_files /home/runner/work/rdm-14-tests/rdm-14-tests/workdir/tests/invenio-records-files/patched/tests/conftest.py:188: SAWarning: nested transaction already deassociated from connection with db.session.begin_nested(): ================================ tests coverage ================================ _______________ coverage: platform linux, python 3.14.2-final-0 ________________ Name Stmts Miss Cover Missing invenio_records_files/__init__.py 4 0 100% invenio_records_files/alembic/1ba76da94103_create_records_files_tables.py 11 0 100% invenio_records_files/alembic/2da9a03b0833_create_records_files_branch.py 8 0 100% invenio_records_files/alembic/4a5d5b4d4c2f_create_bucket_id_index.py 9 0 100% invenio_records_files/api.py 158 0 100% invenio_records_files/config.py 2 0 100% invenio_records_files/ext.py 13 0 100% invenio_records_files/jsonschemas/__init__.py 0 0 100% invenio_records_files/links.py 16 0 100% invenio_records_files/models.py 20 0 100% invenio_records_files/serializer.py 36 0 100% invenio_records_files/utils.py 29 0 100% invenio_records_files/views.py 50 2 96% 114, 154 TOTAL 356 2 99% ================= 97 passed, 1 skipped, 67 warnings in 15.96s ================== Container docker_services_cli-postgresql-1 Stopping Container docker_services_cli-postgresql-1 Stopped Container docker_services_cli-postgresql-1 Removing Container docker_services_cli-postgresql-1 Removed Network docker_services_cli_default Removing Network docker_services_cli_default Removed