# ant test -Dtestpackage=failures -Dtests.seed=-737472ec6455983d:77a4c0da1ce834dd:1a2ea2ed4eba1655 junit-parallel: [junit] Exception in thread "main" java.lang.NoClassDefFoundError: Could not initialize class org.apache.lucene.util.junitcompat.failures.TestFailOn01ClassLoad [junit] at java.lang.Class.forName0(Native Method) [junit] at java.lang.Class.forName(Class.java:186) [junit] at org.apache.lucene.util.LuceneJUnitResultFormatter.endTestSuite(LuceneJUnitResultFormatter.java:158) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.fireEndTestSuite(JUnitTestRunner.java:726) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:551) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:1052) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:879) [junit] Testsuite: org.apache.lucene.util.junitcompat.failures.TestFailOn02BeforeClass [junit] Testcase: org.apache.lucene.util.junitcompat.failures.TestFailOn02BeforeClass: Caused an ERROR [junit] Exception on @BeforeClass. [junit] java.lang.RuntimeException: Exception on @BeforeClass. [junit] at org.apache.lucene.util.junitcompat.failures.TestFailOn02BeforeClass.beforeClass(TestFailOn02BeforeClass.java:13) [junit] [junit] [junit] Tests run: 0, Failures: 0, Errors: 1, Time elapsed: 0.165 sec [junit] [junit] TEST org.apache.lucene.util.junitcompat.failures.TestFailOn02BeforeClass FAILED [junit] Testsuite: org.apache.lucene.util.junitcompat.failures.TestFailOn04Before [junit] Testsuite: org.apache.lucene.util.junitcompat.failures.TestFailOn03NewInstance [junit] Testcase: testMethod(org.apache.lucene.util.junitcompat.failures.TestFailOn04Before): Caused an ERROR [junit] Testcase: testMethod(org.apache.lucene.util.junitcompat.failures.TestFailOn03NewInstance): Caused an ERROR [junit] Exception on new instance. [junit] Exception on new instance. [junit] java.lang.RuntimeException: Exception on new instance. [junit] java.lang.RuntimeException: Exception on new instance. [junit] at org.apache.lucene.util.junitcompat.failures.TestFailOn04Before.before(TestFailOn04Before.java:14) [junit] at org.apache.lucene.util.junitcompat.failures.TestFailOn03NewInstance.(TestFailOn03NewInstance.java:12) [junit] at org.apache.lucene.util.LuceneTestCase$SubclassSetupTeardownRule$1.evaluate(LuceneTestCase.java:700) [junit] at java.lang.reflect.Constructor.newInstance(Constructor.java:525) [junit] at org.apache.lucene.util.LuceneTestCase$InternalSetupTeardownRule$1.evaluate(LuceneTestCase.java:599) [junit] at org.apache.lucene.util.LuceneTestCaseRunner.runChild(LuceneTestCaseRunner.java:165) [junit] at org.apache.lucene.util.LuceneTestCase$TestResultInterceptorRule$1.evaluate(LuceneTestCase.java:504) [junit] at org.apache.lucene.util.LuceneTestCaseRunner.runChild(LuceneTestCaseRunner.java:57) [junit] [junit] at org.apache.lucene.util.LuceneTestCase$RememberThreadRule$1.evaluate(LuceneTestCase.java:562) [junit] [junit] at org.apache.lucene.util.LuceneTestCaseRunner.runChild(LuceneTestCaseRunner.java:165) [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0.167 sec [junit] [junit] at org.apache.lucene.util.LuceneTestCaseRunner.runChild(LuceneTestCaseRunner.java:57) [junit] TEST org.apache.lucene.util.junitcompat.failures.TestFailOn03NewInstance FAILED [junit] [junit] [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0.166 sec [junit] [junit] ------------- Standard Error ----------------- [junit] NOTE: reproduce with: ant test -Dtestcase=TestFailOn04Before -Dtestmethod=testMethod -Dtests.seed=-737472ec6455983d:77a4c0da1ce834dd:1a2ea2ed4eba1655 -Dargs="-Dfile.encoding=Cp1252" [junit] NOTE: test params are: codec=Lucene3x, sim=RandomSimilarityProvider(queryNorm=false,coord=false): {}, locale=pt_BR, timezone=America/Argentina/Salta [junit] NOTE: all tests run in this JVM: [junit] [TestFailOn04Before] [junit] NOTE: Windows 7 6.1 amd64/Oracle Corporation 1.7.0_01 (64-bit)/cpus=8,threads=1,free=117886312,total=128647168 [junit] ------------- ---------------- --------------- [junit] TEST org.apache.lucene.util.junitcompat.failures.TestFailOn04Before FAILED [junit] Testsuite: org.apache.lucene.util.junitcompat.failures.TestFailOn07After [junit] Testcase: testMethod(org.apache.lucene.util.junitcompat.failures.TestFailOn07After): Caused an ERROR [junit] Failure on @After. [junit] java.lang.RuntimeException: Failure on @After. [junit] at org.apache.lucene.util.junitcompat.failures.TestFailOn07After.after(TestFailOn07After.java:13) [junit] at org.apache.lucene.util.LuceneTestCase$SubclassSetupTeardownRule$1.evaluate(LuceneTestCase.java:700) [junit] at org.apache.lucene.util.LuceneTestCase$InternalSetupTeardownRule$1.evaluate(LuceneTestCase.java:599) [junit] at org.apache.lucene.util.LuceneTestCase$TestResultInterceptorRule$1.evaluate(LuceneTestCase.java:504) [junit] at org.apache.lucene.util.LuceneTestCase$RememberThreadRule$1.evaluate(LuceneTestCase.java:562) [junit] at org.apache.lucene.util.LuceneTestCaseRunner.runChild(LuceneTestCaseRunner.java:165) [junit] at org.apache.lucene.util.LuceneTestCaseRunner.runChild(LuceneTestCaseRunner.java:57) [junit] [junit] [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0.009 sec [junit] [junit] ------------- Standard Error ----------------- [junit] NOTE: reproduce with: ant test -Dtestcase=TestFailOn07After -Dtestmethod=testMethod -Dtests.seed=-737472ec6455983d:77a4c0da1ce834dd:1a2ea2ed4eba1655 -Dargs="-Dfile.encoding=Cp1252" [junit] NOTE: test params are: codec=Lucene3x, sim=RandomSimilarityProvider(queryNorm=false,coord=false): {}, locale=pt_BR, timezone=America/Argentina/Salta [junit] NOTE: all tests run in this JVM: [junit] [TestFailOn04Before, TestFailOn07After] [junit] NOTE: Windows 7 6.1 amd64/Oracle Corporation 1.7.0_01 (64-bit)/cpus=8,threads=1,free=117214984,total=128647168 [junit] ------------- ---------------- --------------- [junit] TEST org.apache.lucene.util.junitcompat.failures.TestFailOn07After FAILED [junit] Testsuite: org.apache.lucene.util.junitcompat.failures.TestFailOn05RuleBefore [junit] Testcase: testMethod(org.apache.lucene.util.junitcompat.failures.TestFailOn05RuleBefore): Caused an ERROR [junit] Failure on @Rule (before test). [junit] java.lang.RuntimeException: Failure on @Rule (before test). [junit] at org.apache.lucene.util.junitcompat.failures.TestFailOn05RuleBefore$1$1.evaluate(TestFailOn05RuleBefore.java:19) [junit] at org.apache.lucene.util.LuceneTestCase$SubclassSetupTeardownRule$1.evaluate(LuceneTestCase.java:700) [junit] at org.apache.lucene.util.LuceneTestCase$InternalSetupTeardownRule$1.evaluate(LuceneTestCase.java:599) [junit] at org.apache.lucene.util.LuceneTestCase$TestResultInterceptorRule$1.evaluate(LuceneTestCase.java:504) [junit] at org.apache.lucene.util.LuceneTestCase$RememberThreadRule$1.evaluate(LuceneTestCase.java:562) [junit] at org.apache.lucene.util.LuceneTestCaseRunner.runChild(LuceneTestCaseRunner.java:165) [junit] at org.apache.lucene.util.LuceneTestCaseRunner.runChild(LuceneTestCaseRunner.java:57) [junit] [junit] [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0.02 sec [junit] [junit] ------------- Standard Error ----------------- [junit] NOTE: reproduce with: ant test -Dtestcase=TestFailOn05RuleBefore -Dtestmethod=testMethod -Dtests.seed=-737472ec6455983d:77a4c0da1ce834dd:1a2ea2ed4eba1655 -Dargs="-Dfile.encoding=Cp1252" [junit] NOTE: test params are: codec=Lucene3x, sim=RandomSimilarityProvider(queryNorm=false,coord=false): {}, locale=pt_BR, timezone=America/Argentina/Salta [junit] NOTE: all tests run in this JVM: [junit] [TestFailOn02BeforeClass, TestFailOn05RuleBefore] [junit] NOTE: Windows 7 6.1 amd64/Oracle Corporation 1.7.0_01 (64-bit)/cpus=8,threads=1,free=117216952,total=128647168 [junit] ------------- ---------------- --------------- [junit] TEST org.apache.lucene.util.junitcompat.failures.TestFailOn05RuleBefore FAILED [junit] Testsuite: org.apache.lucene.util.junitcompat.failures.Batch-With-Multiple-Tests [junit] Testcase: org.apache.lucene.util.junitcompat.failures.Batch-With-Multiple-Tests:BeforeFirstTest: Caused an ERROR [junit] Forked Java VM exited abnormally. Please note the time in the report does not reflect the time until the VM exit. [junit] junit.framework.AssertionFailedError: Forked Java VM exited abnormally. Please note the time in the report does not reflect the time until the VM exit. [junit] at java.lang.Thread.run(Thread.java:722) [junit] [junit] [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0 sec [junit] [junit] Tests FAILED (crashed) [junit] Tests FAILED [junit] Tests FAILED [junit] Testsuite: org.apache.lucene.util.junitcompat.failures.TestFailOn06Test [junit] Testcase: testMethod(org.apache.lucene.util.junitcompat.failures.TestFailOn06Test): Caused an ERROR [junit] Exception on @Test method. [junit] java.lang.RuntimeException: Exception on @Test method. [junit] at org.apache.lucene.util.junitcompat.failures.TestFailOn06Test.testMethod(TestFailOn06Test.java:12) [junit] at org.apache.lucene.util.LuceneTestCase$SubclassSetupTeardownRule$1.evaluate(LuceneTestCase.java:700) [junit] at org.apache.lucene.util.LuceneTestCase$InternalSetupTeardownRule$1.evaluate(LuceneTestCase.java:599) [junit] at org.apache.lucene.util.LuceneTestCase$TestResultInterceptorRule$1.evaluate(LuceneTestCase.java:504) [junit] at org.apache.lucene.util.LuceneTestCase$RememberThreadRule$1.evaluate(LuceneTestCase.java:562) [junit] at org.apache.lucene.util.LuceneTestCaseRunner.runChild(LuceneTestCaseRunner.java:165) [junit] at org.apache.lucene.util.LuceneTestCaseRunner.runChild(LuceneTestCaseRunner.java:57) [junit] [junit] [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0.014 sec [junit] [junit] ------------- Standard Error ----------------- [junit] NOTE: reproduce with: ant test -Dtestcase=TestFailOn06Test -Dtestmethod=testMethod -Dtests.seed=-737472ec6455983d:77a4c0da1ce834dd:1a2ea2ed4eba1655 -Dargs="-Dfile.encoding=Cp1252" [junit] NOTE: test params are: codec=Lucene3x, sim=RandomSimilarityProvider(queryNorm=false,coord=false): {}, locale=pt_BR, timezone=America/Argentina/Salta [junit] NOTE: all tests run in this JVM: [junit] [TestFailOn03NewInstance, TestFailOn06Test] [junit] NOTE: Windows 7 6.1 amd64/Oracle Corporation 1.7.0_01 (64-bit)/cpus=8,threads=1,free=117196872,total=128647168 [junit] ------------- ---------------- --------------- [junit] TEST org.apache.lucene.util.junitcompat.failures.TestFailOn06Test FAILED [junit] Tests FAILED BUILD FAILED