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

EVEREST-843 Comma-separated namespaces flag #1167

EVEREST-843 Comma-separated namespaces flag

EVEREST-843 Comma-separated namespaces flag #1167

Triggered via pull request February 14, 2024 13:31
Status Failure
Total duration 7m 23s
Artifacts 1

ci.yml

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

Annotations

13 errors, 17 warnings, and 4 notices
CLI Integration Tests
Process completed with exit code 2.
[flows] › flow/pg-operator.spec.ts:27:7 › Everest CLI install › install only postgresql-operator: cli-tests/support/output.ts#L36
1) [flows] › flow/pg-operator.spec.ts:27:7 › Everest CLI install › install only postgresql-operator › run everest install command › Verify "../bin/everest install --operator.mongodb=false --operator.postgresql=true --operator.xtradb-cluster=false --namespace=everest-operators --skip-wizard" command executed successfully Error: "../bin/everest install --operator.mongodb=false --operator.postgresql=true --operator.xtradb-cluster=false --namespace=everest-operators --skip-wizard" expected to exit with 0! Error: "Error: unknown flag: --namespace Usage: everestctl install [flags] Examples: everestctl install --namespaces dev,staging,prod --operator.mongodb=true --operator.postgresql=true --operator.xtradb-cluster=true --skip-wizard Flags: -h, --help help for install -k, --kubeconfig string Path to a kubeconfig (default "~/.kube/config") --namespaces string Comma-separated namespaces list Percona Everest can manage --operator.mongodb Install MongoDB operator (default true) --operator.postgresql Install PostgreSQL operator (default true) --operator.xtradb-cluster Install XtraDB Cluster operator (default true) --skip-wizard Skip installation wizard Global Flags: --json Set output type to JSON -v, --verbose Enable verbose mode " 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/pg-operator.spec.ts:54:17 at /home/runner/work/percona-everest-cli/percona-everest-cli/cli-tests/tests/flow/pg-operator.spec.ts:49:5
CLI tests (test-pg-operator) / CLI test-pg-operator
Process completed with exit code 2.
[flows] › flow/pxc-operator.spec.ts:27:7 › Everest CLI install › install only xtradb-cluster-operator: cli-tests/support/output.ts#L36
1) [flows] › flow/pxc-operator.spec.ts:27:7 › Everest CLI install › install only xtradb-cluster-operator › run everest install command › Verify "../bin/everest install --operator.mongodb=false --operator.postgresql=false --operator.xtradb-cluster=true --namespace=everest-operators --skip-wizard" command executed successfully Error: "../bin/everest install --operator.mongodb=false --operator.postgresql=false --operator.xtradb-cluster=true --namespace=everest-operators --skip-wizard" expected to exit with 0! Error: "Error: unknown flag: --namespace Usage: everestctl install [flags] Examples: everestctl install --namespaces dev,staging,prod --operator.mongodb=true --operator.postgresql=true --operator.xtradb-cluster=true --skip-wizard Flags: -h, --help help for install -k, --kubeconfig string Path to a kubeconfig (default "~/.kube/config") --namespaces string Comma-separated namespaces list Percona Everest can manage --operator.mongodb Install MongoDB operator (default true) --operator.postgresql Install PostgreSQL operator (default true) --operator.xtradb-cluster Install XtraDB Cluster operator (default true) --skip-wizard Skip installation wizard Global Flags: --json Set output type to JSON -v, --verbose Enable verbose mode " 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/pxc-operator.spec.ts:55:17 at /home/runner/work/percona-everest-cli/percona-everest-cli/cli-tests/tests/flow/pxc-operator.spec.ts:50:5
CLI tests (test-pxc-operator) / CLI test-pxc-operator
Process completed with exit code 2.
Check (1.21.x, false): pkg/install/install.go#L114
exported method `Config.NamespacesList` should have comment or be unexported (golint)
Check (1.21.x, false): pkg/upgrade/upgrade.go#L58
exported method `Config.NamespacesList` should have comment or be unexported (golint)
Check (1.21.x, false): pkg/install/install.go#L269
fmt.Sprintf can be replaced with string addition (perfsprint)
Check (1.21.x, false): pkg/install/install.go#L114
exported method `Config.NamespacesList` should have comment or be unexported (golint)
Check (1.21.x, false): pkg/upgrade/upgrade.go#L58
exported method `Config.NamespacesList` should have comment or be unexported (golint)
Check (1.21.x, false)
reviewdog exited with status code: 1
[flows] › flow/mongodb-operator.spec.ts:27:7 › Everest CLI install › install only mongodb-operator: cli-tests/support/output.ts#L36
1) [flows] › flow/mongodb-operator.spec.ts:27:7 › Everest CLI install › install only mongodb-operator › run everest install command › Verify "../bin/everest install --operator.mongodb=true --operator.postgresql=false --operator.xtradb-cluster=false --namespace=everest-operators --skip-wizard" command executed successfully Error: "../bin/everest install --operator.mongodb=true --operator.postgresql=false --operator.xtradb-cluster=false --namespace=everest-operators --skip-wizard" expected to exit with 0! Error: "Error: unknown flag: --namespace Usage: everestctl install [flags] Examples: everestctl install --namespaces dev,staging,prod --operator.mongodb=true --operator.postgresql=true --operator.xtradb-cluster=true --skip-wizard Flags: -h, --help help for install -k, --kubeconfig string Path to a kubeconfig (default "~/.kube/config") --namespaces string Comma-separated namespaces list Percona Everest can manage --operator.mongodb Install MongoDB operator (default true) --operator.postgresql Install PostgreSQL operator (default true) --operator.xtradb-cluster Install XtraDB Cluster operator (default true) --skip-wizard Skip installation wizard Global Flags: --json Set output type to JSON -v, --verbose Enable verbose mode " 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/mongodb-operator.spec.ts:55:17 at /home/runner/work/percona-everest-cli/percona-everest-cli/cli-tests/tests/flow/mongodb-operator.spec.ts:50:5
CLI tests (test-mongo-operator) / CLI test-mongo-operator
Process completed with exit code 2.
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
No files were found with the provided path: cli-tests/test-report. No artifacts will be uploaded.
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
Tests (1.21.x)
Codecov: Failed to properly create commit: The process '/home/runner/work/_actions/codecov/codecov-action/v4/dist/codecov' failed with exit code 1
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 39.3s
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 40.1s
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
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 40.1s
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 3.6m
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/pg-operator.spec.ts:27:7 › Everest CLI install › install only postgresql-operator
🎭 Playwright Run Summary
1 failed [flows] › flow/pxc-operator.spec.ts:27:7 › Everest CLI install › install only xtradb-cluster-operator
🎭 Playwright Run Summary
1 failed [flows] › flow/mongodb-operator.spec.ts:27:7 › Everest CLI install › install only mongodb-operator
🎭 Playwright Run Summary
1 passed (3.7m)

Artifacts

Produced during runtime
Name Size
test-delete-cluster-tests-report Expired
461 KB