The problem can be seen in the stacktrace. The _f.nrm was never fsynced to disk.
When close() is called on any directory from a test, MockDirectoryWrapper simulates an OS crash() by intentionally corrumpting any un-fsynced files. (The whole point of this is to find bugs where things aren't fsynced), The thing is here crash() itself gets FNFE... On Wed, Dec 28, 2011 at 4:34 PM, Uwe Schindler <u...@thetaphi.de> wrote: > Sorry, misunderstood the mail. Jenkins is fine, it’s a test problem > occurring sometimes. Last run was fine. > > > > ----- > > Uwe Schindler > > H.-H.-Meier-Allee 63, D-28213 Bremen > > http://www.thetaphi.de > > eMail: u...@thetaphi.de > > > > From: Uwe Schindler [mailto:u...@thetaphi.de] > Sent: Wednesday, December 28, 2011 9:27 PM > To: dev@lucene.apache.org > Subject: Re: [JENKINS] Lucene-Solr-tests-only-3.x - Build # 11951 - Failure > > > > I will check later, maybe the usual out of disk space problem. > -- > Uwe Schindler > H.-H.-Meier-Allee 63, 28213 Bremen > http://www.thetaphi.de > > > > Yonik Seeley <yo...@lucidimagination.com> schrieb: > > As far as I can see, this started intermittently failing at the start > of Dec (and only on 3x). > Anyone have an idea of what changed to cause this? > > -Yonik > http://www.lucidimagination.com > > > > On Wed, Dec 28, 2011 at 3:06 PM, Apache Jenkins Server > <jenk...@builds.apache.org> wrote: >> Build: https://builds.apache.org/job/Lucene-Solr-tests-only-3.x/11951/ >> >> 2 tests failed. >> FAILED: >> junit.framework.TestSuite.org.apache.solr.update.processor.SignatureUpdateProcessorFactoryTest >> >> Error Message: >> Cannot delete > > /usr/home/hudson/hudson-slave/workspace/Lucene-Solr-tests-only-3.x/checkout/solr/build/solr-core/test/6/solrtest-SignatureUpdateProcessorFactoryTest-1325102196221/index/_f.nrm >> >> Stack Trace: >> java.io.IOException: Cannot delete >> /usr/home/hudson/hudson-slave/workspace/Lucene-Solr-tests-only-3.x/checkout/solr/build/solr-core/test/6/solrtest-SignatureUpdateProcessorFactoryTest-1325102196221/index/_f.nrm >> at >> org.apache.lucene.store.FSDirectory.deleteFile(FSDirectory.java:296) >> at >> org.apache.lucene.store.MockDirectoryWrapper.deleteFile(MockDirectoryWrapper.java:392) >> at >> org.apache.lucene.store.MockDirectoryWrapper.crash(MockDirectoryWrapper.java:265) >> at >> org.apache.lucene.store.MockDirectoryWrapper.close(MockDirectoryWrapper.java:556) >> at >> org.apache.solr.SolrTestCaseJ4.closeDirectories(SolrTestCaseJ4.java:82) >> > > at > > org.apache.solr.SolrTestCaseJ4.deleteCore(SolrTestCaseJ4.java:290) >> at >> org.apache.solr.SolrTestCaseJ4.afterClassSolrTestCase(SolrTestCaseJ4.java:72) >> >> >> FAILED: >> junit.framework.TestSuite.org.apache.solr.update.processor.SignatureUpdateProcessorFactoryTest >> >> Error Message: >> java.lang.AssertionError: directory of test was not closed, opened from: >> org.apache.solr.core.MockDirectoryFactory.open(MockDirectoryFactory.java:34) >> >> Stack Trace: >> java.lang.RuntimeException: java.lang.AssertionError: directory of test >> was not closed, opened from: >> org.apache.solr.core.MockDirectoryFactory.open(MockDirectoryFactory.java:34) >> at >> org.apache.lucene.util.LuceneTestCase.afterClassLuceneTestCaseJ4(LuceneTestCase.java:310) >> at > > org.apache.lucene.util.LuceneTestCase.checkResourcesAfterClass(LuceneTestCase.java:349) >> at >> org.apache.lucene.util.LuceneTestCase.afterClassLuceneTestCaseJ4(LuceneTestCase.java:278) >> >> >> >> >> Build Log (for compile errors): >> [...truncated 15152 lines...] >> >> >> >> > > ________________________________ > > >> To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org >> For additional commands, e-mail: dev-h...@lucene.apache.org >> > > ________________________________ > > > To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org > For additional commands, e-mail: dev-h...@lucene.apache.org -- lucidimagination.com --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org