Skip to content

fix: don't return 500 on conflict for POST /admin/identities #3091

fix: don't return 500 on conflict for POST /admin/identities

fix: don't return 500 on conflict for POST /admin/identities #3091

Triggered via pull request August 16, 2023 15:01
Status Cancelled
Total duration 8m 19s
Artifacts 1

ci.yaml

on: pull_request
Run tests and lints
5m 45s
Run tests and lints
Matrix: Run end-to-end tests
Matrix: Run Playwright end-to-end tests
Build CLI docs
0s
Build CLI docs
Generate changelog
0s
Generate changelog
Generate release
0s
Generate release
Draft newsletter
0s
Draft newsletter
Render version schema
0s
Render version schema
Release SDKs
0s
Release SDKs
Pending approval Slack notification
0s
Pending approval Slack notification
Send newsletter
0s
Send newsletter
Fit to window
Zoom out
Zoom in

Annotations

18 errors, 13 warnings, and 1 notice
[Mobile Chrome] › app_login.spec.ts:53:7 › Registration › register twice: test/e2e/playwright/tests/app_login.spec.ts#L43
1) [Mobile Chrome] › app_login.spec.ts:53:7 › Registration › register twice ────────────────────── Error: page.goto: net::ERR_CONNECTION_REFUSED at http://localhost:4457/Registration =========================== logs =========================== navigating to "http://localhost:4457/Registration", waiting until "load" ============================================================ 41 | 42 | async function testRegistration(page: Page, username: string) { > 43 | await page.goto("Registration") | ^ 44 | return testRegistrationOrLogin(page, username) 45 | } 46 | at testRegistration (/home/runner/work/kratos/kratos/test/e2e/playwright/tests/app_login.spec.ts:43:14) at /home/runner/work/kratos/kratos/test/e2e/playwright/tests/app_login.spec.ts:54:11
[Mobile Chrome] › app_login.spec.ts:53:7 › Registration › register twice: test/e2e/playwright/tests/app_login.spec.ts#L43
1) [Mobile Chrome] › app_login.spec.ts:53:7 › Registration › register twice ────────────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: page.goto: net::ERR_CONNECTION_REFUSED at http://localhost:4457/Registration =========================== logs =========================== navigating to "http://localhost:4457/Registration", waiting until "load" ============================================================ 41 | 42 | async function testRegistration(page: Page, username: string) { > 43 | await page.goto("Registration") | ^ 44 | return testRegistrationOrLogin(page, username) 45 | } 46 | at testRegistration (/home/runner/work/kratos/kratos/test/e2e/playwright/tests/app_login.spec.ts:43:14) at /home/runner/work/kratos/kratos/test/e2e/playwright/tests/app_login.spec.ts:54:11
[Mobile Chrome] › app_login.spec.ts:53:7 › Registration › register twice: test/e2e/playwright/tests/app_login.spec.ts#L43
1) [Mobile Chrome] › app_login.spec.ts:53:7 › Registration › register twice ────────────────────── Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: page.goto: net::ERR_CONNECTION_REFUSED at http://localhost:4457/Registration =========================== logs =========================== navigating to "http://localhost:4457/Registration", waiting until "load" ============================================================ 41 | 42 | async function testRegistration(page: Page, username: string) { > 43 | await page.goto("Registration") | ^ 44 | return testRegistrationOrLogin(page, username) 45 | } 46 | at testRegistration (/home/runner/work/kratos/kratos/test/e2e/playwright/tests/app_login.spec.ts:43:14) at /home/runner/work/kratos/kratos/test/e2e/playwright/tests/app_login.spec.ts:54:11
[Mobile Chrome] › app_login.spec.ts:59:7 › Registration › register: test/e2e/playwright/tests/app_login.spec.ts#L43
2) [Mobile Chrome] › app_login.spec.ts:59:7 › Registration › register, then login ──────────────── Error: page.goto: net::ERR_CONNECTION_REFUSED at http://localhost:4457/Registration =========================== logs =========================== navigating to "http://localhost:4457/Registration", waiting until "load" ============================================================ 41 | 42 | async function testRegistration(page: Page, username: string) { > 43 | await page.goto("Registration") | ^ 44 | return testRegistrationOrLogin(page, username) 45 | } 46 | at testRegistration (/home/runner/work/kratos/kratos/test/e2e/playwright/tests/app_login.spec.ts:43:14) at /home/runner/work/kratos/kratos/test/e2e/playwright/tests/app_login.spec.ts:60:11
[Mobile Chrome] › app_login.spec.ts:59:7 › Registration › register: test/e2e/playwright/tests/app_login.spec.ts#L43
2) [Mobile Chrome] › app_login.spec.ts:59:7 › Registration › register, then login ──────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: page.goto: net::ERR_CONNECTION_REFUSED at http://localhost:4457/Registration =========================== logs =========================== navigating to "http://localhost:4457/Registration", waiting until "load" ============================================================ 41 | 42 | async function testRegistration(page: Page, username: string) { > 43 | await page.goto("Registration") | ^ 44 | return testRegistrationOrLogin(page, username) 45 | } 46 | at testRegistration (/home/runner/work/kratos/kratos/test/e2e/playwright/tests/app_login.spec.ts:43:14) at /home/runner/work/kratos/kratos/test/e2e/playwright/tests/app_login.spec.ts:60:11
[Mobile Chrome] › app_login.spec.ts:59:7 › Registration › register: test/e2e/playwright/tests/app_login.spec.ts#L43
2) [Mobile Chrome] › app_login.spec.ts:59:7 › Registration › register, then login ──────────────── Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: page.goto: net::ERR_CONNECTION_REFUSED at http://localhost:4457/Registration =========================== logs =========================== navigating to "http://localhost:4457/Registration", waiting until "load" ============================================================ 41 | 42 | async function testRegistration(page: Page, username: string) { > 43 | await page.goto("Registration") | ^ 44 | return testRegistrationOrLogin(page, username) 45 | } 46 | at testRegistration (/home/runner/work/kratos/kratos/test/e2e/playwright/tests/app_login.spec.ts:43:14) at /home/runner/work/kratos/kratos/test/e2e/playwright/tests/app_login.spec.ts:60:11
[Mobile Chrome] › app_login.spec.ts:65:7 › Registration › register: test/e2e/playwright/tests/app_login.spec.ts#L66
3) [Mobile Chrome] › app_login.spec.ts:65:7 › Registration › register, cancel, register ────────── Error: page.goto: net::ERR_CONNECTION_REFUSED at http://localhost:4457/Registration =========================== logs =========================== navigating to "http://localhost:4457/Registration", waiting until "load" ============================================================ 64 | 65 | test("register, cancel, register", async ({ page }) => { > 66 | await page.goto("Registration") | ^ 67 | 68 | let popupPromise = page.waitForEvent("popup") 69 | await page.getByText(/sign (up|in) with ory/i).click() at /home/runner/work/kratos/kratos/test/e2e/playwright/tests/app_login.spec.ts:66:16
[Mobile Chrome] › app_login.spec.ts:65:7 › Registration › register: test/e2e/playwright/tests/app_login.spec.ts#L66
3) [Mobile Chrome] › app_login.spec.ts:65:7 › Registration › register, cancel, register ────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: page.goto: net::ERR_CONNECTION_REFUSED at http://localhost:4457/Registration =========================== logs =========================== navigating to "http://localhost:4457/Registration", waiting until "load" ============================================================ 64 | 65 | test("register, cancel, register", async ({ page }) => { > 66 | await page.goto("Registration") | ^ 67 | 68 | let popupPromise = page.waitForEvent("popup") 69 | await page.getByText(/sign (up|in) with ory/i).click() at /home/runner/work/kratos/kratos/test/e2e/playwright/tests/app_login.spec.ts:66:16
[Mobile Chrome] › app_login.spec.ts:65:7 › Registration › register: test/e2e/playwright/tests/app_login.spec.ts#L66
3) [Mobile Chrome] › app_login.spec.ts:65:7 › Registration › register, cancel, register ────────── Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: page.goto: net::ERR_CONNECTION_REFUSED at http://localhost:4457/Registration =========================== logs =========================== navigating to "http://localhost:4457/Registration", waiting until "load" ============================================================ 64 | 65 | test("register, cancel, register", async ({ page }) => { > 66 | await page.goto("Registration") | ^ 67 | 68 | let popupPromise = page.waitForEvent("popup") 69 | await page.getByText(/sign (up|in) with ory/i).click() at /home/runner/work/kratos/kratos/test/e2e/playwright/tests/app_login.spec.ts:66:16
[Mobile Chrome] › app_login.spec.ts:87:7 › Login › login twice: test/e2e/playwright/tests/app_login.spec.ts#L48
4) [Mobile Chrome] › app_login.spec.ts:87:7 › Login › login twice ──────────────────────────────── Error: page.goto: net::ERR_CONNECTION_REFUSED at http://localhost:4457/Login =========================== logs =========================== navigating to "http://localhost:4457/Login", waiting until "load" ============================================================ 46 | 47 | async function testLogin(page: Page, username: string) { > 48 | await page.goto("Login") | ^ 49 | return testRegistrationOrLogin(page, username) 50 | } 51 | at testLogin (/home/runner/work/kratos/kratos/test/e2e/playwright/tests/app_login.spec.ts:48:14) at /home/runner/work/kratos/kratos/test/e2e/playwright/tests/app_login.spec.ts:88:11
Run Playwright end-to-end tests (cockroach)
The operation was canceled.
Run Playwright end-to-end tests (mysql)
The operation was canceled.
Run Playwright end-to-end tests (sqlite)
The operation was canceled.
Run end-to-end tests (sqlite)
The operation was canceled.
Run tests and lints
The operation was canceled.
Run end-to-end tests (cockroach)
The operation was canceled.
Run end-to-end tests (postgres)
The operation was canceled.
Run end-to-end tests (mysql)
The operation was canceled.
Generate SDKs
The `set-output` 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/
Generate SDKs
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-go@v2, actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Run Playwright end-to-end tests (postgres)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/upload-artifact@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Run Playwright end-to-end tests (cockroach)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Run Playwright end-to-end tests (mysql)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Run Playwright end-to-end tests (sqlite)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Run end-to-end tests (sqlite)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Run tests and lints
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, golangci/golangci-lint-action@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Run tests and lints
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/
Run tests and lints
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/
Run end-to-end tests (cockroach)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Run end-to-end tests (postgres)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Run end-to-end tests (mysql)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
🎭 Playwright Run Summary
6 failed [Mobile Chrome] › app_login.spec.ts:53:7 › Registration › register twice ─────────────────────── [Mobile Chrome] › app_login.spec.ts:59:7 › Registration › register, then login ───────────────── [Mobile Chrome] › app_login.spec.ts:65:7 › Registration › register, cancel, register ─────────── [Mobile Chrome] › app_login.spec.ts:87:7 › Login › login twice ───────────────────────────────── [Mobile Chrome] › app_login.spec.ts:93:7 › Login › login, then register ──────────────────────── [Mobile Chrome] › app_login.spec.ts:99:7 › Login › login, cancel, login ────────────────────────

Artifacts

Produced during runtime
Name Size
logs Expired
369 KB