Skip to content

Docker postgres fix #17192

Docker postgres fix

Docker postgres fix #17192

Triggered via pull request February 6, 2025 02:59
Status Success
Total duration 33m 15s
Artifacts 5

qc_checks.yaml

on: pull_request
Build - UI Platform
2m 6s
Build - UI Platform
Style [pre-commit]
24s
Style [pre-commit]
Tests - API Schema Documentation
2m 39s
Tests - API Schema Documentation
Style [Documentation]
36s
Style [Documentation]
Tests - Migrations [PostgreSQL]
32m 50s
Tests - Migrations [PostgreSQL]
Tests - Full Migration [SQLite]
2m 55s
Tests - Full Migration [SQLite]
Tests - inventree-python
3m 9s
Tests - inventree-python
Tests - DB [PostgreSQL]
12m 43s
Tests - DB [PostgreSQL]
Tests - DB [MySQL]
12m 1s
Tests - DB [MySQL]
Tests - Platform UI
23m 54s
Tests - Platform UI
Security [Zizmor]
29s
Security [Zizmor]
Matrix: coverage
Push new schema
0s
Push new schema
Fit to window
Zoom out
Zoom in

Annotations

11 errors, 6 warnings, and 1 notice
Tests - API Schema Documentation
Process completed with exit code 1.
[chromium] › pages/pui_part.spec.ts:173:1 › Parts - Pricing (Nothing: src/frontend/tests/pages/pui_part.spec.ts#L1
1) [chromium] › pages/pui_part.spec.ts:173:1 › Parts - Pricing (Nothing, BOM) ──────────────────── Test timeout of 90000ms exceeded.
[chromium] › pages/pui_part.spec.ts:173:1 › Parts - Pricing (Nothing: src/frontend/tests/login.ts#L39
1) [chromium] › pages/pui_part.spec.ts:173:1 › Parts - Pricing (Nothing, BOM) ──────────────────── Error: locator.waitFor: Test timeout of 90000ms exceeded. Call log: - waiting for getByText(/InvenTree Demo Server -/) to be visible at login.ts:39 37 | 38 | await page.getByLabel('navigation-menu').waitFor(); > 39 | await page.getByText(/InvenTree Demo Server -/).waitFor(); | ^ 40 | 41 | // Wait for the dashboard to load 42 | await page.getByText('No widgets selected').waitFor(); at doQuickLogin (/home/runner/work/InvenTree/InvenTree/src/frontend/tests/login.ts:39:51) at /home/runner/work/InvenTree/InvenTree/src/frontend/tests/pages/pui_part.spec.ts:174:3
[chromium] › pui_login.spec.ts:6:1 › Login - Basic Test: src/frontend/tests/pui_login.spec.ts#L1
2) [chromium] › pui_login.spec.ts:6:1 › Login - Basic Test ─────────────────────────────────────── Test timeout of 90000ms exceeded.
[chromium] › pui_login.spec.ts:6:1 › Login - Basic Test: src/frontend/tests/login.ts#L18
2) [chromium] › pui_login.spec.ts:6:1 › Login - Basic Test ─────────────────────────────────────── Error: page.waitForURL: Test timeout of 90000ms exceeded. =========================== logs =========================== waiting for navigation to "**/platform/home" until "load" ============================================================ at login.ts:18 16 | await page.getByLabel('password').fill(password); 17 | await page.getByRole('button', { name: 'Log in' }).click(); > 18 | await page.waitForURL('**/platform/home'); | ^ 19 | await page.waitForTimeout(250); 20 | }; 21 | at doLogin (/home/runner/work/InvenTree/InvenTree/src/frontend/tests/login.ts:18:14) at /home/runner/work/InvenTree/InvenTree/src/frontend/tests/pui_login.spec.ts:7:3
[chromium] › pui_plugins.spec.ts:67:1 › Plugins - Custom Admin: src/frontend/tests/pui_plugins.spec.ts#L1
3) [chromium] › pui_plugins.spec.ts:67:1 › Plugins - Custom Admin ──────────────────────────────── Test timeout of 90000ms exceeded.
[chromium] › pui_plugins.spec.ts:67:1 › Plugins - Custom Admin: src/frontend/tests/pui_plugins.spec.ts#L82
3) [chromium] › pui_plugins.spec.ts:67:1 › Plugins - Custom Admin ──────────────────────────────── Error: locator.click: Test timeout of 90000ms exceeded. Call log: - waiting for getByRole('button', { name: 'Plugin Information' }) 80 | // Open the plugin drawer, and ensure that the custom admin elements are visible 81 | await page.getByText('SampleUI').click(); > 82 | await page.getByRole('button', { name: 'Plugin Information' }).click(); | ^ 83 | await page 84 | .getByLabel('Plugin Detail') 85 | .getByRole('button', { name: 'Plugin Settings' }) at /home/runner/work/InvenTree/InvenTree/src/frontend/tests/pui_plugins.spec.ts:82:66
[chromium] › pui_tables.spec.ts:9:1 › Tables - Filters: src/frontend/tests/baseFixtures.ts#L86
4) [chromium] › pui_tables.spec.ts:9:1 › Tables - Filters ──────────────────────────────────────── Error: expect(received).toEqual(expected) // deep equality - Expected - 1 + Received + 45 - Array [] + Array [ + ConsoleMessage { + "_event": Object { + "args": Array [], + "location": Object { + "columnNumber": 0, + "lineNumber": 0, + "url": "http://localhost:8000/api/order/po/?supplier_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], + "webSocketRoute": [Function anonymous], + "worker": [Function anonymous], + }, + "_eventsCount": 13, + "_maxListeners": undefined, + "_object": Object { + "_guid": "page@3627d823016af61a0f8239d9957e364c", + "_type": "Page", + }, + "_pendingHandlers": Map {}, + "_rejectionHandler": undefined, + "off": [Function removeListener], + "on": [Function addListener], + }, + "text": "Failed to load resource: the server responded with a status of 401 (Unauthorized)", + "type": "error", + }, + "_page": Object { + "_guid": "page@3627d823016af61a0f8239d9957e364c", + "_type": "Page", + }, + }, + ] at baseFixtures.ts:86 84 | }); 85 | await use(page); > 86 | expect(messages).toEqual([]); | ^ 87 | } 88 | }); 89 | at Object.page (/home/runner/work/InvenTree/InvenTree/src/frontend/tests/baseFixtures.ts:86:22)
[firefox] › pages/pui_part.spec.ts:105:1 › Parts - Allocations: src/frontend/tests/pages/pui_part.spec.ts#L1
5) [firefox] › pages/pui_part.spec.ts:105:1 › Parts - Allocations ──────────────────────────────── Test timeout of 90000ms exceeded.
[firefox] › pages/pui_part.spec.ts:105:1 › Parts - Allocations: src/frontend/tests/pages/pui_part.spec.ts#L133
5) [firefox] › pages/pui_part.spec.ts:105:1 › Parts - Allocations ──────────────────────────────── Error: locator.waitFor: Test timeout of 90000ms exceeded. Call log: - waiting for getByText('BO0001') to be visible 131 | 132 | // Expected order reference values > 133 | await page.getByText('BO0001').waitFor(); | ^ 134 | await page.getByText('BO0016').waitFor(); 135 | await page.getByText('BO0019').waitFor(); 136 | await page.getByText('SO0008').waitFor(); at /home/runner/work/InvenTree/InvenTree/src/frontend/tests/pages/pui_part.spec.ts:133:34
[firefox] › pages/pui_part.spec.ts:403:1 › Parts - Revision: src/frontend/tests/pages/pui_part.spec.ts#L1
6) [firefox] › pages/pui_part.spec.ts:403:1 › Parts - Revision ─────────────────────────────────── Test timeout of 90000ms exceeded.
Playwright
You are using a frozen webkit browser which does not receive updates anymore on ubuntu20.04-x64. Please update to the latest version of your operating system to test up-to-date browsers.
Slow Test: src/frontend/[firefox] › pages/pui_sales_order.spec.ts#L1
src/frontend/[firefox] › pages/pui_sales_order.spec.ts took 52.6s
Slow Test: src/frontend/[chromium] › pui_settings.spec.ts#L1
src/frontend/[chromium] › pui_settings.spec.ts took 24.7s
Slow Test: src/frontend/[firefox] › pui_command.spec.ts#L1
src/frontend/[firefox] › pui_command.spec.ts took 24.5s
Slow Test: src/frontend/[chromium] › settings/selectionList.spec.ts#L1
src/frontend/[chromium] › settings/selectionList.spec.ts took 22.7s
Slow Test: src/frontend/[chromium] › pui_printing.spec.ts#L1
src/frontend/[chromium] › pui_printing.spec.ts took 19.8s
🎭 Playwright Run Summary
10 flaky [chromium] › pages/pui_part.spec.ts:173:1 › Parts - Pricing (Nothing, BOM) ───────────────────── [chromium] › pui_login.spec.ts:6:1 › Login - Basic Test ──────────────────────────────────────── [chromium] › pui_plugins.spec.ts:67:1 › Plugins - Custom Admin ───────────────────────────────── [chromium] › pui_tables.spec.ts:9:1 › Tables - Filters ───────────────────────────────────────── [firefox] › pages/pui_part.spec.ts:105:1 › Parts - Allocations ───────────────────────────────── [firefox] › pages/pui_part.spec.ts:403:1 › Parts - Revision ──────────────────────────────────── [firefox] › pages/pui_purchase_order.spec.ts:173:1 › Purchase Orders - Order Parts ───────────── [firefox] › pui_login.spec.ts:81:1 › Login - Change Password ─────────────────────────────────── [firefox] › pui_printing.spec.ts:55:1 › Report Printing ──────────────────────────────────────── [firefox] › settings/selectionList.spec.ts:5:1 › PUI - Admin - Parameter ─────────────────────── 130 passed (17.5m)

Artifacts

Produced during runtime
Name Size
frontend-build
2.33 MB
inventree_filters.yml
5.15 KB
inventree_settings.json
6.6 KB
inventree_tags.yml
13.1 KB
schema.yml
65.3 KB