lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert Muir <rcm...@gmail.com>
Subject Re: [JENKINS] Lucene-Solr-4.x-Linux (64bit/ibm-j9-jdk7) - Build # 1486 - Failure!
Date Tue, 02 Oct 2012 11:01:20 GMT
Index: src/test/org/apache/lucene/index/TestRollingUpdates.java
===================================================================
--- src/test/org/apache/lucene/index/TestRollingUpdates.java	(revision 1392824)
+++ src/test/org/apache/lucene/index/TestRollingUpdates.java	(working copy)
@@ -134,6 +134,9 @@

     _TestUtil.checkIndex(dir);

+    // so the computation below doesnt count old unreferenced stuff.
+    new IndexWriter(dir, new IndexWriterConfig(TEST_VERSION_CURRENT,
null)).close();
+
     // LUCENE-4455:
     SegmentInfos infos = new SegmentInfos();
     infos.read(dir);


But i dont like this, i dont like that this test disables checkindex
(why are there unref'ed files?!)

On Tue, Oct 2, 2012 at 6:45 AM, Michael McCandless
<lucene@mikemccandless.com> wrote:
> I'll dig: this is spooky!
>
> It's the new assert verifying SegmentInfoPerCommit.sizeInBytes is correct...
>
> Mike McCandless
>
> http://blog.mikemccandless.com
>
> On Tue, Oct 2, 2012 at 3:53 AM, Policeman Jenkins Server
> <jenkins@sd-datasolutions.de> wrote:
>> Build: http://jenkins.sd-datasolutions.de/job/Lucene-Solr-4.x-Linux/1486/
>> Java: 64bit/ibm-j9-jdk7 -Xjit:exclude={org/apache/lucene/util/fst/FST.pack(IIF)Lorg/apache/lucene/util/fst/FST;}
>>
>> 1 tests failed.
>> REGRESSION:  org.apache.lucene.index.TestRollingUpdates.testRollingUpdates
>>
>> Error Message:
>> expected:<819224> but was:<476819>
>>
>> Stack Trace:
>> java.lang.AssertionError: expected:<819224> but was:<476819>
>>         at __randomizedtesting.SeedInfo.seed([F933992B299C139E:77C898529A02B655]: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.TestRollingUpdates.testRollingUpdates(TestRollingUpdates.java:150)
>>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:88)
>>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55)
>>         at java.lang.reflect.Method.invoke(Method.java:613)
>>         at com.carrotsearch.randomizedtesting.RandomizedRunner.invoke(RandomizedRunner.java:1559)
>>         at com.carrotsearch.randomizedtesting.RandomizedRunner.access$600(RandomizedRunner.java:79)
>>         at com.carrotsearch.randomizedtesting.RandomizedRunner$6.evaluate(RandomizedRunner.java:737)
>>         at com.carrotsearch.randomizedtesting.RandomizedRunner$7.evaluate(RandomizedRunner.java:773)
>>         at com.carrotsearch.randomizedtesting.RandomizedRunner$8.evaluate(RandomizedRunner.java:787)
>>         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:45)
>>         at com.carrotsearch.randomizedtesting.rules.SystemPropertiesInvariantRule$1.evaluate(SystemPropertiesInvariantRule.java:55)
>>         at org.apache.lucene.util.TestRuleThreadAndTestName$1.evaluate(TestRuleThreadAndTestName.java:48)
>>         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:358)
>>         at com.carrotsearch.randomizedtesting.ThreadLeakControl.forkTimeoutingTask(ThreadLeakControl.java:782)
>>         at com.carrotsearch.randomizedtesting.ThreadLeakControl$3.evaluate(ThreadLeakControl.java:442)
>>         at com.carrotsearch.randomizedtesting.RandomizedRunner.runSingleTest(RandomizedRunner.java:746)
>>         at com.carrotsearch.randomizedtesting.RandomizedRunner$3.evaluate(RandomizedRunner.java:648)
>>         at com.carrotsearch.randomizedtesting.RandomizedRunner$4.evaluate(RandomizedRunner.java:682)
>>         at com.carrotsearch.randomizedtesting.RandomizedRunner$5.evaluate(RandomizedRunner.java:693)
>>         at org.apache.lucene.util.AbstractBeforeAfterRule$1.evaluate(AbstractBeforeAfterRule.java:45)
>>         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:358)
>>         at java.lang.Thread.run(Thread.java:777)
>>
>>
>>
>>
>> Build Log:
>> [...truncated 852 lines...]
>> [junit4:junit4] Suite: org.apache.lucene.index.TestRollingUpdates
>> [junit4:junit4]   2> NOTE: reproduce with: ant test  -Dtestcase=TestRollingUpdates
-Dtests.method=testRollingUpdates -Dtests.seed=F933992B299C139E -Dtests.multiplier=3 -Dtests.slow=true
-Dtests.locale=bg_BG -Dtests.timezone=SystemV/AST4 -Dtests.file.encoding=UTF-8
>> [junit4:junit4] FAILURE 1.25s J0 | TestRollingUpdates.testRollingUpdates <<<
>> [junit4:junit4]    > Throwable #1: java.lang.AssertionError: expected:<819224>
but was:<476819>
>> [junit4:junit4]    >    at __randomizedtesting.SeedInfo.seed([F933992B299C139E:77C898529A02B655]:0)
>> [junit4:junit4]    >    at org.junit.Assert.fail(Assert.java:93)
>> [junit4:junit4]    >    at org.junit.Assert.failNotEquals(Assert.java:647)
>> [junit4:junit4]    >    at org.junit.Assert.assertEquals(Assert.java:128)
>> [junit4:junit4]    >    at org.junit.Assert.assertEquals(Assert.java:472)
>> [junit4:junit4]    >    at org.junit.Assert.assertEquals(Assert.java:456)
>> [junit4:junit4]    >    at org.apache.lucene.index.TestRollingUpdates.testRollingUpdates(TestRollingUpdates.java:150)
>> [junit4:junit4]    >    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
>> [junit4:junit4]    >    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:88)
>> [junit4:junit4]    >    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55)
>> [junit4:junit4]    >    at java.lang.reflect.Method.invoke(Method.java:613)
>> [junit4:junit4]    >    at com.carrotsearch.randomizedtesting.RandomizedRunner.invoke(RandomizedRunner.java:1559)
>> [junit4:junit4]    >    at com.carrotsearch.randomizedtesting.RandomizedRunner.access$600(RandomizedRunner.java:79)
>> [junit4:junit4]    >    at com.carrotsearch.randomizedtesting.RandomizedRunner$6.evaluate(RandomizedRunner.java:737)
>> [junit4:junit4]    >    at com.carrotsearch.randomizedtesting.RandomizedRunner$7.evaluate(RandomizedRunner.java:773)
>> [junit4:junit4]    >    at com.carrotsearch.randomizedtesting.RandomizedRunner$8.evaluate(RandomizedRunner.java:787)
>> [junit4:junit4]    >    at org.apache.lucene.util.TestRuleSetupTeardownChained$1.evaluate(TestRuleSetupTeardownChained.java:50)
>> [junit4:junit4]    >    at org.apache.lucene.util.TestRuleFieldCacheSanity$1.evaluate(TestRuleFieldCacheSanity.java:51)
>> [junit4:junit4]    >    at org.apache.lucene.util.AbstractBeforeAfterRule$1.evaluate(AbstractBeforeAfterRule.java:45)
>> [junit4:junit4]    >    at com.carrotsearch.randomizedtesting.rules.SystemPropertiesInvariantRule$1.evaluate(SystemPropertiesInvariantRule.java:55)
>> [junit4:junit4]    >    at org.apache.lucene.util.TestRuleThreadAndTestName$1.evaluate(TestRuleThreadAndTestName.java:48)
>> [junit4:junit4]    >    at org.apache.lucene.util.TestRuleIgnoreAfterMaxFailures$1.evaluate(TestRuleIgnoreAfterMaxFailures.java:70)
>> [junit4:junit4]    >    at org.apache.lucene.util.TestRuleMarkFailure$1.evaluate(TestRuleMarkFailure.java:48)
>> [junit4:junit4]    >    at com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
>> [junit4:junit4]    >    at com.carrotsearch.randomizedtesting.ThreadLeakControl$StatementRunner.run(ThreadLeakControl.java:358)
>> [junit4:junit4]    >    at com.carrotsearch.randomizedtesting.ThreadLeakControl.forkTimeoutingTask(ThreadLeakControl.java:782)
>> [junit4:junit4]    >    at com.carrotsearch.randomizedtesting.ThreadLeakControl$3.evaluate(ThreadLeakControl.java:442)
>> [junit4:junit4]    >    at com.carrotsearch.randomizedtesting.RandomizedRunner.runSingleTest(RandomizedRunner.java:746)
>> [junit4:junit4]    >    at com.carrotsearch.randomizedtesting.RandomizedRunner$3.evaluate(RandomizedRunner.java:648)
>> [junit4:junit4]    >    at com.carrotsearch.randomizedtesting.RandomizedRunner$4.evaluate(RandomizedRunner.java:682)
>> [junit4:junit4]    >    at com.carrotsearch.randomizedtesting.RandomizedRunner$5.evaluate(RandomizedRunner.java:693)
>> [junit4:junit4]    >    at org.apache.lucene.util.AbstractBeforeAfterRule$1.evaluate(AbstractBeforeAfterRule.java:45)
>> [junit4:junit4]    >    at org.apache.lucene.util.TestRuleStoreClassName$1.evaluate(TestRuleStoreClassName.java:42)
>> [junit4:junit4]    >    at com.carrotsearch.randomizedtesting.rules.SystemPropertiesInvariantRule$1.evaluate(SystemPropertiesInvariantRule.java:55)
>> [junit4:junit4]    >    at com.carrotsearch.randomizedtesting.rules.NoShadowingOrOverridesOnMethodsRule$1.evaluate(NoShadowingOrOverridesOnMethodsRule.java:39)
>> [junit4:junit4]    >    at com.carrotsearch.randomizedtesting.rules.NoShadowingOrOverridesOnMethodsRule$1.evaluate(NoShadowingOrOverridesOnMethodsRule.java:39)
>> [junit4:junit4]    >    at com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
>> [junit4:junit4]    >    at org.apache.lucene.util.TestRuleAssertionsRequired$1.evaluate(TestRuleAssertionsRequired.java:43)
>> [junit4:junit4]    >    at org.apache.lucene.util.TestRuleMarkFailure$1.evaluate(TestRuleMarkFailure.java:48)
>> [junit4:junit4]    >    at org.apache.lucene.util.TestRuleIgnoreAfterMaxFailures$1.evaluate(TestRuleIgnoreAfterMaxFailures.java:70)
>> [junit4:junit4]    >    at org.apache.lucene.util.TestRuleIgnoreTestSuites$1.evaluate(TestRuleIgnoreTestSuites.java:55)
>> [junit4:junit4]    >    at com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
>> [junit4:junit4]    >    at com.carrotsearch.randomizedtesting.ThreadLeakControl$StatementRunner.run(ThreadLeakControl.java:358)
>> [junit4:junit4]    >    at java.lang.Thread.run(Thread.java:777)
>> [junit4:junit4]   2> NOTE: test params are: codec=Lucene40: {id=PostingsFormat(name=Direct)},
sim=RandomSimilarityProvider(queryNorm=false,coord=yes): {titleTokenized=DFR I(ne)L3(800.0),
body=DFR I(n)Z(0.3)}, locale=bg_BG, timezone=SystemV/AST4
>> [junit4:junit4]   2> NOTE: Linux 3.2.0-31-generic amd64/IBM Corporation 1.7.0
(64-bit)/cpus=8,threads=1,free=232580248,total=505282560
>> [junit4:junit4]   2> NOTE: All tests run in this JVM: [TestNewestSegment, TestIndexCommit,
TestTimeLimitingCollector, TestByteBlockPool, TestElevationComparator, TestConjunctions, TestIndexWriterCommit,
TestNot, TestNumericTokenStream, TestPayloads, TestShardSearching, TestDateFilter, TestIndexWriterReader,
TestCheckIndex, TestSmallFloat, TestSort, TestLazyProxSkipping, TestDoubleBarrelLRUCache,
TestPhraseQuery, TestIndexWriter, TestOmitPositions, Nested1, TestDeterminism, TestFilterIterator,
TestWeakIdentityMap, TestNumericUtils, TestSpanExplanationsOfNonMatches, TestByteSlices, TestCharTermAttributeImpl,
TestBooleanQuery, TestTopScoreDocCollector, TestNGramPhraseQuery, TestIndexWriterExceptions,
TestAtomicUpdate, TestRollback, TestBooleanOr, TestPerFieldPostingsFormat2, TestBagOfPostings,
TestConcurrentMergeScheduler, TestBufferedIndexInput, TestCopyBytes, TestParallelAtomicReader,
NestedSetupChain, NestedTeardownChain, TestWindowsMMap, TestPayloadSpans, TestParallelReaderEmptyIndex,
TestComplexExplanations, TestTermVectors, TestMultiMMap, TestDirectoryReaderReopen, TestFieldInfos,
TestDirectory, TestPayloadExplanations, Nested, Nested, Nested, Nested, Nested, Nested, Nested,
Nested, Nested, Nested, Nested, Nested, Nested, Nested, Nested, Nested, Nested, Nested, Nested,
Nested, Nested, TestReaderClosed, TestThreadedForceMerge, TestFixedBitSet, TestMergeSchedulerExternal,
TestCrash, TestSearchForDuplicates, TestSnapshotDeletionPolicy, TestIndexWriterOnJRECrash,
TestCachingCollector, TestFieldValueFilter, TestByteArrayDataInput, TestPositiveScoresOnlyCollector,
TestCloseableThreadLocal, TestSurrogates, TestRecyclingByteBlockAllocator, TestRollingBuffer,
TestImpersonation, TestVirtualMethod, TestOpenBitSet, TestSimpleSearchEquivalence, TestFlushByRamOrCountsPolicy,
TestNRTThreads, TestLucene40PostingsFormat, TestAttributeSource, TestConsistentFieldNumbers,
TestIndexWriterWithThreads, TestGraphTokenizers, TestNorms, TestLookaheadTokenFilter, TestSearcherManager,
TestDuelingCodecs, TestDeletionPolicy, TestAddIndexes, TestSearchAfter, TestArrayUtil, TestNRTCachingDirectory,
TestIndexWriterForceMerge, TestPagedBytes, TestToken, TestCompoundFile, TestSimpleExplanations,
TestCustomNorms, TestDeterminizeLexicon, TestTieredMergePolicy, TestDocValuesIndexing, TestHugeRamFile,
TestStressNRT, TestCrashCausesCorruptIndex, TestStressAdvance, TestLevenshteinAutomata, TestMultiValuedNumericRangeQuery,
TestFieldsReader, TestRollingUpdates]
>> [junit4:junit4] Completed on J0 in 1.80s, 2 tests, 1 failure <<< FAILURES!
>>
>> [...truncated 351 lines...]
>> BUILD FAILED
>> /mnt/ssd/jenkins/workspace/Lucene-Solr-4.x-Linux/build.xml:38: The following error
occurred while executing this line:
>> /mnt/ssd/jenkins/workspace/Lucene-Solr-4.x-Linux/lucene/build.xml:49: The following
error occurred while executing this line:
>> /mnt/ssd/jenkins/workspace/Lucene-Solr-4.x-Linux/lucene/common-build.xml:1143: The
following error occurred while executing this line:
>> /mnt/ssd/jenkins/workspace/Lucene-Solr-4.x-Linux/lucene/common-build.xml:816: There
were test failures: 314 suites, 1833 tests, 1 failure, 18 ignored (10 assumptions)
>>
>> Total time: 8 minutes 12 seconds
>> Build step 'Invoke Ant' marked build as failure
>> Recording test results
>> Description set: Java: 64bit/ibm-j9-jdk7 -Xjit:exclude={org/apache/lucene/util/fst/FST.pack(IIF)Lorg/apache/lucene/util/fst/FST;}
>> 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
>

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


Mime
View raw message