Skip to content

E2E test Cluster_UUID_should_have_been_preserved is flaky #2318

@sebgl

Description

@sebgl

This happens fairly often, for any mutation where we check the ClusterUUID when done:

    --- FAIL: TestMutationMdiToDedicated/Cluster_UUID_should_have_been_preserved (64.35s)
        cluster_uuid.go:58: 
            	Error Trace:	cluster_uuid.go:58
            	Error:      	Received unexpected error:
            	            	Get https://test-mutation-mdi-to-dedicated-9j57-es-http.e2e-hbq8i-mercury.svc:9200/: dial tcp 10.91.240.2:9200: connect: no route to host
            	Test:       	TestMutationMdiToDedicated/Cluster_UUID_should_have_been_preserved

We do check the ClusterUUID in other places of the code, but we wrap the code in a test.Eventually.
Here we don't, because in theory if the mutation is over we should be able to reach the cluster.
dial tcp 10.91.240.2:9200: connect: no route to host looks like we're trying to request a Pod which doesn't exist anymore (was removed/replaced during the mutation).

We also get some errors like dial tcp 10.112.0.26:9200: connect: connection refused .

I was hoping #2233 would fix it but it looks like it's not enough.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions