Skip to content

Plugins installation improvements (#8503) #4875

Plugins installation improvements (#8503)

Plugins installation improvements (#8503) #4875

Triggered via push November 20, 2024 21:55
Status Failure
Total duration 27m 44s
Artifacts 3

qc_checks.yaml

on: push
Build - UI Platform
4m 6s
Build - UI Platform
Style [pre-commit]
34s
Style [pre-commit]
Tests - API Schema Documentation
4m 12s
Tests - API Schema Documentation
Style [Documentation]
43s
Style [Documentation]
Tests - Migrations [PostgreSQL]
27m 19s
Tests - Migrations [PostgreSQL]
Tests - Full Migration [SQLite]
3m 12s
Tests - Full Migration [SQLite]
Tests - inventree-python
5m 8s
Tests - inventree-python
Tests - DB [PostgreSQL]
15m 9s
Tests - DB [PostgreSQL]
Tests - DB [MySQL]
14m 24s
Tests - DB [MySQL]
Tests - Platform UI
22m 6s
Tests - Platform UI
Matrix: coverage
Style - Classic UI [JS]
1m 24s
Style - Classic UI [JS]
Push new schema
0s
Push new schema
Fit to window
Zoom out
Zoom in

Annotations

11 errors, 9 warnings, and 1 notice
Tests - API Schema Documentation
Process completed with exit code 1.
[firefox] › pui_basic.spec.ts:5:1 › Basic Login Test: src/frontend/tests/baseFixtures.ts#L85
1) [firefox] › pui_basic.spec.ts:5:1 › Basic Login Test ────────────────────────────────────────── Error: expect(received).toEqual(expected) // deep equality - Expected - 1 + Received + 258 - Array [] + Array [ + ConsoleMessage { + "_event": Object { + "args": Array [ + EventEmitter { + "_events": Object { + "previewUpdated": [Function anonymous], + }, + "_eventsCount": 1, + "_maxListeners": undefined, + "_object": Object { + "_guid": "handle@34b72c2651c9e7244bc2f822d6373262", + "_type": "JSHandle", + }, + "_pendingHandlers": Map {}, + "_rejectionHandler": undefined, + "off": [Function removeListener], + "on": [Function addListener], + }, + ], + "location": Object { + "columnNumber": 19, + "lineNumber": 2599, + "url": "http://localhost:5173/node_modules/.vite/deps/chunk-56VRJ6UA.js?v=88b09e48", + }, + "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@ce38ffb524d47e1c719c0182fff928d1", + "_type": "Page", + }, + "_pendingHandlers": Map {}, + "_rejectionHandler": undefined, + "off": [Function removeListener], + "on": [Function addListener], + }, + "text": "The above error occurred in one of your React components: + + Lazy + Suspense + RenderedRoute@http://localhost:5173/node_modules/.vite/deps/react-router-dom.js?v=1bcc9fd5:4095:7 + Outlet@http://localhost:5173/node_modules/.vite/deps/react-router-dom.js?v=1bcc9fd5:4467:20 + _ErrorBoundary@http://localhost:5173/node_modules/.vite/deps/@sentry_react.js?v=aa6c2625:22660:5 + Boundary@http://localhost:5173/src/components/Boundary.tsx:999:25 + div + _Box<@http://localhost:5173/node_modules/.vite/deps/chunk-56VRJ6UA.js?v=88b09e48:3819:3 + Container<@http://localhost:5173/node_modules/.vite/deps/chunk-56VRJ6UA.js?v=88b09e48:15473:25 + div + _Box<@http://localhost:5173/node_modules/.vite/deps/chunk-56VRJ6UA.js?v=88b09e48:3819:3 + Flex<@http://localhost:5173/node_modules/.vite/deps/chunk-56VRJ6UA.js?v=88b09e48:10002:25 + ProtectedRoute@http://localhost:5173/src/components/nav/Layout.tsx:1341:31 + LayoutComponent@http://localhost:5173/src/components/nav/Layout.tsx:1386:47 + Suspense + RenderedRoute@http://localhost:5173/node_modules/.vite/deps/react-router-dom.js?v=1bcc9fd5:4095:7 + Routes@http://localhost:5173/node_modules/.vite/deps/react-router-dom.js?v=1bcc9fd5:4533:7 + Router@http://localhost:5173/node_modules/.vite/deps/react-router-dom.js?v=1bcc9fd5:4481:7 + BrowserRouter@http://localhost:5173/node_modules/.vite/deps/react-router-dom.js?v=1bcc9fd5:5223:7 + QueryClientProvider@http://localhost:5173/node_modules/.vite/deps/@tanstack_react-query.js?v=d67c08b3:2725:27 + ModalsProvider@http://localhost:5173/node_modules/.vite/deps/@mantine_modals.js?v=abc6b9bf:184:24 + I18nProvider@http://localhost:5173/node_modules/.vite/deps/@lingui_react.js?v=4584b6fa:159:20 + LanguageContext@http://localhos
[firefox] › pui_basic.spec.ts:5:1 › Basic Login Test: src/frontend/tests/baseFixtures.ts#L85
1) [firefox] › pui_basic.spec.ts:5:1 › Basic Login Test ────────────────────────────────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toEqual(expected) // deep equality - Expected - 1 + Received + 258 - Array [] + Array [ + ConsoleMessage { + "_event": Object { + "args": Array [ + EventEmitter { + "_events": Object { + "previewUpdated": [Function anonymous], + }, + "_eventsCount": 1, + "_maxListeners": undefined, + "_object": Object { + "_guid": "handle@08ad1212aff18bb223012aa5da6b9653", + "_type": "JSHandle", + }, + "_pendingHandlers": Map {}, + "_rejectionHandler": undefined, + "off": [Function removeListener], + "on": [Function addListener], + }, + ], + "location": Object { + "columnNumber": 19, + "lineNumber": 2599, + "url": "http://localhost:5173/node_modules/.vite/deps/chunk-56VRJ6UA.js?v=88b09e48", + }, + "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@1ef96cda06075ffa996eecda93f729b5", + "_type": "Page", + }, + "_pendingHandlers": Map {}, + "_rejectionHandler": undefined, + "off": [Function removeListener], + "on": [Function addListener], + }, + "text": "The above error occurred in one of your React components: + + Lazy + Suspense + RenderedRoute@http://localhost:5173/node_modules/.vite/deps/react-router-dom.js?v=1bcc9fd5:4095:7 + Outlet@http://localhost:5173/node_modules/.vite/deps/react-router-dom.js?v=1bcc9fd5:4467:20 + _ErrorBoundary@http://localhost:5173/node_modules/.vite/deps/@sentry_react.js?v=aa6c2625:22660:5 + Boundary@http://localhost:5173/src/components/Boundary.tsx:999:25 + div + _Box<@http://localhost:5173/node_modules/.vite/deps/chunk-56VRJ6UA.js?v=88b09e48:3819:3 + Container<@http://localhost:5173/node_modules/.vite/deps/chunk-56VRJ6UA.js?v=88b09e48:15473:25 + div + _Box<@http://localhost:5173/node_modules/.vite/deps/chunk-56VRJ6UA.js?v=88b09e48:3819:3 + Flex<@http://localhost:5173/node_modules/.vite/deps/chunk-56VRJ6UA.js?v=88b09e48:10002:25 + ProtectedRoute@http://localhost:5173/src/components/nav/Layout.tsx:1341:31 + LayoutComponent@http://localhost:5173/src/components/nav/Layout.tsx:1386:47 + Suspense + RenderedRoute@http://localhost:5173/node_modules/.vite/deps/react-router-dom.js?v=1bcc9fd5:4095:7 + Routes@http://localhost:5173/node_modules/.vite/deps/react-router-dom.js?v=1bcc9fd5:4533:7 + Router@http://localhost:5173/node_modules/.vite/deps/react-router-dom.js?v=1bcc9fd5:4481:7 + BrowserRouter@http://localhost:5173/node_modules/.vite/deps/react-router-dom.js?v=1bcc9fd5:5223:7 + QueryClientProvider@http://localhost:5173/node_modules/.vite/deps/@tanstack_react-query.js?v=d67c08b3:2725:27 + ModalsProvider@http://localhost:5173/node_modules/.vite/deps/@mantine_modals.js?v=abc6b9bf:184:24 + I18nProvider@http://localhost
[chromium] › pages/pui_part.spec.ts:99:1 › Parts - Allocations: src/frontend/tests/pages/pui_part.spec.ts#L1
2) [chromium] › pages/pui_part.spec.ts:99:1 › Parts - Allocations ──────────────────────────────── Test timeout of 90000ms exceeded.
[chromium] › pages/pui_part.spec.ts:99:1 › Parts - Allocations: src/frontend/tests/login.ts#L37
2) [chromium] › pages/pui_part.spec.ts:99:1 › Parts - Allocations ──────────────────────────────── Error: locator.waitFor: Test timeout of 90000ms exceeded. Call log: - waiting for getByText(/InvenTree Demo Server -/) to be visible at login.ts:37 35 | await page.waitForURL('**/platform/home'); 36 | > 37 | await page.getByText(/InvenTree Demo Server -/).waitFor(); | ^ 38 | }; 39 | 40 | export const doLogout = async (page) => { at doQuickLogin (/home/runner/work/InvenTree/InvenTree/src/frontend/tests/login.ts:37:51) at /home/runner/work/InvenTree/InvenTree/src/frontend/tests/pages/pui_part.spec.ts:100:3
[firefox] › pages/pui_build.spec.ts:85:1 › Pages - Build Order - Build Outputs: src/frontend/tests/pages/pui_build.spec.ts#L1
3) [firefox] › pages/pui_build.spec.ts:85:1 › Pages - Build Order - Build Outputs ──────────────── Test timeout of 90000ms exceeded.
[firefox] › pages/pui_build.spec.ts:85:1 › Pages - Build Order - Build Outputs: src/frontend/tests/pages/pui_build.spec.ts#L158
3) [firefox] › pages/pui_build.spec.ts:85:1 › Pages - Build Order - Build Outputs ──────────────── Error: locator.waitFor: Test timeout of 90000ms exceeded. Call log: - waiting for getByText('Build outputs have been completed') to be visible 156 | await page.waitForTimeout(250); 157 | await page.getByRole('button', { name: 'Submit' }).click(); > 158 | await page.getByText('Build outputs have been completed').waitFor(); | ^ 159 | }); 160 | 161 | test('Pages - Build Order - Allocation', async ({ page }) => { at /home/runner/work/InvenTree/InvenTree/src/frontend/tests/pages/pui_build.spec.ts:158:61
[firefox] › pages/pui_sales_order.spec.ts:5:1 › Sales Orders: src/frontend/tests/pages/pui_sales_order.spec.ts#L1
4) [firefox] › pages/pui_sales_order.spec.ts:5:1 › Sales Orders ────────────────────────────────── Test timeout of 90000ms exceeded.
[firefox] › pages/pui_sales_order.spec.ts:5:1 › Sales Orders: src/frontend/tests/baseFixtures.ts#L85
4) [firefox] › pages/pui_sales_order.spec.ts:5:1 › Sales Orders ────────────────────────────────── Error: expect(received).toEqual(expected) // deep equality - Expected - 1 + Received + 60 - Array [] + Array [ + ConsoleMessage { + "_event": Object { + "args": Array [ + EventEmitter { + "_events": Object { + "previewUpdated": [Function anonymous], + }, + "_eventsCount": 1, + "_maxListeners": undefined, + "_object": Object { + "_guid": "handle@c437f8df7a8655f422d26fe3c68c206e", + "_type": "JSHandle", + }, + "_pendingHandlers": Map {}, + "_rejectionHandler": undefined, + "off": [Function removeListener], + "on": [Function addListener], + }, + ], + "location": Object { + "columnNumber": 1, + "lineNumber": 0, + "url": "http://localhost:5173/platform/home", + }, + "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@73729a5e2f954f8d9994c94645fa183a", + "_type": "Page", + }, + "_pendingHandlers": Map {}, + "_rejectionHandler": undefined, + "off": [Function removeListener], + "on": [Function addListener], + }, + "text": "[JavaScript Error: \"Loading module from “http://localhost:5173/src/enums/ModelType.tsx” was blocked because of a disallowed MIME type (“”).\" {file: \"http://localhost:5173/platform/home\" line: 0}]", + "type": "error", + }, + "_page": Object { + "_guid": "page@73729a5e2f954f8d9994c94645fa183a", + "_type": "Page", + }, + }, + ] at baseFixtures.ts:85 83 | }); 84 | await use(page); > 85 | expect(messages).toEqual([]); | ^ 86 | } 87 | }); 88 | at Object.page (/home/runner/work/InvenTree/InvenTree/src/frontend/tests/baseFixtures.ts:85:22)
[firefox] › pages/pui_sales_order.spec.ts:5:1 › Sales Orders: src/frontend/tests/pages/pui_sales_order.spec.ts#L9
4) [firefox] › pages/pui_sales_order.spec.ts:5:1 › Sales Orders ────────────────────────────────── Error: locator.click: Test timeout of 90000ms exceeded. Call log: - waiting for getByRole('tab', { name: 'Sales' }) 7 | 8 | await page.goto(`${baseUrl}/home`); > 9 | await page.getByRole('tab', { name: 'Sales' }).click(); | ^ 10 | await page.getByRole('tab', { name: 'Sales Orders' }).click(); 11 | 12 | // Check for expected text in the table at /home/runner/work/InvenTree/InvenTree/src/frontend/tests/pages/pui_sales_order.spec.ts:9:50
[firefox] › pui_command.spec.ts:16:1 › Quick Command - No Keys: src/frontend/tests/pui_command.spec.ts#L1
5) [firefox] › pui_command.spec.ts:16:1 › Quick Command - No Keys ──────────────────────────────── Test timeout of 90000ms exceeded.
Style - Classic UI [JS]
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-node@1a4442cacd436585916779262731d5b162bc6ec7. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Build - UI Platform
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-node@1a4442cacd436585916779262731d5b162bc6ec7. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Tests - inventree-python
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-node@1a4442cacd436585916779262731d5b162bc6ec7. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Tests - Platform UI
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-node@1a4442cacd436585916779262731d5b162bc6ec7. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Slow Test: src/frontend/[firefox] › pages/pui_scan.spec.ts#L1
src/frontend/[firefox] › pages/pui_scan.spec.ts took 47.0s
Slow Test: src/frontend/[firefox] › pui_tables.spec.ts#L1
src/frontend/[firefox] › pui_tables.spec.ts took 35.8s
Slow Test: src/frontend/[firefox] › pui_settings.spec.ts#L1
src/frontend/[firefox] › pui_settings.spec.ts took 33.6s
Slow Test: src/frontend/[firefox] › pui_general.spec.ts#L1
src/frontend/[firefox] › pui_general.spec.ts took 31.3s
Slow Test: src/frontend/[firefox] › pui_plugins.spec.ts#L1
src/frontend/[firefox] › pui_plugins.spec.ts took 28.3s
🎭 Playwright Run Summary
1 failed [firefox] › pui_basic.spec.ts:5:1 › Basic Login Test ─────────────────────────────────────────── 5 flaky [chromium] › pages/pui_part.spec.ts:99:1 › Parts - Allocations ───────────────────────────────── [firefox] › pages/pui_build.spec.ts:85:1 › Pages - Build Order - Build Outputs ───────────────── [firefox] › pages/pui_sales_order.spec.ts:5:1 › Sales Orders ─────────────────────────────────── [firefox] › pui_command.spec.ts:16:1 › Quick Command - No Keys ───────────────────────────────── [firefox] › pui_printing.spec.ts:11:1 › Label Printing ───────────────────────────────────────── 120 passed (15.6m)

Artifacts

Produced during runtime
Name Size
frontend-build
2.21 MB
playwright-report
31 MB
schema.yml
63.4 KB