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

Merge

Merge #589

Triggered via push October 12, 2023 16:44
Status Failure
Total duration 8m 20s
Artifacts 1
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

ci.yml

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

Annotations

20 errors, 10 warnings, and 3 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
CLI tests (test-pg-operator) / CLI test-pg-operator
SyntaxError: /home/runner/work/percona-everest-cli/percona-everest-cli/cli-tests/tests/flow/pg-operator.spec.ts: Identifier 'out' has already been declared. (76:12) 74 | 75 | expect(operator.getStdOutLines()[0]).not.toEqual(restartedOperator.getStdOutLines()[0]); > 76 | const out = await cli.everestExecSkipWizard( | ^ 77 | `install operators --operator.mongodb=false --operator.postgresql=true --operator.xtradb-cluster=true --backup.enable=0 --monitoring.enable=0 --name=${clusterName}`, 78 | ); 79 | at flow/pg-operator.spec.ts:76 74 | 75 | expect(operator.getStdOutLines()[0]).not.toEqual(restartedOperator.getStdOutLines()[0]); > 76 | const out = await cli.everestExecSkipWizard( | ^ 77 | `install operators --operator.mongodb=false --operator.postgresql=true --operator.xtradb-cluster=true --backup.enable=0 --monitoring.enable=0 --name=${clusterName}`, 78 | ); 79 |
CLI tests (test-pg-operator) / CLI test-pg-operator
Error: No tests found
CLI tests (test-pg-operator) / CLI test-pg-operator
Process completed with exit code 2.
[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 everest install operators command › Verify "../bin/everest install operators --operator.mongodb=true --operator.postgresql=false --operator.xtradb-cluster=false --backup.enable=0 --monitoring.enable=0 --name=test-2017811329187840 --skip-wizard" command executed successfully Error: "../bin/everest install operators --operator.mongodb=true --operator.postgresql=false --operator.xtradb-cluster=false --backup.enable=0 --monitoring.enable=0 --name=test-2017811329187840 --skip-wizard" expected to exit with 0! Error: "2023-10-12T16:48:48Z info install/operators.go:244 Checking connection to Everest {"component": "install/operators"} 2023-10-12T16:48:48Z info install/operators.go:665 Creating namespace percona-everest {"component": "install/operators"} 2023-10-12T16:48:49Z info install/operators.go:671 Namespace percona-everest has been created {"component": "install/operators"} 2023-10-12T16:48:49Z info install/operators.go:677 Started provisioning the cluster {"component": "install/operators"} 2023-10-12T16:48:49Z info install/operators.go:697 Installing Operator Lifecycle Manager {"component": "install/operators"} 2023-10-12T16:49:07Z info install/operators.go:702 OLM has been installed {"component": "install/operators"} 2023-10-12T16:49:07Z info install/operators.go:703 Installing Percona OLM Catalog {"component": "install/operators"} 2023-10-12T16:49:23Z info install/operators.go:708 Percona OLM Catalog has been installed {"component": "install/operators"} 2023-10-12T16:49:23Z info install/operators.go:763 Installing percona-server-mongodb-operator operator {"component": "install/operators"} 2023-10-12T16:49:50Z info install/operators.go:779 percona-server-mongodb-operator operator has been installed {"component": "install/operators"} 2023-10-12T16:49:50Z info install/operators.go:763 Installing everest-operator operator {"component": "install/operators"} 2023-10-12T16:50:16Z info install/operators.go:779 everest-operator operator has been installed {"component": "install/operators"} 2023-10-12T16:51:16Z error output/command.go:65 context deadline exceeded 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/install.NewOperatorsCmd.func1 /home/runner/work/percona-everest-cli/percona-everest-cli/commands/install/operators.go:50 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/tests/flow/mongodb-operator.spec.ts:52:17 at /home/runner/work/percona-everest-cli/percona-everest-cli/cli-tests/tests/flow/mon
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 everest install operators command › Verify "../bin/everest install operators --operator.mongodb=false --operator.postgresql=false --operator.xtradb-cluster=true --backup.enable=0 --monitoring.enable=0 --name=test-3754907238662144 --skip-wizard" command executed successfully Error: "../bin/everest install operators --operator.mongodb=false --operator.postgresql=false --operator.xtradb-cluster=true --backup.enable=0 --monitoring.enable=0 --name=test-3754907238662144 --skip-wizard" expected to exit with 0! Error: "2023-10-12T16:48:57Z info install/operators.go:244 Checking connection to Everest {"component": "install/operators"} 2023-10-12T16:48:57Z info install/operators.go:665 Creating namespace percona-everest {"component": "install/operators"} 2023-10-12T16:48:57Z info install/operators.go:671 Namespace percona-everest has been created {"component": "install/operators"} 2023-10-12T16:48:57Z info install/operators.go:677 Started provisioning the cluster {"component": "install/operators"} 2023-10-12T16:48:57Z info install/operators.go:697 Installing Operator Lifecycle Manager {"component": "install/operators"} 2023-10-12T16:49:18Z info install/operators.go:702 OLM has been installed {"component": "install/operators"} 2023-10-12T16:49:18Z info install/operators.go:703 Installing Percona OLM Catalog {"component": "install/operators"} 2023-10-12T16:49:36Z info install/operators.go:708 Percona OLM Catalog has been installed {"component": "install/operators"} 2023-10-12T16:49:36Z info install/operators.go:763 Installing percona-xtradb-cluster-operator operator {"component": "install/operators"} 2023-10-12T16:49:59Z info install/operators.go:779 percona-xtradb-cluster-operator operator has been installed {"component": "install/operators"} 2023-10-12T16:49:59Z info install/operators.go:763 Installing everest-operator operator {"component": "install/operators"} 2023-10-12T16:50:35Z info install/operators.go:779 everest-operator operator has been installed {"component": "install/operators"} 2023-10-12T16:51:35Z error output/command.go:65 context deadline exceeded 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/install.NewOperatorsCmd.func1 /home/runner/work/percona-everest-cli/percona-everest-cli/commands/install/operators.go:50 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/tests/flow/pxc-operator.spec.ts:52:17 at /home/runner/work/percona-everest-cli/percona-everest-cli/cli-tests/tests/flow/pxc-
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 everest install operators command › Verify "../bin/everest install operators --backup.enable=0 --monitoring.enable=0 --name=test-4689266405801984 --skip-wizard" command executed successfully Error: "../bin/everest install operators --backup.enable=0 --monitoring.enable=0 --name=test-4689266405801984 --skip-wizard" expected to exit with 0! Error: "2023-10-12T16:48:21Z info install/operators.go:244 Checking connection to Everest {"component": "install/operators"} 2023-10-12T16:48:21Z info install/operators.go:665 Creating namespace percona-everest {"component": "install/operators"} 2023-10-12T16:48:22Z info install/operators.go:671 Namespace percona-everest has been created {"component": "install/operators"} 2023-10-12T16:48:22Z info install/operators.go:677 Started provisioning the cluster {"component": "install/operators"} 2023-10-12T16:48:22Z info install/operators.go:697 Installing Operator Lifecycle Manager {"component": "install/operators"} 2023-10-12T16:48:40Z info install/operators.go:702 OLM has been installed {"component": "install/operators"} 2023-10-12T16:48:40Z info install/operators.go:703 Installing Percona OLM Catalog {"component": "install/operators"} 2023-10-12T16:49:24Z info install/operators.go:708 Percona OLM Catalog has been installed {"component": "install/operators"} 2023-10-12T16:49:24Z info install/operators.go:763 Installing percona-xtradb-cluster-operator operator {"component": "install/operators"} 2023-10-12T16:49:39Z info install/operators.go:779 percona-xtradb-cluster-operator operator has been installed {"component": "install/operators"} 2023-10-12T16:49:39Z info install/operators.go:763 Installing percona-server-mongodb-operator operator {"component": "install/operators"} 2023-10-12T16:50:01Z info install/operators.go:779 percona-server-mongodb-operator operator has been installed {"component": "install/operators"} 2023-10-12T16:50:01Z info install/operators.go:763 Installing percona-postgresql-operator operator {"component": "install/operators"} 2023-10-12T16:50:24Z info install/operators.go:779 percona-postgresql-operator operator has been installed {"component": "install/operators"} 2023-10-12T16:50:24Z info install/operators.go:763 Installing everest-operator operator {"component": "install/operators"} 2023-10-12T16:50:50Z info install/operators.go:779 everest-operator operator has been installed {"component": "install/operators"} 2023-10-12T16:51:50Z error output/command.go:65 context deadline exceeded 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/install.NewOperatorsCmd.func1 /home/runner/work/percona-everest-cli/percona-everest-cli/commands/install/operators.go:50 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-cl
CLI tests (test-all-operators) / CLI test-all-operators
Process completed with exit code 2.
CLI Integration Tests
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
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
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
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 3.4m
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 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
🎭 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

Artifacts

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