lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dawid Weiss (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SOLR-3461) TestRealTimeGet.testStressRecovery() is sometimes very slow on Windows, using al CPUs
Date Sat, 19 May 2012 07:34:08 GMT

    [ https://issues.apache.org/jira/browse/SOLR-3461?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13279472#comment-13279472
] 

Dawid Weiss commented on SOLR-3461:
-----------------------------------

I ran the above 20 times (windows 7, 64 bit, 4 ht cores (8 logical)).

All times were sensible:
{noformat}
Total time: 3 minutes 50 seconds
Total time: 3 minutes 43 seconds
Total time: 3 minutes 49 seconds
Total time: 3 minutes 45 seconds
Total time: 3 minutes 27 seconds
Total time: 3 minutes 50 seconds
Total time: 4 minutes 9 seconds
Total time: 3 minutes 42 seconds
Total time: 3 minutes 35 seconds
Total time: 3 minutes 55 seconds
Total time: 3 minutes 36 seconds
Total time: 3 minutes 42 seconds
Total time: 4 minutes 8 seconds
Total time: 3 minutes 54 seconds
Total time: 3 minutes 15 seconds
Total time: 4 minutes 2 seconds
Total time: 3 minutes 48 seconds
Total time: 3 minutes 57 seconds
Total time: 3 minutes 49 seconds
Total time: 3 minutes 44 seconds
{noformat}

I did encounter two failures though:

{noformat}

   [junit4] Suite: org.apache.solr.cloud.OverseerTest
   [junit4]    > (@BeforeClass output)
   [junit4]   2> Creating dataDir: c:\Work\lucene-solr\solr\build\solr-core\test\J2\.\solrtest-OverseerTest-1337375903710
   [junit4]   2> 
   [junit4] FAILURE 16.5s J2 | OverseerTest.testShardLeaderChange
   [junit4]    > Throwable #1: org.junit.ComparisonFailure: Unexpected shard leader coll:collection1
shard:shard1 expected:<core[1]> but was:<core[4]>
   [junit4]    > 	at __randomizedtesting.SeedInfo.seed([4877EC7806E56AF3:96246B8F1C7D9F02]:0)
   [junit4]    > 	at org.junit.Assert.assertEquals(Assert.java:125)
   [junit4]    > 	at org.apache.solr.cloud.OverseerTest.verifyShardLeader(OverseerTest.java:550)
   [junit4]    > 	at org.apache.solr.cloud.OverseerTest.testShardLeaderChange(OverseerTest.java:709)
   [junit4]    > 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   [junit4]    > 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
   [junit4]    > 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   [junit4]    > 	at java.lang.reflect.Method.invoke(Method.java:601)
   [junit4]    > 	at com.carrotsearch.randomizedtesting.RandomizedRunner.invoke(RandomizedRunner.java:1969)
   [junit4]    > 	at com.carrotsearch.randomizedtesting.RandomizedRunner.access$1100(RandomizedRunner.java:132)
   [junit4]    > 	at com.carrotsearch.randomizedtesting.RandomizedRunner$6.evaluate(RandomizedRunner.java:814)
   [junit4]    > 	at com.carrotsearch.randomizedtesting.RandomizedRunner$7.evaluate(RandomizedRunner.java:875)
   [junit4]    > 	at com.carrotsearch.randomizedtesting.RandomizedRunner$8.evaluate(RandomizedRunner.java:889)
   [junit4]    > 	at com.carrotsearch.randomizedtesting.rules.SystemPropertiesRestoreRule$1.evaluate(SystemPropertiesRestoreRule.java:53)
   [junit4]    > 	at org.apache.lucene.util.TestRuleSetupTeardownChained$1.evaluate(TestRuleSetupTeardownChained.java:50)
   [junit4]    > 	at org.apache.lucene.util.TestRuleFieldCacheSanity$1.evaluate(TestRuleFieldCacheSanity.java:32)
   [junit4]    > 	at org.apache.lucene.util.AbstractBeforeAfterRule$1.evaluate(AbstractBeforeAfterRule.java:45)
   [junit4]    > 	at com.carrotsearch.randomizedtesting.rules.SystemPropertiesInvariantRule$1.evaluate(SystemPropertiesInvariantRule.java:55)
   [junit4]    > 	at org.apache.lucene.util.TestRuleReportUncaughtExceptions$1.evaluate(TestRuleReportUncaughtExceptions.java:68)
   [junit4]    > 	at org.apache.lucene.util.TestRuleThreadAndTestName$1.evaluate(TestRuleThreadAndTestName.java:48)
   [junit4]    > 	at org.apache.lucene.util.TestRuleMarkFailure$1.evaluate(TestRuleMarkFailure.java:48)
   [junit4]    > 	at com.carrotsearch.randomizedtesting.RandomizedRunner.runSingleTest(RandomizedRunner.java:821)
   [junit4]    > 	at com.carrotsearch.randomizedtesting.RandomizedRunner.access$700(RandomizedRunner.java:132)
   [junit4]    > 	at com.carrotsearch.randomizedtesting.RandomizedRunner$3$1.run(RandomizedRunner.java:669)
   [junit4]    > 	at com.carrotsearch.randomizedtesting.RandomizedRunner$3.evaluate(RandomizedRunner.java:695)
   [junit4]    > 	at com.carrotsearch.randomizedtesting.RandomizedRunner$4.evaluate(RandomizedRunner.java:734)
   [junit4]    > 	at com.carrotsearch.randomizedtesting.RandomizedRunner$5.evaluate(RandomizedRunner.java:745)
   [junit4]    > 	at com.carrotsearch.randomizedtesting.rules.SystemPropertiesRestoreRule$1.evaluate(SystemPropertiesRestoreRule.java:53)
   [junit4]    > 	at org.apache.lucene.util.AbstractBeforeAfterRule$1.evaluate(AbstractBeforeAfterRule.java:45)
   [junit4]    > 	at org.apache.lucene.util.TestRuleReportUncaughtExceptions$1.evaluate(TestRuleReportUncaughtExceptions.java:68)
   [junit4]    > 	at org.apache.lucene.util.TestRuleStoreClassName$1.evaluate(TestRuleStoreClassName.java:38)
   [junit4]    > 	at org.apache.lucene.util.TestRuleIcuHack$1.evaluate(TestRuleIcuHack.java:51)
   [junit4]    > 	at com.carrotsearch.randomizedtesting.rules.SystemPropertiesInvariantRule$1.evaluate(SystemPropertiesInvariantRule.java:55)
   [junit4]    > 	at org.apache.lucene.util.TestRuleNoInstanceHooksOverrides$1.evaluate(TestRuleNoInstanceHooksOverrides.java:53)
   [junit4]    > 	at org.apache.lucene.util.TestRuleNoStaticHooksShadowing$1.evaluate(TestRuleNoStaticHooksShadowing.java:52)
   [junit4]    > 	at org.apache.lucene.util.TestRuleAssertionsRequired$1.evaluate(TestRuleAssertionsRequired.java:36)
   [junit4]    > 	at org.apache.lucene.util.TestRuleMarkFailure$1.evaluate(TestRuleMarkFailure.java:48)
   [junit4]    > 	at org.apache.lucene.util.TestRuleIgnoreTestSuites$1.evaluate(TestRuleIgnoreTestSuites.java:56)
   [junit4]    > 	at com.carrotsearch.randomizedtesting.RandomizedRunner.runSuite(RandomizedRunner.java:605)
   [junit4]    > 	at com.carrotsearch.randomizedtesting.RandomizedRunner.access$400(RandomizedRunner.java:132)
   [junit4]    > 	at com.carrotsearch.randomizedtesting.RandomizedRunner$2.run(RandomizedRunner.java:551)
   [junit4]    > 
   [junit4]   2> 44476 T3 oasc.CoreContainer.finalize SEVERE CoreContainer was not shutdown
