Skip to content

PMM-7 fix portal pipeline #4231

PMM-7 fix portal pipeline

PMM-7 fix portal pipeline #4231

Triggered via pull request August 21, 2023 12:48
Status Failure
Total duration 44m 59s
Artifacts

ci.yml

on: pull_request
lint
43s
lint
FB UI tests  /  ...  /  e2e tests: @bm-mongo
44m 44s
FB UI tests / Backup Management MongoDB UI tests / e2e tests: @bm-mongo
FB UI tests  /  ...  /  e2e tests: @bm-locations
15m 10s
FB UI tests / Backup Management Common and Locations UI tests / e2e tests: @bm-locations
FB UI tests  /  ...  /  e2e tests: @instances-fb
13m 10s
FB UI tests / Instances UI tests / e2e tests: @instances-fb
FB UI tests  /  ...  /  e2e tests: @alerting-fb|@settings-fb
15m 40s
FB UI tests / Alerting and Settings UI tests / e2e tests: @alerting-fb|@settings-fb
FB UI tests  /  ...  /  e2e tests: @user-password
8m 45s
FB UI tests / User with changed password UI tests / e2e tests: @user-password
FB UI tests  /  ...  /  e2e tests: @pgsm-pmm-integration
32m 45s
FB UI tests / PGSM UI tests / e2e tests: @pgsm-pmm-integration
FB UI tests  /  ...  /  e2e tests: @pgss-pmm-integration
16m 26s
FB UI tests / PGSS UI tests / e2e tests: @pgss-pmm-integration
FB UI tests  /  ...  /  Tests
7m 18s
FB UI tests / RBAC UI tests / Tests
FB UI tests  /  ...  /  e2e tests: @pmm-psmdb-arbiter-integration
13m 13s
FB UI tests / PSMDB Arbiter Replica UI tests / e2e tests: @pmm-psmdb-arbiter-integration
FB UI tests  /  ...  /  podman e2e tests: @user-password
7m 12s
FB UI tests / User with changed password UI tests / podman e2e tests: @user-password
Fit to window
Zoom out
Zoom in

Annotations

12 errors, 9 warnings, and 1 notice
[Portal Setup] › portal/testUsers.setup.ts:11:6 › Setup Portal tests: pmm-ui-tests/playwright-tests/tests/portal/testUsers.setup.ts#L1
1) [Portal Setup] › portal/testUsers.setup.ts:11:6 › Setup Portal tests › Generate new users and save to file AxiosError: Request failed with status code 401 at settle (/home/runner/work/pmm-ui-tests/pmm-ui-tests/pmm-ui-tests/node_modules/axios/lib/core/settle.js:19:12) at Unzip.handleStreamEnd (/home/runner/work/pmm-ui-tests/pmm-ui-tests/pmm-ui-tests/node_modules/axios/lib/adapters/http.js:512:11)
[Portal Setup] › portal/testUsers.setup.ts:11:6 › Setup Portal tests: pmm-ui-tests/playwright-tests/tests/portal/testUsers.setup.ts#L1
1) [Portal Setup] › portal/testUsers.setup.ts:11:6 › Setup Portal tests › Generate new users and save to file Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── AxiosError: Request failed with status code 401 at settle (/home/runner/work/pmm-ui-tests/pmm-ui-tests/pmm-ui-tests/node_modules/axios/lib/core/settle.js:19:12) at Unzip.handleStreamEnd (/home/runner/work/pmm-ui-tests/pmm-ui-tests/pmm-ui-tests/node_modules/axios/lib/adapters/http.js:512:11)
[chromium] › rbac/rbac.spec.ts:56:7 › Spec file for Access Control (RBAC) › PMM-T1573 Verify Access Roles tab on Configuration page @rbac @rbac-pre-upgrade: pmm-ui-tests/playwright-tests/tests/rbac/rbac.spec.ts#L66
2) [chromium] › rbac/rbac.spec.ts:56:7 › Spec file for Access Control (RBAC) › PMM-T1573 Verify Access Roles tab on Configuration page @rbac @rbac-pre-upgrade › 1. Click on Configuration on the left menu and then select Access roles link TimeoutError: locator.hover: Timeout 15000ms exceeded. =========================== logs =========================== waiting for getByTestId('sidemenu').locator('xpath=//a[@aria-label="Configuration"]') ============================================================ 64 | 65 | await test.step('1. Click on Configuration on the left menu and then select Access roles link', async () => { > 66 | await homeDashboardPage.sideMenu.elements.configuration.hover(); | ^ 67 | await expect(homeDashboardPage.sideMenu.configuration.buttons.rbac) 68 | .toHaveText(homeDashboardPage.sideMenu.configuration.labels.rbac); 69 | await homeDashboardPage.sideMenu.configuration.buttons.rbac.click(); at /home/runner/work/pmm-ui-tests/pmm-ui-tests/pmm-ui-tests/playwright-tests/tests/rbac/rbac.spec.ts:66:63 at /home/runner/work/pmm-ui-tests/pmm-ui-tests/pmm-ui-tests/playwright-tests/tests/rbac/rbac.spec.ts:65:16
[chromium] › rbac/rbac.spec.ts:56:7 › Spec file for Access Control (RBAC) › PMM-T1573 Verify Access Roles tab on Configuration page @rbac @rbac-pre-upgrade: pmm-ui-tests/playwright-tests/tests/rbac/rbac.spec.ts#L66
2) [chromium] › rbac/rbac.spec.ts:56:7 › Spec file for Access Control (RBAC) › PMM-T1573 Verify Access Roles tab on Configuration page @rbac @rbac-pre-upgrade › 1. Click on Configuration on the left menu and then select Access roles link Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: locator.hover: Timeout 15000ms exceeded. =========================== logs =========================== waiting for getByTestId('sidemenu').locator('xpath=//a[@aria-label="Configuration"]') ============================================================ 64 | 65 | await test.step('1. Click on Configuration on the left menu and then select Access roles link', async () => { > 66 | await homeDashboardPage.sideMenu.elements.configuration.hover(); | ^ 67 | await expect(homeDashboardPage.sideMenu.configuration.buttons.rbac) 68 | .toHaveText(homeDashboardPage.sideMenu.configuration.labels.rbac); 69 | await homeDashboardPage.sideMenu.configuration.buttons.rbac.click(); at /home/runner/work/pmm-ui-tests/pmm-ui-tests/pmm-ui-tests/playwright-tests/tests/rbac/rbac.spec.ts:66:63 at /home/runner/work/pmm-ui-tests/pmm-ui-tests/pmm-ui-tests/playwright-tests/tests/rbac/rbac.spec.ts:65:16
[chromium] › rbac/rbac.spec.ts:82:7 › Spec file for Access Control (RBAC) › PMM-T1580 Verify creating Access Role @rbac @rbac-pre-upgrade @rbac-post-upgrade: pmm-ui-tests/playwright-tests/api/management.api.ts#L14
3) [chromium] › rbac/rbac.spec.ts:82:7 › Spec file for Access Control (RBAC) › PMM-T1580 Verify creating Access Role @rbac @rbac-pre-upgrade @rbac-post-upgrade TypeError: Cannot read properties of undefined (reading 'post') at ../api/management.api.ts:14 12 | export const managementApi = { 13 | listRoles: async (): Promise<ListRoles | undefined> => { > 14 | const response = await apiHelper.post('/v1/management/Role/List', {}); | ^ 15 | return await response.json() as ListRoles; 16 | }, 17 | at Object.listRoles (/home/runner/work/pmm-ui-tests/pmm-ui-tests/pmm-ui-tests/playwright-tests/api/management.api.ts:14:38) at getRolesObj (/home/runner/work/pmm-ui-tests/pmm-ui-tests/pmm-ui-tests/playwright-tests/tests/rbac/rbac.spec.ts:29:40) at /home/runner/work/pmm-ui-tests/pmm-ui-tests/pmm-ui-tests/playwright-tests/tests/rbac/rbac.spec.ts:90:22
[chromium] › rbac/rbac.spec.ts:82:7 › Spec file for Access Control (RBAC) › PMM-T1580 Verify creating Access Role @rbac @rbac-pre-upgrade @rbac-post-upgrade: pmm-ui-tests/playwright-tests/api/management.api.ts#L14
3) [chromium] › rbac/rbac.spec.ts:82:7 › Spec file for Access Control (RBAC) › PMM-T1580 Verify creating Access Role @rbac @rbac-pre-upgrade @rbac-post-upgrade Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── TypeError: Cannot read properties of undefined (reading 'post') at ../api/management.api.ts:14 12 | export const managementApi = { 13 | listRoles: async (): Promise<ListRoles | undefined> => { > 14 | const response = await apiHelper.post('/v1/management/Role/List', {}); | ^ 15 | return await response.json() as ListRoles; 16 | }, 17 | at Object.listRoles (/home/runner/work/pmm-ui-tests/pmm-ui-tests/pmm-ui-tests/playwright-tests/api/management.api.ts:14:38) at getRolesObj (/home/runner/work/pmm-ui-tests/pmm-ui-tests/pmm-ui-tests/playwright-tests/tests/rbac/rbac.spec.ts:29:40) at /home/runner/work/pmm-ui-tests/pmm-ui-tests/pmm-ui-tests/playwright-tests/tests/rbac/rbac.spec.ts:90:22
[chromium] › rbac/rbac.spec.ts:121:7 › Spec file for Access Control (RBAC) › PMM-T1584 Verify assigning Access role to user @rbac @rbac-pre-upgrade @rbac-post-upgrade: pmm-ui-tests/playwright-tests/api/management.api.ts#L14
4) [chromium] › rbac/rbac.spec.ts:121:7 › Spec file for Access Control (RBAC) › PMM-T1584 Verify assigning Access role to user @rbac @rbac-pre-upgrade @rbac-post-upgrade TypeError: Cannot read properties of undefined (reading 'post') at ../api/management.api.ts:14 12 | export const managementApi = { 13 | listRoles: async (): Promise<ListRoles | undefined> => { > 14 | const response = await apiHelper.post('/v1/management/Role/List', {}); | ^ 15 | return await response.json() as ListRoles; 16 | }, 17 | at Object.listRoles (/home/runner/work/pmm-ui-tests/pmm-ui-tests/pmm-ui-tests/playwright-tests/api/management.api.ts:14:38) at getRolesObj (/home/runner/work/pmm-ui-tests/pmm-ui-tests/pmm-ui-tests/playwright-tests/tests/rbac/rbac.spec.ts:29:40) at /home/runner/work/pmm-ui-tests/pmm-ui-tests/pmm-ui-tests/playwright-tests/tests/rbac/rbac.spec.ts:126:22
[chromium] › rbac/rbac.spec.ts:121:7 › Spec file for Access Control (RBAC) › PMM-T1584 Verify assigning Access role to user @rbac @rbac-pre-upgrade @rbac-post-upgrade: pmm-ui-tests/playwright-tests/api/management.api.ts#L14
4) [chromium] › rbac/rbac.spec.ts:121:7 › Spec file for Access Control (RBAC) › PMM-T1584 Verify assigning Access role to user @rbac @rbac-pre-upgrade @rbac-post-upgrade Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── TypeError: Cannot read properties of undefined (reading 'post') at ../api/management.api.ts:14 12 | export const managementApi = { 13 | listRoles: async (): Promise<ListRoles | undefined> => { > 14 | const response = await apiHelper.post('/v1/management/Role/List', {}); | ^ 15 | return await response.json() as ListRoles; 16 | }, 17 | at Object.listRoles (/home/runner/work/pmm-ui-tests/pmm-ui-tests/pmm-ui-tests/playwright-tests/api/management.api.ts:14:38) at getRolesObj (/home/runner/work/pmm-ui-tests/pmm-ui-tests/pmm-ui-tests/playwright-tests/tests/rbac/rbac.spec.ts:29:40) at /home/runner/work/pmm-ui-tests/pmm-ui-tests/pmm-ui-tests/playwright-tests/tests/rbac/rbac.spec.ts:126:22
[chromium] › rbac/rbac.spec.ts:164:7 › Spec file for Access Control (RBAC) › PMM-T1599 Verify assigned role after upgrade @rbac @rbac-post-upgrade: pmm-ui-tests/playwright-tests/tests/rbac/rbac.spec.ts#L171
5) [chromium] › rbac/rbac.spec.ts:164:7 › Spec file for Access Control (RBAC) › PMM-T1599 Verify assigned role after upgrade @rbac @rbac-post-upgrade › 1. Verify user role is assigned after upgrade. Error: Timed out 10000ms waiting for expect(received).toContainText(expected) Expected string: "Role Name Only MySql Access" Received string: "" Call log: - expect.toContainText with timeout 10000ms - waiting for locator('xpath=//span[contains(text(),"testUserRBAC")]//ancestor::tr') 169 | await test.step('1. Verify user role is assigned after upgrade.', async () => { 170 | await page.goto(usersConfigurationPage.url); > 171 | await expect(usersConfigurationPage.usersTable.elements.rowByText(newUser.username)).toContainText(roleName); | ^ 172 | }); 173 | 174 | await test.step('2. Open PostgreSQL Overview dashboard and verify there is no any data.', async () => { at /home/runner/work/pmm-ui-tests/pmm-ui-tests/pmm-ui-tests/playwright-tests/tests/rbac/rbac.spec.ts:171:92 at /home/runner/work/pmm-ui-tests/pmm-ui-tests/pmm-ui-tests/playwright-tests/tests/rbac/rbac.spec.ts:169:5
[chromium] › rbac/rbac.spec.ts:164:7 › Spec file for Access Control (RBAC) › PMM-T1599 Verify assigned role after upgrade @rbac @rbac-post-upgrade: pmm-ui-tests/playwright-tests/tests/rbac/rbac.spec.ts#L171
5) [chromium] › rbac/rbac.spec.ts:164:7 › Spec file for Access Control (RBAC) › PMM-T1599 Verify assigned role after upgrade @rbac @rbac-post-upgrade › 1. Verify user role is assigned after upgrade. Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 10000ms waiting for expect(received).toContainText(expected) Expected string: "Role Name Only MySql Access" Received string: "" Call log: - expect.toContainText with timeout 10000ms - waiting for locator('xpath=//span[contains(text(),"testUserRBAC")]//ancestor::tr') 169 | await test.step('1. Verify user role is assigned after upgrade.', async () => { 170 | await page.goto(usersConfigurationPage.url); > 171 | await expect(usersConfigurationPage.usersTable.elements.rowByText(newUser.username)).toContainText(roleName); | ^ 172 | }); 173 | 174 | await test.step('2. Open PostgreSQL Overview dashboard and verify there is no any data.', async () => { at /home/runner/work/pmm-ui-tests/pmm-ui-tests/pmm-ui-tests/playwright-tests/tests/rbac/rbac.spec.ts:171:92 at /home/runner/work/pmm-ui-tests/pmm-ui-tests/pmm-ui-tests/playwright-tests/tests/rbac/rbac.spec.ts:169:5
FB UI tests / PGSM UI tests / e2e tests: @pgsm-pmm-integration
Process completed with exit code 1.
lint
The following actions uses node12 which is deprecated and will be forced to run on node16: percona-platform/checkout@v2, percona-platform/setup-node@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
lint: tests/DbaaS/verifyDBaaS_test.js#L232
This line has a length of 133. Maximum allowed is 130
lint: tests/QAN/details_test.js#L165
This line has a length of 136. Maximum allowed is 130
lint: tests/QAN/details_test.js#L167
This line has a length of 174. Maximum allowed is 130
lint: tests/QAN/details_test.js#L168
This line has a length of 211. Maximum allowed is 130
lint: tests/QAN/details_test.js#L171
This line has a length of 146. Maximum allowed is 130
lint: tests/QAN/details_test.js#L188
This line has a length of 182. Maximum allowed is 130
Slow Test: pmm-ui-tests/[chromium] › rbac/rbac.spec.ts#L1
pmm-ui-tests/[chromium] › rbac/rbac.spec.ts took 2.2m
FB UI tests / RBAC UI tests / Tests
No files were found with the provided path: pmm-ui-tests/playwright-report/data/*webm pmm-ui-tests/playwright-report/data/*png. No artifacts will be uploaded.
🎭 Playwright Run Summary
6 failed [Portal Setup] › portal/testUsers.setup.ts:11:6 › Setup Portal tests ─────────────────────────── [chromium] › rbac/rbac.spec.ts:56:7 › Spec file for Access Control (RBAC) › PMM-T1573 Verify Access Roles tab on Configuration page @rbac @rbac-pre-upgrade [chromium] › rbac/rbac.spec.ts:82:7 › Spec file for Access Control (RBAC) › PMM-T1580 Verify creating Access Role @rbac @rbac-pre-upgrade @rbac-post-upgrade [chromium] › rbac/rbac.spec.ts:121:7 › Spec file for Access Control (RBAC) › PMM-T1584 Verify assigning Access role to user @rbac @rbac-pre-upgrade @rbac-post-upgrade [chromium] › rbac/rbac.spec.ts:164:7 › Spec file for Access Control (RBAC) › PMM-T1599 Verify assigned role after upgrade @rbac @rbac-post-upgrade [chromium] › rbac/rbac.spec.ts:182:7 › Spec file for Access Control (RBAC) › PMM-T1585 Verify deleting Access role @rbac @rbac-post-upgrade 3 passed (2.6m)