Skip to content
This repository has been archived by the owner on Oct 22, 2024. It is now read-only.

Improve logging in SessionLock (#133) #768

Improve logging in SessionLock (#133)

Improve logging in SessionLock (#133) #768

Triggered via push October 9, 2024 14:56
Status Success
Total duration 15m 35s
Artifacts 8
Build Element-Web
2m 10s
Build Element-Web
Matrix: playwright
end-to-end-tests
36s
end-to-end-tests
Fit to window
Zoom out
Zoom in

Annotations

5 errors, 30 warnings, and 6 notices
login/login.spec.ts:199:21 › Login › Password login › verification after login › with force_verification on › Shows unskippable verification prompt after login if signing keys are set up: matrix-react-sdk/playwright/e2e/login/login.spec.ts#L220
1) login/login.spec.ts:199:21 › Login › Password login › verification after login › with force_verification on › Shows unskippable verification prompt after login if signing keys are set up Error: expect(locator).not.toBeVisible() Locator: getByRole('heading', { name: 'Verify this device', level: 1 }).locator('.mx_CompleteSecurity_skip') Expected: not visible Received: visible Call log: - expect.not.toBeVisible with timeout 5000ms - waiting for getByRole('heading', { name: 'Verify this device', level: 1 }).locator('.mx_CompleteSecurity_skip') 218 | await expect(h1).toBeVisible(); 219 | > 220 | expect(h1.locator(".mx_CompleteSecurity_skip")).not.toBeVisible(); | ^ 221 | }); 222 | }); 223 | }); at /home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/e2e/login/login.spec.ts:220:73
pinned-messages/pinned-messages.spec.ts:21:9 › Pinned messages › should pin one message and to have the pinned message badge in the timeline: matrix-react-sdk/playwright/e2e/pinned-messages/pinned-messages.spec.ts#L32
2) pinned-messages/pinned-messages.spec.ts:21:9 › Pinned messages › should pin one message and to have the pinned message badge in the timeline Error: Screenshot comparison failed: 41 pixels (ratio 0.01 of all image pixels) are different. Expected: /home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/snapshots/pinned-messages/pinned-messages.spec.ts/pinned-message-Msg1-linux.png Received: /home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/test-results/pinned-messages-pinned-mes-131a1-ssage-badge-in-the-timeline/pinned-message-Msg1-actual.png Diff: /home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/test-results/pinned-messages-pinned-mes-131a1-ssage-badge-in-the-timeline/pinned-message-Msg1-diff.png Call log: - expect.toHaveScreenshot(pinned-message-Msg1.png) with timeout 5000ms - verifying given screenshot expectation - waiting for locator('.mx_EventTile').filter({ hasText: 'Msg1' }) - locator resolved to <li tabindex="-1" aria-live="off" data-self="false" aria-atomic="true" data-layout="group" data-has-reply="false" data-event-id="$x4AqIefxVyutmPFGBafgWIu4_NrkVzU8QhmfSwpxEac" class="mx_EventTile mx_EventTile_last mx_EventTile_lastInSection" data-scroll-tokens="$x4AqIefxVyutmPFGBafgWIu4_NrkVzU8QhmfSwpxEac">…</li> - taking element screenshot - disabled all CSS animations - waiting for fonts to load... - fonts loaded - attempting scroll into view action - waiting for element to be stable - element is not stable - retrying scroll into view action, attempt #1 - waiting for element to be stable - 41 pixels (ratio 0.01 of all image pixels) are different. - waiting 100ms before taking screenshot - waiting for locator('.mx_EventTile').filter({ hasText: 'Msg1' }) - locator resolved to <li tabindex="-1" aria-live="off" data-self="false" aria-atomic="true" data-layout="group" data-has-reply="false" class="mx_EventTile mx_EventTile_lastInSection" data-event-id="$x4AqIefxVyutmPFGBafgWIu4_NrkVzU8QhmfSwpxEac" data-scroll-tokens="$x4AqIefxVyutmPFGBafgWIu4_NrkVzU8QhmfSwpxEac">…</li> - taking element screenshot - disabled all CSS animations - waiting for fonts to load... - fonts loaded - attempting scroll into view action - waiting for element to be stable - captured a stable screenshot - 41 pixels (ratio 0.01 of all image pixels) are different. 30 | 31 | const tile = util.getEventTile("Msg1"); > 32 | await expect(tile).toMatchScreenshot("pinned-message-Msg1.png", { | ^ 33 | mask: [tile.locator(".mx_MessageTimestamp")], 34 | }); 35 | }); at /home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/e2e/pinned-messages/pinned-messages.spec.ts:32:28
accessibility/keyboard-navigation.spec.ts:17:9 › Landmark navigation tests › without any rooms: matrix-react-sdk/playwright/e2e/accessibility/keyboard-navigation.spec.ts#L25
1) accessibility/keyboard-navigation.spec.ts:17:9 › Landmark navigation tests › without any rooms Error: Timed out 5000ms waiting for expect(locator).toBeFocused() Locator: locator('.mx_SpaceButton_active') Expected: focused Received: inactive Call log: - expect.toBeFocused with timeout 5000ms - waiting for locator('.mx_SpaceButton_active') - locator resolved to <div tabindex="-1" role="button" aria-label="Home" class="mx_AccessibleButton mx_SpaceButton mx_SpaceButton_home mx_SpaceButton_active mx_SpaceButton_narrow">…</div> - unexpected value "not focused" - locator resolved to <div tabindex="-1" role="button" aria-label="Home" class="mx_AccessibleButton mx_SpaceButton mx_SpaceButton_home mx_SpaceButton_active mx_SpaceButton_narrow">…</div> - unexpected value "not focused" - locator resolved to <div tabindex="-1" role="button" aria-label="Home" class="mx_AccessibleButton mx_SpaceButton mx_SpaceButton_home mx_SpaceButton_active mx_SpaceButton_narrow">…</div> - unexpected value "not focused" - locator resolved to <div tabindex="-1" role="button" aria-label="Home" class="mx_AccessibleButton mx_SpaceButton mx_SpaceButton_home mx_SpaceButton_active mx_SpaceButton_narrow">…</div> - unexpected value "not focused" - locator resolved to <div tabindex="-1" role="button" aria-label="Home" class="mx_AccessibleButton mx_SpaceButton mx_SpaceButton_home mx_SpaceButton_active mx_SpaceButton_narrow">…</div> - unexpected value "not focused" - locator resolved to <div tabindex="-1" role="button" aria-label="Home" class="mx_AccessibleButton mx_SpaceButton mx_SpaceButton_home mx_SpaceButton_active mx_SpaceButton_narrow">…</div> - unexpected value "not focused" - locator resolved to <div tabindex="-1" role="button" aria-label="Home" class="mx_AccessibleButton mx_SpaceButton mx_SpaceButton_home mx_SpaceButton_active mx_SpaceButton_narrow">…</div> - unexpected value "not focused" 23 | // Pressing Control+F6 will first focus the space button 24 | await page.keyboard.press("ControlOrMeta+F6"); > 25 | await expect(page.locator(".mx_SpaceButton_active")).toBeFocused(); | ^ 26 | 27 | // Pressing Control+F6 again will focus room search 28 | await page.keyboard.press("ControlOrMeta+F6"); at /home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/e2e/accessibility/keyboard-navigation.spec.ts:25:62
crypto/crypto.spec.ts:92:17 › Cryptography › setting up secure key backup should work isDeviceVerified=false › by recovery code: matrix-react-sdk/playwright/e2e/crypto/crypto.spec.ts#L115
2) crypto/crypto.spec.ts:92:17 › Cryptography › setting up secure key backup should work isDeviceVerified=false › by recovery code Error: Timed out 5000ms waiting for expect(locator).toBeVisible() Locator: locator('.mx_InteractiveAuthDialog .mx_Dialog_title').getByText('Setting up keys') Expected: visible Received: <element(s) not found> Call log: - expect.toBeVisible with timeout 5000ms - waiting for locator('.mx_InteractiveAuthDialog .mx_Dialog_title').getByText('Setting up keys') 113 | if (!isDeviceVerified) { 114 | const uiaDialogTitle = page.locator(".mx_InteractiveAuthDialog .mx_Dialog_title"); > 115 | await expect(uiaDialogTitle.getByText("Setting up keys")).toBeVisible(); | ^ 116 | await expect(uiaDialogTitle.getByText("Setting up keys")).not.toBeVisible(); 117 | } 118 | at /home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/e2e/crypto/crypto.spec.ts:115:79
crypto/event-shields.spec.ts:266:13 › Cryptography › event shields › should show correct shields on events sent by devices which have since been deleted: matrix-react-sdk/http:/localhost:8080/bundles/7dc9cb6b9bb0c10aadfa/771.js#L3276
3) crypto/event-shields.spec.ts:266:13 › Cryptography › event shields › should show correct shields on events sent by devices which have since been deleted Error: jsHandle.evaluate: Error: Cannot encrypt event in unconfigured room !YspBqWgrEFtzppVARc:localhost at RustCrypto.encryptEvent (http://localhost:8080/bundles/7dc9cb6b9bb0c10aadfa/771.js:3276:13) at MatrixClient.encryptEventIfNeeded (http://localhost:8080/bundles/7dc9cb6b9bb0c10aadfa/init.js:9339:30) at async MatrixClient.encryptAndSendEvent (http://localhost:8080/bundles/7dc9cb6b9bb0c10aadfa/init.js:9271:9) at async <anonymous>:260:30 at RustCrypto.encryptEvent (/home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/http:/localhost:8080/bundles/7dc9cb6b9bb0c10aadfa/771.js:3276:13) at MatrixClient.encryptEventIfNeeded (/home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/http:/localhost:8080/bundles/7dc9cb6b9bb0c10aadfa/init.js:9339:30) at async MatrixClient.encryptAndSendEvent (/home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/http:/localhost:8080/bundles/7dc9cb6b9bb0c10aadfa/init.js:9271:9) at /home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/async <anonymous>:260:30 at Bot.sendMessage (/home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/pages/client.ts:125:23) at /home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/e2e/crypto/event-shields.spec.ts:276:13
Slow Test: matrix-react-sdk/read-receipts/high-level.spec.ts#L1
matrix-react-sdk/read-receipts/high-level.spec.ts took 3.4m
Slow Test: matrix-react-sdk/read-receipts/new-messages-in-threads.spec.ts#L1
matrix-react-sdk/read-receipts/new-messages-in-threads.spec.ts took 1.8m
Slow Test: matrix-react-sdk/read-receipts/editing-messages-in-threads.spec.ts#L1
matrix-react-sdk/read-receipts/editing-messages-in-threads.spec.ts took 1.4m
Slow Test: matrix-react-sdk/read-receipts/editing-messages-main-timeline.spec.ts#L1
matrix-react-sdk/read-receipts/editing-messages-main-timeline.spec.ts took 1.2m
Slow Test: matrix-react-sdk/read-receipts/editing-messages-thread-roots.spec.ts#L1
matrix-react-sdk/read-receipts/editing-messages-thread-roots.spec.ts took 52.8s
Slow Test: matrix-react-sdk/read-receipts/redactions-in-threads.spec.ts#L1
matrix-react-sdk/read-receipts/redactions-in-threads.spec.ts took 2.5m
Slow Test: matrix-react-sdk/read-receipts/redactions-main-timeline.spec.ts#L1
matrix-react-sdk/read-receipts/redactions-main-timeline.spec.ts took 1.9m
Slow Test: matrix-react-sdk/read-receipts/new-messages-main-timeline.spec.ts#L1
matrix-react-sdk/read-receipts/new-messages-main-timeline.spec.ts took 1.3m
Slow Test: matrix-react-sdk/read-receipts/read-receipts.spec.ts#L1
matrix-react-sdk/read-receipts/read-receipts.spec.ts took 1.0m
Slow Test: matrix-react-sdk/read-receipts/reactions-in-threads.spec.ts#L1
matrix-react-sdk/read-receipts/reactions-in-threads.spec.ts took 56.5s
Slow Test: matrix-react-sdk/read-receipts/redactions-thread-roots.spec.ts#L1
matrix-react-sdk/read-receipts/redactions-thread-roots.spec.ts took 1.2m
Slow Test: matrix-react-sdk/spaces/spaces.spec.ts#L1
matrix-react-sdk/spaces/spaces.spec.ts took 1.1m
Slow Test: matrix-react-sdk/right-panel/right-panel.spec.ts#L1
matrix-react-sdk/right-panel/right-panel.spec.ts took 57.5s
Slow Test: matrix-react-sdk/settings/account-user-settings-tab.spec.ts#L1
matrix-react-sdk/settings/account-user-settings-tab.spec.ts took 40.6s
Slow Test: matrix-react-sdk/right-panel/file-panel.spec.ts#L1
matrix-react-sdk/right-panel/file-panel.spec.ts took 38.4s
Slow Test: matrix-react-sdk/timeline/timeline.spec.ts#L1
matrix-react-sdk/timeline/timeline.spec.ts took 2.9m
Slow Test: matrix-react-sdk/spotlight/spotlight.spec.ts#L1
matrix-react-sdk/spotlight/spotlight.spec.ts took 2.2m
Slow Test: matrix-react-sdk/spaces/threads-activity-centre/threadsActivityCentre.spec.ts#L1
matrix-react-sdk/spaces/threads-activity-centre/threadsActivityCentre.spec.ts took 1.8m
Slow Test: matrix-react-sdk/threads/threads.spec.ts#L1
matrix-react-sdk/threads/threads.spec.ts took 39.4s
Slow Test: matrix-react-sdk/user-onboarding/user-onboarding-new.spec.ts#L1
matrix-react-sdk/user-onboarding/user-onboarding-new.spec.ts took 33.4s
Slow Test: matrix-react-sdk/messages/messages.spec.ts#L1
matrix-react-sdk/messages/messages.spec.ts took 2.4m
Slow Test: matrix-react-sdk/polls/polls.spec.ts#L1
matrix-react-sdk/polls/polls.spec.ts took 39.3s
Slow Test: matrix-react-sdk/knock/knock-into-room.spec.ts#L1
matrix-react-sdk/knock/knock-into-room.spec.ts took 35.5s
Slow Test: matrix-react-sdk/integration-manager/read_events.spec.ts#L1
matrix-react-sdk/integration-manager/read_events.spec.ts took 35.0s
Slow Test: matrix-react-sdk/oidc/oidc-aware.spec.ts#L1
matrix-react-sdk/oidc/oidc-aware.spec.ts took 29.3s
Slow Test: matrix-react-sdk/audio-player/audio-player.spec.ts#L1
matrix-react-sdk/audio-player/audio-player.spec.ts took 1.2m
Slow Test: matrix-react-sdk/composer/RTE.spec.ts#L1
matrix-react-sdk/composer/RTE.spec.ts took 1.1m
Slow Test: matrix-react-sdk/crypto/device-verification.spec.ts#L1
matrix-react-sdk/crypto/device-verification.spec.ts took 47.1s
Slow Test: matrix-react-sdk/integration-manager/kick.spec.ts#L1
matrix-react-sdk/integration-manager/kick.spec.ts took 42.5s
Slow Test: matrix-react-sdk/crypto/decryption-failure-messages.spec.ts#L1
matrix-react-sdk/crypto/decryption-failure-messages.spec.ts took 38.0s
🎭 Playwright Run Summary
32 skipped 42 passed (8.8m)
🎭 Playwright Run Summary
14 skipped 62 passed (9.4m)
🎭 Playwright Run Summary
10 skipped 70 passed (9.8m)
🎭 Playwright Run Summary
4 skipped 67 passed (10.2m)
🎭 Playwright Run Summary
2 flaky login/login.spec.ts:199:21 › Login › Password login › verification after login › with force_verification on › Shows unskippable verification prompt after login if signing keys are set up pinned-messages/pinned-messages.spec.ts:21:9 › Pinned messages › should pin one message and to have the pinned message badge in the timeline 1 skipped 76 passed (11.4m)
🎭 Playwright Run Summary
3 flaky accessibility/keyboard-navigation.spec.ts:17:9 › Landmark navigation tests › without any rooms ─ crypto/crypto.spec.ts:92:17 › Cryptography › setting up secure key backup should work isDeviceVerified=false › by recovery code crypto/event-shields.spec.ts:266:13 › Cryptography › event shields › should show correct shields on events sent by devices which have since been deleted 1 skipped 74 passed (11.7m)

Artifacts

Produced during runtime
Name Size
all-blob-reports-1 Expired
7.96 MB
all-blob-reports-2 Expired
8.65 MB
all-blob-reports-3 Expired
447 KB
all-blob-reports-4 Expired
507 KB
all-blob-reports-5 Expired
823 KB
all-blob-reports-6 Expired
866 KB
html-report Expired
16.9 MB
webapp Expired
38.1 MB