You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by Shai Erera <se...@gmail.com> on 2011/03/28 16:46:30 UTC
Test failure on 3x, TestLocaleMethods
My machine is hot at picking seeds today :).
[junit]
[junit] junit.framework.AssertionFailedError:
[junit] at
org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(LuceneTestCase.java:1076)
[junit] at
org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(LuceneTestCase.java:1008)
[junit] at
org.apache.lucene.search.TestLocaleMethods.testSort(TestLocaleMethods.java:84)
[junit]
[junit]
[junit] Testcase:
testSort2(org.apache.lucene.search.TestLocaleMethods): FAILED
[junit]
[junit] junit.framework.AssertionFailedError:
[junit] at
org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(LuceneTestCase.java:1076)
[junit] at
org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(LuceneTestCase.java:1008)
[junit] at
org.apache.lucene.search.TestLocaleMethods.testSort2(TestLocaleMethods.java:100)
[junit]
[junit]
[junit] Tests run: 4, Failures: 2, Errors: 0, Time elapsed: 2.03 sec
[junit]
[junit] ------------- Standard Error -----------------
[junit] NOTE: reproduce with: ant test -Dtestcase=TestLocaleMethods
-Dtestmethod=testSort -Dtests.seed=-6178492448073106006:6179706939192629911
[junit] NOTE: reproduce with: ant test -Dtestcase=TestLocaleMethods
-Dtestmethod=testSort2 -Dtests.seed=-6178492448073106006:7745709510566497976
[junit] NOTE: test params are: locale=tr_TR, timezone=GMT0
[junit] NOTE: all tests run in this JVM:
[junit] [TestSearch, TestAnalyzers, TestISOLatin1AccentFilter,
TestStandardAnalyzer, TestTermAttributeImpl, TestAddIndexes,
TestDeletionPolicy, TestIndexFileDeleter, TestIndexWriterDelete,
TestIndexWriterWithThreads, TestNoDeletionPolicy,
TestParallelReaderEmptyIndex, TestSegmentInfo, TestStressIndexing,
TestTransactions, TestBoolean2, TestComplexExplanationsOfNonMatches,
TestElevationComparator, TestLocaleMethods]
[junit] NOTE: Windows 7 6.1 build 7600 amd64/IBM Corporation 1.6.0
(64-bit)/cpus=2,threads=4,free=27719824,total=53872640
[junit] ------------- ---------------- ---------------
The first repro line fails both testSort and testSort2. It fails w/ an IBM
JRE, but passes w/ Sun's. The default locale picked by the test is tr_TR.
Will investigate, though the test itself looks 'safe', so it must be
something behind the scenes that uses the default locale on us.
Shai
Re: Test failure on 3x, TestLocaleMethods
Posted by Shai Erera <se...@gmail.com>.
Update: I switched to the newest IBM JRE I have available, but the test
still fails with that seed.
Shai
On Mon, Mar 28, 2011 at 5:20 PM, Robert Muir <rc...@gmail.com> wrote:
> FYI this is a relatively new test, and I think its a bug in IBM's jre.
> I found similar problems in ICU and i know IBM JRE's intl impl is
> different than sun's (maybe a newer icu version?)
>
> I worked around these in the icu collation tests, and we might have to
> do the same here... we can't use "totally random" unicode strings or
> we might hit some bugs:
> http://bugs.icu-project.org/trac/ticket/8060
> http://bugs.icu-project.org/trac/ticket/7732
>
> On Mon, Mar 28, 2011 at 10:46 AM, Shai Erera <se...@gmail.com> wrote:
> > My machine is hot at picking seeds today :).
> >
> > [junit]
> > [junit] junit.framework.AssertionFailedError:
> > [junit] at
> >
> org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(LuceneTestCase.java:1076)
> > [junit] at
> >
> org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(LuceneTestCase.java:1008)
> > [junit] at
> >
> org.apache.lucene.search.TestLocaleMethods.testSort(TestLocaleMethods.java:84)
> > [junit]
> > [junit]
> > [junit] Testcase:
> > testSort2(org.apache.lucene.search.TestLocaleMethods): FAILED
> > [junit]
> > [junit] junit.framework.AssertionFailedError:
> > [junit] at
> >
> org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(LuceneTestCase.java:1076)
> > [junit] at
> >
> org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(LuceneTestCase.java:1008)
> > [junit] at
> >
> org.apache.lucene.search.TestLocaleMethods.testSort2(TestLocaleMethods.java:100)
> > [junit]
> > [junit]
> > [junit] Tests run: 4, Failures: 2, Errors: 0, Time elapsed: 2.03 sec
> > [junit]
> > [junit] ------------- Standard Error -----------------
> > [junit] NOTE: reproduce with: ant test -Dtestcase=TestLocaleMethods
> > -Dtestmethod=testSort
> -Dtests.seed=-6178492448073106006:6179706939192629911
> > [junit] NOTE: reproduce with: ant test -Dtestcase=TestLocaleMethods
> > -Dtestmethod=testSort2
> -Dtests.seed=-6178492448073106006:7745709510566497976
> > [junit] NOTE: test params are: locale=tr_TR, timezone=GMT0
> > [junit] NOTE: all tests run in this JVM:
> > [junit] [TestSearch, TestAnalyzers, TestISOLatin1AccentFilter,
> > TestStandardAnalyzer, TestTermAttributeImpl, TestAddIndexes,
> > TestDeletionPolicy, TestIndexFileDeleter, TestIndexWriterDelete,
> > TestIndexWriterWithThreads, TestNoDeletionPolicy,
> > TestParallelReaderEmptyIndex, TestSegmentInfo, TestStressIndexing,
> > TestTransactions, TestBoolean2, TestComplexExplanationsOfNonMatches,
> > TestElevationComparator, TestLocaleMethods]
> > [junit] NOTE: Windows 7 6.1 build 7600 amd64/IBM Corporation 1.6.0
> > (64-bit)/cpus=2,threads=4,free=27719824,total=53872640
> > [junit] ------------- ---------------- ---------------
> >
> > The first repro line fails both testSort and testSort2. It fails w/ an
> IBM
> > JRE, but passes w/ Sun's. The default locale picked by the test is tr_TR.
> >
> > Will investigate, though the test itself looks 'safe', so it must be
> > something behind the scenes that uses the default locale on us.
> >
> > Shai
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
> For additional commands, e-mail: dev-help@lucene.apache.org
>
>
Re: Test failure on 3x, TestLocaleMethods
Posted by Robert Muir <rc...@gmail.com>.
FYI this is a relatively new test, and I think its a bug in IBM's jre.
I found similar problems in ICU and i know IBM JRE's intl impl is
different than sun's (maybe a newer icu version?)
I worked around these in the icu collation tests, and we might have to
do the same here... we can't use "totally random" unicode strings or
we might hit some bugs:
http://bugs.icu-project.org/trac/ticket/8060
http://bugs.icu-project.org/trac/ticket/7732
On Mon, Mar 28, 2011 at 10:46 AM, Shai Erera <se...@gmail.com> wrote:
> My machine is hot at picking seeds today :).
>
> [junit]
> [junit] junit.framework.AssertionFailedError:
> [junit] at
> org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(LuceneTestCase.java:1076)
> [junit] at
> org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(LuceneTestCase.java:1008)
> [junit] at
> org.apache.lucene.search.TestLocaleMethods.testSort(TestLocaleMethods.java:84)
> [junit]
> [junit]
> [junit] Testcase:
> testSort2(org.apache.lucene.search.TestLocaleMethods): FAILED
> [junit]
> [junit] junit.framework.AssertionFailedError:
> [junit] at
> org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(LuceneTestCase.java:1076)
> [junit] at
> org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(LuceneTestCase.java:1008)
> [junit] at
> org.apache.lucene.search.TestLocaleMethods.testSort2(TestLocaleMethods.java:100)
> [junit]
> [junit]
> [junit] Tests run: 4, Failures: 2, Errors: 0, Time elapsed: 2.03 sec
> [junit]
> [junit] ------------- Standard Error -----------------
> [junit] NOTE: reproduce with: ant test -Dtestcase=TestLocaleMethods
> -Dtestmethod=testSort -Dtests.seed=-6178492448073106006:6179706939192629911
> [junit] NOTE: reproduce with: ant test -Dtestcase=TestLocaleMethods
> -Dtestmethod=testSort2 -Dtests.seed=-6178492448073106006:7745709510566497976
> [junit] NOTE: test params are: locale=tr_TR, timezone=GMT0
> [junit] NOTE: all tests run in this JVM:
> [junit] [TestSearch, TestAnalyzers, TestISOLatin1AccentFilter,
> TestStandardAnalyzer, TestTermAttributeImpl, TestAddIndexes,
> TestDeletionPolicy, TestIndexFileDeleter, TestIndexWriterDelete,
> TestIndexWriterWithThreads, TestNoDeletionPolicy,
> TestParallelReaderEmptyIndex, TestSegmentInfo, TestStressIndexing,
> TestTransactions, TestBoolean2, TestComplexExplanationsOfNonMatches,
> TestElevationComparator, TestLocaleMethods]
> [junit] NOTE: Windows 7 6.1 build 7600 amd64/IBM Corporation 1.6.0
> (64-bit)/cpus=2,threads=4,free=27719824,total=53872640
> [junit] ------------- ---------------- ---------------
>
> The first repro line fails both testSort and testSort2. It fails w/ an IBM
> JRE, but passes w/ Sun's. The default locale picked by the test is tr_TR.
>
> Will investigate, though the test itself looks 'safe', so it must be
> something behind the scenes that uses the default locale on us.
>
> Shai
>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org