Should I open a bug report about this Windows problem or is this known? Not
sure how to fix it.

-----
Uwe Schindler
H.-H.-Meier-Allee 63, D-28213 Bremen
http://www.thetaphi.de
eMail: u...@thetaphi.de

> -----Original Message-----
> From: Uwe Schindler [mailto:u...@thetaphi.de]
> Sent: Tuesday, April 14, 2009 6:19 PM
> To: java-dev@lucene.apache.org
> Subject: RE: Test failed unreproducible
> 
> An I hit the IOException again, it seems to be a problem (also occurring
> on
> java-user on Win32, "Zugriff verweigert" means "Access denied", so the
> Lock
> factory was not able to create the lock, because the file was not yet
> deleted from before or something like that and is not writeable). It hit
> this error very often. It seems to only occur, when the test is run in the
> whole bunch, if it runs alone, it passes. Maybe the NTFS filesystem is so
> overloaded with file-creation/delete, that it does the deletions
> out-of-order:
> 
>     [junit] Testsuite: org.apache.lucene.store.TestLockFactory
>     [junit] Tests run: 13, Failures: 1, Errors: 0, Time elapsed: 9,859 sec
>     [junit]
>     [junit] ------------- Standard Output ---------------
>     [junit] Stress Test Index Writer: creation hit unexpected IOException:
> java.
> io.IOException: Zugriff verweigert
>     [junit] java.io.IOException: Zugriff verweigert
>     [junit]     at java.io.WinNTFileSystem.createFileExclusively(Native
> Method)
>     [junit]     at java.io.File.createNewFile(File.java:850)
>     [junit]     at
> org.apache.lucene.store.SimpleFSLock.obtain(SimpleFSLockFacto
> ry.java:144)
>     [junit]     at org.apache.lucene.store.Lock.obtain(Lock.java:73)
>     [junit]     at
> org.apache.lucene.index.IndexWriter.init(IndexWriter.java:143
> 8)
>     [junit]     at
> org.apache.lucene.index.IndexWriter.<init>(IndexWriter.java:9
> 70)
>     [junit]     at
> org.apache.lucene.store.TestLockFactory$WriterThread.run(Test
> LockFactory.java:431)
>     [junit] Stress Test Index Writer: creation hit unexpected IOException:
> java.
> io.IOException: Zugriff verweigert
>     [junit] java.io.IOException: Zugriff verweigert
>     [junit]     at java.io.WinNTFileSystem.createFileExclusively(Native
> Method)
>     [junit]     at java.io.File.createNewFile(File.java:850)
>     [junit]     at
> org.apache.lucene.store.SimpleFSLock.obtain(SimpleFSLockFacto
> ry.java:144)
>     [junit]     at org.apache.lucene.store.Lock.obtain(Lock.java:73)
>     [junit]     at
> org.apache.lucene.index.IndexWriter.init(IndexWriter.java:143
> 8)
>     [junit]     at
> org.apache.lucene.index.IndexWriter.<init>(IndexWriter.java:9
> 70)
>     [junit]     at
> org.apache.lucene.store.TestLockFactory$WriterThread.run(Test
> LockFactory.java:431)
>     [junit] Stress Test Index Writer: creation hit unexpected IOException:
> java.
> io.IOException: Zugriff verweigert
>     [junit] java.io.IOException: Zugriff verweigert
>     [junit]     at java.io.WinNTFileSystem.createFileExclusively(Native
> Method)
>     [junit]     at java.io.File.createNewFile(File.java:850)
>     [junit]     at
> org.apache.lucene.store.SimpleFSLock.obtain(SimpleFSLockFacto
> ry.java:144)
>     [junit]     at org.apache.lucene.store.Lock.obtain(Lock.java:73)
>     [junit]     at
> org.apache.lucene.index.IndexWriter.init(IndexWriter.java:143
> 8)
>     [junit]     at
> org.apache.lucene.index.IndexWriter.<init>(IndexWriter.java:9
> 70)
>     [junit]     at
> org.apache.lucene.store.TestLockFactory$WriterThread.run(Test
> LockFactory.java:431)
>     [junit] Stress Test Index Writer: creation hit unexpected IOException:
> java.
> io.IOException: Zugriff verweigert
>     [junit] java.io.IOException: Zugriff verweigert
>     [junit]     at java.io.WinNTFileSystem.createFileExclusively(Native
> Method)
>     [junit]     at java.io.File.createNewFile(File.java:850)
>     [junit]     at
> org.apache.lucene.store.SimpleFSLock.obtain(SimpleFSLockFacto
> ry.java:144)
>     [junit]     at org.apache.lucene.store.Lock.obtain(Lock.java:73)
>     [junit]     at
> org.apache.lucene.index.IndexWriter.init(IndexWriter.java:143
> 8)
>     [junit]     at
> org.apache.lucene.index.IndexWriter.<init>(IndexWriter.java:9
> 70)
>     [junit]     at
> org.apache.lucene.store.TestLockFactory$WriterThread.run(Test
> LockFactory.java:431)
>     [junit] Stress Test Index Writer: creation hit unexpected IOException:
> java.
> io.IOException: Zugriff verweigert
>     [junit] java.io.IOException: Zugriff verweigert
>     [junit]     at java.io.WinNTFileSystem.createFileExclusively(Native
> Method)
>     [junit]     at java.io.File.createNewFile(File.java:850)
>     [junit]     at
> org.apache.lucene.store.SimpleFSLock.obtain(SimpleFSLockFacto
> ry.java:144)
>     [junit]     at org.apache.lucene.store.Lock.obtain(Lock.java:73)
>     [junit]     at
> org.apache.lucene.index.IndexWriter.init(IndexWriter.java:143
> 8)
>     [junit]     at
> org.apache.lucene.index.IndexWriter.<init>(IndexWriter.java:9
> 70)
>     [junit]     at
> org.apache.lucene.store.TestLockFactory$WriterThread.run(Test
> LockFactory.java:431)
>     [junit] Stress Test Index Writer: creation hit unexpected IOException:
> java.
> io.IOException: Zugriff verweigert
>     [junit] java.io.IOException: Zugriff verweigert
>     [junit]     at java.io.WinNTFileSystem.createFileExclusively(Native
> Method)
>     [junit]     at java.io.File.createNewFile(File.java:850)
>     [junit]     at
> org.apache.lucene.store.SimpleFSLock.obtain(SimpleFSLockFacto
> ry.java:144)
>     [junit]     at org.apache.lucene.store.Lock.obtain(Lock.java:73)
>     [junit]     at
> org.apache.lucene.index.IndexWriter.init(IndexWriter.java:143
> 8)
>     [junit]     at
> org.apache.lucene.index.IndexWriter.<init>(IndexWriter.java:9
> 70)
>     [junit]     at
> org.apache.lucene.store.TestLockFactory$WriterThread.run(Test
> LockFactory.java:431)
>     [junit] Stress Test Index Writer: creation hit unexpected IOException:
> java.
> io.IOException: Zugriff verweigert
>     [junit] java.io.IOException: Zugriff verweigert
>     [junit]     at java.io.WinNTFileSystem.createFileExclusively(Native
> Method)
>     [junit]     at java.io.File.createNewFile(File.java:850)
>     [junit]     at
> org.apache.lucene.store.SimpleFSLock.obtain(SimpleFSLockFacto
> ry.java:144)
>     [junit]     at org.apache.lucene.store.Lock.obtain(Lock.java:73)
>     [junit]     at
> org.apache.lucene.index.IndexWriter.init(IndexWriter.java:143
> 8)
>     [junit]     at
> org.apache.lucene.index.IndexWriter.<init>(IndexWriter.java:9
> 70)
>     [junit]     at
> org.apache.lucene.store.TestLockFactory$WriterThread.run(Test
> LockFactory.java:431)
>     [junit] Stress Test Index Writer: creation hit unexpected IOException:
> java.
> io.IOException: Zugriff verweigert
>     [junit] java.io.IOException: Zugriff verweigert
>     [junit]     at java.io.WinNTFileSystem.createFileExclusively(Native
> Method)
>     [junit]     at java.io.File.createNewFile(File.java:850)
>     [junit]     at
> org.apache.lucene.store.SimpleFSLock.obtain(SimpleFSLockFacto
> ry.java:144)
>     [junit]     at org.apache.lucene.store.Lock.obtain(Lock.java:73)
>     [junit]     at
> org.apache.lucene.index.IndexWriter.init(IndexWriter.java:143
> 8)
>     [junit]     at
> org.apache.lucene.index.IndexWriter.<init>(IndexWriter.java:9
> 70)
>     [junit]     at
> org.apache.lucene.store.TestLockFactory$WriterThread.run(Test
> LockFactory.java:431)
>     [junit] Stress Test Index Writer: creation hit unexpected IOException:
> java.
> io.IOException: Zugriff verweigert
>     [junit] java.io.IOException: Zugriff verweigert
>     [junit]     at java.io.WinNTFileSystem.createFileExclusively(Native
> Method)
>     [junit]     at java.io.File.createNewFile(File.java:850)
>     [junit]     at
> org.apache.lucene.store.SimpleFSLock.obtain(SimpleFSLockFacto
> ry.java:144)
>     [junit]     at org.apache.lucene.store.Lock.obtain(Lock.java:73)
>     [junit]     at
> org.apache.lucene.index.IndexWriter.init(IndexWriter.java:143
> 8)
>     [junit]     at
> org.apache.lucene.index.IndexWriter.<init>(IndexWriter.java:9
> 70)
>     [junit]     at
> org.apache.lucene.store.TestLockFactory$WriterThread.run(Test
> LockFactory.java:431)
>     [junit] Stress Test Index Writer: creation hit unexpected IOException:
> java.
> io.IOException: Zugriff verweigert
>     [junit] java.io.IOException: Zugriff verweigert
>     [junit]     at java.io.WinNTFileSystem.createFileExclusively(Native
> Method)
>     [junit]     at java.io.File.createNewFile(File.java:850)
>     [junit]     at
> org.apache.lucene.store.SimpleFSLock.obtain(SimpleFSLockFacto
> ry.java:144)
>     [junit]     at org.apache.lucene.store.Lock.obtain(Lock.java:73)
>     [junit]     at
> org.apache.lucene.index.IndexWriter.init(IndexWriter.java:143
> 8)
>     [junit]     at
> org.apache.lucene.index.IndexWriter.<init>(IndexWriter.java:9
> 70)
>     [junit]     at
> org.apache.lucene.store.TestLockFactory$WriterThread.run(Test
> LockFactory.java:431)
>     [junit] Stress Test Index Writer: creation hit unexpected IOException:
> java.
> io.IOException: Zugriff verweigert
>     [junit] java.io.IOException: Zugriff verweigert
>     [junit]     at java.io.WinNTFileSystem.createFileExclusively(Native
> Method)
>     [junit]     at java.io.File.createNewFile(File.java:850)
>     [junit]     at
> org.apache.lucene.store.SimpleFSLock.obtain(SimpleFSLockFacto
> ry.java:144)
>     [junit]     at org.apache.lucene.store.Lock.obtain(Lock.java:73)
>     [junit]     at
> org.apache.lucene.index.IndexWriter.init(IndexWriter.java:143
> 8)
>     [junit]     at
> org.apache.lucene.index.IndexWriter.<init>(IndexWriter.java:9
> 70)
>     [junit]     at
> org.apache.lucene.store.TestLockFactory$WriterThread.run(Test
> LockFactory.java:431)
>     [junit] Stress Test Index Writer: creation hit unexpected IOException:
> java.
> io.IOException: Zugriff verweigert
>     [junit] java.io.IOException: Zugriff verweigert
>     [junit]     at java.io.WinNTFileSystem.createFileExclusively(Native
> Method)
>     [junit]     at java.io.File.createNewFile(File.java:850)
>     [junit]     at
> org.apache.lucene.store.SimpleFSLock.obtain(SimpleFSLockFacto
> ry.java:144)
>     [junit]     at org.apache.lucene.store.Lock.obtain(Lock.java:73)
>     [junit]     at
> org.apache.lucene.index.IndexWriter.init(IndexWriter.java:143
> 8)
>     [junit]     at
> org.apache.lucene.index.IndexWriter.<init>(IndexWriter.java:9
> 70)
>     [junit]     at
> org.apache.lucene.store.TestLockFactory$WriterThread.run(Test
> LockFactory.java:431)
>     [junit] Stress Test Index Writer: creation hit unexpected IOException:
> java.
> io.IOException: Zugriff verweigert
>     [junit] java.io.IOException: Zugriff verweigert
>     [junit]     at java.io.WinNTFileSystem.createFileExclusively(Native
> Method)
>     [junit]     at java.io.File.createNewFile(File.java:850)
>     [junit]     at
> org.apache.lucene.store.SimpleFSLock.obtain(SimpleFSLockFacto
> ry.java:144)
>     [junit]     at org.apache.lucene.store.Lock.obtain(Lock.java:73)
>     [junit]     at
> org.apache.lucene.index.IndexWriter.init(IndexWriter.java:143
> 8)
>     [junit]     at
> org.apache.lucene.index.IndexWriter.<init>(IndexWriter.java:9
> 70)
>     [junit]     at
> org.apache.lucene.store.TestLockFactory$WriterThread.run(Test
> LockFactory.java:431)
>     [junit] Stress Test Index Writer: creation hit unexpected IOException:
> java.
> io.IOException: Zugriff verweigert
>     [junit] java.io.IOException: Zugriff verweigert
>     [junit]     at java.io.WinNTFileSystem.createFileExclusively(Native
> Method)
>     [junit]     at java.io.File.createNewFile(File.java:850)
>     [junit]     at
> org.apache.lucene.store.SimpleFSLock.obtain(SimpleFSLockFacto
> ry.java:144)
>     [junit]     at org.apache.lucene.store.Lock.obtain(Lock.java:73)
>     [junit]     at
> org.apache.lucene.index.IndexWriter.init(IndexWriter.java:143
> 8)
>     [junit]     at
> org.apache.lucene.index.IndexWriter.<init>(IndexWriter.java:9
> 70)
>     [junit]     at
> org.apache.lucene.store.TestLockFactory$WriterThread.run(Test
> LockFactory.java:431)
>     [junit] Stress Test Index Writer: creation hit unexpected IOException:
> java.
> io.IOException: Zugriff verweigert
>     [junit] java.io.IOException: Zugriff verweigert
>     [junit]     at java.io.WinNTFileSystem.createFileExclusively(Native
> Method)
>     [junit]     at java.io.File.createNewFile(File.java:850)
>     [junit]     at
> org.apache.lucene.store.SimpleFSLock.obtain(SimpleFSLockFacto
> ry.java:144)
>     [junit]     at org.apache.lucene.store.Lock.obtain(Lock.java:73)
>     [junit]     at
> org.apache.lucene.index.IndexWriter.init(IndexWriter.java:143
> 8)
>     [junit]     at
> org.apache.lucene.index.IndexWriter.<init>(IndexWriter.java:9
> 70)
>     [junit]     at
> org.apache.lucene.store.TestLockFactory$WriterThread.run(Test
> LockFactory.java:431)
>     [junit] Stress Test Index Writer: creation hit unexpected IOException:
> java.
> io.IOException: Zugriff verweigert
>     [junit] java.io.IOException: Zugriff verweigert
>     [junit]     at java.io.WinNTFileSystem.createFileExclusively(Native
> Method)
>     [junit]     at java.io.File.createNewFile(File.java:850)
>     [junit]     at
> org.apache.lucene.store.SimpleFSLock.obtain(SimpleFSLockFacto
> ry.java:144)
>     [junit]     at org.apache.lucene.store.Lock.obtain(Lock.java:73)
>     [junit]     at
> org.apache.lucene.index.IndexWriter.init(IndexWriter.java:143
> 8)
>     [junit]     at
> org.apache.lucene.index.IndexWriter.<init>(IndexWriter.java:9
> 70)
>     [junit]     at
> org.apache.lucene.store.TestLockFactory$WriterThread.run(Test
> LockFactory.java:431)
>     [junit] Stress Test Index Writer: creation hit unexpected IOException:
> java.
> io.IOException: Zugriff verweigert
>     [junit] java.io.IOException: Zugriff verweigert
>     [junit]     at java.io.WinNTFileSystem.createFileExclusively(Native
> Method)
>     [junit]     at java.io.File.createNewFile(File.java:850)
>     [junit]     at
> org.apache.lucene.store.SimpleFSLock.obtain(SimpleFSLockFacto
> ry.java:144)
>     [junit]     at org.apache.lucene.store.Lock.obtain(Lock.java:73)
>     [junit]     at
> org.apache.lucene.index.IndexWriter.init(IndexWriter.java:143
> 8)
>     [junit]     at
> org.apache.lucene.index.IndexWriter.<init>(IndexWriter.java:9
> 70)
>     [junit]     at
> org.apache.lucene.store.TestLockFactory$WriterThread.run(Test
> LockFactory.java:431)
>     [junit] Stress Test Index Writer: creation hit unexpected IOException:
> java.
> io.IOException: Zugriff verweigert
>     [junit] java.io.IOException: Zugriff verweigert
>     [junit]     at java.io.WinNTFileSystem.createFileExclusively(Native
> Method)
>     [junit]     at java.io.File.createNewFile(File.java:850)
>     [junit]     at
> org.apache.lucene.store.SimpleFSLock.obtain(SimpleFSLockFacto
> ry.java:144)
>     [junit]     at org.apache.lucene.store.Lock.obtain(Lock.java:73)
>     [junit]     at
> org.apache.lucene.index.IndexWriter.init(IndexWriter.java:143
> 8)
>     [junit]     at
> org.apache.lucene.index.IndexWriter.<init>(IndexWriter.java:9
> 70)
>     [junit]     at
> org.apache.lucene.store.TestLockFactory$WriterThread.run(Test
> LockFactory.java:431)
>     [junit] Stress Test Index Writer: creation hit unexpected IOException:
> java.
> io.IOException: Zugriff verweigert
>     [junit] java.io.IOException: Zugriff verweigert
>     [junit]     at java.io.WinNTFileSystem.createFileExclusively(Native
> Method)
>     [junit]     at java.io.File.createNewFile(File.java:850)
>     [junit]     at
> org.apache.lucene.store.SimpleFSLock.obtain(SimpleFSLockFacto
> ry.java:144)
>     [junit]     at org.apache.lucene.store.Lock.obtain(Lock.java:73)
>     [junit]     at
> org.apache.lucene.index.IndexWriter.init(IndexWriter.java:143
> 8)
>     [junit]     at
> org.apache.lucene.index.IndexWriter.<init>(IndexWriter.java:9
> 70)
>     [junit]     at
> org.apache.lucene.store.TestLockFactory$WriterThread.run(Test
> LockFactory.java:431)
>     [junit] Stress Test Index Writer: creation hit unexpected IOException:
> java.
> io.IOException: Zugriff verweigert
>     [junit] java.io.IOException: Zugriff verweigert
>     [junit]     at java.io.WinNTFileSystem.createFileExclusively(Native
> Method)
>     [junit]     at java.io.File.createNewFile(File.java:850)
>     [junit]     at
> org.apache.lucene.store.SimpleFSLock.obtain(SimpleFSLockFacto
> ry.java:144)
>     [junit]     at org.apache.lucene.store.Lock.obtain(Lock.java:73)
>     [junit]     at
> org.apache.lucene.index.IndexWriter.init(IndexWriter.java:143
> 8)
>     [junit]     at
> org.apache.lucene.index.IndexWriter.<init>(IndexWriter.java:9
> 70)
>     [junit]     at
> org.apache.lucene.store.TestLockFactory$WriterThread.run(Test
> LockFactory.java:431)
>     [junit] Stress Test Index Writer: creation hit unexpected IOException:
> java.
> io.IOException: Zugriff verweigert
>     [junit] java.io.IOException: Zugriff verweigert
>     [junit]     at java.io.WinNTFileSystem.createFileExclusively(Native
> Method)
>     [junit]     at java.io.File.createNewFile(File.java:850)
>     [junit]     at
> org.apache.lucene.store.SimpleFSLock.obtain(SimpleFSLockFacto
> ry.java:144)
>     [junit]     at org.apache.lucene.store.Lock.obtain(Lock.java:73)
>     [junit]     at
> org.apache.lucene.index.IndexWriter.init(IndexWriter.java:143
> 8)
>     [junit]     at
> org.apache.lucene.index.IndexWriter.<init>(IndexWriter.java:9
> 70)
>     [junit]     at
> org.apache.lucene.store.TestLockFactory$WriterThread.run(Test
> LockFactory.java:431)
>     [junit] Stress Test Index Writer: creation hit unexpected IOException:
> java.
> io.IOException: Zugriff verweigert
>     [junit] java.io.IOException: Zugriff verweigert
>     [junit]     at java.io.WinNTFileSystem.createFileExclusively(Native
> Method)
>     [junit]     at java.io.File.createNewFile(File.java:850)
>     [junit]     at
> org.apache.lucene.store.SimpleFSLock.obtain(SimpleFSLockFacto
> ry.java:144)
>     [junit]     at org.apache.lucene.store.Lock.obtain(Lock.java:73)
>     [junit]     at
> org.apache.lucene.index.IndexWriter.init(IndexWriter.java:143
> 8)
>     [junit]     at
> org.apache.lucene.index.IndexWriter.<init>(IndexWriter.java:9
> 70)
>     [junit]     at
> org.apache.lucene.store.TestLockFactory$WriterThread.run(Test
> LockFactory.java:431)
>     [junit] Stress Test Index Writer: creation hit unexpected IOException:
> java.
> io.IOException: Zugriff verweigert
>     [junit] java.io.IOException: Zugriff verweigert
>     [junit]     at java.io.WinNTFileSystem.createFileExclusively(Native
> Method)
>     [junit]     at java.io.File.createNewFile(File.java:850)
>     [junit]     at
> org.apache.lucene.store.SimpleFSLock.obtain(SimpleFSLockFacto
> ry.java:144)
>     [junit]     at org.apache.lucene.store.Lock.obtain(Lock.java:73)
>     [junit]     at
> org.apache.lucene.index.IndexWriter.init(IndexWriter.java:143
> 8)
>     [junit]     at
> org.apache.lucene.index.IndexWriter.<init>(IndexWriter.java:9
> 70)
>     [junit]     at
> org.apache.lucene.store.TestLockFactory$WriterThread.run(Test
> LockFactory.java:431)
>     [junit] Stress Test Index Writer: creation hit unexpected IOException:
> java.
> io.IOException: Zugriff verweigert
>     [junit] java.io.IOException: Zugriff verweigert
>     [junit]     at java.io.WinNTFileSystem.createFileExclusively(Native
> Method)
>     [junit]     at java.io.File.createNewFile(File.java:850)
>     [junit]     at
> org.apache.lucene.store.SimpleFSLock.obtain(SimpleFSLockFacto
> ry.java:144)
>     [junit]     at org.apache.lucene.store.Lock.obtain(Lock.java:73)
>     [junit]     at
> org.apache.lucene.index.IndexWriter.init(IndexWriter.java:143
> 8)
>     [junit]     at
> org.apache.lucene.index.IndexWriter.<init>(IndexWriter.java:9
> 70)
>     [junit]     at
> org.apache.lucene.store.TestLockFactory$WriterThread.run(Test
> LockFactory.java:431)
>     [junit] Stress Test Index Writer: creation hit unexpected IOException:
> java.
> io.IOException: Zugriff verweigert
>     [junit] java.io.IOException: Zugriff verweigert
>     [junit]     at java.io.WinNTFileSystem.createFileExclusively(Native
> Method)
>     [junit]     at java.io.File.createNewFile(File.java:850)
>     [junit]     at
> org.apache.lucene.store.SimpleFSLock.obtain(SimpleFSLockFacto
> ry.java:144)
>     [junit]     at org.apache.lucene.store.Lock.obtain(Lock.java:73)
>     [junit]     at
> org.apache.lucene.index.IndexWriter.init(IndexWriter.java:143
> 8)
>     [junit]     at
> org.apache.lucene.index.IndexWriter.<init>(IndexWriter.java:9
> 70)
>     [junit]     at
> org.apache.lucene.store.TestLockFactory$WriterThread.run(Test
> LockFactory.java:431)
>     [junit] Stress Test Index Writer: creation hit unexpected IOException:
> java.
> io.IOException: Zugriff verweigert
>     [junit] java.io.IOException: Zugriff verweigert
>     [junit]     at java.io.WinNTFileSystem.createFileExclusively(Native
> Method)
>     [junit]     at java.io.File.createNewFile(File.java:850)
>     [junit]     at
> org.apache.lucene.store.SimpleFSLock.obtain(SimpleFSLockFacto
> ry.java:144)
>     [junit]     at org.apache.lucene.store.Lock.obtain(Lock.java:73)
>     [junit]     at
> org.apache.lucene.index.IndexWriter.init(IndexWriter.java:143
> 8)
>     [junit]     at
> org.apache.lucene.index.IndexWriter.<init>(IndexWriter.java:9
> 70)
>     [junit]     at
> org.apache.lucene.store.TestLockFactory$WriterThread.run(Test
> LockFactory.java:431)
>     [junit] Stress Test Index Writer: creation hit unexpected IOException:
> java.
> io.IOException: Zugriff verweigert
>     [junit] java.io.IOException: Zugriff verweigert
>     [junit]     at java.io.WinNTFileSystem.createFileExclusively(Native
> Method)
>     [junit]     at java.io.File.createNewFile(File.java:850)
>     [junit]     at
> org.apache.lucene.store.SimpleFSLock.obtain(SimpleFSLockFacto
> ry.java:144)
>     [junit]     at org.apache.lucene.store.Lock.obtain(Lock.java:73)
>     [junit]     at
> org.apache.lucene.index.IndexWriter.init(IndexWriter.java:143
> 8)
>     [junit]     at
> org.apache.lucene.index.IndexWriter.<init>(IndexWriter.java:9
> 70)
>     [junit]     at
> org.apache.lucene.store.TestLockFactory$WriterThread.run(Test
> LockFactory.java:431)
>     [junit] ------------- ---------------- ---------------
>     [junit] Testcase:
> testStressLocks(org.apache.lucene.store.TestLockFactory):
> FAILED
>     [junit] IndexWriter hit unexpected exceptions
>     [junit] junit.framework.AssertionFailedError: IndexWriter hit
> unexpected
> exc
> eptions
>     [junit]     at
> org.apache.lucene.store.TestLockFactory._testStressLocks(Test
> LockFactory.java:359)
>     [junit]     at
> org.apache.lucene.store.TestLockFactory.testStressLocks(TestL
> ockFactory.java:330)
>     [junit]     at
> org.apache.lucene.util.LuceneTestCase.runTest(LuceneTestCase.
> java:88)
>     [junit]
>     [junit]
>     [junit] Test org.apache.lucene.store.TestLockFactory FAILED
> 
> -----
> Uwe Schindler
> H.-H.-Meier-Allee 63, D-28213 Bremen
> http://www.thetaphi.de
> eMail: u...@thetaphi.de
> 
> > -----Original Message-----
> > From: Michael McCandless [mailto:luc...@mikemccandless.com]
> > Sent: Tuesday, April 14, 2009 12:50 PM
> > To: java-dev@lucene.apache.org
> > Subject: Re: Test failed unreproducible
> >
> > OK committed a fix.  Next time you hit it you should see what the
> > IOException was.
> >
> > Mike
> >
> > On Tue, Apr 14, 2009 at 6:19 AM, Uwe Schindler <u...@thetaphi.de> wrote:
> > > Hi,
> > >
> > > During my developments for MultiTerm TrieRange, I hit the following
> test
> > > error:
> > >
> > >    [junit] Testsuite: org.apache.lucene.store.TestLockFactory
> > >    [junit] Tests run: 13, Failures: 1, Errors: 0, Time elapsed: 13,047
> > sec
> > >    [junit]
> > >    [junit] Testcase:
> > > testStressLocks(org.apache.lucene.store.TestLockFactory): FAILED
> > >    [junit] IndexWriter hit unexpected exceptions
> > >    [junit] junit.framework.AssertionFailedError: IndexWriter hit
> > unexpected
> > > exceptions
> > >    [junit]     at
> > >
> >
> org.apache.lucene.store.TestLockFactory._testStressLocks(TestLockFactory.j
> > av
> > > a:359)
> > >    [junit]     at
> > >
> >
> org.apache.lucene.store.TestLockFactory.testStressLocks(TestLockFactory.ja
> > va
> > > :330)
> > >    [junit]     at
> > > org.apache.lucene.util.LuceneTestCase.runTest(LuceneTestCase.java:88)
> > >    [junit]
> > >    [junit]
> > >    [junit] Test org.apache.lucene.store.TestLockFactory FAILED
> > >
> > > Repeating the test did not produce it again. This test ran on Windows
> > XP,
> > > 32bit, JRE 1.5.0_12, local file system
> > >
> > > Uwe
> > >
> > > -----
> > > Uwe Schindler
> > > H.-H.-Meier-Allee 63, D-28213 Bremen
> > > http://www.thetaphi.de
> > > eMail: u...@thetaphi.de
> > >
> > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: java-dev-unsubscr...@lucene.apache.org
> > > For additional commands, e-mail: java-dev-h...@lucene.apache.org
> > >
> > >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: java-dev-unsubscr...@lucene.apache.org
> > For additional commands, e-mail: java-dev-h...@lucene.apache.org
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-dev-unsubscr...@lucene.apache.org
> For additional commands, e-mail: java-dev-h...@lucene.apache.org



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

Reply via email to