Skip to content

(BSR) [API] Apply catch_cinema_provider_request_timeout to cinema API client #7649

(BSR) [API] Apply catch_cinema_provider_request_timeout to cinema API client

(BSR) [API] Apply catch_cinema_provider_request_timeout to cinema API client #7649

Triggered via pull request November 22, 2024 15:49
Status Failure
Total duration 14m 48s
Artifacts 6
Tests pro  /  ...  /  Style quality check
Tests pro / Type check / Quality check / Style quality check
Tests pro  /  Unit tests
Tests pro / Unit tests
[pcapi-tests] build docker image.  /  Build pcapi-tests:08aeb965d2a66600351708c9c7ba68f744c78180
3m 42s
[pcapi-tests] build docker image. / Build pcapi-tests:08aeb965d2a66600351708c9c7ba68f744c78180
[pcapi] build docker image.  /  Build pcapi:08aeb965d2a66600351708c9c7ba68f744c78180
2m 21s
[pcapi] build docker image. / Build pcapi:08aeb965d2a66600351708c9c7ba68f744c78180
[pcapi-console] build docker image.  /  Build pcapi-console:08aeb965d2a66600351708c9c7ba68f744c78180
3m 34s
[pcapi-console] build docker image. / Build pcapi-console:08aeb965d2a66600351708c9c7ba68f744c78180
MyPy cop  /  MyPy cop test
31s
MyPy cop / MyPy cop test
Tests API documentation  /  Check API documentation can be built
Tests API documentation / Check API documentation can be built
[PRO] Deploy PR version for validation  /  deploy_on_firebase
[PRO] Deploy PR version for validation / deploy_on_firebase
Dependabot  /  dependabot
Dependabot / dependabot
Matrix: Tests api / Pytest
Tests api  /  Quality checks
2m 40s
Tests api / Quality checks
Tests api  /  Pylint
3m 42s
Tests api / Pylint
Tests api  /  Test database schema
2m 59s
Tests api / Test database schema
Tests pro E2E  /  E2E tests and notifications
11m 21s
Tests pro E2E / E2E tests and notifications
Update api client template  /  Update API Client template
5m 6s
Update api client template / Update API Client template
Push pcapi docker image to registry  /  push-docker-image
Push pcapi docker image to registry / push-docker-image
Push pcapi-console docker image to registry  /  push-docker-image
Push pcapi-console docker image to registry / push-docker-image
Fit to window
Zoom out
Zoom in

Annotations

2 errors, 2 warnings, and 3 notices
tests/core/external_bookings/boost/test_client.py.test_should_raise_a_timeout_error: tests/core/external_bookings/boost/test_client.py#L118
assert {'client': 'BoostClientAPI', 'method': 'get_collection_items', 'cinema_id': 'idProvider1', 'method_params': {'resource': 'ResourceBoost.SHOWTIMES', 'collection_class': "<class 'pcapi.connectors.serialization.boost_serializers.ShowTimeCollection'>", 'per_page': '2', 'pattern_values': "{'dateStart': '2024-11-22', 'dateEnd': '2024-12-02'}", 'params': "{'paymentMethod': 'external:credit:passculture', 'hideFullReservation': 1, 'film': None, 'page': 1, 'per_page': 2}"}} == {'cinema_id': 'idProvider1', 'client': 'BoostClientAPI', 'method': 'get_collection_items', 'method_params': {'collection_class': "<class 'pcapi.connectors.serialization.boost_serializers.ShowTimeCollection'>", 'params': "{'paymentMethod': 'external:credit:passculture', 'hideFullReservation': 1, 'film': None, 'page': 1, 'per_page': 2}", 'pattern_values': "{'dateStart': '2024-11-18', 'dateEnd': '2024-11-28'}", 'per_page': '2', 'resource': 'ResourceBoost.SHOWTIMES'}} Common items: {'cinema_id': 'idProvider1', 'client': 'BoostClientAPI', 'method': 'get_collection_items'} Differing items: {'method_params': {'collection_class': "<class 'pcapi.connectors.serialization.boost_serializers.ShowTimeCollection'>"...': 1, 'per_page': 2}", 'pattern_values': "{'dateStart': '2024-11-22', 'dateEnd': '2024-12-02'}", 'per_page': '2', ...}} != {'method_params': {'collection_class': "<class 'pcapi.connectors.serialization.boost_serializers.ShowTimeCollection'>"...': 1, 'per_page': 2}", 'pattern_values': "{'dateStart': '2024-11-18', 'dateEnd': '2024-11-28'}", 'per_page': '2', ...}} Full diff: { 'cinema_id': 'idProvider1', 'client': 'BoostClientAPI', 'method': 'get_collection_items', 'method_params': { 'collection_class': '<class ' "'pcapi.connectors.serialization.boost_serializers.ShowTimeCollection'>", 'params': "{'paymentMethod': 'external:credit:passculture', " "'hideFullReservation': 1, 'film': None, 'page': 1, 'per_page': 2}", - 'pattern_values': "{'dateStart': '2024-11-18', 'dateEnd': '2024-11-28'}", ? ^^ ^ - + 'pattern_values': "{'dateStart': '2024-11-22', 'dateEnd': '2024-12-02'}", ? ^^ ^ + 'per_page': '2', 'resource': 'ResourceBoost.SHOWTIMES', }, }
Update api client template / Update API Client template
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Tests pro E2E / E2E tests and notifications
The following actions use a deprecated Node.js version and will be forced to run on node20: technote-space/workflow-conclusion-action@v3, actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Tests api / Quality checks
Running tests api with europe-west1-docker.pkg.dev/passculture-infra-prod/pass-culture-artifact-registry/pcapi-tests:08aeb965d2a66600351708c9c7ba68f744c78180
Update api client template / Update API Client template
Running update api client template with europe-west1-docker.pkg.dev/passculture-infra-prod/pass-culture-artifact-registry/pcapi:08aeb965d2a66600351708c9c7ba68f744c78180
Tests pro E2E / E2E tests and notifications
Running e2e-tests with europe-west1-docker.pkg.dev/passculture-infra-prod/pass-culture-artifact-registry/pcapi:08aeb965d2a66600351708c9c7ba68f744c78180

Artifacts

Produced during runtime
Name Size
pass-culture~pass-culture-main~9DIO84.dockerbuild
157 KB
pass-culture~pass-culture-main~TUUCZZ.dockerbuild
81.6 KB
pass-culture~pass-culture-main~Y7MNBY.dockerbuild
91.4 KB
pcapi-08aeb965d2a66600351708c9c7ba68f744c78180.tar
299 MB
pcapi-console-08aeb965d2a66600351708c9c7ba68f744c78180.tar
482 MB
pcapi-tests-08aeb965d2a66600351708c9c7ba68f744c78180.tar
529 MB