Skip to content

(PC-31472)[BO] chore: migrate offerer part of BO to atomic #4776

(PC-31472)[BO] chore: migrate offerer part of BO to atomic

(PC-31472)[BO] chore: migrate offerer part of BO to atomic #4776

Triggered via pull request September 19, 2024 15:41
Status Failure
Total duration 16m 46s
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:09172e4c90eb62846240685c11d32db2d92db407
3m 40s
[pcapi-tests] build docker image. / Build pcapi-tests:09172e4c90eb62846240685c11d32db2d92db407
[pcapi] build docker image.  /  Build pcapi:09172e4c90eb62846240685c11d32db2d92db407
2m 38s
[pcapi] build docker image. / Build pcapi:09172e4c90eb62846240685c11d32db2d92db407
[pcapi-console] build docker image.  /  Build pcapi-console:09172e4c90eb62846240685c11d32db2d92db407
3m 13s
[pcapi-console] build docker image. / Build pcapi-console:09172e4c90eb62846240685c11d32db2d92db407
MyPy cop  /  MyPy cop test
30s
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 37s
Tests api / Quality checks
Tests api  /  Pylint
5m 29s
Tests api / Pylint
Tests api  /  Test database schema
2m 59s
Tests api / Test database schema
Tests pro E2E  /  E2E tests and notifications
12m 16s
Tests pro E2E / E2E tests and notifications
Update api client template  /  Update API Client template
4m 54s
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

