I think these failures must be related to the metrics I added in SOLR-1972, 
which use static fields.  I'm not sure why, though, as the objects involved 
should be pretty small.

Is there a way of getting a more detailed breakdown of which classes/objects 
are using the memory?

On 30 Oct 2012, at 16:30, Policeman Jenkins Server wrote:

> Build: http://jenkins.sd-datasolutions.de/job/Lucene-Solr-trunk-Windows/1370/
> Java: 64bit/jdk1.7.0_07 -XX:+UseConcMarkSweepGC
> 
> 1 tests failed.
> FAILED:  
> junit.framework.TestSuite.org.apache.solr.handler.XmlUpdateRequestHandlerTest
> 
> Error Message:
> Clean up static fields (in @AfterClass?), your test seems to hang on to 
> approximately 11,836,024 bytes (threshold is 10,485,760). Field reference 
> sizes (counted individually):   - 12,070,224 bytes, protected static 
> org.apache.solr.handler.UpdateRequestHandler 
> org.apache.solr.handler.XmlUpdateRequestHandlerTest.handler   - 3,792 bytes, 
> private static javax.xml.stream.XMLInputFactory 
> org.apache.solr.handler.XmlUpdateRequestHandlerTest.inputFactory   - 280 
> bytes, public static org.junit.rules.TestRule 
> org.apache.solr.SolrTestCaseJ4.solrClassRules   - 232 bytes, protected static 
> java.lang.String org.apache.solr.SolrTestCaseJ4.testSolrHome   - 128 bytes, 
> private static java.lang.String org.apache.solr.SolrTestCaseJ4.factoryProp   
> - 64 bytes, private static java.lang.String 
> org.apache.solr.SolrTestCaseJ4.coreName
> 
> Stack Trace:
> junit.framework.AssertionFailedError: Clean up static fields (in 
> @AfterClass?), your test seems to hang on to approximately 11,836,024 bytes 
> (threshold is 10,485,760). Field reference sizes (counted individually):
>  - 12,070,224 bytes, protected static 
> org.apache.solr.handler.UpdateRequestHandler 
> org.apache.solr.handler.XmlUpdateRequestHandlerTest.handler
>  - 3,792 bytes, private static javax.xml.stream.XMLInputFactory 
> org.apache.solr.handler.XmlUpdateRequestHandlerTest.inputFactory
>  - 280 bytes, public static org.junit.rules.TestRule 
> org.apache.solr.SolrTestCaseJ4.solrClassRules
>  - 232 bytes, protected static java.lang.String 
> org.apache.solr.SolrTestCaseJ4.testSolrHome
>  - 128 bytes, private static java.lang.String 
> org.apache.solr.SolrTestCaseJ4.factoryProp
>  - 64 bytes, private static java.lang.String 
> org.apache.solr.SolrTestCaseJ4.coreName
>       at __randomizedtesting.SeedInfo.seed([ED1A9C533D68A0C3]:0)
>       at 
> com.carrotsearch.randomizedtesting.rules.StaticFieldsInvariantRule$1.afterAlways(StaticFieldsInvariantRule.java:127)
>       at 
> com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:43)
>       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:722)
> 
> 
> 
> 
> Build Log:
> [...truncated 8847 lines...]
> [junit4:junit4] Suite: org.apache.solr.handler.XmlUpdateRequestHandlerTest
> [junit4:junit4]   2> 1 T3303 oas.SolrTestCaseJ4.initCore ####initCore
> [junit4:junit4]   2> Creating dataDir: 
> C:\Users\JenkinsSlave\workspace\Lucene-Solr-trunk-Windows\solr\build\solr-core\test\J0\.\solrtest-XmlUpdateRequestHandlerTest-1351614363016
> [junit4:junit4]   2> 3 T3303 oasc.SolrResourceLoader.<init> new 
> SolrResourceLoader for directory: 
> 'C:\Users\JenkinsSlave\workspace\Lucene-Solr-trunk-Windows\solr\build\solr-core\test-files\solr\collection1\'
> [junit4:junit4]   2> 4 T3303 oasc.SolrResourceLoader.replaceClassLoader 
> Adding 
> 'file:/C:/Users/JenkinsSlave/workspace/Lucene-Solr-trunk-Windows/solr/build/solr-core/test-files/solr/collection1/lib/classes/'
>  to classloader
> [junit4:junit4]   2> 5 T3303 oasc.SolrResourceLoader.replaceClassLoader 
> Adding 
> 'file:/C:/Users/JenkinsSlave/workspace/Lucene-Solr-trunk-Windows/solr/build/solr-core/test-files/solr/collection1/lib/README'
>  to classloader
> [junit4:junit4]   2> 73 T3303 oasc.SolrConfig.<init> Using Lucene 
> MatchVersion: LUCENE_50
> [junit4:junit4]   2> 139 T3303 oasc.SolrConfig.<init> Loaded SolrConfig: 
> solrconfig.xml
> [junit4:junit4]   2> 140 T3303 oass.IndexSchema.readSchema Reading Solr Schema
> [junit4:junit4]   2> 144 T3303 oass.IndexSchema.readSchema Schema name=test
> [junit4:junit4]   2> 719 T3303 oass.OpenExchangeRatesOrgProvider.init 
> Initialized with rates=open-exchange-rates.json, refreshInterval=1440.
> [junit4:junit4]   2> 732 T3303 oass.IndexSchema.readSchema default search 
> field in schema is text
> [junit4:junit4]   2> 738 T3303 oass.IndexSchema.readSchema unique key field: 
> id
> [junit4:junit4]   2> 746 T3303 oass.FileExchangeRateProvider.reload Reloading 
> exchange rates from file currency.xml
> [junit4:junit4]   2> 751 T3303 oass.FileExchangeRateProvider.reload Reloading 
> exchange rates from file currency.xml
> [junit4:junit4]   2> 755 T3303 oass.OpenExchangeRatesOrgProvider.reload 
> Reloading exchange rates from open-exchange-rates.json
> [junit4:junit4]   2> 756 T3303 oass.OpenExchangeRatesOrgProvider.reload 
> Reloading exchange rates from open-exchange-rates.json
> [junit4:junit4]   2> 756 T3303 oasc.SolrResourceLoader.locateSolrHome JNDI 
> not configured for solr (NoInitialContextEx)
> [junit4:junit4]   2> 757 T3303 oasc.SolrResourceLoader.locateSolrHome using 
> system property solr.solr.home: 
> C:\Users\JenkinsSlave\workspace\Lucene-Solr-trunk-Windows\solr\build\solr-core\test-files\solr
> [junit4:junit4]   2> 757 T3303 oasc.SolrResourceLoader.<init> new 
> SolrResourceLoader for directory: 
> 'C:\Users\JenkinsSlave\workspace\Lucene-Solr-trunk-Windows\solr\build\solr-core\test-files\solr\'
> [junit4:junit4]   2> 768 T3303 oasc.CoreContainer.<init> New CoreContainer 
> 974373728
> [junit4:junit4]   2> 768 T3303 oasc.SolrCore.<init> [collection1] Opening new 
> SolrCore at 
> C:\Users\JenkinsSlave\workspace\Lucene-Solr-trunk-Windows\solr\build\solr-core\test-files\solr\collection1\,
>  
> dataDir=C:\Users\JenkinsSlave\workspace\Lucene-Solr-trunk-Windows\solr\build\solr-core\test\J0\.\solrtest-XmlUpdateRequestHandlerTest-1351614363016\
> [junit4:junit4]   2> 769 T3303 oasc.JmxMonitoredMap.<init> JMX monitoring is 
> enabled. Adding Solr mbeans to JMX Server: 
> com.sun.jmx.mbeanserver.JmxMBeanServer@49dbfd4d
> [junit4:junit4]   2> 769 T3303 oasc.SolrCore.initDirectoryFactory 
> org.apache.solr.core.MockDirectoryFactory
> [junit4:junit4]   2> 770 T3303 oasc.CachingDirectoryFactory.injectLockFactory 
> WARNING No lockType configured for 
> MockDirWrapper(org.apache.lucene.store.RAMDirectory@c25995 
> lockFactory=org.apache.lucene.store.SingleInstanceLockFactory@57874596) 
> assuming 'simple'
> [junit4:junit4]   2> 771 T3303 oasc.CachingDirectoryFactory.get return new 
> directory for 
> C:\Users\JenkinsSlave\workspace\Lucene-Solr-trunk-Windows\solr\build\solr-core\test\J0\.\solrtest-XmlUpdateRequestHandlerTest-1351614363016
>  forceNew:false
> [junit4:junit4]   2> 771 T3303 oasc.CachingDirectoryFactory.close Releasing 
> directory:C:\Users\JenkinsSlave\workspace\Lucene-Solr-trunk-Windows\solr\build\solr-core\test\J0\.\solrtest-XmlUpdateRequestHandlerTest-1351614363016
> [junit4:junit4]   2> 771 T3303 oasc.SolrCore.getNewIndexDir New index 
> directory detected: old=null 
> new=C:\Users\JenkinsSlave\workspace\Lucene-Solr-trunk-Windows\solr\build\solr-core\test\J0\.\solrtest-XmlUpdateRequestHandlerTest-1351614363016\index/
> [junit4:junit4]   2> 772 T3303 oasc.SolrCore.initIndex WARNING [collection1] 
> Solr index directory 
> 'C:\Users\JenkinsSlave\workspace\Lucene-Solr-trunk-Windows\solr\build\solr-core\test\J0\.\solrtest-XmlUpdateRequestHandlerTest-1351614363016\index'
>  doesn't exist. Creating new index...
> [junit4:junit4]   2> 773 T3303 oasc.CachingDirectoryFactory.get return new 
> directory for 
> C:\Users\JenkinsSlave\workspace\Lucene-Solr-trunk-Windows\solr\build\solr-core\test\J0\.\solrtest-XmlUpdateRequestHandlerTest-1351614363016\index
>  forceNew:false
> [junit4:junit4]   2> 775 T3303 oasc.SolrDeletionPolicy.onCommit 
> SolrDeletionPolicy.onCommit: commits:num=1
> [junit4:junit4]   2>          
> commit{dir=MockDirWrapper(org.apache.lucene.store.RAMDirectory@54c7d1ee 
> lockFactory=org.apache.lucene.store.NativeFSLockFactory@7dc76c68),segFN=segments_1,generation=1,filenames=[segments_1]
> [junit4:junit4]   2> 775 T3303 oasc.SolrDeletionPolicy.updateCommits newest 
> commit = 1[segments_1]
> [junit4:junit4]   2> 776 T3303 oasc.CachingDirectoryFactory.close Releasing 
> directory:C:\Users\JenkinsSlave\workspace\Lucene-Solr-trunk-Windows\solr\build\solr-core\test\J0\.\solrtest-XmlUpdateRequestHandlerTest-1351614363016\index
> [junit4:junit4]   2> 776 T3303 oasc.SolrCore.initWriters created xml: 
> solr.XMLResponseWriter
> [junit4:junit4]   2> 778 T3303 oasup.UpdateRequestProcessorChain.init 
> inserting DistributedUpdateProcessorFactory into updateRequestProcessorChain 
> "dedupe"
> [junit4:junit4]   2> 778 T3303 oasup.UpdateRequestProcessorChain.init 
> inserting DistributedUpdateProcessorFactory into updateRequestProcessorChain 
> "dedupe-allfields"
> [junit4:junit4]   2> 779 T3303 oasup.UpdateRequestProcessorChain.init 
> inserting DistributedUpdateProcessorFactory into updateRequestProcessorChain 
> "stored_sig"
> [junit4:junit4]   2> 779 T3303 oasup.UpdateRequestProcessorChain.init 
> inserting DistributedUpdateProcessorFactory into updateRequestProcessorChain 
> "uniq-fields"
> [junit4:junit4]   2> 780 T3303 oasup.UpdateRequestProcessorChain.init 
> inserting DistributedUpdateProcessorFactory into updateRequestProcessorChain 
> "distrib-dup-test-chain-implicit"
> [junit4:junit4]   2> 780 T3303 oasc.RequestHandlers.initHandlersFromConfig 
> adding lazy requestHandler: solr.ReplicationHandler
> [junit4:junit4]   2> 780 T3303 oasc.RequestHandlers.initHandlersFromConfig 
> created /replication: solr.ReplicationHandler
> [junit4:junit4]   2> 781 T3303 oasc.RequestHandlers.initHandlersFromConfig 
> created standard: solr.StandardRequestHandler
> [junit4:junit4]   2> 782 T3303 oasc.RequestHandlers.initHandlersFromConfig 
> created /get: solr.RealTimeGetHandler
> [junit4:junit4]   2> 783 T3303 oasc.RequestHandlers.initHandlersFromConfig 
> created dismax: solr.SearchHandler
> [junit4:junit4]   2> 783 T3303 oasc.RequestHandlers.initHandlersFromConfig 
> created mock: org.apache.solr.core.MockQuerySenderListenerReqHandler
> [junit4:junit4]   2> 784 T3303 oasc.RequestHandlers.initHandlersFromConfig 
> created /admin/: org.apache.solr.handler.admin.AdminHandlers
> [junit4:junit4]   2> 785 T3303 oasc.RequestHandlers.initHandlersFromConfig 
> created defaults: solr.StandardRequestHandler
> [junit4:junit4]   2> 785 T3303 oasc.RequestHandlers.initHandlersFromConfig 
> adding lazy requestHandler: solr.StandardRequestHandler
> [junit4:junit4]   2> 785 T3303 oasc.RequestHandlers.initHandlersFromConfig 
> created lazy: solr.StandardRequestHandler
> [junit4:junit4]   2> 786 T3303 oasc.RequestHandlers.initHandlersFromConfig 
> created /update: solr.UpdateRequestHandler
> [junit4:junit4]   2> 787 T3303 oasc.RequestHandlers.initHandlersFromConfig 
> created /terms: org.apache.solr.handler.component.SearchHandler
> [junit4:junit4]   2> 788 T3303 oasc.RequestHandlers.initHandlersFromConfig 
> created spellCheckCompRH: org.apache.solr.handler.component.SearchHandler
> [junit4:junit4]   2> 788 T3303 oasc.RequestHandlers.initHandlersFromConfig 
> created spellCheckCompRH_Direct: 
> org.apache.solr.handler.component.SearchHandler
> [junit4:junit4]   2> 789 T3303 oasc.RequestHandlers.initHandlersFromConfig 
> created spellCheckWithWordbreak: 
> org.apache.solr.handler.component.SearchHandler
> [junit4:junit4]   2> 790 T3303 oasc.RequestHandlers.initHandlersFromConfig 
> created spellCheckWithWordbreak_Direct: 
> org.apache.solr.handler.component.SearchHandler
> [junit4:junit4]   2> 791 T3303 oasc.RequestHandlers.initHandlersFromConfig 
> created spellCheckCompRH1: org.apache.solr.handler.component.SearchHandler
> [junit4:junit4]   2> 792 T3303 oasc.RequestHandlers.initHandlersFromConfig 
> created tvrh: org.apache.solr.handler.component.SearchHandler
> [junit4:junit4]   2> 792 T3303 oasc.RequestHandlers.initHandlersFromConfig 
> created /mlt: solr.MoreLikeThisHandler
> [junit4:junit4]   2> 793 T3303 oasc.RequestHandlers.initHandlersFromConfig 
> created /debug/dump: solr.DumpRequestHandler
> [junit4:junit4]   2> 804 T3303 oashl.XMLLoader.init 
> xsltCacheLifetimeSeconds=60
> [junit4:junit4]   2> 810 T3303 oasc.SolrCore.initDeprecatedSupport WARNING 
> solrconfig.xml uses deprecated <admin/gettableFiles>, Please update your 
> config to use the ShowFileRequestHandler.
> [junit4:junit4]   2> 813 T3303 oasc.SolrCore.initDeprecatedSupport WARNING 
> adding ShowFileRequestHandler with hidden files: 
> [THROW.ERROR.ON.ADD.UPDATEPROCESSOR.JS, SOLRCONFIG-HIGHLIGHT.XML, 
> SCHEMA-REQUIRED-FIELDS.XML, TRIVIAL.UPDATEPROCESSOR1.JS, 
> BAD-SCHEMA-DUP-DYNAMICFIELD.XML, SCHEMA-MINIMAL.XML, SCHEMA-REPLICATION2.XML, 
> SOLRCONFIG-CACHING.XML, SOLRCONFIG-REPEATER.XML, CURRENCY.XML, 
> BAD-SCHEMA-NONTEXT-ANALYZER.XML, SOLRCONFIG-MERGEPOLICY.XML, 
> SOLRCONFIG-TLOG.XML, SOLRCONFIG-MASTER.XML, 
> BAD-SCHEMA-UNIQUEKEY-MULTIVALUED.XML, SCHEMA11.XML, SOLRCONFIG-BASIC.XML, 
> DA_COMPOUNDDICTIONARY.TXT, MISSLEADING.EXTENSION.UPDATEPROCESSOR.JS.TXT, 
> SCHEMA-COPYFIELD-TEST.XML, SOLRCONFIG-SLAVE.XML, 
> SOLRCONFIG-PROPINJECT-INDEXDEFAULT.XML, ELEVATE.XML, 
> TRIVIAL.UPDATEPROCESSOR0.JS, BAD-SOLRCONFIG-BOGUS-SCRIPTENGINE-NAME.XML, 
> SCHEMA-CHARFILTERS.XML, SCHEMA-IB.XML, SOLRCONFIG-QUERYSENDER.XML, 
> SOLRCONFIG-SNIPPET-PROCESSOR.XML, DA_UTF8.XML, SCHEMA-REPLICATION1.XML, 
> CONDITIONAL.UPDATEPROCESSOR.JS, MISSING.FUNCTIONS.UPDATEPROCESSOR.JS, 
> HYPHENATION.DTD, SOLRCONFIG-ENABLEPLUGIN.XML, STEMDICT.TXT, 
> SCHEMA-PHRASESUGGEST.XML, HUNSPELL-TEST.AFF, SCHEMA-SNIPPET-TYPE.XML, 
> STOPTYPES-1.TXT, STOPWORDSWRONGENCODING.TXT, SCHEMA-NUMERIC.XML, 
> SOLRCONFIG-TRANSFORMERS.XML, SOLRCONFIG-PROPINJECT.XML, 
> BAD-SCHEMA-NOT-INDEXED-BUT-TF.XML, SOLRCONFIG-SIMPLELOCK.XML, WDFTYPES.TXT, 
> STOPTYPES-2.TXT, SCHEMA-REVERSED.XML, BAD-SCHEMA-CURRENCY-FT-MULTIVALUED.XML, 
> SOLRCONFIG-SPELLCHECKCOMPONENT.XML, SOLRCONFIG-PHRASESUGGEST.XML, 
> BAD-SCHEMA-CURRENCY-MULTIVALUED.XML, SCHEMA-DFR.XML, 
> BAD-SCHEMA-NOT-INDEXED-BUT-POS.XML, KEEP-1.TXT, OPEN-EXCHANGE-RATES.JSON, 
> SCHEMA-SPATIAL.XML, STOPWITHBOM.TXT, SOLRCONFIG-SPELLCHECKER.XML, 
> SCHEMA-BINARYFIELD.XML, SOLRCONFIG-UPDATE-PROCESSOR-CHAINS.XML, 
> BAD-SCHEMA-OMIT-TF-BUT-NOT-POS.XML, BAD-SCHEMA-DUP-FIELDTYPE.XML, 
> SCHEMA-XINCLUDE.XML, SOLRCONFIG-MASTER1.XML, SYNONYMS.TXT, 
> BAD-SCHEMA-CURRENCY-DYNAMIC-MULTIVALUED.XML, SCHEMA.XML, SCHEMA_CODEC.XML, 
> SOLRCONFIG-SOLR-749.XML, SOLRCONFIG-MASTER1-KEEPONEBACKUP.XML, STOP-2.TXT, 
> SOLRCONFIG-FUNCTIONQUERY.XML, SOLRCONFIG-TERMINDEX.XML, 
> SCHEMA-LMDIRICHLET.XML, SOLRCONFIG-ELEVATE.XML, STOPWORDS.TXT, 
> SCHEMA-FOLDING.XML, SCHEMA-STOP-KEEP.XML, 
> BAD-SCHEMA-NOT-INDEXED-BUT-NORMS.XML, SOLRCONFIG-SOLCOREPROPERTIES.XML, 
> STOP-1.TXT, SOLRCONFIG-MASTER2.XML, SCHEMA-SPELLCHECKER.XML, 
> SOLRCONFIG-RESPONSE-LOG-COMPONENT.XML, SOLRCONFIG-LAZYWRITER.XML, 
> SCHEMA-LUCENEMATCHVERSION.XML, FRENCHARTICLES.TXT, BAD-MP-SOLRCONFIG.XML, 
> SCHEMA15.XML, SOLRCONFIG-REQHANDLER.INCL, SCHEMASURROUND.XML, 
> SOLRCONFIG-MASTER3.XML, HUNSPELL-TEST.DIC, SOLRCONFIG-XINCLUDE.XML, 
> BAD-SCHEMA-CODEC-GLOBAL-VS-FT-MISMATCH.XML, SOLRCONFIG-SLAVE1.XML, 
> SOLRCONFIG-DELPOLICY1.XML, SCHEMA-SIM.XML, SCHEMA-SNIPPET-FIELD.XML, 
> SCHEMA-COLLATE.XML, STOP-SNOWBALL.TXT, 
> BAD-SCHEMA-SIM-GLOBAL-VS-FT-MISMATCH.XML, PROTWORDS.TXT, SCHEMA-TRIE.XML, 
> SOLRCONFIG_CODEC.XML, BAD-SOLRCONFIG-INVALID-SCRIPTFILE.XML, JASUGGEST.TXT, 
> SCHEMA-TFIDF.XML, SOLRCONFIG-SCRIPT-UPDATEPROCESSOR.XML, 
> SCHEMA-LMJELINEKMERCER.XML, PHRASESUGGEST.TXT, 
> BAD-SOLRCONFIG-MISSING-SCRIPTFILE.XML, BAD-SCHEMA-UNIQUEKEY-USES-DEFAULT.XML, 
> OLD_SYNONYMS.TXT, SOLRCONFIG-DELPOLICY2.XML, XSLT, SOLRCONFIG-NATIVELOCK.XML, 
> BAD-SCHEMA-DUP-FIELD.XML, SOLRCONFIG-NOCACHE.XML, SCHEMA-BM25.XML, 
> ADDFIELDS.UPDATEPROCESSOR.JS, SOLRCONFIG-QUERYSENDER-NOQUERY.XML, 
> SOLRCONFIG-ALTDIRECTORY.XML, COMPOUNDDICTIONARY.TXT, SOLRCONFIG_PERF.XML, 
> SOLRCONFIG-INDEXCONFIG.XML, BAD-SCHEMA-ANALYZER-CLASS-AND-NESTED.XML, 
> SCHEMA-NOT-REQUIRED-UNIQUE-KEY.XML, KEEP-2.TXT, 
> BAD-SCHEMA-UNIQUEKEY-IS-COPYFIELD-DEST.XML, SCHEMA12.XML, 
> MAPPING-ISOLATIN1ACCENT.TXT, BAD_SOLRCONFIG.XML, 
> BAD-SCHEMA-EXTERNAL-FILEFIELD.XML]
> [junit4:junit4]   2> 815 T3303 oasc.CachingDirectoryFactory.close Releasing 
> directory:C:\Users\JenkinsSlave\workspace\Lucene-Solr-trunk-Windows\solr\build\solr-core\test\J0\.\solrtest-XmlUpdateRequestHandlerTest-1351614363016
> [junit4:junit4]   2> 815 T3303 oass.SolrIndexSearcher.<init> Opening 
> Searcher@77103877 main
> [junit4:junit4]   2> 816 T3303 oasu.CommitTracker.<init> Hard AutoCommit: 
> disabled
> [junit4:junit4]   2> 816 T3303 oasu.CommitTracker.<init> Soft AutoCommit: 
> disabled
> [junit4:junit4]   2> 817 T3303 oashc.SpellCheckComponent.inform Initializing 
> spell checkers
> [junit4:junit4]   2> 827 T3303 oass.DirectSolrSpellChecker.init init: 
> {name=direct,classname=DirectSolrSpellChecker,field=lowerfilt,minQueryLength=3}
> [junit4:junit4]   2> 882 T3303 oashc.HttpShardHandlerFactory.getParameter 
> Setting socketTimeout to: 0
> [junit4:junit4]   2> 883 T3303 oashc.HttpShardHandlerFactory.getParameter 
> Setting urlScheme to: http://
> [junit4:junit4]   2> 883 T3303 oashc.HttpShardHandlerFactory.getParameter 
> Setting connTimeout to: 0
> [junit4:junit4]   2> 883 T3303 oashc.HttpShardHandlerFactory.getParameter 
> Setting maxConnectionsPerHost to: 20
> [junit4:junit4]   2> 884 T3303 oashc.HttpShardHandlerFactory.getParameter 
> Setting corePoolSize to: 0
> [junit4:junit4]   2> 884 T3303 oashc.HttpShardHandlerFactory.getParameter 
> Setting maximumPoolSize to: 2147483647
> [junit4:junit4]   2> 884 T3303 oashc.HttpShardHandlerFactory.getParameter 
> Setting maxThreadIdleTime to: 5
> [junit4:junit4]   2> 884 T3303 oashc.HttpShardHandlerFactory.getParameter 
> Setting sizeOfQueue to: -1
> [junit4:junit4]   2> 884 T3303 oashc.HttpShardHandlerFactory.getParameter 
> Setting fairnessPolicy to: false
> [junit4:junit4]   2> 885 T3303 oascsi.HttpClientUtil.createClient Creating 
> new http client, 
> config:maxConnectionsPerHost=20&maxConnections=10000&socketTimeout=0&connTimeout=0&retry=false
> [junit4:junit4]   2> 897 T3304 oasc.SolrCore.registerSearcher [collection1] 
> Registered new searcher Searcher@77103877 
> main{StandardDirectoryReader(segments_1:1)}
> [junit4:junit4]   2> 899 T3303 oasc.CoreContainer.registerCore registering 
> core: collection1
> [junit4:junit4]   2> 909 T3303 oas.SolrTestCaseJ4.initCore ####initCore end
> [junit4:junit4]   2> 913 T3303 oas.SolrTestCaseJ4.setUp ###Starting 
> testNamedEntity
> [junit4:junit4]   2> ASYNC  NEW_CORE C257 name=collection1 
> org.apache.solr.core.SolrCore@677ff169
> [junit4:junit4]   2> 1006 T3303 C257 oasc.CachingDirectoryFactory.close 
> Releasing 
> directory:C:\Users\JenkinsSlave\workspace\Lucene-Solr-trunk-Windows\solr\build\solr-core\test\J0\.\solrtest-XmlUpdateRequestHandlerTest-1351614363016
> [junit4:junit4]   2> 1010 T3303 C257 oasc.SolrDeletionPolicy.onInit 
> SolrDeletionPolicy.onInit: commits:num=1
> [junit4:junit4]   2>          
> commit{dir=MockDirWrapper(org.apache.lucene.store.RAMDirectory@54c7d1ee 
> lockFactory=org.apache.lucene.store.NativeFSLockFactory@7dc76c68),segFN=segments_1,generation=1,filenames=[segments_1]
> [junit4:junit4]   2> 1010 T3303 C257 oasc.SolrDeletionPolicy.updateCommits 
> newest commit = 1[segments_1]
> [junit4:junit4]   2> 1011 T3303 C257 UPDATE [collection1] webapp=null 
> path=null params={} {add=[1]} 0 91
> [junit4:junit4]   2> 1032 T3303 C257 oasu.DirectUpdateHandler2.commit start 
> commit{flags=0,_version_=0,optimize=false,openSearcher=true,waitSearcher=true,expungeDeletes=false,softCommit=false}
> [junit4:junit4]   2> 1035 T3303 C257 oasc.SolrDeletionPolicy.onCommit 
> SolrDeletionPolicy.onCommit: commits:num=2
> [junit4:junit4]   2>          
> commit{dir=MockDirWrapper(org.apache.lucene.store.RAMDirectory@54c7d1ee 
> lockFactory=org.apache.lucene.store.NativeFSLockFactory@7dc76c68),segFN=segments_1,generation=1,filenames=[segments_1]
> [junit4:junit4]   2>          
> commit{dir=MockDirWrapper(org.apache.lucene.store.RAMDirectory@54c7d1ee 
> lockFactory=org.apache.lucene.store.NativeFSLockFactory@7dc76c68),segFN=segments_2,generation=2,filenames=[_0_Lucene41WithOrds_0.tib,
>  _0.fnm, _0_Lucene41WithOrds_0.doc, _0_MockVariableIntBlock_0.doc, 
> _0_Lucene41WithOrds_0.tii, _0_Lucene41WithOrds_0.pos, _0_nrm.cfs, 
> _0_MockVariableIntBlock_0.skp, _0_Direct_0.doc, 
> _0_MockVariableIntBlock_0.pyl, _0_MockVariableIntBlock_0.tib, 
> _0_MockVariableIntBlock_0.frq, _0_SimpleText_0.pst, _0_nrm.cfe, 
> _0_MockVariableIntBlock_0.pos, _0_Direct_0.pos, segments_2, _0.fdx, 
> _0_Direct_0.tip, _0.si, _0_Direct_0.tim, _0.fdt, 
> _0_MockVariableIntBlock_0.tii]
> [junit4:junit4]   2> 1035 T3303 C257 oasc.SolrDeletionPolicy.updateCommits 
> newest commit = 2[_0_Lucene41WithOrds_0.tib, _0.fnm, 
> _0_Lucene41WithOrds_0.doc, _0_MockVariableIntBlock_0.doc, 
> _0_Lucene41WithOrds_0.tii, _0_Lucene41WithOrds_0.pos, _0_nrm.cfs, 
> _0_MockVariableIntBlock_0.skp, _0_Direct_0.doc, 
> _0_MockVariableIntBlock_0.pyl, _0_MockVariableIntBlock_0.tib, 
> _0_MockVariableIntBlock_0.frq, _0_SimpleText_0.pst, _0_nrm.cfe, 
> _0_MockVariableIntBlock_0.pos, _0_Direct_0.pos, segments_2, _0.fdx, 
> _0_Direct_0.tip, _0.si, _0_Direct_0.tim, _0.fdt, 
> _0_MockVariableIntBlock_0.tii]
> [junit4:junit4]   2> 1036 T3303 C257 oasc.CachingDirectoryFactory.close 
> Releasing 
> directory:C:\Users\JenkinsSlave\workspace\Lucene-Solr-trunk-Windows\solr\build\solr-core\test\J0\.\solrtest-XmlUpdateRequestHandlerTest-1351614363016
> [junit4:junit4]   2> 1037 T3303 C257 oass.SolrIndexSearcher.<init> Opening 
> Searcher@4992bebc main
> [junit4:junit4]   2> 1037 T3303 C257 oasu.DirectUpdateHandler2.commit 
> end_commit_flush
> [junit4:junit4]   2> 1037 T3304 oasc.SolrCore.registerSearcher [collection1] 
> Registered new searcher Searcher@4992bebc 
> main{StandardDirectoryReader(segments_2:3 _0(5.0):C1)}
> [junit4:junit4]   2> 1038 T3304 oasc.CachingDirectoryFactory.close Releasing 
> directory:C:\Users\JenkinsSlave\workspace\Lucene-Solr-trunk-Windows\solr\build\solr-core\test\J0\.\solrtest-XmlUpdateRequestHandlerTest-1351614363016\index
> [junit4:junit4]   2> 1039 T3303 C257 UPDATE [collection1] webapp=null 
> path=null params={} {commit=} 0 7
> [junit4:junit4]   2> 1040 T3303 C257 REQ [collection1] webapp=null path=null 
> params={start=0&q=foo_s:zzz&qt=standard&rows=20&version=2.2} hits=1 status=0 
> QTime=0 
> [junit4:junit4]   2> 1042 T3303 oas.SolrTestCaseJ4.tearDown ###Ending 
> testNamedEntity
> [junit4:junit4]   2> 1044 T3303 oas.SolrTestCaseJ4.setUp ###Starting 
> testRequestParams
> [junit4:junit4]   2> 1051 T3303 oas.SolrTestCaseJ4.tearDown ###Ending 
> testRequestParams
> [junit4:junit4]   2> 1056 T3303 oas.SolrTestCaseJ4.setUp ###Starting 
> testReadDelete
> [junit4:junit4]   2> 1072 T3303 oas.SolrTestCaseJ4.tearDown ###Ending 
> testReadDelete
> [junit4:junit4]   2> 1074 T3303 oas.SolrTestCaseJ4.setUp ###Starting 
> testReadDoc
> [junit4:junit4]   2> 1075 T3303 oas.SolrTestCaseJ4.tearDown ###Ending 
> testReadDoc
> [junit4:junit4]   2> 1077 T3303 oas.SolrTestCaseJ4.setUp ###Starting 
> testExternalEntities
> [junit4:junit4]   2> 1083 T3303 oas.SolrTestCaseJ4.tearDown ###Ending 
> testExternalEntities
> [junit4:junit4]   2> 1083 T3303 oas.SolrTestCaseJ4.deleteCore ###deleteCore
> [junit4:junit4]   2> 1084 T3303 oasc.CoreContainer.shutdown Shutting down 
> CoreContainer instance=974373728
> [junit4:junit4]   2> 1084 T3303 oasc.SolrCore.close [collection1]  CLOSING 
> SolrCore org.apache.solr.core.SolrCore@677ff169
> [junit4:junit4]   2> 1087 T3303 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=1,cumulative_deletesById=0,cumulative_deletesByQuery=0,cumulative_errors=0}
> [junit4:junit4]   2> 1087 T3303 oasc.SolrCore.decrefSolrCoreState Closing 
> SolrCoreState
> [junit4:junit4]   2> 1087 T3303 oasu.DefaultSolrCoreState.closeIndexWriter 
> SolrCoreState ref count has reached 0 - closing IndexWriter
> [junit4:junit4]   2> 1089 T3303 oasu.DefaultSolrCoreState.closeIndexWriter 
> closing IndexWriter with IndexWriterCloser
> [junit4:junit4]   2> 1089 T3303 C257 oasc.CachingDirectoryFactory.close 
> Releasing 
> directory:C:\Users\JenkinsSlave\workspace\Lucene-Solr-trunk-Windows\solr\build\solr-core\test\J0\.\solrtest-XmlUpdateRequestHandlerTest-1351614363016\index
> [junit4:junit4]   2> 1090 T3303 oasc.SolrCore.closeSearcher [collection1] 
> Closing main searcher on request.
> [junit4:junit4]   2> 1090 T3303 oasc.CachingDirectoryFactory.close Releasing 
> directory:C:\Users\JenkinsSlave\workspace\Lucene-Solr-trunk-Windows\solr\build\solr-core\test\J0\.\solrtest-XmlUpdateRequestHandlerTest-1351614363016\index
> [junit4:junit4]   2> NOTE: test params are: codec=Lucene41: 
> {timestamp=PostingsFormat(name=Lucene41WithOrds), 
> range_facet_l=PostingsFormat(name=Lucene41WithOrds), 
> id=PostingsFormat(name=SimpleText), 
> range_facet_sl=PostingsFormat(name=Direct), 
> range_facet_si=MockVariableIntBlock(baseBlockSize=34), 
> foo_s=PostingsFormat(name=Lucene41WithOrds), 
> multiDefault=MockVariableIntBlock(baseBlockSize=34), 
> intDefault=PostingsFormat(name=Lucene41WithOrds)}, sim=DefaultSimilarity, 
> locale=mk_MK, timezone=Asia/Sakhalin
> [junit4:junit4]   2> NOTE: Windows 7 6.1 amd64/Oracle Corporation 1.7.0_07 
> (64-bit)/cpus=2,threads=1,free=153683832,total=432218112
> [junit4:junit4]   2> NOTE: All tests run in this JVM: [TestSolrIndexConfig, 
> PreAnalyzedFieldTest, OpenExchangeRatesOrgProviderTest, TestCSVLoader, 
> RequestHandlersTest, TestCharFilters, URLClassifyProcessorTest, 
> LoggingHandlerTest, TestSolrQueryParser, TestNumberUtils, 
> TestSolrDeletionPolicy1, FileUtilsTest, TestPropInjectDefaults, 
> DistributedSpellCheckComponentTest, TestPHPSerializedResponseWriter, 
> SolrCmdDistributorTest, TestStressLucene, DefaultValueUpdateProcessorTest, 
> TestReplicationHandler, XsltUpdateRequestHandlerTest, ZkNodePropsTest, 
> LeaderElectionTest, TestPerFieldSimilarity, DateFieldTest, 
> BasicDistributedZkTest, DocumentAnalysisRequestHandlerTest, 
> TestElisionMultitermQuery, TestSurroundQueryParser, AlternateDirectoryTest, 
> FieldAnalysisRequestHandlerTest, TestLazyCores, TestFaceting, 
> TestIndexSearcher, SuggesterTSTTest, MBeansHandlerTest, 
> TestDefaultSimilarityFactory, TestSolrDeletionPolicy2, TimeZoneUtilsTest, 
> TestQueryTypes, TestReversedWildcardFilterFactory, NoCacheHeaderTest, 
> SpellPossibilityIteratorTest, LeaderElectionIntegrationTest, TestReload, 
> TestSolrCoreProperties, RequiredFieldsTest, TestSort, 
> FileBasedSpellCheckerTest, CoreContainerCoreInitFailuresTest, 
> DistributedTermsComponentTest, TestIBSimilarityFactory, TestSearchPerf, 
> DirectUpdateHandlerOptimizeTest, TestFunctionQuery, JsonLoaderTest, 
> DistributedQueryElevationComponentTest, ResourceLoaderTest, 
> DebugComponentTest, AnalysisAfterCoreReloadTest, 
> TestSuggestSpellingConverter, TestRecovery, TestLFUCache, TestFastLRUCache, 
> FullSolrCloudDistribCmdsTest, TestStressVersions, CSVRequestHandlerTest, 
> TestWordDelimiterFilterFactory, TestLMDirichletSimilarityFactory, 
> AutoCommitTest, PluginInfoTest, SolrRequestParserTest, 
> TestQuerySenderNoQuery, TestPropInject, TestCollationField, 
> StatsComponentTest, BadComponentTest, TestJmxMonitoredMap, 
> DisMaxRequestHandlerTest, TestJoin, SolrInfoMBeanTest, 
> TestDFRSimilarityFactory, CoreAdminHandlerTest, ZkSolrClientTest, 
> RAMDirectoryFactoryTest, BinaryUpdateRequestHandlerTest, 
> TestPhraseSuggestions, MinimalSchemaTest, SearchHandlerTest, 
> TestLuceneMatchVersion, QueryEqualityTest, TestDistributedSearch, 
> TestStressRecovery, StatelessScriptUpdateProcessorFactoryTest, 
> ClusterStateUpdateTest, TestWriterPerf, WordBreakSolrSpellCheckerTest, 
> TestFastOutputStream, TestRandomFaceting, SolrCoreCheckLockOnStartupTest, 
> TestIndexingPerformance, TestUpdate, TestCodecSupport, ClusterStateTest, 
> DocumentBuilderTest, ConvertedLegacyTest, TestCoreContainer, 
> DistanceFunctionTest, SystemInfoHandlerTest, SolrCoreTest, CircularListTest, 
> SpellCheckComponentTest, OverseerTest, RecoveryZkTest, TestRealTimeGet, 
> ZkControllerTest, TestDistributedGrouping, SpellCheckCollatorTest, 
> TestExtendedDismaxParser, SoftAutoCommitTest, BasicZkTest, 
> TestHashPartitioner, IndexBasedSpellCheckerTest, TestRangeQuery, 
> DirectUpdateHandlerTest, TestMultiCoreConfBootstrap, SimpleFacetsTest, 
> LukeRequestHandlerTest, TestGroupingSearch, DirectSolrSpellCheckerTest, 
> TestFiltering, PeerSyncTest, QueryElevationComponentTest, SortByFunctionTest, 
> BasicFunctionalityTest, SignatureUpdateProcessorFactoryTest, 
> TestBinaryResponseWriter, TestJmxIntegration, SampleTest, HighlighterTest, 
> TestTrie, DirectSolrConnectionTest, TestRemoteStreaming, CacheHeaderTest, 
> PolyFieldTest, SpatialFilterTest, TestCSVResponseWriter, 
> MoreLikeThisHandlerTest, CurrencyFieldTest, TestPseudoReturnFields, 
> IndexSchemaTest, QueryParsingTest, TermsComponentTest, 
> StandardRequestHandlerTest, XmlUpdateRequestHandlerTest]
> [junit4:junit4]   2> NOTE: reproduce with: ant test  
> -Dtestcase=XmlUpdateRequestHandlerTest -Dtests.seed=ED1A9C533D68A0C3 
> -Dtests.slow=true -Dtests.locale=mk_MK -Dtests.timezone=Asia/Sakhalin 
> -Dtests.file.encoding=Cp1252
> [junit4:junit4] ERROR   0.00s | XmlUpdateRequestHandlerTest (suite) <<<
> [junit4:junit4]    > Throwable #1: junit.framework.AssertionFailedError: 
> Clean up static fields (in @AfterClass?), your test seems to hang on to 
> approximately 11,836,024 bytes (threshold is 10,485,760). Field reference 
> sizes (counted individually):
> [junit4:junit4]    >   - 12,070,224 bytes, protected static 
> org.apache.solr.handler.UpdateRequestHandler 
> org.apache.solr.handler.XmlUpdateRequestHandlerTest.handler
> [junit4:junit4]    >   - 3,792 bytes, private static 
> javax.xml.stream.XMLInputFactory 
> org.apache.solr.handler.XmlUpdateRequestHandlerTest.inputFactory
> [junit4:junit4]    >   - 280 bytes, public static org.junit.rules.TestRule 
> org.apache.solr.SolrTestCaseJ4.solrClassRules
> [junit4:junit4]    >   - 232 bytes, protected static java.lang.String 
> org.apache.solr.SolrTestCaseJ4.testSolrHome
> [junit4:junit4]    >   - 128 bytes, private static java.lang.String 
> org.apache.solr.SolrTestCaseJ4.factoryProp
> [junit4:junit4]    >   - 64 bytes, private static java.lang.String 
> org.apache.solr.SolrTestCaseJ4.coreName
> [junit4:junit4]    >  at 
> __randomizedtesting.SeedInfo.seed([ED1A9C533D68A0C3]:0)
> [junit4:junit4]    >  at 
> com.carrotsearch.randomizedtesting.rules.StaticFieldsInvariantRule$1.afterAlways(StaticFieldsInvariantRule.java:127)
> [junit4:junit4]    >  at 
> com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:43)
> [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:722)
> [junit4:junit4] Completed in 1.54s, 5 tests, 1 failure <<< FAILURES!
> 
> [...truncated 232 lines...]
> BUILD FAILED
> C:\Users\JenkinsSlave\workspace\Lucene-Solr-trunk-Windows\build.xml:335: The 
> following error occurred while executing this line:
> C:\Users\JenkinsSlave\workspace\Lucene-Solr-trunk-Windows\build.xml:39: The 
> following error occurred while executing this line:
> C:\Users\JenkinsSlave\workspace\Lucene-Solr-trunk-Windows\solr\build.xml:178: 
> The following error occurred while executing this line:
> C:\Users\JenkinsSlave\workspace\Lucene-Solr-trunk-Windows\lucene\module-build.xml:61:
>  The following error occurred while executing this line:
> C:\Users\JenkinsSlave\workspace\Lucene-Solr-trunk-Windows\lucene\common-build.xml:1159:
>  The following error occurred while executing this line:
> C:\Users\JenkinsSlave\workspace\Lucene-Solr-trunk-Windows\lucene\common-build.xml:827:
>  There were test failures: 233 suites, 965 tests, 1 suite-level error, 12 
> ignored (7 assumptions)
> 
> Total time: 37 minutes 54 seconds
> Build step 'Invoke Ant' marked build as failure
> Archiving artifacts
> Recording test results
> Description set: Java: 64bit/jdk1.7.0_07 -XX:+UseConcMarkSweepGC
> Email was triggered for: Failure
> Sending email for trigger: Failure
> 
> 
> 
> ---------------------------------------------------------------------
> 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