Skip to content

fix: refactor internal API to prevent panics #4569

fix: refactor internal API to prevent panics

fix: refactor internal API to prevent panics #4569

Triggered via pull request August 9, 2024 13:11
Status Failure
Total duration 51m 17s
Artifacts 1

ci.yaml

on: pull_request
Run tests and lints
25m 27s
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, 32 warnings, and 4 notices
[chromium] › desktop/identifier_first/password.login.spec.ts:75:7 › account enumeration protection off › login with refresh: test/e2e/playwright/tests/desktop/identifier_first/password.login.spec.ts#L1
1) [chromium] › desktop/identifier_first/password.login.spec.ts:75:7 › account enumeration protection off › login with refresh Test timeout of 30000ms exceeded.
[chromium] › desktop/identifier_first/password.login.spec.ts:75:7 › account enumeration protection off › login with refresh: test/e2e/playwright/models/elements/login.ts#L147
1) [chromium] › desktop/identifier_first/password.login.spec.ts:75:7 › account enumeration protection off › login with refresh Error: page.waitForURL: Test timeout of 30000ms exceeded. =========================== logs =========================== waiting for navigation until "load" ============================================================ at ../models/elements/login.ts:147 145 | async submit(method: string, opts?: SubmitOptions) { 146 | const nav = opts?.waitForURL > 147 | ? this.page.waitForURL(opts.waitForURL) | ^ 148 | : Promise.resolve() 149 | if (opts?.submitWithKeyboard) { 150 | await this.page.keyboard.press("Enter") at LoginPage.submit (/home/runner/work/kratos/kratos/test/e2e/playwright/models/elements/login.ts:147:19) at /home/runner/work/kratos/kratos/test/e2e/playwright/tests/desktop/identifier_first/password.login.spec.ts:104:17
[chromium] › desktop/identifier_first/password.login.spec.ts:75:7 › account enumeration protection off › login with refresh: test/e2e/playwright/tests/desktop/identifier_first/password.login.spec.ts#L1
1) [chromium] › desktop/identifier_first/password.login.spec.ts:75:7 › account enumeration protection off › login with refresh Test timeout of 30000ms exceeded.
[chromium] › desktop/identifier_first/password.login.spec.ts:75:7 › account enumeration protection off › login with refresh: test/e2e/playwright/models/elements/login.ts#L147
1) [chromium] › desktop/identifier_first/password.login.spec.ts:75:7 › account enumeration protection off › login with refresh Error: page.waitForURL: Test timeout of 30000ms exceeded. =========================== logs =========================== waiting for navigation until "load" ============================================================ at ../models/elements/login.ts:147 145 | async submit(method: string, opts?: SubmitOptions) { 146 | const nav = opts?.waitForURL > 147 | ? this.page.waitForURL(opts.waitForURL) | ^ 148 | : Promise.resolve() 149 | if (opts?.submitWithKeyboard) { 150 | await this.page.keyboard.press("Enter") at LoginPage.submit (/home/runner/work/kratos/kratos/test/e2e/playwright/models/elements/login.ts:147:19) at /home/runner/work/kratos/kratos/test/e2e/playwright/tests/desktop/identifier_first/password.login.spec.ts:104:17
[chromium] › desktop/identifier_first/password.login.spec.ts:75:7 › account enumeration protection off › login with refresh: test/e2e/playwright/tests/desktop/identifier_first/password.login.spec.ts#L1
1) [chromium] › desktop/identifier_first/password.login.spec.ts:75:7 › account enumeration protection off › login with refresh Test timeout of 30000ms exceeded.
[chromium] › desktop/identifier_first/password.login.spec.ts:75:7 › account enumeration protection off › login with refresh: test/e2e/playwright/models/elements/login.ts#L147
1) [chromium] › desktop/identifier_first/password.login.spec.ts:75:7 › account enumeration protection off › login with refresh Error: page.waitForURL: Test timeout of 30000ms exceeded. =========================== logs =========================== waiting for navigation until "load" ============================================================ at ../models/elements/login.ts:147 145 | async submit(method: string, opts?: SubmitOptions) { 146 | const nav = opts?.waitForURL > 147 | ? this.page.waitForURL(opts.waitForURL) | ^ 148 | : Promise.resolve() 149 | if (opts?.submitWithKeyboard) { 150 | await this.page.keyboard.press("Enter") at LoginPage.submit (/home/runner/work/kratos/kratos/test/e2e/playwright/models/elements/login.ts:147:19) at /home/runner/work/kratos/kratos/test/e2e/playwright/tests/desktop/identifier_first/password.login.spec.ts:104:17
[chromium] › desktop/identifier_first/password.login.spec.ts:75:7 › account enumeration protection off › login with refresh: test/e2e/playwright/tests/desktop/identifier_first/password.login.spec.ts#L1
1) [chromium] › desktop/identifier_first/password.login.spec.ts:75:7 › account enumeration protection off › login with refresh Test timeout of 30000ms exceeded.
[chromium] › desktop/identifier_first/password.login.spec.ts:75:7 › account enumeration protection off › login with refresh: test/e2e/playwright/models/elements/login.ts#L147
1) [chromium] › desktop/identifier_first/password.login.spec.ts:75:7 › account enumeration protection off › login with refresh Error: page.waitForURL: Test timeout of 30000ms exceeded. =========================== logs =========================== waiting for navigation until "load" ============================================================ at ../models/elements/login.ts:147 145 | async submit(method: string, opts?: SubmitOptions) { 146 | const nav = opts?.waitForURL > 147 | ? this.page.waitForURL(opts.waitForURL) | ^ 148 | : Promise.resolve() 149 | if (opts?.submitWithKeyboard) { 150 | await this.page.keyboard.press("Enter") at LoginPage.submit (/home/runner/work/kratos/kratos/test/e2e/playwright/models/elements/login.ts:147:19) at /home/runner/work/kratos/kratos/test/e2e/playwright/tests/desktop/identifier_first/password.login.spec.ts:104:17
Run end-to-end tests (postgres)
Process completed with exit code 1.
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/
Generate SDKs
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v2, actions/setup-go@v2, actions/cache@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-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. 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 Node.js version which is deprecated and will be forced to run on node20: actions/setup-node@v3, actions/checkout@v2, actions/setup-go@v4, actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Slow Test: test/e2e/[mobile-chrome] › mobile/app_login.spec.ts#L1
test/e2e/[mobile-chrome] › mobile/app_login.spec.ts took 32.3s
Slow Test: test/e2e/[mobile-chrome] › mobile/app_recovery.spec.ts#L1
test/e2e/[mobile-chrome] › mobile/app_recovery.spec.ts took 21.1s
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 (cockroach)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/setup-node@v3, actions/checkout@v2, actions/setup-go@v4, actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Slow Test: test/e2e/[mobile-chrome] › mobile/app_login.spec.ts#L1
test/e2e/[mobile-chrome] › mobile/app_login.spec.ts took 26.0s
Slow Test: test/e2e/[mobile-chrome] › mobile/app_recovery.spec.ts#L1
test/e2e/[mobile-chrome] › mobile/app_recovery.spec.ts took 22.1s
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 (mysql)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/setup-node@v3, actions/checkout@v2, actions/setup-go@v4, actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Slow Test: test/e2e/[mobile-chrome] › mobile/app_login.spec.ts#L1
test/e2e/[mobile-chrome] › mobile/app_login.spec.ts took 31.0s
Slow Test: test/e2e/[mobile-chrome] › mobile/app_recovery.spec.ts#L1
test/e2e/[mobile-chrome] › mobile/app_recovery.spec.ts took 23.3s
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 Playwright end-to-end tests (sqlite)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/setup-node@v3, actions/checkout@v2, actions/setup-go@v4, actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Slow Test: test/e2e/[mobile-chrome] › mobile/app_login.spec.ts#L1
test/e2e/[mobile-chrome] › mobile/app_login.spec.ts took 30.4s
Slow Test: test/e2e/[mobile-chrome] › mobile/app_recovery.spec.ts#L1
test/e2e/[mobile-chrome] › mobile/app_recovery.spec.ts took 24.5s
Run tests and lints
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 Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v2, actions/setup-go@v4. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Build CLI docs
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-go@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Build CLI docs
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v2, actions/setup-go@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-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 end-to-end tests (sqlite)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/setup-node@v3, actions/checkout@v2, actions/setup-go@v4, actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-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, 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 end-to-end tests (postgres)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/setup-node@v3, actions/checkout@v2, actions/setup-go@v4, actions/checkout@v3, actions/upload-artifact@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-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/
Run end-to-end tests (mysql)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/setup-node@v3, actions/checkout@v2, actions/setup-go@v4, actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
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 (cockroach)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/setup-node@v3, actions/checkout@v2, actions/setup-go@v4, actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Deprecation notice: v1, v2, and v3 of the artifact actions
The following artifacts were uploaded using a version of actions/upload-artifact that is scheduled for deprecation: "logs". Please update your workflow to use v4 of the artifact actions. Learn more: https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/
🎭 Playwright Run Summary
1 flaky [chromium] › desktop/identifier_first/password.login.spec.ts:75:7 › account enumeration protection off › login with refresh 34 passed (2.4m)
🎭 Playwright Run Summary
1 flaky [chromium] › desktop/identifier_first/password.login.spec.ts:75:7 › account enumeration protection off › login with refresh 34 passed (2.8m)
🎭 Playwright Run Summary
1 flaky [chromium] › desktop/identifier_first/password.login.spec.ts:75:7 › account enumeration protection off › login with refresh 34 passed (2.4m)
🎭 Playwright Run Summary
1 flaky [chromium] › desktop/identifier_first/password.login.spec.ts:75:7 › account enumeration protection off › login with refresh 34 passed (2.4m)

Artifacts

Produced during runtime
Name Size
logs
68 MB