This looks like something new to me (doesn't ring a bell). It looks odd -- the assertion that's tripping would seem to indicate that a file that we are copying into a CFS file (after flushing) is still changing while we are copying, which is not good. All files should be closed before we build the CFS. Strange... was this just a local hard drive / NTFS file system, Uwe?
I also can't repro, so far -- I have a while(1) stress test running on OpenSolaris and Windows Server 2003, but no failures yet... Can anyone else get this test to fail? Mike On Tue, Jun 8, 2010 at 7:54 AM, Uwe Schindler <[email protected]> wrote: > I ran the tests on my computer and with 2.9.3 I got a failure, which i > cannot reproduce: > > [junit] Testsuite: org.apache.lucene.index.TestThreadedOptimize > [junit] Tests run: 1, Failures: 1, Errors: 0, Time elapsed: 9,017 sec > [junit] > [junit] ------------- Standard Output --------------- > [junit] Thread-45: hit exception > [junit] java.lang.AssertionError > [junit] at > org.apache.lucene.index.CompoundFileWriter.close(CompoundFileWriter.java:195 > ) > [junit] at > org.apache.lucene.index.DocumentsWriter.createCompoundFile(DocumentsWriter.j > ava:672) > [junit] at > org.apache.lucene.index.IndexWriter.doFlushInternal(IndexWriter.java:4418) > [junit] at > org.apache.lucene.index.IndexWriter.doFlush(IndexWriter.java:4264) > [junit] at > org.apache.lucene.index.IndexWriter.flush(IndexWriter.java:4255) > [junit] at > org.apache.lucene.index.IndexWriter.addDocument(IndexWriter.java:2546) > [junit] at > org.apache.lucene.index.IndexWriter.addDocument(IndexWriter.java:2500) > [junit] at > org.apache.lucene.index.TestThreadedOptimize$1.run(TestThreadedOptimize.java > :92) > [junit] ------------- ---------------- --------------- > [junit] Testcase: > testThreadedOptimize(org.apache.lucene.index.TestThreadedOptimize): > FAILED > [junit] null > [junit] junit.framework.AssertionFailedError > [junit] at > org.apache.lucene.index.TestThreadedOptimize.runTest(TestThreadedOptimize.ja > va:113) > [junit] at > org.apache.lucene.index.TestThreadedOptimize.testThreadedOptimize(TestThread > edOptimize.java:154) > [junit] at > org.apache.lucene.util.LuceneTestCase.runBare(LuceneTestCase.java:221) > [junit] > [junit] > [junit] Test org.apache.lucene.index.TestThreadedOptimize FAILED > > > Maybe it's just the bug in the test we already know, if this is so, we can > proceed with releasing. It happened in JDK 1.4.2 when doing a test build on > my windows machine of 2.9.3-src.zip. > > Mike, maybe it's an already fixed test-only bug (missing "volatile" on field > in this test)? > > Uwe > > ----- > Uwe Schindler > H.-H.-Meier-Allee 63, D-28213 Bremen > http://www.thetaphi.de > eMail: [email protected] > > >> -----Original Message----- >> From: Uwe Schindler [mailto:[email protected]] >> Sent: Monday, June 07, 2010 5:21 PM >> To: [email protected] >> Subject: [VOTE] Apache Lucene Java 2.9.3 and 3.0.2 artifacts to be > released >> >> Hi all, >> >> I have posted a release candidate for both Lucene Java 2.9.3 and 3.0.2 > (which >> both have the same bug fix level, functionality and release announcement), >> build from revision 951790 of the corresponding branches. >> Thanks for all your help! Please test them and give your votes, the > scheduled >> release date for both versions is Friday, June 18th, 2010. Only votes from >> Lucene PMC are binding, but everyone is welcome to check the release >> candidate and voice their approval or disapproval. The vote passes if at > least >> three binding +1 votes are cast. >> >> We planned the parallel release with one announcement because of their >> parallel development / bug fix level to emphasize that they are equal > except >> deprecation removal and Java 5 since major version 3. I will post the > possible >> release announcement soon for corrections. >> >> Artifacts can be found at: >> http://people.apache.org/~uschindler/staging-area/lucene-2.9.3-3.0.2- >> take1-r >> ev951790/ >> >> Changes: >> http://people.apache.org/~uschindler/staging-area/lucene-2.9.3-3.0.2- >> take1-r >> ev951790/changes-2.9.3/Changes.html >> http://people.apache.org/~uschindler/staging-area/lucene-2.9.3-3.0.2- >> take1-r >> ev951790/changes-2.9.3/Contrib-Changes.html >> >> http://people.apache.org/~uschindler/staging-area/lucene-2.9.3-3.0.2- >> take1-r >> ev951790/changes-3.0.2/Changes.html >> http://people.apache.org/~uschindler/staging-area/lucene-2.9.3-3.0.2- >> take1-r >> ev951790/changes-3.0.2/Contrib-Changes.html >> >> Maven artifacts: >> http://people.apache.org/~uschindler/staging-area/lucene-2.9.3-3.0.2- >> take1-r >> ev951790/maven/ >> >> Happy testing! >> >> P.S.: I already tested the latest 3.0.2 artifacts with pangaea.de :-) >> >> ----- >> Uwe Schindler >> H.-H.-Meier-Allee 63, D-28213 Bremen >> http://www.thetaphi.de >> eMail: [email protected] >> > > >
