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

EVEREST-838 Fix uninstall command

EVEREST-838 Fix uninstall command #1173

Triggered via pull request February 14, 2024 14:03
Status Failure
Total duration 8m 14s
Artifacts 2

ci.yml

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

Annotations

11 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/kubernetes/monitoring_config.go#L26
`monitoringConfigNameLabel` is unused (deadcode)
Check (1.21.x, false): pkg/uninstall/uninstall.go#L92
`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/kubernetes/monitoring_config.go#L26
`monitoringConfigNameLabel` is unused (deadcode)
Check (1.21.x, false): pkg/uninstall/uninstall.go#L92
`if dbsExist` has complex nested blocks (complexity: 6) (nestif)
Check (1.21.x, false)
reviewdog exited with status code: 1
[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-14T14:10:11Z 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.
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-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.5m
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.2m
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.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-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
1 passed (2.6m)
🎭 Playwright Run Summary
6 passed (1.3s)
🎭 Playwright Run Summary
1 passed (3.2m)
🎭 Playwright Run Summary
1 failed [flows] › flow/all-operators.spec.ts:27:7 › Everest CLI install › install all operators ────────
🎭 Playwright Run Summary
1 passed (5.0m)

Artifacts

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