You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Christine Poerschke (BLOOMBERG/ LONDON)" <cp...@bloomberg.net> on 2015/08/05 23:04:10 UTC

Re: [JENKINS-EA] Lucene-Solr-trunk-Linux (64bit/jdk1.9.0-ea-b60)

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 <je...@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


Re: [JENKINS-EA] Lucene-Solr-trunk-Linux (64bit/jdk1.9.0-ea-b60)

Posted by Adrien Grand <jp...@gmail.com>.
On Wed, Aug 5, 2015 at 11:04 PM, Christine Poerschke (BLOOMBERG/
LONDON) <cp...@bloomberg.net> wrote:
> 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?

We could, but I don't think we should add a branch for this particular
case: it has no practical benefit and would be rarely tested?

-- 
Adrien

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