prior to finalize(), indicates a bug -- POSSIBLE RESOURCE LEAK!!!  instance=1604799699
   [junit4]   2> NOTE: reproduce with: ant test -Dtestcase=OverseerTest -Dtests.method=testShardLeaderChange
-Dtests.seed=4877EC7806E56AF3 -Dtests.locale=ms -Dtests.timezone=Turkey -Dargs="-Dfile.encoding=Cp1252"
   [junit4]   2>
   [junit4]    > (@AfterClass output)
   [junit4]   2> NOTE: test params are: codec=Lucene40, sim=DefaultSimilarity, locale=ms,
timezone=Turkey
   [junit4]   2> NOTE: Windows 7 6.1 amd64/Oracle Corporation 1.7.0_03 (64-bit)/cpus=8,threads=2,free=205266912,total=237568000
   [junit4]   2> NOTE: All tests run in this JVM: [LeaderElectionIntegrationTest, ResourceLoaderTest,
TestSwedishLightStemFilterFactory, TestNGramFilters, TestElisionFilterFactory, RequestHandlersTest,
SpatialFilterTest, JSONWriterTest, TestLFUCache, UniqFieldsUpdateProcessorFactoryTest, DistanceFunctionTest,
TestRecovery, TestEnglishMinimalStemFilterFactory, DirectSolrConnectionTest, BadComponentTest,
TestIBSimilarityFactory, TestCoreContainer, BinaryUpdateRequestHandlerTest, OverseerTest]
   [junit4]   2> 
   [junit4] Completed on J2 in 56.89s, 7 tests, 1 failure <<< FAILURES!
{noformat}

This one does not reproduce. And another one:

