Fix the confusing server errors during UI tests #156
Annotations
10 errors, 3 warnings, and 1 notice
C:\Users\RUNNER~1\AppData\Local\Temp\nbgrader-galata-l4461lug\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 C:\Users\RUNNER~1\AppData\Local\Temp\nbgrader-galata-l4461lug\nbgrader\tests\ui-tests\validate_assignment.spec.ts:79:6
|
C:\Users\RUNNER~1\AppData\Local\Temp\nbgrader-galata-l4461lug\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 (C:\Users\RUNNER~1\AppData\Local\Temp\nbgrader-galata-l4461lug\node_modules\playwright-core\lib\utils\stackTrace.js:49:17)
at captureLibraryStackTrace (C:\Users\RUNNER~1\AppData\Local\Temp\nbgrader-galata-l4461lug\node_modules\playwright-core\lib\utils\stackTrace.js:55:17)
at Frame._wrapApiCall (C:\Users\RUNNER~1\AppData\Local\Temp\nbgrader-galata-l4461lug\node_modules\playwright-core\lib\client\channelOwner.js:158:65)
at Proxy.<anonymous> (C:\Users\RUNNER~1\AppData\Local\Temp\nbgrader-galata-l4461lug\node_modules\playwright-core\lib\client\channelOwner.js:124:33)
at Frame.getAttribute (C:\Users\RUNNER~1\AppData\Local\Temp\nbgrader-galata-l4461lug\node_modules\playwright-core\lib\client\frame.js:382:40)
at Locator.getAttribute (C:\Users\RUNNER~1\AppData\Local\Temp\nbgrader-galata-l4461lug\node_modules\playwright-core\lib\client\locator.js:217:30)
at ActivityHelper.getPanelLocator (C:\Users\RUNNER~1\AppData\Local\Temp\nbgrader-galata-l4461lug\node_modules\@jupyterlab\galata\src\helpers\activity.ts:158:45)
at NotebookHelper.getNotebookInPanelLocator (C:\Users\RUNNER~1\AppData\Local\Temp\nbgrader-galata-l4461lug\node_modules\@jupyterlab\galata\src\helpers\notebook.ts:119:41)
at NotebookHelper.isAnyActive (C:\Users\RUNNER~1\AppData\Local\Temp\nbgrader-galata-l4461lug\node_modules\@jupyterlab\galata\src\helpers\notebook.ts:60:24)
at C:\Users\RUNNER~1\AppData\Local\Temp\nbgrader-galata-l4461lug\nbgrader\tests\ui-tests\validate_assignment.spec.ts:83:30
at C:\Users\RUNNER~1\AppData\Local\Temp\nbgrader-galata-l4461lug\node_modules\playwright\lib\worker\fixtureRunner.js:254:13
at C:\Users\RUNNER~1\AppData\Local\Temp\nbgrader-galata-l4461lug\node_modules\playwright\lib\worker\testInfo.js:297:17
at TimeoutManager.withRunnable (C:\Users\RUNNER~1\AppData\Local\Temp\nbgrader-galata-l4461lug\node_modules\playwright\lib\worker\timeoutManager.js:53:34)
at TestInfoImpl._runAsStage (C:\Users\RUNNER~1\AppData\Local\Temp\nbgrader-galata-l4461lug\node_modules\playwright\lib\worker\testInfo.js:295:34)
at FixtureRunner.resolveParametersAndRunFunction (C:\Users\RUNNER~1\AppData\Local\Temp\nbgrader-galata-l4461lug\node_modules\playwright\lib\worker\fixtureRunner.js:250:20)
at C:\Users\RUNNER~1\AppData\Local\Temp\nbgrader-galata-l4461lug\node_modules\playwright\lib\worker\workerMain.js:588:11
at C:\Users\RUNNER~1\AppData\Local\Temp\nbgrader-galata-l4461lug\node_modules\playwright\lib\worker\testInfo.js:297:11
at TimeoutManager.withRunnable (C:\Users\RUNNER~1\AppData\Local\Temp\nbgrader-galata-l4461lug\node_modules\playwright\lib\worker\timeoutManager.js:41:27)
at TestInfoImpl._runAsStage (C:\Users\RUNNER~1\AppData\Local\Temp\nbgrader-galata-l4461lug\node_modules\playwright\lib\worker\testInfo.js:295:7)
at WorkerMain._runEachHooksForSuites (C:\Users\RUNNER~1\AppData\Local\Temp\nbgrader-galata-l4461lug\node_modules\playwright\lib\worker\workerMain.js:576:9)
at C:\Users\RUNNER~1\AppData\Local\Temp\nbgrader-galata-l4461lug\node_modules\playwright\lib\worker\workerMain.js:379:65
at C:\Users\RUNNER~1\AppData\Local\Temp\nbgrader-galata-l4461lug\node_modules\playwright\lib\worker\testInfo.js:297:11
at TimeoutManager.withRunnable (C:\Users\RUNNER~1\AppData\Local\Temp\nbgrader-galata-l4461lug\node_modules\playwright\lib\worker\timeoutManager.js:41:27)
at TestInfoImpl._runAsStage (C:\Users\RUNNER~1\AppData\Local\Temp\nbgrader-galata-l4461lug\node_modules\playwright\lib\worker\testInfo.js:295:7)
at WorkerMain._runTest (C:\Users\RUNNER~1\AppData\Local\Temp\nbgrader-galata-l4461lug\node_modules\playwright\lib\worker\workerMain.js:352:5)
at WorkerMain.runTestGroup (C:\Users\RUNNER~1\AppData\Local\Temp\nbgr
|
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 D:\a\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 (D:\a\nbgrader\nbgrader\node_modules\@jupyterlab\galata\src\helpers\activity.ts:158:45)
at NotebookHelper.getNotebookInPanelLocator (D:\a\nbgrader\nbgrader\node_modules\@jupyterlab\galata\src\helpers\notebook.ts:119:41)
at NotebookHelper.isAnyActive (D:\a\nbgrader\nbgrader\node_modules\@jupyterlab\galata\src\helpers\notebook.ts:60:24)
at D:\a\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 D:\a\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 (D:\a\nbgrader\nbgrader\node_modules\@jupyterlab\galata\src\helpers\activity.ts:158:45)
at NotebookHelper.getNotebookInPanelLocator (D:\a\nbgrader\nbgrader\node_modules\@jupyterlab\galata\src\helpers\notebook.ts:119:41)
at NotebookHelper.isAnyActive (D:\a\nbgrader\nbgrader\node_modules\@jupyterlab\galata\src\helpers\notebook.ts:60:24)
at D:\a\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 D:\a\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 (D:\a\nbgrader\nbgrader\node_modules\@jupyterlab\galata\src\helpers\activity.ts:158:45)
at NotebookHelper.getNotebookInPanelLocator (D:\a\nbgrader\nbgrader\node_modules\@jupyterlab\galata\src\helpers\notebook.ts:119:41)
at NotebookHelper.isAnyActive (D:\a\nbgrader\nbgrader\node_modules\@jupyterlab\galata\src\helpers\notebook.ts:60:24)
at D:\a\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 D:\a\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 (D:\a\nbgrader\nbgrader\node_modules\@jupyterlab\galata\src\helpers\activity.ts:158:45)
at NotebookHelper.getNotebookInPanelLocator (D:\a\nbgrader\nbgrader\node_modules\@jupyterlab\galata\src\helpers\notebook.ts:119:41)
at NotebookHelper.isAnyActive (D:\a\nbgrader\nbgrader\node_modules\@jupyterlab\galata\src\helpers\notebook.ts:60:24)
at D:\a\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 ────────────────────────
21 skipped
18 passed (26.2m)
|
This job failed
Loading