Closed alex-spies closed 5 days ago
Maybe related to https://github.com/elastic/elasticsearch/pull/106228 - @breskeby, what do you think?
Pinging @elastic/es-data-management (Team:Data Management)
For sure.
I blame an encoding issue with random locale within our hdfs setup here. 👀
This is still failing, I think:
https://gradle-enterprise.elastic.co/s/zcpsnl52it4dq https://gradle-enterprise.elastic.co/s/nwb7qhos4d7ce
A failure that seems related and maybe not. https://gradle-enterprise.elastic.co/s/eq543ntjnrl62
org.elasticsearch.repositories.hdfs.SecureHaHdfsFailoverTestSuiteIT > classMethod FAILED
org.testcontainers.containers.ContainerLaunchException: Container startup failed for image docker.elastic.co/elasticsearch-dev/krb5dc-fixture:1.0
at __randomizedtesting.SeedInfo.seed([A9D6E1EA110055B0]:0)
at app//org.testcontainers.containers.GenericContainer.doStart(GenericContainer.java:362)
at app//org.testcontainers.containers.GenericContainer.start(GenericContainer.java:333)
at app//org.elasticsearch.test.fixtures.testcontainers.DockerEnvironmentAwareTestContainer.start(DockerEnvironmentAwareTestContainer.java:68)
at app//org.elasticsearch.test.fixtures.krb5kdc.Krb5kDcContainer.start(Krb5kDcContainer.java:104)
at app//org.testcontainers.containers.GenericContainer.starting(GenericContainer.java:1085)
at app//org.testcontainers.containers.FailureDetectingExternalResource$1.evaluate(FailureDetectingExternalResource.java:28)
at app//org.junit.rules.RunRules.evaluate(RunRules.java:20)
at app//org.apache.lucene.tests.util.AbstractBeforeAfterRule$1.evaluate(AbstractBeforeAfterRule.java:43)
at app//com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
at app//org.apache.lucene.tests.util.TestRuleStoreClassName$1.evaluate(TestRuleStoreClassName.java:38)
at app//com.carrotsearch.randomizedtesting.rules.NoShadowingOrOverridesOnMethodsRule$1.evaluate(NoShadowingOrOverridesOnMethodsRule.java:40)
at app//com.carrotsearch.randomizedtesting.rules.NoShadowingOrOverridesOnMethodsRule$1.evaluate(NoShadowingOrOverridesOnMethodsRule.java:40)
at app//com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
at app//com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
at app//org.apache.lucene.tests.util.TestRuleAssertionsRequired$1.evaluate(TestRuleAssertionsRequired.java:53)
at app//org.apache.lucene.tests.util.AbstractBeforeAfterRule$1.evaluate(AbstractBeforeAfterRule.java:43)
at app//org.apache.lucene.tests.util.TestRuleMarkFailure$1.evaluate(TestRuleMarkFailure.java:44)
at app//org.apache.lucene.tests.util.TestRuleIgnoreAfterMaxFailures$1.evaluate(TestRuleIgnoreAfterMaxFailures.java:60)
at app//org.apache.lucene.tests.util.TestRuleIgnoreTestSuites$1.evaluate(TestRuleIgnoreTestSuites.java:47)
at app//org.junit.rules.RunRules.evaluate(RunRules.java:20)
at app//com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
at app//com.carrotsearch.randomizedtesting.ThreadLeakControl$StatementRunner.run(ThreadLeakControl.java:390)
at app//com.carrotsearch.randomizedtesting.ThreadLeakControl.lambda$forkTimeoutingTask$0(ThreadLeakControl.java:850)
at java.base@22/java.lang.Thread.run(Thread.java:1570)
Caused by:
org.rnorth.ducttape.RetryCountExceededException: Retry limit hit with exception
at app//org.rnorth.ducttape.unreliables.Unreliables.retryUntilSuccess(Unreliables.java:88)
at app//org.testcontainers.containers.GenericContainer.doStart(GenericContainer.java:347)
... 23 more
Caused by:
org.testcontainers.containers.ContainerLaunchException: Could not create/start container
at app//org.testcontainers.containers.GenericContainer.tryStart(GenericContainer.java:566)
at app//org.testcontainers.containers.GenericContainer.lambda$doStart$0(GenericContainer.java:357)
at app//org.rnorth.ducttape.unreliables.Unreliables.retryUntilSuccess(Unreliables.java:81)
... 24 more
Caused by:
org.testcontainers.containers.ContainerLaunchException: Timed out waiting for container port to open (localhost ports: [32776, 32777] should be listening)
at app//org.testcontainers.containers.wait.strategy.HostPortWaitStrategy.waitUntilReady(HostPortWaitStrategy.java:112)
at app//org.testcontainers.containers.wait.strategy.AbstractWaitStrategy.waitUntilReady(AbstractWaitStrategy.java:52)
at app//org.testcontainers.containers.GenericContainer.waitUntilContainerStarted(GenericContainer.java:912)
at app//org.testcontainers.containers.GenericContainer.tryStart(GenericContainer.java:503)
... 26 more
But further down in the logs there is something that might indicate a general connectivity problem, so not sure if this is a red herring or not:
org.gradle.caching.BuildCacheException: Connect to gradle-enterprise.elastic.co:443 [gradle-enterprise.elastic.co/35.188.12.98] failed: Connect timed out
at org.gradle.caching.http.internal.HttpBuildCacheService.wrap(HttpBuildCacheService.java:163)
at org.gradle.caching.http.internal.HttpBuildCacheService.load(HttpBuildCacheService.java:101)
at org.gradle.caching.internal.controller.service.BaseRemoteBuildCacheServiceHandle.loadInner(BaseRemoteBuildCacheServiceHandle.java:113)
at org.gradle.caching.internal.controller.service.OpFiringRemoteBuildCacheServiceHandle$1.run(OpFiringRemoteBuildCacheServiceHandle.java:64)
Happening on SecureHaHdfsFailoverTestSuiteIT too: https://gradle-enterprise.elastic.co/s/7n2uxgpgisjru/tests/task/:plugins:repository-hdfs:javaRestTest/details/org.elasticsearch.repositories.hdfs.SecureHaHdfsFailoverTestSuiteIT?top-execution=1
This issue has been closed because it has been open for too long with no activity.
Any muted tests that were associated with this issue have been unmuted.
If the tests begin failing again, a new issue will be opened, and they may be muted again.
Build scan: https://gradle-enterprise.elastic.co/s/n6mholsfnjtfk/tests/:plugins:repository-hdfs:yamlRestTest/org.elasticsearch.repositories.hdfs.SecureRepositoryHdfsClientYamlTestSuiteIT
Reproduction line:
Applicable branches: main
Reproduces locally?: Didn't try
Failure history: Failure dashboard for
org.elasticsearch.repositories.hdfs.SecureRepositoryHdfsClientYamlTestSuiteIT#classMethod
&_a=(controlGroupInput:(chainingSystem:HIERARCHICAL,controlStyle:twoLine,ignoreParentSettings:(ignoreFilters:!f,ignoreQuery:!f,ignoreTimerange:!f,ignoreValidations:!t),panels:('0c0c9cb8-ccd2-45c6-9b13-96bac4abc542':(explicitInput:(dataViewId:fbbdc689-be23-4b3d-8057-aa402e9ed0c5,enhancements:(),fieldName:task.keyword,grow:!t,id:'0c0c9cb8-ccd2-45c6-9b13-96bac4abc542',searchTechnique:wildcard,selectedOptions:!(),singleSelect:!t,title:'Gradle%20Task',width:medium),grow:!t,order:0,type:optionsListControl,width:small),'144933da-5c1b-4257-a969-7f43455a7901':(explicitInput:(dataViewId:fbbdc689-be23-4b3d-8057-aa402e9ed0c5,enhancements:(),fieldName:name.keyword,grow:!t,id:'144933da-5c1b-4257-a969-7f43455a7901',searchTechnique:wildcard,selectedOptions:!('classMethod'),title:Test,width:medium),grow:!t,order:2,type:optionsListControl,width:medium),'4e6ad9d6-6fdc-4fcc-bf1a-aa6ca79e0850':(explicitInput:(dataViewId:fbbdc689-be23-4b3d-8057-aa402e9ed0c5,enhancements:(),fieldName:className.keyword,grow:!t,id:'4e6ad9d6-6fdc-4fcc-bf1a-aa6ca79e0850',searchTechnique:wildcard,selectedOptions:!('org.elasticsearch.repositories.hdfs.SecureRepositoryHdfsClientYamlTestSuiteIT'),title:Suite,width:medium),grow:!t,order:1,type:optionsListControl,width:medium)))))Failure excerpt: