Skip to content

[BUG] e2e failed #348

@andyli029

Description

@andyli029

Describe the problem

$ make e2e-local
=== RUN   TestE2E
STEP: Creating framework with timeout: 1200
Running Suite: MySQL Operator E2E Suite
=======================================
Random Seed: 1640748419 - Will randomize all specs
Will run 1 of 1 specs

STEP: Install operator
Error: rendered manifests contain a resource that already exists. Unable to continue with install: ClusterRole "mysql-operator-metrics-reader" in namespace "" exists and cannot be imported into the current release: invalid ownership metadata; annotation validation error: key "meta.helm.sh/release-name" must equal "yeshqc": current value is "demo"
Failure [0.972 seconds]
[BeforeSuite] BeforeSuite
/root/go/src/github.com/radondb/radondb-mysql-kubernetes/test/e2e/e2e.go:49

  Expected success, but got an error:
      <*exec.ExitError | 0xc0003a8000>: {
....
  /root/go/src/github.com/radondb/radondb-mysql-kubernetes/test/e2e/framework/helm.go:40
------------------------------
STEP: Remove operator release
Error: uninstall: Release not loaded: yeshqc: release: not found

Failure [0.000 seconds]
[AfterSuite] AfterSuite
/root/go/src/github.com/radondb/radondb-mysql-kubernetes/test/e2e/e2e.go:83

  Expected success, but got an error:
      <*exec.ExitError | 0xc000568040>: {
....
  /root/go/src/github.com/radondb/radondb-mysql-kubernetes/test/e2e/framework/helm.go:53
------------------------------

Ran 1 of 0 Specs in 1.043 seconds
FAIL! -- 0 Passed | 1 Failed | 0 Pending | 0 Skipped

To Reproduce

Expected behavior

Environment:

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions