PMM e2e Tests(Playwright) #616
Annotations
8 errors, 2 warnings, and 1 notice
pmm-ui-tests/playwright-tests/helpers/CommandLine.ts#L22
1) [chromium] › inventory/inventory.spec.ts:332:7 › Spec file for PMM inventory tests. › PMM-T1672 Verify PMM Inventory redesign : State of the agents @inventory @inventory-post-upgrade
Error: The command sudo find / -name pmm-agent failed with error: find: ‘/proc/14233’: No such file or directory
find: ‘/proc/14244’: No such file or directory
find: ‘/proc/14250’: No such file or directory
at ../helpers/CommandLine.ts:22
20 | }
21 | } else {
> 22 | throw new Error(`The command ${command} failed with error: ${stderr}`);
| ^
23 | }
24 |
25 | return { stdout, stderr };
at executeCommand (/home/runner/work/pmm-ui-tests/pmm-ui-tests/pmm-ui-tests/playwright-tests/helpers/CommandLine.ts:22:11)
at Object.findFile (/home/runner/work/pmm-ui-tests/pmm-ui-tests/pmm-ui-tests/playwright-tests/helpers/commandLine/pmmClientCommands.ts:45:43)
at step (/home/runner/work/pmm-ui-tests/pmm-ui-tests/pmm-ui-tests/playwright-tests/tests/inventory/inventory.spec.ts:380:51)
at /home/runner/work/pmm-ui-tests/pmm-ui-tests/pmm-ui-tests/playwright-tests/tests/inventory/inventory.spec.ts:379:16
|
pmm-ui-tests/playwright-tests/tests/inventory/components/servicesTable.ts#L71
1) [chromium] › inventory/inventory.spec.ts:332:7 › Spec file for PMM inventory tests. › PMM-T1672 Verify PMM Inventory redesign : State of the agents @inventory @inventory-post-upgrade
Retry #1 ---------------------------------------------------------------------------------------
Error: expect(received).toHaveText(expected)
Expected string: "OK"
Received string: "Failed"
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for getByTestId('table-tbody').getByTestId('table-tbody-tr').locator('xpath=//td[5]').first()
- locator resolved to <td role="cell" title="Failed" class="css-aqkpyi">…</td>
- unexpected value "Failed"
- waiting for getByTestId('table-tbody').getByTestId('table-tbody-tr').locator('xpath=//td[5]').first()
- locator resolved to <td role="cell" title="Failed" class="css-aqkpyi">…</td>
- unexpected value "Failed"
- locator resolved to <td role="cell" title="Failed" class="css-aqkpyi">…</td>
- unexpected value "Failed"
- locator resolved to <td role="cell" title="Failed" class="css-aqkpyi">…</td>
- unexpected value "Failed"
- locator resolved to <td role="cell" title="Failed" class="css-aqkpyi">…</td>
- unexpected value "Failed"
- locator resolved to <td role="cell" title="Failed" class="css-aqkpyi">…</td>
- unexpected value "Failed"
- locator resolved to <td role="cell" title="Failed" class="css-aqkpyi">…</td>
- unexpected value "Failed"
- locator resolved to <td role="cell" title="Failed" class="css-aqkpyi">…</td>
- unexpected value "Failed"
- locator resolved to <td role="cell" title="Failed" class="css-aqkpyi">…</td>
- unexpected value "Failed"
at inventory/components/servicesTable.ts:71
69 | const numberOfServices = await this.elements.serviceStatuses.count()
70 | for (let i = 0; i < numberOfServices; i++) {
> 71 | await expect(this.elements.serviceStatuses.nth(i)).toHaveText(expectedStatus);
| ^
72 | }
73 | };
74 |
at ServicesTable.verifyAllMonitoring (/home/runner/work/pmm-ui-tests/pmm-ui-tests/pmm-ui-tests/playwright-tests/tests/inventory/components/servicesTable.ts:71:58)
at /home/runner/work/pmm-ui-tests/pmm-ui-tests/pmm-ui-tests/playwright-tests/tests/inventory/inventory.spec.ts:343:7
at /home/runner/work/pmm-ui-tests/pmm-ui-tests/pmm-ui-tests/playwright-tests/tests/inventory/inventory.spec.ts:340:5
|
pmm-ui-tests/playwright-tests/tests/inventory/components/servicesTable.ts#L71
1) [chromium] › inventory/inventory.spec.ts:332:7 › Spec file for PMM inventory tests. › PMM-T1672 Verify PMM Inventory redesign : State of the agents @inventory @inventory-post-upgrade
Retry #2 ---------------------------------------------------------------------------------------
Error: expect(received).toHaveText(expected)
Expected string: "OK"
Received string: "Failed"
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for getByTestId('table-tbody').getByTestId('table-tbody-tr').locator('xpath=//td[5]').first()
- locator resolved to <td role="cell" title="Failed" class="css-aqkpyi">…</td>
- unexpected value "Failed"
- waiting for getByTestId('table-tbody').getByTestId('table-tbody-tr').locator('xpath=//td[5]').first()
- locator resolved to <td role="cell" title="Failed" class="css-aqkpyi">…</td>
- unexpected value "Failed"
- locator resolved to <td role="cell" title="Failed" class="css-aqkpyi">…</td>
- unexpected value "Failed"
- locator resolved to <td role="cell" title="Failed" class="css-aqkpyi">…</td>
- unexpected value "Failed"
- locator resolved to <td role="cell" title="Failed" class="css-aqkpyi">…</td>
- unexpected value "Failed"
- locator resolved to <td role="cell" title="Failed" class="css-aqkpyi">…</td>
- unexpected value "Failed"
- locator resolved to <td role="cell" title="Failed" class="css-aqkpyi">…</td>
- unexpected value "Failed"
- locator resolved to <td role="cell" title="Failed" class="css-aqkpyi">…</td>
- unexpected value "Failed"
- locator resolved to <td role="cell" title="Failed" class="css-aqkpyi">…</td>
- unexpected value "Failed"
at inventory/components/servicesTable.ts:71
69 | const numberOfServices = await this.elements.serviceStatuses.count()
70 | for (let i = 0; i < numberOfServices; i++) {
> 71 | await expect(this.elements.serviceStatuses.nth(i)).toHaveText(expectedStatus);
| ^
72 | }
73 | };
74 |
at ServicesTable.verifyAllMonitoring (/home/runner/work/pmm-ui-tests/pmm-ui-tests/pmm-ui-tests/playwright-tests/tests/inventory/components/servicesTable.ts:71:58)
at /home/runner/work/pmm-ui-tests/pmm-ui-tests/pmm-ui-tests/playwright-tests/tests/inventory/inventory.spec.ts:343:7
at /home/runner/work/pmm-ui-tests/pmm-ui-tests/pmm-ui-tests/playwright-tests/tests/inventory/inventory.spec.ts:340:5
|
pmm-ui-tests/playwright-tests/tests/inventory/components/nodesTable.ts#L67
2) [chromium] › inventory/inventory.spec.ts:271:7 › Spec file for PMM inventory tests. › PMM-T1670 Verify PMM Inventory redesign : Layout & Nodes @inventory @inventory-post-upgrade
Error: expect(received).toContainText(expected)
Expected string: "Up"
Received string: "Down"
Call log:
- expect.toContainText with timeout 5000ms
- waiting for locator('xpath=//*[contains(text(),"client_container_2249")]//ancestor::*[@data-testid="table-tbody-tr"]').locator('td').nth(1)
- locator resolved to <td role="cell" title="DOWN" class="css-aqkpyi">…</td>
- unexpected value "Down"
- waiting for locator('xpath=//*[contains(text(),"client_container_2249")]//ancestor::*[@data-testid="table-tbody-tr"]').locator('td').nth(1)
- locator resolved to <td role="cell" title="DOWN" class="css-aqkpyi">…</td>
- unexpected value "Down"
- locator resolved to <td role="cell" title="DOWN" class="css-aqkpyi">…</td>
- unexpected value "Down"
- locator resolved to <td role="cell" title="DOWN" class="css-aqkpyi">…</td>
- unexpected value "Down"
- locator resolved to <td role="cell" title="DOWN" class="css-aqkpyi">…</td>
- unexpected value "Down"
- locator resolved to <td role="cell" title="DOWN" class="css-aqkpyi">…</td>
- unexpected value "Down"
- locator resolved to <td role="cell" title="DOWN" class="css-aqkpyi">…</td>
- unexpected value "Down"
- locator resolved to <td role="cell" title="DOWN" class="css-aqkpyi">…</td>
- unexpected value "Down"
- locator resolved to <td role="cell" title="DOWN" class="css-aqkpyi">…</td>
- unexpected value "Down"
at inventory/components/nodesTable.ts:67
65 | await expect(this.elements.version_2_37.address(details.nodeName!)).toContainText(details.address!);
66 | }
> 67 | await expect(this.elements.status(details.nodeName!)).toContainText(details.status || 'Up');
| ^
68 | await expect(this.elements.nodeName(details.nodeName!)).toContainText(details.nodeName!);
69 | await expect(this.elements.nodeType(details.nodeName!)).toContainText(details.nodeType!);
70 | await expect(this.elements.monitoring(details.nodeName!)).toContainText(details.monitoring || 'OK');
at NodesTable.verifyNode (/home/runner/work/pmm-ui-tests/pmm-ui-tests/pmm-ui-tests/playwright-tests/tests/inventory/components/nodesTable.ts:67:59)
at /home/runner/work/pmm-ui-tests/pmm-ui-tests/pmm-ui-tests/playwright-tests/tests/inventory/inventory.spec.ts:292:34
at /home/runner/work/pmm-ui-tests/pmm-ui-tests/pmm-ui-tests/playwright-tests/tests/inventory/inventory.spec.ts:287:5
|
pmm-ui-tests/playwright-tests/tests/inventory/components/nodesTable.ts#L67
2) [chromium] › inventory/inventory.spec.ts:271:7 › Spec file for PMM inventory tests. › PMM-T1670 Verify PMM Inventory redesign : Layout & Nodes @inventory @inventory-post-upgrade
Retry #1 ---------------------------------------------------------------------------------------
Error: expect(received).toContainText(expected)
Expected string: "Up"
Received string: "Down"
Call log:
- expect.toContainText with timeout 5000ms
- waiting for locator('xpath=//*[contains(text(),"client_container_2249")]//ancestor::*[@data-testid="table-tbody-tr"]').locator('td').nth(1)
- locator resolved to <td role="cell" title="DOWN" class="css-aqkpyi">…</td>
- unexpected value "Down"
- waiting for locator('xpath=//*[contains(text(),"client_container_2249")]//ancestor::*[@data-testid="table-tbody-tr"]').locator('td').nth(1)
- locator resolved to <td role="cell" title="DOWN" class="css-aqkpyi">…</td>
- unexpected value "Down"
- locator resolved to <td role="cell" title="DOWN" class="css-aqkpyi">…</td>
- unexpected value "Down"
- locator resolved to <td role="cell" title="DOWN" class="css-aqkpyi">…</td>
- unexpected value "Down"
- locator resolved to <td role="cell" title="DOWN" class="css-aqkpyi">…</td>
- unexpected value "Down"
- locator resolved to <td role="cell" title="DOWN" class="css-aqkpyi">…</td>
- unexpected value "Down"
- locator resolved to <td role="cell" title="DOWN" class="css-aqkpyi">…</td>
- unexpected value "Down"
- locator resolved to <td role="cell" title="DOWN" class="css-aqkpyi">…</td>
- unexpected value "Down"
- locator resolved to <td role="cell" title="DOWN" class="css-aqkpyi">…</td>
- unexpected value "Down"
at inventory/components/nodesTable.ts:67
65 | await expect(this.elements.version_2_37.address(details.nodeName!)).toContainText(details.address!);
66 | }
> 67 | await expect(this.elements.status(details.nodeName!)).toContainText(details.status || 'Up');
| ^
68 | await expect(this.elements.nodeName(details.nodeName!)).toContainText(details.nodeName!);
69 | await expect(this.elements.nodeType(details.nodeName!)).toContainText(details.nodeType!);
70 | await expect(this.elements.monitoring(details.nodeName!)).toContainText(details.monitoring || 'OK');
at NodesTable.verifyNode (/home/runner/work/pmm-ui-tests/pmm-ui-tests/pmm-ui-tests/playwright-tests/tests/inventory/components/nodesTable.ts:67:59)
at /home/runner/work/pmm-ui-tests/pmm-ui-tests/pmm-ui-tests/playwright-tests/tests/inventory/inventory.spec.ts:292:34
at /home/runner/work/pmm-ui-tests/pmm-ui-tests/pmm-ui-tests/playwright-tests/tests/inventory/inventory.spec.ts:287:5
|
|
Error setting status:
No commit found for SHA: null
Request object:
{
"context": "@inventory UI tests",
"description": "Test execution failure",
"state": "failure",
"owner": "percona",
"repo": "pmm-ui-tests",
"sha": "null",
"target_url": "https://github.com/percona/pmm-ui-tests/actions/runs/5443941803"
}
|
Error setting status:
No commit found for SHA: null
Request object:
{
"context": "@inventory UI tests",
"description": "Test execution success",
"state": "pending",
"owner": "percona",
"repo": "pmm-ui-tests",
"sha": "null",
"target_url": "https://github.com/percona/pmm-ui-tests/actions/runs/5443941803"
}
|
pmm-ui-tests/[chromium] › inventory/inventory.spec.ts#L1
pmm-ui-tests/[chromium] › inventory/inventory.spec.ts took 6.7m
|
|
1 failed
[chromium] › inventory/inventory.spec.ts:332:7 › Spec file for PMM inventory tests. › PMM-T1672 Verify PMM Inventory redesign : State of the agents @inventory @inventory-post-upgrade
1 flaky
[chromium] › inventory/inventory.spec.ts:271:7 › Spec file for PMM inventory tests. › PMM-T1670 Verify PMM Inventory redesign : Layout & Nodes @inventory @inventory-post-upgrade
7 passed (6.8m)
|
The logs for this run have expired and are no longer available.
Loading