Skip to content

(PC-34083)[API] fix: pro: draft offer: always check if EAN is used #10213

(PC-34083)[API] fix: pro: draft offer: always check if EAN is used

(PC-34083)[API] fix: pro: draft offer: always check if EAN is used #10213

Status Failure
Total duration 13m 37s
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:71457afe5e60c0cb9336640f2d3d9983a403d2dd
3m 50s
[pcapi-tests] build docker image. / Build pcapi-tests:71457afe5e60c0cb9336640f2d3d9983a403d2dd
[pcapi] build docker image.  /  Build pcapi:71457afe5e60c0cb9336640f2d3d9983a403d2dd
2m 19s
[pcapi] build docker image. / Build pcapi:71457afe5e60c0cb9336640f2d3d9983a403d2dd
[pcapi-console] build docker image.  /  Build pcapi-console:71457afe5e60c0cb9336640f2d3d9983a403d2dd
3m 41s
[pcapi-console] build docker image. / Build pcapi-console:71457afe5e60c0cb9336640f2d3d9983a403d2dd
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 pr preview backend  /  deploy_on_firebase
4m 27s
[PRO] Deploy PR version for validation pr preview backend / deploy_on_firebase
[PRO] Deploy PR version for validation with testing backend  /  deploy_on_firebase
[PRO] Deploy PR version for validation with testing backend / deploy_on_firebase
Dependabot  /  dependabot
Dependabot / dependabot
Matrix: Tests api / Pytest
Tests api  /  Quality checks
3m 7s
Tests api / Quality checks
Tests api  /  Pylint
3m 52s
Tests api / Pylint
Tests api  /  Test database schema
3m 15s
Tests api / Test database schema
Tests pro E2E  /  E2E tests and notifications
10m 11s
Tests pro E2E / E2E tests and notifications
Update api client template  /  Update API Client template
5m 16s
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
Merge Allure Reports and Push to Allure Repository
0s
Merge Allure Reports and Push to Allure Repository
Deploy PullRequest to testing environment  /  Deploy pullrequest
Deploy PullRequest to testing environment / Deploy pullrequest
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 3 notices
tests/routes/pro/patch_draft_offer_test.py.test_patch_draft_offer_without_product_with_new_ean_should_succeed: tests/routes/pro/patch_draft_offer_test.py#L51
assert 400 == 200 + where 400 = <WrapperTestResponse streamed [400 BAD REQUEST]>.status_code
Tests api / Pytest (tests/routes -m 'not backoffice')
❌ Tests reported 1 failures
Tests api / Quality checks
Running tests api with europe-west1-docker.pkg.dev/passculture-infra-prod/pass-culture-artifact-registry/pcapi-tests:71457afe5e60c0cb9336640f2d3d9983a403d2dd
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:71457afe5e60c0cb9336640f2d3d9983a403d2dd
Tests pro E2E / E2E tests and notifications
Running e2e-tests with europe-west1-docker.pkg.dev/passculture-infra-prod/pass-culture-artifact-registry/pcapi:71457afe5e60c0cb9336640f2d3d9983a403d2dd

Artifacts

Produced during runtime
Name Size
pass-culture~pass-culture-main~GX0YNL.dockerbuild
82.3 KB
pass-culture~pass-culture-main~NZGEUZ.dockerbuild
92.7 KB
pass-culture~pass-culture-main~S574KO.dockerbuild
158 KB
pcapi-71457afe5e60c0cb9336640f2d3d9983a403d2dd.tar Expired
302 MB
pcapi-console-71457afe5e60c0cb9336640f2d3d9983a403d2dd.tar Expired
487 MB
pcapi-tests-71457afe5e60c0cb9336640f2d3d9983a403d2dd.tar Expired
533 MB