-
Notifications
You must be signed in to change notification settings - Fork 25.8k
TestClustersPluginIT fails with connection errors #37889
Copy link
Copy link
Closed
Labels
:Delivery/BuildBuild or test infrastructureBuild or test infrastructure>test-failureTriaged test failures from CITriaged test failures from CITeam:DeliveryMeta label for Delivery teamMeta label for Delivery team
Description
I haven't been able to reproduce the failures locally. This looks similar to #37218, but the failure mode seems different.
Just today, I've seen this test suite fail in CI ~10 times. The test seems to fail on master as well as 6.x.
Link to the build: https://elasticsearch-ci.elastic.co/job/elastic+elasticsearch+6.x+intake/1195
Relevant excerpt from the logs:
Caused by: java.lang.IllegalStateException: Connection attempt to node{::myTestCluster} failed
at org.elasticsearch.gradle.testclusters.ElasticsearchNode.lambda$waitForUri$2(ElasticsearchNode.java:163)
at org.elasticsearch.gradle.testclusters.ElasticsearchNode.lambda$waitForAllConditions$7(ElasticsearchNode.java:414)
... 74 more
Suppressed: java.lang.IllegalStateException: Connection attempt to node{::myTestCluster} failed
at org.elasticsearch.gradle.testclusters.ElasticsearchNode.lambda$waitForUri$2(ElasticsearchNode.java:163)
at org.elasticsearch.gradle.testclusters.ElasticsearchNode.lambda$waitForAllConditions$7(ElasticsearchNode.java:414)
at java.base/java.util.LinkedHashMap.forEach(LinkedHashMap.java:684)
at org.elasticsearch.gradle.testclusters.ElasticsearchNode.waitForAllConditions(ElasticsearchNode.java:401)
at org.elasticsearch.gradle.testclusters.ElasticsearchNode.getHttpSocketURI(ElasticsearchNode.java:229)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:104)
at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:326)
at org.codehaus.groovy.runtime.metaclass.MethodMetaProperty$GetBeanMethodMetaProperty.getProperty(MethodMetaProperty.java:76)
at org.codehaus.groovy.runtime.callsite.GetEffectivePojoPropertySite.getProperty(GetEffectivePojoPropertySite.java:63)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callGetProperty(AbstractCallSite.java:298)
at build_2kot767fmb696rtvvmg8tn437$_run_closure1$_closure11$_closure16.doCall(/var/lib/jenkins/workspace/elastic+elasticsearch+6.x+intake/buildSrc/src/testKit/testclusters/build.gradle:34)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:104)
at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:326)
at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:264)
at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1041)
at groovy.lang.Closure.call(Closure.java:411)
at groovy.lang.Closure.call(Closure.java:427)
at org.gradle.api.internal.AbstractTask$ClosureTaskAction.execute(AbstractTask.java:647)
at org.gradle.api.internal.AbstractTask$ClosureTaskAction.execute(AbstractTask.java:620)
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter$2.run(ExecuteActionsTaskExecuter.java:284)
at
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
:Delivery/BuildBuild or test infrastructureBuild or test infrastructure>test-failureTriaged test failures from CITriaged test failures from CITeam:DeliveryMeta label for Delivery teamMeta label for Delivery team
Type
Fields
Give feedbackNo fields configured for issues without a type.