I removed this test: it relies on wall clock time.

Mike McCandless

http://blog.mikemccandless.com


On Thu, Jul 2, 2015 at 1:14 PM, Policeman Jenkins Server
<[email protected]> wrote:
> Build: http://jenkins.thetaphi.de/job/Lucene-Solr-5.x-Windows/4864/
> Java: 64bit/jdk1.8.0_45 -XX:-UseCompressedOops -XX:+UseSerialGC
>
> 1 tests failed.
> FAILED:  org.apache.lucene.store.TestRateLimiter.testPause
>
> Error Message:
> we should sleep less than 2 seconds but did: 2869 millis
>
> Stack Trace:
> java.lang.AssertionError: we should sleep less than 2 seconds but did: 2869 
> millis
>         at 
> __randomizedtesting.SeedInfo.seed([E311D588FB15F5B7:85B191B67038ACB1]:0)
>         at org.junit.Assert.fail(Assert.java:93)
>         at org.junit.Assert.assertTrue(Assert.java:43)
>         at 
> org.apache.lucene.store.TestRateLimiter.testPause(TestRateLimiter.java:41)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>         at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>         at java.lang.reflect.Method.invoke(Method.java:497)
>         at 
> com.carrotsearch.randomizedtesting.RandomizedRunner.invoke(RandomizedRunner.java:1627)
>         at 
> com.carrotsearch.randomizedtesting.RandomizedRunner$6.evaluate(RandomizedRunner.java:836)
>         at 
> com.carrotsearch.randomizedtesting.RandomizedRunner$7.evaluate(RandomizedRunner.java:872)
>         at 
> com.carrotsearch.randomizedtesting.RandomizedRunner$8.evaluate(RandomizedRunner.java:886)
>         at 
> org.apache.lucene.util.TestRuleSetupTeardownChained$1.evaluate(TestRuleSetupTeardownChained.java:50)
>         at 
> org.apache.lucene.util.AbstractBeforeAfterRule$1.evaluate(AbstractBeforeAfterRule.java:46)
>         at 
> org.apache.lucene.util.TestRuleThreadAndTestName$1.evaluate(TestRuleThreadAndTestName.java:49)
>         at 
> org.apache.lucene.util.TestRuleIgnoreAfterMaxFailures$1.evaluate(TestRuleIgnoreAfterMaxFailures.java:65)
>         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:365)
>         at 
> com.carrotsearch.randomizedtesting.ThreadLeakControl.forkTimeoutingTask(ThreadLeakControl.java:798)
>         at 
> com.carrotsearch.randomizedtesting.ThreadLeakControl$3.evaluate(ThreadLeakControl.java:458)
>         at 
> com.carrotsearch.randomizedtesting.RandomizedRunner.runSingleTest(RandomizedRunner.java:845)
>         at 
> com.carrotsearch.randomizedtesting.RandomizedRunner$3.evaluate(RandomizedRunner.java:747)
>         at 
> com.carrotsearch.randomizedtesting.RandomizedRunner$4.evaluate(RandomizedRunner.java:781)
>         at 
> com.carrotsearch.randomizedtesting.RandomizedRunner$5.evaluate(RandomizedRunner.java:792)
>         at 
> org.apache.lucene.util.AbstractBeforeAfterRule$1.evaluate(AbstractBeforeAfterRule.java:46)
>         at 
> com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
>         at 
> org.apache.lucene.util.TestRuleStoreClassName$1.evaluate(TestRuleStoreClassName.java:42)
>         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 
> com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
>         at 
> com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
>         at 
> org.apache.lucene.util.TestRuleAssertionsRequired$1.evaluate(TestRuleAssertionsRequired.java:54)
>         at 
> org.apache.lucene.util.TestRuleMarkFailure$1.evaluate(TestRuleMarkFailure.java:48)
>         at 
> org.apache.lucene.util.TestRuleIgnoreAfterMaxFailures$1.evaluate(TestRuleIgnoreAfterMaxFailures.java:65)
>         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:365)
>         at java.lang.Thread.run(Thread.java:745)
>
>
>
>
> Build Log:
> [...truncated 829 lines...]
>    [junit4] Suite: org.apache.lucene.store.TestRateLimiter
>    [junit4]   2> NOTE: reproduce with: ant test  -Dtestcase=TestRateLimiter 
> -Dtests.method=testPause -Dtests.seed=E311D588FB15F5B7 -Dtests.slow=true 
> -Dtests.locale=pt_PT -Dtests.timezone=Asia/Kuala_Lumpur -Dtests.asserts=true 
> -Dtests.file.encoding=US-ASCII
>    [junit4] FAILURE 2.65s J0 | TestRateLimiter.testPause <<<
>    [junit4]    > Throwable #1: java.lang.AssertionError: we should sleep less 
> than 2 seconds but did: 2869 millis
>    [junit4]    >        at 
> __randomizedtesting.SeedInfo.seed([E311D588FB15F5B7:85B191B67038ACB1]:0)
>    [junit4]    >        at 
> org.apache.lucene.store.TestRateLimiter.testPause(TestRateLimiter.java:41)
>    [junit4]    >        at java.lang.Thread.run(Thread.java:745)
>    [junit4]   2> NOTE: test params are: codec=CheapBastard, 
> sim=RandomSimilarityProvider(queryNorm=true,coord=no): {}, locale=pt_PT, 
> timezone=Asia/Kuala_Lumpur
>    [junit4]   2> NOTE: Windows 7 6.1 amd64/Oracle Corporation 1.8.0_45 
> (64-bit)/cpus=3,threads=1,free=40766672,total=70356992
>    [junit4]   2> NOTE: All tests run in this JVM: [TestWindowsMMap, 
> TestExceedMaxTermLength, TestWeakIdentityMap, 
> TestLucene50StoredFieldsFormatHighCompression, TestSizeBoundedForceMerge, 
> TestBoolean2, TestArrayUtil, TestBufferedChecksum, 
> TestRecyclingIntBlockAllocator, TestFilterIterator, TestFastCompressionMode, 
> TestSetOnce, TestPackedTokenAttributeImpl, TestCharFilter, 
> TestIndexWriterExceptions, TestDirectoryReaderReopen, 
> TestNativeFSLockFactory, TestSearchWithThreads, TestFileSwitchDirectory, 
> TestSimilarityBase, TestOfflineSorter, TestIndexWriterOutOfFileDescriptors, 
> TestSpanNearQuery, TestPayloadTermQuery, TestIndexWriterMerging, 
> TestBytesRef, TestCharTermAttributeImpl, TestSortedSetSelector, TestCharsRef, 
> TestDocInverterPerFieldErrorInfo, TestDuelingCodecs, TestVirtualMethod, 
> TestComplexExplanationsOfNonMatches, TestStressIndexing2, TestScorerPerf, 
> TestSpansAdvanced, TestPerFieldPostingsFormat, Test2BSortedDocValuesOrds, 
> TestControlledRealTimeReopenThread, Test2BPostingsBytes, TestTermRangeFilter, 
> TestSimpleExplanationsOfNonMatches, TestManyFields, 
> TestPerFieldPostingsFormat2, TestMergeSchedulerExternal, TestRateLimiter]
>    [junit4] Completed [87/403] on J0 in 3.25s, 3 tests, 1 failure <<< 
> FAILURES!
>
> [...truncated 1035 lines...]
> BUILD FAILED
> C:\Users\JenkinsSlave\workspace\Lucene-Solr-5.x-Windows\build.xml:536: The 
> following error occurred while executing this line:
> C:\Users\JenkinsSlave\workspace\Lucene-Solr-5.x-Windows\build.xml:484: The 
> following error occurred while executing this line:
> C:\Users\JenkinsSlave\workspace\Lucene-Solr-5.x-Windows\build.xml:61: The 
> following error occurred while executing this line:
> C:\Users\JenkinsSlave\workspace\Lucene-Solr-5.x-Windows\extra-targets.xml:39: 
> The following error occurred while executing this line:
> C:\Users\JenkinsSlave\workspace\Lucene-Solr-5.x-Windows\lucene\build.xml:50: 
> The following error occurred while executing this line:
> C:\Users\JenkinsSlave\workspace\Lucene-Solr-5.x-Windows\lucene\common-build.xml:1444:
>  The following error occurred while executing this line:
> C:\Users\JenkinsSlave\workspace\Lucene-Solr-5.x-Windows\lucene\common-build.xml:999:
>  There were test failures: 403 suites, 3270 tests, 1 failure, 56 ignored (52 
> assumptions)
>
> Total time: 5 minutes 51 seconds
> Build step 'Invoke Ant' marked build as failure
> Archiving artifacts
> Recording test results
> Email was triggered for: Failure - Any
> Sending email for trigger: Failure - Any
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to