lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christine Poerschke (BLOOMBERG/ LONDON)" <cpoersc...@bloomberg.net>
Subject Re: [JENKINS-EA] Lucene-Solr-trunk-Linux (64bit/jdk1.9.0-ea-b60)
Date Wed, 05 Aug 2015 21:42:24 GMT
Locally changed createRandomIndex to add not the 1 but 2 documents before the forceMerge. Still
ends up with an unsorted segment:

SortingMergePolicy.java:197 isSorted(reader=FilterLeafReader(Uninverting(_24(6.0.0):C2)),
sort=<long: "ndv1">)=false

Will investigate more tomorrow/Thursday.

----- Original Message -----
From: dev@lucene.apache.org
To: dev@lucene.apache.org
At: Aug  5 2015 22:04:20

Seeing this when adding trace locally:

SortingMergePolicy.java:197 isSorted(reader=FilterLeafReader(Uninverting(_24(6.0.0):C1)),
sort=<long: "ndv1">)=false

So the segment really is not sorted, but actually couldn't we consider all segments that contain
just 1 document (and 0 deletes) to be sorted by *any* criteria?

----- Original Message -----
From: dev@lucene.apache.org
To: dev@lucene.apache.org
At: Aug  5 2015 21:32:49

This seed reproduces 100% (3/3 trials) for me on OS X, Java8.

   [junit4]   2> NOTE: reproduce with: ant test  -Dtestcase=TestEarlyTerminatingSortingCollector
-Dtests.method=testTerminatedEarly -Dtests.seed=A2457E720C1058BA -Dtests.multiplier=3 -Dtests.slow=true
-Dtests.locale=et -Dtests.timezone=Africa/Monrovia -Dtests.asserts=true -Dtests.file.encoding=ISO-8859-1


