Skip to content

PMM-7 fix portal pipeline #4226

PMM-7 fix portal pipeline

PMM-7 fix portal pipeline #4226

Triggered via pull request August 21, 2023 10:19
Status Failure
Total duration 42m 29s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

ci.yml

on: pull_request
lint
44s
lint
FB UI tests  /  ...  /  e2e tests: @bm-mongo
42m 19s
FB UI tests / Backup Management MongoDB UI tests / e2e tests: @bm-mongo
FB UI tests  /  ...  /  e2e tests: @bm-locations
18m 53s
FB UI tests / Backup Management Common and Locations UI tests / e2e tests: @bm-locations
FB UI tests  /  ...  /  e2e tests: @instances-fb
18m 31s
FB UI tests / Instances UI tests / e2e tests: @instances-fb
FB UI tests  /  ...  /  e2e tests: @alerting-fb|@settings-fb
17m 29s
FB UI tests / Alerting and Settings UI tests / e2e tests: @alerting-fb|@settings-fb
FB UI tests  /  ...  /  e2e tests: @user-password
9m 49s
FB UI tests / User with changed password UI tests / e2e tests: @user-password
FB UI tests  /  ...  /  e2e tests: @pgsm-pmm-integration
31m 37s
FB UI tests / PGSM UI tests / e2e tests: @pgsm-pmm-integration
FB UI tests  /  ...  /  e2e tests: @pgss-pmm-integration
16m 49s
FB UI tests / PGSS UI tests / e2e tests: @pgss-pmm-integration
FB UI tests  /  ...  /  Tests
6m 2s
FB UI tests / RBAC UI tests / Tests
FB UI tests  /  ...  /  e2e tests: @pmm-psmdb-arbiter-integration
12m 18s
FB UI tests / PSMDB Arbiter Replica UI tests / e2e tests: @pmm-psmdb-arbiter-integration
FB UI tests  /  ...  /  podman e2e tests: @user-password
7m 49s
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
[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
1) [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
1) [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
2) [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
2) [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
3) [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
3) [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
4) [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
4) [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
[chromium] › rbac/rbac.spec.ts:182:7 › Spec file for Access Control (RBAC) › PMM-T1585 Verify deleting Access role @rbac @rbac-post-upgrade: pmm-ui-tests/playwright-tests/tests/rbac/rbac.spec.ts#L193
5) [chromium] › rbac/rbac.spec.ts:182:7 › Spec file for Access Control (RBAC) › PMM-T1585 Verify deleting Access role @rbac @rbac-post-upgrade › 1. Navigate to Access Control page and try to delete role that is assigned to the user. TimeoutError: locator.click: Timeout 15000ms exceeded. =========================== logs =========================== waiting for locator('xpath=//*[contains(text(),"Role Name Only MySql Access")]//ancestor::*[@data-testid="table-tbody-tr"]').locator('xpath=//*[@aria-label="Open role options"]') ============================================================ 191 | await test.step('1. Navigate to Access Control page and try to delete role that is assigned to the user.', async () => { 192 | await page.goto(rbacPage.url); > 193 | await rbacPage.rbacTable.elements.rowOptions(roleName).click(); | ^ 194 | await rbacPage.rbacTable.elements.delete.click(); 195 | await expect(rbacPage.rbacTable.elements.confirmDeleteRoleHeader) 196 | .toContainText(rbacPage.rbacTable.messages.deleteRoleHeader(roleName) as string); at /home/runner/work/pmm-ui-tests/pmm-ui-tests/pmm-ui-tests/playwright-tests/tests/rbac/rbac.spec.ts:193:62 at /home/runner/work/pmm-ui-tests/pmm-ui-tests/pmm-ui-tests/playwright-tests/tests/rbac/rbac.spec.ts:191:5
[chromium] › rbac/rbac.spec.ts:182:7 › Spec file for Access Control (RBAC) › PMM-T1585 Verify deleting Access role @rbac @rbac-post-upgrade: pmm-ui-tests/playwright-tests/tests/rbac/rbac.spec.ts#L193
5) [chromium] › rbac/rbac.spec.ts:182:7 › Spec file for Access Control (RBAC) › PMM-T1585 Verify deleting Access role @rbac @rbac-post-upgrade › 1. Navigate to Access Control page and try to delete role that is assigned to the user. Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: locator.click: Timeout 15000ms exceeded. =========================== logs =========================== waiting for locator('xpath=//*[contains(text(),"Role Name Only MySql Access")]//ancestor::*[@data-testid="table-tbody-tr"]').locator('xpath=//*[@aria-label="Open role options"]') ============================================================ 191 | await test.step('1. Navigate to Access Control page and try to delete role that is assigned to the user.', async () => { 192 | await page.goto(rbacPage.url); > 193 | await rbacPage.rbacTable.elements.rowOptions(roleName).click(); | ^ 194 | await rbacPage.rbacTable.elements.delete.click(); 195 | await expect(rbacPage.rbacTable.elements.confirmDeleteRoleHeader) 196 | .toContainText(rbacPage.rbacTable.messages.deleteRoleHeader(roleName) as string); at /home/runner/work/pmm-ui-tests/pmm-ui-tests/pmm-ui-tests/playwright-tests/tests/rbac/rbac.spec.ts:193:62 at /home/runner/work/pmm-ui-tests/pmm-ui-tests/pmm-ui-tests/playwright-tests/tests/rbac/rbac.spec.ts:191:5
FB UI tests / Instances UI tests / e2e tests: @instances-fb
unable to access 'https://github.com/percona/pmm-ui-tests/': Failed to connect to github.com port 443: Connection timed out
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.0m
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
5 failed [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 4 passed (2.2m)