Skip to content

e2e tests are working only on pristine clusters #355

Closed

Description

The e2e tests are currently working only when executed against a clean cluster.

Steps to reproduce:

  1. minikube start
  2. Run make e2e-tests -- it should pass
  3. Run it again -- it fails already in the smoke tests. In the operator logs, this can be seen:
time="2019-04-03T12:41:29Z" level=error msg="failed to apply the changes" error="no matches for kind \"Elasticsearch\" in version \"logging.openshift.io/v1alpha1\"" execution="2019-04-03 12:41:29.381660248 +0000 UTC" instance=agent-as-sidecar namespace=smoke-smoke-sidecar-1554295279

Interestingly, I see the ES operator deployed, which shouldn't be there for Kubernetes:

$ kubectl get deployments --all-namespaces
NAMESPACE                          NAME                       READY     UP-TO-DATE   AVAILABLE   AGE
kube-system                        coredns                    2/2       2            2           14m
kube-system                        default-http-backend       1/1       1            1           14m
kube-system                        nginx-ingress-controller   1/1       1            1           14m
openshift-logging                  elasticsearch-operator     1/1       1            1           4m24s
smoke-smoke-daemonset-1554295154   jaeger-operator            1/1       1            1           95s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions