RE: Test failure in modules/benchmark/: byTask.TestPerfTasksLogic

2012-02-14 Thread Steven A Rowe
Thanks Shai! From: Shai Erera [mailto:ser...@gmail.com] Sent: Tuesday, February 14, 2012 12:17 PM To: dev@lucene.apache.org Subject: Re: Test failure in modules/benchmark/: byTask.TestPerfTasksLogic Found the problem, though I don't understand why didn't it always (!!!) fail. The

Re: Test failure in modules/benchmark/: byTask.TestPerfTasksLogic

2012-02-14 Thread Shai Erera
Found the problem, though I don't understand why didn't it always (!!!) fail. The problem is that DocMaker.setConfig initializes the ContentSource, however it doesn't close it first if its current instance is not null. How can this happen? If your .alg has a resetInputs (and such) tasks, then DocM

Re: Test failure in modules/benchmark/: byTask.TestPerfTasksLogic

2012-02-13 Thread Robert Muir
I poked around... I got nothing. We should probably just open an issue, maybe someone else can see the bug. On Mon, Feb 13, 2012 at 12:48 PM, Robert Muir wrote: > The previous time we had these problems, I committed a half-way fix > admitting there were still sporatic problems. > > So i traced th

Re: Test failure in modules/benchmark/: byTask.TestPerfTasksLogic

2012-02-13 Thread Robert Muir
The previous time we had these problems, I committed a half-way fix admitting there were still sporatic problems. So i traced this down a little more, you can add -Dtestmethod=testParallelExhausted to steven's 'reproduce-with' command-line and it fails. all other test methods are fine. So testPar

Re: Test failure in modules/benchmark/: byTask.TestPerfTasksLogic

2012-02-13 Thread Uwe Schindler
I have the feeling we already fixed that or tried to? Robert? Uwe -- Uwe Schindler H.-H.-Meier-Allee 63, 28213 Bremen http://www.thetaphi.de Robert Muir schrieb: On Sat, Feb 11, 2012 at 1:35 PM, Steven A Rowe wrote: > This fails 100% of the time for me with the given seed, and passes when I

Re: Test failure in modules/benchmark/: byTask.TestPerfTasksLogic

2012-02-13 Thread Robert Muir
On Sat, Feb 11, 2012 at 1:35 PM, Steven A Rowe wrote: > This fails 100% of the time for me with the given seed, and passes when I > don't specify the seed: > fails for me too on a windows box with no virus scanners. So I think in some situations we still have "reuters.first20.lines.txt" open. -

Re: Test failure in modules/benchmark/: byTask.TestPerfTasksLogic

2012-02-13 Thread Robert Muir
On Sat, Feb 11, 2012 at 1:35 PM, Steven A Rowe wrote: > This fails 100% of the time for me with the given seed, and passes when I > don't specify the seed: Thanks for reporting this. Guessing something still has a open file handle on "reuters.first20.lines.txt" and thats why it cannot be deleted

Test failure in modules/benchmark/: byTask.TestPerfTasksLogic

2012-02-11 Thread Steven A Rowe
This fails 100% of the time for me with the given seed, and passes when I don't specify the seed: [junit] Testsuite: org.apache.lucene.benchmark.byTask.TestPerfTasksLogic [junit] Tests run: 23, Failures: 0, Errors: 1, Time elapsed: 5.744 sec [...] [junit] java.io.IOException: could no