Skip to content

stats: add stats to track ILSRecord insertions, deletions and updates #1253

stats: add stats to track ILSRecord insertions, deletions and updates

stats: add stats to track ILSRecord insertions, deletions and updates #1253

Triggered via pull request October 24, 2025 19:40
Status Failure
Total duration 15m 30s
Artifacts

tests.yml

on: pull_request
Matrix: Tests
Fit to window
Zoom out
Zoom in

Annotations

4 errors and 50 warnings
Tests (ils, 3.9, pypi, postgresql14, opensearch2)
Process completed with exit code 1.
Tests (ils, 3.9, pypi, postgresql14, opensearch2): tests/api/ils/stats/test_record_changes_stats.py#L191
test_patron_record_changes_not_tracked_per_user TypeError: can't compare offset-naive and offset-aware datetimes
Tests (ils, 3.9, pypi, postgresql14, opensearch2): tests/api/ils/stats/test_record_changes_stats.py#L143
test_record_change_stats_per_user TypeError: can't compare offset-naive and offset-aware datetimes
Tests (ils, 3.9, pypi, postgresql14, opensearch2): tests/api/ils/stats/test_record_changes_stats.py#L84
test_record_change_stats_histogram TypeError: can't compare offset-naive and offset-aware datetimes
Tests (acquisition, 3.9, pypi, postgresql14, opensearch2): tests/helpers.py#L38
nested transaction already deassociated from connection
Tests (acquisition, 3.9, pypi, postgresql14, opensearch2): /opt/hostedtoolcache/Python/3.9.23/x64/lib/python3.9/site-packages/webargs/compat.py#L8
The '__version__' attribute is deprecated and will be removed in in a future version. Use feature detection or 'importlib.metadata.version("marshmallow")' instead.
Tests (acquisition, 3.9, pypi, postgresql14, opensearch2): /opt/hostedtoolcache/Python/3.9.23/x64/lib/python3.9/site-packages/invenio_records/resolver.py#L14
jsonschema.RefResolver is deprecated as of v4.18.0, in favor of the https://github.com/python-jsonschema/referencing library, which provides more compliant referencing behavior as well as more flexible APIs for customization. A future release will remove RefResolver. Please file a feature request (on referencing) if you are missing an API for the kind of customization you need.
Tests (acquisition, 3.9, pypi, postgresql14, opensearch2): /opt/hostedtoolcache/Python/3.9.23/x64/lib/python3.9/site-packages/invenio_records/resolver.py#L14
jsonschema.exceptions.RefResolutionError is deprecated as of version 4.18.0. If you wish to catch potential reference resolution errors, directly catch referencing.exceptions.Unresolvable.
Tests (acquisition, 3.9, pypi, postgresql14, opensearch2): /opt/hostedtoolcache/Python/3.9.23/x64/lib/python3.9/site-packages/invenio_records/resolver.py#L14
jsonschema.RefResolver is deprecated as of v4.18.0, in favor of the https://github.com/python-jsonschema/referencing library, which provides more compliant referencing behavior as well as more flexible APIs for customization. A future release will remove RefResolver. Please file a feature request (on referencing) if you are missing an API for the kind of customization you need.
Tests (acquisition, 3.9, pypi, postgresql14, opensearch2): /opt/hostedtoolcache/Python/3.9.23/x64/lib/python3.9/site-packages/invenio_records/resolver.py#L14
jsonschema.exceptions.RefResolutionError is deprecated as of version 4.18.0. If you wish to catch potential reference resolution errors, directly catch referencing.exceptions.Unresolvable.
Tests (acquisition, 3.9, pypi, postgresql14, opensearch2): /opt/hostedtoolcache/Python/3.9.23/x64/lib/python3.9/site-packages/jsonresolver/contrib/jsonschema.py#L31
jsonschema.RefResolver is deprecated as of v4.18.0, in favor of the https://github.com/python-jsonschema/referencing library, which provides more compliant referencing behavior as well as more flexible APIs for customization. A future release will remove RefResolver. Please file a feature request (on referencing) if you are missing an API for the kind of customization you need.
Tests (acquisition, 3.9, pypi, postgresql14, opensearch2): /opt/hostedtoolcache/Python/3.9.23/x64/lib/python3.9/site-packages/jsonresolver/contrib/jsonschema.py#L31
jsonschema.RefResolver is deprecated as of v4.18.0, in favor of the https://github.com/python-jsonschema/referencing library, which provides more compliant referencing behavior as well as more flexible APIs for customization. A future release will remove RefResolver. Please file a feature request (on referencing) if you are missing an API for the kind of customization you need.
Tests (document_requests, 3.9, pypi, postgresql14, opensearch2): tests/helpers.py#L38
nested transaction already deassociated from connection
Tests (document_requests, 3.9, pypi, postgresql14, opensearch2): /opt/hostedtoolcache/Python/3.9.23/x64/lib/python3.9/site-packages/webargs/compat.py#L8
The '__version__' attribute is deprecated and will be removed in in a future version. Use feature detection or 'importlib.metadata.version("marshmallow")' instead.
Tests (document_requests, 3.9, pypi, postgresql14, opensearch2): /opt/hostedtoolcache/Python/3.9.23/x64/lib/python3.9/site-packages/invenio_records/resolver.py#L14
jsonschema.RefResolver is deprecated as of v4.18.0, in favor of the https://github.com/python-jsonschema/referencing library, which provides more compliant referencing behavior as well as more flexible APIs for customization. A future release will remove RefResolver. Please file a feature request (on referencing) if you are missing an API for the kind of customization you need.
Tests (document_requests, 3.9, pypi, postgresql14, opensearch2): /opt/hostedtoolcache/Python/3.9.23/x64/lib/python3.9/site-packages/invenio_records/resolver.py#L14
jsonschema.exceptions.RefResolutionError is deprecated as of version 4.18.0. If you wish to catch potential reference resolution errors, directly catch referencing.exceptions.Unresolvable.
Tests (document_requests, 3.9, pypi, postgresql14, opensearch2): /opt/hostedtoolcache/Python/3.9.23/x64/lib/python3.9/site-packages/invenio_records/resolver.py#L14
jsonschema.RefResolver is deprecated as of v4.18.0, in favor of the https://github.com/python-jsonschema/referencing library, which provides more compliant referencing behavior as well as more flexible APIs for customization. A future release will remove RefResolver. Please file a feature request (on referencing) if you are missing an API for the kind of customization you need.
Tests (document_requests, 3.9, pypi, postgresql14, opensearch2): /opt/hostedtoolcache/Python/3.9.23/x64/lib/python3.9/site-packages/invenio_records/resolver.py#L14
jsonschema.exceptions.RefResolutionError is deprecated as of version 4.18.0. If you wish to catch potential reference resolution errors, directly catch referencing.exceptions.Unresolvable.
Tests (document_requests, 3.9, pypi, postgresql14, opensearch2): /opt/hostedtoolcache/Python/3.9.23/x64/lib/python3.9/site-packages/jsonresolver/contrib/jsonschema.py#L31
jsonschema.RefResolver is deprecated as of v4.18.0, in favor of the https://github.com/python-jsonschema/referencing library, which provides more compliant referencing behavior as well as more flexible APIs for customization. A future release will remove RefResolver. Please file a feature request (on referencing) if you are missing an API for the kind of customization you need.
Tests (document_requests, 3.9, pypi, postgresql14, opensearch2): /opt/hostedtoolcache/Python/3.9.23/x64/lib/python3.9/site-packages/jsonresolver/contrib/jsonschema.py#L31
jsonschema.RefResolver is deprecated as of v4.18.0, in favor of the https://github.com/python-jsonschema/referencing library, which provides more compliant referencing behavior as well as more flexible APIs for customization. A future release will remove RefResolver. Please file a feature request (on referencing) if you are missing an API for the kind of customization you need.
Tests (ill, 3.9, pypi, postgresql14, opensearch2): tests/helpers.py#L38
nested transaction already deassociated from connection
Tests (ill, 3.9, pypi, postgresql14, opensearch2): /opt/hostedtoolcache/Python/3.9.23/x64/lib/python3.9/site-packages/webargs/compat.py#L8
The '__version__' attribute is deprecated and will be removed in in a future version. Use feature detection or 'importlib.metadata.version("marshmallow")' instead.
Tests (ill, 3.9, pypi, postgresql14, opensearch2): /opt/hostedtoolcache/Python/3.9.23/x64/lib/python3.9/site-packages/invenio_records/resolver.py#L14
jsonschema.RefResolver is deprecated as of v4.18.0, in favor of the https://github.com/python-jsonschema/referencing library, which provides more compliant referencing behavior as well as more flexible APIs for customization. A future release will remove RefResolver. Please file a feature request (on referencing) if you are missing an API for the kind of customization you need.
Tests (ill, 3.9, pypi, postgresql14, opensearch2): /opt/hostedtoolcache/Python/3.9.23/x64/lib/python3.9/site-packages/invenio_records/resolver.py#L14
jsonschema.exceptions.RefResolutionError is deprecated as of version 4.18.0. If you wish to catch potential reference resolution errors, directly catch referencing.exceptions.Unresolvable.
Tests (ill, 3.9, pypi, postgresql14, opensearch2): /opt/hostedtoolcache/Python/3.9.23/x64/lib/python3.9/site-packages/invenio_records/resolver.py#L14
jsonschema.RefResolver is deprecated as of v4.18.0, in favor of the https://github.com/python-jsonschema/referencing library, which provides more compliant referencing behavior as well as more flexible APIs for customization. A future release will remove RefResolver. Please file a feature request (on referencing) if you are missing an API for the kind of customization you need.
Tests (ill, 3.9, pypi, postgresql14, opensearch2): /opt/hostedtoolcache/Python/3.9.23/x64/lib/python3.9/site-packages/invenio_records/resolver.py#L14
jsonschema.exceptions.RefResolutionError is deprecated as of version 4.18.0. If you wish to catch potential reference resolution errors, directly catch referencing.exceptions.Unresolvable.
Tests (ill, 3.9, pypi, postgresql14, opensearch2): /opt/hostedtoolcache/Python/3.9.23/x64/lib/python3.9/site-packages/jsonresolver/contrib/jsonschema.py#L31
jsonschema.RefResolver is deprecated as of v4.18.0, in favor of the https://github.com/python-jsonschema/referencing library, which provides more compliant referencing behavior as well as more flexible APIs for customization. A future release will remove RefResolver. Please file a feature request (on referencing) if you are missing an API for the kind of customization you need.
Tests (ill, 3.9, pypi, postgresql14, opensearch2): /opt/hostedtoolcache/Python/3.9.23/x64/lib/python3.9/site-packages/jsonresolver/contrib/jsonschema.py#L31
jsonschema.RefResolver is deprecated as of v4.18.0, in favor of the https://github.com/python-jsonschema/referencing library, which provides more compliant referencing behavior as well as more flexible APIs for customization. A future release will remove RefResolver. Please file a feature request (on referencing) if you are missing an API for the kind of customization you need.
Tests (circulation, 3.9, pypi, postgresql14, opensearch2): /opt/hostedtoolcache/Python/3.9.23/x64/lib/python3.9/site-packages/flask_caching/__init__.py#L145
Using the initialization functions in flask_caching.backend is deprecated. Use the a full path to backend classes directly.
Tests (circulation, 3.9, pypi, postgresql14, opensearch2): /opt/hostedtoolcache/Python/3.9.23/x64/lib/python3.9/site-packages/webargs/compat.py#L8
The '__version__' attribute is deprecated and will be removed in in a future version. Use feature detection or 'importlib.metadata.version("marshmallow")' instead.
Tests (circulation, 3.9, pypi, postgresql14, opensearch2): /opt/hostedtoolcache/Python/3.9.23/x64/lib/python3.9/site-packages/invenio_records/resolver.py#L14
jsonschema.RefResolver is deprecated as of v4.18.0, in favor of the https://github.com/python-jsonschema/referencing library, which provides more compliant referencing behavior as well as more flexible APIs for customization. A future release will remove RefResolver. Please file a feature request (on referencing) if you are missing an API for the kind of customization you need.
Tests (circulation, 3.9, pypi, postgresql14, opensearch2): /opt/hostedtoolcache/Python/3.9.23/x64/lib/python3.9/site-packages/invenio_records/resolver.py#L14
jsonschema.exceptions.RefResolutionError is deprecated as of version 4.18.0. If you wish to catch potential reference resolution errors, directly catch referencing.exceptions.Unresolvable.
Tests (circulation, 3.9, pypi, postgresql14, opensearch2): /opt/hostedtoolcache/Python/3.9.23/x64/lib/python3.9/site-packages/invenio_records/resolver.py#L14
jsonschema.RefResolver is deprecated as of v4.18.0, in favor of the https://github.com/python-jsonschema/referencing library, which provides more compliant referencing behavior as well as more flexible APIs for customization. A future release will remove RefResolver. Please file a feature request (on referencing) if you are missing an API for the kind of customization you need.
Tests (circulation, 3.9, pypi, postgresql14, opensearch2): /opt/hostedtoolcache/Python/3.9.23/x64/lib/python3.9/site-packages/invenio_records/resolver.py#L14
jsonschema.exceptions.RefResolutionError is deprecated as of version 4.18.0. If you wish to catch potential reference resolution errors, directly catch referencing.exceptions.Unresolvable.
Tests (circulation, 3.9, pypi, postgresql14, opensearch2): /opt/hostedtoolcache/Python/3.9.23/x64/lib/python3.9/site-packages/jsonresolver/contrib/jsonschema.py#L31
jsonschema.RefResolver is deprecated as of v4.18.0, in favor of the https://github.com/python-jsonschema/referencing library, which provides more compliant referencing behavior as well as more flexible APIs for customization. A future release will remove RefResolver. Please file a feature request (on referencing) if you are missing an API for the kind of customization you need.
Tests (circulation, 3.9, pypi, postgresql14, opensearch2): /opt/hostedtoolcache/Python/3.9.23/x64/lib/python3.9/site-packages/jsonresolver/contrib/jsonschema.py#L31
jsonschema.RefResolver is deprecated as of v4.18.0, in favor of the https://github.com/python-jsonschema/referencing library, which provides more compliant referencing behavior as well as more flexible APIs for customization. A future release will remove RefResolver. Please file a feature request (on referencing) if you are missing an API for the kind of customization you need.
Tests (ils, 3.9, pypi, postgresql14, opensearch2): /opt/hostedtoolcache/Python/3.9.23/x64/lib/python3.9/site-packages/flask_caching/__init__.py#L145
Using the initialization functions in flask_caching.backend is deprecated. Use the a full path to backend classes directly.
Tests (ils, 3.9, pypi, postgresql14, opensearch2): /opt/hostedtoolcache/Python/3.9.23/x64/lib/python3.9/site-packages/webargs/compat.py#L8
The '__version__' attribute is deprecated and will be removed in in a future version. Use feature detection or 'importlib.metadata.version("marshmallow")' instead.
Tests (ils, 3.9, pypi, postgresql14, opensearch2): /opt/hostedtoolcache/Python/3.9.23/x64/lib/python3.9/site-packages/invenio_records/resolver.py#L14
jsonschema.RefResolver is deprecated as of v4.18.0, in favor of the https://github.com/python-jsonschema/referencing library, which provides more compliant referencing behavior as well as more flexible APIs for customization. A future release will remove RefResolver. Please file a feature request (on referencing) if you are missing an API for the kind of customization you need.
Tests (ils, 3.9, pypi, postgresql14, opensearch2): /opt/hostedtoolcache/Python/3.9.23/x64/lib/python3.9/site-packages/invenio_records/resolver.py#L14
jsonschema.exceptions.RefResolutionError is deprecated as of version 4.18.0. If you wish to catch potential reference resolution errors, directly catch referencing.exceptions.Unresolvable.
Tests (ils, 3.9, pypi, postgresql14, opensearch2): /opt/hostedtoolcache/Python/3.9.23/x64/lib/python3.9/site-packages/invenio_records/resolver.py#L14
jsonschema.RefResolver is deprecated as of v4.18.0, in favor of the https://github.com/python-jsonschema/referencing library, which provides more compliant referencing behavior as well as more flexible APIs for customization. A future release will remove RefResolver. Please file a feature request (on referencing) if you are missing an API for the kind of customization you need.
Tests (ils, 3.9, pypi, postgresql14, opensearch2): /opt/hostedtoolcache/Python/3.9.23/x64/lib/python3.9/site-packages/invenio_records/resolver.py#L14
jsonschema.exceptions.RefResolutionError is deprecated as of version 4.18.0. If you wish to catch potential reference resolution errors, directly catch referencing.exceptions.Unresolvable.
Tests (ils, 3.9, pypi, postgresql14, opensearch2): /opt/hostedtoolcache/Python/3.9.23/x64/lib/python3.9/site-packages/jsonresolver/contrib/jsonschema.py#L31
jsonschema.RefResolver is deprecated as of v4.18.0, in favor of the https://github.com/python-jsonschema/referencing library, which provides more compliant referencing behavior as well as more flexible APIs for customization. A future release will remove RefResolver. Please file a feature request (on referencing) if you are missing an API for the kind of customization you need.
Tests (ils, 3.9, pypi, postgresql14, opensearch2): /opt/hostedtoolcache/Python/3.9.23/x64/lib/python3.9/site-packages/jsonresolver/contrib/jsonschema.py#L31
jsonschema.RefResolver is deprecated as of v4.18.0, in favor of the https://github.com/python-jsonschema/referencing library, which provides more compliant referencing behavior as well as more flexible APIs for customization. A future release will remove RefResolver. Please file a feature request (on referencing) if you are missing an API for the kind of customization you need.