{noformat}

   [junit4] Suite: org.apache.solr.spelling.suggest.SuggesterWFSTTest
   [junit4]    > (@BeforeClass output)
   [junit4]   2> Creating dataDir: c:\Work\lucene-solr\solr\build\solr-core\test\J1\.\solrtest-SuggesterWFSTTest-1337378283624
   [junit4]   2> 
   [junit4] ERROR   0.10s J1 | SuggesterWFSTTest.testRebuild
   [junit4]    > Throwable #1: java.lang.RuntimeException: Exception during query
   [junit4]    > 	at __randomizedtesting.SeedInfo.seed([4877EC7806E56AF3:13524E3B32E51069]:0)
   [junit4]    > 	at org.apache.solr.SolrTestCaseJ4.assertQ(SolrTestCaseJ4.java:454)
   [junit4]    > 	at org.apache.solr.SolrTestCaseJ4.assertQ(SolrTestCaseJ4.java:421)
   [junit4]    > 	at org.apache.solr.spelling.suggest.SuggesterTest.testRebuild(SuggesterTest.java:105)
   [junit4]    > 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   [junit4]    > 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
   [junit4]    > 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   [junit4]    > 	at java.lang.reflect.Method.invoke(Method.java:601)
   [junit4]    > 	at com.carrotsearch.randomizedtesting.RandomizedRunner.invoke(RandomizedRunner.java:1969)
   [junit4]    > 	at com.carrotsearch.randomizedtesting.RandomizedRunner.access$1100(RandomizedRunner.java:132)
   [junit4]    > 	at com.carrotsearch.randomizedtesting.RandomizedRunner$6.evaluate(RandomizedRunner.java:814)
   [junit4]    > 	at com.carrotsearch.randomizedtesting.RandomizedRunner$7.evaluate(RandomizedRunner.java:875)
   [junit4]    > 	at com.carrotsearch.randomizedtesting.RandomizedRunner$8.evaluate(RandomizedRunner.java:889)
   [junit4]    > 	at com.carrotsearch.randomizedtesting.rules.SystemPropertiesRestoreRule$1.evaluate(SystemPropertiesRestoreRule.java:53)
   [junit4]    > 	at org.apache.lucene.util.TestRuleSetupTeardownChained$1.evaluate(TestRuleSetupTeardownChained.java:50)
   [junit4]    > 	at org.apache.lucene.util.TestRuleFieldCacheSanity$1.evaluate(TestRuleFieldCacheSanity.java:32)
   [junit4]    > 	at org.apache.lucene.util.AbstractBeforeAfterRule$1.evaluate(AbstractBeforeAfterRule.java:45)
   [junit4]    > 	at com.carrotsearch.randomizedtesting.rules.SystemPropertiesInvariantRule$1.evaluate(SystemPropertiesInvariantRule.java:55)
   [junit4]    > 	at org.apache.lucene.util.TestRuleReportUncaughtExceptions$1.evaluate(TestRuleReportUncaughtExceptions.java:68)
   [junit4]    > 	at org.apache.lucene.util.TestRuleThreadAndTestName$1.evaluate(TestRuleThreadAndTestName.java:48)
   [junit4]    > 	at org.apache.lucene.util.TestRuleMarkFailure$1.evaluate(TestRuleMarkFailure.java:48)
   [junit4]    > 	at com.carrotsearch.randomizedtesting.RandomizedRunner.runSingleTest(RandomizedRunner.java:821)
   [junit4]    > 	at com.carrotsearch.randomizedtesting.RandomizedRunner.access$700(RandomizedRunner.java:132)
   [junit4]    > 	at com.carrotsearch.randomizedtesting.RandomizedRunner$3$1.run(RandomizedRunner.java:669)
   [junit4]    > 	at com.carrotsearch.randomizedtesting.RandomizedRunner$3.evaluate(RandomizedRunner.java:695)
   [junit4]    > 	at com.carrotsearch.randomizedtesting.RandomizedRunner$4.evaluate(RandomizedRunner.java:734)
   [junit4]    > 	at com.carrotsearch.randomizedtesting.RandomizedRunner$5.evaluate(RandomizedRunner.java:745)
   [junit4]    > 	at com.carrotsearch.randomizedtesting.rules.SystemPropertiesRestoreRule$1.evaluate(SystemPropertiesRestoreRule.java:53)
   [junit4]    > 	at org.apache.lucene.util.AbstractBeforeAfterRule$1.evaluate(AbstractBeforeAfterRule.java:45)
   [junit4]    > 	at org.apache.lucene.util.TestRuleReportUncaughtExceptions$1.evaluate(TestRuleReportUncaughtExceptions.java:68)
   [junit4]    > 	at org.apache.lucene.util.TestRuleStoreClassName$1.evaluate(TestRuleStoreClassName.java:38)
   [junit4]    > 	at org.apache.lucene.util.TestRuleIcuHack$1.evaluate(TestRuleIcuHack.java:51)
   [junit4]    > 	at com.carrotsearch.randomizedtesting.rules.SystemPropertiesInvariantRule$1.evaluate(SystemPropertiesInvariantRule.java:55)
   [junit4]    > 	at org.apache.lucene.util.TestRuleNoInstanceHooksOverrides$1.evaluate(TestRuleNoInstanceHooksOverrides.java:53)
   [junit4]    > 	at org.apache.lucene.util.TestRuleNoStaticHooksShadowing$1.evaluate(TestRuleNoStaticHooksShadowing.java:52)
   [junit4]    > 	at org.apache.lucene.util.TestRuleAssertionsRequired$1.evaluate(TestRuleAssertionsRequired.java:36)
   [junit4]    > 	at org.apache.lucene.util.TestRuleMarkFailure$1.evaluate(TestRuleMarkFailure.java:48)
   [junit4]    > 	at org.apache.lucene.util.TestRuleIgnoreTestSuites$1.evaluate(TestRuleIgnoreTestSuites.java:56)
   [junit4]    > 	at com.carrotsearch.randomizedtesting.RandomizedRunner.runSuite(RandomizedRunner.java:605)
   [junit4]    > 	at com.carrotsearch.randomizedtesting.RandomizedRunner.access$400(RandomizedRunner.java:132)
   [junit4]    > 	at com.carrotsearch.randomizedtesting.RandomizedRunner$2.run(RandomizedRunner.java:551)
   [junit4]    > Caused by: java.lang.NullPointerException
   [junit4]    > 	at org.apache.lucene.search.suggest.fst.WFSTCompletionLookup.lookupPrefix(WFSTCompletionLookup.java:193)
   [junit4]    > 	at org.apache.lucene.search.suggest.fst.WFSTCompletionLookup.lookup(WFSTCompletionLookup.java:155)
   [junit4]    > 	at org.apache.solr.spelling.suggest.Suggester.getSuggestions(Suggester.java:187)
   [junit4]    > 	at org.apache.solr.handler.component.SpellCheckComponent.process(SpellCheckComponent.java:150)
   [junit4]    > 	at org.apache.solr.handler.component.SearchHandler.handleRequestBody(SearchHandler.java:204)
   [junit4]    > 	at org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:129)
   [junit4]    > 	at org.apache.solr.core.SolrCore.execute(SolrCore.java:1555)
   [junit4]    > 	at org.apache.solr.util.TestHarness.query(TestHarness.java:357)
   [junit4]    > 	at org.apache.solr.util.TestHarness.query(TestHarness.java:340)
   [junit4]    > 	at org.apache.solr.SolrTestCaseJ4.assertQ(SolrTestCaseJ4.java:428)
   [junit4]    > 	... 39 more
   [junit4]    > 
   [junit4]   2> 110 T581 oashc.SpellCheckComponent$SpellCheckerListener.newSearcher SEVERE
