Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CI] S3RepositoryThirdPartyTests classMethod failing #102532

Closed
breskeby opened this issue Nov 23, 2023 · 4 comments
Closed

[CI] S3RepositoryThirdPartyTests classMethod failing #102532

breskeby opened this issue Nov 23, 2023 · 4 comments
Assignees
Labels
:Delivery/Build Build or test infrastructure low-risk An open issue or test failure that is a low risk to future releases Team:Delivery Meta label for Delivery team >test-failure Triaged test failures from CI

Comments

@breskeby
Copy link
Contributor

Build scan:
https://gradle-enterprise.elastic.co/s/yuc25bzk2n7og/tests/:modules:repository-s3:s3ThirdPartyTest/org.elasticsearch.repositories.s3.S3RepositoryThirdPartyTests

Reproduction line:

null

Applicable branches:
main

Reproduces locally?:
No

Failure history:
https://es-delivery-stats.elastic.dev/app/dashboards#/view/dcec9e60-72ac-11ee-8f39-55975ded9e63?_g=(refreshInterval:(pause:!t,value:60000),time:(from:now-7d%2Fd,to:now))&_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.s3.S3RepositoryThirdPartyTests'),title:Suite,width:medium),grow:!t,order:1,type:optionsListControl,width:medium))))

Failure excerpt:

java.lang.IllegalStateException: Could not find a valid Docker environment. Please see logs and check configuration

  at __randomizedtesting.SeedInfo.seed([64941C3EF7B0AA94]:0)
  at org.testcontainers.dockerclient.DockerClientProviderStrategy.lambda$getFirstValidStrategy$7(DockerClientProviderStrategy.java:277)
  at java.util.Optional.orElseThrow(Optional.java:403)
  at org.testcontainers.dockerclient.DockerClientProviderStrategy.getFirstValidStrategy(DockerClientProviderStrategy.java:268)
  at org.testcontainers.DockerClientFactory.getOrInitializeStrategy(DockerClientFactory.java:152)
  at org.testcontainers.DockerClientFactory.client(DockerClientFactory.java:194)
  at org.testcontainers.DockerClientFactory$1.getDockerClient(DockerClientFactory.java:106)
  at com.github.dockerjava.api.DockerClientDelegate.authConfig(DockerClientDelegate.java:109)
  at org.testcontainers.containers.GenericContainer.start(GenericContainer.java:332)
  at org.elasticsearch.test.fixtures.minio.MinioTestContainer.start(MinioTestContainer.java:44)
  at org.testcontainers.containers.GenericContainer.starting(GenericContainer.java:1085)
  at org.testcontainers.containers.FailureDetectingExternalResource$1.evaluate(FailureDetectingExternalResource.java:28)
  at org.apache.lucene.tests.util.AbstractBeforeAfterRule$1.evaluate(AbstractBeforeAfterRule.java:43)
  at com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
  at org.apache.lucene.tests.util.TestRuleStoreClassName$1.evaluate(TestRuleStoreClassName.java:38)
  at com.carrotsearch.randomizedtesting.rules.NoShadowingOrOverridesOnMethodsRule$1.evaluate(NoShadowingOrOverridesOnMethodsRule.java:40)
  at com.carrotsearch.randomizedtesting.rules.NoShadowingOrOverridesOnMethodsRule$1.evaluate(NoShadowingOrOverridesOnMethodsRule.java:40)
  at com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
  at com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
  at org.apache.lucene.tests.util.TestRuleAssertionsRequired$1.evaluate(TestRuleAssertionsRequired.java:53)
  at org.apache.lucene.tests.util.AbstractBeforeAfterRule$1.evaluate(AbstractBeforeAfterRule.java:43)
  at org.apache.lucene.tests.util.TestRuleMarkFailure$1.evaluate(TestRuleMarkFailure.java:44)
  at org.apache.lucene.tests.util.TestRuleIgnoreAfterMaxFailures$1.evaluate(TestRuleIgnoreAfterMaxFailures.java:60)
  at org.apache.lucene.tests.util.TestRuleIgnoreTestSuites$1.evaluate(TestRuleIgnoreTestSuites.java:47)
  at com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
  at com.carrotsearch.randomizedtesting.ThreadLeakControl$StatementRunner.run(ThreadLeakControl.java:390)
  at com.carrotsearch.randomizedtesting.ThreadLeakControl.lambda$forkTimeoutingTask$0(ThreadLeakControl.java:850)
  at java.lang.Thread.run(Thread.java:1583)

@breskeby breskeby added :Delivery/Build Build or test infrastructure >test-failure Triaged test failures from CI labels Nov 23, 2023
@elasticsearchmachine elasticsearchmachine added blocker Team:Delivery Meta label for Delivery team labels Nov 23, 2023
@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/es-delivery (Team:Delivery)

@breskeby
Copy link
Contributor Author

We need to adjust our docker checks. Seems we have some environments that do not support docker but are not listed in .ci/dockerOnLinuxExclusions

timgrein pushed a commit to timgrein/elasticsearch that referenced this issue Nov 30, 2023
For now we probe ddocker functionality when using minio testcontainer.
We need to adjust our docker availability matrix.

Should mute tests and address elastic#102532
timgrein pushed a commit to timgrein/elasticsearch that referenced this issue Nov 30, 2023
@mark-vieira mark-vieira added low-risk An open issue or test failure that is a low risk to future releases and removed blocker labels Dec 6, 2023
@mark-vieira
Copy link
Contributor

Flagged this as low-risk since this is just failing on machines without docker. @breskeby I think you have resolved all instances of this, no?

@breskeby
Copy link
Contributor Author

breskeby commented Dec 6, 2023

This should have been ironed out by now as we verify the docker environment for our test container setup before running the tests

@breskeby breskeby closed this as completed Dec 6, 2023
2lambda123 pushed a commit to 2lambda123/elastic-elasticsearch that referenced this issue May 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:Delivery/Build Build or test infrastructure low-risk An open issue or test failure that is a low risk to future releases Team:Delivery Meta label for Delivery team >test-failure Triaged test failures from CI
Projects
None yet
Development

No branches or pull requests

3 participants