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

EVEREST-504 Telemetry opt out #617

EVEREST-504 Telemetry opt out

EVEREST-504 Telemetry opt out #617

Triggered via pull request October 17, 2023 09:41
Status Failure
Total duration 7m 44s
Artifacts 1
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
6m 40s
CLI Integration Tests
Matrix: Check
Matrix: CLI tests
Matrix: Tests
Fit to window
Zoom out
Zoom in

Annotations

18 errors, 12 warnings, and 4 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/list.go#L26
`newListCmd` is unused (deadcode)
Check (1.21.x, false): commands/provision.go#L26
`newProvisionCmd` is unused (deadcode)
[flows] › flow/pg-operator.spec.ts:29:7 › Everest CLI install operators › install only postgresql-operator: cli-tests/support/output.ts#L36
1) [flows] › flow/pg-operator.spec.ts:29:7 › Everest CLI install operators › install only postgresql-operator › run everest install operators command › Verify "../bin/everest install operators --operator.mongodb=false --operator.postgresql=true --operator.xtradb-cluster=false --backup.enable=0 --monitoring.enable=0 --name=test-2742748899704832 --skip-wizard" command executed successfully Error: "../bin/everest install operators --operator.mongodb=false --operator.postgresql=true --operator.xtradb-cluster=false --backup.enable=0 --monitoring.enable=0 --name=test-2742748899704832 --skip-wizard" expected to exit with 0! Error: "2023-10-17T09:45:45Z info install/operators.go:244 Checking connection to Everest {"component": "install/operators"} 2023-10-17T09:45:45Z info install/operators.go:665 Creating namespace percona-everest {"component": "install/operators"} 2023-10-17T09:45:45Z info install/operators.go:671 Namespace percona-everest has been created {"component": "install/operators"} 2023-10-17T09:45:45Z info install/operators.go:677 Started provisioning the cluster {"component": "install/operators"} 2023-10-17T09:45:45Z info install/operators.go:697 Installing Operator Lifecycle Manager {"component": "install/operators"} 2023-10-17T09:46:05Z info install/operators.go:702 OLM has been installed {"component": "install/operators"} 2023-10-17T09:46:05Z info install/operators.go:703 Installing Percona OLM Catalog {"component": "install/operators"} 2023-10-17T09:46:51Z info install/operators.go:708 Percona OLM Catalog has been installed {"component": "install/operators"} 2023-10-17T09:46:51Z info install/operators.go:763 Installing percona-postgresql-operator operator {"component": "install/operators"} 2023-10-17T09:47:11Z info install/operators.go:779 percona-postgresql-operator operator has been installed {"component": "install/operators"} 2023-10-17T09:47:11Z info install/operators.go:763 Installing everest-operator operator {"component": "install/operators"} 2023-10-17T09:47:47Z info install/operators.go:779 everest-operator operator has been installed {"component": "install/operators"} 2023-10-17T09:47:47Z error output/command.go:65 multiple instances of everest-operator found 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/pg-operator.spec.ts:51:17 at /home/runner/work/percona-everest-cli/percona-everest-cli/cli-tests/tests/flow
CLI tests (test-pg-operator) / CLI test-pg-operator
Process completed with exit code 2.
CLI Integration Tests
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#L63
1) [flows] › flow/all-operators.spec.ts:29:7 › Everest CLI install operators › install all operators › disable telemetry Error: Stdout does not contain '- name: DISABLE_TELEMETRY value: \"false\"'! Expected substring: "- name: DISABLE_TELEMETRY value: \\\"false\\\"" Received string: "apiVersion: apps/v1 kind: Deployment metadata: annotations: deployment.kubernetes.io/revision: \"1\" creationTimestamp: \"2023-10-17T09:46:45Z\" generation: 1 labels: olm.deployment-spec-hash: 67dc48c5dd olm.owner: percona-xtradb-cluster-operator.v1.13.0 olm.owner.kind: ClusterServiceVersion olm.owner.namespace: percona-everest operators.coreos.com/percona-xtradb-cluster-operator.percona-everest: \"\" name: percona-xtradb-cluster-operator namespace: percona-everest ownerReferences: - apiVersion: operators.coreos.com/v1alpha1 blockOwnerDeletion: false controller: false kind: ClusterServiceVersion name: percona-xtradb-cluster-operator.v1.13.0 uid: 7b0198b9-6283-4722-9dc9-e7a8cec76269 resourceVersion: \"803\" uid: 76f7414e-88a9-4cda-bfd2-6d8d4adaca98 spec: progressDeadlineSeconds: 600 replicas: 1 revisionHistoryLimit: 1 selector: matchLabels: app.kubernetes.io/component: operator app.kubernetes.io/instance: percona-xtradb-cluster-operator app.kubernetes.io/name: percona-xtradb-cluster-operator app.kubernetes.io/part-of: percona-xtradb-cluster-operator strategy: rollingUpdate: maxSurge: 25% maxUnavailable: 25% type: RollingUpdate template: metadata: annotations: alm-examples: |- [ { \"apiVersion\": \"pxc.percona.com/v1\", \"kind\": \"PerconaXtraDBCluster\", \"metadata\": { \"name\": \"cluster1\", \"finalizers\": [ \"delete-pxc-pods-in-order\" ] }, \"spec\": { \"crVersion\": \"1.13.0\", \"allowUnsafeConfigurations\": false, \"updateStrategy\": \"SmartUpdate\", \"upgradeOptions\": { \"versionServiceEndpoint\": \"https://check.percona.com\", \"apply\": \"disabled\", \"schedule\": \"0 4 * * *\" }, \"pxc\": { \"size\": 3, \"image\": \"percona/percona-xtradb-cluster:8.0.32-24.2\", \"autoRecovery\": true, \"resources\": { \"requests\": { \"memory\": \"1G\", \"cpu\": \"600m\" } }, \"affinity\": { \"antiAffinityTopologyKey\": \"kubernetes.io/hostname\" }, \"podDisruptionBudget\": { \"maxUnavailable\": 1 }, \"volumeSpec\": { \"persistentVolumeClaim\": { \"resources\": { \"requests\": { \"storage\": \"6G\" } } } }, \"gracePeriod\": 600 }, \"haproxy\": { \"enabled\": true, \"size\": 3, \"image\": \"percona/percona-xtradb-cluster-operator:1.13.0-haproxy\", \"resources\": { \"requests\": { \"memory\": \"1G\", \"cpu\": \"600m\" } }, \"affinity\": { \"antiAffinityTopologyKey\": \"kubernetes.io/hostname\" }, \"podDisruptionBudget\": { \"maxUnavailable\": 1 }, \"gracePeriod\": 30 }, \"proxysql\": { \"enabled\": false, \"size\": 3, \"image\": \"percona/percona-xtradb-cluster-operator:1.13.0-proxysql\", \"resources\": { \"requests\": { \"memory\": \"1G\", \"cpu\": \"600m\" } }, \"affinity\": { \"antiAffinityTopologyKey\": \"kubernetes.io/hostname\" }, \"volumeSpec\": { \"persistentVolumeClaim\": { \"resources\": { \"requests\": { \"storage\": \"2G\" } } } }, \"podDisruptionBudget\": { \"maxUnavailable\": 1 }, \"gracePeriod\": 30 }, \"logcollector\": { \"enabled\": true, \"image\": \"percona/percona-xtradb-cluster-operator:1.13.0-logcollector\", \"resources\": { \"requests\": { \"memory\": \"100M\", \"cpu\": \"200m\" } } }, \"
[flows] › flow/all-operators.spec.ts:29:7 › Everest CLI install operators › install all operators: cli-tests/support/output.ts#L70
1) [flows] › flow/all-operators.spec.ts:29:7 › Everest CLI install operators › install all operators › disable telemetry Error: 'Contains all elements' failed with 1 error(s): Stdout does not contain '- name: DISABLE_TELEMETRY Expected length: 0 Received length: 1 Received array: [[Object]] at ../support/output.ts:70 68 | test.info().errors, 69 | `'Contains all elements' failed with ${test.info().errors.length} error(s):\n${this.getErrors()}`, > 70 | ).toHaveLength(0); | ^ 71 | } 72 | 73 | async outErrContainsNormalizedMany(expectedValues: string[]) { at Output.outContainsNormalizedMany (/home/runner/work/percona-everest-cli/percona-everest-cli/cli-tests/support/output.ts:70:7) at /home/runner/work/percona-everest-cli/percona-everest-cli/cli-tests/tests/flow/all-operators.spec.ts:78:7 at /home/runner/work/percona-everest-cli/percona-everest-cli/cli-tests/tests/flow/all-operators.spec.ts:74:5
CLI tests (test-all-operators) / CLI test-all-operators
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
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-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.7m
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.6m
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
Slow Test: cli-tests/[flows] › flow/all-operators.spec.ts#L1
cli-tests/[flows] › flow/all-operators.spec.ts took 3.5m
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-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.0m
🎭 Playwright Run Summary
1 failed [flows] › flow/pg-operator.spec.ts:29:7 › Everest CLI install operators › install only postgresql-operator
🎭 Playwright Run Summary
1 passed (2.6m)
🎭 Playwright Run Summary
1 failed [flows] › flow/all-operators.spec.ts:29:7 › Everest CLI install operators › install all operators
🎭 Playwright Run Summary
1 passed (3.1m)

Artifacts

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