(PC-32149)[API] feat: implement ubble v2 verification retry #7585
dev_on_pull_request_workflow.yml
on: pull_request
Init job
40s
Tests pro
/
...
/
Style quality check
Tests pro
/
Unit tests
[pcapi-tests] build docker image.
/
Build pcapi-tests:a857fd6202734631d3e0e8677dd8534010740663
3m 55s
[pcapi] build docker image.
/
Build pcapi:a857fd6202734631d3e0e8677dd8534010740663
2m 34s
[pcapi-console] build docker image.
/
Build pcapi-console:a857fd6202734631d3e0e8677dd8534010740663
3m 41s
MyPy cop
/
MyPy cop test
34s
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
2m 59s
Tests api
/
Pylint
3m 59s
Tests api
/
Test database schema
2m 52s
Update api client template
/
Update API Client template
4m 54s
Push pcapi docker image to registry
/
push-docker-image
Push pcapi-console docker image to registry
/
push-docker-image
Annotations
11 errors, 2 warnings, and 3 notices
tests/connectors/beneficiaries/ubble_test.py.test_start_identification:
tests/connectors/beneficiaries/ubble_test.py#L20
requests_mock.exceptions.NoMockAddress: No mock address: POST https://api.ubble.example.com/identifications/
|
tests/connectors/beneficiaries/ubble_test.py.test_start_identification_connection_error:
tests/connectors/beneficiaries/ubble_test.py#L73
requests_mock.exceptions.NoMockAddress: No mock address: POST https://api.ubble.example.com/identifications/
|
tests/connectors/beneficiaries/ubble_test.py.test_start_identification_http_error_status:
tests/connectors/beneficiaries/ubble_test.py#L96
requests_mock.exceptions.NoMockAddress: No mock address: POST https://api.ubble.example.com/identifications/
|
|
tests/connectors/recommendation_test.py.test_basics:
tests/connectors/recommendation_test.py#L89
sqlalchemy.exc.IntegrityError: (psycopg2.errors.UniqueViolation) duplicate key value violates unique constraint "user_pkey"
DETAIL: Key (id)=(1) already exists.
[SQL: INSERT INTO "user" ("isActive", id, activity, address, city, civility, comment, "culturalSurveyFilledDate", "culturalSurveyId", "dateCreated", "dateOfBirth", "departementCode", email, "externalIds", "extraData", "firstName", "hasSeenProTutorials", "idPieceNumber", "ineHash", "irisFranceId", "isEmailValidated", "lastConnectionDate", "lastName", married_name, "needsToFillCulturalSurvey", "notificationSubscriptions", password, "phoneNumber", "phoneValidationStatus", "postalCode", "recreditAmountToShow", roles, "schoolType", "validatedBirthDate") VALUES (%(isActive)s, %(id)s, %(activity)s, %(address)s, %(city)s, %(civility)s, %(comment)s, %(culturalSurveyFilledDate)s, %(culturalSurveyId)s, %(dateCreated)s, %(dateOfBirth)s, %(departementCode)s, %(email)s, %(externalIds)s, %(extraData)s, %(firstName)s, %(hasSeenProTutorials)s, %(idPieceNumber)s, %(ineHash)s, %(irisFranceId)s, %(isEmailValidated)s, %(lastConnectionDate)s, %(lastName)s, %(married_name)s, %(needsToFillCulturalSurvey)s, %(notificationSubscriptions)s, %(password)s, %(phoneNumber)s, %(phoneValidationStatus)s, %(postalCode)s, %(recreditAmountToShow)s, %(roles)s::VARCHAR(20)[], %(schoolType)s, %(validatedBirthDate)s)]
[parameters: {'isActive': True, 'id': 1, 'activity': None, 'address': '7 place des noces rouges', 'city': 'La Rochelle', 'civility': None, 'comment': None, 'culturalSurveyFilledDate': None, 'culturalSurveyId': None, 'dateCreated': datetime.datetime(2024, 11, 21, 14, 53, 30, 562351), 'dateOfBirth': datetime.date(1984, 11, 21), 'departementCode': None, 'email': 'jean.neige7@example.com', 'externalIds': '{}', 'extraData': '{}', 'firstName': 'Jean', 'hasSeenProTutorials': True, 'idPieceNumber': None, 'ineHash': None, 'irisFranceId': None, 'isEmailValidated': True, 'lastConnectionDate': None, 'lastName': 'Neige', 'married_name': None, 'needsToFillCulturalSurvey': True, 'notificationSubscriptions': '{"marketing_push": true, "marketing_email": true, "subscribed_themes": []}', 'password': <psycopg2.extensions.Binary object at 0x7fb45b9528e0>, 'phoneNumber': None, 'phoneValidationStatus': None, 'postalCode': '00741', 'recreditAmountToShow': None, 'roles': [], 'schoolType': None, 'validatedBirthDate': None}]
(Background on this error at: https://sqlalche.me/e/14/gkpj)
|
tests/connectors/recommendation_test.py.test_params:
tests/connectors/recommendation_test.py#L102
sqlalchemy.exc.IntegrityError: (psycopg2.errors.UniqueViolation) duplicate key value violates unique constraint "user_pkey"
DETAIL: Key (id)=(1) already exists.
[SQL: INSERT INTO "user" ("isActive", id, activity, address, city, civility, comment, "culturalSurveyFilledDate", "culturalSurveyId", "dateCreated", "dateOfBirth", "departementCode", email, "externalIds", "extraData", "firstName", "hasSeenProTutorials", "idPieceNumber", "ineHash", "irisFranceId", "isEmailValidated", "lastConnectionDate", "lastName", married_name, "needsToFillCulturalSurvey", "notificationSubscriptions", password, "phoneNumber", "phoneValidationStatus", "postalCode", "recreditAmountToShow", roles, "schoolType", "validatedBirthDate") VALUES (%(isActive)s, %(id)s, %(activity)s, %(address)s, %(city)s, %(civility)s, %(comment)s, %(culturalSurveyFilledDate)s, %(culturalSurveyId)s, %(dateCreated)s, %(dateOfBirth)s, %(departementCode)s, %(email)s, %(externalIds)s, %(extraData)s, %(firstName)s, %(hasSeenProTutorials)s, %(idPieceNumber)s, %(ineHash)s, %(irisFranceId)s, %(isEmailValidated)s, %(lastConnectionDate)s, %(lastName)s, %(married_name)s, %(needsToFillCulturalSurvey)s, %(notificationSubscriptions)s, %(password)s, %(phoneNumber)s, %(phoneValidationStatus)s, %(postalCode)s, %(recreditAmountToShow)s, %(roles)s::VARCHAR(20)[], %(schoolType)s, %(validatedBirthDate)s)]
[parameters: {'isActive': True, 'id': 1, 'activity': None, 'address': '8 place des noces rouges', 'city': 'La Rochelle', 'civility': None, 'comment': None, 'culturalSurveyFilledDate': None, 'culturalSurveyId': None, 'dateCreated': datetime.datetime(2024, 11, 21, 14, 53, 30, 824521), 'dateOfBirth': datetime.date(1984, 11, 21), 'departementCode': None, 'email': 'jean.neige8@example.com', 'externalIds': '{}', 'extraData': '{}', 'firstName': 'Jean', 'hasSeenProTutorials': True, 'idPieceNumber': None, 'ineHash': None, 'irisFranceId': None, 'isEmailValidated': True, 'lastConnectionDate': None, 'lastName': 'Neige', 'married_name': None, 'needsToFillCulturalSurvey': True, 'notificationSubscriptions': '{"marketing_push": true, "marketing_email": true, "subscribed_themes": []}', 'password': <psycopg2.extensions.Binary object at 0x7fb45b796040>, 'phoneNumber': None, 'phoneValidationStatus': None, 'postalCode': '17516', 'recreditAmountToShow': None, 'roles': [], 'schoolType': None, 'validatedBirthDate': None}]
(Background on this error at: https://sqlalche.me/e/14/gkpj)
|
tests/connectors/recommendation_test.py.test_timeout_failure:
tests/connectors/recommendation_test.py#L122
sqlalchemy.exc.IntegrityError: (psycopg2.errors.UniqueViolation) duplicate key value violates unique constraint "user_pkey"
DETAIL: Key (id)=(1) already exists.
[SQL: INSERT INTO "user" ("isActive", id, activity, address, city, civility, comment, "culturalSurveyFilledDate", "culturalSurveyId", "dateCreated", "dateOfBirth", "departementCode", email, "externalIds", "extraData", "firstName", "hasSeenProTutorials", "idPieceNumber", "ineHash", "irisFranceId", "isEmailValidated", "lastConnectionDate", "lastName", married_name, "needsToFillCulturalSurvey", "notificationSubscriptions", password, "phoneNumber", "phoneValidationStatus", "postalCode", "recreditAmountToShow", roles, "schoolType", "validatedBirthDate") VALUES (%(isActive)s, %(id)s, %(activity)s, %(address)s, %(city)s, %(civility)s, %(comment)s, %(culturalSurveyFilledDate)s, %(culturalSurveyId)s, %(dateCreated)s, %(dateOfBirth)s, %(departementCode)s, %(email)s, %(externalIds)s, %(extraData)s, %(firstName)s, %(hasSeenProTutorials)s, %(idPieceNumber)s, %(ineHash)s, %(irisFranceId)s, %(isEmailValidated)s, %(lastConnectionDate)s, %(lastName)s, %(married_name)s, %(needsToFillCulturalSurvey)s, %(notificationSubscriptions)s, %(password)s, %(phoneNumber)s, %(phoneValidationStatus)s, %(postalCode)s, %(recreditAmountToShow)s, %(roles)s::VARCHAR(20)[], %(schoolType)s, %(validatedBirthDate)s)]
[parameters: {'isActive': True, 'id': 1, 'activity': None, 'address': '9 place des noces rouges', 'city': 'La Rochelle', 'civility': None, 'comment': None, 'culturalSurveyFilledDate': None, 'culturalSurveyId': None, 'dateCreated': datetime.datetime(2024, 11, 21, 14, 53, 31, 431768), 'dateOfBirth': datetime.date(1984, 11, 21), 'departementCode': None, 'email': 'jean.neige9@example.com', 'externalIds': '{}', 'extraData': '{}', 'firstName': 'Jean', 'hasSeenProTutorials': True, 'idPieceNumber': None, 'ineHash': None, 'irisFranceId': None, 'isEmailValidated': True, 'lastConnectionDate': None, 'lastName': 'Neige', 'married_name': None, 'needsToFillCulturalSurvey': True, 'notificationSubscriptions': '{"marketing_push": true, "marketing_email": true, "subscribed_themes": []}', 'password': <psycopg2.extensions.Binary object at 0x7fb45b31fb40>, 'phoneNumber': None, 'phoneValidationStatus': None, 'postalCode': '02671', 'recreditAmountToShow': None, 'roles': [], 'schoolType': None, 'validatedBirthDate': None}]
(Background on this error at: https://sqlalche.me/e/14/gkpj)
|
tests/connectors/recommendation_test.py.test_generic_failure:
tests/connectors/recommendation_test.py#L133
sqlalchemy.exc.IntegrityError: (psycopg2.errors.UniqueViolation) duplicate key value violates unique constraint "user_pkey"
DETAIL: Key (id)=(1) already exists.
[SQL: INSERT INTO "user" ("isActive", id, activity, address, city, civility, comment, "culturalSurveyFilledDate", "culturalSurveyId", "dateCreated", "dateOfBirth", "departementCode", email, "externalIds", "extraData", "firstName", "hasSeenProTutorials", "idPieceNumber", "ineHash", "irisFranceId", "isEmailValidated", "lastConnectionDate", "lastName", married_name, "needsToFillCulturalSurvey", "notificationSubscriptions", password, "phoneNumber", "phoneValidationStatus", "postalCode", "recreditAmountToShow", roles, "schoolType", "validatedBirthDate") VALUES (%(isActive)s, %(id)s, %(activity)s, %(address)s, %(city)s, %(civility)s, %(comment)s, %(culturalSurveyFilledDate)s, %(culturalSurveyId)s, %(dateCreated)s, %(dateOfBirth)s, %(departementCode)s, %(email)s, %(externalIds)s, %(extraData)s, %(firstName)s, %(hasSeenProTutorials)s, %(idPieceNumber)s, %(ineHash)s, %(irisFranceId)s, %(isEmailValidated)s, %(lastConnectionDate)s, %(lastName)s, %(married_name)s, %(needsToFillCulturalSurvey)s, %(notificationSubscriptions)s, %(password)s, %(phoneNumber)s, %(phoneValidationStatus)s, %(postalCode)s, %(recreditAmountToShow)s, %(roles)s::VARCHAR(20)[], %(schoolType)s, %(validatedBirthDate)s)]
[parameters: {'isActive': True, 'id': 1, 'activity': None, 'address': '10 place des noces rouges', 'city': 'La Rochelle', 'civility': None, 'comment': None, 'culturalSurveyFilledDate': None, 'culturalSurveyId': None, 'dateCreated': datetime.datetime(2024, 11, 21, 14, 53, 31, 685548), 'dateOfBirth': datetime.date(1984, 11, 21), 'departementCode': None, 'email': 'jean.neige10@example.com', 'externalIds': '{}', 'extraData': '{}', 'firstName': 'Jean', 'hasSeenProTutorials': True, 'idPieceNumber': None, 'ineHash': None, 'irisFranceId': None, 'isEmailValidated': True, 'lastConnectionDate': None, 'lastName': 'Neige', 'married_name': None, 'needsToFillCulturalSurvey': True, 'notificationSubscriptions': '{"marketing_push": true, "marketing_email": true, "subscribed_themes": []}', 'password': <psycopg2.extensions.Binary object at 0x7fb45b8afd80>, 'phoneNumber': None, 'phoneValidationStatus': None, 'postalCode': '66607', 'recreditAmountToShow': None, 'roles': [], 'schoolType': None, 'validatedBirthDate': None}]
(Background on this error at: https://sqlalche.me/e/14/gkpj)
|
Tests api / Pytest (tests --ignore=tests/core --ignore=tests/routes)
❌ Tests reported 8 failures
|
tests/core/fraud/test_api.py.test_send_email_to_fraud_if_duplicated_beneficiary:
tests/core/fraud/test_api.py#L294
ValueError: unhandled Ubble status None for identification None
|
Tests api / Pytest (tests/core --ignore=tests/core/bookings --ignore=tests/core/offers --ignore=tests/core/fi...
❌ Tests reported 1 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 api / Quality checks
Running tests api with europe-west1-docker.pkg.dev/passculture-infra-prod/pass-culture-artifact-registry/pcapi-tests:a857fd6202734631d3e0e8677dd8534010740663
|
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:a857fd6202734631d3e0e8677dd8534010740663
|
Tests pro E2E / E2E tests and notifications
Running e2e-tests with europe-west1-docker.pkg.dev/passculture-infra-prod/pass-culture-artifact-registry/pcapi:a857fd6202734631d3e0e8677dd8534010740663
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
pass-culture~pass-culture-main~BBXOI2.dockerbuild
|
93.5 KB |
|
pass-culture~pass-culture-main~HQDKVC.dockerbuild
|
85.2 KB |
|
pass-culture~pass-culture-main~ZIVIZI.dockerbuild
|
159 KB |
|
pcapi-a857fd6202734631d3e0e8677dd8534010740663.tar
Expired
|
299 MB |
|
pcapi-console-a857fd6202734631d3e0e8677dd8534010740663.tar
Expired
|
482 MB |
|
pcapi-tests-a857fd6202734631d3e0e8677dd8534010740663.tar
Expired
|
529 MB |
|