Exception in reloading spell check index for spellchecker: suggest java.io.FileNotFoundException:
c:\Work\lucene-solr\solr\build\solr-core\test\J1\.\solrtest-SuggesterWFSTTest-1337378283624\suggest\jaspell.dat
(The system cannot find the file specified)
   [junit4]   2> 	at java.io.FileInputStream.open(Native Method)
   [junit4]   2> 	at java.io.FileInputStream.<init>(FileInputStream.java:138)
   [junit4]   2> 	at org.apache.solr.spelling.suggest.Suggester.reload(Suggester.java:163)
   [junit4]   2> 	at org.apache.solr.handler.component.SpellCheckComponent$SpellCheckerListener.newSearcher(SpellCheckComponent.java:607)
   [junit4]   2> 	at org.apache.solr.core.SolrCore$3.call(SolrCore.java:1335)
   [junit4]   2> 	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
   [junit4]   2> 	at java.util.concurrent.FutureTask.run(FutureTask.java:166)
   [junit4]   2> 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
   [junit4]   2> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
   [junit4]   2> 	at java.lang.Thread.run(Thread.java:722)
   [junit4]   2> 
   [junit4]   2> 135 T581 oashc.SpellCheckComponent$SpellCheckerListener.newSearcher SEVERE
Exception in reloading spell check index for spellchecker: suggest_tst java.io.FileNotFoundException:
c:\Work\lucene-solr\solr\build\solr-core\test\J1\.\solrtest-SuggesterWFSTTest-1337378283624\suggest_tst\tst.dat
(The system cannot find the file specified)
   [junit4]   2> 	at java.io.FileInputStream.open(Native Method)
   [junit4]   2> 	at java.io.FileInputStream.<init>(FileInputStream.java:138)
   [junit4]   2> 	at org.apache.solr.spelling.suggest.Suggester.reload(Suggester.java:163)
   [junit4]   2> 	at org.apache.solr.handler.component.SpellCheckComponent$SpellCheckerListener.newSearcher(SpellCheckComponent.java:607)
   [junit4]   2> 	at org.apache.solr.core.SolrCore$3.call(SolrCore.java:1335)
   [junit4]   2> 	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
   [junit4]   2> 	at java.util.concurrent.FutureTask.run(FutureTask.java:166)
   [junit4]   2> 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
   [junit4]   2> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
   [junit4]   2> 	at java.lang.Thread.run(Thread.java:722)
   [junit4]   2> 
   [junit4]   2> 135 T581 oashc.SpellCheckComponent$SpellCheckerListener.newSearcher SEVERE
