PMM-7 fix portal pipeline #4232
Annotations
10 errors, 2 warnings, and 1 notice
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)
|
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)
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
pmm-ui-tests/[chromium] › rbac/rbac.spec.ts#L1
pmm-ui-tests/[chromium] › rbac/rbac.spec.ts took 1.9m
|
|
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.2m)
|
The logs for this run have expired and are no longer available.
Loading