Skip to content

feat: rework the OTP code submit count mechanism #5126

feat: rework the OTP code submit count mechanism

feat: rework the OTP code submit count mechanism #5126

Re-run triggered December 19, 2024 17:51
Status Success
Total duration 46m 21s
Artifacts 1

ci.yaml

on: pull_request
Run tests and lints
29m 2s
Run tests and lints
Matrix: Run end-to-end tests
Matrix: Run Playwright end-to-end tests
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

9 errors, 19 warnings, and 4 notices
[chromium] › desktop/identifier_first/oidc.login.spec.ts:78:9 › account enumeration protection on › login: test/e2e/playwright/tests/desktop/identifier_first/oidc.login.spec.ts#L1
1) [chromium] › desktop/identifier_first/oidc.login.spec.ts:78:9 › account enumeration protection on › login Test timeout of 30000ms exceeded.
[chromium] › desktop/identifier_first/oidc.login.spec.ts:78:9 › account enumeration protection on › login: test/e2e/playwright/tests/desktop/identifier_first/oidc.login.spec.ts#L86
1) [chromium] › desktop/identifier_first/oidc.login.spec.ts:78:9 › account enumeration protection on › login Error: page.waitForURL: Test timeout of 30000ms exceeded. =========================== logs =========================== waiting for navigation until "load" ============================================================ 84 | await loginHydra(page) 85 | > 86 | await page.waitForURL( | ^ 87 | new RegExp(config.selfservice.default_browser_return_url), 88 | ) 89 | at /home/runner/work/kratos/kratos/test/e2e/playwright/tests/desktop/identifier_first/oidc.login.spec.ts:86:18
[chromium] › desktop/identifier_first/oidc.login.spec.ts:78:9 › account enumeration protection on › login: test/e2e/playwright/tests/desktop/identifier_first/oidc.login.spec.ts#L1
1) [chromium] › desktop/identifier_first/oidc.login.spec.ts:78:9 › account enumeration protection on › login Test timeout of 30000ms exceeded.
[chromium] › desktop/code/sms.spec.ts:87:7 › account enumeration protection off › login succeeds: test/e2e/playwright/actions/identity.ts#L17
1) [chromium] › desktop/code/sms.spec.ts:87:7 › account enumeration protection off › login succeeds Error: expect(received).toBe(expected) // Object.is equality Expected: 201 Received: 400 at ../actions/identity.ts:17 15 | data, 16 | }) > 17 | expect(resp.status()).toBe(201) | ^ 18 | return await resp.json() 19 | } 20 | at createIdentity (/home/runner/work/kratos/kratos/test/e2e/playwright/actions/identity.ts:17:25) at createIdentityWithPhoneNumber (/home/runner/work/kratos/kratos/test/e2e/playwright/actions/identity.ts:29:15) at /home/runner/work/kratos/kratos/test/e2e/playwright/tests/desktop/code/sms.spec.ts:88:22
[chromium] › desktop/identifier_first/oidc.login.spec.ts:78:9 › account enumeration protection on › login: test/e2e/playwright/tests/desktop/identifier_first/oidc.login.spec.ts#L1
2) [chromium] › desktop/identifier_first/oidc.login.spec.ts:78:9 › account enumeration protection on › login Test timeout of 30000ms exceeded.
[chromium] › desktop/identifier_first/oidc.login.spec.ts:78:9 › account enumeration protection on › login: test/e2e/playwright/tests/desktop/identifier_first/oidc.login.spec.ts#L86
1) [chromium] › desktop/identifier_first/oidc.login.spec.ts:78:9 › account enumeration protection on › login Error: page.waitForURL: Test timeout of 30000ms exceeded. =========================== logs =========================== waiting for navigation until "load" ============================================================ 84 | await loginHydra(page) 85 | > 86 | await page.waitForURL( | ^ 87 | new RegExp(config.selfservice.default_browser_return_url), 88 | ) 89 | at /home/runner/work/kratos/kratos/test/e2e/playwright/tests/desktop/identifier_first/oidc.login.spec.ts:86:18
[chromium] › desktop/identifier_first/oidc.login.spec.ts:78:9 › account enumeration protection on › login: test/e2e/playwright/tests/desktop/identifier_first/oidc.login.spec.ts#L86
2) [chromium] › desktop/identifier_first/oidc.login.spec.ts:78:9 › account enumeration protection on › login Error: page.waitForURL: Test timeout of 30000ms exceeded. =========================== logs =========================== waiting for navigation until "load" ============================================================ 84 | await loginHydra(page) 85 | > 86 | await page.waitForURL( | ^ 87 | new RegExp(config.selfservice.default_browser_return_url), 88 | ) 89 | at /home/runner/work/kratos/kratos/test/e2e/playwright/tests/desktop/identifier_first/oidc.login.spec.ts:86:18
[chromium] › desktop/identifier_first/oidc.login.spec.ts:78:9 › account enumeration protection on › login: test/e2e/playwright/tests/desktop/identifier_first/oidc.login.spec.ts#L1
1) [chromium] › desktop/identifier_first/oidc.login.spec.ts:78:9 › account enumeration protection on › login Test timeout of 30000ms exceeded.
[chromium] › desktop/identifier_first/oidc.login.spec.ts:78:9 › account enumeration protection on › login: test/e2e/playwright/tests/desktop/identifier_first/oidc.login.spec.ts#L86
1) [chromium] › desktop/identifier_first/oidc.login.spec.ts:78:9 › account enumeration protection on › login Error: page.waitForURL: Test timeout of 30000ms exceeded. =========================== logs =========================== waiting for navigation until "load" ============================================================ 84 | await loginHydra(page) 85 | > 86 | await page.waitForURL( | ^ 87 | new RegExp(config.selfservice.default_browser_return_url), 88 | ) 89 | at /home/runner/work/kratos/kratos/test/e2e/playwright/tests/desktop/identifier_first/oidc.login.spec.ts:86:18
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/
Run tests and lints
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Run end-to-end tests (postgres)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Run end-to-end tests (sqlite)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Run Playwright end-to-end tests (postgres)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Slow Test: test/e2e/[mobile-chrome] › mobile/app_login.spec.ts#L1
test/e2e/[mobile-chrome] › mobile/app_login.spec.ts took 33.0s
Run Playwright end-to-end tests (cockroach)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Run Playwright end-to-end tests (sqlite)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Slow Test: test/e2e/[mobile-chrome] › mobile/app_recovery.spec.ts#L1
test/e2e/[mobile-chrome] › mobile/app_recovery.spec.ts took 22.4s
Slow Test: test/e2e/[mobile-chrome] › mobile/app_login.spec.ts#L1
test/e2e/[mobile-chrome] › mobile/app_login.spec.ts took 30.2s
Slow Test: test/e2e/[mobile-chrome] › mobile/app_login.spec.ts#L1
test/e2e/[mobile-chrome] › mobile/app_login.spec.ts took 29.6s
Slow Test: test/e2e/[mobile-chrome] › mobile/app_recovery.spec.ts#L1
test/e2e/[mobile-chrome] › mobile/app_recovery.spec.ts took 23.2s
Slow Test: test/e2e/[mobile-chrome] › mobile/app_recovery.spec.ts#L1
test/e2e/[mobile-chrome] › mobile/app_recovery.spec.ts took 22.7s
Run Playwright end-to-end tests (mysql)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Slow Test: test/e2e/[mobile-chrome] › mobile/app_login.spec.ts#L1
test/e2e/[mobile-chrome] › mobile/app_login.spec.ts took 25.8s
Run end-to-end tests (mysql)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Slow Test: test/e2e/[mobile-chrome] › mobile/app_recovery.spec.ts#L1
test/e2e/[mobile-chrome] › mobile/app_recovery.spec.ts took 23.6s
Build CLI docs
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Run end-to-end tests (cockroach)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
🎭 Playwright Run Summary
1 flaky [chromium] › desktop/identifier_first/oidc.login.spec.ts:78:9 › account enumeration protection on › login 36 passed (2.4m)
🎭 Playwright Run Summary
2 flaky [chromium] › desktop/code/sms.spec.ts:87:7 › account enumeration protection off › login succeeds [chromium] › desktop/identifier_first/oidc.login.spec.ts:78:9 › account enumeration protection on › login 35 passed (2.4m)
🎭 Playwright Run Summary
1 flaky [chromium] › desktop/identifier_first/oidc.login.spec.ts:78:9 › account enumeration protection on › login 36 passed (2.9m)
🎭 Playwright Run Summary
1 flaky [chromium] › desktop/identifier_first/oidc.login.spec.ts:78:9 › account enumeration protection on › login 36 passed (2.4m)