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] VectorTileRestIT class failing #126086

Closed
elasticsearchmachine opened this issue Apr 1, 2025 · 6 comments · Fixed by #126251
Closed

[CI] VectorTileRestIT class failing #126086

elasticsearchmachine opened this issue Apr 1, 2025 · 6 comments · Fixed by #126251
Labels
:Analytics/Geo Indexing, search aggregations of geo points and shapes low-risk An open issue or test failure that is a low risk to future releases Team:Analytics Meta label for analytical engine team (ESQL/Aggs/Geo) >test-failure Triaged test failures from CI

Comments

@elasticsearchmachine
Copy link
Collaborator

elasticsearchmachine commented Apr 1, 2025

Build Scans:

Reproduction Line:

undefined

Applicable branches:
8.x

Reproduces locally?:
N/A

Failure History:
See dashboard

Failure Message:

undefined

Issue Reasons:

  • [8.x] 5 consecutive failures in step release-tests
  • [8.x] 5 failures in class org.elasticsearch.xpack.vectortile.VectorTileRestIT (2.5% fail rate in 199 executions)
  • [8.x] 5 failures in step release-tests (100.0% fail rate in 5 executions)
  • [8.x] 5 failures in pipeline elasticsearch-periodic (100.0% fail rate in 5 executions)

Note:
This issue was created using new test triage automation. Please report issues or feedback to es-delivery.

@elasticsearchmachine elasticsearchmachine added :Analytics/Geo Indexing, search aggregations of geo points and shapes >test-failure Triaged test failures from CI Team:Analytics Meta label for analytical engine team (ESQL/Aggs/Geo) labels Apr 1, 2025
@elasticsearchmachine
Copy link
Collaborator Author

Pinging @elastic/es-analytical-engine (Team:Analytics)

@elasticsearchmachine elasticsearchmachine added the needs:risk Requires assignment of a risk label (low, medium, blocker) label Apr 1, 2025
@iverase
Copy link
Contributor

iverase commented Apr 3, 2025

They are all release test with the following error:

ARNING: java.lang.System::load has been called by org.elasticsearch.nativeaccess.lib.LoaderHelper in an unnamed module (file:/opt/buildkite-agent/builds/bk-agent-prod-gcp-1743611561985056679/elastic/elasticsearch-pull-request/libs/native/build/distributions/elasticsearch-native-9.1.0.jar)
WARNING: Use --enable-native-access=ALL-UNNAMED to avoid a warning for callers in this module
WARNING: Restricted methods will be blocked in a future release unless native access is enabled


VectorTileRestIT > classMethod FAILED
    java.lang.RuntimeException: An error occurred orchestrating test cluster.
        at __randomizedtesting.SeedInfo.seed([1B5055E244EE7403]:0)
        at org.elasticsearch.test.cluster.local.DefaultLocalClusterHandle.execute(DefaultLocalClusterHandle.java:291)
        at org.elasticsearch.test.cluster.local.DefaultLocalClusterHandle.writeUnicastHostsFile(DefaultLocalClusterHandle.java:266)
        at org.elasticsearch.test.cluster.local.DefaultLocalClusterHandle.waitUntilReady(DefaultLocalClusterHandle.java:209)
        at org.elasticsearch.test.cluster.local.DefaultLocalClusterHandle.start(DefaultLocalClusterHandle.java:81)
        at org.elasticsearch.test.cluster.local.DefaultLocalElasticsearchCluster$1.evaluate(DefaultLocalElasticsearchCluster.java:47)
        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 org.junit.rules.RunRules.evaluate(RunRules.java:20)
        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.base/java.lang.Thread.run(Thread.java:1447)

        Caused by:
        java.lang.RuntimeException: Elasticsearch process died while waiting for ports file. See console output for details.
            at org.elasticsearch.test.cluster.local.AbstractLocalClusterFactory$Node.lambda$waitUntilReady$0(AbstractLocalClusterFactory.java:306)
            at org.elasticsearch.test.cluster.util.Retry.lambda$retryUntilTrue$0(Retry.java:29)

Something is preventing the cluster to be formed.

@iverase
Copy link
Contributor

iverase commented Apr 3, 2025

I am able to reproduce the issue with the following command:

 ./gradlew :x-pack:plugin:vector-tile:javaRestTest --tests "org.elasticsearch.xpack.vectortile.VectorTileRestIT"  -Dbuild.snapshot=false -Dlicense.key="x-pack/license-tools/src/test/resources/public.key"

It looks like a build issue:

        Caused by:
        java.nio.file.NoSuchFileException: /Users/ivera/projects/elasticsearch/distribution/archives/integ-test-zip/build/install/elasticsearch-9.1.0-SNAPSHOT
            at java.base/sun.nio.fs.UnixException.translateToIOException(UnixException.java:92)
            at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:106)
            at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:111)
            at java.base/sun.nio.fs.UnixFileAttributeViews$Basic.readAttributes(UnixFileAttributeViews.java:55)
            at java.base/sun.nio.fs.UnixFileSystemProvider.readAttributes(UnixFileSystemProvider.java:161)
            at java.base/java.nio.file.Files.readAttributes(Files.java:1699)
            at java.base/java.nio.file.FileTreeWalker.getAttributes(FileTreeWalker.java:216)
            at java.base/java.nio.file.FileTreeWalker.visit(FileTreeWalker.java:268)
            at java.base/java.nio.file.FileTreeWalker.walk(FileTreeWalker.java:306)
            at java.base/java.nio.file.Files.walkFileTree(Files.java:2533)

@iverase iverase added low-risk An open issue or test failure that is a low risk to future releases and removed needs:risk Requires assignment of a risk label (low, medium, blocker) labels Apr 3, 2025
@iverase
Copy link
Contributor

iverase commented Apr 3, 2025

Related to #124263

@brianseeders
Copy link
Contributor

#124263 has nothing to do with this. That one is related only to tests inside test/external-modules

@iverase
Copy link
Contributor

iverase commented Apr 4, 2025

That one is related only to tests inside test/external-modules

I see, Thanks for fixit it!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:Analytics/Geo Indexing, search aggregations of geo points and shapes low-risk An open issue or test failure that is a low risk to future releases Team:Analytics Meta label for analytical engine team (ESQL/Aggs/Geo) >test-failure Triaged test failures from CI
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants