Skip to content

DB CI Checks

DB CI Checks #16433

Triggered via pull request December 26, 2024 12:07
Status Success
Total duration 27m 30s
Artifacts 2

qc_checks.yaml

on: pull_request
Build - UI Platform
1m 51s
Build - UI Platform
Style [pre-commit]
24s
Style [pre-commit]
Tests - API Schema Documentation
4m 10s
Tests - API Schema Documentation
Style [Documentation]
42s
Style [Documentation]
Tests - Migrations [PostgreSQL]
27m 9s
Tests - Migrations [PostgreSQL]
Tests - Full Migration [SQLite]
3m 0s
Tests - Full Migration [SQLite]
Tests - inventree-python
5m 21s
Tests - inventree-python
Tests - DB [PostgreSQL]
14m 3s
Tests - DB [PostgreSQL]
Tests - DB [MySQL]
13m 48s
Tests - DB [MySQL]
Tests - Platform UI
23m 33s
Tests - Platform UI
Security [Zizmor]
34s
Security [Zizmor]
Matrix: coverage
Push new schema
0s
Push new schema
Fit to window
Zoom out
Zoom in

Annotations

11 errors, 8 warnings, and 1 notice
Tests - API Schema Documentation
Process completed with exit code 1.
[chromium] › pages/pui_part.spec.ts:100:1 › Parts - Allocations: src/frontend/tests/pages/pui_part.spec.ts#L1
1) [chromium] › pages/pui_part.spec.ts:100:1 › Parts - Allocations ─────────────────────────────── Test timeout of 90000ms exceeded.
[chromium] › pages/pui_part.spec.ts:100:1 › Parts - Allocations: src/frontend/tests/login.ts#L37
1) [chromium] › pages/pui_part.spec.ts:100: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:101:3
[chromium] › pages/pui_part.spec.ts:215:1 › Parts - Pricing (Supplier): src/frontend/tests/pages/pui_part.spec.ts#L1
2) [chromium] › pages/pui_part.spec.ts:215:1 › Parts - Pricing (Supplier) ──────────────────────── Test timeout of 90000ms exceeded.
[chromium] › pages/pui_part.spec.ts:215:1 › Parts - Pricing (Supplier): src/frontend/tests/login.ts#L37
2) [chromium] › pages/pui_part.spec.ts:215:1 › Parts - Pricing (Supplier) ──────────────────────── 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:216:3
[chromium] › pui_login.spec.ts:36:1 › Login - Quick Test: src/frontend/tests/pui_login.spec.ts#L1
3) [chromium] › pui_login.spec.ts:36:1 › Login - Quick Test ────────────────────────────────────── Test timeout of 90000ms exceeded.
[chromium] › pui_login.spec.ts:36:1 › Login - Quick Test: src/frontend/tests/baseFixtures.ts#L85
3) [chromium] › pui_login.spec.ts:36:1 › Login - Quick Test ────────────────────────────────────── Error: expect(received).toEqual(expected) // deep equality - Expected - 1 + Received + 44 - Array [] + Array [ + ConsoleMessage { + "_event": Object { + "args": Array [], + "location": Object { + "columnNumber": 0, + "lineNumber": 0, + "url": "http://localhost:8000/api/user/roles/", + }, + "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@9d7815fa8513f40676f5ef1d689a8f23", + "_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@9d7815fa8513f40676f5ef1d689a8f23", + "_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)
[chromium] › pui_login.spec.ts:36:1 › Login - Quick Test: src/frontend/tests/pui_login.spec.ts#L48
3) [chromium] › pui_login.spec.ts:36:1 › Login - Quick Test ────────────────────────────────────── Error: locator.waitFor: Test timeout of 90000ms exceeded. Call log: - waiting for getByText('InvenTree Demo Server - ') to be visible 46 | await page.waitForURL('**/platform'); 47 | > 48 | await page.getByText('InvenTree Demo Server - ').waitFor(); | ^ 49 | 50 | // Logout (via URL) 51 | await page.goto(`${baseUrl}/logout/`); at /home/runner/work/InvenTree/InvenTree/src/frontend/tests/pui_login.spec.ts:48:52
[chromium] › pui_plugins.spec.ts:67:1 › Plugins - Custom Admin: src/frontend/tests/pui_plugins.spec.ts#L1
4) [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
4) [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
[firefox] › pages/pui_build.spec.ts:90:1 › Build Order - Build Outputs: src/frontend/tests/pages/pui_build.spec.ts#L1
5) [firefox] › pages/pui_build.spec.ts:90:1 › Build Order - Build Outputs ──────────────────────── Test timeout of 90000ms exceeded.
Filter
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Tests - Full Migration [SQLite]
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Slow Test: src/frontend/[chromium] › pui_tables.spec.ts#L1
src/frontend/[chromium] › pui_tables.spec.ts took 31.0s
Slow Test: src/frontend/[chromium] › pui_settings.spec.ts#L1
src/frontend/[chromium] › pui_settings.spec.ts took 24.6s
Slow Test: src/frontend/[firefox] › pui_command.spec.ts#L1
src/frontend/[firefox] › pui_command.spec.ts took 23.3s
Slow Test: src/frontend/[chromium] › settings/selectionList.spec.ts#L1
src/frontend/[chromium] › settings/selectionList.spec.ts took 21.5s
Slow Test: src/frontend/[firefox] › modals.spec.ts#L1
src/frontend/[firefox] › modals.spec.ts took 21.0s
Tests - Migrations [PostgreSQL]
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
🎭 Playwright Run Summary
8 flaky [chromium] › pages/pui_part.spec.ts:100:1 › Parts - Allocations ──────────────────────────────── [chromium] › pages/pui_part.spec.ts:215:1 › Parts - Pricing (Supplier) ───────────────────────── [chromium] › pui_login.spec.ts:36:1 › Login - Quick Test ─────────────────────────────────────── [chromium] › pui_plugins.spec.ts:67:1 › Plugins - Custom Admin ───────────────────────────────── [firefox] › pages/pui_build.spec.ts:90:1 › Build Order - Build Outputs ───────────────────────── [firefox] › pages/pui_part.spec.ts:165:1 › Parts - Pricing (Nothing, BOM) ────────────────────── [firefox] › pages/pui_sales_order.spec.ts:153:1 › Purchase Orders - Barcodes ─────────────────── [firefox] › settings/selectionList.spec.ts:5:1 › PUI - Admin - Parameter ─────────────────────── 128 passed (16.7m)

Artifacts

Produced during runtime
Name Size
frontend-build
2.27 MB
schema.yml
65 KB