Docker postgres fix #17287
qc_checks.yaml
on: pull_request
Filter
7s
Build - UI Platform
2m 4s
Style [Documentation]
34s
Tests - Migrations [PostgreSQL]
28m 38s
Tests - Full Migration [SQLite]
3m 11s
Tests - inventree-python
3m 27s
Tests - DB [PostgreSQL]
12m 53s
Tests - DB [MySQL]
11m 48s
Tests - Platform UI
24m 34s
Security [Zizmor]
28s
Matrix: coverage
Push new schema
0s
Annotations
11 errors, 7 warnings, and 1 notice
Tests - API Schema Documentation
Process completed with exit code 1.
|
[chromium] › pages/pui_part.spec.ts:105:1 › Parts - Allocations:
src/frontend/tests/pages/pui_part.spec.ts#L1
1) [chromium] › pages/pui_part.spec.ts:105:1 › Parts - Allocations ───────────────────────────────
Test timeout of 90000ms exceeded.
|
[chromium] › pages/pui_part.spec.ts:105:1 › Parts - Allocations:
src/frontend/tests/pages/pui_part.spec.ts#L113
1) [chromium] › pages/pui_part.spec.ts:105:1 › Parts - Allocations ───────────────────────────────
Error: locator.waitFor: Test timeout of 90000ms exceeded.
Call log:
- waiting for getByRole('cell', { name: 'Making some blue chairs' }) to be visible
111 |
112 | await page.getByRole('button', { name: 'Build Order Allocations' }).waitFor();
> 113 | await page.getByRole('cell', { name: 'Making some blue chairs' }).waitFor();
| ^
114 | await page.getByRole('cell', { name: 'Making tables for SO 0003' }).waitFor();
115 |
116 | // Let's look at the allocations for an entire part
at /home/runner/work/InvenTree/InvenTree/src/frontend/tests/pages/pui_part.spec.ts:113:69
|
[chromium] › pages/pui_part.spec.ts:105:1 › Parts - Allocations:
src/frontend/tests/pages/pui_part.spec.ts#L1
1) [chromium] › pages/pui_part.spec.ts:105:1 › Parts - Allocations ───────────────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Test timeout of 90000ms exceeded.
|
[chromium] › pages/pui_part.spec.ts:105:1 › Parts - Allocations:
src/frontend/tests/pages/pui_part.spec.ts#L133
1) [chromium] › pages/pui_part.spec.ts:105:1 › Parts - Allocations ───────────────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
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
|
[chromium] › pages/pui_part.spec.ts:173:1 › Parts - Pricing (Nothing:
src/frontend/tests/pages/pui_part.spec.ts#L1
2) [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/pages/pui_part.spec.ts#L209
2) [chromium] › pages/pui_part.spec.ts:173:1 › Parts - Pricing (Nothing, BOM) ────────────────────
Error: locator.click: Test timeout of 90000ms exceeded.
Call log:
- waiting for getByText('Bar Chart')
207 | // BOM Pricing
208 | await page.getByRole('button', { name: 'BOM Pricing' }).click();
> 209 | await page.getByText('Bar Chart').click();
| ^
210 | await page.getByText('Pie Chart').click();
211 | await page.getByRole('button', { name: 'Quantity Not sorted' }).waitFor();
212 | await page.getByRole('button', { name: 'Unit Price Not sorted' }).waitFor();
at /home/runner/work/InvenTree/InvenTree/src/frontend/tests/pages/pui_part.spec.ts:209:37
|
[chromium] › pui_general.spec.ts:5:1 › Company:
src/frontend/tests/pui_general.spec.ts#L1
3) [chromium] › pui_general.spec.ts:5:1 › Company ────────────────────────────────────────────────
Test timeout of 90000ms exceeded.
|
[chromium] › pui_general.spec.ts:5:1 › Company:
src/frontend/tests/baseFixtures.ts#L86
3) [chromium] › pui_general.spec.ts:5:1 › Company ────────────────────────────────────────────────
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/stock/?company=1&part_detail=true&location_detail=true&supplier_part_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@e0f8ba0c91934fe1d63c559406a648b9",
+ "_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@e0f8ba0c91934fe1d63c559406a648b9",
+ "_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)
|
[chromium] › pui_general.spec.ts:5:1 › Company:
src/frontend/tests/pui_general.spec.ts#L21
3) [chromium] › pui_general.spec.ts:5:1 › Company ────────────────────────────────────────────────
Error: locator.waitFor: Test timeout of 90000ms exceeded.
Call log:
- waiting for getByRole('cell', { name: 'Blue plastic enclosure' }).first() to be visible
19 | .getByRole('cell', { name: 'Blue plastic enclosure' })
20 | .first()
> 21 | .waitFor();
| ^
22 | await page.getByRole('tab', { name: 'Contacts' }).click();
23 | await page.getByRole('cell', { name: 'jimmy.mcleod@digikey.com' }).waitFor();
24 | await page.getByRole('tab', { name: 'Addresses' }).click();
at /home/runner/work/InvenTree/InvenTree/src/frontend/tests/pui_general.spec.ts:21:6
|
[chromium] › pui_login.spec.ts:6:1 › Login - Basic Test:
src/frontend/tests/baseFixtures.ts#L86
4) [chromium] › pui_login.spec.ts:6:1 › Login - Basic Test ───────────────────────────────────────
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/plugins/ui/features/dashboard/",
+ },
+ "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@5ecec49edd771821895545baad42d869",
+ "_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@5ecec49edd771821895545baad42d869",
+ "_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)
|
Tests - Platform UI
The Ubuntu-20.04 brownout takes place from 2025-02-01. For more details, see https://github.com/actions/runner-images/issues/11101
|
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] › pui_settings.spec.ts#L1
src/frontend/[firefox] › pui_settings.spec.ts took 35.3s
|
Slow Test:
src/frontend/[firefox] › pui_printing.spec.ts#L1
src/frontend/[firefox] › pui_printing.spec.ts took 25.9s
|
Slow Test:
src/frontend/[firefox] › pui_command.spec.ts#L1
src/frontend/[firefox] › pui_command.spec.ts took 24.1s
|
Slow Test:
src/frontend/[chromium] › pui_settings.spec.ts#L1
src/frontend/[chromium] › pui_settings.spec.ts took 22.8s
|
Slow Test:
src/frontend/[chromium] › pui_plugins.spec.ts#L1
src/frontend/[chromium] › pui_plugins.spec.ts took 21.4s
|
🎭 Playwright Run Summary
11 flaky
[chromium] › pages/pui_part.spec.ts:105:1 › Parts - Allocations ────────────────────────────────
[chromium] › pages/pui_part.spec.ts:173:1 › Parts - Pricing (Nothing, BOM) ─────────────────────
[chromium] › pui_general.spec.ts:5:1 › Company ─────────────────────────────────────────────────
[chromium] › pui_login.spec.ts:6:1 › Login - Basic Test ────────────────────────────────────────
[chromium] › pui_tables.spec.ts:9:1 › Tables - Filters ─────────────────────────────────────────
[chromium] › pui_tables.spec.ts:44:1 › Tables - Columns ────────────────────────────────────────
[firefox] › pages/pui_part.spec.ts:105:1 › Parts - Allocations ─────────────────────────────────
[firefox] › pages/pui_part.spec.ts:223:1 › Parts - Pricing (Supplier) ──────────────────────────
[firefox] › pui_login.spec.ts:20:1 › Login - Quick Test ────────────────────────────────────────
[firefox] › pui_plugins.spec.ts:67:1 › Plugins - Custom Admin ──────────────────────────────────
[firefox] › settings/selectionList.spec.ts:5:1 › PUI - Admin - Parameter ───────────────────────
129 passed (18.5m)
|