Exception in reloading spell check index for spellchecker: suggest_fst java.io.FileNotFoundException:
c:\Work\lucene-solr\solr\build\solr-core\test\J1\.\solrtest-SuggesterWFSTTest-1337378283624\suggest_fst\fst.bin
(The system cannot find the file specified)
   [junit4]   2> 	at java.io.FileInputStream.open(Native Method)
   [junit4]   2> 	at java.io.FileInputStream.<init>(FileInputStream.java:138)
   [junit4]   2> 	at org.apache.solr.spelling.suggest.Suggester.reload(Suggester.java:163)
   [junit4]   2> 	at org.apache.solr.handler.component.SpellCheckComponent$SpellCheckerListener.newSearcher(SpellCheckComponent.java:607)
   [junit4]   2> 	at org.apache.solr.core.SolrCore$3.call(SolrCore.java:1335)
   [junit4]   2> 	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
   [junit4]   2> 	at java.util.concurrent.FutureTask.run(FutureTask.java:166)
   [junit4]   2> 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
   [junit4]   2> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
   [junit4]   2> 	at java.lang.Thread.run(Thread.java:722)
   [junit4]   2> 
   [junit4]   2> 136 T581 oashc.SpellCheckComponent$SpellCheckerListener.newSearcher SEVERE
