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 #561

EVEREST-358 Disable list commands

EVEREST-358 Disable list commands #561

Triggered via pull request October 6, 2023 13:15
Status Failure
Total duration 6m 40s
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
5m 27s
CLI Integration Tests
Matrix: Check
Matrix: CLI tests
Matrix: Tests
Fit to window
Zoom out
Zoom in

Annotations

33 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)
Check (1.21.x, false): commands/root.go#L41
commentFormatting: put a space between `//` and comment text (gocritic)
Check (1.21.x, false): commands/root.go#L41
commentFormatting: put a space between `//` and comment text (gocritic)
Check (1.21.x, false)
reviewdog exited with status code: 1
[flows] β€Ί flow/pg-operator.spec.ts:29:7 β€Ί Everest CLI install operators β€Ί install only postgresql-operator: cli-tests/support/output.ts#L36
1) [flows] β€Ί flow/pg-operator.spec.ts:29:7 β€Ί Everest CLI install operators β€Ί install only postgresql-operator β€Ί run delete cluster command β€Ί Verify "delete cluster --name=test-2984735242452992 --assume-yes" command executed successfully Error: "delete cluster --name=test-2984735242452992 --assume-yes" expected to exit with 0! Error: "2023-10-06T13:20:51Z info delete/cluster.go:271 Deleting all Kubernetes monitoring resources in Kubernetes cluster "test-2984735242452992" 2023-10-06T13:20:51Z error output/command.go:65 failed to get API group resources: unable to retrieve the complete list of server APIs: operator.victoriametrics.com/v1beta1: the server could not find the requested resource could not delete monitoring resources from the Kubernetes cluster github.com/percona/percona-everest-cli/pkg/output.PrintError /home/runner/work/percona-everest-cli/percona-everest-cli/pkg/output/command.go:65 github.com/percona/percona-everest-cli/commands/delete.NewClusterCmd.func1 /home/runner/work/percona-everest-cli/percona-everest-cli/commands/delete/cluster.go:58 github.com/spf13/cobra.(*Command).execute /home/runner/go/pkg/mod/github.com/spf13/[email protected]/command.go:944 github.com/spf13/cobra.(*Command).ExecuteC /home/runner/go/pkg/mod/github.com/spf13/[email protected]/command.go:1068 github.com/spf13/cobra.(*Command).Execute /home/runner/go/pkg/mod/github.com/spf13/[email protected]/command.go:992 main.main /home/runner/work/percona-everest-cli/percona-everest-cli/cmd/everest/main.go:37 runtime.main /opt/hostedtoolcache/go/1.20.8/x64/src/runtime/proc.go:250 " 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/support/everest-cli.ts:9:15 at cliDeleteCluster (/home/runner/work/percona-everest-cli/percona-everest-cli/cli-tests/support/everest-cli.ts:6:3) at /home/runner/work/percona-everest-cli/percona-everest-cli/cli-tests/tests/flow/pg-operator.spec.ts:82:5
CLI tests (test-pg-operator) / CLI test-pg-operator
Process completed with exit code 2.
[cli] β€Ί list/database-engines.spec.ts:35:7 β€Ί Database engines β€Ί list: cli-tests/tests/list/database-engines.spec.ts#L31
1) [cli] β€Ί list/database-engines.spec.ts:35:7 β€Ί Database engines β€Ί list ────────────────────────── TypeError: dbengine not yet installed Cannot read properties of undefined (reading 'status') 29 | intervals: [1000], 30 | timeout: 240 * 1000, > 31 | }).toBe(true); | ^ 32 | }); 33 | 34 | test.describe('Database engines', async () => { at /home/runner/work/percona-everest-cli/percona-everest-cli/cli-tests/tests/list/database-engines.spec.ts:31:6
[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 ────────────────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: "list databaseengines --kubernetes-id 47a07d0b-7585-480c-a6d7-fd3b356c6f3c" 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 ────────────────────────── Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: "list databaseengines --kubernetes-id 47a07d0b-7585-480c-a6d7-fd3b356c6f3c" 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 47a07d0b-7585-480c-a6d7-fd3b356c6f3c" command executed successfully Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: "--json list databaseengines --kubernetes-id 47a07d0b-7585-480c-a6d7-fd3b356c6f3c" 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 47a07d0b-7585-480c-a6d7-fd3b356c6f3c" command executed successfully Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: "--json list databaseengines --kubernetes-id 47a07d0b-7585-480c-a6d7-fd3b356c6f3c" 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 47a07d0b-7585-480c-a6d7-fd3b356c6f3c" command executed successfully Error: "list versions --kubernetes-id 47a07d0b-7585-480c-a6d7-fd3b356c6f3c" 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 47a07d0b-7585-480c-a6d7-fd3b356c6f3c" command executed successfully Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: "list versions --kubernetes-id 47a07d0b-7585-480c-a6d7-fd3b356c6f3c" 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 47a07d0b-7585-480c-a6d7-fd3b356c6f3c" command executed successfully Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: "list versions --kubernetes-id 47a07d0b-7585-480c-a6d7-fd3b356c6f3c" 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 47a07d0b-7585-480c-a6d7-fd3b356c6f3c" command executed successfully Error: "--json list versions --kubernetes-id 47a07d0b-7585-480c-a6d7-fd3b356c6f3c" 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
[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 47a07d0b-7585-480c-a6d7-fd3b356c6f3c" command executed successfully Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: "--json list versions --kubernetes-id 47a07d0b-7585-480c-a6d7-fd3b356c6f3c" 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
[flows] β€Ί flow/pxc-operator.spec.ts:29:7 β€Ί Everest CLI install operators β€Ί install only xtradb-cluster-operator: cli-tests/support/output.ts#L36
1) [flows] β€Ί flow/pxc-operator.spec.ts:29:7 β€Ί Everest CLI install operators β€Ί install only xtradb-cluster-operator β€Ί run delete cluster command β€Ί Verify "delete cluster --name=test-7733128468627456 --assume-yes" command executed successfully Error: "delete cluster --name=test-7733128468627456 --assume-yes" expected to exit with 0! Error: "2023-10-06T13:21:22Z info delete/cluster.go:271 Deleting all Kubernetes monitoring resources in Kubernetes cluster "test-7733128468627456" 2023-10-06T13:21:22Z error output/command.go:65 failed to get API group resources: unable to retrieve the complete list of server APIs: operator.victoriametrics.com/v1beta1: the server could not find the requested resource could not delete monitoring resources from the Kubernetes cluster github.com/percona/percona-everest-cli/pkg/output.PrintError /home/runner/work/percona-everest-cli/percona-everest-cli/pkg/output/command.go:65 github.com/percona/percona-everest-cli/commands/delete.NewClusterCmd.func1 /home/runner/work/percona-everest-cli/percona-everest-cli/commands/delete/cluster.go:58 github.com/spf13/cobra.(*Command).execute /home/runner/go/pkg/mod/github.com/spf13/[email protected]/command.go:944 github.com/spf13/cobra.(*Command).ExecuteC /home/runner/go/pkg/mod/github.com/spf13/[email protected]/command.go:1068 github.com/spf13/cobra.(*Command).Execute /home/runner/go/pkg/mod/github.com/spf13/[email protected]/command.go:992 main.main /home/runner/work/percona-everest-cli/percona-everest-cli/cmd/everest/main.go:37 runtime.main /opt/hostedtoolcache/go/1.20.8/x64/src/runtime/proc.go:250 " 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/support/everest-cli.ts:9:15 at cliDeleteCluster (/home/runner/work/percona-everest-cli/percona-everest-cli/cli-tests/support/everest-cli.ts:6:3) at /home/runner/work/percona-everest-cli/percona-everest-cli/cli-tests/tests/flow/pxc-operator.spec.ts:64:5
CLI tests (test-pxc-operator) / CLI test-pxc-operator
Process completed with exit code 2.
[flows] β€Ί flow/all-operators.spec.ts:29:7 β€Ί Everest CLI install operators β€Ί install all operators: cli-tests/support/output.ts#L36
1) [flows] β€Ί flow/all-operators.spec.ts:29:7 β€Ί Everest CLI install operators β€Ί install all operators β€Ί run delete cluster command β€Ί Verify "delete cluster --name=test-1323705152045056 --assume-yes" command executed successfully Error: "delete cluster --name=test-1323705152045056 --assume-yes" expected to exit with 0! Error: "2023-10-06T13:21:33Z info delete/cluster.go:271 Deleting all Kubernetes monitoring resources in Kubernetes cluster "test-1323705152045056" 2023-10-06T13:21:34Z error output/command.go:65 failed to get API group resources: unable to retrieve the complete list of server APIs: operator.victoriametrics.com/v1beta1: the server could not find the requested resource could not delete monitoring resources from the Kubernetes cluster github.com/percona/percona-everest-cli/pkg/output.PrintError /home/runner/work/percona-everest-cli/percona-everest-cli/pkg/output/command.go:65 github.com/percona/percona-everest-cli/commands/delete.NewClusterCmd.func1 /home/runner/work/percona-everest-cli/percona-everest-cli/commands/delete/cluster.go:58 github.com/spf13/cobra.(*Command).execute /home/runner/go/pkg/mod/github.com/spf13/[email protected]/command.go:944 github.com/spf13/cobra.(*Command).ExecuteC /home/runner/go/pkg/mod/github.com/spf13/[email protected]/command.go:1068 github.com/spf13/cobra.(*Command).Execute /home/runner/go/pkg/mod/github.com/spf13/[email protected]/command.go:992 main.main /home/runner/work/percona-everest-cli/percona-everest-cli/cmd/everest/main.go:37 runtime.main /opt/hostedtoolcache/go/1.20.8/x64/src/runtime/proc.go:250 " 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/support/everest-cli.ts:9:15 at cliDeleteCluster (/home/runner/work/percona-everest-cli/percona-everest-cli/cli-tests/support/everest-cli.ts:6:3) at /home/runner/work/percona-everest-cli/percona-everest-cli/cli-tests/tests/flow/all-operators.spec.ts:63:5
CLI tests (test-all-operators) / CLI test-all-operators
Process completed with exit code 2.
[flows] β€Ί flow/mongodb-operator.spec.ts:29:7 β€Ί Everest CLI install operators β€Ί install only mongodb-operator: cli-tests/support/output.ts#L36
1) [flows] β€Ί flow/mongodb-operator.spec.ts:29:7 β€Ί Everest CLI install operators β€Ί install only mongodb-operator β€Ί run delete cluster command β€Ί Verify "delete cluster --name=test-4713690467139584 --assume-yes" command executed successfully Error: "delete cluster --name=test-4713690467139584 --assume-yes" expected to exit with 0! Error: "2023-10-06T13:21:52Z info delete/cluster.go:271 Deleting all Kubernetes monitoring resources in Kubernetes cluster "test-4713690467139584" 2023-10-06T13:21:53Z error output/command.go:65 failed to get API group resources: unable to retrieve the complete list of server APIs: operator.victoriametrics.com/v1beta1: the server could not find the requested resource could not delete monitoring resources from the Kubernetes cluster github.com/percona/percona-everest-cli/pkg/output.PrintError /home/runner/work/percona-everest-cli/percona-everest-cli/pkg/output/command.go:65 github.com/percona/percona-everest-cli/commands/delete.NewClusterCmd.func1 /home/runner/work/percona-everest-cli/percona-everest-cli/commands/delete/cluster.go:58 github.com/spf13/cobra.(*Command).execute /home/runner/go/pkg/mod/github.com/spf13/[email protected]/command.go:944 github.com/spf13/cobra.(*Command).ExecuteC /home/runner/go/pkg/mod/github.com/spf13/[email protected]/command.go:1068 github.com/spf13/cobra.(*Command).Execute /home/runner/go/pkg/mod/github.com/spf13/[email protected]/command.go:992 main.main /home/runner/work/percona-everest-cli/percona-everest-cli/cmd/everest/main.go:37 runtime.main /opt/hostedtoolcache/go/1.20.8/x64/src/runtime/proc.go:250 " 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/support/everest-cli.ts:9:15 at cliDeleteCluster (/home/runner/work/percona-everest-cli/percona-everest-cli/cli-tests/support/everest-cli.ts:6:3) at /home/runner/work/percona-everest-cli/percona-everest-cli/cli-tests/tests/flow/mongodb-operator.spec.ts:64:5
CLI tests (test-mongo-operator) / CLI test-mongo-operator
Process completed with exit code 2.
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-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 2.2m
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
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.1m
Slow Test: cli-tests/[flows] β€Ί flow/all-operators.spec.ts#L1
cli-tests/[flows] β€Ί flow/all-operators.spec.ts took 3.0m
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-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
🎭 Playwright Run Summary
1 failed [flows] β€Ί flow/pg-operator.spec.ts:29:7 β€Ί Everest CLI install operators β€Ί install only postgresql-operator
🎭 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 (24.8s)
🎭 Playwright Run Summary
1 failed [flows] β€Ί flow/pxc-operator.spec.ts:29:7 β€Ί Everest CLI install operators β€Ί install only xtradb-cluster-operator
🎭 Playwright Run Summary
1 failed [flows] β€Ί flow/all-operators.spec.ts:29:7 β€Ί Everest CLI install operators β€Ί install all operators
🎭 Playwright Run Summary
1 failed [flows] β€Ί flow/mongodb-operator.spec.ts:29:7 β€Ί Everest CLI install operators β€Ί install only mongodb-operator

Artifacts

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