Skip to content

[PUI] SSO improvments (#8527) #15863

[PUI] SSO improvments (#8527)

[PUI] SSO improvments (#8527) #15863

Re-run triggered November 25, 2024 01:04
Status Failure
Total duration 15m 22s
Artifacts 2

qc_checks.yaml

on: push
Build - UI Platform
2m 16s
Build - UI Platform
Style [pre-commit]
43s
Style [pre-commit]
Tests - API Schema Documentation
4m 15s
Tests - API Schema Documentation
Style [Documentation]
55s
Style [Documentation]
Tests - Migrations [PostgreSQL]
0s
Tests - Migrations [PostgreSQL]
Tests - Full Migration [SQLite]
0s
Tests - Full Migration [SQLite]
Tests - inventree-python
5m 14s
Tests - inventree-python
Tests - DB [PostgreSQL]
15m 7s
Tests - DB [PostgreSQL]
Tests - DB [MySQL]
12m 25s
Tests - DB [MySQL]
Tests - Platform UI
21m 10s
Tests - Platform UI
Matrix: coverage
Style - Classic UI [JS]
1m 37s
Style - Classic UI [JS]
Push new schema
0s
Push new schema
Fit to window
Zoom out
Zoom in

Annotations

10 errors, 9 warnings, and 1 notice
Tests - API Schema Documentation
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.
[firefox] › pages/pui_sales_order.spec.ts:5:1 › Sales Orders: src/frontend/tests/pages/pui_sales_order.spec.ts#L1
1) [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/pages/pui_sales_order.spec.ts#L9
1) [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_basic.spec.ts:5:1 › Basic Login Test: src/frontend/tests/baseFixtures.ts#L85
2) [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@ae90d50a6413d394ff50b7e498f5dd55", + "_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=a0ecd844", + }, + "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@7a60ce34a93721d0dbb607c6beaf43ba", + "_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=faf24122:4095:7 + Outlet@http://localhost:5173/node_modules/.vite/deps/react-router-dom.js?v=faf24122:4467:20 + _ErrorBoundary@http://localhost:5173/node_modules/.vite/deps/@sentry_react.js?v=88a08d8d: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=a0ecd844:3819:3 + Container<@http://localhost:5173/node_modules/.vite/deps/chunk-56VRJ6UA.js?v=a0ecd844:15473:25 + div + _Box<@http://localhost:5173/node_modules/.vite/deps/chunk-56VRJ6UA.js?v=a0ecd844:3819:3 + Flex<@http://localhost:5173/node_modules/.vite/deps/chunk-56VRJ6UA.js?v=a0ecd844: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=faf24122:4095:7 + Routes@http://localhost:5173/node_modules/.vite/deps/react-router-dom.js?v=faf24122:4533:7 + Router@http://localhost:5173/node_modules/.vite/deps/react-router-dom.js?v=faf24122:4481:7 + BrowserRouter@http://localhost:5173/node_modules/.vite/deps/react-router-dom.js?v=faf24122:5223:7 + QueryClientProvider@http://localhost:5173/node_modules/.vite/deps/@tanstack_react-query.js?v=9c3452e3:2725:27 + ModalsProvider@http://localhost:5173/node_modules/.vite/deps/@mantine_modals.js?v=d1be7337:184:24 + I18nProvider@http://localhost:5173/node_modules/.vite/deps/@lingui_react.js?v=1c04ee73:159:20 + LanguageContext@http://localhos
[firefox] › pui_command.spec.ts:16:1 › Quick Command - No Keys: src/frontend/tests/pui_command.spec.ts#L1
3) [firefox] › pui_command.spec.ts:16:1 › Quick Command - No Keys ──────────────────────────────── Test timeout of 90000ms exceeded.
[firefox] › pui_command.spec.ts:16:1 › Quick Command - No Keys: src/frontend/tests/baseFixtures.ts#L85
3) [firefox] › pui_command.spec.ts:16:1 › Quick Command - No Keys ──────────────────────────────── 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@40f85fb1b8560c539c05351650777a5b", + "_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=a0ecd844", + }, + "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@d25dad31d34a7c0ba09d925265802b82", + "_type": "Page", + }, + "_pendingHandlers": Map {}, + "_rejectionHandler": undefined, + "off": [Function removeListener], + "on": [Function addListener], + }, + "text": "Query data cannot be undefined. Please make sure to return a value other than undefined from your query function. Affected query key: [\"license\"]", + "type": "error", + }, + "_page": Object { + "_guid": "page@d25dad31d34a7c0ba09d925265802b82", + "_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] › pui_command.spec.ts:16:1 › Quick Command - No Keys: src/frontend/tests/pui_command.spec.ts#L68
3) [firefox] › pui_command.spec.ts:16:1 › Quick Command - No Keys ──────────────────────────────── Error: locator.waitFor: Test timeout of 90000ms exceeded. Call log: - waiting for getByRole('tab', { name: 'backend Packages' }) to be visible 66 | .click(); 67 | await page.getByText('License Information').first().waitFor(); > 68 | await page.getByRole('tab', { name: 'backend Packages' }).waitFor(); | ^ 69 | await page.getByRole('button', { name: 'Django BSD License' }).click(); 70 | 71 | await page.keyboard.press('Escape'); at /home/runner/work/InvenTree/InvenTree/src/frontend/tests/pui_command.spec.ts:68:61
Tests - DB [PostgreSQL]
Process completed with exit code 1.
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/[firefox] › pages/pui_scan.spec.ts#L1
src/frontend/[firefox] › pages/pui_scan.spec.ts took 45.8s
Slow Test: src/frontend/[firefox] › pui_general.spec.ts#L1
src/frontend/[firefox] › pui_general.spec.ts took 30.0s
Slow Test: src/frontend/[firefox] › pui_plugins.spec.ts#L1
src/frontend/[firefox] › pui_plugins.spec.ts took 28.3s
Slow Test: src/frontend/[firefox] › pui_forms.spec.ts#L1
src/frontend/[firefox] › pui_forms.spec.ts took 22.8s
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/
Slow Test: src/frontend/[chromium] › modals.spec.ts#L1
src/frontend/[chromium] › modals.spec.ts took 21.3s
🎭 Playwright Run Summary
3 flaky [firefox] › pages/pui_sales_order.spec.ts:5:1 › Sales Orders ─────────────────────────────────── [firefox] › pui_basic.spec.ts:5:1 › Basic Login Test ─────────────────────────────────────────── [firefox] › pui_command.spec.ts:16:1 › Quick Command - No Keys ───────────────────────────────── 123 passed (14.3m)