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

EVEREST-449 Set monitoring to false by default #560

EVEREST-449 Set monitoring to false by default

EVEREST-449 Set monitoring to false by default #560

Triggered via pull request October 6, 2023 13:10
@gen1us2kgen1us2k
synchronize #164
EVEREST-449
Status Failure
Total duration 7m 11s
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 21s
CLI Integration Tests
Matrix: Check
Matrix: CLI tests
Matrix: Tests
Fit to window
Zoom out
Zoom in

Annotations

20 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/provision.go#L26
`newProvisionCmd` is unused (deadcode)
[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-8565226194599936 --assume-yes" command executed successfully Error: "delete cluster --name=test-8565226194599936 --assume-yes" expected to exit with 0! Error: "2023-10-06T13:15:08Z info delete/cluster.go:271 Deleting all Kubernetes monitoring resources in Kubernetes cluster "test-8565226194599936" 2023-10-06T13:15:08Z 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.
[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-5876340974682112 --assume-yes" command executed successfully Error: "delete cluster --name=test-5876340974682112 --assume-yes" expected to exit with 0! Error: "2023-10-06T13:15:28Z info delete/cluster.go:271 Deleting all Kubernetes monitoring resources in Kubernetes cluster "test-5876340974682112" 2023-10-06T13:15:29Z 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.
[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
[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-4969856434700288 --assume-yes" command executed successfully Error: "delete cluster --name=test-4969856434700288 --assume-yes" expected to exit with 0! Error: "2023-10-06T13:17:07Z info delete/cluster.go:271 Deleting all Kubernetes monitoring resources in Kubernetes cluster "test-4969856434700288" 2023-10-06T13:17:07Z 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.
[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-5396457666379776 --assume-yes" command executed successfully Error: "delete cluster --name=test-5396457666379776 --assume-yes" expected to exit with 0! Error: "2023-10-06T13:17:13Z info delete/cluster.go:271 Deleting all Kubernetes monitoring resources in Kubernetes cluster "test-5396457666379776" 2023-10-06T13:17:13Z 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.
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 1.9m
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.0m
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-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.6m
Slow Test: cli-tests/[flows] › flow/all-operators.spec.ts#L1
cli-tests/[flows] › flow/all-operators.spec.ts took 3.2m
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
🎭 Playwright Run Summary
1 failed [flows] › flow/mongodb-operator.spec.ts:29:7 › Everest CLI install operators › install only mongodb-operator
🎭 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 flaky [cli] › list/database-engines.spec.ts:35:7 › Database engines › list ─────────────────────────── 10 passed (9.8s)
🎭 Playwright Run Summary
1 failed [flows] › flow/pg-operator.spec.ts:29:7 › Everest CLI install operators › install only postgresql-operator
🎭 Playwright Run Summary
1 failed [flows] › flow/all-operators.spec.ts:29:7 › Everest CLI install operators › install all operators

Artifacts

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