Exception in reloading spell check index for spellchecker: suggest_wfst java.io.FileNotFoundException:
c:\Work\lucene-solr\solr\build\solr-core\test\J1\.\solrtest-SuggesterWFSTTest-1337378283624\suggest_wfst\wfst.bin
(The system cannot find the file specified)
   [junit4]   2> 	at java.io.FileInputStream.open(Native Method)
   [junit4]   2> 	at java.io.FileInputStream.<init>(FileInputStream.java:138)
   [junit4]   2> 	at org.apache.solr.spelling.suggest.Suggester.reload(Suggester.java:163)
   [junit4]   2> 	at org.apache.solr.handler.component.SpellCheckComponent$SpellCheckerListener.newSearcher(SpellCheckComponent.java:607)
   [junit4]   2> 	at org.apache.solr.core.SolrCore$3.call(SolrCore.java:1335)
   [junit4]   2> 	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
   [junit4]   2> 	at java.util.concurrent.FutureTask.run(FutureTask.java:166)
   [junit4]   2> 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
   [junit4]   2> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
   [junit4]   2> 	at java.lang.Thread.run(Thread.java:722)
   [junit4]   2> 
   [junit4]   2> ASYNC  NEW_CORE C1 name=collection1 org.apache.solr.core.SolrCore@f4bae25
   [junit4]   2> 139 T580 C1 oasc.SolrException.log SEVERE java.lang.NullPointerException
   [junit4]   2> 		at org.apache.lucene.search.suggest.fst.WFSTCompletionLookup.lookupPrefix(WFSTCompletionLookup.java:193)
   [junit4]   2> 		at org.apache.lucene.search.suggest.fst.WFSTCompletionLookup.lookup(WFSTCompletionLookup.java:155)
   [junit4]   2> 		at org.apache.solr.spelling.suggest.Suggester.getSuggestions(Suggester.java:187)
   [junit4]   2> 		at org.apache.solr.handler.component.SpellCheckComponent.process(SpellCheckComponent.java:150)
   [junit4]   2> 		at org.apache.solr.handler.component.SearchHandler.handleRequestBody(SearchHandler.java:204)
   [junit4]   2> 		at org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:129)
   [junit4]   2> 		at org.apache.solr.core.SolrCore.execute(SolrCore.java:1555)
   [junit4]   2> 		at org.apache.solr.util.TestHarness.query(TestHarness.java:357)
   [junit4]   2> 		at org.apache.solr.util.TestHarness.query(TestHarness.java:340)
   [junit4]   2> 		at org.apache.solr.SolrTestCaseJ4.assertQ(SolrTestCaseJ4.java:428)
   [junit4]   2> 		at org.apache.solr.SolrTestCaseJ4.assertQ(SolrTestCaseJ4.java:421)
   [junit4]   2> 		at org.apache.solr.spelling.suggest.SuggesterTest.testRebuild(SuggesterTest.java:105)
   [junit4]   2> 		at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   [junit4]   2> 		at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
   [junit4]   2> 		at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   [junit4]   2> 		at java.lang.reflect.Method.invoke(Method.java:601)
   [junit4]   2> 		at com.carrotsearch.randomizedtesting.RandomizedRunner.invoke(RandomizedRunner.java:1969)
   [junit4]   2> 		at com.carrotsearch.randomizedtesting.RandomizedRunner.access$1100(RandomizedRunner.java:132)
   [junit4]   2> 		at com.carrotsearch.randomizedtesting.RandomizedRunner$6.evaluate(RandomizedRunner.java:814)
   [junit4]   2> 		at com.carrotsearch.randomizedtesting.RandomizedRunner$7.evaluate(RandomizedRunner.java:875)
   [junit4]   2> 		at com.carrotsearch.randomizedtesting.RandomizedRunner$8.evaluate(RandomizedRunner.java:889)
   [junit4]   2> 		at com.carrotsearch.randomizedtesting.rules.SystemPropertiesRestoreRule$1.evaluate(SystemPropertiesRestoreRule.java:53)
   [junit4]   2> 		at org.apache.lucene.util.TestRuleSetupTeardownChained$1.evaluate(TestRuleSetupTeardownChained.java:50)
   [junit4]   2> 		at org.apache.lucene.util.TestRuleFieldCacheSanity$1.evaluate(TestRuleFieldCacheSanity.java:32)
   [junit4]   2> 		at org.apache.lucene.util.AbstractBeforeAfterRule$1.evaluate(AbstractBeforeAfterRule.java:45)
   [junit4]   2> 		at com.carrotsearch.randomizedtesting.rules.SystemPropertiesInvariantRule$1.evaluate(SystemPropertiesInvariantRule.java:55)
   [junit4]   2> 		at org.apache.lucene.util.TestRuleReportUncaughtExceptions$1.evaluate(TestRuleReportUncaughtExceptions.java:68)
   [junit4]   2> 		at org.apache.lucene.util.TestRuleThreadAndTestName$1.evaluate(TestRuleThreadAndTestName.java:48)
   [junit4]   2> 		at org.apache.lucene.util.TestRuleMarkFailure$1.evaluate(TestRuleMarkFailure.java:48)
   [junit4]   2> 		at com.carrotsearch.randomizedtesting.RandomizedRunner.runSingleTest(RandomizedRunner.java:821)
   [junit4]   2> 		at com.carrotsearch.randomizedtesting.RandomizedRunner.access$700(RandomizedRunner.java:132)
   [junit4]   2> 		at com.carrotsearch.randomizedtesting.RandomizedRunner$3$1.run(RandomizedRunner.java:669)
   [junit4]   2> 		at com.carrotsearch.randomizedtesting.RandomizedRunner$3.evaluate(RandomizedRunner.java:695)
   [junit4]   2> 		at com.carrotsearch.randomizedtesting.RandomizedRunner$4.evaluate(RandomizedRunner.java:734)
   [junit4]   2> 		at com.carrotsearch.randomizedtesting.RandomizedRunner$5.evaluate(RandomizedRunner.java:745)
   [junit4]   2> 		at com.carrotsearch.randomizedtesting.rules.SystemPropertiesRestoreRule$1.evaluate(SystemPropertiesRestoreRule.java:53)
   [junit4]   2> 		at org.apache.lucene.util.AbstractBeforeAfterRule$1.evaluate(AbstractBeforeAfterRule.java:45)
   [junit4]   2> 		at org.apache.lucene.util.TestRuleReportUncaughtExceptions$1.evaluate(TestRuleReportUncaughtExceptions.java:68)
   [junit4]   2> 		at org.apache.lucene.util.TestRuleStoreClassName$1.evaluate(TestRuleStoreClassName.java:38)
   [junit4]   2> 		at org.apache.lucene.util.TestRuleIcuHack$1.evaluate(TestRuleIcuHack.java:51)
   [junit4]   2> 		at com.carrotsearch.randomizedtesting.rules.SystemPropertiesInvariantRule$1.evaluate(SystemPropertiesInvariantRule.java:55)
   [junit4]   2> 		at org.apache.lucene.util.TestRuleNoInstanceHooksOverrides$1.evaluate(TestRuleNoInstanceHooksOverrides.java:53)
   [junit4]   2> 		at org.apache.lucene.util.TestRuleNoStaticHooksShadowing$1.evaluate(TestRuleNoStaticHooksShadowing.java:52)
   [junit4]   2> 		at org.apache.lucene.util.TestRuleAssertionsRequired$1.evaluate(TestRuleAssertionsRequired.java:36)
   [junit4]   2> 		at org.apache.lucene.util.TestRuleMarkFailure$1.evaluate(TestRuleMarkFailure.java:48)
   [junit4]   2> 		at org.apache.lucene.util.TestRuleIgnoreTestSuites$1.evaluate(TestRuleIgnoreTestSuites.java:56)
   [junit4]   2> 		at com.carrotsearch.randomizedtesting.RandomizedRunner.runSuite(RandomizedRunner.java:605)
   [junit4]   2> 		at com.carrotsearch.randomizedtesting.RandomizedRunner.access$400(RandomizedRunner.java:132)
   [junit4]   2> 		at com.carrotsearch.randomizedtesting.RandomizedRunner$2.run(RandomizedRunner.java:551)
   [junit4]   2> 	
   [junit4]   2> 142 T580 oasc.SolrException.log SEVERE REQUEST FAILED: q=ac&spellcheck.count=2&qt=/suggest_wfst&spellcheck.onlyMorePopular=true:java.lang.NullPointerException
   [junit4]   2> 		at org.apache.lucene.search.suggest.fst.WFSTCompletionLookup.lookupPrefix(WFSTCompletionLookup.java:193)
   [junit4]   2> 		at org.apache.lucene.search.suggest.fst.WFSTCompletionLookup.lookup(WFSTCompletionLookup.java:155)
   [junit4]   2> 		at org.apache.solr.spelling.suggest.Suggester.getSuggestions(Suggester.java:187)
   [junit4]   2> 		at org.apache.solr.handler.component.SpellCheckComponent.process(SpellCheckComponent.java:150)
   [junit4]   2> 		at org.apache.solr.handler.component.SearchHandler.handleRequestBody(SearchHandler.java:204)
   [junit4]   2> 		at org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:129)
   [junit4]   2> 		at org.apache.solr.core.SolrCore.execute(SolrCore.java:1555)
   [junit4]   2> 		at org.apache.solr.util.TestHarness.query(TestHarness.java:357)
   [junit4]   2> 		at org.apache.solr.util.TestHarness.query(TestHarness.java:340)
   [junit4]   2> 		at org.apache.solr.SolrTestCaseJ4.assertQ(SolrTestCaseJ4.java:428)
   [junit4]   2> 		at org.apache.solr.SolrTestCaseJ4.assertQ(SolrTestCaseJ4.java:421)
   [junit4]   2> 		at org.apache.solr.spelling.suggest.SuggesterTest.testRebuild(SuggesterTest.java:105)
   [junit4]   2> 		at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   [junit4]   2> 		at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
   [junit4]   2> 		at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   [junit4]   2> 		at java.lang.reflect.Method.invoke(Method.java:601)
   [junit4]   2> 		at com.carrotsearch.randomizedtesting.RandomizedRunner.invoke(RandomizedRunner.java:1969)
   [junit4]   2> 		at com.carrotsearch.randomizedtesting.RandomizedRunner.access$1100(RandomizedRunner.java:132)
   [junit4]   2> 		at com.carrotsearch.randomizedtesting.RandomizedRunner$6.evaluate(RandomizedRunner.java:814)
   [junit4]   2> 		at com.carrotsearch.randomizedtesting.RandomizedRunner$7.evaluate(RandomizedRunner.java:875)
   [junit4]   2> 		at com.carrotsearch.randomizedtesting.RandomizedRunner$8.evaluate(RandomizedRunner.java:889)
   [junit4]   2> 		at com.carrotsearch.randomizedtesting.rules.SystemPropertiesRestoreRule$1.evaluate(SystemPropertiesRestoreRule.java:53)
   [junit4]   2> 		at org.apache.lucene.util.TestRuleSetupTeardownChained$1.evaluate(TestRuleSetupTeardownChained.java:50)
   [junit4]   2> 		at org.apache.lucene.util.TestRuleFieldCacheSanity$1.evaluate(TestRuleFieldCacheSanity.java:32)
   [junit4]   2> 		at org.apache.lucene.util.AbstractBeforeAfterRule$1.evaluate(AbstractBeforeAfterRule.java:45)
   [junit4]   2> 		at com.carrotsearch.randomizedtesting.rules.SystemPropertiesInvariantRule$1.evaluate(SystemPropertiesInvariantRule.java:55)
   [junit4]   2> 		at org.apache.lucene.util.TestRuleReportUncaughtExceptions$1.evaluate(TestRuleReportUncaughtExceptions.java:68)
   [junit4]   2> 		at org.apache.lucene.util.TestRuleThreadAndTestName$1.evaluate(TestRuleThreadAndTestName.java:48)
   [junit4]   2> 		at org.apache.lucene.util.TestRuleMarkFailure$1.evaluate(TestRuleMarkFailure.java:48)
   [junit4]   2> 		at com.carrotsearch.randomizedtesting.RandomizedRunner.runSingleTest(RandomizedRunner.java:821)
   [junit4]   2> 		at com.carrotsearch.randomizedtesting.RandomizedRunner.access$700(RandomizedRunner.java:132)
   [junit4]   2> 		at com.carrotsearch.randomizedtesting.RandomizedRunner$3$1.run(RandomizedRunner.java:669)
   [junit4]   2> 		at com.carrotsearch.randomizedtesting.RandomizedRunner$3.evaluate(RandomizedRunner.java:695)
   [junit4]   2> 		at com.carrotsearch.randomizedtesting.RandomizedRunner$4.evaluate(RandomizedRunner.java:734)
   [junit4]   2> 		at com.carrotsearch.randomizedtesting.RandomizedRunner$5.evaluate(RandomizedRunner.java:745)
   [junit4]   2> 		at com.carrotsearch.randomizedtesting.rules.SystemPropertiesRestoreRule$1.evaluate(SystemPropertiesRestoreRule.java:53)
   [junit4]   2> 		at org.apache.lucene.util.AbstractBeforeAfterRule$1.evaluate(AbstractBeforeAfterRule.java:45)
   [junit4]   2> 		at org.apache.lucene.util.TestRuleReportUncaughtExceptions$1.evaluate(TestRuleReportUncaughtExceptions.java:68)
   [junit4]   2> 		at org.apache.lucene.util.TestRuleStoreClassName$1.evaluate(TestRuleStoreClassName.java:38)
   [junit4]   2> 		at org.apache.lucene.util.TestRuleIcuHack$1.evaluate(TestRuleIcuHack.java:51)
   [junit4]   2> 		at com.carrotsearch.randomizedtesting.rules.SystemPropertiesInvariantRule$1.evaluate(SystemPropertiesInvariantRule.java:55)
   [junit4]   2> 		at org.apache.lucene.util.TestRuleNoInstanceHooksOverrides$1.evaluate(TestRuleNoInstanceHooksOverrides.java:53)
   [junit4]   2> 		at org.apache.lucene.util.TestRuleNoStaticHooksShadowing$1.evaluate(TestRuleNoStaticHooksShadowing.java:52)
   [junit4]   2> 		at org.apache.lucene.util.TestRuleAssertionsRequired$1.evaluate(TestRuleAssertionsRequired.java:36)
   [junit4]   2> 		at org.apache.lucene.util.TestRuleMarkFailure$1.evaluate(TestRuleMarkFailure.java:48)
   [junit4]   2> 		at org.apache.lucene.util.TestRuleIgnoreTestSuites$1.evaluate(TestRuleIgnoreTestSuites.java:56)
   [junit4]   2> 		at com.carrotsearch.randomizedtesting.RandomizedRunner.runSuite(RandomizedRunner.java:605)
   [junit4]   2> 		at com.carrotsearch.randomizedtesting.RandomizedRunner.access$400(RandomizedRunner.java:132)
   [junit4]   2> 		at com.carrotsearch.randomizedtesting.RandomizedRunner$2.run(RandomizedRunner.java:551)
   [junit4]   2> 	
   [junit4]   2> NOTE: reproduce with: ant test -Dtestcase=SuggesterWFSTTest -Dtests.method=testRebuild
