You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by Apache Jenkins Server <je...@builds.apache.org> on 2012/06/01 23:55:05 UTC

[JENKINS] Lucene-Solr-tests-only-trunk - Build # 14500 - Failure

Build: https://builds.apache.org/job/Lucene-Solr-tests-only-trunk/14500/

1 tests failed.
FAILED:  junit.framework.TestSuite.org.apache.solr.handler.TestReplicationHandler

Error Message:
ERROR: SolrIndexSearcher opens=74 closes=73

Stack Trace:
java.lang.AssertionError: ERROR: SolrIndexSearcher opens=74 closes=73
	at __randomizedtesting.SeedInfo.seed([39E592AB06F158EA]:0)
	at org.junit.Assert.fail(Assert.java:93)
	at org.apache.solr.SolrTestCaseJ4.endTrackingSearchers(SolrTestCaseJ4.java:190)
	at org.apache.solr.SolrTestCaseJ4.afterClass(SolrTestCaseJ4.java:82)
	at sun.reflect.GeneratedMethodAccessor15.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:616)
	at com.carrotsearch.randomizedtesting.RandomizedRunner.invoke(RandomizedRunner.java:1969)
	at com.carrotsearch.randomizedtesting.RandomizedRunner.access$1100(RandomizedRunner.java:132)
	at com.carrotsearch.randomizedtesting.RandomizedRunner$5.evaluate(RandomizedRunner.java:752)
	at com.carrotsearch.randomizedtesting.rules.SystemPropertiesRestoreRule$1.evaluate(SystemPropertiesRestoreRule.java:53)
	at org.apache.lucene.util.AbstractBeforeAfterRule$1.evaluate(AbstractBeforeAfterRule.java:45)
	at org.apache.lucene.util.TestRuleReportUncaughtExceptions$1.evaluate(TestRuleReportUncaughtExceptions.java:68)
	at org.apache.lucene.util.TestRuleStoreClassName$1.evaluate(TestRuleStoreClassName.java:38)
	at org.apache.lucene.util.TestRuleIcuHack$1.evaluate(TestRuleIcuHack.java:51)
	at com.carrotsearch.randomizedtesting.rules.SystemPropertiesInvariantRule$1.evaluate(SystemPropertiesInvariantRule.java:55)
	at org.apache.lucene.util.TestRuleNoInstanceHooksOverrides$1.evaluate(TestRuleNoInstanceHooksOverrides.java:53)
	at org.apache.lucene.util.TestRuleNoStaticHooksShadowing$1.evaluate(TestRuleNoStaticHooksShadowing.java:52)
	at org.apache.lucene.util.TestRuleAssertionsRequired$1.evaluate(TestRuleAssertionsRequired.java:36)
	at org.apache.lucene.util.TestRuleMarkFailure$1.evaluate(TestRuleMarkFailure.java:48)
	at org.apache.lucene.util.TestRuleIgnoreTestSuites$1.evaluate(TestRuleIgnoreTestSuites.java:56)
	at com.carrotsearch.randomizedtesting.RandomizedRunner.runSuite(RandomizedRunner.java:605)
	at com.carrotsearch.randomizedtesting.RandomizedRunner.access$400(RandomizedRunner.java:132)
	at com.carrotsearch.randomizedtesting.RandomizedRunner$2.run(RandomizedRunner.java:551)




