Skip to content

Add namespaces to tasks #14471

Add namespaces to tasks

Add namespaces to tasks #14471

Triggered via pull request September 3, 2024 05:49
Status Success
Total duration 19m 7s
Artifacts 1

qc_checks.yaml

on: pull_request
Build - UI Platform
2m 0s
Style [pre-commit]
36s
Tests - API Schema Documentation
0s
Style [Documentation]
48s
Tests - Migrations [PostgreSQL]
0s
Tests - Full Migration [SQLite]
0s
Tests - inventree-python
0s
Tests - DB [PostgreSQL]
0s
Tests - DB [MySQL]
0s
Tests - Platform UI
18m 7s
Matrix: coverage
Style - Classic UI [JS]
1m 18s
Push new schema
0s

Annotations

10 errors, 8 warnings, and 1 notice
[chromium] › pages/pui_index.spec.ts:6:1 › PUI - Pages - Index - Playground: src/frontend/tests/pages/pui_index.spec.ts#L1
1) [chromium] › pages/pui_index.spec.ts:6:1 › PUI - Pages - Index - Playground ─────────────────── Test timeout of 90000ms exceeded.
[chromium] › pages/pui_index.spec.ts:6:1 › PUI - Pages - Index - Playground: src/frontend/tests/pages/pui_index.spec.ts#L12
1) [chromium] › pages/pui_index.spec.ts:6:1 › PUI - Pages - Index - Playground ─────────────────── Error: locator.click: Test timeout of 90000ms exceeded. Call log: - waiting for getByRole('button', { name: 'API Forms' }) 10 | // Playground 11 | await page.getByRole('tab', { name: 'Playground' }).click(); > 12 | await page.getByRole('button', { name: 'API Forms' }).click(); | ^ 13 | 14 | // New Part 15 | await page.getByRole('button', { name: 'Create New Part' }).click(); at /home/runner/work/InvenTree/InvenTree/src/frontend/tests/pages/pui_index.spec.ts:12:57
[chromium] › pui_general.spec.ts:71:1 › PUI - Sales: src/frontend/tests/pui_general.spec.ts#L1
2) [chromium] › pui_general.spec.ts:71:1 › PUI - Sales ─────────────────────────────────────────── Test timeout of 90000ms exceeded.
[chromium] › pui_general.spec.ts:71:1 › PUI - Sales: src/frontend/tests/baseFixtures.ts#L82
2) [chromium] › pui_general.spec.ts:71:1 › PUI - Sales ─────────────────────────────────────────── Error: expect(received).toEqual(expected) // deep equality - Expected - 1 + Received + 42 - Array [] + Array [ + ConsoleMessage { + "_event": Object { + "args": Array [], + "location": Object { + "columnNumber": 0, + "lineNumber": 0, + "url": "http://localhost:8000/api/order/ro/?customer=30&customer_detail=true&limit=25&offset=0", + }, + "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@192be34f9d39e15e33c7c6ed33b60d36", + "_type": "Page", + }, + Symbol(shapeMode): false, + Symbol(kCapture): false, + }, + "text": "Failed to load resource: the server responded with a status of 401 (Unauthorized)", + "type": "error", + }, + "_page": Object { + "_guid": "page@192be34f9d39e15e33c7c6ed33b60d36", + "_type": "Page", + }, + }, + ] at baseFixtures.ts:82 80 | }); 81 | await use(page); > 82 | expect(messages).toEqual([]); | ^ 83 | } 84 | }); 85 | at Object.page (/home/runner/work/InvenTree/InvenTree/src/frontend/tests/baseFixtures.ts:82:22)
[chromium] › pui_general.spec.ts:71:1 › PUI - Sales: src/frontend/tests/pui_general.spec.ts#L115
2) [chromium] › pui_general.spec.ts:71:1 › PUI - Sales ─────────────────────────────────────────── Error: locator.click: Test timeout of 90000ms exceeded. Call log: - waiting for getByRole('cell', { name: 'RMA-' }) 113 | await page.getByRole('link', { name: 'Customer A' }).click(); 114 | await page.getByRole('tab', { name: 'Return Orders' }).click(); > 115 | await page.getByRole('cell', { name: 'RMA-' }).click(); | ^ 116 | await page.getByText('RMA-0001', { exact: true }).waitFor(); 117 | await page.getByRole('tab', { name: 'Line Items' }).click(); 118 | await page.getByRole('tab', { name: 'Attachments' }).click(); at /home/runner/work/InvenTree/InvenTree/src/frontend/tests/pui_general.spec.ts:115:50
[firefox] › modals.spec.ts:4:1 › PUI - Modals as admin: src/frontend/tests/modals.spec.ts#L1
3) [firefox] › modals.spec.ts:4:1 › PUI - Modals as admin ──────────────────────────────────────── Test timeout of 90000ms exceeded.
[firefox] › modals.spec.ts:4:1 › PUI - Modals as admin: src/frontend/tests/baseFixtures.ts#L82
3) [firefox] › modals.spec.ts:4:1 › PUI - Modals as admin ──────────────────────────────────────── Error: expect(received).toEqual(expected) // deep equality - Expected - 1 + Received + 132 - Array [] + Array [ + ConsoleMessage { + "_event": Object { + "args": Array [ + EventEmitter { + "_events": Object { + "previewUpdated": [Function anonymous], + }, + "_eventsCount": 1, + "_maxListeners": undefined, + "_object": Object { + "_guid": "handle@78023481784cb05a8bc97847ac71050e", + "_type": "JSHandle", + }, + Symbol(shapeMode): false, + Symbol(kCapture): false, + }, + ], + "location": Object { + "columnNumber": 0, + "lineNumber": 0, + "url": "http://localhost:5173/platform/", + }, + "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@89de827d568bf1bc6f89325143d9b9bf", + "_type": "Page", + }, + Symbol(shapeMode): false, + Symbol(kCapture): false, + }, + "text": "[JavaScript Error: \"Loading module from “http://localhost:5173/src/components/items/Placeholder.tsx” was blocked because of a disallowed MIME type (“”).\" {file: \"http://localhost:5173/platform/\" line: 0}]", + "type": "error", + }, + "_page": Object { + "_guid": "page@89de827d568bf1bc6f89325143d9b9bf", + "_type": "Page", + }, + }, + ConsoleMessage { + "_event": Object { + "args": Array [ + EventEmitter { + "_events": Object { + "previewUpdated": [Function anonymous], + }, + "_eventsCount": 1, + "_maxListeners": undefined, + "_object": Object { + "_guid": "handle@a2cd86ec40e3ad7d917d47ffbe8f6381", + "_type": "JSHandle", + }, + Symbol(shapeMode): false, + Symbol(kCapture): false, + }, + ], + "location": Object { + "columnNumber": 19, + "lineNumber": 2227, + "url": "http://localhost:5173/node_modules/.vite/deps/chunk-V44VSNKQ.js?v=64eb3596", + }, + "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@89de827d568bf1bc6f893251
[firefox] › modals.spec.ts:4:1 › PUI - Modals as admin: src/frontend/tests/modals.spec.ts#L56
3) [firefox] › modals.spec.ts:4:1 › PUI - Modals as admin ──────────────────────────────────────── Error: locator.click: Test timeout of 90000ms exceeded. Call log: - waiting for getByRole('button', { name: 'Open QR code scanner' }) 54 | 55 | // qr code modal > 56 | await page.getByRole('button', { name: 'Open QR code scanner' }).click(); | ^ 57 | await page.getByRole('banner').getByRole('button').click(); 58 | await page.getByRole('button', { name: 'Open QR code scanner' }).click(); 59 | await page.getByRole('button', { name: 'Close modal' }).click(); at /home/runner/work/InvenTree/InvenTree/src/frontend/tests/modals.spec.ts:56:68
[firefox] › pui_basic.spec.ts:5:1 › PUI - Basic Login Test: src/frontend/tests/baseFixtures.ts#L82
4) [firefox] › pui_basic.spec.ts:5:1 › PUI - Basic Login Test ──────────────────────────────────── Error: expect(received).toEqual(expected) // deep equality - Expected - 1 + Received + 242 - Array [] + Array [ + ConsoleMessage { + "_event": Object { + "args": Array [ + EventEmitter { + "_events": Object { + "previewUpdated": [Function anonymous], + }, + "_eventsCount": 1, + "_maxListeners": undefined, + "_object": Object { + "_guid": "handle@59decc147354edd4c6c3ef31afdefb59", + "_type": "JSHandle", + }, + Symbol(shapeMode): false, + Symbol(kCapture): false, + }, + ], + "location": Object { + "columnNumber": 19, + "lineNumber": 2227, + "url": "http://localhost:5173/node_modules/.vite/deps/chunk-V44VSNKQ.js?v=64eb3596", + }, + "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@dffb4ee301ac5cbedbc609da07c888c8", + "_type": "Page", + }, + Symbol(shapeMode): false, + Symbol(kCapture): false, + }, + "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=04d12e3b:4031:7 + Outlet@http://localhost:5173/node_modules/.vite/deps/react-router-dom.js?v=04d12e3b:4403:20 + _ErrorBoundary@http://localhost:5173/node_modules/.vite/deps/@sentry_react.js?v=b7185d4d:22623:5 + Boundary@http://localhost:5173/src/components/Boundary.tsx:999:25 + div + _Box<@http://localhost:5173/node_modules/.vite/deps/chunk-V44VSNKQ.js?v=64eb3596:3447:3 + Container<@http://localhost:5173/node_modules/.vite/deps/chunk-V44VSNKQ.js?v=64eb3596:14823:25 + div + _Box<@http://localhost:5173/node_modules/.vite/deps/chunk-V44VSNKQ.js?v=64eb3596:3447:3 + Flex<@http://localhost:5173/node_modules/.vite/deps/chunk-V44VSNKQ.js?v=64eb3596:9352:25 + ProtectedRoute@http://localhost:5173/src/components/nav/Layout.tsx:1341:31 + LayoutComponent@http://localhost:5173/src/components/nav/Layout.tsx:1384:47 + Suspense + RenderedRoute@http://localhost:5173/node_modules/.vite/deps/react-router-dom.js?v=04d12e3b:4031:7 + Routes@http://localhost:5173/node_modules/.vite/deps/react-router-dom.js?v=04d12e3b:4469:7 + Router@http://localhost:5173/node_modules/.vite/deps/react-router-dom.js?v=04d12e3b:4417:7 + BrowserRouter@http://localhost:5173/node_modules/.vite/deps/react-router-dom.js?v=04d12e3b:5159:7 + QueryClientProvider@http://localhost:5173/node_modules/.vite/deps/@tanstack_react-query.js?v=693e1f61:2719:27 + ModalsProvider@http://localhost:5173/node_modules/.vite/deps/@mantine_modals.js?v=7fc20fb3:186:24 + I18nProvider@http://localhost:5173/node_modules/.vite/deps/@lingui_react.js?v=60128114:159:20 + LanguageContext@http://localhost:5173/src/contexts/LanguageContext.tsx:3399:32 + MantineThemeProvider@http://localhost:5173/node_modules/.vite/deps/chunk-V44VSNKQ.js?v=64eb3596:1812:30 + MantineProvider@http://localhost:5173/node_
[firefox] › pui_general.spec.ts:5:1 › PUI - Parts: src/frontend/tests/baseFixtures.ts#L82
5) [firefox] › pui_general.spec.ts:5:1 › PUI - Parts ───────────────────────────────────────────── Error: expect(received).toEqual(expected) // deep equality - Expected - 1 + Received + 272 - Array [] + Array [ + ConsoleMessage { + "_event": Object { + "args": Array [ + EventEmitter { + "_events": Object { + "previewUpdated": [Function anonymous], + }, + "_eventsCount": 1, + "_maxListeners": undefined, + "_object": Object { + "_guid": "handle@c0a9001443eff531b4434bf8a726c387", + "_type": "JSHandle", + }, + Symbol(shapeMode): false, + Symbol(kCapture): false, + }, + ], + "location": Object { + "columnNumber": 19, + "lineNumber": 2227, + "url": "http://localhost:5173/node_modules/.vite/deps/chunk-V44VSNKQ.js?v=64eb3596", + }, + "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@ca60cb8e6a2d080955b60880f1c0cc22", + "_type": "Page", + }, + Symbol(shapeMode): false, + Symbol(kCapture): false, + }, + "text": "The above error occurred in one of your React components: + + Lazy + Suspense + LoadingItem@http://localhost:5173/src/functions/loading.tsx:994:28 + div + _Box<@http://localhost:5173/node_modules/.vite/deps/chunk-V44VSNKQ.js?v=64eb3596:3447:3 + Container<@http://localhost:5173/node_modules/.vite/deps/chunk-V44VSNKQ.js?v=64eb3596:14823:25 + Resizable2@http://localhost:5173/node_modules/.vite/deps/react-grid-layout.js?v=071cd609:2527:39 + DraggableCore@http://localhost:5173/node_modules/.vite/deps/react-grid-layout.js?v=071cd609:1481:9 + GridItem@http://localhost:5173/node_modules/.vite/deps/react-grid-layout.js?v=071cd609:3059:9 + div + ReactGridLayout@http://localhost:5173/node_modules/.vite/deps/react-grid-layout.js?v=071cd609:3591:9 + ResponsiveReactGridLayout@http://localhost:5173/node_modules/.vite/deps/react-grid-layout.js?v=071cd609:4320:9 + WidthProvider@http://localhost:5173/node_modules/.vite/deps/react-grid-layout.js?v=071cd609:5074:11 + div + WidgetLayout@http://localhost:5173/src/components/widgets/WidgetLayout.tsx:2166:29 + Home@http://localhost:5173/src/pages/Index/Home.tsx:1114:49 + Suspense + RenderedRoute@http://localhost:5173/node_modules/.vite/deps/react-router-dom.js?v=04d12e3b:4031:7 + Outlet@http://localhost:5173/node_modules/.vite/deps/react-router-dom.js?v=04d12e3b:4403:20 + _ErrorBoundary@http://localhost:5173/node_modules/.vite/deps/@sentry_react.js?v=b7185d4d:22623:5 + Boundary@http://localhost:5173/src/components/Boundary.tsx:999:25 + div + _Box<@http://localhost:5173/node_modules/.vite/deps/chunk-V44VSNKQ.js?v=64eb3596:3447:3 + Container<@http://localhost:5173/node_modules/.vite/deps/chunk-V44VSNKQ.js?v=64eb3596:14823:25 + div + _Box<@http://localhost:5173/node_modules/.vite/deps/chunk-V44VSNKQ.js?v=64eb3596:3447:3 + Flex<@http://localhost:5173/node_modules/.vite/deps/chunk-V44VSNKQ.js?v=64eb3596:9352:25 + ProtectedRoute@http://localhost:
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/
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/
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/[chromium] › pui_stock.spec.ts#L1
src/frontend/[chromium] › pui_stock.spec.ts took 28.5s
Slow Test: src/frontend/[firefox] › pages/pui_orders.spec.ts#L1
src/frontend/[firefox] › pages/pui_orders.spec.ts took 26.6s
Slow Test: src/frontend/[chromium] › pages/pui_build.spec.ts#L1
src/frontend/[chromium] › pages/pui_build.spec.ts took 24.8s
Slow Test: src/frontend/[chromium] › pui_printing.spec.ts#L1
src/frontend/[chromium] › pui_printing.spec.ts took 22.1s
Slow Test: src/frontend/[chromium] › pages/pui_orders.spec.ts#L1
src/frontend/[chromium] › pages/pui_orders.spec.ts took 21.3s
🎭 Playwright Run Summary
5 flaky [chromium] › pages/pui_index.spec.ts:6:1 › PUI - Pages - Index - Playground ──────────────────── [chromium] › pui_general.spec.ts:71:1 › PUI - Sales ──────────────────────────────────────────── [firefox] › modals.spec.ts:4:1 › PUI - Modals as admin ───────────────────────────────────────── [firefox] › pui_basic.spec.ts:5:1 › PUI - Basic Login Test ───────────────────────────────────── [firefox] › pui_general.spec.ts:5:1 › PUI - Parts ────────────────────────────────────────────── 91 passed (12.4m)

Artifacts

Produced during runtime
Name Size
frontend-build Expired
2.06 MB