You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "Simon Nash (JIRA)" <de...@tuscany.apache.org> on 2010/10/27 10:45:26 UTC
[jira] Commented: (TUSCANY-3754) itest/osgi-implementation build
failure: Unable to delete directory target\.felix\bundle
[ https://issues.apache.org/jira/browse/TUSCANY-3754?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12925300#action_12925300 ]
Simon Nash commented on TUSCANY-3754:
-------------------------------------
This is a known problem with Felix (see FELIX-819). It looks like there's a fix in Felix 1.4.1, which is a later version than we are currently using in 1.x. I'm trying a build with the Felix dependencies updated to this level to see what happens.
> itest/osgi-implementation build failure: Unable to delete directory target\.felix\bundle
> ----------------------------------------------------------------------------------------
>
> Key: TUSCANY-3754
> URL: https://issues.apache.org/jira/browse/TUSCANY-3754
> Project: Tuscany
> Issue Type: Bug
> Components: Java SCA OSGi Integration
> Affects Versions: Java-SCA-1.x
> Reporter: Simon Nash
>
> The osgi-implementation itest fails intermittently with errors like the following:
> *DEBUG* Scheduling task Thread[Configuration Updater,5,main]
> 26-Oct-2010 23:23:51 org.apache.tuscany.sca.node.impl.NodeImpl <init>
> INFO: Creating node: conversation-test.composite
> 26-Oct-2010 23:23:51 org.apache.tuscany.sca.node.impl.NodeImpl configureNode
> INFO: Loading contribution: file:/E:/td/sca1x/trunk/itest/osgi-implementation/ta
> rget/classes/conversation/
> 26-Oct-2010 23:23:51 org.apache.tuscany.sca.node.impl.NodeImpl start
> INFO: Starting node: conversation-test.composite
> Started OSGiConversationClientActivator
> Started OSGiConversationServiceActivator
> 26-Oct-2010 23:23:51 org.apache.tuscany.sca.node.impl.NodeImpl stop
> INFO: Stopping node: conversation-test.composite
> *DEBUG* Scheduling task Thread[Configuration Updater,5,main]
> Tests run: 34, Failures: 0, Errors: 5, Skipped: 0, Time elapsed: 22.183 sec <<<
> FAILURE!
> testStatelessStatefulConversationBusinessException(conversation.ConversationTestCase) Time elapsed: 0.031 sec <<< ERROR!
> java.io.IOException: Unable to delete directory target\.felix\bundle1.
> at org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:981)
> at org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:1381)
> at org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:1044)
> at util.OSGiTestUtil.setUpFelixTestRuntime(OSGiTestUtil.java:47)
> at util.OSGiTestUtil.setUpOSGiTestRuntime(OSGiTestUtil.java:34)
> at test.OSGiTestCase.setUp(OSGiTestCase.java:56)
> at conversation.ConversationTestCase.setUp(ConversationTestCase.java:47)
> at junit.framework.TestCase.runBare(TestCase.java:132)
> 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:232)
> at junit.framework.TestSuite.run(TestSuite.java:227)
> at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:79)
> at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62)
> 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)
> testStatelessStatelessConversationCallingEndedConversation(conversation.ConversationTestCase) Time elapsed: 0.047 sec <<< ERROR!
> java.io.IOException: Unable to delete directory target\.felix\bundle3\version0.0.
> at org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:981)
> at org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:1381)
> at org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:1044)
> at org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:977)
> at org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:1381)
> at org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:1044)
> at util.OSGiTestUtil.setUpFelixTestRuntime(OSGiTestUtil.java:47)
> at util.OSGiTestUtil.setUpOSGiTestRuntime(OSGiTestUtil.java:34)
> at test.OSGiTestCase.setUp(OSGiTestCase.java:56)
> at conversation.ConversationTestCase.setUp(ConversationTestCase.java:47)
> at junit.framework.TestCase.runBare(TestCase.java:132)
> 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:232)
> at junit.framework.TestSuite.run(TestSuite.java:227)
> at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:79)
> at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62)
> 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)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.