Build Log:
[...truncated 9946 lines...]
   [junit4]   2> 133 T1722 oashc.HttpShardHandlerFactory.getParameter Setting corePoolSize to: 0
   [junit4]   2> 133 T1722 oashc.HttpShardHandlerFactory.getParameter Setting maximumPoolSize to: 2147483647
   [junit4]   2> 133 T1722 oashc.HttpShardHandlerFactory.getParameter Setting maxThreadIdleTime to: 5
   [junit4]   2> 133 T1722 oashc.HttpShardHandlerFactory.getParameter Setting sizeOfQueue to: -1
   [junit4]   2> 133 T1722 oashc.HttpShardHandlerFactory.getParameter Setting fairnessPolicy to: false
   [junit4]   2> 134 T1722 oascsi.HttpClientUtil.createClient Creating new http client, config:maxConnectionsPerHost=20&maxConnections=10000&socketTimeout=0&connTimeout=0&retry=false
   [junit4]   2> 144 T1722 oasc.CoreContainer.create Creating SolrCore 'collection1' using instanceDir: ./org.apache.solr.handler.TestReplicationHandler$SolrInstance-1338587201357/slave/.
   [junit4]   2> 144 T1722 oasc.SolrResourceLoader.<init> new SolrResourceLoader for directory: './org.apache.solr.handler.TestReplicationHandler$SolrInstance-1338587201357/slave/./'
   [junit4]   2> 159 T1722 oasc.SolrConfig.<init> Using Lucene MatchVersion: LUCENE_50
   [junit4]   2> 191 T1722 oasc.SolrConfig.<init> Loaded SolrConfig: solrconfig.xml
   [junit4]   2> 192 T1722 oass.IndexSchema.readSchema Reading Solr Schema
   [junit4]   2> 194 T1722 oass.IndexSchema.readSchema Schema name=test
   [junit4]   2> 203 T1722 oass.IndexSchema.readSchema WARNING no default search field specified in schema.
   [junit4]   2> 204 T1722 oass.IndexSchema.readSchema unique key field: id
   [junit4]   2> 205 T1722 oasc.SolrCore.<init> [collection1] Opening new SolrCore at ./org.apache.solr.handler.TestReplicationHandler$SolrInstance-1338587201357/slave/./, dataDir=./org.apache.solr.handler.TestReplicationHandler$SolrInstance-1338587201357/slave/data/
   [junit4]   2> 205 T1722 oasc.SolrCore.<init> JMX monitoring not detected for core: collection1
   [junit4]   2> 206 T1722 oasc.SolrCore.initIndex WARNING [collection1] Solr index directory './org.apache.solr.handler.TestReplicationHandler$SolrInstance-1338587201357/slave/data/index' doesn't exist. Creating new index...
   [junit4]   2> 219 T1722 oasc.SolrDeletionPolicy.onCommit SolrDeletionPolicy.onCommit: commits:num=1
   [junit4]   2> 		commit{dir=/usr/home/hudson/hudson-slave/workspace/Lucene-Solr-tests-only-trunk/checkout/solr/build/solr-core/test/J1/org.apache.solr.handler.TestReplicationHandler$SolrInstance-1338587201357/slave/data/index,segFN=segments_1,generation=1,filenames=[segments_1]
   [junit4]   2> 219 T1722 oasc.SolrDeletionPolicy.updateCommits newest commit = 1
   [junit4]   2> 220 T1722 oasc.RequestHandlers.initHandlersFromConfig created standard: solr.StandardRequestHandler
   [junit4]   2> 220 T1722 oasc.RequestHandlers.initHandlersFromConfig created defaults: solr.StandardRequestHandler
   [junit4]   2> 220 T1722 oasc.RequestHandlers.initHandlersFromConfig adding lazy requestHandler: solr.StandardRequestHandler
   [junit4]   2> 220 T1722 oasc.RequestHandlers.initHandlersFromConfig created lazy: solr.StandardRequestHandler
   [junit4]   2> 220 T1722 oasc.RequestHandlers.initHandlersFromConfig created /update: solr.UpdateRequestHandler
   [junit4]   2> 221 T1722 oasc.RequestHandlers.initHandlersFromConfig created /replication: solr.ReplicationHandler
   [junit4]   2> 221 T1722 oashl.XMLLoader.init xsltCacheLifetimeSeconds=60
   [junit4]   2> 223 T1722 oass.SolrIndexSearcher.<init> Opening Searcher@65e757b7 main
   [junit4]   2> 223 T1722 oasu.CommitTracker.<init> Hard AutoCommit: disabled
   [junit4]   2> 223 T1722 oasu.CommitTracker.<init> Soft AutoCommit: disabled
   [junit4]   2> 225 T1722 oash.SnapPuller.startExecutorService Poll Scheduled at an interval of 1000ms
   [junit4]   2> 225 T1722 oasc.CoreContainer.register registering core: collection1
   [junit4]   2> 225 T1742 oasc.SolrCore.registerSearcher [collection1] Registered new searcher Searcher@65e757b7 main{StandardDirectoryReader(segments_1:1)}
   [junit4]   2> 225 T1722 oass.SolrDispatchFilter.init user.dir=/usr/home/hudson/hudson-slave/workspace/Lucene-Solr-tests-only-trunk/checkout/solr/build/solr-core/test/J1
   [junit4]   2> 225 T1722 oass.SolrDispatchFilter.init SolrDispatchFilter.init() done
   [junit4]   2> 226 T1722 oascsi.HttpClientUtil.createClient Creating new http client, config:maxConnections=128&maxConnectionsPerHost=32&followRedirects=false
   [junit4]   2> 
   [junit4]    > (@AfterClass output)
   [junit4]   2> 27854 T1722 oasc.CoreContainer.shutdown Shutting down CoreContainer instance=1891332974
   [junit4]   2> 27855 T1722 oasc.SolrCore.close [collection1]  CLOSING SolrCore org.apache.solr.core.SolrCore@5d17f37f
   [junit4]   2> 27855 T1722 oasc.SolrCore.closeSearcher [collection1] Closing main searcher on request.
   [junit4]   2> 27855 T1722 oasu.DirectUpdateHandler2.close closing DirectUpdateHandler2{commits=1,autocommits=0,soft autocommits=0,optimizes=0,rollbacks=0,expungeDeletes=0,docsPending=0,adds=0,deletesById=0,deletesByQuery=0,errors=0,cumulative_adds=493,cumulative_deletesById=0,cumulative_deletesByQuery=1,cumulative_errors=0}
   [junit4]   2> 27857 T1722 oejsh.ContextHandler.doStop stopped o.e.j.s.ServletContextHandler{/solr,null}
   [junit4]   2> 27910 T1722 oasc.CoreContainer.shutdown Shutting down CoreContainer instance=387453714
   [junit4]   2> 27910 T1722 oasc.SolrCore.close [collection1]  CLOSING SolrCore org.apache.solr.core.SolrCore@5df7f90d
   [junit4]   2> 27910 T1722 oasc.SolrCore.closeSearcher [collection1] Closing main searcher on request.
   [junit4]   2> 27911 T1722 oasu.DirectUpdateHandler2.close closing DirectUpdateHandler2{commits=2,autocommits=0,soft autocommits=0,optimizes=0,rollbacks=0,expungeDeletes=0,docsPending=0,adds=0,deletesById=0,deletesByQuery=0,errors=0,cumulative_adds=1,cumulative_deletesById=0,cumulative_deletesByQuery=0,cumulative_errors=0}
   [junit4]   2> 27912 T1722 oejsh.ContextHandler.doStop stopped o.e.j.s.ServletContextHandler{/solr,null}
   [junit4]   2> 27969 T1722 oas.SolrTestCaseJ4.deleteCore ###deleteCore
   [junit4]   2> 30758 T1924 oash.SnapPuller.fetchLatestIndex SEVERE Master at: http://localhost:23867/solr/replication is not available. Index fetch failed. Exception: Connect to localhost:23867 timed out
   [junit4]   2> 30758 T1924 oash.SnapPuller.logReplicationTimeAndConfFiles WARNING Exception while updating statistics java.io.FileNotFoundException: ./org.apache.solr.handler.TestReplicationHandler$SolrInstance-1338587201357/slave/data/replication.properties (No such file or directory)
   [junit4]   2> 	at java.io.FileOutputStream.open(Native Method)
   [junit4]   2> 	at java.io.FileOutputStream.<init>(FileOutputStream.java:209)
   [junit4]   2> 	at java.io.FileOutputStream.<init>(FileOutputStream.java:160)
   [junit4]   2> 	at org.apache.solr.handler.SnapPuller.logReplicationTimeAndConfFiles(SnapPuller.java:469)
   [junit4]   2> 	at org.apache.solr.handler.SnapPuller.fetchLatestIndex(SnapPuller.java:395)
   [junit4]   2> 	at org.apache.solr.handler.ReplicationHandler.doFetch(ReplicationHandler.java:298)
   [junit4]   2> 	at org.apache.solr.handler.SnapPuller$1.run(SnapPuller.java:169)
   [junit4]   2> 	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
   [junit4]   2> 	at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:351)
   [junit4]   2> 	at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:178)
   [junit4]   2> 	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:165)
   [junit4]   2> 	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:267)
   [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:679)
   [junit4]   2> 
   [junit4]   2> 149091 T1722 oas.SolrTestCaseJ4.endTrackingSearchers SEVERE ERROR: SolrIndexSearcher opens=74 closes=73
   [junit4]   2> NOTE: test params are: codec=Appending, sim=DefaultSimilarity, locale=fr_BE, timezone=Asia/Magadan
   [junit4]   2> NOTE: FreeBSD 9.0-RELEASE amd64/Sun Microsystems Inc. 1.6.0_32 (64-bit)/cpus=16,threads=1,free=68850640,total=231538688
   [junit4]   2> NOTE: All tests run in this JVM: [SpellCheckCollatorTest, TestNorwegianMinimalStemFilterFactory, TestExtendedDismaxParser, TestSuggestSpellingConverter, DirectSolrSpellCheckerTest, AlternateDirectoryTest, TestConfig, DOMUtilTest, SignatureUpdateProcessorFactoryTest, QueryElevationComponentTest, RAMDirectoryFactoryTest, SolrCoreTest, NodeStateWatcherTest, TestCollationField, TestLRUCache, SimpleFacetsTest, JSONWriterTest, TestPluginEnable, IndexSchemaTest, TestMappingCharFilterFactory, TestTrimFilterFactory, TestSolrDeletionPolicy1, NumericFieldsTest, TestGalicianStemFilterFactory, IndexBasedSpellCheckerTest, CopyFieldTest, TestSystemIdResolver, TestJmxIntegration, TestSolrXMLSerializer, TestSolrCoreProperties, TestThaiWordFilterFactory, SolrIndexConfigTest, TestSolrQueryParser, UUIDFieldTest, MoreLikeThisHandlerTest, TestJapaneseTokenizerFactory, XmlUpdateRequestHandlerTest, DefaultValueUpdateProcessorTest, TestPortugueseMinimalStemFilterFactory, TestSearchPerf, ZkSolrClientTest, CacheHeaderTest, SpellPossibilityIteratorTest, IndexReaderFactoryTest, TestPortugueseStemFilterFactory, TestPatternTokenizerFactory, TestSurroundQueryParser, SuggesterTSTTest, URLClassifyProcessorTest, DistributedQueryElevationComponentTest, TestRealTimeGet, TestCodecSupport, TestElisionFilterFactory, QueryParsingTest, AutoCommitTest, TestSort, TestFinnishLightStemFilterFactory, TimeZoneUtilsTest, TestTypeTokenFilterFactory, TestIBSimilarityFactory, TestWikipediaTokenizerFactory, CommonGramsQueryFilterFactoryTest, RecoveryZkTest, OutputWriterTest, DistanceFunctionTest, TestPhraseSuggestions, OverseerTest, CurrencyFieldTest, TestReplicationHandler]
   [junit4]   2> NOTE: reproduce with: ant test  -Dtestcase=TestReplicationHandler -Dtests.seed=39E592AB06F158EA -Dtests.multiplier=3 -Dtests.locale=fr_BE -Dtests.timezone=Asia/Magadan -Dargs="-Dfile.encoding=ISO8859-1"
   [junit4]   2> 
   [junit4] ERROR   0.00s J1 | TestReplicationHandler (suite)
   [junit4]    > Throwable #1: java.lang.AssertionError: ERROR: SolrIndexSearcher opens=74 closes=73
   [junit4]    > 	at __randomizedtesting.SeedInfo.seed([39E592AB06F158EA]:0)
   [junit4]    > 	at org.junit.Assert.fail(Assert.java:93)
   [junit4]    > 	at org.apache.solr.SolrTestCaseJ4.endTrackingSearchers(SolrTestCaseJ4.java:190)
   [junit4]    > 	at org.apache.solr.SolrTestCaseJ4.afterClass(SolrTestCaseJ4.java:82)
   [junit4]    > 	at sun.reflect.GeneratedMethodAccessor15.invoke(Unknown Source)
   [junit4]    > 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   [junit4]    > 	at java.lang.reflect.Method.invoke(Method.java:616)
   [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$5.evaluate(RandomizedRunner.java:752)
   [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] Completed on J1 in 149.12s, 1 test, 1 failure <<< FAILURES!
[...truncated 378 lines...]

[...truncated 10425 lines...]

[...truncated 10425 lines...]

[...truncated 10425 lines...]