From 2b86e9b0b9c0138da53e34419a97f63ef092c17c Mon Sep 17 00:00:00 2001 From: ncordon Date: Wed, 1 Apr 2026 14:41:31 +0200 Subject: [PATCH 1/2] ESQL: Solves CsvIT stats*WithOverFlowRow failing --- muted-tests.yml | 5 ----- x-pack/plugin/esql/build.gradle | 5 +++++ 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/muted-tests.yml b/muted-tests.yml index 33a034ef31643..bc5229536e2e9 100644 --- a/muted-tests.yml +++ b/muted-tests.yml @@ -361,11 +361,6 @@ tests: - class: org.elasticsearch.xpack.ml.integration.DatafeedJobsIT method: testDatafeedTimingStats_DatafeedRecreated issue: https://github.com/elastic/elasticsearch/issues/138348 -- class: org.elasticsearch.xpack.esql.CsvIT - methods: - - "test {csv-spec:stats.*Overflow*}" - - "test {csv-spec:k8s-timeseries-sum-over-time.*Overflow*}" - issue: https://github.com/elastic/elasticsearch/issues/145415 - class: org.elasticsearch.xpack.esql.CsvTests method: test {csv-spec:unsigned_long.evalNullEqualsUnsignedLong} issue: https://github.com/elastic/elasticsearch/issues/145426 diff --git a/x-pack/plugin/esql/build.gradle b/x-pack/plugin/esql/build.gradle index 275602d72d080..9bec8cdd71f3a 100644 --- a/x-pack/plugin/esql/build.gradle +++ b/x-pack/plugin/esql/build.gradle @@ -314,6 +314,11 @@ tasks.named('internalClusterTestTestingConventions').configure { // This is similar to the test task above, but needed for the LookupJoinTypesIT which runs in the internalClusterTest task // and generates a types table for the LOOKUP JOIN command. It is possible in future we might have move tests that do this. tasks.named("internalClusterTest").configure { + // prevent empty stacktraces on JDK 25 for intrinsic Math.*Exact invocations + // https://bugs.openjdk.org/browse/JDK-8367990 + // https://github.com/elastic/elasticsearch/issues/135009 + jvmArgs '-XX:-OmitStackTraceInFastThrow' + def injected = project.objects.newInstance(Injected) File snippetsFolder = file("build/testrun/internalClusterTest/temp/esql/_snippets") def snippetsDocFolder = file("${rootDir}/docs/reference/query-languages/esql/_snippets") From e3f31381cef2252bb98d991231ece58a40c52ebb Mon Sep 17 00:00:00 2001 From: ncordon Date: Wed, 1 Apr 2026 14:49:14 +0200 Subject: [PATCH 2/2] Adds changelog --- docs/changelog/145415.yaml | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 docs/changelog/145415.yaml diff --git a/docs/changelog/145415.yaml b/docs/changelog/145415.yaml new file mode 100644 index 0000000000000..70e115c6c51ae --- /dev/null +++ b/docs/changelog/145415.yaml @@ -0,0 +1,7 @@ +pr: 145415 +summary: "Fix CsvIT overflow tests failing on JDK 25 due to missing OmitStackTraceInFastThrow flag" +area: ES|QL +type: bug +issues: + - 145415 + - 145424