postgresql Pulling b0a0cf830b12 Pulling fs layer dda3d8fbd5ed Pulling fs layer 283a477db7bb Pulling fs layer 91d2729fa4d5 Pulling fs layer 9739ced65621 Pulling fs layer ae3bb1b347a4 Pulling fs layer f8406d9c00ea Pulling fs layer c199bff16b05 Pulling fs layer e0d55fdb4d15 Pulling fs layer c1cb13b19080 Pulling fs layer 873532e5f8c7 Pulling fs layer 050d9f8c3b1c Pulling fs layer 710e142705f8 Pulling fs layer cb628c265f09 Pulling fs layer e0d55fdb4d15 Waiting 050d9f8c3b1c Waiting c1cb13b19080 Waiting 873532e5f8c7 Waiting 710e142705f8 Waiting cb628c265f09 Waiting 91d2729fa4d5 Waiting ae3bb1b347a4 Waiting f8406d9c00ea Waiting c199bff16b05 Waiting 9739ced65621 Waiting dda3d8fbd5ed Downloading [=================> ] 407B/1.165kB dda3d8fbd5ed Downloading [==================================================>] 1.165kB/1.165kB dda3d8fbd5ed Verifying Checksum 283a477db7bb Downloading [> ] 45.44kB/4.533MB b0a0cf830b12 Downloading [> ] 297.9kB/29.15MB 283a477db7bb Verifying Checksum 283a477db7bb Download complete b0a0cf830b12 Downloading [=========================> ] 15.14MB/29.15MB 91d2729fa4d5 Downloading [> ] 15.42kB/1.45MB b0a0cf830b12 Verifying Checksum b0a0cf830b12 Download complete 91d2729fa4d5 Verifying Checksum 91d2729fa4d5 Download complete b0a0cf830b12 Extracting [> ] 294.9kB/29.15MB 9739ced65621 Downloading [> ] 83.52kB/8.069MB b0a0cf830b12 Extracting [==========> ] 6.193MB/29.15MB 9739ced65621 Verifying Checksum 9739ced65621 Download complete f8406d9c00ea Downloading [==================================================>] 116B/116B f8406d9c00ea Verifying Checksum f8406d9c00ea Download complete ae3bb1b347a4 Downloading [> ] 12.68kB/1.196MB b0a0cf830b12 Extracting [=================> ] 10.03MB/29.15MB ae3bb1b347a4 Verifying Checksum ae3bb1b347a4 Download complete b0a0cf830b12 Extracting [========================> ] 14.45MB/29.15MB c199bff16b05 Downloading [======> ] 407B/3.145kB c199bff16b05 Downloading [==================================================>] 3.145kB/3.145kB c199bff16b05 Verifying Checksum c199bff16b05 Download complete b0a0cf830b12 Extracting [=======================================> ] 23MB/29.15MB e0d55fdb4d15 Downloading [> ] 527.3kB/109MB c1cb13b19080 Downloading [=> ] 375B/9.925kB c1cb13b19080 Verifying Checksum c1cb13b19080 Download complete 873532e5f8c7 Download complete e0d55fdb4d15 Downloading [=======> ] 17.22MB/109MB b0a0cf830b12 Extracting [==========================================> ] 24.77MB/29.15MB e0d55fdb4d15 Downloading [================> ] 36.57MB/109MB 050d9f8c3b1c Downloading [==================================================>] 169B/169B 050d9f8c3b1c Verifying Checksum 050d9f8c3b1c Download complete 710e142705f8 Downloading [===> ] 407B/5.421kB 710e142705f8 Downloading [==================================================>] 5.421kB/5.421kB 710e142705f8 Verifying Checksum 710e142705f8 Download complete b0a0cf830b12 Extracting [===============================================> ] 27.72MB/29.15MB e0d55fdb4d15 Downloading [=========================> ] 55.32MB/109MB e0d55fdb4d15 Downloading [====================================> ] 78.91MB/109MB cb628c265f09 Downloading [==================================================>] 184B/184B cb628c265f09 Verifying Checksum cb628c265f09 Download complete e0d55fdb4d15 Downloading [==============================================> ] 100.3MB/109MB e0d55fdb4d15 Verifying Checksum e0d55fdb4d15 Download complete b0a0cf830b12 Extracting [================================================> ] 28.31MB/29.15MB b0a0cf830b12 Extracting [==================================================>] 29.15MB/29.15MB b0a0cf830b12 Pull complete dda3d8fbd5ed Extracting [==================================================>] 1.165kB/1.165kB dda3d8fbd5ed Extracting [==================================================>] 1.165kB/1.165kB dda3d8fbd5ed Pull complete 283a477db7bb Extracting [> ] 65.54kB/4.533MB 283a477db7bb Extracting [==================================================>] 4.533MB/4.533MB 283a477db7bb Pull complete 91d2729fa4d5 Extracting [=> ] 32.77kB/1.45MB 91d2729fa4d5 Extracting [==================================================>] 1.45MB/1.45MB 91d2729fa4d5 Pull complete 9739ced65621 Extracting [> ] 98.3kB/8.069MB 9739ced65621 Extracting [========================> ] 3.932MB/8.069MB 9739ced65621 Extracting [=====================================> ] 5.997MB/8.069MB 9739ced65621 Extracting [==================================================>] 8.069MB/8.069MB 9739ced65621 Pull complete ae3bb1b347a4 Extracting [=> ] 32.77kB/1.196MB ae3bb1b347a4 Extracting [==================================================>] 1.196MB/1.196MB ae3bb1b347a4 Extracting [==================================================>] 1.196MB/1.196MB ae3bb1b347a4 Pull complete f8406d9c00ea Extracting [==================================================>] 116B/116B f8406d9c00ea Extracting [==================================================>] 116B/116B f8406d9c00ea Pull complete c199bff16b05 Extracting [==================================================>] 3.145kB/3.145kB c199bff16b05 Extracting [==================================================>] 3.145kB/3.145kB c199bff16b05 Pull complete e0d55fdb4d15 Extracting [> ] 557.1kB/109MB e0d55fdb4d15 Extracting [===> ] 7.242MB/109MB e0d55fdb4d15 Extracting [====> ] 10.58MB/109MB e0d55fdb4d15 Extracting [=======> ] 15.6MB/109MB e0d55fdb4d15 Extracting [=========> ] 20.05MB/109MB e0d55fdb4d15 Extracting [===========> ] 25.62MB/109MB e0d55fdb4d15 Extracting [===============> ] 33.42MB/109MB e0d55fdb4d15 Extracting [===================> ] 42.34MB/109MB e0d55fdb4d15 Extracting [=======================> ] 51.25MB/109MB e0d55fdb4d15 Extracting [=========================> ] 55.15MB/109MB e0d55fdb4d15 Extracting [============================> ] 62.39MB/109MB e0d55fdb4d15 Extracting [=================================> ] 72.97MB/109MB e0d55fdb4d15 Extracting [=====================================> ] 81.89MB/109MB e0d55fdb4d15 Extracting [=========================================> ] 90.8MB/109MB e0d55fdb4d15 Extracting [==========================================> ] 93.59MB/109MB e0d55fdb4d15 Extracting [============================================> ] 96.93MB/109MB e0d55fdb4d15 Extracting [==============================================> ] 100.3MB/109MB e0d55fdb4d15 Extracting [===============================================> ] 103.6MB/109MB e0d55fdb4d15 Extracting [================================================> ] 105.3MB/109MB e0d55fdb4d15 Extracting [=================================================> ] 107.5MB/109MB e0d55fdb4d15 Extracting [==================================================>] 109MB/109MB e0d55fdb4d15 Pull complete c1cb13b19080 Extracting [==================================================>] 9.925kB/9.925kB c1cb13b19080 Extracting [==================================================>] 9.925kB/9.925kB c1cb13b19080 Pull complete 873532e5f8c7 Extracting [==================================================>] 128B/128B 873532e5f8c7 Extracting [==================================================>] 128B/128B 873532e5f8c7 Pull complete 050d9f8c3b1c Extracting [==================================================>] 169B/169B 050d9f8c3b1c Extracting [==================================================>] 169B/169B 050d9f8c3b1c Pull complete 710e142705f8 Extracting [==================================================>] 5.421kB/5.421kB 710e142705f8 Extracting [==================================================>] 5.421kB/5.421kB 710e142705f8 Pull complete cb628c265f09 Extracting [==================================================>] 184B/184B cb628c265f09 Extracting [==================================================>] 184B/184B cb628c265f09 Pull complete 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 ::warning file=workdir/tests/invenio-records-files/patched/.venv/lib/python3.14/site-packages/webargs/compat.py,line=8::The '__version__' attribute is deprecated and will be removed in in a future version. Use feature detection or 'importlib.metadata.version("marshmallow")' instead. ::warning file=workdir/tests/invenio-records-files/patched/.venv/lib/python3.14/site-packages/webargs/compat.py,line=8::distutils Version classes are deprecated. Use packaging.version instead. ::warning file=workdir/tests/invenio-records-files/patched/.venv/lib/python3.14/site-packages/webargs/__init__.py,line=13::distutils Version classes are deprecated. Use packaging.version instead. ============================= test session starts ============================== platform linux -- Python 3.14.2, pytest-8.4.2, pluggy-1.6.0 rootdir: /home/runner/work/invenio-testrig-client/invenio-testrig-client/workdir/tests/invenio-records-files/patched configfile: setup.cfg testpaths: tests, invenio_records_files plugins: invenio-4.0.0, github-actions-annotate-failures-0.4.0, isort-4.0.0, flask-1.3.0, pydocstyle-2.4.0, cov-7.0.0, black-0.6.0, pycodestyle-2.5.0 collected 95 items tests/conftest.py ... [ 3%] tests/data/__init__.py ... [ 6%] tests/data/v6/__init__.py ... [ 9%] tests/data/v7/__init__.py ... [ 12%] tests/test_api.py ...::warning file=workdir/tests/invenio-records-files/patched/.venv/lib/python3.14/site-packages/invenio_search/ext.py,line=128::OpenSearch v2 mappings files not found, falling back to Elasticsearch v7 mappings for module data. Please add the missing OpenSearch os-v2 mappings. .::warning file=workdir/tests/invenio-records-files/patched/.venv/lib/python3.14/site-packages/invenio_search/ext.py,line=128::OpenSearch v2 mappings files not found, falling back to Elasticsearch v7 mappings for module data. Please add the missing OpenSearch os-v2 mappings. ::warning file=workdir/tests/invenio-records-files/patched/.venv/lib/python3.14/site-packages/invenio_records/api.py,line=334::nested transaction already deassociated from connection .::warning file=workdir/tests/invenio-records-files/patched/.venv/lib/python3.14/site-packages/invenio_search/ext.py,line=128::OpenSearch v2 mappings files not found, falling back to Elasticsearch v7 mappings for module data. Please add the missing OpenSearch os-v2 mappings. ::warning file=workdir/tests/invenio-records-files/patched/.venv/lib/python3.14/site-packages/invenio_records/api.py,line=334::nested transaction already deassociated from connection .::warning file=workdir/tests/invenio-records-files/patched/.venv/lib/python3.14/site-packages/invenio_search/ext.py,line=128::OpenSearch v2 mappings files not found, falling back to Elasticsearch v7 mappings for module data. Please add the missing OpenSearch os-v2 mappings. ::warning file=workdir/tests/invenio-records-files/patched/.venv/lib/python3.14/site-packages/invenio_records/api.py,line=334::nested transaction already deassociated from connection .::warning file=workdir/tests/invenio-records-files/patched/.venv/lib/python3.14/site-packages/invenio_search/ext.py,line=128::OpenSearch v2 mappings files not found, falling back to Elasticsearch v7 mappings for module data. Please add the missing OpenSearch os-v2 mappings. ::warning file=workdir/tests/invenio-records-files/patched/.venv/lib/python3.14/site-packages/invenio_records/api.py,line=334::nested transaction already deassociated from connection .::warning file=workdir/tests/invenio-records-files/patched/.venv/lib/python3.14/site-packages/invenio_search/ext.py,line=128::OpenSearch v2 mappings files not found, falling back to Elasticsearch v7 mappings for module data. Please add the missing OpenSearch os-v2 mappings. ::warning file=workdir/tests/invenio-records-files/patched/.venv/lib/python3.14/site-packages/invenio_records/api.py,line=334::nested transaction already deassociated from connection .::warning file=workdir/tests/invenio-records-files/patched/.venv/lib/python3.14/site-packages/invenio_search/ext.py,line=128::OpenSearch v2 mappings files not found, falling back to Elasticsearch v7 mappings for module data. Please add the missing OpenSearch os-v2 mappings. ::warning file=workdir/tests/invenio-records-files/patched/.venv/lib/python3.14/site-packages/invenio_records/api.py,line=334::nested transaction already deassociated from connection .::warning file=workdir/tests/invenio-records-files/patched/.venv/lib/python3.14/site-packages/invenio_search/ext.py,line=128::OpenSearch v2 mappings files not found, falling back to Elasticsearch v7 mappings for module data. Please add the missing OpenSearch os-v2 mappings. ::warning file=workdir/tests/invenio-records-files/patched/.venv/lib/python3.14/site-packages/invenio_records/api.py,line=334::nested transaction already deassociated from connection .::warning file=workdir/tests/invenio-records-files/patched/.venv/lib/python3.14/site-packages/invenio_search/ext.py,line=128::OpenSearch v2 mappings files not found, falling back to Elasticsearch v7 mappings for module data. Please add the missing OpenSearch os-v2 mappings. ::warning file=workdir/tests/invenio-records-files/patched/.venv/lib/python3.14/site-packages/invenio_records/api.py,line=334::nested transaction already deassociated from connection ::warning file=workdir/tests/invenio-records-files/patched/.venv/lib/python3.14/site-packages/invenio_files_rest/models.py,line=719::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.) .::warning file=workdir/tests/invenio-records-files/patched/.venv/lib/python3.14/site-packages/invenio_search/ext.py,line=128::OpenSearch v2 mappings files not found, falling back to Elasticsearch v7 mappings for module data. Please add the missing OpenSearch os-v2 mappings. ::warning file=workdir/tests/invenio-records-files/patched/.venv/lib/python3.14/site-packages/invenio_records/api.py,line=334::nested transaction already deassociated from connection .::warning file=workdir/tests/invenio-records-files/patched/.venv/lib/python3.14/site-packages/invenio_search/ext.py,line=128::OpenSearch v2 mappings files not found, falling back to Elasticsearch v7 mappings for module data. Please add the missing OpenSearch os-v2 mappings. ::warning file=workdir/tests/invenio-records-files/patched/.venv/lib/python3.14/site-packages/invenio_records/api.py,line=334::nested transaction already deassociated from connection .::warning file=workdir/tests/invenio-records-files/patched/.venv/lib/python3.14/site-packages/invenio_search/ext.py,line=128::OpenSearch v2 mappings files not found, falling back to Elasticsearch v7 mappings for module data. Please add the missing OpenSearch os-v2 mappings. ::warning file=workdir/tests/invenio-records-files/patched/.venv/lib/python3.14/site-packages/invenio_records/api.py,line=334::nested transaction already deassociated from connection .::warning file=workdir/tests/invenio-records-files/patched/.venv/lib/python3.14/site-packages/invenio_search/ext.py,line=128::OpenSearch v2 mappings files not found, falling back to Elasticsearch v7 mappings for module data. Please add the missing OpenSearch os-v2 mappings. ::warning file=workdir/tests/invenio-records-files/patched/.venv/lib/python3.14/site-packages/invenio_records/api.py,line=334::nested transaction already deassociated from connection .::warning file=workdir/tests/invenio-records-files/patched/.venv/lib/python3.14/site-packages/invenio_search/ext.py,line=128::OpenSearch v2 mappings files not found, falling back to Elasticsearch v7 mappings for module data. Please add the missing OpenSearch os-v2 mappings. ::warning file=workdir/tests/invenio-records-files/patched/.venv/lib/python3.14/site-packages/invenio_records/api.py,line=334::nested transaction already deassociated from connection .::warning file=workdir/tests/invenio-records-files/patched/.venv/lib/python3.14/site-packages/invenio_search/ext.py,line=128::OpenSearch v2 mappings files not found, falling back to Elasticsearch v7 mappings for module data. Please add the missing OpenSearch os-v2 mappings. ::warning file=workdir/tests/invenio-records-files/patched/.venv/lib/python3.14/site-packages/invenio_records/api.py,line=334::nested transaction already deassociated from connection .::warning file=workdir/tests/invenio-records-files/patched/.venv/lib/python3.14/site-packages/invenio_search/ext.py,line=128::OpenSearch v2 mappings files not found, falling back to Elasticsearch v7 mappings for module data. Please add the missing OpenSearch os-v2 mappings. ::warning file=workdir/tests/invenio-records-files/patched/.venv/lib/python3.14/site-packages/invenio_records/api.py,line=334::nested transaction already deassociated from connection [ 31%] tests/test_invenio_records_files.py ....s [ 36%] tests/test_links.py ...::warning file=workdir/tests/invenio-records-files/patched/.venv/lib/python3.14/site-packages/invenio_search/ext.py,line=128::OpenSearch v2 mappings files not found, falling back to Elasticsearch v7 mappings for module data. Please add the missing OpenSearch os-v2 mappings. ::warning file=workdir/tests/invenio-records-files/patched/.venv/lib/python3.14/site-packages/invenio_records/api.py,line=334::nested transaction already deassociated from connection .::warning file=workdir/tests/invenio-records-files/patched/.venv/lib/python3.14/site-packages/invenio_search/ext.py,line=128::OpenSearch v2 mappings files not found, falling back to Elasticsearch v7 mappings for module data. Please add the missing OpenSearch os-v2 mappings. ::warning file=workdir/tests/invenio-records-files/patched/tests/test_links.py,line=33::nested transaction already deassociated from connection .::warning file=workdir/tests/invenio-records-files/patched/.venv/lib/python3.14/site-packages/invenio_search/ext.py,line=128::OpenSearch v2 mappings files not found, falling back to Elasticsearch v7 mappings for module data. Please add the missing OpenSearch os-v2 mappings. ::warning file=workdir/tests/invenio-records-files/patched/tests/test_links.py,line=49::nested transaction already deassociated from connection [ 42%] tests/test_models.py ...::warning file=workdir/tests/invenio-records-files/patched/.venv/lib/python3.14/site-packages/invenio_search/ext.py,line=128::OpenSearch v2 mappings files not found, falling back to Elasticsearch v7 mappings for module data. Please add the missing OpenSearch os-v2 mappings. ::warning file=workdir/tests/invenio-records-files/patched/.venv/lib/python3.14/site-packages/invenio_records/api.py,line=334::nested transaction already deassociated from connection ::warning file=workdir/tests/invenio-records-files/patched/.venv/lib/python3.14/site-packages/invenio_records/api.py,line=442::nested transaction already deassociated from connection ::warning file=workdir/tests/invenio-records-files/patched/.venv/lib/python3.14/site-packages/invenio_records/api.py,line=495::nested transaction already deassociated from connection .::warning file=workdir/tests/invenio-records-files/patched/.venv/lib/python3.14/site-packages/invenio_search/ext.py,line=128::OpenSearch v2 mappings files not found, falling back to Elasticsearch v7 mappings for module data. Please add the missing OpenSearch os-v2 mappings. ::warning file=workdir/tests/invenio-records-files/patched/.venv/lib/python3.14/site-packages/invenio_records/api.py,line=334::nested transaction already deassociated from connection ::warning file=workdir/tests/invenio-records-files/patched/.venv/lib/python3.14/site-packages/invenio_records/api.py,line=442::nested transaction already deassociated from connection ::warning file=workdir/tests/invenio-records-files/patched/.venv/lib/python3.14/site-packages/invenio_records/api.py,line=495::nested transaction already deassociated from connection .::warning file=workdir/tests/invenio-records-files/patched/.venv/lib/python3.14/site-packages/invenio_search/ext.py,line=128::OpenSearch v2 mappings files not found, falling back to Elasticsearch v7 mappings for module data. Please add the missing OpenSearch os-v2 mappings. ::warning file=workdir/tests/invenio-records-files/patched/.venv/lib/python3.14/site-packages/invenio_records/api.py,line=334::nested transaction already deassociated from connection [ 47%] tests/test_utils.py ...::warning file=workdir/tests/invenio-records-files/patched/.venv/lib/python3.14/site-packages/invenio_search/ext.py,line=128::OpenSearch v2 mappings files not found, falling back to Elasticsearch v7 mappings for module data. Please add the missing OpenSearch os-v2 mappings. ::warning file=workdir/tests/invenio-records-files/patched/.venv/lib/python3.14/site-packages/invenio_records/api.py,line=334::nested transaction already deassociated from connection ::warning file=workdir/tests/invenio-records-files/patched/.venv/lib/python3.14/site-packages/invenio_records/api.py,line=442::nested transaction already deassociated from connection .::warning file=workdir/tests/invenio-records-files/patched/.venv/lib/python3.14/site-packages/invenio_search/ext.py,line=128::OpenSearch v2 mappings files not found, falling back to Elasticsearch v7 mappings for module data. Please add the missing OpenSearch os-v2 mappings. ::warning file=workdir/tests/invenio-records-files/patched/.venv/lib/python3.14/site-packages/invenio_records/api.py,line=334::nested transaction already deassociated from connection [ 51%] tests/test_views.py ...::warning file=workdir/tests/invenio-records-files/patched/.venv/lib/python3.14/site-packages/invenio_search/ext.py,line=128::OpenSearch v2 mappings files not found, falling back to Elasticsearch v7 mappings for module data. Please add the missing OpenSearch os-v2 mappings. ::warning file=workdir/tests/invenio-records-files/patched/.venv/lib/python3.14/site-packages/invenio_records/api.py,line=334::nested transaction already deassociated from connection ::warning file=workdir/tests/invenio-records-files/patched/tests/conftest.py,line=182::nested transaction already deassociated from connection ::warning file=workdir/tests/invenio-records-files/patched/invenio_records_files/serializer.py,line=64::Schema().dump().data and Schema().dump().errors as well as Schema().load().data and Schema().loads().dataattributes are deprecated in marshmallow v3.x. .::warning file=workdir/tests/invenio-records-files/patched/.venv/lib/python3.14/site-packages/invenio_search/ext.py,line=128::OpenSearch v2 mappings files not found, falling back to Elasticsearch v7 mappings for module data. Please add the missing OpenSearch os-v2 mappings. ::warning file=workdir/tests/invenio-records-files/patched/.venv/lib/python3.14/site-packages/invenio_records/api.py,line=334::nested transaction already deassociated from connection ::warning file=workdir/tests/invenio-records-files/patched/tests/conftest.py,line=193::nested transaction already deassociated from connection .::warning file=workdir/tests/invenio-records-files/patched/.venv/lib/python3.14/site-packages/invenio_search/ext.py,line=128::OpenSearch v2 mappings files not found, falling back to Elasticsearch v7 mappings for module data. Please add the missing OpenSearch os-v2 mappings. ::warning file=workdir/tests/invenio-records-files/patched/.venv/lib/python3.14/site-packages/invenio_records/api.py,line=334::nested transaction already deassociated from connection ::warning file=workdir/tests/invenio-records-files/patched/tests/conftest.py,line=193::nested transaction already deassociated from connection .::warning file=workdir/tests/invenio-records-files/patched/.venv/lib/python3.14/site-packages/invenio_search/ext.py,line=128::OpenSearch v2 mappings files not found, falling back to Elasticsearch v7 mappings for module data. Please add the missing OpenSearch os-v2 mappings. [ 57%] invenio_records_files/__init__.py ....::warning file=workdir/tests/invenio-records-files/patched/.venv/lib/python3.14/site-packages/invenio_records/api.py,line=334::nested transaction already deassociated from connection [ 62%] invenio_records_files/alembic/1ba76da94103_create_records_files_tables.py . [ 63%] .. [ 65%] invenio_records_files/alembic/2da9a03b0833_create_records_files_branch.py . [ 66%] .. [ 68%] invenio_records_files/alembic/4a5d5b4d4c2f_create_bucket_id_index.py ... [ 71%] [ 71%] invenio_records_files/api.py ... [ 74%] invenio_records_files/config.py ... [ 77%] 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 =============================== .venv/lib/python3.14/site-packages/webargs/compat.py:8 /home/runner/work/invenio-testrig-client/invenio-testrig-client/workdir/tests/invenio-records-files/patched/.venv/lib/python3.14/site-packages/webargs/compat.py:8: DeprecationWarning: The '__version__' attribute is deprecated and will be removed in in a future version. Use feature detection or 'importlib.metadata.version("marshmallow")' instead. MARSHMALLOW_VERSION_INFO = tuple(LooseVersion(ma.__version__).version) # type: tuple .venv/lib/python3.14/site-packages/webargs/compat.py:8 /home/runner/work/invenio-testrig-client/invenio-testrig-client/workdir/tests/invenio-records-files/patched/.venv/lib/python3.14/site-packages/webargs/compat.py:8: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead. MARSHMALLOW_VERSION_INFO = tuple(LooseVersion(ma.__version__).version) # type: tuple .venv/lib/python3.14/site-packages/webargs/__init__.py:13 /home/runner/work/invenio-testrig-client/invenio-testrig-client/workdir/tests/invenio-records-files/patched/.venv/lib/python3.14/site-packages/webargs/__init__.py:13: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead. __version_info__ = tuple(LooseVersion(__version__).version) tests/test_api.py: 16 warnings tests/test_links.py: 3 warnings tests/test_models.py: 3 warnings tests/test_utils.py: 2 warnings tests/test_views.py: 4 warnings /home/runner/work/invenio-testrig-client/invenio-testrig-client/workdir/tests/invenio-records-files/patched/.venv/lib/python3.14/site-packages/invenio_search/ext.py:128: UserWarning: OpenSearch v2 mappings files not found, falling back to Elasticsearch v7 mappings for module data. Please add the missing OpenSearch os-v2 mappings. warnings.warn( tests/test_api.py: 15 warnings tests/test_links.py: 1 warning tests/test_models.py: 3 warnings tests/test_utils.py: 2 warnings tests/test_views.py: 3 warnings invenio_records_files/__init__.py: 1 warning /home/runner/work/invenio-testrig-client/invenio-testrig-client/workdir/tests/invenio-records-files/patched/.venv/lib/python3.14/site-packages/invenio_records/api.py:334: SAWarning: nested transaction already deassociated from connection with db.session.begin_nested(): tests/test_api.py::test_files_property /home/runner/work/invenio-testrig-client/invenio-testrig-client/workdir/tests/invenio-records-files/patched/.venv/lib/python3.14/site-packages/invenio_files_rest/models.py:719: 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/invenio-testrig-client/invenio-testrig-client/workdir/tests/invenio-records-files/patched/tests/test_links.py:33: SAWarning: nested transaction already deassociated from connection with db.session.begin_nested(): tests/test_links.py::test_record_files_link_factory /home/runner/work/invenio-testrig-client/invenio-testrig-client/workdir/tests/invenio-records-files/patched/tests/test_links.py:49: 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/invenio-testrig-client/invenio-testrig-client/workdir/tests/invenio-records-files/patched/.venv/lib/python3.14/site-packages/invenio_records/api.py:442: 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/invenio-testrig-client/invenio-testrig-client/workdir/tests/invenio-records-files/patched/.venv/lib/python3.14/site-packages/invenio_records/api.py:495: SAWarning: nested transaction already deassociated from connection with db.session.begin_nested(): tests/test_views.py::test_records_files_rest_integration /home/runner/work/invenio-testrig-client/invenio-testrig-client/workdir/tests/invenio-records-files/patched/tests/conftest.py:182: SAWarning: nested transaction already deassociated from connection with db.session.begin_nested(): tests/test_views.py::test_records_files_rest_integration /home/runner/work/invenio-testrig-client/invenio-testrig-client/workdir/tests/invenio-records-files/patched/invenio_records_files/serializer.py:64: PendingDeprecationWarning: Schema().dump().data and Schema().dump().errors as well as Schema().load().data and Schema().loads().dataattributes are deprecated in marshmallow v3.x. 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/invenio-testrig-client/invenio-testrig-client/workdir/tests/invenio-records-files/patched/tests/conftest.py:193: SAWarning: nested transaction already deassociated from connection with db.session.begin_nested(): -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html ================================ 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 2 82% 27, 45 invenio_records_files/alembic/2da9a03b0833_create_records_files_branch.py 8 0 100% invenio_records_files/alembic/4a5d5b4d4c2f_create_bucket_id_index.py 9 2 78% 22, 34 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% 119, 159 --------------------------------------------------------------------------------------------------------- TOTAL 356 6 98% ================= 94 passed, 1 skipped, 68 warnings in 14.22s ================== 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