lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Rowe (JIRA)" <>
Subject [jira] [Commented] (SOLR-12759) Disable ExtractingRequestHandlerTest on JDK 11
Date Mon, 24 Sep 2018 18:04:00 GMT


Steve Rowe commented on SOLR-12759:

ExtractingRequestHandlerTest is failing reproduceably without a seed.  See e.g. from []:

Checking out Revision 43a0e10a40d4bdf595a5bdffd180c6231dfaafd8 (refs/remotes/origin/branch_7x)
   [junit4] Suite: org.apache.solr.handler.extraction.ExtractingRequestHandlerTest
   [junit4]   2> ERROR StatusLogger No Log4j 2 configuration file found. Using default
configuration (logging only errors to the console), or user programmatically provided configurations.
Set system property 'log4j2.debug' to show Log4j 2 internal initialization logging. See
for instructions on how to configure Log4j 2
   [junit4]   2> Creating dataDir: /home/jenkins/jenkins-slave/workspace/Lucene-Solr-NightlyTests-7.x/checkout/solr/build/contrib/solr-cell/test/J2/temp/solr.handler.extraction.ExtractingRequestHandlerTest_6465F01CD8C08B3A-001/init-core-data-001
   [junit4]   2> NOTE: test params are: codec=FastCompressingStoredFields(storedFieldsFormat=CompressingStoredFieldsFormat(compressionMode=FAST,
chunkSize=5, maxDocsPerChunk=4, blockSize=344), termVectorsFormat=CompressingTermVectorsFormat(compressionMode=FAST,
chunkSize=5, blockSize=344)), sim=RandomSimilarity(queryNorm=false): {}, locale=zh-CN, timezone=Australia/Eucla
   [junit4]   2> NOTE: Linux 4.4.0-112-generic amd64/Oracle Corporation 1.8.0_172 (64-bit)/cpus=4,threads=1,free=184991632,total=319291392
   [junit4]   2> NOTE: All tests run in this JVM: [TestExtractionDateUtil, ExtractingRequestHandlerTest]
   [junit4]   2> NOTE: download the large Jenkins line-docs file by running 'ant get-jenkins-line-docs'
in the lucene directory.
   [junit4]   2> NOTE: reproduce with: ant test  -Dtestcase=ExtractingRequestHandlerTest
-Dtests.seed=6465F01CD8C08B3A -Dtests.multiplier=2 -Dtests.nightly=true -Dtests.slow=true
-Dtests.locale=zh-CN -Dtests.timezone=Australia/Eucla -Dtests.asserts=true -Dtests.file.encoding=ISO-8859-1
   [junit4] ERROR   0.00s J2 | ExtractingRequestHandlerTest (suite) <<<
   [junit4]    > Throwable #1: java.lang.AssertionError: Is some other JVM affected?  Or
bad regex?
   [junit4]    > 	at __randomizedtesting.SeedInfo.seed([6465F01CD8C08B3A]:0)
   [junit4]    > 	at org.apache.solr.handler.extraction.ExtractingRequestHandlerTest.beforeClass(
   [junit4]    > 	at

> Disable ExtractingRequestHandlerTest on JDK 11
> ----------------------------------------------
>                 Key: SOLR-12759
>                 URL:
>             Project: Solr
>          Issue Type: Improvement
>      Security Level: Public(Default Security Level. Issues are Public) 
>          Components: contrib - Solr Cell (Tika extraction)
>         Environment: JDK 11 and Tika 1.x
>            Reporter: David Smiley
>            Assignee: David Smiley
>            Priority: Minor
>             Fix For: 7.6
> ExtractingRequestHandlerTest has failed on a JDK 11 RC due to two conspiring problems:
(A) Tika 1.x sometimes calls Date.toString() when extracting metadata (unreleased 2.x will
fix this), (B) JDK 11 RC has a bug in some locales like Arabic in which a Date.toString()
will have a timezone offset using its locale's characters for the digits instead of using
> I'll add an "assume" check so we don't see failures about this.

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message