.github/workflows/pmm-cli.yml #1080
Annotations
7 errors and 1 notice
pmm/cli-tests/support/types/Output.ts#L49
1) [cli] › tests/pmm-cli/server/install.spec.ts:14:7 › PMM Server Install tests › PMM-T1570 "pmm server docker install" works with no flags @pmm-cli › Verify "pmm server docker install" command executed successfully
Error: "pmm server docker install" expected to exit with 0!
Stdout: cli.PMMCommands.Run(): open /dev/tty: no such device or address
Stderr: "Starting PMM Server installation in Docker
Downloading "percona/pmm-server:2"
"
Expected: 0
Received: 1
at support/types/Output.ts:49
47 | async assertSuccess() {
48 | await test.step(`Verify "${this.command}" command executed successfully`, async () => {
> 49 | expect(this.code, `"${this.command}" expected to exit with 0!\nStdout: ${this.stdout}\nStderr: "${this.stderr}"`).toEqual(0);
| ^
50 | });
51 | }
52 |
at /home/runner/work/pmm-submodules/pmm-submodules/pmm/cli-tests/support/types/Output.ts:49:121
at Output.assertSuccess (/home/runner/work/pmm-submodules/pmm-submodules/pmm/cli-tests/support/types/Output.ts:48:16)
at /home/runner/work/pmm-submodules/pmm-submodules/pmm/cli-tests/tests/pmm-cli/server/install.spec.ts:16:18
|
pmm/cli-tests/support/types/Output.ts#L49
2) [cli] › tests/pmm-cli/server/install.spec.ts:29:7 › PMM Server Install tests › PMM-T1610 "pmm server docker install" respects relevant flags @pmm-cli › Verify "
pmm server docker install
--admin-***
--docker-image="percona/pmm-server:2.33.0"
--https-listen-port=1443
--http-listen-port=1080
--container-name=pmm-server-install-test
--volume-name=pmm-data-install-test" command executed successfully
Error: "
pmm server docker install
--admin-***
--docker-image="percona/pmm-server:2.33.0"
--https-listen-port=1443
--http-listen-port=1080
--container-name=pmm-server-install-test
--volume-name=pmm-data-install-test" expected to exit with 0!
Stdout: cli.PMMCommands.Run(): open /dev/tty: no such device or address
Stderr: "Starting PMM Server installation in Docker
Downloading "percona/pmm-server:2.33.0"
"
Expected: 0
Received: 1
at support/types/Output.ts:49
47 | async assertSuccess() {
48 | await test.step(`Verify "${this.command}" command executed successfully`, async () => {
> 49 | expect(this.code, `"${this.command}" expected to exit with 0!\nStdout: ${this.stdout}\nStderr: "${this.stderr}"`).toEqual(0);
| ^
50 | });
51 | }
52 |
at /home/runner/work/pmm-submodules/pmm-submodules/pmm/cli-tests/support/types/Output.ts:49:121
at Output.assertSuccess (/home/runner/work/pmm-submodules/pmm-submodules/pmm/cli-tests/support/types/Output.ts:48:16)
at /home/runner/work/pmm-submodules/pmm-submodules/pmm/cli-tests/tests/pmm-cli/server/install.spec.ts:44:18
|
pmm/cli-tests/support/types/Output.ts#L49
3) [cli] › tests/pmm-cli/server/install.spec.ts:57:7 › PMM Server Install tests › PMM-T1660 "pmm server docker install" shows error for short password @pmm-cli › Verify "
pmm server docker install
--admin-***
--https-listen-port=1444
--http-listen-port=1081
--container-name=pmm-server-short-pass
--volume-name=pmm-data-short-pass" command executed successfully
Error: "
pmm server docker install
--admin-***
--https-listen-port=1444
--http-listen-port=1081
--container-name=pmm-server-short-pass
--volume-name=pmm-data-short-pass" expected to exit with 0!
Stdout: cli.PMMCommands.Run(): open /dev/tty: no such device or address
Stderr: "Starting PMM Server installation in Docker
Downloading "percona/pmm-server:2"
"
Expected: 0
Received: 1
at support/types/Output.ts:49
47 | async assertSuccess() {
48 | await test.step(`Verify "${this.command}" command executed successfully`, async () => {
> 49 | expect(this.code, `"${this.command}" expected to exit with 0!\nStdout: ${this.stdout}\nStderr: "${this.stderr}"`).toEqual(0);
| ^
50 | });
51 | }
52 |
at /home/runner/work/pmm-submodules/pmm-submodules/pmm/cli-tests/support/types/Output.ts:49:121
at Output.assertSuccess (/home/runner/work/pmm-submodules/pmm-submodules/pmm/cli-tests/support/types/Output.ts:48:16)
at /home/runner/work/pmm-submodules/pmm-submodules/pmm/cli-tests/tests/pmm-cli/server/install.spec.ts:70:18
|
pmm/cli-tests/support/types/Output.ts#L49
4) [cli] › tests/pmm-cli/server/install.spec.ts:95:7 › PMM Server Install tests › PMM-T1576 "pmm server docker install" exits if docker container is already present @pmm-cli › Verify "
sudo pmm server docker install
--https-listen-port=1445
--http-listen-port=1082
--container-name=pmm-server-exists
--volume-name=pmm-data-123" command executed successfully
Error: "
sudo pmm server docker install
--https-listen-port=1445
--http-listen-port=1082
--container-name=pmm-server-exists
--volume-name=pmm-data-123" expected to exit with 0!
Stdout:
Stderr: "sudo: pmm: command not found
"
Expected: 0
Received: 1
at support/types/Output.ts:49
47 | async assertSuccess() {
48 | await test.step(`Verify "${this.command}" command executed successfully`, async () => {
> 49 | expect(this.code, `"${this.command}" expected to exit with 0!\nStdout: ${this.stdout}\nStderr: "${this.stderr}"`).toEqual(0);
| ^
50 | });
51 | }
52 |
at /home/runner/work/pmm-submodules/pmm-submodules/pmm/cli-tests/support/types/Output.ts:49:121
at Output.assertSuccess (/home/runner/work/pmm-submodules/pmm-submodules/pmm/cli-tests/support/types/Output.ts:48:16)
at /home/runner/work/pmm-submodules/pmm-submodules/pmm/cli-tests/tests/pmm-cli/server/install.spec.ts:104:39
|
pmm/cli-tests/support/types/Output.ts#L49
5) [cli] › tests/pmm-cli/server/install.spec.ts:114:7 › PMM Server Install tests › PMM-T1616 "pmm server docker install" flag --skip-change-password is respected @pmm-cli › Verify "
pmm server docker install
--skip-change-password
--https-listen-port=1446
--http-listen-port=1888
--container-name=pmm-server-skip-pass
--volume-name=pmm-data-skip-pass" command executed successfully
Error: "
pmm server docker install
--skip-change-password
--https-listen-port=1446
--http-listen-port=1888
--container-name=pmm-server-skip-pass
--volume-name=pmm-data-skip-pass" expected to exit with 0!
Stdout: cli.PMMCommands.Run(): open /dev/tty: no such device or address
Stderr: "Starting PMM Server installation in Docker
Downloading "percona/pmm-server:2"
"
Expected: 0
Received: 1
at support/types/Output.ts:49
47 | async assertSuccess() {
48 | await test.step(`Verify "${this.command}" command executed successfully`, async () => {
> 49 | expect(this.code, `"${this.command}" expected to exit with 0!\nStdout: ${this.stdout}\nStderr: "${this.stderr}"`).toEqual(0);
| ^
50 | });
51 | }
52 |
at /home/runner/work/pmm-submodules/pmm-submodules/pmm/cli-tests/support/types/Output.ts:49:121
at Output.assertSuccess (/home/runner/work/pmm-submodules/pmm-submodules/pmm/cli-tests/support/types/Output.ts:48:16)
at /home/runner/work/pmm-submodules/pmm-submodules/pmm/cli-tests/tests/pmm-cli/server/install.spec.ts:126:18
|
pmm/cli-tests/support/types/Output.ts#L49
6) [cli] › tests/pmm-cli/server/install.spec.ts:137:7 › PMM Server Install tests › PMM-T1616 "pmm server docker install" flag --skip-change-password is respected with present password change flag @pmm-cli › Verify "
pmm server docker install
--skip-change-password
--admin-***
--https-listen-port=1447
--http-listen-port=1889
--container-name=pmm-server-skip-flag
--volume-name=pmm-data-skip-flag" command executed successfully
Error: "
pmm server docker install
--skip-change-password
--admin-***
--https-listen-port=1447
--http-listen-port=1889
--container-name=pmm-server-skip-flag
--volume-name=pmm-data-skip-flag" expected to exit with 0!
Stdout: cli.PMMCommands.Run(): open /dev/tty: no such device or address
Stderr: "Starting PMM Server installation in Docker
Downloading "percona/pmm-server:2"
"
Expected: 0
Received: 1
at support/types/Output.ts:49
47 | async assertSuccess() {
48 | await test.step(`Verify "${this.command}" command executed successfully`, async () => {
> 49 | expect(this.code, `"${this.command}" expected to exit with 0!\nStdout: ${this.stdout}\nStderr: "${this.stderr}"`).toEqual(0);
| ^
50 | });
51 | }
52 |
at /home/runner/work/pmm-submodules/pmm-submodules/pmm/cli-tests/support/types/Output.ts:49:121
at Output.assertSuccess (/home/runner/work/pmm-submodules/pmm-submodules/pmm/cli-tests/support/types/Output.ts:48:16)
at /home/runner/work/pmm-submodules/pmm-submodules/pmm/cli-tests/tests/pmm-cli/server/install.spec.ts:151:18
|
|
6 failed
[cli] › tests/pmm-cli/server/install.spec.ts:14:7 › PMM Server Install tests › PMM-T1570 "pmm server docker install" works with no flags @pmm-cli
[cli] › tests/pmm-cli/server/install.spec.ts:29:7 › PMM Server Install tests › PMM-T1610 "pmm server docker install" respects relevant flags @pmm-cli
[cli] › tests/pmm-cli/server/install.spec.ts:57:7 › PMM Server Install tests › PMM-T1660 "pmm server docker install" shows error for short password @pmm-cli
[cli] › tests/pmm-cli/server/install.spec.ts:95:7 › PMM Server Install tests › PMM-T1576 "pmm server docker install" exits if docker container is already present @pmm-cli
[cli] › tests/pmm-cli/server/install.spec.ts:114:7 › PMM Server Install tests › PMM-T1616 "pmm server docker install" flag --skip-change-password is respected @pmm-cli
[cli] › tests/pmm-cli/server/install.spec.ts:137:7 › PMM Server Install tests › PMM-T1616 "pmm server docker install" flag --skip-change-password is respected with present password change flag @pmm-cli
3 skipped
3 passed (1.1m)
|
The logs for this run have expired and are no longer available.
Loading