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 not delete
C:\cygwin\home\s\svn\lucene\dev\trunk\modules\benchmark\build\test\1\benchmark5139751397tmp\reuters.first20.lines.txt
[junit] at org.apache.lucene.util._TestUtil.rmDir(_TestUtil.java:91)
[junit] at
org.apache.lucene.util.LuceneTestCase.clearTempDirectoriesAfterClass(LuceneTestCase.java:453)
[junit] at
org.apache.lucene.util.LuceneTestCase.afterClassLuceneTestCaseJ4(LuceneTestCase.java:383)
[junit] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[junit] at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[junit] at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[junit] at java.lang.reflect.Method.invoke(Method.java:597)
[junit] at
org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
[junit] at
org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
[junit] at
org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
[junit] at
org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:37)
[junit] at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
[junit] at
junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:39)
[junit] at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:420)
[junit] at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:911)
[junit] at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:768)
[junit] path
C:\cygwin\home\s\svn\lucene\dev\trunk\modules\benchmark\build\test\1\benchmark5139751397tmp
allocated from
[junit] org.apache.lucene.util._TestUtil.getTempDir(_TestUtil.java:71)
[junit]
org.apache.lucene.benchmark.BenchmarkTestCase.beforeClassBenchmarkTestCase(BenchmarkTestCase.java:39)
[junit] NOTE: reproduce with (hopefully): ant test
-Dtestcase=TestPerfTasksLogic -Dtests.seed=-3c78ffcf5129d727:0:2790d04b1d8f5ebb
-Dargs="-Dfile.encoding=Cp1252"
[junit] NOTE: test params are: codec=Lucene40:
{body=PostingsFormat(name=Lucene40WithOrds),
docdate=PostingsFormat(name=Lucene40WithOrds),
docdatenum=MockVariableIntBlock(baseBlockSize=109),
docname=PostingsFormat(name=Memory doPackFST= true),
sort_field=PostingsFormat(name=SimpleText),
country=MockVariableIntBlock(baseBlockSize=109),
docid=PostingsFormat(name=Memory doPackFST= true),
$facets=MockVariableIntBlock(baseBlockSize=109),
random_string=PostingsFormat(name=NestedPulsing),
$full_path$=PostingsFormat(name=NestedPulsing),
doctitle=PostingsFormat(name=MockSep),
doctimesecnum=MockVariableIntBlock(baseBlockSize=109),
$payloads$=Pulsing40(freqCutoff=3 minBlockSize=66 maxBlockSize=171)},
sim=RandomSimilarityProvider(queryNorm=false,coord=true): {}, locale=bg,
timezone=Singapore
[junit] NOTE: all tests run in this JVM:
[junit] [TestPerfTasksLogic]
[junit] NOTE: Windows 7 6.1 amd64/Sun Microsystems Inc. 1.6.0_21
(64-bit)/cpus=8,threads=1,free=90172032,total=264306688
[junit] ------------- ---------------- ---------------
[junit] Testcase: org.apache.lucene.benchmark.byTask.TestPerfTasksLogic:
Caused an ERROR
[junit] java.lang.AssertionError: could not remove temp dir:
C:\cygwin\home\s\svn\lucene\dev\trunk\modules\benchmark\build\test\1\benchmark5139751397tmp
[junit] java.lang.RuntimeException: java.lang.AssertionError: could not
remove temp dir:
C:\cygwin\home\s\svn\lucene\dev\trunk\modules\benchmark\build\test\1\benchmark5139751397tmp
[junit] at
org.apache.lucene.util.LuceneTestCase.afterClassLuceneTestCaseJ4(LuceneTestCase.java:404)
[junit] at
org.apache.lucene.util.LuceneTestCase.clearTempDirectoriesAfterClass(LuceneTestCase.java:465)
[junit] at
org.apache.lucene.util.LuceneTestCase.afterClassLuceneTestCaseJ4(LuceneTestCase.java:383)
[junit]
[junit]
[junit] Test org.apache.lucene.benchmark.byTask.TestPerfTasksLogic FAILED
BUILD FAILED
C:\cygwin\home\s\svn\lucene\dev\trunk\lucene\contrib\contrib-build.xml:61: The
following error occurred while executing this line:
C:\cygwin\home\s\svn\lucene\dev\trunk\lucene\common-build.xml:689: The
following error occurred while executing this line:
C:\cygwin\home\s\svn\lucene\dev\trunk\lucene\common-build.xml:678: Tests failed!