You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Steve Rowe (JIRA)" <ji...@apache.org> on 2017/03/05 19:54:32 UTC

[jira] [Commented] (LUCENE-7728) TestGrouping.testRandom() failures

    [ https://issues.apache.org/jira/browse/LUCENE-7728?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15896521#comment-15896521 ] 

Steve Rowe commented on LUCENE-7728:
------------------------------------

Another reproducing branch_6x failure from Policeman Jenkins [https://jenkins.thetaphi.de/job/Lucene-Solr-6.x-MacOSX/737/]:

{noformat}
   [junit4]   2> NOTE: reproduce with: ant test  -Dtestcase=TestGrouping -Dtests.method=testRandom -Dtests.seed=7D05E3F750606D -Dtests.slow=true -Dtests.locale=ar-EG -Dtests.timezone=America/Asuncion -Dtests.asserts=true -Dtests.file.encoding=US-ASCII
   [junit4] FAILURE 3.08s J0 | TestGrouping.testRandom <<<
   [junit4]    > Throwable #1: java.lang.AssertionError: expected:<394> but was:<235>
   [junit4]    > 	at __randomizedtesting.SeedInfo.seed([7D05E3F750606D:723120EC4630D61E]:0)
   [junit4]    > 	at org.apache.lucene.search.grouping.TestGrouping.assertEquals(TestGrouping.java:1288)
   [junit4]    > 	at org.apache.lucene.search.grouping.TestGrouping.testRandom(TestGrouping.java:1130)
   [junit4]    > 	at java.lang.Thread.run(Thread.java:745)
   [junit4]   2> NOTE: test params are: codec=FastCompressingStoredFields(storedFieldsFormat=CompressingStoredFieldsFormat(compressionMode=FAST, chunkSize=11351, maxDocsPerChunk=2, blockSize=208), termVectorsFormat=CompressingTermVectorsFormat(compressionMode=FAST, chunkSize=11351, blockSize=208)), sim=RandomSimilarity(queryNorm=true,coord=yes): {content=DFI(Saturated)}, locale=ar-EG, timezone=America/Asuncion
   [junit4]   2> NOTE: Mac OS X 10.11.6 x86_64/Oracle Corporation 1.8.0_121 (64-bit)/cpus=3,threads=1,free=37784112,total=54788096
{noformat}

> TestGrouping.testRandom() failures
> ----------------------------------
>
>                 Key: LUCENE-7728
>                 URL: https://issues.apache.org/jira/browse/LUCENE-7728
>             Project: Lucene - Core
>          Issue Type: Bug
>            Reporter: Steve Rowe
>
> My Jenkins found a reproducing branch_6x seed:
> {noformat}
>    [junit4]   2> NOTE: reproduce with: ant test  -Dtestcase=TestGrouping -Dtests.method=testRandom -Dtests.seed=6F0B519BBDC786B3 -Dtests.slow=true -Dtests.locale=en-CA -Dtests.timezone=Europe/Zagreb -Dtests.asserts=true -Dtests.file.encoding=US-ASCII
>    [junit4] FAILURE 2.50s J0 | TestGrouping.testRandom <<<
>    [junit4]    > Throwable #1: java.lang.AssertionError: expected:<10> but was:<29>
>    [junit4]    > 	at __randomizedtesting.SeedInfo.seed([6F0B519BBDC786B3:1D4774940CA730C0]:0)
>    [junit4]    > 	at org.apache.lucene.search.grouping.TestGrouping.assertEquals(TestGrouping.java:1288)
>    [junit4]    > 	at org.apache.lucene.search.grouping.TestGrouping.testRandom(TestGrouping.java:1130)
>    [junit4]    > 	at java.lang.Thread.run(Thread.java:745)
>    [junit4]   2> NOTE: test params are: codec=Asserting(Lucene62): {groupend=Lucene50(blocksize=128), sort1=PostingsFormat(name=Memory doPackFST= true), sort2=Lucene50(blocksize=128), content=PostingsFormat(name=Memory doPackFST= false), group=PostingsFormat(name=Memory doPackFST= true)}, docValues:{groupend=DocValuesFormat(name=Direct), author=DocValuesFormat(name=Memory), sort1=DocValuesFormat(name=Memory), id=DocValuesFormat(name=Memory), sort2=DocValuesFormat(name=Direct), content=DocValuesFormat(name=Lucene54), group=DocValuesFormat(name=Memory)}, maxPointsInLeafNode=454, maxMBSortInHeap=6.048552291438714, sim=RandomSimilarity(queryNorm=false,coord=no): {content=DFI(Saturated)}, locale=en-CA, timezone=Europe/Zagreb
>    [junit4]   2> NOTE: Linux 4.1.0-custom2-amd64 amd64/Oracle Corporation 1.8.0_77 (64-bit)/cpus=16,threads=1,free=485264792,total=514850816
> {noformat}
> {{git bisect}} says the first bad commit is this one: [http://git-wip-us.apache.org/repos/asf/lucene-solr/commit/6d952076], but that just removed {{BooleanSimilarity}} from the {{RandomSimilarity}}'s candidates list, which in this case likely has the side effect of picking a different similarity with this seed.  So the problem is almost certainly older than this.
> Policeman Jenkins reported a master seed four weeks ago [https://jenkins.thetaphi.de/job/Lucene-Solr-master-Linux/18890/] for a failure that's still reproducing for me on Linux w/ Java8:
> {noformat}
>   [junit4]   2> NOTE: reproduce with: ant test  -Dtestcase=TestGrouping -Dtests.method=testRandom -Dtests.seed=381A6A2BB3B21736 -Dtests.multiplier=3 -Dtests.slow=true -Dtests.locale=nyn -Dtests.timezone=Antarctica/McMurdo -Dtests.asserts=true -Dtests.file.encoding=US-ASCII
>   [junit4] FAILURE 8.72s J0 | TestGrouping.testRandom <<<
>   [junit4]    > Throwable #1: java.lang.AssertionError: expected:<2526> but was:<1818>
>   [junit4]    > 	at __randomizedtesting.SeedInfo.seed([381A6A2BB3B21736:4A564F2402D2A145]:0)
>   [junit4]    > 	at org.apache.lucene.search.grouping.TestGrouping.assertEquals(TestGrouping.java:1299)
>   [junit4]    > 	at org.apache.lucene.search.grouping.TestGrouping.testRandom(TestGrouping.java:1141)
>   [junit4]    > 	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>   [junit4]    > 	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>   [junit4]    > 	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>   [junit4]    > 	at java.base/java.lang.reflect.Method.invoke(Method.java:543)
>   [junit4]    > 	at java.base/java.lang.Thread.run(Thread.java:844)
>   [junit4]   2> NOTE: test params are: codec=Asserting(Lucene70): {groupend=PostingsFormat(name=Direct), sort1=PostingsFormat(name=LuceneVarGapFixedInterval), sort2=PostingsFormat(name=Direct), content=PostingsFormat(name=LuceneVarGapDocFreqInterval), group=PostingsFormat(name=LuceneVarGapFixedInterval)}, docValues:{groupend=DocValuesFormat(name=Lucene70), author=DocValuesFormat(name=Memory), sort1=DocValuesFormat(name=Memory), id=DocValuesFormat(name=Memory), sort2=DocValuesFormat(name=Lucene70), content=DocValuesFormat(name=Direct), group=DocValuesFormat(name=Memory)}, maxPointsInLeafNode=1292, maxMBSortInHeap=6.668104559353747, sim=RandomSimilarity(queryNorm=true): {content=DFI(Standardized)}, locale=nyn, timezone=Antarctica/McMurdo
>   [junit4]   2> NOTE: Linux 4.4.0-53-generic i386/Oracle Corporation 9-ea (32-bit)/cpus=12,threads=1,free=23290544,total=79691776
> {noformat}
> {{git bisect}} points to the exact same first bad commit for this seed too (see above).



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

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