Community
Participate
Working Groups
There is a constant failure in the JUnit R3_6_Maintenance org.eclipse.wst.wsi.tests.internal.BasicProfileAnalyzerTest.testReportWriterIsClosedAfterReportIsFinished (from org.eclipse.wst.wsi.tests.internal.RegressionBucket) Failing for the past 79 builds (Since #169 ) Took 3 min 9 sec. add description Error Message The WS-I Test Assertion Document (TAD)document was either not found or could not be processed. Stacktrace The WS-I Test Assertion Document (TAD)document was either not found or could not be processed. at org.eclipse.wst.wsi.internal.core.analyzer.BasicProfileAnalyzer.validateConformance(BasicProfileAnalyzer.java:214) at org.eclipse.wst.wsi.tests.internal.BasicProfileAnalyzerTest.testReportWriterIsClosedAfterReportIsFinished(BasicProfileAnalyzerTest.java:38) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at junit.framework.TestCase.runTest(TestCase.java:176) at junit.framework.TestCase.runBare(TestCase.java:141) at junit.framework.TestResult$1.protect(TestResult.java:122) at junit.framework.TestResult.runProtected(TestResult.java:142) at junit.framework.TestResult.run(TestResult.java:125) at junit.framework.TestCase.run(TestCase.java:129) at junit.framework.TestSuite.runTest(TestSuite.java:255) at junit.framework.TestSuite.run(TestSuite.java:250) at junit.framework.TestSuite.runTest(TestSuite.java:255) at junit.framework.TestSuite.run(TestSuite.java:250) at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:84) at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:53) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:123) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:104) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:164) at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:110) at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:175) at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcess(SurefireStarter.java:123) at org.eclipse.tycho.surefire.osgibooter.OsgiSurefireBooter.run(OsgiSurefireBooter.java:86) at org.eclipse.tycho.surefire.osgibooter.HeadlessTestApplication.run(HeadlessTestApplication.java:21) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.eclipse.equinox.internal.app.EclipseAppContainer.callMethodWithException(EclipseAppContainer.java:587) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:198) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:382) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:236) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:648) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:603) at org.eclipse.equinox.launcher.Main.run(Main.java:1465) at org.eclipse.equinox.launcher.Main.main(Main.java:1438)
Failing also with 3.7.0, which by the date the only difference is that Eclipse Platform and SDK P2 URL depedencies were udpated to Mars
I believe I have a fix for this: ------------------------------------------------------- T E S T S ------------------------------------------------------- Running org.eclipse.wst.wsi.tests.internal.RegressionBucket Tests run: 95, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 15.491 sec Results : Tests run: 95, Failures: 0, Errors: 0, Skipped: 0 [INFO] All tests passed! [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 39.065s [INFO] Finished at: Thu Aug 21 12:18:37 EDT 2014 [INFO] Final Memory: 36M/71M [INFO] ------------------------------------------------------------------------
Created attachment 246217 [details] Apply to org.eclipse.wst.wsi.tests
1. Explain why you believe this is a stop-ship defect. Or, if it is a "hotbug" (requested by an adopter) please document it as such. - Fix JUnit failures. Not stop ship, affects test plugin only. 2. Is there a work-around? If so, why do you believe the work-around is insufficient? - No 3. How has the fix been tested? Is there a test case attached to the bugzilla record? Has a JUnit Test been added? - Ran the test bucket with the changes and all tests passed. See above comment. 4. Give a brief technical overview. Who has reviewed this fix? - pom.xml change only 5. What is the risk associated with this fix? - Low.
Thanks Keith - looks good
The JUnit runs fine on my local machine. However, it is still failing in the build. Deferring this to 3.6.2
Resolving/closing bug.