lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael McCandless <luc...@mikemccandless.com>
Subject Re: Build failed in Jenkins: Lucene-trunk-Linux-Java7-64-test-only #2481
Date Mon, 20 Aug 2012 12:46:04 GMT
This is likely a [very] slow-machine issue: the first IndexWriter
didn't finish indexing its one document within 1 second ... and so the
2nd one got a timeout.

Mike McCandless

http://blog.mikemccandless.com

On Sat, Aug 18, 2012 at 3:19 PM, Dawid Weiss
<dawid.weiss@cs.put.poznan.pl> wrote:
> This looks serious?
>
> [junit4:junit4] Suite: org.apache.lucene.index.TestIndexWriterWithThreads
> [junit4:junit4]   1>
> org.apache.lucene.store.LockObtainFailedException: Lock obtain timed
> out: NativeFSLock@/var/lib/jenkins/workspace/Lucene-trunk-Linux-Java7-64-test-only/checkout/lucene/build/core/test/J0/index3073030731tmp/write.lock
> [junit4:junit4]   1>    at org.apache.lucene.store.Lock.obtain(Lock.java:84)
> [junit4:junit4]   1>    at
> org.apache.lucene.index.IndexWriter.<init>(IndexWriter.java:592)
> [junit4:junit4]   1>    at
> org.apache.lucene.index.TestIndexWriterWithThreads$DelayedIndexAndCloseRunnable.run(TestIndexWriterWithThreads.java:490)
> [junit4:junit4]   2> NOTE: reproduce with: ant test
> -Dtestcase=TestIndexWriterWithThreads
> -Dtests.method=testOpenTwoIndexWritersOnDifferentThreads
> -Dtests.seed=83732E99DA6CEA6F -Dtests.slow=true -Dtests.locale=el
> -Dtests.timezone=Indian/Kerguelen -Dtests.file.encoding=UTF-8
> [junit4:junit4] FAILURE 3.47s J0 |
> TestIndexWriterWithThreads.testOpenTwoIndexWritersOnDifferentThreads
> <<<
> [junit4:junit4]    > Throwable #1: java.lang.AssertionError: Failed
> due to: org.apache.lucene.store.LockObtainFailedException: Lock obtain
> timed out: NativeFSLock@/var/lib/jenkins/workspace/Lucene-trunk-Linux-Java7-64-test-only/checkout/lucene/build/core/test/J0/index3073030731tmp/write.lock
> [junit4:junit4]    >    at
> __randomizedtesting.SeedInfo.seed([83732E99DA6CEA6F:8EC633C1495A348E]:0)
> [junit4:junit4]    >    at org.junit.Assert.fail(Assert.java:93)
> [junit4:junit4]    >    at org.junit.Assert.assertTrue(Assert.java:43)
> [junit4:junit4]    >    at org.junit.Assert.assertFalse(Assert.java:68)
> [junit4:junit4]    >    at
> org.apache.lucene.index.TestIndexWriterWithThreads.testOpenTwoIndexWritersOnDifferentThreads(TestIndexWriterWithThreads.java:457)
> [junit4:junit4]    >    at
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> [junit4:junit4]    >    at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> [junit4:junit4]    >    at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> [junit4:junit4]    >    at java.lang.reflect.Method.invoke(Method.java:601)
> [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:345)
> [junit4:junit4]    >    at
> com.carrotsearch.randomizedtesting.ThreadLeakControl.forkTimeoutingTask(ThreadLeakControl.java:769)
> [junit4:junit4]    >    at
> com.carrotsearch.randomizedtesting.ThreadLeakControl$3.evaluate(ThreadLeakControl.java:429)
> [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
> org.apache.lucene.util.TestRuleAssertionsRequired$1.evaluate(TestRuleAssertionsRequired.java:40)
> [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:345)
> [junit4:junit4]    >    at java.lang.Thread.run(Thread.java:722)
> [junit4:junit4]   2> NOTE: test params are: codec=Lucene40:
> {field=PostingsFormat(name=TestBloomFilteredLucene40Postings),
> docid=PostingsFormat(name=Lucene40WithOrds),
> body=PostingsFormat(name=TestBloomFilteredLucene40Postings),
> title=Lucene40(minBlockSize=68 maxBlockSize=159),
> titleTokenized=PostingsFormat(name=MockSep),
> date=PostingsFormat(name=TestBloomFilteredLucene40Postings)},
> sim=RandomSimilarityProvider(queryNorm=true,coord=yes): {field=DFR
> GL2, body=DFR I(ne)2, titleTokenized=DefaultSimilarity}, locale=el,
> timezone=Indian/Kerguelen
> [junit4:junit4]   2> NOTE: Linux 3.2.0-26-generic amd64/Oracle
> Corporation 1.7.0_05
> (64-bit)/cpus=8,threads=1,free=104050208,total=187498496
> [junit4:junit4]   2> NOTE: All tests run in this JVM: [TestToken,
> TestNumericTokenStream, TestPayloadsOnVectors, TestFieldValueFilter,
> TestLock, TestWildcardRandom, TestIndexInput, TestTermRangeQuery,
> TestSimilarityBase, TestMockDirectoryWrapper, TestIndexWriterConfig,
> TestNumericUtils, TestIndexWriterWithThreads]
> [junit4:junit4] Completed on J0 in 37.15s, 12 tests, 1 failure <<< FAILURES!
>
> ---------------------------------------------------------------------
> 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