Lars Marius Garshol created SM-2214:
---------------------------------------
Summary: Cannot build integration tests due to test failure
Key: SM-2214
URL: https://issues.apache.org/jira/browse/SM-2214
Project: ServiceMix
Issue Type: Bug
Components: servicemix-core
Environment: MacOS
Reporter: Lars Marius Garshol
Doing "mvn package" in the ServiceMix root directory eventually fails with a
test error in this module:
[INFO] Apache ServiceMix :: Features :: Integration Tests :: Tests FAILURE
[26.425s]
The actual error message in the console is:
[org.apache.servicemix.examples.CXFNMRIntegrationTest] : Caught exception
starting up
java.io.FileNotFoundException:
/Users/larsga/.m2/repository/org/apache/servicemix/cxf/org.apache.servicemix.cxf.transport.nmr/4.5.3-SNAPSHOT/org.apache.servicemix.cxf.transport.nmr-4.5.3-SNAPSHOT.jar
(No such file or directory)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:120)
at
org.springframework.core.io.FileSystemResource.getInputStream(FileSystemResource.java:110)
at
org.springframework.osgi.test.AbstractOsgiTests.installBundle(AbstractOsgiTests.java:323)
at
org.springframework.osgi.test.AbstractOsgiTests.startup(AbstractOsgiTests.java:253)
at
org.springframework.osgi.test.AbstractOsgiTests.prepareTestExecution(AbstractOsgiTests.java:374)
at
org.springframework.osgi.test.AbstractOsgiTests.runBare(AbstractOsgiTests.java:203)
at
org.springframework.osgi.test.AbstractOsgiTests$1.protect(AbstractOsgiTests.java:184)
at junit.framework.TestResult.runProtected(TestResult.java:128)
at
org.springframework.osgi.test.AbstractOsgiTests.run(AbstractOsgiTests.java:181)
at junit.framework.TestSuite.runTest(TestSuite.java:243)
at junit.framework.TestSuite.run(TestSuite.java:238)
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.junit.JUnitTestSet.execute(JUnitTestSet.java:213)
at
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:138)
at
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:163)
at org.apache.maven.surefire.Surefire.run(Surefire.java:84)
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.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:261)
at
org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:875)
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 1.256 sec <<<
FAILURE!
Results :
Tests in error:
testNMROsgi(org.apache.servicemix.examples.CXFNMRIntegrationTest)
Tests run: 11, Failures: 0, Errors: 11, Skipped: 0
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira