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

EVEREST-458 Restart everest-operator pod during the provisioning #554

EVEREST-458 Restart everest-operator pod during the provisioning

EVEREST-458 Restart everest-operator pod during the provisioning #554

Triggered via pull request October 5, 2023 11:26
@gen1us2kgen1us2k
synchronize #163
EVEREST-458
Status Failure
Total duration 8m 9s
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 31s
CLI Integration Tests
Matrix: Check
Matrix: CLI tests
Matrix: Tests
Fit to window
Zoom out
Zoom in

Annotations

19 errors, 10 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-2414812652896256 --assume-yes" command executed successfully Error: "delete cluster --name=test-2414812652896256 --assume-yes" expected to exit with 0! Error: "2023-10-05T11:31:49Z info delete/cluster.go:271 Deleting all Kubernetes monitoring resources in Kubernetes cluster "test-2414812652896256" 2023-10-05T11:31:49Z 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-5922563871997952 --assume-yes" command executed successfully Error: "delete cluster --name=test-5922563871997952 --assume-yes" expected to exit with 0! Error: "2023-10-05T11:32:59Z info delete/cluster.go:271 Deleting all Kubernetes monitoring resources in Kubernetes cluster "test-5922563871997952" 2023-10-05T11:32:59Z 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-6282120716615680 --assume-yes" command executed successfully Error: "delete cluster --name=test-6282120716615680 --assume-yes" expected to exit with 0! Error: "2023-10-05T11:33:13Z info delete/cluster.go:271 Deleting all Kubernetes monitoring resources in Kubernetes cluster "test-6282120716615680" 2023-10-05T11:33: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.
[flows] › flow/pg-operator.spec.ts:29:7 › Everest CLI install operators › install only postgresql-operator: cli-tests/tests/flow/pg-operator.spec.ts#L74
1) [flows] › flow/pg-operator.spec.ts:29:7 › Everest CLI install operators › install only postgresql-operator › re-run everest install operators command TypeError: restartedOperator.getStdoutLines is not a function 72 | await restartedOperator.assertSuccess(); 73 | > 74 | expect(operator.getStdOutLines()[0]).not.toEqual(restartedOperator.getStdoutLines()[0]); | ^ 75 | await out.assertSuccess(); 76 | await out.outErrContainsNormalizedMany([ 77 | 'percona-xtradb-cluster-operator operator has been installed', at /home/runner/work/percona-everest-cli/percona-everest-cli/cli-tests/tests/flow/pg-operator.spec.ts:74:74 at /home/runner/work/percona-everest-cli/percona-everest-cli/cli-tests/tests/flow/pg-operator.spec.ts:64:5
CLI tests (test-pg-operator) / CLI test-pg-operator
Process completed 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 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-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.6m
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.9m
Slow Test: cli-tests/[flows] › flow/all-operators.spec.ts#L1
cli-tests/[flows] › flow/all-operators.spec.ts took 3.1m
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 2.5m
🎭 Playwright Run Summary
11 passed (3.3s)
🎭 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 failed [flows] › flow/all-operators.spec.ts:29:7 › Everest CLI install operators › install all operators
🎭 Playwright Run Summary
1 failed [flows] › flow/pg-operator.spec.ts:29:7 › Everest CLI install operators › install only postgresql-operator

Artifacts

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