Closed davidkyle closed 1 year ago
Pinging @elastic/es-core-infra (Team:Core/Infra)
I am hitting this issue locally while running the following YAML test
./gradlew ':x-pack:plugin:ilm:qa:multi-node:javaRestTest' --tests "org.elasticsearch.xpack.ilm.actions.DownsampleActionIT.testRollupIndex" -Dtests.seed=87E7B73A4FA3E50A -Dtests.locale=pl-PL -Dtests.timezone=Asia/Qatar
I am running it to try to reproduce a CI test failure before trying to mute the test.
I fixed the issue locally applying the following change (suggested by @pgomulka)
diff --git a/libs/preallocate/src/main/java/module-info.java b/libs/preallocate/src/main/java/module-info.java
index 1eb89daa607..89c85d95ab2 100644
--- a/libs/preallocate/src/main/java/module-info.java
+++ b/libs/preallocate/src/main/java/module-info.java
@@ -11,7 +11,7 @@ module org.elasticsearch.preallocate {
requires org.elasticsearch.logging;
requires com.sun.jna;
- exports org.elasticsearch.preallocate to org.elasticsearch.blobcache;
+ exports org.elasticsearch.preallocate to org.elasticsearch.blobcache, com.sun.jna;
Elasticsearch Version
8.8.0-SNAPSHOT
Installed Plugins
No response
Java Version
bundled
OS Version
macOS 13.3
Problem Description
When running the Yaml rest tests on macOS the Elasticsearch node fails to start.
And the last 2 log messages.
If Elasticsearch is started with
./gradlew run
then the error does not occur - because thepre-allocating cache file
event is not triggeredPossibly related to #94884
Steps to Reproduce
Run a test:
Logs (if relevant)
When running the Yaml rest test
And the log for a successful start using
./gradlew run