EquinoxServiceDiscovererTestCase fails in Mac OS environment
------------------------------------------------------------
Key: TUSCANY-3419
URL: https://issues.apache.org/jira/browse/TUSCANY-3419
Project: Tuscany
Issue Type: Bug
Components: Build System
Affects Versions: Java-SCA-2.0
Reporter: Luciano Resende
Assignee: Luciano Resende
Fix For: Java-SCA-2.0
-------------------------------------------------------
Running
org.apache.tuscany.sca.extensibility.equinox.EquinoxServiceDiscovererTestCase
!SESSION 2010-01-08 14:50:14.636 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.6.0_17
java.vendor=Apple Inc.
BootLoader constants: OS=macosx, ARCH=x86_64, WS=carbon, NL=en_US
!ENTRY org.eclipse.osgi 4 0 2010-01-08 14:50:14.650
!MESSAGE Error reading configuration:
/Volumes/Macintosh%20HD_Files/development/opensource/apache/tuscany/java-sca-2.x/modules/extensibility-equinox/target/eclipse/org.eclipse.osgi/.manager/.fileTableLock
(No such file or directory)
!STACK 0
java.io.FileNotFoundException:
/Volumes/Macintosh%20HD_Files/development/opensource/apache/tuscany/java-sca-2.x/modules/extensibility-equinox/target/eclipse/org.eclipse.osgi/.manager/.fileTableLock
(No such file or directory)
at java.io.RandomAccessFile.open(Native Method)
at java.io.RandomAccessFile.<init>(RandomAccessFile.java:212)
at
org.eclipse.core.runtime.internal.adaptor.Locker_JavaNio.lock(Locker_JavaNio.java:32)
at
org.eclipse.osgi.storagemanager.StorageManager.lock(StorageManager.java:388)
at
org.eclipse.osgi.storagemanager.StorageManager.open(StorageManager.java:686)
at
org.eclipse.osgi.internal.baseadaptor.BaseStorage.initFileManager(BaseStorage.java:213)
at
org.eclipse.osgi.internal.baseadaptor.BaseStorage.initialize(BaseStorage.java:147)
at
org.eclipse.osgi.baseadaptor.BaseAdaptor.initializeStorage(BaseAdaptor.java:121)
at
org.eclipse.osgi.framework.internal.core.Framework.initialize(Framework.java:185)
at
org.eclipse.osgi.framework.internal.core.Framework.<init>(Framework.java:157)
at
org.eclipse.osgi.framework.internal.core.EquinoxLauncher.internalInit(EquinoxLauncher.java:68)
at
org.eclipse.osgi.framework.internal.core.EquinoxLauncher.internalStart(EquinoxLauncher.java:274)
at
org.eclipse.osgi.framework.internal.core.EquinoxLauncher.start(EquinoxLauncher.java:251)
at org.eclipse.osgi.launch.Equinox.start(Equinox.java:169)
at
org.apache.tuscany.sca.extensibility.equinox.TestEquinoxHost.init(TestEquinoxHost.java:53)
at
org.apache.tuscany.sca.extensibility.equinox.TestEquinoxHost.start(TestEquinoxHost.java:59)
at
org.apache.tuscany.sca.extensibility.equinox.EquinoxServiceDiscovererTestCase.setUpBeforeClass(EquinoxServiceDiscovererTestCase.java:83)
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.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
at
org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
at
org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
at
org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:27)
at
org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
at org.junit.runners.ParentRunner.run(ParentRunner.java:220)
at
org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62)
at
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140)
at
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127)
at org.apache.maven.surefire.Surefire.run(Surefire.java:177)
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:345)
at
org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1009)
Done
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 1.749 sec <<<
FAILURE!
org.apache.tuscany.sca.extensibility.equinox.EquinoxServiceDiscovererTestCase
Time elapsed: 0 sec <<< ERROR!
org.osgi.framework.BundleException: An error occurred trying to read the bundle
at
org.eclipse.osgi.internal.baseadaptor.BundleInstall.begin(BundleInstall.java:94)
at
org.eclipse.osgi.framework.internal.core.Framework.installWorkerPrivileged(Framework.java:922)
at
org.eclipse.osgi.framework.internal.core.Framework$1.run(Framework.java:838)
at java.security.AccessController.doPrivileged(Native Method)
at
org.eclipse.osgi.framework.internal.core.Framework.installWorker(Framework.java:889)
at
org.eclipse.osgi.framework.internal.core.Framework.installBundle(Framework.java:833)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.installBundle(BundleContextImpl.java:166)
at
org.apache.tuscany.sca.extensibility.equinox.EquinoxServiceDiscovererTestCase.setUpBeforeClass(EquinoxServiceDiscovererTestCase.java:86)
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.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
at
org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
at
org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
at
org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:27)
at
org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
at org.junit.runners.ParentRunner.run(ParentRunner.java:220)
at
org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62)
at
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140)
at
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127)
at org.apache.maven.surefire.Surefire.run(Surefire.java:177)
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:345)
at
org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1009)
Caused by: java.io.IOException: The directory
"/Volumes/Macintosh%20HD_Files/development/opensource/apache/tuscany/java-sca-2.x/modules/extensibility-equinox/target/eclipse/org.eclipse.osgi/bundles/1/1"
could not be created
at
org.eclipse.osgi.internal.baseadaptor.BundleInstall.begin(BundleInstall.java:68)
... 27 more
Running org.apache.tuscany.sca.extensibility.equinox.EquinoxHostTestCase
0 org.eclipse.osgi ACTIVE System Bundle
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.237 sec
Results :
Tests in error:
org.apache.tuscany.sca.extensibility.equinox.EquinoxServiceDiscovererTestCase
Tests run: 3, Failures: 0, Errors: 1, Skipped: 0
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.