[
https://issues.apache.org/jira/browse/TUSCANY-2093?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12579839#action_12579839
]
Rajini Sivaram commented on TUSCANY-2093:
-----------------------------------------
Ant,
Thank you for the stack trace - this is very useful (even though I still dont
know what the problem is).
There are two threads there which look suspicious:
"Felix Shell TUI"
This thread is doing a System.out.println, which should be piped into the
other maven process, and the wait could be because the other process was
killed. I am fairly certain this is not the cause since you were able to
recreate the hang under Eclipse. But to be absolutely sure, could you remove
the line containing org.apache.felix.shell.tui from
osgi-implementation\src\test\resources\osgi\felix\felix.config.properties, and
see if the hang recurs?
"main"
This thread is doing a non-blocking invocation. And looking at the three
stack traces you had at the start, they are all doing non-blocking invocations.
I wonder what could cause this thread from not completing. It seems to be in
RUNNING state, and from the stack trace I can't see anything causing it to
block before it completes the call (and the calls results in a print, so it
didn't complete in any of your hanging runs). I will dig into the code a bit
further. Do you have any ideas?
> Hangs in osgi itests
> --------------------
>
> Key: TUSCANY-2093
> URL: https://issues.apache.org/jira/browse/TUSCANY-2093
> Project: Tuscany
> Issue Type: Bug
> Components: Java SCA Integration Tests
> Affects Versions: Java-SCA-Next
> Reporter: ant elder
> Fix For: Java-SCA-Next
>
>
> I get hangs running various of the osgi itests, the test run part way through
> then just appear to hang for ever, no IO or CPU activity on the process. Eg,
> the output on the console for some hangs are:
> Running org.apache.tuscany.sca.test.osgi.tuscany.OSGiSupplyChainTestCase
> -> Run tests from : ../../../samples/osgi-supplychain
> Loaded Tuscany, time taken = 31625 ms
> Running test null(supplychain.SupplyChainClientTestCase)
> Started OSGi bundle with activator OSGiCustomerImpl
> Started OSGi bundle with activator OSGiShipperImpl
> another:
> [INFO] Building Apache Tuscany OSGi Contribution tests
> [INFO] task-segment: [clean, install]
> [INFO]
> ----------------------------------------------------------------------------
> [INFO] [clean:clean]
> [INFO] Deleting directory
> C:\Tuscany\SVN\LATEST\itest\osgi-contribution\contribution-test\target
> [INFO] [resources:resources]
> [INFO] Using default encoding to copy filtered resources.
> [INFO] [compiler:compile]
> [INFO] Compiling 1 source file to
> C:\Tuscany\SVN\LATEST\itest\osgi-contribution\contribution-test\target\classes
> [INFO] [resources:testResources]
> [INFO] Using default encoding to copy filtered resources.
> [INFO] [compiler:testCompile]
> [INFO] Compiling 4 source files to
> C:\Tuscany\SVN\LATEST\itest\osgi-contribution\contribution-test\target\test-classes
> [INFO] [surefire:test]
> [INFO] Surefire report directory:
> C:\Tuscany\SVN\LATEST\itest\osgi-contribution\contribution-test\target\surefire-reports
> -------------------------------------------------------
> T E S T S
> -------------------------------------------------------
> Running org.apache.tuscany.sca.contribution.osgi.test.OSGiResolverTestCase
> -> Created supplychain.customer.JavaCustomerComponentImpl using classloader
> 6.0
> Created supplychain.retailer.JavaRetailerComponentImpl using classloader 7.0
> Created supplychain.warehouse.JavaWarehouseComponentImpl using classloader 8.0
> Created supplychain.shipper.JavaShipperComponentImpl using classloader 9.0
> another:
> Running supplychain.wiring.DSWiring1TestCase
> -> Main thread Thread[main,5,main]
> Created OSGiCustomerComponentImpl [EMAIL PROTECTED]
> Activated OSGiCustomerComponentImpl bundle
> OSGiCustomerComponentImpl.purchaseBooks, retailer1 is [Proxy - [EMAIL
> PROTECTED]
> Activated OSGiRetailerComponentImpl bundle
> Activated OSGiRetailerComponentImpl bundle
> OSGiRetailerComponentImpl.submitOrder , warehouse is [Proxy - [EMAIL
> PROTECTED]
> JavaWarehouseComponentImpl.fulfillOrder : shipper is [Proxy - [EMAIL
> PROTECTED]
> Activated OSGiShipperComponentImpl bundle
> Activated OSGiShipperComponentImpl bundle
> OSGiShipperComponentImpl.processShipment, customer is [Proxy - [EMAIL
> PROTECTED]
> This is easily recreateable so i can help debug, just right now i'm not sure
> where to look.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]