[ 
https://issues.apache.org/jira/browse/LUCENE-3346?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Robert Muir updated LUCENE-3346:
--------------------------------

    Summary: jrebug causes checkindex fail  (was: jrebug causes checkindex fail 
(pulsing codec only))

I can reproduce one of the bugs here now with StandardCodec, with a core test, 
it reads a payload wrongly.
This fails often with jdk1.7.0 official release, it fails if you pass it 
-XX:-UseLoopPredicate, it fails even if you pass it -Xint (wierd)

But it passes always with java1.7.0-uschindler on hudson, so somehow one of 
those patches uwe applied fixes the issue...

So with trunk, there are bugs you cannot work around with JRE options, that 
affect StandardCodec.

{noformat}
    [junit] ------------- Standard Error -----------------
    [junit] NOTE: reproduce with: ant test -Dtestcase=TestPayloads 
-Dtestmethod=testThreadSafety 
-Dtests.seed=-4249818591398960258:-529634722590138117 -Dtests.codec=Standard
    [junit] NOTE: test params are: codec=Standard, locale=be, 
timezone=Pacific/Pitcairn
    [junit] NOTE: all tests run in this JVM:
    [junit] [TestPayloads]
    [junit] NOTE: Linux 2.6.38-8-generic amd64/Oracle Corporation 1.7.0 
(64-bit)/cpus=8,threads=1,free=194162192,total=252248064
    [junit] ------------- ---------------- ---------------
    [junit] Testcase: testThreadSafety(org.apache.lucene.index.TestPayloads):   
Caused an ERROR
    [junit] expected:<�[]> but was:<�[�Ns]>
{noformat}

> jrebug causes checkindex fail
> -----------------------------
>
>                 Key: LUCENE-3346
>                 URL: https://issues.apache.org/jira/browse/LUCENE-3346
>             Project: Lucene - Java
>          Issue Type: Bug
>    Affects Versions: 4.0
>         Environment: java 1.7.0
>            Reporter: Robert Muir
>              Labels: Java7
>         Attachments: seeds.txt
>
>
> I dug into the samplingwrappertest fail: 
> https://builds.apache.org/job/Lucene-Solr-tests-only-trunk-java7/22/
> I ran the test hundreds of times, and made 11 more random seeds. In every 
> case, the $facet field had PulsingCodec (or MockRandom, which pulses things)
> Here's an example seed, that fails relatively quickly (4 seconds) every time:
> ant test -Dtestcase=SamplingWrapperTest -Dtestmethod=testCountUsingSamping 
> -Dtests.seed=3028256727308316121:-9062105085025921705

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira



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

Reply via email to