You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "Rajini Sivaram (JIRA)" <tu...@ws.apache.org> on 2008/03/17 18:10:24 UTC

[jira] Commented: (TUSCANY-2093) Hangs in osgi itests

    [ https://issues.apache.org/jira/browse/TUSCANY-2093?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12579514#action_12579514 ] 

Rajini Sivaram commented on TUSCANY-2093:
-----------------------------------------

Ant, 

Can you recreate the hang in itest/osgi-contribution or itest/osgi-implementation under Eclipse in debug mode? If you can, could you generate a stack trace of all the threads when it is hanging? Otherwise, would it be possible to generate a javacore when the test is hanging? What platform are you running the test on? 

Could you also check the version of Felix (the date on the snapshot) that is in your maven repository, so that I can try using the same one?

Thank you.

> 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 supplychain.customer.OSGiCustomerComponentImpl@1cebc9f
> Activated OSGiCustomerComponentImpl bundle
> OSGiCustomerComponentImpl.purchaseBooks, retailer1 is [Proxy - org.apache.tuscany.sca.core.invocation.JDKInvocationHandler@1fc1a6]
> Activated OSGiRetailerComponentImpl bundle
> Activated OSGiRetailerComponentImpl bundle
> OSGiRetailerComponentImpl.submitOrder , warehouse is [Proxy - org.apache.tuscany.sca.core.invocation.JDKInvocationHandler@1c286e2]
> JavaWarehouseComponentImpl.fulfillOrder : shipper is [Proxy - org.apache.tuscany.sca.core.invocation.JDKInvocationHandler@1d6fbb3]
> Activated OSGiShipperComponentImpl bundle
> Activated OSGiShipperComponentImpl bundle
> OSGiShipperComponentImpl.processShipment, customer is [Proxy - org.apache.tuscany.sca.core.invocation.JDKInvocationHandler@1827d1]
> 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: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org