You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by bu...@flonkings.com on 2014/03/27 21:06:15 UTC

[JENKINS] Lucene-trunk-Linux-Java7-64-test-only - Build # 80733 - Failure!

Build: builds.flonkings.com/job/Lucene-trunk-Linux-Java7-64-test-only/80733/

1 tests failed.
REGRESSION:  org.apache.lucene.index.TestNorms.testCustomEncoder

Error Message:
expected:<1> but was:<3>

Stack Trace:
java.lang.AssertionError: expected:<1> but was:<3>
	at __randomizedtesting.SeedInfo.seed([A0ED4A2898663611:CDE5EAD5F88707D9]:0)
	at org.junit.Assert.fail(Assert.java:93)
	at org.junit.Assert.failNotEquals(Assert.java:647)
	at org.junit.Assert.assertEquals(Assert.java:128)
	at org.junit.Assert.assertEquals(Assert.java:472)
	at org.junit.Assert.assertEquals(Assert.java:456)
	at org.apache.lucene.index.TestNorms.testCustomEncoder(TestNorms.java:105)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:606)
	at com.carrotsearch.randomizedtesting.RandomizedRunner.invoke(RandomizedRunner.java:1617)
	at com.carrotsearch.randomizedtesting.RandomizedRunner$6.evaluate(RandomizedRunner.java:826)
	at com.carrotsearch.randomizedtesting.RandomizedRunner$7.evaluate(RandomizedRunner.java:862)
	at com.carrotsearch.randomizedtesting.RandomizedRunner$8.evaluate(RandomizedRunner.java:876)
	at org.apache.lucene.util.TestRuleSetupTeardownChained$1.evaluate(TestRuleSetupTeardownChained.java:50)
	at org.apache.lucene.util.TestRuleFieldCacheSanity$1.evaluate(TestRuleFieldCacheSanity.java:51)
	at org.apache.lucene.util.AbstractBeforeAfterRule$1.evaluate(AbstractBeforeAfterRule.java:46)
	at com.carrotsearch.randomizedtesting.rules.SystemPropertiesInvariantRule$1.evaluate(SystemPropertiesInvariantRule.java:55)
	at org.apache.lucene.util.TestRuleThreadAndTestName$1.evaluate(TestRuleThreadAndTestName.java:49)
	at org.apache.lucene.util.TestRuleIgnoreAfterMaxFailures$1.evaluate(TestRuleIgnoreAfterMaxFailures.java:70)
	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:359)
	at com.carrotsearch.randomizedtesting.ThreadLeakControl.forkTimeoutingTask(ThreadLeakControl.java:783)
	at com.carrotsearch.randomizedtesting.ThreadLeakControl$3.evaluate(ThreadLeakControl.java:443)
	at com.carrotsearch.randomizedtesting.RandomizedRunner.runSingleTest(RandomizedRunner.java:835)
	at com.carrotsearch.randomizedtesting.RandomizedRunner$3.evaluate(RandomizedRunner.java:737)
	at com.carrotsearch.randomizedtesting.RandomizedRunner$4.evaluate(RandomizedRunner.java:771)
	at com.carrotsearch.randomizedtesting.RandomizedRunner$5.evaluate(RandomizedRunner.java:782)
	at org.apache.lucene.util.AbstractBeforeAfterRule$1.evaluate(AbstractBeforeAfterRule.java:46)
	at org.apache.lucene.util.TestRuleStoreClassName$1.evaluate(TestRuleStoreClassName.java:42)
	at com.carrotsearch.randomizedtesting.rules.SystemPropertiesInvariantRule$1.evaluate(SystemPropertiesInvariantRule.java:55)
	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 org.apache.lucene.util.TestRuleAssertionsRequired$1.evaluate(TestRuleAssertionsRequired.java:43)
	at org.apache.lucene.util.TestRuleMarkFailure$1.evaluate(TestRuleMarkFailure.java:48)
	at org.apache.lucene.util.TestRuleIgnoreAfterMaxFailures$1.evaluate(TestRuleIgnoreAfterMaxFailures.java:70)
	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:359)
	at java.lang.Thread.run(Thread.java:724)




