(PC-32546)[API] feat: catch timeout on cinema providers #6888
dev_on_pull_request_workflow.yml
on: pull_request
Init job
46s
Tests pro
/
...
/
Style quality check
Tests pro
/
Unit tests
[pcapi-tests] build docker image.
/
Build pcapi-tests:afcc02238142a730173960b48f7fe0f094a8e773
3m 39s
[pcapi] build docker image.
/
Build pcapi:afcc02238142a730173960b48f7fe0f094a8e773
2m 14s
[pcapi-console] build docker image.
/
Build pcapi-console:afcc02238142a730173960b48f7fe0f094a8e773
3m 39s
MyPy cop
/
MyPy cop test
33s
Tests API documentation
/
Check API documentation can be built
[PRO] Deploy PR version for validation
/
deploy_on_firebase
Dependabot
/
dependabot
Matrix: Tests api / Pytest
Tests api
/
Quality checks
1m 4s
Tests api
/
Pylint
3m 36s
Tests api
/
Test database schema
4m 52s
Update api client template
/
Update API Client template
4m 50s
Push pcapi docker image to registry
/
push-docker-image
Push pcapi-console docker image to registry
/
push-docker-image
Annotations
29 errors, 3 warnings, and 3 notices
tests/core/bookings/test_api.py.test_timeout_during_ems_external_booking_trigger_a_cancel_call[Timeout]:
tests/core/bookings/test_api.py#L544
pcapi.core.external_bookings.exceptions.ExternalBookingTimeoutException
|
tests/core/bookings/test_api.py.test_timeout_during_ems_external_booking_trigger_a_cancel_call[ReadTimeout]:
tests/core/bookings/test_api.py#L544
pcapi.core.external_bookings.exceptions.ExternalBookingTimeoutException
|
tests/core/bookings/test_api.py.test_we_dont_cancel_too_early_failing_booking[Timeout]:
tests/core/bookings/test_api.py#L653
pcapi.core.external_bookings.exceptions.ExternalBookingTimeoutException
|
tests/core/bookings/test_api.py.test_we_dont_cancel_too_early_failing_booking[ReadTimeout]:
tests/core/bookings/test_api.py#L653
pcapi.core.external_bookings.exceptions.ExternalBookingTimeoutException
|
tests/core/bookings/test_api.py.test_timeout_during_ems_external_booking_dont_do_anything_if_ff_deactivated[Timeout]:
tests/core/bookings/test_api.py#L736
pcapi.core.external_bookings.exceptions.ExternalBookingTimeoutException
|
tests/core/bookings/test_api.py.test_timeout_during_ems_external_booking_dont_do_anything_if_ff_deactivated[ReadTimeout]:
tests/core/bookings/test_api.py#L736
pcapi.core.external_bookings.exceptions.ExternalBookingTimeoutException
|
tests/core/bookings/test_api.py.test_sold_out_failure:
tests/core/bookings/test_api.py#L999
pcapi.core.external_bookings.decorators.ExternalBookingDecoratorException: `catch_request_timeout` can only be applied to an instance method of a class inheriting from `ExternalBookingsClientAPI`
|
tests/core/bookings/test_api.py.test_not_enough_seats_failure:
tests/core/bookings/test_api.py#L1025
pcapi.core.external_bookings.decorators.ExternalBookingDecoratorException: `catch_request_timeout` can only be applied to an instance method of a class inheriting from `ExternalBookingsClientAPI`
|
Tests api / Pytest (tests/core/bookings tests/core/offers tests/core/finance)
❌ Tests reported 8 failures
|
tests/core/external_bookings/test_api.py.test_should_raise_because_no_ticketing_system_set:
tests/core/external_bookings/test_api.py#L111
pcapi.core.external_bookings.decorators.ExternalBookingDecoratorException: `catch_request_timeout` can only be applied to an instance method of a class inheriting from `ExternalBookingsClientAPI`
|
tests/core/external_bookings/test_api.py.test_should_successfully_book_an_event_ticket:
tests/core/external_bookings/test_api.py#L123
pcapi.core.external_bookings.decorators.ExternalBookingDecoratorException: `catch_request_timeout` can only be applied to an instance method of a class inheriting from `ExternalBookingsClientAPI`
|
tests/core/external_bookings/test_api.py.test_should_successfully_book_an_event_ticket_with_null_remaining_quantity:
tests/core/external_bookings/test_api.py#L193
pcapi.core.external_bookings.decorators.ExternalBookingDecoratorException: `catch_request_timeout` can only be applied to an instance method of a class inheriting from `ExternalBookingsClientAPI`
|
tests/core/external_bookings/test_api.py.test_should_raise_an_error_because_remaining_quantity_is_missing:
tests/core/external_bookings/test_api.py#L212
pcapi.core.external_bookings.decorators.ExternalBookingDecoratorException: `catch_request_timeout` can only be applied to an instance method of a class inheriting from `ExternalBookingsClientAPI`
|
tests/core/external_bookings/test_api.py.test_should_raise_an_error_because_response_cant_be_parsed:
tests/core/external_bookings/test_api.py#L228
pcapi.core.external_bookings.decorators.ExternalBookingDecoratorException: `catch_request_timeout` can only be applied to an instance method of a class inheriting from `ExternalBookingsClientAPI`
|
tests/core/external_bookings/test_api.py.test_should_successfully_book_an_event_ticket_using_venue_external_url:
tests/core/external_bookings/test_api.py#L245
pcapi.core.external_bookings.decorators.ExternalBookingDecoratorException: `catch_request_timeout` can only be applied to an instance method of a class inheriting from `ExternalBookingsClientAPI`
|
tests/core/external_bookings/test_api.py.test_raise_because_the_event_is_sold_out:
tests/core/external_bookings/test_api.py#L326
pcapi.core.external_bookings.decorators.ExternalBookingDecoratorException: `catch_request_timeout` can only be applied to an instance method of a class inheriting from `ExternalBookingsClientAPI`
|
tests/core/external_bookings/test_api.py.test_raise_because_there_are_no_more_seats:
tests/core/external_bookings/test_api.py#L348
pcapi.core.external_bookings.decorators.ExternalBookingDecoratorException: `catch_request_timeout` can only be applied to an instance method of a class inheriting from `ExternalBookingsClientAPI`
|
tests/core/external_bookings/test_api.py.test_raise_because_there_is_an_unexpected_error:
tests/core/external_bookings/test_api.py#L370
pcapi.core.external_bookings.decorators.ExternalBookingDecoratorException: `catch_request_timeout` can only be applied to an instance method of a class inheriting from `ExternalBookingsClientAPI`
|
tests/core/external_bookings/test_api.py.test_uses_offer_address_when_available:
tests/core/external_bookings/test_api.py#L393
pcapi.core.external_bookings.decorators.ExternalBookingDecoratorException: `catch_request_timeout` can only be applied to an instance method of a class inheriting from `ExternalBookingsClientAPI`
|
Tests api / Pytest (tests/core --ignore=tests/core/bookings --ignore=tests/core/offers --ignore=tests/core/fi...
❌ Tests reported 10 failures
|
tests/routes/native/v1/bookings_test.py.test_bookings_with_external_event_booking_infos:
tests/routes/native/v1/bookings_test.py#L239
assert 500 == 200
+ where 500 = <WrapperTestResponse streamed [500 INTERNAL SERVER ERROR]>.status_code
|
tests/routes/native/v1/bookings_test.py.test_bookings_with_external_event_booking_and_remaining_quantity_unlimited:
tests/routes/native/v1/bookings_test.py#L313
assert 500 == 200
+ where 500 = <WrapperTestResponse streamed [500 INTERNAL SERVER ERROR]>.status_code
|
tests/routes/native/v1/bookings_test.py.test_bookings_with_external_event_booking_sold_out:
tests/routes/native/v1/bookings_test.py#L383
assert 500 == 400
+ where 500 = <WrapperTestResponse streamed [500 INTERNAL SERVER ERROR]>.status_code
|
tests/routes/native/v1/bookings_test.py.test_bookings_with_external_event_booking_not_enough_quantity:
tests/routes/native/v1/bookings_test.py#L418
assert 500 == 400
+ where 500 = <WrapperTestResponse streamed [500 INTERNAL SERVER ERROR]>.status_code
|
tests/routes/native/v1/bookings_test.py.test_bookings_with_external_event_booking_when_response_fields_are_too_long:
tests/routes/native/v1/bookings_test.py#L456
assert 500 == 400
+ where 500 = <WrapperTestResponse streamed [500 INTERNAL SERVER ERROR]>.status_code
|
tests/routes/native/v1/bookings_test.py.test_bookings_with_external_event_api_return_less_tickets_than_quantity:
tests/routes/native/v1/bookings_test.py#L519
assert 500 == 400
+ where 500 = <WrapperTestResponse streamed [500 INTERNAL SERVER ERROR]>.status_code
|
tests/routes/native/v1/bookings_test.py.test_bookings_with_external_event_api_return_nothing:
tests/routes/native/v1/bookings_test.py#L570
assert 500 == 400
+ where 500 = <WrapperTestResponse streamed [500 INTERNAL SERVER ERROR]>.status_code
|
tests/routes/native/v1/bookings_test.py.test_bookings_with_external_event_api_return_more_tickets_than_quantity:
tests/routes/native/v1/bookings_test.py#L609
assert 500 == 200
+ where 500 = <WrapperTestResponse streamed [500 INTERNAL SERVER ERROR]>.status_code
|
Tests api / Pytest (tests/routes -m 'not backoffice')
❌ Tests reported 8 failures
|
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 pro E2E / E2E tests and notifications
The "process_gcloudignore" option is true, but no .gcloudignore file was found. If you do not intend to process a gcloudignore file, set "process_gcloudignore" to false.
|
Tests api / Quality checks
Running tests api with europe-west1-docker.pkg.dev/passculture-infra-prod/pass-culture-artifact-registry/pcapi-tests:afcc02238142a730173960b48f7fe0f094a8e773
|
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:afcc02238142a730173960b48f7fe0f094a8e773
|
Tests pro E2E / E2E tests and notifications
Running e2e-tests with europe-west1-docker.pkg.dev/passculture-infra-prod/pass-culture-artifact-registry/pcapi:afcc02238142a730173960b48f7fe0f094a8e773
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
pass-culture~pass-culture-main~01CMDE.dockerbuild
|
156 KB |
|
pass-culture~pass-culture-main~1QJ86G.dockerbuild
|
81.3 KB |
|
pass-culture~pass-culture-main~DQH1O6.dockerbuild
|
91.6 KB |
|
pcapi-afcc02238142a730173960b48f7fe0f094a8e773.tar
Expired
|
297 MB |
|
pcapi-console-afcc02238142a730173960b48f7fe0f094a8e773.tar
Expired
|
480 MB |
|
pcapi-tests-afcc02238142a730173960b48f7fe0f094a8e773.tar
Expired
|
528 MB |
|