-
Bug
-
Resolution: Done
-
Major
-
4.0.0.Beta2
-
None
Two test failures when running with either Tycho 0.15.0 or 0.16.0:
mvn clean install -DtychoVersion=0.15.0
or
mvn clean install -DtychoVersion=0.16.0
[INFO] org.jboss.tools.maven.configurators.tests ......... FAILURE [7:27.625s] [INFO] org.jboss.tools.maven.conversion.test ............. FAILURE [25.040s] [INFO] org.jboss.tools.maven.test.feature ................ SKIPPED [INFO] central.maven.examples.site ....................... SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 18:54.880s [INFO] Finished at: Tue Nov 06 08:35:52 EST 2012 [INFO] Final Memory: 214M/672M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.eclipse.tycho:tycho-surefire-plugin:0.16.0:test (default-test) on project org.jboss.tools.maven.configurators.tests: There are test failures. [ERROR] [ERROR] Please refer to /home/nboldt/eclipse/workspace-jboss/jbosstools-github/central/maven/tests/org.jboss.tools.maven.configurators.tests/target/surefire-reports for the individual test results. [ERROR] -> [Help 1] [ERROR] Failed to execute goal org.eclipse.tycho:tycho-surefire-plugin:0.16.0:test (default-test) on project org.jboss.tools.maven.conversion.test: There are test failures. [ERROR] [ERROR] Please refer to /home/nboldt/eclipse/workspace-jboss/jbosstools-github/central/maven/tests/org.jboss.tools.maven.conversion.test/target/surefire-reports for the individual test results.
------------------------------------------------------------------------------- Test set: org.jboss.tools.maven.configurators.tests.JpaConfiguratorTest ------------------------------------------------------------------------------- Tests run: 2, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 5.799 sec <<< FAILURE! testSimpleJavaProjects(org.jboss.tools.maven.configurators.tests.JpaConfiguratorTest) Time elapsed: 2.021 sectestMultiModule(org.jboss.tools.maven.configurators.tests.JpaConfiguratorTest) Time elapsed: 3.777 sec <<< FAILURE! junit.framework.AssertionFailedError: Unexpected error markers Type=org.eclipse.jdt.core.buildpath_problem:Message=The container 'Maven Dependencies' references non existing library '/home/nboldt/.m2/repository/junit/junit/4.10/junit-4.10.jar':LineNumber=null, Type=org.eclipse.m2e.core.maven2Problem.dependency:Message=Missing artifact junit:junit:jar:4.10:LineNumber=1, Type=org.eclipse.m2e.core.maven2Problem.dependency:Message=ArtifactTransferException: Failure to transfer junit:junit:jar:4.10 from http://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced. Original error: Could not transfer artifact junit:junit:jar:4.10 from/to central (http://repo.maven.apache.org/maven2): No response received after 60000:LineNumber=56 expected:<0> but was:<3> at junit.framework.Assert.fail(Assert.java:50) at junit.framework.Assert.failNotEquals(Assert.java:287) at junit.framework.Assert.assertEquals(Assert.java:67) at junit.framework.Assert.assertEquals(Assert.java:199) at org.jboss.tools.maven.configurators.tests.AbstractMavenConfiguratorTest.assertNoErrors(AbstractMavenConfiguratorTest.java:126) at org.jboss.tools.maven.configurators.tests.JpaConfiguratorTest.testMultiModule(JpaConfiguratorTest.java:61) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at junit.framework.TestCase.runTest(TestCase.java:168) at junit.framework.TestCase.runBare(TestCase.java:134) at junit.framework.TestResult$1.protect(TestResult.java:110) at junit.framework.TestResult.runProtected(TestResult.java:128) at junit.framework.TestResult.run(TestResult.java:113) at junit.framework.TestCase.run(TestCase.java:124) at junit.framework.TestSuite.runTest(TestSuite.java:243) at junit.framework.TestSuite.run(TestSuite.java:238) at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:83) 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:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) 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:84) at org.eclipse.tycho.surefire.osgibooter.AbstractUITestApplication.runTests(AbstractUITestApplication.java:44) at org.eclipse.ui.internal.testing.WorkbenchTestable$1.run(WorkbenchTestable.java:71) at java.lang.Thread.run(Thread.java:662)
- is cloned by
-
JBIDE-13001 test failure in org.jboss.tools.maven.conversion.tests.ProjectDependencyCollectorTest
- Closed