Build Log:
[...truncated 275 lines...]
   [junit4] Suite: org.apache.lucene.index.TestNorms
   [junit4]   2> NOTE: reproduce with: ant test  -Dtestcase=TestNorms -Dtests.method=testCustomEncoder -Dtests.seed=A0ED4A2898663611 -Dtests.slow=true -Dtests.locale=ca -Dtests.timezone=EET -Dtests.file.encoding=UTF-8
   [junit4] FAILURE 0.35s J7 | TestNorms.testCustomEncoder <<<
   [junit4]    > Throwable #1: java.lang.AssertionError: expected:<1> but was:<3>
   [junit4]    > 	at __randomizedtesting.SeedInfo.seed([A0ED4A2898663611:CDE5EAD5F88707D9]:0)
   [junit4]    > 	at org.apache.lucene.index.TestNorms.testCustomEncoder(TestNorms.java:105)
   [junit4]    > 	at java.lang.Thread.run(Thread.java:724)
   [junit4]   2> NOTE: test params are: codec=Lucene46: {date=PostingsFormat(name=Lucene41VarGapFixedInterval), title=TestBloomFilteredLucene41Postings(BloomFilteringPostingsFormat(Lucene41(blocksize=128))), normsTestByte=Lucene41(blocksize=128), bar=PostingsFormat(name=Lucene41VarGapFixedInterval), body=PostingsFormat(name=Lucene41VarGapFixedInterval), docid_int=PostingsFormat(name=Lucene41VarGapFixedInterval), titleTokenized=Lucene41(blocksize=128), docid=PostingsFormat(name=Lucene41VarGapFixedInterval)}, docValues:{titleDV=DocValuesFormat(name=Asserting)}, sim=RandomSimilarityProvider(queryNorm=false,coord=crazy): {}, locale=ca, timezone=EET
   [junit4]   2> NOTE: Linux 3.2.0-26-generic amd64/Oracle Corporation 1.7.0_25 (64-bit)/cpus=8,threads=1,free=145419176,total=255918080
   [junit4]   2> NOTE: All tests run in this JVM: [TestForceMergeForever, TestConstants, TestScorerPerf, TestMergedIterator, TestField, TestTwoPhaseCommitTool, TestConsistentFieldNumbers, TestSmallFloat, TestNorms]
   [junit4] Completed on J7 in 9.99s, 2 tests, 1 failure <<< FAILURES!

[...truncated 1137 lines...]
BUILD FAILED
/var/lib/jenkins/workspace/Lucene-trunk-Linux-Java7-64-test-only/checkout/lucene/build.xml:49: The following error occurred while executing this line:
/var/lib/jenkins/workspace/Lucene-trunk-Linux-Java7-64-test-only/checkout/lucene/common-build.xml:1275: The following error occurred while executing this line:
/var/lib/jenkins/workspace/Lucene-trunk-Linux-Java7-64-test-only/checkout/lucene/common-build.xml:907: There were test failures: 385 suites, 2796 tests, 1 failure, 79 ignored (66 assumptions)

Total time: 5 minutes 18 seconds
Build step 'Invoke Ant' marked build as failure
Archiving artifacts
Recording test results
Email was triggered for: Failure
Sending email for trigger: Failure



Re: [JENKINS] Lucene-trunk-Linux-Java7-64-test-only - Build # 80733 - Failure!

Posted by Michael McCandless <lu...@mikemccandless.com>.
I'll move it :)

Mike McCandless

http://blog.mikemccandless.com


