Skip to content

PMM2 Integration Tests #1256

PMM2 Integration Tests

PMM2 Integration Tests #1256

Manually triggered August 16, 2023 17:36
Status Failure
Total duration 8m 45s
Artifacts 14

pmm2-testsuite.yml

on: workflow_dispatch
Matrix: cli-tests
Fit to window
Zoom out
Zoom in

Annotations

12 errors, 7 warnings, and 15 notices
tests/pmm-server-docker-generic.spec.ts:13:7 › PMM Server CLI tests for Docker Environment Variables › PMM-T224 run docker container with a invalid value for a environment variable DATA_RETENTION=48: pmm-ui-tests/cli/support/types/output.ts#L22
1) tests/pmm-server-docker-generic.spec.ts:13:7 › PMM Server CLI tests for Docker Environment Variables › PMM-T224 run docker container with a invalid value for a environment variable DATA_RETENTION=48 Error: "docker logs PMM-T224 2>&1 | grep 'Configuration error: environment variable "DATA_RETENTION=48" has invalid duration 48'" expected to exit with 0! Error: "" Expected: 0 Received: 1 at support/types/output.ts:22 20 | async assertSuccess() { 21 | await test.step(`Verify "${this.command}" command executed successfully`, async () => { > 22 | expect(this.code, `"${this.command}" expected to exit with 0! Error: "${this.stderr || this.stdout}"`).toEqual(0); | ^ 23 | }); 24 | } 25 | at /home/runner/work/pmm-submodules/pmm-submodules/pmm-ui-tests/cli/support/types/output.ts:22:110 at Output.assertSuccess (/home/runner/work/pmm-submodules/pmm-submodules/pmm-ui-tests/cli/support/types/output.ts:21:16) at /home/runner/work/pmm-submodules/pmm-submodules/pmm-ui-tests/cli/tests/pmm-server-docker-generic.spec.ts:23:10
tests/pmm-server-docker-generic.spec.ts:30:7 › PMM Server CLI tests for Docker Environment Variables › PMM-T225 run docker container with a unexpected environment variable DATA_TENTION=48: pmm-ui-tests/cli/support/types/output.ts#L22
2) tests/pmm-server-docker-generic.spec.ts:30:7 › PMM Server CLI tests for Docker Environment Variables › PMM-T225 run docker container with a unexpected environment variable DATA_TENTION=48 Error: "docker logs PMM-T225 2>&1 | grep 'Configuration warning: unknown environment variable "DATA_TENTION=48"'" expected to exit with 0! Error: "" Expected: 0 Received: 1 at support/types/output.ts:22 20 | async assertSuccess() { 21 | await test.step(`Verify "${this.command}" command executed successfully`, async () => { > 22 | expect(this.code, `"${this.command}" expected to exit with 0! Error: "${this.stderr || this.stdout}"`).toEqual(0); | ^ 23 | }); 24 | } 25 | at /home/runner/work/pmm-submodules/pmm-submodules/pmm-ui-tests/cli/support/types/output.ts:22:110 at Output.assertSuccess (/home/runner/work/pmm-submodules/pmm-submodules/pmm-ui-tests/cli/support/types/output.ts:21:16) at /home/runner/work/pmm-submodules/pmm-submodules/pmm-ui-tests/cli/tests/pmm-server-docker-generic.spec.ts:36:10
tests/pmm-server-docker-generic.spec.ts:44:7 › PMM Server CLI tests for Docker Environment Variables › PMM-T226 run docker container with all valid environment variables not causing any warning or error message: pmm-ui-tests/cli/support/types/output.ts#L22
3) tests/pmm-server-docker-generic.spec.ts:44:7 › PMM Server CLI tests for Docker Environment Variables › PMM-T226 run docker container with all valid environment variables not causing any warning or error message Error: "docker ps | grep PMM-T226" expected to exit with 0! Error: "" Expected: 0 Received: 1 at support/types/output.ts:22 20 | async assertSuccess() { 21 | await test.step(`Verify "${this.command}" command executed successfully`, async () => { > 22 | expect(this.code, `"${this.command}" expected to exit with 0! Error: "${this.stderr || this.stdout}"`).toEqual(0); | ^ 23 | }); 24 | } 25 | at /home/runner/work/pmm-submodules/pmm-submodules/pmm-ui-tests/cli/support/types/output.ts:22:110 at Output.assertSuccess (/home/runner/work/pmm-submodules/pmm-submodules/pmm-ui-tests/cli/support/types/output.ts:21:16) at /home/runner/work/pmm-submodules/pmm-submodules/pmm-ui-tests/cli/tests/pmm-server-docker-generic.spec.ts:50:57
cli-tests (generic)
Process completed with exit code 1.
tests/pmm-client-docker.spec.ts:9:7 › PMM Client Docker CLI tests › run pmm-admin list on pmm-client docker container: pmm-ui-tests/cli/support/types/output.ts#L22
1) tests/pmm-client-docker.spec.ts:9:7 › PMM Client Docker CLI tests › run pmm-admin list on pmm-client docker container Error: "docker exec pmm-client pmm-admin list" expected to exit with 0! Error: "Error response from daemon: Container 52daa4091546539ac662941d932b5cd3dc32fff260d48b0c64ad8e64acf11b80 is not running " Expected: 0 Received: 1 at support/types/output.ts:22 20 | async assertSuccess() { 21 | await test.step(`Verify "${this.command}" command executed successfully`, async () => { > 22 | expect(this.code, `"${this.command}" expected to exit with 0! Error: "${this.stderr || this.stdout}"`).toEqual(0); | ^ 23 | }); 24 | } 25 | at /home/runner/work/pmm-submodules/pmm-submodules/pmm-ui-tests/cli/support/types/output.ts:22:110 at Output.assertSuccess (/home/runner/work/pmm-submodules/pmm-submodules/pmm-ui-tests/cli/support/types/output.ts:21:16) at /home/runner/work/pmm-submodules/pmm-submodules/pmm-ui-tests/cli/tests/pmm-client-docker.spec.ts:11:18
tests/pmm-client-docker.spec.ts:24:7 › PMM Client Docker CLI tests › run pmm-admin add mysql with default options: pmm-ui-tests/cli/support/types/output.ts#L22
2) tests/pmm-client-docker.spec.ts:24:7 › PMM Client Docker CLI tests › run pmm-admin add mysql with default options Error: "docker exec pmm-client pmm-admin add mysql --username=root --*** --service-name=ps5.7_2 --host=ps5.7 --port=3306 --server-url=***docker-client-check-pmm-server/" expected to exit with 0! Error: "Error response from daemon: Container 52daa4091546539ac662941d932b5cd3dc32fff260d48b0c64ad8e64acf11b80 is not running " Expected: 0 Received: 1 at support/types/output.ts:22 20 | async assertSuccess() { 21 | await test.step(`Verify "${this.command}" command executed successfully`, async () => { > 22 | expect(this.code, `"${this.command}" expected to exit with 0! Error: "${this.stderr || this.stdout}"`).toEqual(0); | ^ 23 | }); 24 | } 25 | at /home/runner/work/pmm-submodules/pmm-submodules/pmm-ui-tests/cli/support/types/output.ts:22:110 at Output.assertSuccess (/home/runner/work/pmm-submodules/pmm-submodules/pmm-ui-tests/cli/support/types/output.ts:21:16) at /home/runner/work/pmm-submodules/pmm-submodules/pmm-ui-tests/cli/tests/pmm-client-docker.spec.ts:26:18
tests/pmm-client-docker.spec.ts:34:7 › PMM Client Docker CLI tests › run pmm-admin remove mysql: pmm-ui-tests/cli/support/types/output.ts#L22
3) tests/pmm-client-docker.spec.ts:34:7 › PMM Client Docker CLI tests › run pmm-admin remove mysql Error: "docker exec pmm-client pmm-admin remove mysql ps5.7_2" expected to exit with 0! Error: "Error response from daemon: Container 52daa4091546539ac662941d932b5cd3dc32fff260d48b0c64ad8e64acf11b80 is not running " Expected: 0 Received: 1 at support/types/output.ts:22 20 | async assertSuccess() { 21 | await test.step(`Verify "${this.command}" command executed successfully`, async () => { > 22 | expect(this.code, `"${this.command}" expected to exit with 0! Error: "${this.stderr || this.stdout}"`).toEqual(0); | ^ 23 | }); 24 | } 25 | at /home/runner/work/pmm-submodules/pmm-submodules/pmm-ui-tests/cli/support/types/output.ts:22:110 at Output.assertSuccess (/home/runner/work/pmm-submodules/pmm-submodules/pmm-ui-tests/cli/support/types/output.ts:21:16) at /home/runner/work/pmm-submodules/pmm-submodules/pmm-ui-tests/cli/tests/pmm-client-docker.spec.ts:36:18
tests/pmm-client-docker.spec.ts:43:7 › PMM Client Docker CLI tests › run pmm-admin add mongodb with default options: pmm-ui-tests/cli/support/types/output.ts#L22
4) tests/pmm-client-docker.spec.ts:43:7 › PMM Client Docker CLI tests › run pmm-admin add mongodb with default options Error: "docker exec pmm-client pmm-admin add mongodb --service-name=mongodb-4.0_2 --host=mongodb --port=27017 --server-url=***docker-client-check-pmm-server/" expected to exit with 0! Error: "Error response from daemon: Container 52daa4091546539ac662941d932b5cd3dc32fff260d48b0c64ad8e64acf11b80 is not running " Expected: 0 Received: 1 at support/types/output.ts:22 20 | async assertSuccess() { 21 | await test.step(`Verify "${this.command}" command executed successfully`, async () => { > 22 | expect(this.code, `"${this.command}" expected to exit with 0! Error: "${this.stderr || this.stdout}"`).toEqual(0); | ^ 23 | }); 24 | } 25 | at /home/runner/work/pmm-submodules/pmm-submodules/pmm-ui-tests/cli/support/types/output.ts:22:110 at Output.assertSuccess (/home/runner/work/pmm-submodules/pmm-submodules/pmm-ui-tests/cli/support/types/output.ts:21:16) at /home/runner/work/pmm-submodules/pmm-submodules/pmm-ui-tests/cli/tests/pmm-client-docker.spec.ts:45:18
tests/pmm-client-docker.spec.ts:53:7 › PMM Client Docker CLI tests › run pmm-admin remove mongodb: pmm-ui-tests/cli/support/types/output.ts#L22
5) tests/pmm-client-docker.spec.ts:53:7 › PMM Client Docker CLI tests › run pmm-admin remove mongodb Error: "docker exec pmm-client pmm-admin remove mongodb mongodb-4.0_2" expected to exit with 0! Error: "Error response from daemon: Container 52daa4091546539ac662941d932b5cd3dc32fff260d48b0c64ad8e64acf11b80 is not running " Expected: 0 Received: 1 at support/types/output.ts:22 20 | async assertSuccess() { 21 | await test.step(`Verify "${this.command}" command executed successfully`, async () => { > 22 | expect(this.code, `"${this.command}" expected to exit with 0! Error: "${this.stderr || this.stdout}"`).toEqual(0); | ^ 23 | }); 24 | } 25 | at /home/runner/work/pmm-submodules/pmm-submodules/pmm-ui-tests/cli/support/types/output.ts:22:110 at Output.assertSuccess (/home/runner/work/pmm-submodules/pmm-submodules/pmm-ui-tests/cli/support/types/output.ts:21:16) at /home/runner/work/pmm-submodules/pmm-submodules/pmm-ui-tests/cli/tests/pmm-client-docker.spec.ts:55:18
tests/pmm-client-docker.spec.ts:62:7 › PMM Client Docker CLI tests › run pmm-admin add postgresql with default options: pmm-ui-tests/cli/support/types/output.ts#L22
6) tests/pmm-client-docker.spec.ts:62:7 › PMM Client Docker CLI tests › run pmm-admin add postgresql with default options Error: "docker exec pmm-client pmm-admin add postgresql --username=postgres --*** --service-name=postgres-10_2 --host=postgres-10 --port=5432 --server-url=***docker-client-check-pmm-server/" expected to exit with 0! Error: "Error response from daemon: Container 52daa4091546539ac662941d932b5cd3dc32fff260d48b0c64ad8e64acf11b80 is not running " Expected: 0 Received: 1 at support/types/output.ts:22 20 | async assertSuccess() { 21 | await test.step(`Verify "${this.command}" command executed successfully`, async () => { > 22 | expect(this.code, `"${this.command}" expected to exit with 0! Error: "${this.stderr || this.stdout}"`).toEqual(0); | ^ 23 | }); 24 | } 25 | at /home/runner/work/pmm-submodules/pmm-submodules/pmm-ui-tests/cli/support/types/output.ts:22:110 at Output.assertSuccess (/home/runner/work/pmm-submodules/pmm-submodules/pmm-ui-tests/cli/support/types/output.ts:21:16) at /home/runner/work/pmm-submodules/pmm-submodules/pmm-ui-tests/cli/tests/pmm-client-docker.spec.ts:64:18
tests/pmm-client-docker.spec.ts:72:7 › PMM Client Docker CLI tests › run pmm-admin remove postgresql: pmm-ui-tests/cli/support/types/output.ts#L22
7) tests/pmm-client-docker.spec.ts:72:7 › PMM Client Docker CLI tests › run pmm-admin remove postgresql Error: "docker exec pmm-client pmm-admin remove postgresql postgres-10_2" expected to exit with 0! Error: "Error response from daemon: Container 52daa4091546539ac662941d932b5cd3dc32fff260d48b0c64ad8e64acf11b80 is not running " Expected: 0 Received: 1 at support/types/output.ts:22 20 | async assertSuccess() { 21 | await test.step(`Verify "${this.command}" command executed successfully`, async () => { > 22 | expect(this.code, `"${this.command}" expected to exit with 0! Error: "${this.stderr || this.stdout}"`).toEqual(0); | ^ 23 | }); 24 | } 25 | at /home/runner/work/pmm-submodules/pmm-submodules/pmm-ui-tests/cli/support/types/output.ts:22:110 at Output.assertSuccess (/home/runner/work/pmm-submodules/pmm-submodules/pmm-ui-tests/cli/support/types/output.ts:21:16) at /home/runner/work/pmm-submodules/pmm-submodules/pmm-ui-tests/cli/tests/pmm-client-docker.spec.ts:74:18
cli-tests (clientContainer)
Process completed with exit code 1.
Slow Test: pmm-ui-tests/cli/tests/postgreSql-pdpgsql.spec.ts#L1
pmm-ui-tests/cli/tests/postgreSql-pdpgsql.spec.ts took 35.8s
Slow Test: pmm-ui-tests/cli/tests/perconaMySqlServer.spec.ts#L1
pmm-ui-tests/cli/tests/perconaMySqlServer.spec.ts took 26.2s
Slow Test: pmm-ui-tests/cli/tests/postgreSql-pdpgsql.spec.ts#L1
pmm-ui-tests/cli/tests/postgreSql-pdpgsql.spec.ts took 36.5s
Slow Test: pmm-ui-tests/cli/tests/pmm-server-docker-generic.spec.ts#L1
pmm-ui-tests/cli/tests/pmm-server-docker-generic.spec.ts took 1.5m
Slow Test: pmm-ui-tests/cli/tests/postgreSql-pdpgsql.spec.ts#L1
pmm-ui-tests/cli/tests/postgreSql-pdpgsql.spec.ts took 35.5s
Slow Test: pmm-ui-tests/cli/tests/perconaMySqlServer.spec.ts#L1
pmm-ui-tests/cli/tests/perconaMySqlServer.spec.ts took 27.6s
cli-tests (remove)
No files were found with the provided path: ./pmm-ui-tests/cli/test-report. No artifacts will be uploaded.
🎭 Playwright Run Summary
2 skipped 15 passed (4.1s)
🎭 Playwright Run Summary
2 skipped 15 passed (4.3s)
🎭 Playwright Run Summary
2 skipped 21 passed (36.5s)
🎭 Playwright Run Summary
4 passed (1.0s)
🎭 Playwright Run Summary
35 passed (26.9s)
🎭 Playwright Run Summary
2 skipped 21 passed (37.6s)
🎭 Playwright Run Summary
3 failed tests/pmm-server-docker-generic.spec.ts:13:7 › PMM Server CLI tests for Docker Environment Variables › PMM-T224 run docker container with a invalid value for a environment variable DATA_RETENTION=48 tests/pmm-server-docker-generic.spec.ts:30:7 › PMM Server CLI tests for Docker Environment Variables › PMM-T225 run docker container with a unexpected environment variable DATA_TENTION=48 tests/pmm-server-docker-generic.spec.ts:44:7 › PMM Server CLI tests for Docker Environment Variables › PMM-T226 run docker container with all valid environment variables not causing any warning or error message 10 passed (1.6m)
🎭 Playwright Run Summary
2 skipped 21 passed (36.2s)
🎭 Playwright Run Summary
35 passed (28.5s)
🎭 Playwright Run Summary
2 skipped 15 passed (6.0s)
🎭 Playwright Run Summary
7 failed tests/pmm-client-docker.spec.ts:9:7 › PMM Client Docker CLI tests › run pmm-admin list on pmm-client docker container tests/pmm-client-docker.spec.ts:24:7 › PMM Client Docker CLI tests › run pmm-admin add mysql with default options tests/pmm-client-docker.spec.ts:34:7 › PMM Client Docker CLI tests › run pmm-admin remove mysql tests/pmm-client-docker.spec.ts:43:7 › PMM Client Docker CLI tests › run pmm-admin add mongodb with default options tests/pmm-client-docker.spec.ts:53:7 › PMM Client Docker CLI tests › run pmm-admin remove mongodb tests/pmm-client-docker.spec.ts:62:7 › PMM Client Docker CLI tests › run pmm-admin add postgresql with default options tests/pmm-client-docker.spec.ts:72:7 › PMM Client Docker CLI tests › run pmm-admin remove postgresql
🎭 Playwright Run Summary
1 passed (965ms)
🎭 Playwright Run Summary
1 skipped 16 passed (11.0s)
🎭 Playwright Run Summary
7 passed (2.1s)
🎭 Playwright Run Summary
6 passed (2.4s)

Artifacts

Produced during runtime
Name Size
report-clientContainer Expired
411 KB
report-generic Expired
419 KB
report-haproxy Expired
413 KB
report-help Expired
413 KB
report-modb4.4 Expired
415 KB
report-modb5 Expired
415 KB
report-modb6 Expired
415 KB
report-ms8.0 Expired
409 KB
report-pdpgsql13 Expired
424 KB
report-pdpgsql14 Expired
424 KB
report-pdpgsql15 Expired
424 KB
report-proxysql Expired
410 KB
report-ps5.7 Expired
545 KB
report-ps8 Expired
543 KB