Skip to content

(PC-32571)[API] chore: filter product extra data to copy in offer #6118

(PC-32571)[API] chore: filter product extra data to copy in offer

(PC-32571)[API] chore: filter product extra data to copy in offer #6118

Triggered via pull request October 21, 2024 15:12
Status Cancelled
Total duration 12m 45s
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:46ee95a5d0f0522db2a0a3efee97f621028f8b63
3m 48s
[pcapi-tests] build docker image. / Build pcapi-tests:46ee95a5d0f0522db2a0a3efee97f621028f8b63
[pcapi] build docker image.  /  Build pcapi:46ee95a5d0f0522db2a0a3efee97f621028f8b63
2m 17s
[pcapi] build docker image. / Build pcapi:46ee95a5d0f0522db2a0a3efee97f621028f8b63
[pcapi-console] build docker image.  /  Build pcapi-console:46ee95a5d0f0522db2a0a3efee97f621028f8b63
3m 41s
[pcapi-console] build docker image. / Build pcapi-console:46ee95a5d0f0522db2a0a3efee97f621028f8b63
MyPy cop  /  MyPy cop test
32s
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 33s
Tests api / Quality checks
Tests api  /  Pylint
4m 9s
Tests api / Pylint
Tests api  /  Test database schema
3m 15s
Tests api / Test database schema
Tests pro E2E  /  E2E tests and notifications
7m 23s
Tests pro E2E / E2E tests and notifications
Update api client template  /  Update API Client template
1m 52s
Update api client template / Update API Client template
Tests pro E2E migrations  /  E2E tests and notifications
9m 1s
Tests pro E2E migrations / E2E tests and notifications
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