3 errors, 48 warnings, and 3 notices
tests/routes/backoffice/offerers_test.py.test_list_filtering_by_status[OTHER-400-expected_users_emails6]: tests/routes/backoffice/offerers_test.py#L2885
Failed: 4 queries executed, 3 expected Captured queries were: 1. SELECT user_session.id AS user_session_id, user_session."userId" AS "user_session_userId", user_session.uuid AS user_session_uuid FROM user_session WHERE user_session."userId" = 3030 AND user_session.uuid = c8126f71-9e3b-460b-925b-94b27ac5b3c7 2. SELECT "user".id AS user_id, "user".email AS user_email, "user"."firstName" AS "user_firstName", "user"."lastName" AS "user_lastName", "user".roles AS user_roles, permission_1.id AS permission_1_id, permission_1.name AS permission_1_name, permission_1.category AS permission_1_category, role_1.id AS role_1_id, role_1.name AS role_1_name, backoffice_user_profile_1.id AS backoffice_user_profile_1_id, backoffice_user_profile_1."userId" AS "backoffice_user_profile_1_userId", backoffice_user_profile_1.preferences AS backoffice_user_profile_1_preferences FROM "user" LEFT OUTER JOIN backoffice_user_profile AS backoffice_user_profile_1 ON "user".id = backoffice_user_profile_1."userId" LEFT OUTER JOIN (role_backoffice_profile AS role_backoffice_profile_1 JOIN role AS role_1 ON role_1.id = role_backoffice_profile_1."roleId") ON backoffice_user_profile_1.id = role_backoffice_profile_1."profileId" LEFT OUTER JOIN (role_permission AS role_permission_1 JOIN permission AS permission_1 ON permission_1.id = role_permission_1."permissionId") ON role_1.id = role_permission_1."roleId" WHERE "user".id = 3030 3. SELECT offerer_tag.id AS offerer_tag_id, offerer_tag.name AS offerer_tag_name, offerer_tag.label AS offerer_tag_label, offerer_tag.description AS offerer_tag_description FROM offerer_tag JOIN offerer_tag_category_mapping ON offerer_tag.id = offerer_tag_category_mapping."tagId" JOIN offerer_tag_category ON offerer_tag_category.id = offerer_tag_category_mapping."categoryId" WHERE offerer_tag_category.name = homologation ORDER BY offerer_tag.label 4. ROLLBACK TO SAVEPOINT sa_savepoint_437
tests/routes/backoffice/offerers_test.py.test_list_filtering_by_offerer_status[OTHER-400-expected_users_emails6]: tests/routes/backoffice/offerers_test.py#L2970
Failed: 4 queries executed, 3 expected Captured queries were: 1. SELECT user_session.id AS user_session_id, user_session."userId" AS "user_session_userId", user_session.uuid AS user_session_uuid FROM user_session WHERE user_session."userId" = 3097 AND user_session.uuid = a0a416ae-5185-4bfc-8a3a-a9ac666e8088 2. SELECT "user".id AS user_id, "user".email AS user_email, "user"."firstName" AS "user_firstName", "user"."lastName" AS "user_lastName", "user".roles AS user_roles, permission_1.id AS permission_1_id, permission_1.name AS permission_1_name, permission_1.category AS permission_1_category, role_1.id AS role_1_id, role_1.name AS role_1_name, backoffice_user_profile_1.id AS backoffice_user_profile_1_id, backoffice_user_profile_1."userId" AS "backoffice_user_profile_1_userId", backoffice_user_profile_1.preferences AS backoffice_user_profile_1_preferences FROM "user" LEFT OUTER JOIN backoffice_user_profile AS backoffice_user_profile_1 ON "user".id = backoffice_user_profile_1."userId" LEFT OUTER JOIN (role_backoffice_profile AS role_backoffice_profile_1 JOIN role AS role_1 ON role_1.id = role_backoffice_profile_1."roleId") ON backoffice_user_profile_1.id = role_backoffice_profile_1."profileId" LEFT OUTER JOIN (role_permission AS role_permission_1 JOIN permission AS permission_1 ON permission_1.id = role_permission_1."permissionId") ON role_1.id = role_permission_1."roleId" WHERE "user".id = 3097 3. SELECT offerer_tag.id AS offerer_tag_id, offerer_tag.name AS offerer_tag_name, offerer_tag.label AS offerer_tag_label, offerer_tag.description AS offerer_tag_description FROM offerer_tag JOIN offerer_tag_category_mapping ON offerer_tag.id = offerer_tag_category_mapping."tagId" JOIN offerer_tag_category ON offerer_tag_category.id = offerer_tag_category_mapping."categoryId" WHERE offerer_tag_category.name = homologation ORDER BY offerer_tag.label 4. ROLLBACK TO SAVEPOINT sa_savepoint_437
Tests api / Pytest (tests/routes/backoffice -m 'backoffice')
❌ Tests reported 2 failures
Tests api / Quality checks
The following actions uses node12 which is deprecated and will be forced to run on node16: docker/login-action@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Tests api / Quality checks
The following actions use a deprecated Node.js version and will be forced to run on node20: docker/login-action@v1. 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
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Tests api / Quality checks
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Tests api / Quality checks
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Tests api / Test database schema
The following actions uses node12 which is deprecated and will be forced to run on node16: docker/login-action@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Tests api / Test database schema
The following actions use a deprecated Node.js version and will be forced to run on node20: docker/login-action@v1. 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 / Test database schema
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Tests api / Test database schema
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Tests api / Test database schema
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Update api client template / Update API Client template
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-node@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
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/setup-node@v2, 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 / Pytest (tests --ignore=tests/core --ignore=tests/routes)
The following actions uses node12 which is deprecated and will be forced to run on node16: docker/login-action@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Tests api / Pytest (tests --ignore=tests/core --ignore=tests/routes)
The following actions use a deprecated Node.js version and will be forced to run on node20: docker/login-action@v1. 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 / Pytest (tests --ignore=tests/core --ignore=tests/routes)
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Tests api / Pytest (tests --ignore=tests/core --ignore=tests/routes)
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Tests api / Pytest (tests --ignore=tests/core --ignore=tests/routes)
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Tests api / Pytest (tests/core --ignore=tests/core/bookings --ignore=tests/core/offers --ignore=tests/core/fi...
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Tests api / Pytest (tests/core --ignore=tests/core/bookings --ignore=tests/core/offers --ignore=tests/core/fi...
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Tests api / Pytest (tests/core --ignore=tests/core/bookings --ignore=tests/core/offers --ignore=tests/core/fi...
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Tests api / Pytest (tests/core/bookings tests/core/offers tests/core/finance)
The following actions uses node12 which is deprecated and will be forced to run on node16: docker/login-action@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Tests api / Pytest (tests/core/bookings tests/core/offers tests/core/finance)
The following actions use a deprecated Node.js version and will be forced to run on node20: docker/login-action@v1. 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 / Pytest (tests/core/bookings tests/core/offers tests/core/finance)
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Tests api / Pytest (tests/core/bookings tests/core/offers tests/core/finance)
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Tests api / Pytest (tests/core/bookings tests/core/offers tests/core/finance)
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Tests api / Pylint
The following actions uses node12 which is deprecated and will be forced to run on node16: docker/login-action@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Tests api / Pylint
The following actions use a deprecated Node.js version and will be forced to run on node20: docker/login-action@v1. 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 / Pylint
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Tests api / Pylint
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Tests api / Pylint
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Tests api / Pytest (tests/routes -m 'not backoffice')
The following actions uses node12 which is deprecated and will be forced to run on node16: docker/login-action@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Tests api / Pytest (tests/routes -m 'not backoffice')
The following actions use a deprecated Node.js version and will be forced to run on node20: docker/login-action@v1. 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 / Pytest (tests/routes -m 'not backoffice')
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Tests api / Pytest (tests/routes -m 'not backoffice')
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Tests api / Pytest (tests/routes -m 'not backoffice')
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Tests pro E2E / E2E tests and notifications
The following actions uses node12 which is deprecated and will be forced to run on node16: docker/login-action@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-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, docker/login-action@v1, actions/setup-node@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 pro E2E / E2E tests and notifications
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Tests pro E2E / E2E tests and notifications
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Tests pro E2E / E2E tests and notifications
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Tests api / Pytest (tests/routes/backoffice -m 'backoffice')
The following actions uses node12 which is deprecated and will be forced to run on node16: docker/login-action@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Tests api / Pytest (tests/routes/backoffice -m 'backoffice')
The following actions use a deprecated Node.js version and will be forced to run on node20: docker/login-action@v1. 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 / Pytest (tests/routes/backoffice -m 'backoffice')
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Tests api / Pytest (tests/routes/backoffice -m 'backoffice')
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Tests api / Pytest (tests/routes/backoffice -m 'backoffice')
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Tests api / Quality checks
Running tests api with europe-west1-docker.pkg.dev/passculture-infra-prod/pass-culture-artifact-registry/pcapi-tests:09172e4c90eb62846240685c11d32db2d92db407
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:09172e4c90eb62846240685c11d32db2d92db407
Tests pro E2E / E2E tests and notifications
Running e2e-tests with europe-west1-docker.pkg.dev/passculture-infra-prod/pass-culture-artifact-registry/pcapi:09172e4c90eb62846240685c11d32db2d92db407

Artifacts

Produced during runtime
Name Size
pass-culture~pass-culture-main~JXT6BC.dockerbuild
88.9 KB
pass-culture~pass-culture-main~KG9EMA.dockerbuild
156 KB
pass-culture~pass-culture-main~NYTHGA.dockerbuild
79.4 KB
pcapi-09172e4c90eb62846240685c11d32db2d92db407.tar Expired
295 MB
pcapi-console-09172e4c90eb62846240685c11d32db2d92db407.tar Expired
469 MB
pcapi-tests-09172e4c90eb62846240685c11d32db2d92db407.tar Expired
526 MB