Skip to content

Report printing refactor #12170

Report printing refactor

Report printing refactor #12170

Triggered via pull request May 13, 2024 23:31
Status Failure
Total duration 19m 41s
Artifacts 3

qc_checks.yaml

on: pull_request
Build - UI Platform
1m 45s
Build - UI Platform
Style [pre-commit]
33s
Style [pre-commit]
Tests - API Schema Documentation
4m 47s
Tests - API Schema Documentation
Style [Documentation]
38s
Style [Documentation]
Tests - Migrations [PostgreSQL]
0s
Tests - Migrations [PostgreSQL]
Tests - Full Migration [SQLite]
0s
Tests - Full Migration [SQLite]
Tests - inventree-python
5m 57s
Tests - inventree-python
Tests - DB [PostgreSQL]
18m 38s
Tests - DB [PostgreSQL]
Tests - DB [MySQL]
17m 23s
Tests - DB [MySQL]
Tests - Platform UI
14m 53s
Tests - Platform UI
Matrix: coverage
Style - Classic UI [JS]
1m 19s
Style - Classic UI [JS]
Push new schema
0s
Push new schema
Fit to window
Zoom out
Zoom in

Annotations

15 errors, 5 warnings, and 1 notice
Tests - API Schema Documentation
Process completed with exit code 1.
[chromium] › pui_printing.spec.ts:10:1 › PUI - Label Printing: src/frontend/tests/pui_printing.spec.ts#L1
1) [chromium] › pui_printing.spec.ts:10:1 › PUI - Label Printing ───────────────────────────────── Tearing down "context" exceeded the test timeout of 60000ms.
[chromium] › pui_printing.spec.ts:10:1 › PUI - Label Printing: src/frontend/tests/baseFixtures.ts#L47
1) [chromium] › pui_printing.spec.ts:10:1 › PUI - Label Printing ───────────────────────────────── Error: page.evaluate: Test ended. at baseFixtures.ts:47 45 | await use(context); 46 | for (const page of context.pages()) { > 47 | await page.evaluate(() => | ^ 48 | (window as any).collectIstanbulCoverage( 49 | JSON.stringify((window as any).__coverage__) 50 | ) at Object.context (/home/runner/work/InvenTree/InvenTree/src/frontend/tests/baseFixtures.ts:47:18)
[chromium] › pui_printing.spec.ts:10:1 › PUI - Label Printing: src/frontend/tests/pui_printing.spec.ts#L1
1) [chromium] › pui_printing.spec.ts:10:1 › PUI - Label Printing ───────────────────────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Tearing down "context" exceeded the test timeout of 60000ms.
[chromium] › pui_printing.spec.ts:10:1 › PUI - Label Printing: src/frontend/tests/baseFixtures.ts#L47
1) [chromium] › pui_printing.spec.ts:10:1 › PUI - Label Printing ───────────────────────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: page.evaluate: Test ended. at baseFixtures.ts:47 45 | await use(context); 46 | for (const page of context.pages()) { > 47 | await page.evaluate(() => | ^ 48 | (window as any).collectIstanbulCoverage( 49 | JSON.stringify((window as any).__coverage__) 50 | ) at Object.context (/home/runner/work/InvenTree/InvenTree/src/frontend/tests/baseFixtures.ts:47:18)
[chromium] › pui_printing.spec.ts:52:1 › PUI - Report Printing: src/frontend/tests/pui_printing.spec.ts#L1
2) [chromium] › pui_printing.spec.ts:52:1 › PUI - Report Printing ──────────────────────────────── Tearing down "context" exceeded the test timeout of 60000ms.
[chromium] › pui_printing.spec.ts:52:1 › PUI - Report Printing: src/frontend/tests/baseFixtures.ts#L47
2) [chromium] › pui_printing.spec.ts:52:1 › PUI - Report Printing ──────────────────────────────── Error: page.evaluate: Test ended. at baseFixtures.ts:47 45 | await use(context); 46 | for (const page of context.pages()) { > 47 | await page.evaluate(() => | ^ 48 | (window as any).collectIstanbulCoverage( 49 | JSON.stringify((window as any).__coverage__) 50 | ) at Object.context (/home/runner/work/InvenTree/InvenTree/src/frontend/tests/baseFixtures.ts:47:18)
[chromium] › pui_printing.spec.ts:52:1 › PUI - Report Printing: src/frontend/tests/pui_printing.spec.ts#L1
2) [chromium] › pui_printing.spec.ts:52:1 › PUI - Report Printing ──────────────────────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Tearing down "context" exceeded the test timeout of 60000ms.
[chromium] › pui_printing.spec.ts:52:1 › PUI - Report Printing: src/frontend/tests/baseFixtures.ts#L47
2) [chromium] › pui_printing.spec.ts:52:1 › PUI - Report Printing ──────────────────────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: page.evaluate: Test ended. at baseFixtures.ts:47 45 | await use(context); 46 | for (const page of context.pages()) { > 47 | await page.evaluate(() => | ^ 48 | (window as any).collectIstanbulCoverage( 49 | JSON.stringify((window as any).__coverage__) 50 | ) at Object.context (/home/runner/work/InvenTree/InvenTree/src/frontend/tests/baseFixtures.ts:47:18)
[firefox] › pages/pui_part.spec.ts:108:1 › PUI - Pages - Part - Pricing (Internal): src/frontend/tests/baseFixtures.ts#L72
3) [firefox] › pages/pui_part.spec.ts:108:1 › PUI - Pages - Part - Pricing (Internal) ──────────── Error: expect(received).toEqual(expected) // deep equality - Expected - 1 + Received + 54 - Array [] + Array [ + ConsoleMessage { + "_event": Object { + "args": Array [ + EventEmitter { + "_events": Object { + "previewUpdated": [Function anonymous], + }, + "_eventsCount": 1, + "_maxListeners": undefined, + "_object": Object { + "_guid": "handle@1790befe521961726ac8080c0b12ea9a", + "_type": "JSHandle", + }, + Symbol(kCapture): false, + }, + ], + "location": Object { + "columnNumber": 19, + "lineNumber": 2544, + "url": "http://localhost:5173/node_modules/.vite/deps/chunk-3RV62VHK.js?v=1f20d401", + }, + "page": EventEmitter { + "_events": Object { + "bindingCall": [Function anonymous], + "close": [Function anonymous], + "crash": [Function anonymous], + "download": [Function anonymous], + "fileChooser": [Function anonymous], + "frameAttached": [Function anonymous], + "frameDetached": [Function anonymous], + "locatorHandlerTriggered": [Function anonymous], + "route": [Function anonymous], + "video": [Function anonymous], + "webSocket": [Function anonymous], + "worker": [Function anonymous], + }, + "_eventsCount": 12, + "_maxListeners": undefined, + "_object": Object { + "_guid": "page@9ae27222498969e925b7b8cc4dddaaf9", + "_type": "Page", + }, + Symbol(kCapture): false, + }, + "text": "Query data cannot be undefined. Please make sure to return a value other than undefined from your query function. Affected query key: [\"notification-count\"]", + "type": "error", + }, + "_page": Object { + "_guid": "page@9ae27222498969e925b7b8cc4dddaaf9", + "_type": "Page", + }, + }, + ] at baseFixtures.ts:72 70 | }); 71 | await use(page); > 72 | expect(messages).toEqual([]); | ^ 73 | } 74 | }); 75 | at Object.page (/home/runner/work/InvenTree/InvenTree/src/frontend/tests/baseFixtures.ts:72:22)
Tests - Platform UI
Process completed with exit code 1.
Tests - DB [SQLite] + Coverage 3.9
Process completed with exit code 1.
Tests - DB [MySQL]
Process completed with exit code 1.
Tests - DB [SQLite] + Coverage 3.12
Process completed with exit code 1.
Tests - DB [PostgreSQL]
Process completed with exit code 1.
Build - UI Platform
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@1a4442cacd436585916779262731d5b162bc6ec7. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Style - Classic UI [JS]
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@1a4442cacd436585916779262731d5b162bc6ec7. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Tests - inventree-python
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@1a4442cacd436585916779262731d5b162bc6ec7. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Tests - Platform UI
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@1a4442cacd436585916779262731d5b162bc6ec7. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Slow Test: src/frontend/[chromium] › modals.spec.ts#L1
src/frontend/[chromium] › modals.spec.ts took 15.7s
🎭 Playwright Run Summary
2 failed [chromium] › pui_printing.spec.ts:10:1 › PUI - Label Printing ────────────────────────────────── [chromium] › pui_printing.spec.ts:52:1 › PUI - Report Printing ───────────────────────────────── 1 flaky [firefox] › pages/pui_part.spec.ts:108:1 › PUI - Pages - Part - Pricing (Internal) ───────────── 67 passed (8.4m)

Artifacts

Produced during runtime
Name Size
frontend-build Expired
1.79 MB
playwright-report Expired
2.08 MB
schema.yml Expired
56.7 KB