On Thu, Mar 27, 2014 at 6:44 PM, Robert Muir <rc...@gmail.com> wrote:
> The same test file does use linedocs. But not this test method. I
> think you accidentally fixed the wrong method? There are other test
> method(s) in this class using that buildIndex() method, which pulls
> from linedocs.
>
> I think your change belongs there in some shape...
>
> On Thu, Mar 27, 2014 at 3:41 PM, Michael McCandless
> <lu...@mikemccandless.com> wrote:
>> Indeed I was trying to fix any tests using LineFileDocs + MockAnalyzer
>> but clearly I royally screwed up this case because that test case does
>> not use LineFileDocs!!
>>
>> Sorry :(
>>
>> Thanks for fixing Rob.
>>
>> Mike McCandless
>>
>> http://blog.mikemccandless.com
>>
>>
>> On Thu, Mar 27, 2014 at 5:59 PM, Robert Muir <rc...@gmail.com> wrote:
>>> But it makes no sense for this test at all.
>>>
>>> in one field this test indexes 0 terms. in the other field it indexes 1 term.
>>>
>>> and the term is 9 characters long.
>>>
>>> On Thu, Mar 27, 2014 at 2:56 PM, Chris Hostetter
>>> <ho...@fucit.org> wrote:
>>>>
>>>> : I don't know why this line was added in r1575538 "don't try to index
>>>> : megaterms". Mike do you know?
>>>> :
>>>> :     analyzer.setMaxTokenLength(TestUtil.nextInt(random(), 1,
>>>> : IndexWriter.MAX_TERM_LENGTH));
>>>>
>>>> I don't know if that specific change in that specific test is a bug or not
>>>> (I haven't looked at MockAnalyzer in years), but i'm pretty sure the
>>>> context of r1575538 as a whole was this progression of failures after
>>>> LUCENE-5472 was committed...
>>>>
>>>> https://mail-archives.apache.org/mod_mbox/lucene-dev/201403.mbox/%3CCAL8Pwkahw=COoLN5w7MuxQ2+8mNtzeTqzH8DkPRk_ibpVD9JAg@mail.gmail.com%3E
>>>> http://svn.apache.org/r1574917
>>>>
>>>> https://mail-archives.apache.org/mod_mbox/lucene-dev/201403.mbox/%3CCAL8PwkYAzTsfekHyW4E7Yp6K=sZ-F0wdecePU8520pg1o1kE4w@mail.gmail.com%3E
>>>> http://svn.apache.org/r1575520
>>>>
>>>> ...i suspect mikemccand was trying to get a jump on other tests that would
>>>> trigger similar problems.
>>>>
>>>>
>>>> -Hoss
>>>> http://www.lucidworks.com/
>>>>
>>>> ---------------------------------------------------------------------
>>>> 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
>>
>
> ---------------------------------------------------------------------
> 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] Lucene-trunk-Linux-Java7-64-test-only - Build # 80733 - Failure!

Posted by Robert Muir <rc...@gmail.com>.
The same test file does use linedocs. But not this test method. I
think you accidentally fixed the wrong method? There are other test
method(s) in this class using that buildIndex() method, which pulls
from linedocs.

I think your change belongs there in some shape...

On Thu, Mar 27, 2014 at 3:41 PM, Michael McCandless
<lu...@mikemccandless.com> wrote:
> Indeed I was trying to fix any tests using LineFileDocs + MockAnalyzer
> but clearly I royally screwed up this case because that test case does
> not use LineFileDocs!!
>
> Sorry :(
>
> Thanks for fixing Rob.
>
> Mike McCandless
>
> http://blog.mikemccandless.com
>
>
> On Thu, Mar 27, 2014 at 5:59 PM, Robert Muir <rc...@gmail.com> wrote:
>> But it makes no sense for this test at all.
>>
>> in one field this test indexes 0 terms. in the other field it indexes 1 term.
>>
>> and the term is 9 characters long.
>>
>> On Thu, Mar 27, 2014 at 2:56 PM, Chris Hostetter
>> <ho...@fucit.org> wrote:
>>>
>>> : I don't know why this line was added in r1575538 "don't try to index
>>> : megaterms". Mike do you know?
>>> :
>>> :     analyzer.setMaxTokenLength(TestUtil.nextInt(random(), 1,
>>> : IndexWriter.MAX_TERM_LENGTH));
>>>
>>> I don't know if that specific change in that specific test is a bug or not
>>> (I haven't looked at MockAnalyzer in years), but i'm pretty sure the
>>> context of r1575538 as a whole was this progression of failures after
>>> LUCENE-5472 was committed...
>>>
>>> https://mail-archives.apache.org/mod_mbox/lucene-dev/201403.mbox/%3CCAL8Pwkahw=COoLN5w7MuxQ2+8mNtzeTqzH8DkPRk_ibpVD9JAg@mail.gmail.com%3E
>>> http://svn.apache.org/r1574917
>>>
>>> https://mail-archives.apache.org/mod_mbox/lucene-dev/201403.mbox/%3CCAL8PwkYAzTsfekHyW4E7Yp6K=sZ-F0wdecePU8520pg1o1kE4w@mail.gmail.com%3E
>>> http://svn.apache.org/r1575520
>>>
>>> ...i suspect mikemccand was trying to get a jump on other tests that would
>>> trigger similar problems.
>>>
>>>
>>> -Hoss
>>> http://www.lucidworks.com/
>>>
>>> ---------------------------------------------------------------------
>>> 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
>

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


Re: [JENKINS] Lucene-trunk-Linux-Java7-64-test-only - Build # 80733 - Failure!

Posted by Michael McCandless <lu...@mikemccandless.com>.
Indeed I was trying to fix any tests using LineFileDocs + MockAnalyzer
but clearly I royally screwed up this case because that test case does
not use LineFileDocs!!

Sorry :(

Thanks for fixing Rob.

Mike McCandless

http://blog.mikemccandless.com


On Thu, Mar 27, 2014 at 5:59 PM, Robert Muir <rc...@gmail.com> wrote:
> But it makes no sense for this test at all.
>
> in one field this test indexes 0 terms. in the other field it indexes 1 term.
>
> and the term is 9 characters long.
>
> On Thu, Mar 27, 2014 at 2:56 PM, Chris Hostetter
> <ho...@fucit.org> wrote:
>>
>> : I don't know why this line was added in r1575538 "don't try to index
>> : megaterms". Mike do you know?
>> :
>> :     analyzer.setMaxTokenLength(TestUtil.nextInt(random(), 1,
>> : IndexWriter.MAX_TERM_LENGTH));
>>
>> I don't know if that specific change in that specific test is a bug or not
>> (I haven't looked at MockAnalyzer in years), but i'm pretty sure the
>> context of r1575538 as a whole was this progression of failures after
>> LUCENE-5472 was committed...
>>
>> https://mail-archives.apache.org/mod_mbox/lucene-dev/201403.mbox/%3CCAL8Pwkahw=COoLN5w7MuxQ2+8mNtzeTqzH8DkPRk_ibpVD9JAg@mail.gmail.com%3E
>> http://svn.apache.org/r1574917
>>
>> https://mail-archives.apache.org/mod_mbox/lucene-dev/201403.mbox/%3CCAL8PwkYAzTsfekHyW4E7Yp6K=sZ-F0wdecePU8520pg1o1kE4w@mail.gmail.com%3E
>> http://svn.apache.org/r1575520
>>
>> ...i suspect mikemccand was trying to get a jump on other tests that would
>> trigger similar problems.
>>
>>
>> -Hoss
>> http://www.lucidworks.com/
>>
>> ---------------------------------------------------------------------
>> 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] Lucene-trunk-Linux-Java7-64-test-only - Build # 80733 - Failure!

Posted by Robert Muir <rc...@gmail.com>.
But it makes no sense for this test at all.

in one field this test indexes 0 terms. in the other field it indexes 1 term.

and the term is 9 characters long.

On Thu, Mar 27, 2014 at 2:56 PM, Chris Hostetter
<ho...@fucit.org> wrote:
>
> : I don't know why this line was added in r1575538 "don't try to index
> : megaterms". Mike do you know?
> :
> :     analyzer.setMaxTokenLength(TestUtil.nextInt(random(), 1,
> : IndexWriter.MAX_TERM_LENGTH));
>
> I don't know if that specific change in that specific test is a bug or not
> (I haven't looked at MockAnalyzer in years), but i'm pretty sure the
> context of r1575538 as a whole was this progression of failures after
> LUCENE-5472 was committed...
>
> https://mail-archives.apache.org/mod_mbox/lucene-dev/201403.mbox/%3CCAL8Pwkahw=COoLN5w7MuxQ2+8mNtzeTqzH8DkPRk_ibpVD9JAg@mail.gmail.com%3E
> http://svn.apache.org/r1574917
>
> https://mail-archives.apache.org/mod_mbox/lucene-dev/201403.mbox/%3CCAL8PwkYAzTsfekHyW4E7Yp6K=sZ-F0wdecePU8520pg1o1kE4w@mail.gmail.com%3E
> http://svn.apache.org/r1575520
>
> ...i suspect mikemccand was trying to get a jump on other tests that would
> trigger similar problems.
>
>
> -Hoss
> http://www.lucidworks.com/
>
> ---------------------------------------------------------------------
> 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] Lucene-trunk-Linux-Java7-64-test-only - Build # 80733 - Failure!

Posted by Chris Hostetter <ho...@fucit.org>.
: I don't know why this line was added in r1575538 "don't try to index
: megaterms". Mike do you know?
: 
:     analyzer.setMaxTokenLength(TestUtil.nextInt(random(), 1,
: IndexWriter.MAX_TERM_LENGTH));

I don't know if that specific change in that specific test is a bug or not 
(I haven't looked at MockAnalyzer in years), but i'm pretty sure the 
context of r1575538 as a whole was this progression of failures after 
LUCENE-5472 was committed...

https://mail-archives.apache.org/mod_mbox/lucene-dev/201403.mbox/%3CCAL8Pwkahw=COoLN5w7MuxQ2+8mNtzeTqzH8DkPRk_ibpVD9JAg@mail.gmail.com%3E
http://svn.apache.org/r1574917

https://mail-archives.apache.org/mod_mbox/lucene-dev/201403.mbox/%3CCAL8PwkYAzTsfekHyW4E7Yp6K=sZ-F0wdecePU8520pg1o1kE4w@mail.gmail.com%3E
http://svn.apache.org/r1575520

...i suspect mikemccand was trying to get a jump on other tests that would 
trigger similar problems.


-Hoss
http://www.lucidworks.com/

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


Re: [JENKINS] Lucene-trunk-Linux-Java7-64-test-only - Build # 80733 - Failure!

Posted by Robert Muir <rc...@gmail.com>.
I don't know why this line was added in r1575538 "don't try to index
megaterms". Mike do you know?

    analyzer.setMaxTokenLength(TestUtil.nextInt(random(), 1,
IndexWriter.MAX_TERM_LENGTH));

This obviously breaks the test: as it expect for the token its
providing to be indexed completely.

instead this randomly gets '3' so word singleton becomes 3 tokens:
sin, gle, ton. This means it gets length normalization of 3 instead of
1 and fails the test. I will remove this line, because to me it seems
obviously broken and does not make sense here as far as test coverage.
I assume it was just a mistake...

On Thu, Mar 27, 2014 at 1:45 PM, Robert Muir <rc...@gmail.com> wrote:
> this reproduces. Looking...
>
> On Thu, Mar 27, 2014 at 1:06 PM,  <bu...@flonkings.com> wrote:
>> Build: builds.flonkings.com/job/Lucene-trunk-Linux-Java7-64-test-only/80733/
>>
>> 1 tests failed.
>> REGRESSION:  org.apache.lucene.index.TestNorms.testCustomEncoder
>>
>> Error Message:
>> expected:<1> but was:<3>
>>
>> Stack Trace:
>> java.lang.AssertionError: expected:<1> but was:<3>
>>         at __randomizedtesting.SeedInfo.seed([A0ED4A2898663611:CDE5EAD5F88707D9]:0)
>>         at org.junit.Assert.fail(Assert.java:93)
>>         at org.junit.Assert.failNotEquals(Assert.java:647)
>>         at org.junit.Assert.assertEquals(Assert.java:128)
>>         at org.junit.Assert.assertEquals(Assert.java:472)
>>         at org.junit.Assert.assertEquals(Assert.java:456)
>>         at org.apache.lucene.index.TestNorms.testCustomEncoder(TestNorms.java:105)
>>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>>         at java.lang.reflect.Method.invoke(Method.java:606)
>>         at com.carrotsearch.randomizedtesting.RandomizedRunner.invoke(RandomizedRunner.java:1617)
>>         at com.carrotsearch.randomizedtesting.RandomizedRunner$6.evaluate(RandomizedRunner.java:826)
>>         at com.carrotsearch.randomizedtesting.RandomizedRunner$7.evaluate(RandomizedRunner.java:862)
>>         at com.carrotsearch.randomizedtesting.RandomizedRunner$8.evaluate(RandomizedRunner.java:876)
>>         at org.apache.lucene.util.TestRuleSetupTeardownChained$1.evaluate(TestRuleSetupTeardownChained.java:50)
>>         at org.apache.lucene.util.TestRuleFieldCacheSanity$1.evaluate(TestRuleFieldCacheSanity.java:51)
>>         at org.apache.lucene.util.AbstractBeforeAfterRule$1.evaluate(AbstractBeforeAfterRule.java:46)
>>         at com.carrotsearch.randomizedtesting.rules.SystemPropertiesInvariantRule$1.evaluate(SystemPropertiesInvariantRule.java:55)
>>         at org.apache.lucene.util.TestRuleThreadAndTestName$1.evaluate(TestRuleThreadAndTestName.java:49)
>>         at org.apache.lucene.util.TestRuleIgnoreAfterMaxFailures$1.evaluate(TestRuleIgnoreAfterMaxFailures.java:70)
>>         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:359)
>>         at com.carrotsearch.randomizedtesting.ThreadLeakControl.forkTimeoutingTask(ThreadLeakControl.java:783)
>>         at com.carrotsearch.randomizedtesting.ThreadLeakControl$3.evaluate(ThreadLeakControl.java:443)
>>         at com.carrotsearch.randomizedtesting.RandomizedRunner.runSingleTest(RandomizedRunner.java:835)
>>         at com.carrotsearch.randomizedtesting.RandomizedRunner$3.evaluate(RandomizedRunner.java:737)
>>         at com.carrotsearch.randomizedtesting.RandomizedRunner$4.evaluate(RandomizedRunner.java:771)
>>         at com.carrotsearch.randomizedtesting.RandomizedRunner$5.evaluate(RandomizedRunner.java:782)
>>         at org.apache.lucene.util.AbstractBeforeAfterRule$1.evaluate(AbstractBeforeAfterRule.java:46)
>>         at org.apache.lucene.util.TestRuleStoreClassName$1.evaluate(TestRuleStoreClassName.java:42)
>>         at com.carrotsearch.randomizedtesting.rules.SystemPropertiesInvariantRule$1.evaluate(SystemPropertiesInvariantRule.java:55)
>>         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 org.apache.lucene.util.TestRuleAssertionsRequired$1.evaluate(TestRuleAssertionsRequired.java:43)
>>         at org.apache.lucene.util.TestRuleMarkFailure$1.evaluate(TestRuleMarkFailure.java:48)
>>         at org.apache.lucene.util.TestRuleIgnoreAfterMaxFailures$1.evaluate(TestRuleIgnoreAfterMaxFailures.java:70)
>>         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:359)
>>         at java.lang.Thread.run(Thread.java:724)
>>
>>
>>
>>
>> Build Log:
>> [...truncated 275 lines...]
>>    [junit4] Suite: org.apache.lucene.index.TestNorms
>>    [junit4]   2> NOTE: reproduce with: ant test  -Dtestcase=TestNorms -Dtests.method=testCustomEncoder -Dtests.seed=A0ED4A2898663611 -Dtests.slow=true -Dtests.locale=ca -Dtests.timezone=EET -Dtests.file.encoding=UTF-8
>>    [junit4] FAILURE 0.35s J7 | TestNorms.testCustomEncoder <<<
>>    [junit4]    > Throwable #1: java.lang.AssertionError: expected:<1> but was:<3>
>>    [junit4]    >        at __randomizedtesting.SeedInfo.seed([A0ED4A2898663611:CDE5EAD5F88707D9]:0)
>>    [junit4]    >        at org.apache.lucene.index.TestNorms.testCustomEncoder(TestNorms.java:105)
>>    [junit4]    >        at java.lang.Thread.run(Thread.java:724)
>>    [junit4]   2> NOTE: test params are: codec=Lucene46: {date=PostingsFormat(name=Lucene41VarGapFixedInterval), title=TestBloomFilteredLucene41Postings(BloomFilteringPostingsFormat(Lucene41(blocksize=128))), normsTestByte=Lucene41(blocksize=128), bar=PostingsFormat(name=Lucene41VarGapFixedInterval), body=PostingsFormat(name=Lucene41VarGapFixedInterval), docid_int=PostingsFormat(name=Lucene41VarGapFixedInterval), titleTokenized=Lucene41(blocksize=128), docid=PostingsFormat(name=Lucene41VarGapFixedInterval)}, docValues:{titleDV=DocValuesFormat(name=Asserting)}, sim=RandomSimilarityProvider(queryNorm=false,coord=crazy): {}, locale=ca, timezone=EET
>>    [junit4]   2> NOTE: Linux 3.2.0-26-generic amd64/Oracle Corporation 1.7.0_25 (64-bit)/cpus=8,threads=1,free=145419176,total=255918080
>>    [junit4]   2> NOTE: All tests run in this JVM: [TestForceMergeForever, TestConstants, TestScorerPerf, TestMergedIterator, TestField, TestTwoPhaseCommitTool, TestConsistentFieldNumbers, TestSmallFloat, TestNorms]
>>    [junit4] Completed on J7 in 9.99s, 2 tests, 1 failure <<< FAILURES!
>>
>> [...truncated 1137 lines...]
>> BUILD FAILED
>> /var/lib/jenkins/workspace/Lucene-trunk-Linux-Java7-64-test-only/checkout/lucene/build.xml:49: The following error occurred while executing this line:
>> /var/lib/jenkins/workspace/Lucene-trunk-Linux-Java7-64-test-only/checkout/lucene/common-build.xml:1275: The following error occurred while executing this line:
>> /var/lib/jenkins/workspace/Lucene-trunk-Linux-Java7-64-test-only/checkout/lucene/common-build.xml:907: There were test failures: 385 suites, 2796 tests, 1 failure, 79 ignored (66 assumptions)
>>
>> Total time: 5 minutes 18 seconds
>> Build step 'Invoke Ant' marked build as failure
>> Archiving artifacts
>> Recording test results
>> Email was triggered for: Failure
>> Sending email for trigger: Failure
>>
>>
>>
>>
>> ---------------------------------------------------------------------
>> 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] Lucene-trunk-Linux-Java7-64-test-only - Build # 80733 - Failure!

Posted by Robert Muir <rc...@gmail.com>.
this reproduces. Looking...

On Thu, Mar 27, 2014 at 1:06 PM,  <bu...@flonkings.com> wrote:
> Build: builds.flonkings.com/job/Lucene-trunk-Linux-Java7-64-test-only/80733/
>
> 1 tests failed.
> REGRESSION:  org.apache.lucene.index.TestNorms.testCustomEncoder
>
> Error Message:
> expected:<1> but was:<3>
>
> Stack Trace:
> java.lang.AssertionError: expected:<1> but was:<3>
>         at __randomizedtesting.SeedInfo.seed([A0ED4A2898663611:CDE5EAD5F88707D9]:0)
>         at org.junit.Assert.fail(Assert.java:93)
>         at org.junit.Assert.failNotEquals(Assert.java:647)
>         at org.junit.Assert.assertEquals(Assert.java:128)
>         at org.junit.Assert.assertEquals(Assert.java:472)
>         at org.junit.Assert.assertEquals(Assert.java:456)
>         at org.apache.lucene.index.TestNorms.testCustomEncoder(TestNorms.java:105)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>         at java.lang.reflect.Method.invoke(Method.java:606)
>         at com.carrotsearch.randomizedtesting.RandomizedRunner.invoke(RandomizedRunner.java:1617)
>         at com.carrotsearch.randomizedtesting.RandomizedRunner$6.evaluate(RandomizedRunner.java:826)
>         at com.carrotsearch.randomizedtesting.RandomizedRunner$7.evaluate(RandomizedRunner.java:862)
>         at com.carrotsearch.randomizedtesting.RandomizedRunner$8.evaluate(RandomizedRunner.java:876)
>         at org.apache.lucene.util.TestRuleSetupTeardownChained$1.evaluate(TestRuleSetupTeardownChained.java:50)
>         at org.apache.lucene.util.TestRuleFieldCacheSanity$1.evaluate(TestRuleFieldCacheSanity.java:51)
>         at org.apache.lucene.util.AbstractBeforeAfterRule$1.evaluate(AbstractBeforeAfterRule.java:46)
>         at com.carrotsearch.randomizedtesting.rules.SystemPropertiesInvariantRule$1.evaluate(SystemPropertiesInvariantRule.java:55)
>         at org.apache.lucene.util.TestRuleThreadAndTestName$1.evaluate(TestRuleThreadAndTestName.java:49)
>         at org.apache.lucene.util.TestRuleIgnoreAfterMaxFailures$1.evaluate(TestRuleIgnoreAfterMaxFailures.java:70)
>         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:359)
>         at com.carrotsearch.randomizedtesting.ThreadLeakControl.forkTimeoutingTask(ThreadLeakControl.java:783)
>         at com.carrotsearch.randomizedtesting.ThreadLeakControl$3.evaluate(ThreadLeakControl.java:443)
>         at com.carrotsearch.randomizedtesting.RandomizedRunner.runSingleTest(RandomizedRunner.java:835)
>         at com.carrotsearch.randomizedtesting.RandomizedRunner$3.evaluate(RandomizedRunner.java:737)
>         at com.carrotsearch.randomizedtesting.RandomizedRunner$4.evaluate(RandomizedRunner.java:771)
>         at com.carrotsearch.randomizedtesting.RandomizedRunner$5.evaluate(RandomizedRunner.java:782)
>         at org.apache.lucene.util.AbstractBeforeAfterRule$1.evaluate(AbstractBeforeAfterRule.java:46)
>         at org.apache.lucene.util.TestRuleStoreClassName$1.evaluate(TestRuleStoreClassName.java:42)
>         at com.carrotsearch.randomizedtesting.rules.SystemPropertiesInvariantRule$1.evaluate(SystemPropertiesInvariantRule.java:55)
>         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 org.apache.lucene.util.TestRuleAssertionsRequired$1.evaluate(TestRuleAssertionsRequired.java:43)
>         at org.apache.lucene.util.TestRuleMarkFailure$1.evaluate(TestRuleMarkFailure.java:48)
>         at org.apache.lucene.util.TestRuleIgnoreAfterMaxFailures$1.evaluate(TestRuleIgnoreAfterMaxFailures.java:70)
>         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:359)
>         at java.lang.Thread.run(Thread.java:724)
>
>
>
>
> Build Log:
> [...truncated 275 lines...]
>    [junit4] Suite: org.apache.lucene.index.TestNorms
>    [junit4]   2> NOTE: reproduce with: ant test  -Dtestcase=TestNorms -Dtests.method=testCustomEncoder -Dtests.seed=A0ED4A2898663611 -Dtests.slow=true -Dtests.locale=ca -Dtests.timezone=EET -Dtests.file.encoding=UTF-8
>    [junit4] FAILURE 0.35s J7 | TestNorms.testCustomEncoder <<<
>    [junit4]    > Throwable #1: java.lang.AssertionError: expected:<1> but was:<3>
>    [junit4]    >        at __randomizedtesting.SeedInfo.seed([A0ED4A2898663611:CDE5EAD5F88707D9]:0)
>    [junit4]    >        at org.apache.lucene.index.TestNorms.testCustomEncoder(TestNorms.java:105)
>    [junit4]    >        at java.lang.Thread.run(Thread.java:724)
>    [junit4]   2> NOTE: test params are: codec=Lucene46: {date=PostingsFormat(name=Lucene41VarGapFixedInterval), title=TestBloomFilteredLucene41Postings(BloomFilteringPostingsFormat(Lucene41(blocksize=128))), normsTestByte=Lucene41(blocksize=128), bar=PostingsFormat(name=Lucene41VarGapFixedInterval), body=PostingsFormat(name=Lucene41VarGapFixedInterval), docid_int=PostingsFormat(name=Lucene41VarGapFixedInterval), titleTokenized=Lucene41(blocksize=128), docid=PostingsFormat(name=Lucene41VarGapFixedInterval)}, docValues:{titleDV=DocValuesFormat(name=Asserting)}, sim=RandomSimilarityProvider(queryNorm=false,coord=crazy): {}, locale=ca, timezone=EET
>    [junit4]   2> NOTE: Linux 3.2.0-26-generic amd64/Oracle Corporation 1.7.0_25 (64-bit)/cpus=8,threads=1,free=145419176,total=255918080
>    [junit4]   2> NOTE: All tests run in this JVM: [TestForceMergeForever, TestConstants, TestScorerPerf, TestMergedIterator, TestField, TestTwoPhaseCommitTool, TestConsistentFieldNumbers, TestSmallFloat, TestNorms]
>    [junit4] Completed on J7 in 9.99s, 2 tests, 1 failure <<< FAILURES!
>
> [...truncated 1137 lines...]
> BUILD FAILED
> /var/lib/jenkins/workspace/Lucene-trunk-Linux-Java7-64-test-only/checkout/lucene/build.xml:49: The following error occurred while executing this line:
> /var/lib/jenkins/workspace/Lucene-trunk-Linux-Java7-64-test-only/checkout/lucene/common-build.xml:1275: The following error occurred while executing this line:
> /var/lib/jenkins/workspace/Lucene-trunk-Linux-Java7-64-test-only/checkout/lucene/common-build.xml:907: There were test failures: 385 suites, 2796 tests, 1 failure, 79 ignored (66 assumptions)
>
> Total time: 5 minutes 18 seconds
> Build step 'Invoke Ant' marked build as failure
> Archiving artifacts
> Recording test results
> Email was triggered for: Failure
> Sending email for trigger: Failure
>
>
>
>
> ---------------------------------------------------------------------
> 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