lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Muir (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (LUCENE-5623) Reproducible TestEarlyTermination failure
Date Mon, 21 Apr 2014 13:11:15 GMT

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

Robert Muir commented on LUCENE-5623:
-------------------------------------

This is wierd, its not always reproducible. So it must rely upon certain merges happening.

I changed the test to print the topDocs, this leaves me totally confused: why do i see duplicate
docids? 

are they not being rebased correctly somewhere?

{noformat}
   [junit4]    > Throwable #1: java.lang.AssertionError: scoredocs differ: 

scoreDocs1=[
  doc=13 score=1.1769307 shardIndex=-1 fields=[0], 
  doc=31 score=1.1769307 shardIndex=-1 fields=[0], 
  doc=0 score=1.1769307 shardIndex=-1 fields=[1], 
  doc=16 score=1.1769307 shardIndex=-1 fields=[1], 
  doc=17 score=1.1769307 shardIndex=-1 fields=[1], 
  doc=33 score=1.1769307 shardIndex=-1 fields=[1], 
  doc=1 score=1.1769307 shardIndex=-1 fields=[2], 
  doc=2 score=1.1769307 shardIndex=-1 fields=[2], 
  doc=3 score=3.9177706 shardIndex=-1 fields=[2], 
  doc=3 score=3.9177706 shardIndex=-1 fields=[2],
  doc=4 score=1.1769307 shardIndex=-1 fields=[3]
], 

scoreDocs2=[
  doc=13 score=1.1769307 shardIndex=-1 fields=[0], 
  doc=31 score=1.1769307 shardIndex=-1 fields=[0], 
  doc=0 score=1.1769307 shardIndex=-1 fields=[1], 
  doc=33 score=1.1769307 shardIndex=-1 fields=[1], 
  doc=1 score=1.1769307 shardIndex=-1 fields=[2], 
  doc=2 score=1.1769307 shardIndex=-1 fields=[2], 
  doc=3 score=3.9177706 shardIndex=-1 fields=[2], 
  doc=3 score=3.9177706 shardIndex=-1 fields=[2], 
  doc=4 score=1.1769307 shardIndex=-1 fields=[3], 
  doc=5 score=1.1769307 shardIndex=-1 fields=[3], 
  doc=6 score=1.1769307 shardIndex=-1 fields=[3]
] 

expected:<16> but was:<33>
{noformat}

> Reproducible TestEarlyTermination failure
> -----------------------------------------
>
>                 Key: LUCENE-5623
>                 URL: https://issues.apache.org/jira/browse/LUCENE-5623
>             Project: Lucene - Core
>          Issue Type: Bug
>            Reporter: Michael McCandless
>             Fix For: 4.9, 5.0
>
>
> {noformat}
> ant test  -Dtestcase=TestEarlyTermination -Dtests.method=testEarlyTermination -Dtests.seed=23B2828CD7A1C1BC
-Dtests.slow=true -Dtests.locale=en_AU -Dtests.timezone=Europe/Tirane -Dtests.file.encoding=UTF-8
> {noformat}
> results in this:
> {noformat}
>    [junit4]    > Throwable #1: java.lang.AssertionError: expected:<95> but was:<65>
>    [junit4]    > 	at __randomizedtesting.SeedInfo.seed([23B2828CD7A1C1BC:EC25C3D3EFCD51BF]:0)
>    [junit4]    > 	at org.apache.lucene.index.sorter.TestEarlyTermination.assertTopDocsEquals(TestEarlyTermination.java:183)
>    [junit4]    > 	at org.apache.lucene.index.sorter.TestEarlyTermination.testEarlyTermination(TestEarlyTermination.java:128)
>    [junit4]    > 	at java.lang.Thread.run(Thread.java:724)
>    [junit4]   2> NOTE: test params are: codec=Lucene46: {s=Pulsing41(freqCutoff=16
minBlockSize=9 maxBlockSize=65)}, docValues:{ndv2=DocValuesFormat(name=Asserting), ndv1=DocValuesFormat(name=Disk)},
sim=DefaultSimilarity, locale=en_AU, timezone=Europe/Tirane
>    [junit4]   2> NOTE: Linux 3.5.0-47-generic amd64/Oracle Corporation 1.7.0_25 (64-bit)/cpus=8,threads=1,free=206930744,total=247463936
>    [junit4]   2> NOTE: All tests run in this JVM: [TestEarlyTermination]
> {noformat}
> I haven't looked into it.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

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


Mime
View raw message