49 errors, 4 warnings, and 4 notices
tests/local_providers/allocine_stocks_test.py.test_should_create_one_offer_with_movie_info: tests/local_providers/allocine_stocks_test.py#L88
assert {'visa': '108245'} == {'cast': ['Sacha Guitry', 'Sarah Bernhardt', 'Anatole France'], 'type': 'FEATURE_FILM', 'visa': '108245', 'title': 'Ceux de chez nous', 'genres': ['DOCUMENTARY'], 'credits': [{'person': {'lastName': 'Guitry', 'firstName': 'Sacha'}, 'position': {'name': 'DIRECTOR'}}], 'runtime': 21, 'theater': {'allocine_room_id': 'PXXXXX', 'allocine_movie_id': 131136}, 'backlink': 'https://www.allocine.fr/film/fichefilm_gen_cfilm=131136.html', 'synopsis': "Alors que la Première Guerre Mondiale a éclaté, et en réponse aux propos des intellectuels allemands de l'époque, Sacha Guitry filme les grands artistes de l'époque qui contribuent au rayonnement culturel de la France.", 'companies': [{'name': 'Les Acacias', 'activity': 'Distribution'}, {'name': 'Les Acacias', 'activity': 'Distribution'}], 'countries': ['France'], 'posterUrl': 'https://fr.web.img2.acsta.net/medias/nmedia/18/78/15/02/19447537.jpg', 'allocineId': 131136, 'releaseDate': '2023-11-01', 'originalTitle': 'Ceux de chez nous', 'stageDirector': 'Sacha Guitry', 'productionYear': 1915} Common items: {'visa': '108245'} Right contains 17 more items: {'allocineId': 131136, 'backlink': 'https://www.allocine.fr/film/fichefilm_gen_cfilm=131136.html', 'cast': ['Sacha Guitry', 'Sarah Bernhardt', 'Anatole France'], 'companies': [{'activity': 'Distribution', 'name': 'Les Acacias'}, {'activity': 'Distribution', 'name': 'Les Acacias'}], 'countries': ['France'], 'credits': [{'person': {'firstName': 'Sacha', 'lastName': 'Guitry'}, 'position': {'name': 'DIRECTOR'}}], 'genres': ['DOCUMENTARY'], 'originalTitle': 'Ceux de chez nous', 'posterUrl': 'https://fr.web.img2.acsta.net/medias/nmedia/18/78/15/02/19447537.jpg', 'productionYear': 1915, 'releaseDate': '2023-11-01', 'runtime': 21, 'stageDirector': 'Sacha Guitry', 'synopsis': 'Alors que la Première Guerre Mondiale a éclaté, et en réponse ' "aux propos des intellectuels allemands de l'époque, Sacha Guitry " "filme les grands artistes de l'époque qui contribuent au " 'rayonnement culturel de la France.', 'theater': {'allocine_movie_id': 131136, 'allocine_room_id': 'PXXXXX'}, 'title': 'Ceux de chez nous', 'type': 'FEATURE_FILM'} Full diff: { - 'allocineId': 131136, - 'backlink': 'https://www.allocine.fr/film/fichefilm_gen_cfilm=131136.html', - 'cast': [ - 'Sacha Guitry', - 'Sarah Bernhardt', - 'Anatole France', - ], - 'companies': [ - { - 'activity': 'Distribution', - 'name': 'Les Acacias', - }, - { - 'activity': 'Distribution', - 'name': 'Les Acacias', - }, - ], - 'countries': [ - 'France', - ], - 'credits': [ - { - 'person': { - 'firstName': 'Sacha', - 'lastName': 'Guitry', - }, - 'position': { - 'name': 'DIRECTOR', - }, - }, - ], - 'genres': [ - 'DOCUMENTARY', - ], - 'originalTitle': 'Ceux de chez nous', - 'posterUrl': 'https://fr.web.img2.acsta.net/medias/nmedia/18/78/15/02/19447537.jpg', - 'productionYear': 1915, - 'releaseDate': '2023-11-01', - 'runtime': 21, - 'stageDirector': 'Sacha Guitry', - 'synopsis': 'Alors que la Première Guerre Mondiale a éclaté, et en réponse aux propos ' - "des intellectuels allemands de l'époque, Sacha Guitry filme les grands " - "artistes de l'époque qui contribuent au rayonnement culturel de la " - 'France.', - 'theater': { - 'allocine_movie_id': 131136, - 'allocine_room_id': 'PXXXXX', - }, - 'title': 'Ceux de chez nous', - 'type': 'FEATURE_FILM', 'visa': '108245', }
tests/local_providers/synchronize_provider_api_test.py.test_execution: tests/local_providers/synchronize_provider_api_test.py#L80
AssertionError: assert {} == {'prix_livre': '8.01'} Right contains 1 more item: {'prix_livre': '8.01'} Full diff: + {} - { - 'prix_livre': '8.01', - }
Tests api / Pytest (tests --ignore=tests/core --ignore=tests/routes)
❌ Tests reported 37 failures
tests/core/providers/test_api.py.test_execution: tests/core/providers/test_api.py#L130
AssertionError: assert {} == {'prix_livre': 12} Right contains 1 more item: {'prix_livre': 12} Full diff: + {} - { - 'prix_livre': 12, - }
tests/core/providers/test_api.py.test_build_new_offers_from_stock_details: tests/core/providers/test_api.py#L238
AssertionError: assert {} == {'extra': 'data'} Right contains 1 more item: {'extra': 'data'} Full diff: + {} - { - 'extra': 'data', - }
tests/routes/pro/post_draft_offer_test.py.test_create_offer_record_store_cd_or_vinyl_with_valid_ean_code: tests/routes/pro/post_draft_offer_test.py#L157
AssertionError: assert {'ean': '1234567891234'} == {'gtl_id': '07000000', 'ean': '1234567891234'} Common items: {'ean': '1234567891234'} Right contains 1 more item: {'gtl_id': '07000000'} Full diff: { 'ean': '1234567891234', - 'gtl_id': '07000000', }
Tests api / Pytest (tests/routes -m 'not backoffice')
❌ Tests reported 1 failures
Tests api / Pytest (tests/routes/backoffice -m 'backoffice')
Canceling since a higher priority waiting request for '1 [on_pull_request] Initiate workflow-14689' exists
Tests api / Pytest (tests/routes/backoffice -m 'backoffice')
The operation was canceled.
Tests pro E2E migrations / E2E tests and notifications
Canceling since a higher priority waiting request for '1 [on_pull_request] Initiate workflow-14689' exists
Tests pro E2E migrations / E2E tests and notifications
The operation was canceled.
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 / Pytest (tests/routes/backoffice -m 'backoffice')
Docker network rm failed with exit code 1
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:46ee95a5d0f0522db2a0a3efee97f621028f8b63
Tests api / Quality checks
Running tests api with europe-west1-docker.pkg.dev/passculture-infra-prod/pass-culture-artifact-registry/pcapi-tests:46ee95a5d0f0522db2a0a3efee97f621028f8b63
Tests pro E2E / E2E tests and notifications
Running e2e-tests with europe-west1-docker.pkg.dev/passculture-infra-prod/pass-culture-artifact-registry/pcapi:46ee95a5d0f0522db2a0a3efee97f621028f8b63
Tests pro E2E migrations / E2E tests and notifications
Running e2e-tests with europe-west1-docker.pkg.dev/passculture-infra-prod/pass-culture-artifact-registry/pcapi:46ee95a5d0f0522db2a0a3efee97f621028f8b63

Artifacts

Produced during runtime
Name Size
pass-culture~pass-culture-main~4Q5KS1.dockerbuild
92.6 KB
pass-culture~pass-culture-main~U7A404.dockerbuild
158 KB
pass-culture~pass-culture-main~Z3FY42.dockerbuild
78.7 KB
pcapi-46ee95a5d0f0522db2a0a3efee97f621028f8b63.tar
293 MB
pcapi-console-46ee95a5d0f0522db2a0a3efee97f621028f8b63.tar
475 MB
pcapi-tests-46ee95a5d0f0522db2a0a3efee97f621028f8b63.tar
524 MB