Skip to content

Backport 'Update jupyter_ydoc and pycrdt_websocket dependencies' #367 #1982

Backport 'Update jupyter_ydoc and pycrdt_websocket dependencies' #367

Backport 'Update jupyter_ydoc and pycrdt_websocket dependencies' #367 #1982

Triggered via pull request October 17, 2024 09:17
Status Failure
Total duration 13m 31s
Artifacts 8

test.yml

on: pull_request
Run pre-commit hook
6m 1s
Run pre-commit hook
Test JavaScript
2m 31s
Test JavaScript
Matrix: Test Python
Make SDist
0s
Make SDist
Test Minimum Versions
0s
Test Minimum Versions
Test Prereleases
0s
Test Prereleases
Install from SDist and Test
0s
Install from SDist and Test
Fit to window
Zoom out
Zoom in

Annotations

13 errors, 24 warnings, and 1 notice
Test Python (macos-latest, 3.8)
[notice] A new release of pip is available: 21.1.1 -> 24.2 [notice] To update, run: python3.8 -m pip install --upgrade pip
Test Python (windows-latest, 3.8)
Process completed with exit code 1.
tests/collaborationpanel.spec.ts:102:7 › One client › clicking on collaborator should open to its current document: ui-tests/tests/collaborationpanel.spec.ts#L116
1) tests/collaborationpanel.spec.ts:102:7 › One client › clicking on collaborator should open to its current document Error: Timed out 5000ms waiting for expect(received).toHaveCount(expected) // deep equality Expected: 1 Received: 0 Call log: - expect.soft.toHaveCount with timeout 5000ms - waiting for locator('.jp-SidePanel.jp-RTCPanel').first().locator('.jp-CollaboratorsList .jp-Collaborator') - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" 114 | 115 | // Expect the collaborators list to contain one collaborator. > 116 | await expect.soft(panel.locator('.jp-CollaboratorsList .jp-Collaborator')).toHaveCount(1); | ^ 117 | 118 | const notebookName = await page.notebook.createNew() || ''; 119 | at /home/runner/work/jupyter-collaboration/jupyter-collaboration/ui-tests/tests/collaborationpanel.spec.ts:116:80
tests/collaborationpanel.spec.ts:102:7 › One client › clicking on collaborator should open to its current document: ui-tests/tests/collaborationpanel.spec.ts#L1
1) tests/collaborationpanel.spec.ts:102:7 › One client › clicking on collaborator should open to its current document Test timeout of 60000ms exceeded.
tests/collaborationpanel.spec.ts:102:7 › One client › clicking on collaborator should open to its current document: ui-tests/tests/collaborationpanel.spec.ts#L126
1) tests/collaborationpanel.spec.ts:102:7 › One client › clicking on collaborator should open to its current document Error: locator.click: Target closed =========================== logs =========================== waiting for locator('.jp-SidePanel.jp-RTCPanel').first().locator('.jp-CollaboratorsList .jp-Collaborator').first() ============================================================ 124 | 125 | // Click on collaborator should open the current notebook of this collaborator. > 126 | await panel.locator('.jp-CollaboratorsList .jp-Collaborator').first().click(); | ^ 127 | await expect.soft(dockTabs.locator('li')).toHaveCount(2); 128 | await expect(dockTabs.locator('li.lm-mod-current > .lm-TabBar-tabLabel')).toHaveText(notebookName); 129 | }); at /home/runner/work/jupyter-collaboration/jupyter-collaboration/ui-tests/tests/collaborationpanel.spec.ts:126:75
tests/collaborationpanel.spec.ts:192:7 › Three clients › With document: ui-tests/tests/collaborationpanel.spec.ts#L1
2) tests/collaborationpanel.spec.ts:192:7 › Three clients › With document ──────────────────────── Test timeout of 60000ms exceeded.
tests/collaborationpanel.spec.ts:192:7 › Three clients › With document: ui-tests/tests/collaborationpanel.spec.ts#L213
2) tests/collaborationpanel.spec.ts:192:7 › Three clients › With document ──────────────────────── Error: proxy.waitForSelector: Target closed =========================== logs =========================== waiting for locator('text=/jovyan_. . Untitled.ipynb/') to be visible ============================================================ 211 | // wait for guest clients 212 | for (let i = 0; i < numClients; i++) { > 213 | await page.waitForSelector('text=/jovyan_. . Untitled.ipynb/'); | ^ 214 | } 215 | 216 | const tab = await page.sidebar.getContentPanel('left'); at /home/runner/work/jupyter-collaboration/jupyter-collaboration/ui-tests/tests/collaborationpanel.spec.ts:213:18
tests/notebook.spec.ts:104:7 › Initialization › Create a notebook: ui-tests/tests/notebook.spec.ts#L112
3) tests/notebook.spec.ts:104:7 › Initialization › Create a notebook ───────────────────────────── Error: Screenshot comparison failed: 2368 pixels (ratio 0.01 of all image pixels) are different. Expected: /home/runner/work/jupyter-collaboration/jupyter-collaboration/ui-tests/test-results/tests-notebook-Initialization-Create-a-notebook/initialization-create-notebook-host-expected.png Received: /home/runner/work/jupyter-collaboration/jupyter-collaboration/ui-tests/test-results/tests-notebook-Initialization-Create-a-notebook/initialization-create-notebook-host-actual.png Diff: /home/runner/work/jupyter-collaboration/jupyter-collaboration/ui-tests/test-results/tests-notebook-Initialization-Create-a-notebook/initialization-create-notebook-host-diff.png 110 | 111 | const nbPanel = await page.notebook.getNotebookInPanel(); > 112 | expect.soft(await nbPanel?.screenshot()).toMatchSnapshot( | ^ 113 | 'initialization-create-notebook-host.png' 114 | ); 115 | at /home/runner/work/jupyter-collaboration/jupyter-collaboration/ui-tests/tests/notebook.spec.ts:112:46
tests/notebook.spec.ts:104:7 › Initialization › Create a notebook: ui-tests/tests/notebook.spec.ts#L117
3) tests/notebook.spec.ts:104:7 › Initialization › Create a notebook ───────────────────────────── Error: Screenshot comparison failed: 295 pixels (ratio 0.01 of all image pixels) are different. Expected: /home/runner/work/jupyter-collaboration/jupyter-collaboration/ui-tests/test-results/tests-notebook-Initialization-Create-a-notebook/initialization-create-notebook-guest-expected.png Received: /home/runner/work/jupyter-collaboration/jupyter-collaboration/ui-tests/test-results/tests-notebook-Initialization-Create-a-notebook/initialization-create-notebook-guest-actual.png Diff: /home/runner/work/jupyter-collaboration/jupyter-collaboration/ui-tests/test-results/tests-notebook-Initialization-Create-a-notebook/initialization-create-notebook-guest-diff.png 115 | 116 | const nbPanelGuest = await guestPage.notebook.getNotebookInPanel(); > 117 | expect(await nbPanelGuest?.screenshot()).toMatchSnapshot( | ^ 118 | 'initialization-create-notebook-guest.png' 119 | ); 120 | at /home/runner/work/jupyter-collaboration/jupyter-collaboration/ui-tests/tests/notebook.spec.ts:117:46
tests/notebook.spec.ts:127:7 › Initialization › Open a notebook: ui-tests/tests/notebook.spec.ts#L137
4) tests/notebook.spec.ts:127:7 › Initialization › Open a notebook ─────────────────────────────── Error: Screenshot comparison failed: 1472 pixels (ratio 0.01 of all image pixels) are different. Expected: /home/runner/work/jupyter-collaboration/jupyter-collaboration/ui-tests/test-results/tests-notebook-Initialization-Open-a-notebook/initialization-open-notebook-host-expected.png Received: /home/runner/work/jupyter-collaboration/jupyter-collaboration/ui-tests/test-results/tests-notebook-Initialization-Open-a-notebook/initialization-open-notebook-host-actual.png Diff: /home/runner/work/jupyter-collaboration/jupyter-collaboration/ui-tests/test-results/tests-notebook-Initialization-Open-a-notebook/initialization-open-notebook-host-diff.png 135 | 136 | const nbPanel = await page.notebook.getNotebookInPanel(); > 137 | expect.soft(await nbPanel?.screenshot()).toMatchSnapshot( | ^ 138 | 'initialization-open-notebook-host.png' 139 | ); 140 | at /home/runner/work/jupyter-collaboration/jupyter-collaboration/ui-tests/tests/notebook.spec.ts:137:46
tests/notebook.spec.ts:127:7 › Initialization › Open a notebook: ui-tests/tests/notebook.spec.ts#L142
4) tests/notebook.spec.ts:127:7 › Initialization › Open a notebook ─────────────────────────────── Error: Screenshot comparison failed: 1472 pixels (ratio 0.01 of all image pixels) are different. Expected: /home/runner/work/jupyter-collaboration/jupyter-collaboration/ui-tests/test-results/tests-notebook-Initialization-Open-a-notebook/initialization-open-notebook-guest-expected.png Received: /home/runner/work/jupyter-collaboration/jupyter-collaboration/ui-tests/test-results/tests-notebook-Initialization-Open-a-notebook/initialization-open-notebook-guest-actual.png Diff: /home/runner/work/jupyter-collaboration/jupyter-collaboration/ui-tests/test-results/tests-notebook-Initialization-Open-a-notebook/initialization-open-notebook-guest-diff.png 140 | 141 | const nbPanelGuest = await guestPage.notebook.getNotebookInPanel(); > 142 | expect(await nbPanelGuest?.screenshot()).toMatchSnapshot( | ^ 143 | 'initialization-open-notebook-guest.png' 144 | ); 145 | at /home/runner/work/jupyter-collaboration/jupyter-collaboration/ui-tests/tests/notebook.spec.ts:142:46
ui_tests
Process completed with exit code 1.
check_links
Process completed with exit code 1.
Test JavaScript
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-python@v4. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Test Python (ubuntu-latest, 3.11)
The following actions use a deprecated Node.js version and will be forced to run on node20: 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/
Test Python (ubuntu-latest, 3.8)
The following actions use a deprecated Node.js version and will be forced to run on node20: 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/
Test Python (ubuntu-latest, 3.12)
The following actions use a deprecated Node.js version and will be forced to run on node20: 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/
Test Python (macos-latest, 3.8)
The following actions use a deprecated Node.js version and will be forced to run on node20: 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/
Test Python (macos-latest, 3.11)
The following actions use a deprecated Node.js version and will be forced to run on node20: 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/
Test Python (macos-latest, 3.12)
The following actions use a deprecated Node.js version and will be forced to run on node20: 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/
Test Python (windows-latest, 3.8)
The following actions use a deprecated Node.js version and will be forced to run on node20: 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/
Test Python (windows-latest, 3.11)
The following actions use a deprecated Node.js version and will be forced to run on node20: 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 pre-commit hook
The following actions uses node12 which is deprecated and will be forced to run on node16: pre-commit/action@v2.0.0. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Run pre-commit hook
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-python@v4, pre-commit/action@v2.0.0. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Run pre-commit hook: packages/collaboration/src/cursors.ts#L171
Forbidden non-null assertion
Run pre-commit hook: packages/collaboration/src/cursors.ts#L235
Forbidden non-null assertion
Run pre-commit hook: packages/collaboration/src/cursors.ts#L286
Forbidden non-null assertion
Run pre-commit hook: packages/collaboration/src/menu.ts#L65
Forbidden non-null assertion
Run pre-commit hook: packages/collaboration/src/menu.ts#L70
Forbidden non-null assertion
Run pre-commit hook: packages/collaboration/src/menu.ts#L76
Forbidden non-null assertion
Run pre-commit hook: packages/collaboration/src/menu.ts#L78
Forbidden non-null assertion
Run pre-commit hook: packages/collaboration/src/userinfopanel.tsx#L26
Forbidden non-null assertion
Run pre-commit hook: packages/collaboration/src/userinfopanel.tsx#L32
Forbidden non-null assertion
ui_tests
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/cache@v3, actions/upload-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
check_links
The following actions use a deprecated Node.js version and will be forced to run on node20: 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: "jupyter-collaboration-playwright-report". 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
4 failed tests/collaborationpanel.spec.ts:102:7 › One client › clicking on collaborator should open to its current document tests/collaborationpanel.spec.ts:192:7 › Three clients › With document ───────────────────────── tests/notebook.spec.ts:104:7 › Initialization › Create a notebook ────────────────────────────── tests/notebook.spec.ts:127:7 › Initialization › Open a notebook ──────────────────────────────── 3 skipped 9 passed (3.2m)

Artifacts

Produced during runtime
Name Size
coverage-10476 Expired
16.1 KB
coverage-16218 Expired
15 KB
coverage-2047 Expired
14.5 KB
coverage-25645 Expired
14.1 KB
coverage-27322 Expired
15 KB
coverage-32092 Expired
13.6 KB
coverage-407 Expired
15.2 KB
jupyter-collaboration-playwright-report Expired
5.93 MB