[
https://issues.apache.org/jira/browse/SOLR-17379?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17868518#comment-17868518
]
Chris M. Hostetter commented on SOLR-17379:
-------------------------------------------
Examples of what these failures look like...
{noformat}
FAILED:
org.apache.solr.update.processor.ParsingFieldUpdateProcessorsTest.testAKSTZone
Error Message:
java.time.format.DateTimeParseException: Text 'Thu Nov 13 04:35:51 AKST 2008'
could not be parsed at index 20
Stack Trace:
java.time.format.DateTimeParseException: Text 'Thu Nov 13 04:35:51 AKST 2008'
could not be parsed at index 20
at
__randomizedtesting.SeedInfo.seed([B84D991968485BB1:B8763855675AE20A]:0)
at
java.base/java.time.format.DateTimeFormatter.parseResolved0(DateTimeFormatter.java:2108)
at
java.base/java.time.format.DateTimeFormatter.parse(DateTimeFormatter.java:2010)
at
org.apache.solr.update.processor.ParsingFieldUpdateProcessorsTest.testAKSTZone(ParsingFieldUpdateProcessorsTest.java:1079)
{noformat}
...and...
{noformat}
FAILED:
org.apache.solr.update.processor.ParsingFieldUpdateProcessorsTest.testParseFrenchDate
Error Message:
java.lang.AssertionError
Stack Trace:
java.lang.AssertionError
at
__randomizedtesting.SeedInfo.seed([B84D991968485BB1:F1D6EFB1A35A7380]:0)
at org.junit.Assert.fail(Assert.java:87)
at org.junit.Assert.assertTrue(Assert.java:42)
at org.junit.Assert.assertTrue(Assert.java:53)
at
org.apache.solr.update.processor.ParsingFieldUpdateProcessorsTest.testParseFrenchDate(ParsingFieldUpdateProcessorsTest.java:253)
{noformat}
----
It's interesting to note that using {{-Djava.locale.providers=CLDR}} triggers
these both of problems on JDK21, but on JDK11 and JDK17 only {{testAKSTZone}}
will fail -- {{testParseFrenchDate}} works fine. Suggesting that whatever the
issue is was introduced by a CLDR version change since JDK17
> ParsingFieldUpdateProcessorsTest failures using CLDR locale provider
> --------------------------------------------------------------------
>
> Key: SOLR-17379
> URL: https://issues.apache.org/jira/browse/SOLR-17379
> Project: Solr
> Issue Type: Test
> Security Level: Public(Default Security Level. Issues are Public)
> Reporter: Chris M. Hostetter
> Priority: Major
>
> Background: https://lists.apache.org/thread/o7xwz8df6j0bx7w2m3w8ptrp4r7q957n
> Test failures from {{ParsingFieldUpdateProcessorsTest.testAKSTZone}} and
> {{ParsingFieldUpdateProcessorsTest.testParseFrenchDate}} are seemingly
> guaranteed on JDK23, due to the removal of the {{COMPAT}} local provider
> option.
> On (some) earlier JDKs, these failures can be reproduced using...
> {noformat}
> ./gradlew test --tests ParsingFieldUpdateProcessorsTest
> -Ptests.jvmargs="-Djava.locale.providers=CLDR -XX:TieredStopAtLevel=1
> -XX:+UseParallelGC -XX:ActiveProcessorCount=1 -XX:ReservedCodeCacheSize=120m"
> {noformat}
> ...to force the use off {{CLDR}} and exclude the use of {{COMPAT}}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]