Fix the confusing server errors during UI tests #156
Annotations
10 errors, 3 warnings, and 1 notice
../../../../../tmp/nbgrader-galata-pkhw2723/nbgrader/tests/ui-tests/validate_assignment.spec.ts#L79
1) validate_assignment.spec.ts:102:1 › Validation success ────────────────────────────────────────
Test timeout of 60000ms exceeded while running "afterEach" hook.
at /tmp/nbgrader-galata-pkhw2723/nbgrader/tests/ui-tests/validate_assignment.spec.ts:79:6
|
../../../../../tmp/nbgrader-galata-pkhw2723/nbgrader/tests/ui-tests/validate_assignment.spec.ts#L83
1) validate_assignment.spec.ts:102:1 › Validation success ────────────────────────────────────────
Error: Test timeout of 60000ms exceeded.
Call log:
- waiting for getByRole('main').locator('.jp-mod-current[role="tab"]')
at captureRawStack (/tmp/nbgrader-galata-pkhw2723/node_modules/playwright-core/lib/utils/stackTrace.js:49:17)
at captureLibraryStackTrace (/tmp/nbgrader-galata-pkhw2723/node_modules/playwright-core/lib/utils/stackTrace.js:55:17)
at Frame._wrapApiCall (/tmp/nbgrader-galata-pkhw2723/node_modules/playwright-core/lib/client/channelOwner.js:158:65)
at Proxy.<anonymous> (/tmp/nbgrader-galata-pkhw2723/node_modules/playwright-core/lib/client/channelOwner.js:124:33)
at Frame.getAttribute (/tmp/nbgrader-galata-pkhw2723/node_modules/playwright-core/lib/client/frame.js:382:40)
at Locator.getAttribute (/tmp/nbgrader-galata-pkhw2723/node_modules/playwright-core/lib/client/locator.js:217:30)
at ActivityHelper.getPanelLocator (/tmp/nbgrader-galata-pkhw2723/node_modules/@jupyterlab/galata/src/helpers/activity.ts:158:45)
at NotebookHelper.getNotebookInPanelLocator (/tmp/nbgrader-galata-pkhw2723/node_modules/@jupyterlab/galata/src/helpers/notebook.ts:119:41)
at NotebookHelper.isAnyActive (/tmp/nbgrader-galata-pkhw2723/node_modules/@jupyterlab/galata/src/helpers/notebook.ts:60:24)
at /tmp/nbgrader-galata-pkhw2723/nbgrader/tests/ui-tests/validate_assignment.spec.ts:83:30
at /tmp/nbgrader-galata-pkhw2723/node_modules/playwright/lib/worker/fixtureRunner.js:254:13
at /tmp/nbgrader-galata-pkhw2723/node_modules/playwright/lib/worker/testInfo.js:297:17
at TimeoutManager.withRunnable (/tmp/nbgrader-galata-pkhw2723/node_modules/playwright/lib/worker/timeoutManager.js:53:34)
at TestInfoImpl._runAsStage (/tmp/nbgrader-galata-pkhw2723/node_modules/playwright/lib/worker/testInfo.js:295:34)
at FixtureRunner.resolveParametersAndRunFunction (/tmp/nbgrader-galata-pkhw2723/node_modules/playwright/lib/worker/fixtureRunner.js:250:20)
at /tmp/nbgrader-galata-pkhw2723/node_modules/playwright/lib/worker/workerMain.js:588:11
at /tmp/nbgrader-galata-pkhw2723/node_modules/playwright/lib/worker/testInfo.js:297:11
at TimeoutManager.withRunnable (/tmp/nbgrader-galata-pkhw2723/node_modules/playwright/lib/worker/timeoutManager.js:41:27)
at TestInfoImpl._runAsStage (/tmp/nbgrader-galata-pkhw2723/node_modules/playwright/lib/worker/testInfo.js:295:7)
at WorkerMain._runEachHooksForSuites (/tmp/nbgrader-galata-pkhw2723/node_modules/playwright/lib/worker/workerMain.js:576:9)
at /tmp/nbgrader-galata-pkhw2723/node_modules/playwright/lib/worker/workerMain.js:379:65
at /tmp/nbgrader-galata-pkhw2723/node_modules/playwright/lib/worker/testInfo.js:297:11
at TimeoutManager.withRunnable (/tmp/nbgrader-galata-pkhw2723/node_modules/playwright/lib/worker/timeoutManager.js:41:27)
at TestInfoImpl._runAsStage (/tmp/nbgrader-galata-pkhw2723/node_modules/playwright/lib/worker/testInfo.js:295:7)
at WorkerMain._runTest (/tmp/nbgrader-galata-pkhw2723/node_modules/playwright/lib/worker/workerMain.js:352:5)
at WorkerMain.runTestGroup (/tmp/nbgrader-galata-pkhw2723/node_modules/playwright/lib/worker/workerMain.js:202:11)
at process.<anonymous> (/tmp/nbgrader-galata-pkhw2723/node_modules/playwright/lib/common/process.js:94:22)
|
nbgrader/tests/ui-tests/validate_assignment.spec.ts#L79
1) validate_assignment.spec.ts:102:1 › Validation success ────────────────────────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Test timeout of 60000ms exceeded while running "afterEach" hook.
77 | * Delete temp directory at the end of test
78 | */
> 79 | test.afterEach(async ({ request, page, tmpPath }) => {
| ^
80 | if (request === undefined) throw new Error("Request is undefined.");
81 |
82 | // Close opened notebook.
at /home/runner/work/nbgrader/nbgrader/nbgrader/tests/ui-tests/validate_assignment.spec.ts:79:6
|
nbgrader/tests/ui-tests/validate_assignment.spec.ts#L83
1) validate_assignment.spec.ts:102:1 › Validation success ────────────────────────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: locator.getAttribute: Test timeout of 60000ms exceeded.
Call log:
- waiting for getByRole('main').locator('.jp-mod-current[role="tab"]')
81 |
82 | // Close opened notebook.
> 83 | while (await page.notebook.isAnyActive()) {
| ^
84 | await page.notebook.close();
85 | }
86 |
at ActivityHelper.getPanelLocator (/home/runner/work/nbgrader/nbgrader/node_modules/@jupyterlab/galata/src/helpers/activity.ts:158:45)
at NotebookHelper.getNotebookInPanelLocator (/home/runner/work/nbgrader/nbgrader/node_modules/@jupyterlab/galata/src/helpers/notebook.ts:119:41)
at NotebookHelper.isAnyActive (/home/runner/work/nbgrader/nbgrader/node_modules/@jupyterlab/galata/src/helpers/notebook.ts:60:24)
at /home/runner/work/nbgrader/nbgrader/nbgrader/tests/ui-tests/validate_assignment.spec.ts:83:30
|
nbgrader/tests/ui-tests/validate_assignment.spec.ts#L79
1) validate_assignment.spec.ts:102:1 › Validation success ────────────────────────────────────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Test timeout of 60000ms exceeded while running "afterEach" hook.
77 | * Delete temp directory at the end of test
78 | */
> 79 | test.afterEach(async ({ request, page, tmpPath }) => {
| ^
80 | if (request === undefined) throw new Error("Request is undefined.");
81 |
82 | // Close opened notebook.
at /home/runner/work/nbgrader/nbgrader/nbgrader/tests/ui-tests/validate_assignment.spec.ts:79:6
|
nbgrader/tests/ui-tests/validate_assignment.spec.ts#L83
1) validate_assignment.spec.ts:102:1 › Validation success ────────────────────────────────────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: locator.getAttribute: Test timeout of 60000ms exceeded.
Call log:
- waiting for getByRole('main').locator('.jp-mod-current[role="tab"]')
81 |
82 | // Close opened notebook.
> 83 | while (await page.notebook.isAnyActive()) {
| ^
84 | await page.notebook.close();
85 | }
86 |
at ActivityHelper.getPanelLocator (/home/runner/work/nbgrader/nbgrader/node_modules/@jupyterlab/galata/src/helpers/activity.ts:158:45)
at NotebookHelper.getNotebookInPanelLocator (/home/runner/work/nbgrader/nbgrader/node_modules/@jupyterlab/galata/src/helpers/notebook.ts:119:41)
at NotebookHelper.isAnyActive (/home/runner/work/nbgrader/nbgrader/node_modules/@jupyterlab/galata/src/helpers/notebook.ts:60:24)
at /home/runner/work/nbgrader/nbgrader/nbgrader/tests/ui-tests/validate_assignment.spec.ts:83:30
|
nbgrader/tests/ui-tests/validate_assignment.spec.ts#L79
2) validate_assignment.spec.ts:122:1 › Validation failure ────────────────────────────────────────
Test timeout of 60000ms exceeded while running "afterEach" hook.
77 | * Delete temp directory at the end of test
78 | */
> 79 | test.afterEach(async ({ request, page, tmpPath }) => {
| ^
80 | if (request === undefined) throw new Error("Request is undefined.");
81 |
82 | // Close opened notebook.
at /home/runner/work/nbgrader/nbgrader/nbgrader/tests/ui-tests/validate_assignment.spec.ts:79:6
|
nbgrader/tests/ui-tests/validate_assignment.spec.ts#L83
2) validate_assignment.spec.ts:122:1 › Validation failure ────────────────────────────────────────
Error: locator.getAttribute: Test timeout of 60000ms exceeded.
Call log:
- waiting for getByRole('main').locator('.jp-mod-current[role="tab"]')
81 |
82 | // Close opened notebook.
> 83 | while (await page.notebook.isAnyActive()) {
| ^
84 | await page.notebook.close();
85 | }
86 |
at ActivityHelper.getPanelLocator (/home/runner/work/nbgrader/nbgrader/node_modules/@jupyterlab/galata/src/helpers/activity.ts:158:45)
at NotebookHelper.getNotebookInPanelLocator (/home/runner/work/nbgrader/nbgrader/node_modules/@jupyterlab/galata/src/helpers/notebook.ts:119:41)
at NotebookHelper.isAnyActive (/home/runner/work/nbgrader/nbgrader/node_modules/@jupyterlab/galata/src/helpers/notebook.ts:60:24)
at /home/runner/work/nbgrader/nbgrader/nbgrader/tests/ui-tests/validate_assignment.spec.ts:83:30
|
nbgrader/tests/ui-tests/validate_assignment.spec.ts#L79
2) validate_assignment.spec.ts:122:1 › Validation failure ────────────────────────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Test timeout of 60000ms exceeded while running "afterEach" hook.
77 | * Delete temp directory at the end of test
78 | */
> 79 | test.afterEach(async ({ request, page, tmpPath }) => {
| ^
80 | if (request === undefined) throw new Error("Request is undefined.");
81 |
82 | // Close opened notebook.
at /home/runner/work/nbgrader/nbgrader/nbgrader/tests/ui-tests/validate_assignment.spec.ts:79:6
|
nbgrader/tests/ui-tests/validate_assignment.spec.ts#L83
2) validate_assignment.spec.ts:122:1 › Validation failure ────────────────────────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: locator.getAttribute: Test timeout of 60000ms exceeded.
Call log:
- waiting for getByRole('main').locator('.jp-mod-current[role="tab"]')
81 |
82 | // Close opened notebook.
> 83 | while (await page.notebook.isAnyActive()) {
| ^
84 | await page.notebook.close();
85 | }
86 |
at ActivityHelper.getPanelLocator (/home/runner/work/nbgrader/nbgrader/node_modules/@jupyterlab/galata/src/helpers/activity.ts:158:45)
at NotebookHelper.getNotebookInPanelLocator (/home/runner/work/nbgrader/nbgrader/node_modules/@jupyterlab/galata/src/helpers/notebook.ts:119:41)
at NotebookHelper.isAnyActive (/home/runner/work/nbgrader/nbgrader/node_modules/@jupyterlab/galata/src/helpers/notebook.ts:60:24)
at /home/runner/work/nbgrader/nbgrader/nbgrader/tests/ui-tests/validate_assignment.spec.ts:83:30
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3, actions/setup-python@v2, actions/upload-artifact@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-python@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/
|
The following artifacts were uploaded using a version of actions/upload-artifact that is scheduled for deprecation: "nbgrader-uitests-labextensions-ubuntu-22.04-python3.10", "nbgrader-uitests-labextensions-ubuntu-22.04-python3.11", "nbgrader-uitests-labextensions-windows-latest-python3.10", "nbgrader-uitests-labextensions-windows-latest-python3.11", "nbgrader-uitests-nbextensions-ubuntu-22.04-python3.10", "nbgrader-uitests-nbextensions-ubuntu-22.04-python3.11", "nbgrader-uitests-nbextensions-windows-latest-python3.10", "nbgrader-uitests-nbextensions-windows-latest-python3.11".
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/
|
7 failed
validate_assignment.spec.ts:102:1 › Validation success ─────────────────────────────────────────
validate_assignment.spec.ts:122:1 › Validation failure ─────────────────────────────────────────
validate_assignment.spec.ts:144:1 › Validation grade cell changed ──────────────────────────────
validate_assignment.spec.ts:166:1 › Validation locked cell changed ─────────────────────────────
validate_assignment.spec.ts:188:1 › Validation open relative file ──────────────────────────────
validate_assignment.spec.ts:210:1 › Validation grade cell type changed ─────────────────────────
validate_assignment.spec.ts:232:1 › Validation answer cell type changed ────────────────────────
39 passed (29.6m)
|
This job failed
Loading