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

EVEREST-838 Fix uninstall command #1165

EVEREST-838 Fix uninstall command

EVEREST-838 Fix uninstall command #1165

Triggered via pull request February 13, 2024 15:50
Status Failure
Total duration 9m 59s
Artifacts 2

ci.yml

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

Annotations

15 errors, 15 warnings, and 5 notices
Tests (1.21.x)
Process completed with exit code 2.
Check (1.21.x, false): pkg/kubernetes/kubernetes.go#L88
`restartAnnotationKey` is unused (deadcode)
Check (1.21.x, false): pkg/uninstall/uninstall.go#L89
`if dbsExist` has complex nested blocks (complexity: 6) (nestif)
Check (1.21.x, false): pkg/kubernetes/client/client.go#L107
`dbClusterClient` is unused (structcheck)
Check (1.21.x, false): pkg/install/install.go#L262
fmt.Sprintf can be replaced with string addition (perfsprint)
Check (1.21.x, false): pkg/uninstall/uninstall.go#L204
fmt.Errorf can be replaced with errors.New (perfsprint)
Check (1.21.x, false): pkg/uninstall/uninstall.go#L235
fmt.Errorf can be replaced with errors.New (perfsprint)
Check (1.21.x, false): pkg/uninstall/uninstall.go#L287
fmt.Errorf can be replaced with errors.New (perfsprint)
Check (1.21.x, false): pkg/uninstall/uninstall.go#L200
SA1015: using time.Tick leaks the underlying ticker, consider using it only in endless functions, tests and the main package, and use time.NewTicker here (staticcheck)
Check (1.21.x, false): pkg/uninstall/uninstall.go#L231
SA1015: using time.Tick leaks the underlying ticker, consider using it only in endless functions, tests and the main package, and use time.NewTicker here (staticcheck)
Check (1.21.x, false): pkg/uninstall/uninstall.go#L283
SA1015: using time.Tick leaks the underlying ticker, consider using it only in endless functions, tests and the main package, and use time.NewTicker here (staticcheck)
[flows] › flow/all-operators.spec.ts:27:7 › Everest CLI install › install all operators: cli-tests/support/output.ts#L36
1) [flows] › flow/all-operators.spec.ts:27:7 › Everest CLI install › install all operators › disable telemetry › Verify "DISABLE_TELEMETRY=true ../bin/everest upgrade --namespace=everest-all --skip-wizard" command executed successfully Error: "DISABLE_TELEMETRY=true ../bin/everest upgrade --namespace=everest-all --skip-wizard" expected to exit with 0! Error: "2024-02-13T15:59:14Z error output/command.go:58 clusterserviceversions.operators.coreos.com "packageserver" not found github.com/percona/percona-everest-cli/pkg/output.PrintError /home/runner/work/percona-everest-cli/percona-everest-cli/pkg/output/command.go:58 github.com/percona/percona-everest-cli/commands.newUpgradeCmd.func1 /home/runner/work/percona-everest-cli/percona-everest-cli/commands/upgrade.go:49 github.com/spf13/cobra.(*Command).execute /home/runner/go/pkg/mod/github.com/spf13/[email protected]/command.go:987 github.com/spf13/cobra.(*Command).ExecuteC /home/runner/go/pkg/mod/github.com/spf13/[email protected]/command.go:1115 github.com/spf13/cobra.(*Command).Execute /home/runner/go/pkg/mod/github.com/spf13/[email protected]/command.go:1039 main.main /home/runner/work/percona-everest-cli/percona-everest-cli/cmd/everest/main.go:37 runtime.main /opt/hostedtoolcache/go/1.20.14/x64/src/runtime/proc.go:250 " expect(received).toEqual(expected) // deep equality 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/flow/all-operators.spec.ts:77:17 at /home/runner/work/percona-everest-cli/percona-everest-cli/cli-tests/tests/flow/all-operators.spec.ts:65:5
CLI tests (test-all-operators) / CLI test-all-operators
Process completed with exit code 2.
[flows] › flow/pg-operator.spec.ts:27:7 › Everest CLI install › install only postgresql-operator: cli-tests/tests/flow/pg-operator.spec.ts#L1
1) [flows] › flow/pg-operator.spec.ts:27:7 › Everest CLI install › install only postgresql-operator Test timeout of 300000ms exceeded.
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
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: percona-platform/setup-go@v4, percona-platform/cache@v3, helm/[email protected], actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
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
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: percona-platform/setup-go@v4, percona-platform/cache@v3, actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
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 3.1m
CLI tests (test-pxc-operator) / CLI test-pxc-operator
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: percona-platform/setup-go@v4, percona-platform/cache@v3, actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
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 tests (test-all-operators) / CLI test-all-operators
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: percona-platform/setup-go@v4, percona-platform/cache@v3, actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Slow Test: cli-tests/[flows] › flow/all-operators.spec.ts#L1
cli-tests/[flows] › flow/all-operators.spec.ts took 4.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
CLI tests (test-pg-operator) / CLI test-pg-operator
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: percona-platform/setup-go@v4, percona-platform/cache@v3, actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
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 5.0m
🎭 Playwright Run Summary
6 passed (1.3s)
🎭 Playwright Run Summary
1 passed (3.1m)
🎭 Playwright Run Summary
1 passed (2.8m)
🎭 Playwright Run Summary
1 failed [flows] › flow/all-operators.spec.ts:27:7 › Everest CLI install › install all operators ────────
🎭 Playwright Run Summary
1 failed [flows] › flow/pg-operator.spec.ts:27:7 › Everest CLI install › install only postgresql-operator

Artifacts

Produced during runtime
Name Size
cli-tests-report Expired
423 KB
test-delete-cluster-tests-report Expired
462 KB