You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Robert Muir (JIRA)" <ji...@apache.org> on 2015/06/04 05:18:38 UTC
[jira] [Commented] (LUCENE-6517) mockfilesystem tests fail with IBM
jdk
[ https://issues.apache.org/jira/browse/LUCENE-6517?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14572041#comment-14572041 ]
Robert Muir commented on LUCENE-6517:
-------------------------------------
This is an important test: if it fails, it means your filesystem isn't working correctly.
I will add an assume for the moment linked to this issue, so we can test other things.
> mockfilesystem tests fail with IBM jdk
> --------------------------------------
>
> Key: LUCENE-6517
> URL: https://issues.apache.org/jira/browse/LUCENE-6517
> Project: Lucene - Core
> Issue Type: Bug
> Reporter: Robert Muir
>
> Test failures look like this:
> {noformat}
> [junit4] Suite: org.apache.lucene.mockfile.TestVerboseFS
> [junit4] 2> NOTE: reproduce with: ant test -Dtestcase=TestVerboseFS -Dtests.method=testURI -Dtests.seed=A5E55A5C894B6526 -Dtests.locale=lt_LT -Dtests.timezone=America/Marigot -Dtests.asserts=true -Dtests.file.encoding=UTF-8
> [junit4] FAILURE 0.32s J1 | TestVerboseFS.testURI <<<
> [junit4] > Throwable #1: java.lang.AssertionError: expected:</home/rmuir/workspace/trunk-ibm/lucene/build/test-framework/test/J1/temp/lucene.mockfile.TestVerboseFS A5E55A5C894B6526-001/tempDir-010/中国> but was:</home/rmuir/workspace/trunk-ibm/lucene/build/test-framework/test/J1/temp/lucene.mockfile.TestVerboseFS A5E55A5C894B6526-001/tempDir-010/-ý>
> [junit4] > at __randomizedtesting.SeedInfo.seed([A5E55A5C894B6526:2C5721F741543F17]:0)
> [junit4] > at org.apache.lucene.mockfile.MockFileSystemTestCase.testURI(MockFileSystemTestCase.java:72)
> [junit4] > at java.lang.Thread.run(Thread.java:785)
> [junit4] 2> NOTE: leaving temporary files on disk at: /home/rmuir/workspace/trunk-ibm/lucene/build/test-framework/test/J1/temp/lucene.mockfile.TestVerboseFS A5E55A5C894B6526-001
> [junit4] 2> NOTE: test params are: codec=Asserting(Lucene50): {}, docValues:{}, sim=RandomSimilarityProvider(queryNorm=true,coord=no): {}, locale=lt_LT, timezone=America/Marigot
> [junit4] 2> NOTE: Linux 3.13.0-49-generic amd64/IBM Corporation 1.8.0 (64-bit)/cpus=8,threads=1,free=1578528,total=13041664
> [junit4] 2> NOTE: All tests run in this JVM: [TestVerboseFS]
> [junit4] Completed [4/36] on J1 in 0.97s, 14 tests, 1 failure <<< FAILURES!
> {noformat}
> I think its a JDK bug. I've posted a small testcase here:
> https://developer.ibm.com/answers/questions/194536/bug-in-pathtouri-with-the-default-filesystem-provi.html
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org