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]

Reply via email to