-Dtests.seed=4877EC7806E56AF3 -Dtests.locale=ar_IQ -Dtests.timezone=Asia/Kuwait -Dargs="-Dfile.encoding=Cp1252"
   [junit4]   2>
   [junit4]    > (@AfterClass output)
   [junit4]   2> NOTE: test params are: codec=Lucene40, sim=RandomSimilarityProvider(queryNorm=false,coord=false):
{}, locale=ar_IQ, timezone=Asia/Kuwait
   [junit4]   2> NOTE: Windows 7 6.1 amd64/Oracle Corporation 1.7.0_03 (64-bit)/cpus=8,threads=1,free=176206808,total=260833280
   [junit4]   2> NOTE: All tests run in this JVM: [ZkSolrClientTest, TestBadConfig, PolyFieldTest,
TestPortugueseLightStemFilterFactory, TestGermanMinimalStemFilterFactory, TestArbitraryIndexDir,
TestRealTimeGet, TestFiltering, SortByFunctionTest, SolrPluginUtilsTest, SpellCheckCollatorTest,
TestDefaultSimilarityFactory, TestGreekLowerCaseFilterFactory, SolrIndexConfigTest, SuggesterFSTTest,
XsltUpdateRequestHandlerTest, TestCollationField, DistributedSpellCheckComponentTest, PluginInfoTest,
TestKStemFilterFactory, DateMathParserTest, TestQueryTypes, TestSlowSynonymFilter, TestNumberUtils,
TestKeywordMarkerFilterFactory, TestQuerySenderNoQuery, TestPersianNormalizationFilterFactory,
StatsComponentTest, EchoParamsTest, TestChineseFilterFactory, ShowFileRequestHandlerTest,
DirectUpdateHandlerOptimizeTest, MultiTermTest, TestRangeQuery, SolrRequestParserTest, TestBM25SimilarityFactory,
DOMUtilTest, RAMDirectoryFactoryTest, SearchHandlerTest, SpellingQueryConverterTest, TestIndonesianStemFilterFactory,
TestGermanLightStemFilterFactory, TestHashPartitioner, TestTurkishLowerCaseFilterFactory,
TestPHPSerializedResponseWriter, TermVectorComponentTest, NodeStateWatcherTest, DoubleMetaphoneFilterFactoryTest,
CommonGramsFilterFactoryTest, TestPortugueseMinimalStemFilterFactory, TestFoldingMultitermQuery,
TestDistributedSearch, SimpleFacetsTest, LukeRequestHandlerTest, SuggesterWFSTTest]
   [junit4]   2> 
   [junit4] Completed on J1 in 0.78s, 4 tests, 1 error <<< FAILURES!
{noformat}

Also doesn't reproduce with this seed. I looked in the code but it's weird -- looks like the
index was not created at all (file not found when trying to open suggesters).

                
> TestRealTimeGet.testStressRecovery() is sometimes very slow on Windows, using al CPUs
> -------------------------------------------------------------------------------------
>
>                 Key: SOLR-3461
>                 URL: https://issues.apache.org/jira/browse/SOLR-3461
>             Project: Solr
>          Issue Type: Bug
>          Components: update
>    Affects Versions: 4.0
>            Reporter: Uwe Schindler
>
> I already noticed that on my local machine (Thinkpad Laptop with SSD), but
> I was thinking it might be my slow IO system (thanks Robert for this
> running-gag). But when reviewing test times on the new Jenkins Windows
> build server, this test takes very long (around 30 minutes, which is half
> of the complete time when running with 1 test runner on 2 cores).
> There must be something that makes this test very slow on Windows:
> http://goo.gl/irDVw
> The method taking so long is actually "testStressRecovery", I would like
> to @Ignore it until it is fixed. It makes running Solr tests in Windows
> take ages and stops me from running them at all :(

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

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


Mime
View raw message