redis Pulling postgresql Pulling 84a2afebaf4d Pulling fs layer 68bef8a2321a Pulling fs layer dc35057c3d27 Pulling fs layer 762d5b1c0ef7 Pulling fs layer 1196a886e941 Pulling fs layer 96afa962f1ac Pulling fs layer 4f4fb700ef54 Pulling fs layer 6475cc3afbe1 Pulling fs layer 96afa962f1ac Waiting 4f4fb700ef54 Waiting 1196a886e941 Waiting 6475cc3afbe1 Waiting 762d5b1c0ef7 Waiting 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 9739ced65621 Waiting b0a0cf830b12 Waiting ae3bb1b347a4 Waiting dda3d8fbd5ed Waiting f8406d9c00ea Waiting 050d9f8c3b1c Waiting c199bff16b05 Waiting 710e142705f8 Waiting e0d55fdb4d15 Waiting cb628c265f09 Waiting c1cb13b19080 Waiting 873532e5f8c7 Waiting 91d2729fa4d5 Waiting dc35057c3d27 Downloading [=======================> ] 408B/875B dc35057c3d27 Downloading [==================================================>] 875B/875B dc35057c3d27 Verifying Checksum dc35057c3d27 Download complete 68bef8a2321a Downloading [==================> ] 407B/1.102kB 68bef8a2321a Downloading [==================================================>] 1.102kB/1.102kB 68bef8a2321a Verifying Checksum 68bef8a2321a Download complete 84a2afebaf4d Downloading [> ] 286.7kB/28.24MB 84a2afebaf4d Downloading [=====================> ] 12.24MB/28.24MB 84a2afebaf4d Downloading [===============================> ] 17.8MB/28.24MB 1196a886e941 Downloading [> ] 155.8kB/15.35MB 762d5b1c0ef7 Downloading [> ] 15.46kB/1.438MB 762d5b1c0ef7 Verifying Checksum 762d5b1c0ef7 Download complete 84a2afebaf4d Verifying Checksum 84a2afebaf4d Download complete 1196a886e941 Verifying Checksum 1196a886e941 Download complete 84a2afebaf4d Extracting [> ] 294.9kB/28.24MB 84a2afebaf4d Extracting [=============> ] 7.373MB/28.24MB 96afa962f1ac Downloading [==================================================>] 96B/96B 96afa962f1ac Verifying Checksum 96afa962f1ac Download complete 84a2afebaf4d Extracting [====================> ] 11.5MB/28.24MB 4f4fb700ef54 Downloading [==================================================>] 32B/32B 4f4fb700ef54 Verifying Checksum 4f4fb700ef54 Download complete 6475cc3afbe1 Downloading [===================================> ] 408B/573B 6475cc3afbe1 Downloading [==================================================>] 573B/573B 6475cc3afbe1 Verifying Checksum 6475cc3afbe1 Download complete 84a2afebaf4d Extracting [====================================> ] 20.64MB/28.24MB 84a2afebaf4d Extracting [==========================================> ] 23.89MB/28.24MB dda3d8fbd5ed Downloading [=================> ] 407B/1.165kB dda3d8fbd5ed Downloading [==================================================>] 1.165kB/1.165kB dda3d8fbd5ed Verifying Checksum dda3d8fbd5ed Download complete 283a477db7bb Downloading [> ] 46.52kB/4.533MB b0a0cf830b12 Downloading [> ] 298kB/29.15MB 283a477db7bb Verifying Checksum 283a477db7bb Download complete 84a2afebaf4d Extracting [================================================> ] 27.13MB/28.24MB b0a0cf830b12 Downloading [=====================================> ] 21.97MB/29.15MB b0a0cf830b12 Verifying Checksum b0a0cf830b12 Download complete b0a0cf830b12 Extracting [> ] 294.9kB/29.15MB 91d2729fa4d5 Downloading [> ] 15.34kB/1.45MB b0a0cf830b12 Extracting [============> ] 7.078MB/29.15MB 91d2729fa4d5 Downloading [==================================================>] 1.45MB/1.45MB 91d2729fa4d5 Verifying Checksum 91d2729fa4d5 Download complete 84a2afebaf4d Extracting [================================================> ] 27.43MB/28.24MB 9739ced65621 Downloading [> ] 84.6kB/8.069MB b0a0cf830b12 Extracting [==================> ] 10.91MB/29.15MB 9739ced65621 Verifying Checksum 9739ced65621 Download complete 84a2afebaf4d Extracting [==================================================>] 28.24MB/28.24MB ae3bb1b347a4 Downloading [> ] 12.68kB/1.196MB 84a2afebaf4d Pull complete 68bef8a2321a Extracting [==================================================>] 1.102kB/1.102kB 68bef8a2321a Extracting [==================================================>] 1.102kB/1.102kB ae3bb1b347a4 Verifying Checksum ae3bb1b347a4 Download complete b0a0cf830b12 Extracting [=============================> ] 17.4MB/29.15MB f8406d9c00ea Downloading [==================================================>] 116B/116B f8406d9c00ea Verifying Checksum f8406d9c00ea Download complete c199bff16b05 Downloading [======> ] 407B/3.145kB c199bff16b05 Downloading [==================================================>] 3.145kB/3.145kB c199bff16b05 Verifying Checksum b0a0cf830b12 Extracting [==========================================> ] 24.77MB/29.15MB e0d55fdb4d15 Downloading [> ] 527.3kB/109MB c1cb13b19080 Downloading [=> ] 375B/9.925kB c1cb13b19080 Downloading [==================================================>] 9.925kB/9.925kB c1cb13b19080 Verifying Checksum c1cb13b19080 Download complete e0d55fdb4d15 Downloading [========> ] 17.69MB/109MB b0a0cf830b12 Extracting [================================================> ] 28.02MB/29.15MB 873532e5f8c7 Downloading [==================================================>] 128B/128B 873532e5f8c7 Verifying Checksum 873532e5f8c7 Download complete e0d55fdb4d15 Downloading [============> ] 27.87MB/109MB b0a0cf830b12 Extracting [================================================> ] 28.31MB/29.15MB 050d9f8c3b1c Downloading [==================================================>] 169B/169B 050d9f8c3b1c Verifying Checksum 050d9f8c3b1c Download complete e0d55fdb4d15 Downloading [=============> ] 29.48MB/109MB b0a0cf830b12 Extracting [==================================================>] 29.15MB/29.15MB 710e142705f8 Downloading [===> ] 407B/5.421kB 710e142705f8 Downloading [==================================================>] 5.421kB/5.421kB 710e142705f8 Verifying Checksum 710e142705f8 Download complete e0d55fdb4d15 Downloading [===========================> ] 59.64MB/109MB cb628c265f09 Downloading [==================================================>] 184B/184B cb628c265f09 Verifying Checksum cb628c265f09 Download complete b0a0cf830b12 Pull complete e0d55fdb4d15 Downloading [==================================> ] 74.68MB/109MB dda3d8fbd5ed Extracting [==================================================>] 1.165kB/1.165kB dda3d8fbd5ed Extracting [==================================================>] 1.165kB/1.165kB e0d55fdb4d15 Downloading [===========================================> ] 94.54MB/109MB e0d55fdb4d15 Verifying Checksum dda3d8fbd5ed Pull complete 68bef8a2321a Pull complete 283a477db7bb Extracting [> ] 65.54kB/4.533MB dc35057c3d27 Extracting [==================================================>] 875B/875B dc35057c3d27 Extracting [==================================================>] 875B/875B dc35057c3d27 Pull complete 762d5b1c0ef7 Extracting [=> ] 32.77kB/1.438MB 762d5b1c0ef7 Extracting [==================================================>] 1.438MB/1.438MB 762d5b1c0ef7 Extracting [==================================================>] 1.438MB/1.438MB 762d5b1c0ef7 Pull complete 1196a886e941 Extracting [> ] 163.8kB/15.35MB 283a477db7bb Extracting [==================================================>] 4.533MB/4.533MB 283a477db7bb Pull complete 91d2729fa4d5 Extracting [=> ] 32.77kB/1.45MB 91d2729fa4d5 Extracting [==================================================>] 1.45MB/1.45MB 1196a886e941 Extracting [=========================> ] 7.864MB/15.35MB 91d2729fa4d5 Pull complete 9739ced65621 Extracting [> ] 98.3kB/8.069MB 1196a886e941 Extracting [==================================================>] 15.35MB/15.35MB 9739ced65621 Extracting [=========================> ] 4.129MB/8.069MB 1196a886e941 Pull complete 96afa962f1ac Extracting [==================================================>] 96B/96B 96afa962f1ac Extracting [==================================================>] 96B/96B 96afa962f1ac Pull complete 4f4fb700ef54 Extracting [==================================================>] 32B/32B 4f4fb700ef54 Extracting [==================================================>] 32B/32B 4f4fb700ef54 Pull complete 6475cc3afbe1 Extracting [==================================================>] 573B/573B 6475cc3afbe1 Extracting [==================================================>] 573B/573B 6475cc3afbe1 Pull complete redis Pulled 9739ced65621 Extracting [=========================================> ] 6.685MB/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.799MB/109MB e0d55fdb4d15 Extracting [======> ] 13.37MB/109MB e0d55fdb4d15 Extracting [=========> ] 20.05MB/109MB e0d55fdb4d15 Extracting [============> ] 26.74MB/109MB e0d55fdb4d15 Extracting [================> ] 36.21MB/109MB e0d55fdb4d15 Extracting [====================> ] 45.68MB/109MB e0d55fdb4d15 Extracting [========================> ] 52.92MB/109MB e0d55fdb4d15 Extracting [===========================> ] 59.6MB/109MB e0d55fdb4d15 Extracting [================================> ] 70.75MB/109MB e0d55fdb4d15 Extracting [====================================> ] 79.66MB/109MB e0d55fdb4d15 Extracting [========================================> ] 89.13MB/109MB e0d55fdb4d15 Extracting [==========================================> ] 93.59MB/109MB e0d55fdb4d15 Extracting [============================================> ] 98.04MB/109MB e0d55fdb4d15 Extracting [===============================================> ] 102.5MB/109MB e0d55fdb4d15 Extracting [================================================> ] 104.7MB/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-redis-1 Creating Container docker_services_cli-postgresql-1 Created Container docker_services_cli-redis-1 Created Container docker_services_cli-postgresql-1 Starting Container docker_services_cli-redis-1 Starting Container docker_services_cli-redis-1 Started 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/invenio-testrig-client/invenio-testrig-client/workdir/tests/invenio-webhooks/patched configfile: setup.cfg testpaths: docs, tests, invenio_webhooks 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 66 items docs/conf.py ... [ 4%] tests/conftest.py ... [ 9%] tests/test_api.py ...::warning file=workdir/tests/invenio-webhooks/patched/.venv/lib/python3.14/site-packages/invenio_oauth2server/ext.py,line=332::You are overriding the default OAuthlib "URL encoded" set of valid characters. Make sure that the characters defined in oauthlib.common.urlencoded are indeed limitting your needs. ...::warning file=workdir/tests/invenio-webhooks/patched/.venv/lib/python3.14/site-packages/flask_security/datastore.py,line=208::get_user method is deprecated, user get_user_by_email/get_user_by_id ... [ 22%] tests/test_invenio_webhooks.py ....s. [ 31%] tests/test_receivers.py ....::warning file=workdir/tests/invenio-webhooks/patched/invenio_webhooks/models.py,line=147::The Query.get() method is considered legacy as of the 1.x series of SQLAlchemy and becomes a legacy construct in 2.0. The method is now available as Session.get() (deprecated since: 2.0) (Background on SQLAlchemy 2.0 at: https://sqlalche.me/e/b8d9) .....::warning file=workdir/tests/invenio-webhooks/patched/.venv/lib/python3.14/site-packages/celery/backends/base.py,line=577::Results are not stored in backend and should not be retrieved when task_always_eager is enabled, unless task_store_eager_result is enabled. ::warning file=workdir/tests/invenio-webhooks/patched/invenio_webhooks/models.py,line=147::The Query.get() method is considered legacy as of the 1.x series of SQLAlchemy and becomes a legacy construct in 2.0. The method is now available as Session.get() (deprecated since: 2.0) (Background on SQLAlchemy 2.0 at: https://sqlalche.me/e/b8d9) ::warning file=workdir/tests/invenio-webhooks/patched/tests/test_receivers.py,line=221::The Query.get() method is considered legacy as of the 1.x series of SQLAlchemy and becomes a legacy construct in 2.0. The method is now available as Session.get() (deprecated since: 2.0) (Background on SQLAlchemy 2.0 at: https://sqlalche.me/e/b8d9) [ 45%] invenio_webhooks/__init__.py ... [ 50%] invenio_webhooks/_compat.py ... [ 54%] invenio_webhooks/alembic/201faeb649c7_change_datetime_types.py ... [ 59%] invenio_webhooks/alembic/469925575192_create_webhooks_branch.py ... [ 63%] invenio_webhooks/alembic/a095bd179f5c_create_webhooks_tables.py ... [ 68%] invenio_webhooks/config.py ... [ 72%] invenio_webhooks/errors.py ... [ 77%] invenio_webhooks/ext.py ... [ 81%] invenio_webhooks/models.py ... [ 86%] invenio_webhooks/proxies.py ... [ 90%] invenio_webhooks/signatures.py ... [ 95%] invenio_webhooks/views.py ... [100%] =============================== warnings summary =============================== tests/test_api.py::test_405_methods /home/runner/work/invenio-testrig-client/invenio-testrig-client/workdir/tests/invenio-webhooks/patched/.venv/lib/python3.14/site-packages/invenio_oauth2server/ext.py:332: RuntimeWarning: You are overriding the default OAuthlib "URL encoded" set of valid characters. Make sure that the characters defined in oauthlib.common.urlencoded are indeed limitting your needs. warnings.warn( tests/test_api.py::test_webhook_post_no_token /home/runner/work/invenio-testrig-client/invenio-testrig-client/workdir/tests/invenio-webhooks/patched/.venv/lib/python3.14/site-packages/flask_security/datastore.py:208: DeprecationWarning: get_user method is deprecated, user get_user_by_email/get_user_by_id warnings.warn( tests/test_receivers.py::test_receiver_registration tests/test_receivers.py::test_event_status /home/runner/work/invenio-testrig-client/invenio-testrig-client/workdir/tests/invenio-webhooks/patched/invenio_webhooks/models.py:147: LegacyAPIWarning: The Query.get() method is considered legacy as of the 1.x series of SQLAlchemy and becomes a legacy construct in 2.0. The method is now available as Session.get() (deprecated since: 2.0) (Background on SQLAlchemy 2.0 at: https://sqlalche.me/e/b8d9) event = Event.query.get(event_id) tests/test_receivers.py::test_event_status /home/runner/work/invenio-testrig-client/invenio-testrig-client/workdir/tests/invenio-webhooks/patched/.venv/lib/python3.14/site-packages/celery/backends/base.py:577: RuntimeWarning: Results are not stored in backend and should not be retrieved when task_always_eager is enabled, unless task_store_eager_result is enabled. warnings.warn( tests/test_receivers.py::test_event_status /home/runner/work/invenio-testrig-client/invenio-testrig-client/workdir/tests/invenio-webhooks/patched/tests/test_receivers.py:221: LegacyAPIWarning: The Query.get() method is considered legacy as of the 1.x series of SQLAlchemy and becomes a legacy construct in 2.0. The method is now available as Session.get() (deprecated since: 2.0) (Background on SQLAlchemy 2.0 at: https://sqlalche.me/e/b8d9) event = Event.query.get(event_id) -- 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_webhooks/__init__.py 5 0 100% invenio_webhooks/_compat.py 8 2 75% 46-47 invenio_webhooks/alembic/201faeb649c7_change_datetime_types.py 13 6 54% 41-43, 48-50 invenio_webhooks/alembic/469925575192_create_webhooks_branch.py 10 2 80% 38, 43 invenio_webhooks/alembic/a095bd179f5c_create_webhooks_tables.py 16 6 62% 41-70, 80-81 invenio_webhooks/config.py 3 0 100% invenio_webhooks/errors.py 4 0 100% invenio_webhooks/ext.py 29 1 97% 56 invenio_webhooks/models.py 130 9 93% 196-197, 270-271, 276-277, 283-285 invenio_webhooks/proxies.py 3 0 100% invenio_webhooks/signatures.py 12 0 100% invenio_webhooks/views.py 88 7 92% 114, 141-145, 169 ----------------------------------------------------------------------------------------------- TOTAL 321 33 90% ================== 65 passed, 1 skipped, 6 warnings in 7.31s =================== Container docker_services_cli-postgresql-1 Stopping Container docker_services_cli-redis-1 Stopping Container docker_services_cli-postgresql-1 Stopped Container docker_services_cli-postgresql-1 Removing Container docker_services_cli-postgresql-1 Removed Container docker_services_cli-redis-1 Stopped Container docker_services_cli-redis-1 Removing Container docker_services_cli-redis-1 Removed Network docker_services_cli_default Removing Network docker_services_cli_default Removed