> On Aug 5, 2015, at 4:08 PM, Policeman Jenkins Server <jenkins@thetaphi.de> wrote:
> 
> Build: http://jenkins.thetaphi.de/job/Lucene-Solr-trunk-Linux/13744/
> Java: 64bit/jdk1.9.0-ea-b60 -XX:+UseCompressedOops -XX:+UseG1GC -Djava.locale.providers=JRE,SPI
> 
> 1 tests failed.
> FAILED:  org.apache.lucene.search.TestEarlyTerminatingSortingCollector.testTerminatedEarly
> 
> Error Message:
> should have terminated early (searcher.reader=ExitableDirectoryReader(UninvertingDirectoryReader(Uninverting(_24(6.0.0):C1))))
> 
> Stack Trace:
> java.lang.AssertionError: should have terminated early (searcher.reader=ExitableDirectoryReader(UninvertingDirectoryReader(Uninverting(_24(6.0.0):C1))))
>     at __randomizedtesting.SeedInfo.seed([A2457E720C1058BA:83DEC4C0AD2A163D]:0)
>     at org.junit.Assert.fail(Assert.java:93)
>     at org.junit.Assert.assertTrue(Assert.java:43)
>     at org.apache.lucene.search.TestEarlyTerminatingSortingCollector.testTerminatedEarly(TestEarlyTerminatingSortingCollector.java:298)
>     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>     at java.lang.reflect.Method.invoke(Method.java:502)
>     at com.carrotsearch.randomizedtesting.RandomizedRunner.invoke(RandomizedRunner.java:1627)
>     at com.carrotsearch.randomizedtesting.RandomizedRunner$6.evaluate(RandomizedRunner.java:836)
>     at com.carrotsearch.randomizedtesting.RandomizedRunner$7.evaluate(RandomizedRunner.java:872)
>     at com.carrotsearch.randomizedtesting.RandomizedRunner$8.evaluate(RandomizedRunner.java:886)
>     at org.apache.lucene.util.TestRuleSetupTeardownChained$1.evaluate(TestRuleSetupTeardownChained.java:50)
>     at org.apache.lucene.util.AbstractBeforeAfterRule$1.evaluate(AbstractBeforeAfterRule.java:46)
>     at org.apache.lucene.util.TestRuleThreadAndTestName$1.evaluate(TestRuleThreadAndTestName.java:49)
>     at org.apache.lucene.util.TestRuleIgnoreAfterMaxFailures$1.evaluate(TestRuleIgnoreAfterMaxFailures.java:65)
>     at org.apache.lucene.util.TestRuleMarkFailure$1.evaluate(TestRuleMarkFailure.java:48)
>     at com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
>     at com.carrotsearch.randomizedtesting.ThreadLeakControl$StatementRunner.run(ThreadLeakControl.java:365)
>     at com.carrotsearch.randomizedtesting.ThreadLeakControl.forkTimeoutingTask(ThreadLeakControl.java:798)
>     at com.carrotsearch.randomizedtesting.ThreadLeakControl$3.evaluate(ThreadLeakControl.java:458)
>     at com.carrotsearch.randomizedtesting.RandomizedRunner.runSingleTest(RandomizedRunner.java:845)
>     at com.carrotsearch.randomizedtesting.RandomizedRunner$3.evaluate(RandomizedRunner.java:747)
>     at com.carrotsearch.randomizedtesting.RandomizedRunner$4.evaluate(RandomizedRunner.java:781)
>     at com.carrotsearch.randomizedtesting.RandomizedRunner$5.evaluate(RandomizedRunner.java:792)
>     at org.apache.lucene.util.AbstractBeforeAfterRule$1.evaluate(AbstractBeforeAfterRule.java:46)
>     at com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
>     at org.apache.lucene.util.TestRuleStoreClassName$1.evaluate(TestRuleStoreClassName.java:42)
>     at com.carrotsearch.randomizedtesting.rules.NoShadowingOrOverridesOnMethodsRule$1.evaluate(NoShadowingOrOverridesOnMethodsRule.java:39)
>     at com.carrotsearch.randomizedtesting.rules.NoShadowingOrOverridesOnMethodsRule$1.evaluate(NoShadowingOrOverridesOnMethodsRule.java:39)
>     at com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
>     at com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
>     at com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
>     at org.apache.lucene.util.TestRuleAssertionsRequired$1.evaluate(TestRuleAssertionsRequired.java:54)
>     at org.apache.lucene.util.TestRuleMarkFailure$1.evaluate(TestRuleMarkFailure.java:48)
>     at org.apache.lucene.util.TestRuleIgnoreAfterMaxFailures$1.evaluate(TestRuleIgnoreAfterMaxFailures.java:65)
>     at org.apache.lucene.util.TestRuleIgnoreTestSuites$1.evaluate(TestRuleIgnoreTestSuites.java:55)
>     at com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
>     at com.carrotsearch.randomizedtesting.ThreadLeakControl$StatementRunner.run(ThreadLeakControl.java:365)
>     at java.lang.Thread.run(Thread.java:745)
> 
> 
> 
> 
> Build Log:
> [...truncated 7316 lines...]
>   [junit4] Suite: org.apache.lucene.search.TestEarlyTerminatingSortingCollector
>   [junit4]   2> NOTE: reproduce with: ant test  -Dtestcase=TestEarlyTerminatingSortingCollector
-Dtests.method=testTerminatedEarly -Dtests.seed=A2457E720C1058BA -Dtests.multiplier=3 -Dtests.slow=true
-Dtests.locale=et -Dtests.timezone=Africa/Monrovia -Dtests.asserts=true -Dtests.file.encoding=ISO-8859-1
>   [junit4] FAILURE 0.85s J2 | TestEarlyTerminatingSortingCollector.testTerminatedEarly
<<<
>   [junit4]    > Throwable #1: java.lang.AssertionError: should have terminated early
(searcher.reader=ExitableDirectoryReader(UninvertingDirectoryReader(Uninverting(_24(6.0.0):C1))))
>   [junit4]    >     at __randomizedtesting.SeedInfo.seed([A2457E720C1058BA:83DEC4C0AD2A163D]:0)
>   [junit4]    >     at org.apache.lucene.search.TestEarlyTerminatingSortingCollector.testTerminatedEarly(TestEarlyTerminatingSortingCollector.java:298)
>   [junit4]    >     at java.lang.Thread.run(Thread.java:745)
>   [junit4]   2> NOTE: leaving temporary files on disk at: /home/jenkins/workspace/Lucene-Solr-trunk-Linux/lucene/build/misc/test/J2/temp/lucene.search.TestEarlyTerminatingSortingCollector_A2457E720C1058BA-001
>   [junit4]   2> NOTE: test params are: codec=Asserting(Lucene53): {s=PostingsFormat(name=Memory
doPackFST= false)}, docValues:{ndv2=DocValuesFormat(name=Lucene50), ndv1=DocValuesFormat(name=Asserting)},
sim=RandomSimilarityProvider(queryNorm=true,coord=yes): {s=BM25(k1=1.2,b=0.75)}, locale=et,
timezone=Africa/Monrovia
>   [junit4]   2> NOTE: Linux 3.16.0-44-generic amd64/Oracle Corporation 1.9.0-ea (64-bit)/cpus=12,threads=1,free=328224696,total=526385152
>   [junit4]   2> NOTE: All tests run in this JVM: [TestPKIndexSplitter, TestMultiPassIndexSplitter,
TestBlockJoinSorter, TestEarlyTerminatingSortingCollector]
>   [junit4] Completed [21/25] on J2 in 18.24s, 4 tests, 1 failure <<< FAILURES!
> 
> [...truncated 25 lines...]
> BUILD FAILED
> /home/jenkins/workspace/Lucene-Solr-trunk-Linux/build.xml:716: The following error occurred
while executing this line:
> /home/jenkins/workspace/Lucene-Solr-trunk-Linux/build.xml:660: The following error occurred
while executing this line:
> /home/jenkins/workspace/Lucene-Solr-trunk-Linux/build.xml:59: The following error occurred
while executing this line:
> /home/jenkins/workspace/Lucene-Solr-trunk-Linux/lucene/build.xml:470: The following error
occurred while executing this line:
> /home/jenkins/workspace/Lucene-Solr-trunk-Linux/lucene/common-build.xml:2159: The following
error occurred while executing this line:
> /home/jenkins/workspace/Lucene-Solr-trunk-Linux/lucene/module-build.xml:58: The following
error occurred while executing this line:
> /home/jenkins/workspace/Lucene-Solr-trunk-Linux/lucene/common-build.xml:1429: The following
error occurred while executing this line:
> /home/jenkins/workspace/Lucene-Solr-trunk-Linux/lucene/common-build.xml:984: There were
test failures: 25 suites, 184 tests, 1 failure, 1 ignored (1 assumption)
> 
> Total time: 14 minutes 1 second
> Build step 'Invoke Ant' marked build as failure
> Archiving artifacts
> Recording test results
> Email was triggered for: Failure - Any
> Sending email for trigger: Failure - Any
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
> For additional commands, e-mail: dev-help@lucene.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message