Skip to content
This repository has been archived by the owner on Mar 4, 2024. It is now read-only.

EVEREST-358 Disable list commands #571

EVEREST-358 Disable list commands

EVEREST-358 Disable list commands #571

Triggered via pull request October 9, 2023 11:26
@gen1us2kgen1us2k
synchronize #165
EVEREST-358
Status Failure
Total duration 8m 12s
Artifacts 2
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

ci.yml

on: pull_request
CLI Integration Tests
7m 30s
CLI Integration Tests
Matrix: Check
Matrix: CLI tests
Matrix: Tests
Fit to window
Zoom out
Zoom in

Annotations

22 errors, 11 warnings, and 5 notices
Tests (1.21.x)
Cannot open: File exists
Tests (1.21.x)
Cannot open: File exists
Tests (1.21.x)
Cannot open: File exists
Tests (1.21.x)
Cannot open: File exists
Tests (1.21.x)
Cannot open: File exists
Tests (1.21.x)
Cannot open: File exists
Tests (1.21.x)
Cannot open: File exists
Tests (1.21.x)
Cannot open: File exists
Tests (1.21.x)
Cannot open: File exists
Tests (1.21.x)
Cannot open: File exists
Check (1.21.x, false): commands/list.go#L26
`newListCmd` is unused (deadcode)
Check (1.21.x, false): commands/provision.go#L26
`newProvisionCmd` is unused (deadcode)
[cli] › list/database-engines.spec.ts:35:7 › Database engines › list: cli-tests/support/output.ts#L36
1) [cli] › list/database-engines.spec.ts:35:7 › Database engines › list › Verify "list databaseengines --kubernetes-id 6f2aff51-bcb1-4cec-ba4b-3d33da6632c8" command executed successfully Error: "list databaseengines --kubernetes-id 6f2aff51-bcb1-4cec-ba4b-3d33da6632c8" expected to exit with 0! Error: "Error: unknown command "list" for "everestctl" Run 'everestctl --help' for usage. " Expected: 0 Received: 1 at ../support/output.ts:36 34 | async assertSuccess() { 35 | await test.step(`Verify "${this.command}" command executed successfully`, async () => { > 36 | expect(this.code, `"${this.command}" expected to exit with 0! Error: "${this.stderr || this.stdout}"`).toEqual(0); | ^ 37 | }); 38 | } 39 | at /home/runner/work/percona-everest-cli/percona-everest-cli/cli-tests/support/output.ts:36:110 at Output.assertSuccess (/home/runner/work/percona-everest-cli/percona-everest-cli/cli-tests/support/output.ts:35:16) at /home/runner/work/percona-everest-cli/percona-everest-cli/cli-tests/tests/list/database-engines.spec.ts:38:15
[cli] › list/database-engines.spec.ts:35:7 › Database engines › list: cli-tests/support/output.ts#L36
1) [cli] › list/database-engines.spec.ts:35:7 › Database engines › list › Verify "list databaseengines --kubernetes-id 6f2aff51-bcb1-4cec-ba4b-3d33da6632c8" command executed successfully Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: "list databaseengines --kubernetes-id 6f2aff51-bcb1-4cec-ba4b-3d33da6632c8" expected to exit with 0! Error: "Error: unknown command "list" for "everestctl" Run 'everestctl --help' for usage. " Expected: 0 Received: 1 at ../support/output.ts:36 34 | async assertSuccess() { 35 | await test.step(`Verify "${this.command}" command executed successfully`, async () => { > 36 | expect(this.code, `"${this.command}" expected to exit with 0! Error: "${this.stderr || this.stdout}"`).toEqual(0); | ^ 37 | }); 38 | } 39 | at /home/runner/work/percona-everest-cli/percona-everest-cli/cli-tests/support/output.ts:36:110 at Output.assertSuccess (/home/runner/work/percona-everest-cli/percona-everest-cli/cli-tests/support/output.ts:35:16) at /home/runner/work/percona-everest-cli/percona-everest-cli/cli-tests/tests/list/database-engines.spec.ts:38:15
[cli] › list/database-engines.spec.ts:35:7 › Database engines › list: cli-tests/support/output.ts#L36
1) [cli] › list/database-engines.spec.ts:35:7 › Database engines › list › Verify "list databaseengines --kubernetes-id 6f2aff51-bcb1-4cec-ba4b-3d33da6632c8" command executed successfully Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: "list databaseengines --kubernetes-id 6f2aff51-bcb1-4cec-ba4b-3d33da6632c8" expected to exit with 0! Error: "Error: unknown command "list" for "everestctl" Run 'everestctl --help' for usage. " Expected: 0 Received: 1 at ../support/output.ts:36 34 | async assertSuccess() { 35 | await test.step(`Verify "${this.command}" command executed successfully`, async () => { > 36 | expect(this.code, `"${this.command}" expected to exit with 0! Error: "${this.stderr || this.stdout}"`).toEqual(0); | ^ 37 | }); 38 | } 39 | at /home/runner/work/percona-everest-cli/percona-everest-cli/cli-tests/support/output.ts:36:110 at Output.assertSuccess (/home/runner/work/percona-everest-cli/percona-everest-cli/cli-tests/support/output.ts:35:16) at /home/runner/work/percona-everest-cli/percona-everest-cli/cli-tests/tests/list/database-engines.spec.ts:38:15
[cli] › list/database-engines.spec.ts:46:7 › Database engines › list json: cli-tests/support/output.ts#L36
2) [cli] › list/database-engines.spec.ts:46:7 › Database engines › list json › Verify "--json list databaseengines --kubernetes-id 6f2aff51-bcb1-4cec-ba4b-3d33da6632c8" command executed successfully Error: "--json list databaseengines --kubernetes-id 6f2aff51-bcb1-4cec-ba4b-3d33da6632c8" expected to exit with 0! Error: "Error: unknown command "list" for "everestctl" Run 'everestctl --help' for usage. " Expected: 0 Received: 1 at ../support/output.ts:36 34 | async assertSuccess() { 35 | await test.step(`Verify "${this.command}" command executed successfully`, async () => { > 36 | expect(this.code, `"${this.command}" expected to exit with 0! Error: "${this.stderr || this.stdout}"`).toEqual(0); | ^ 37 | }); 38 | } 39 | at /home/runner/work/percona-everest-cli/percona-everest-cli/cli-tests/support/output.ts:36:110 at Output.assertSuccess (/home/runner/work/percona-everest-cli/percona-everest-cli/cli-tests/support/output.ts:35:16) at /home/runner/work/percona-everest-cli/percona-everest-cli/cli-tests/tests/list/database-engines.spec.ts:49:15
[cli] › list/database-engines.spec.ts:46:7 › Database engines › list json: cli-tests/support/output.ts#L36
2) [cli] › list/database-engines.spec.ts:46:7 › Database engines › list json › Verify "--json list databaseengines --kubernetes-id 6f2aff51-bcb1-4cec-ba4b-3d33da6632c8" command executed successfully Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: "--json list databaseengines --kubernetes-id 6f2aff51-bcb1-4cec-ba4b-3d33da6632c8" expected to exit with 0! Error: "Error: unknown command "list" for "everestctl" Run 'everestctl --help' for usage. " Expected: 0 Received: 1 at ../support/output.ts:36 34 | async assertSuccess() { 35 | await test.step(`Verify "${this.command}" command executed successfully`, async () => { > 36 | expect(this.code, `"${this.command}" expected to exit with 0! Error: "${this.stderr || this.stdout}"`).toEqual(0); | ^ 37 | }); 38 | } 39 | at /home/runner/work/percona-everest-cli/percona-everest-cli/cli-tests/support/output.ts:36:110 at Output.assertSuccess (/home/runner/work/percona-everest-cli/percona-everest-cli/cli-tests/support/output.ts:35:16) at /home/runner/work/percona-everest-cli/percona-everest-cli/cli-tests/tests/list/database-engines.spec.ts:49:15
[cli] › list/database-engines.spec.ts:46:7 › Database engines › list json: cli-tests/support/output.ts#L36
2) [cli] › list/database-engines.spec.ts:46:7 › Database engines › list json › Verify "--json list databaseengines --kubernetes-id 6f2aff51-bcb1-4cec-ba4b-3d33da6632c8" command executed successfully Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: "--json list databaseengines --kubernetes-id 6f2aff51-bcb1-4cec-ba4b-3d33da6632c8" expected to exit with 0! Error: "Error: unknown command "list" for "everestctl" Run 'everestctl --help' for usage. " Expected: 0 Received: 1 at ../support/output.ts:36 34 | async assertSuccess() { 35 | await test.step(`Verify "${this.command}" command executed successfully`, async () => { > 36 | expect(this.code, `"${this.command}" expected to exit with 0! Error: "${this.stderr || this.stdout}"`).toEqual(0); | ^ 37 | }); 38 | } 39 | at /home/runner/work/percona-everest-cli/percona-everest-cli/cli-tests/support/output.ts:36:110 at Output.assertSuccess (/home/runner/work/percona-everest-cli/percona-everest-cli/cli-tests/support/output.ts:35:16) at /home/runner/work/percona-everest-cli/percona-everest-cli/cli-tests/tests/list/database-engines.spec.ts:49:15
[cli] › list/versions.spec.ts:35:7 › Versions › list: cli-tests/support/output.ts#L36
3) [cli] › list/versions.spec.ts:35:7 › Versions › list › Verify "list versions --kubernetes-id 6f2aff51-bcb1-4cec-ba4b-3d33da6632c8" command executed successfully Error: "list versions --kubernetes-id 6f2aff51-bcb1-4cec-ba4b-3d33da6632c8" expected to exit with 0! Error: "Error: unknown command "list" for "everestctl" Run 'everestctl --help' for usage. " Expected: 0 Received: 1 at ../support/output.ts:36 34 | async assertSuccess() { 35 | await test.step(`Verify "${this.command}" command executed successfully`, async () => { > 36 | expect(this.code, `"${this.command}" expected to exit with 0! Error: "${this.stderr || this.stdout}"`).toEqual(0); | ^ 37 | }); 38 | } 39 | at /home/runner/work/percona-everest-cli/percona-everest-cli/cli-tests/support/output.ts:36:110 at Output.assertSuccess (/home/runner/work/percona-everest-cli/percona-everest-cli/cli-tests/support/output.ts:35:16) at /home/runner/work/percona-everest-cli/percona-everest-cli/cli-tests/tests/list/versions.spec.ts:38:15
[cli] › list/versions.spec.ts:35:7 › Versions › list: cli-tests/support/output.ts#L36
3) [cli] › list/versions.spec.ts:35:7 › Versions › list › Verify "list versions --kubernetes-id 6f2aff51-bcb1-4cec-ba4b-3d33da6632c8" command executed successfully Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: "list versions --kubernetes-id 6f2aff51-bcb1-4cec-ba4b-3d33da6632c8" expected to exit with 0! Error: "Error: unknown command "list" for "everestctl" Run 'everestctl --help' for usage. " Expected: 0 Received: 1 at ../support/output.ts:36 34 | async assertSuccess() { 35 | await test.step(`Verify "${this.command}" command executed successfully`, async () => { > 36 | expect(this.code, `"${this.command}" expected to exit with 0! Error: "${this.stderr || this.stdout}"`).toEqual(0); | ^ 37 | }); 38 | } 39 | at /home/runner/work/percona-everest-cli/percona-everest-cli/cli-tests/support/output.ts:36:110 at Output.assertSuccess (/home/runner/work/percona-everest-cli/percona-everest-cli/cli-tests/support/output.ts:35:16) at /home/runner/work/percona-everest-cli/percona-everest-cli/cli-tests/tests/list/versions.spec.ts:38:15
[cli] › list/versions.spec.ts:35:7 › Versions › list: cli-tests/support/output.ts#L36
3) [cli] › list/versions.spec.ts:35:7 › Versions › list › Verify "list versions --kubernetes-id 6f2aff51-bcb1-4cec-ba4b-3d33da6632c8" command executed successfully Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: "list versions --kubernetes-id 6f2aff51-bcb1-4cec-ba4b-3d33da6632c8" expected to exit with 0! Error: "Error: unknown command "list" for "everestctl" Run 'everestctl --help' for usage. " Expected: 0 Received: 1 at ../support/output.ts:36 34 | async assertSuccess() { 35 | await test.step(`Verify "${this.command}" command executed successfully`, async () => { > 36 | expect(this.code, `"${this.command}" expected to exit with 0! Error: "${this.stderr || this.stdout}"`).toEqual(0); | ^ 37 | }); 38 | } 39 | at /home/runner/work/percona-everest-cli/percona-everest-cli/cli-tests/support/output.ts:36:110 at Output.assertSuccess (/home/runner/work/percona-everest-cli/percona-everest-cli/cli-tests/support/output.ts:35:16) at /home/runner/work/percona-everest-cli/percona-everest-cli/cli-tests/tests/list/versions.spec.ts:38:15
[cli] › list/versions.spec.ts:46:7 › Versions › list json: cli-tests/support/output.ts#L36
4) [cli] › list/versions.spec.ts:46:7 › Versions › list json › Verify "--json list versions --kubernetes-id 6f2aff51-bcb1-4cec-ba4b-3d33da6632c8" command executed successfully Error: "--json list versions --kubernetes-id 6f2aff51-bcb1-4cec-ba4b-3d33da6632c8" expected to exit with 0! Error: "Error: unknown command "list" for "everestctl" Run 'everestctl --help' for usage. " Expected: 0 Received: 1 at ../support/output.ts:36 34 | async assertSuccess() { 35 | await test.step(`Verify "${this.command}" command executed successfully`, async () => { > 36 | expect(this.code, `"${this.command}" expected to exit with 0! Error: "${this.stderr || this.stdout}"`).toEqual(0); | ^ 37 | }); 38 | } 39 | at /home/runner/work/percona-everest-cli/percona-everest-cli/cli-tests/support/output.ts:36:110 at Output.assertSuccess (/home/runner/work/percona-everest-cli/percona-everest-cli/cli-tests/support/output.ts:35:16) at /home/runner/work/percona-everest-cli/percona-everest-cli/cli-tests/tests/list/versions.spec.ts:49:15
Tests (1.21.x)
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
Check (1.21.x, false)
Restore cache failed: Dependencies file is not found in /home/runner/work/percona-everest-cli/percona-everest-cli. Supported file pattern: go.sum
CLI tests (test-mongo-operator) / CLI test-mongo-operator
Restore cache failed: Dependencies file is not found in /home/runner/work/percona-everest-cli/percona-everest-cli. Supported file pattern: go.sum
Slow Test: cli-tests/[flows] › flow/mongodb-operator.spec.ts#L1
cli-tests/[flows] › flow/mongodb-operator.spec.ts took 2.4m
CLI tests (test-pxc-operator) / CLI test-pxc-operator
Restore cache failed: Dependencies file is not found in /home/runner/work/percona-everest-cli/percona-everest-cli. Supported file pattern: go.sum
Slow Test: cli-tests/[flows] › flow/pxc-operator.spec.ts#L1
cli-tests/[flows] › flow/pxc-operator.spec.ts took 2.7m
CLI Integration Tests
Restore cache failed: Dependencies file is not found in /home/runner/work/percona-everest-cli/percona-everest-cli. Supported file pattern: go.sum
Slow Test: cli-tests/[flows] › flow/all-operators.spec.ts#L1
cli-tests/[flows] › flow/all-operators.spec.ts took 3.4m
CLI tests (test-all-operators) / CLI test-all-operators
Restore cache failed: Dependencies file is not found in /home/runner/work/percona-everest-cli/percona-everest-cli. Supported file pattern: go.sum
CLI tests (test-pg-operator) / CLI test-pg-operator
Restore cache failed: Dependencies file is not found in /home/runner/work/percona-everest-cli/percona-everest-cli. Supported file pattern: go.sum
Slow Test: cli-tests/[flows] › flow/pg-operator.spec.ts#L1
cli-tests/[flows] › flow/pg-operator.spec.ts took 4.3m
🎭 Playwright Run Summary
1 passed (2.4m)
🎭 Playwright Run Summary
1 passed (2.8m)
🎭 Playwright Run Summary
5 failed [cli] › list/database-engines.spec.ts:35:7 › Database engines › list ─────────────────────────── [cli] › list/database-engines.spec.ts:46:7 › Database engines › list json ────────────────────── [cli] › list/versions.spec.ts:35:7 › Versions › list ─────────────────────────────────────────── [cli] › list/versions.spec.ts:46:7 › Versions › list json ────────────────────────────────────── [cli] › list/versions.spec.ts:60:7 › Versions › list supports --type ─────────────────────────── 6 passed (23.2s)
🎭 Playwright Run Summary
1 passed (3.5m)
🎭 Playwright Run Summary
1 passed (4.3m)

Artifacts

Produced during runtime
Name Size
cli-tests-report Expired
1.47 MB
test-delete-cluster-tests-report Expired
417 KB