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/08/24 17:04:16 UTC

[jira] Updated: (TUSCANY-3550) Build failure in itest/osgi-implementation DSInterfacesTestCase

     [ https://issues.apache.org/jira/browse/TUSCANY-3550?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Simon Nash updated TUSCANY-3550:
--------------------------------

    Affects Version/s: Java-SCA-1.6
                           (was: Java-SCA-Next)

> Build failure in itest/osgi-implementation DSInterfacesTestCase
> ---------------------------------------------------------------
>
>                 Key: TUSCANY-3550
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-3550
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SCA OSGi Integration
>    Affects Versions: Java-SCA-1.6
>            Reporter: Simon Nash
>            Assignee: Simon Nash
>             Fix For: Java-SCA-Next
>
>
> The current 1.x trunk build is failing from a clean checkout because of a problem in itest/osgi-implementation.  The failing test case is DSInterfacesTestCase and the output from this is below.  I'm not sufficiently familiar with this test to understand the cause of the problem.
> Running supplychain.interfaces.DSInterfacesTestCase
> 07-May-2010 22:31:59 org.apache.tuscany.sca.node.impl.NodeImpl <init>
> INFO: Creating node: interfaces-ds-test.composite
> 07-May-2010 22:31:59 org.apache.tuscany.sca.node.impl.NodeImpl configureNode
> INFO: Loading contribution: file:/E:/td/sca1x/trunk/itest/osgi-implementation/target/classes/interfaces/ds/
> 07-May-2010 22:31:59 org.apache.tuscany.sca.node.impl.NodeImpl start
> INFO: Starting node: interfaces-ds-test.composite
> Main thread Thread[main,5,main]
> *DEBUG* Scheduling task ManagedService Update: pid=CustomerComponent
> *DEBUG* Running task ManagedService Update: pid=CustomerComponent
> Created OSGiCustomerWithQueryComponentImpl supplychain.customer.OSGiCustomerWith
> QueryComponentImpl@1d2300e
> Activated OSGiCustomerWithQueryComponentImpl bundle
> OSGiCustomerWithQueryComponentImpl.purchaseBooks
> *DEBUG* Scheduling task ManagedService Update: pid=RetailerComponent
> *DEBUG* Running task ManagedService Update: pid=RetailerComponent
> Activated OSGiRetailerComponentImpl bundle
> OSGiRetailerComponentImpl.submitOrder , warehouse is [Proxy - org.apache.tuscany.sca.core.invocation.JDKInvocationHandler@b612f8]
> JavaWarehouseComponentImpl.fulfillOrder : shipper is [Proxy - org.apache.tuscany.sca.core.invocation.JDKInvocationHandler@74a138]
> *DEBUG* Scheduling task ManagedService Update: pid=ShipperComponent
> *DEBUG* Running task ManagedService Update: pid=ShipperComponent
> Activated OSGiShipperComponentImpl bundle
> OSGiShipperComponentImpl.processShipment, customer is [Proxy - org.apache.tuscany.sca.core.invocation.JDKInvocationHandler@155aa19]
> OSGiCustomerWithQueryComponentImpl.purchaseGames
> OSGiRetailerComponentImpl.submitOrder , warehouse is [Proxy - org.apache.tuscany.sca.core.invocation.JDKInvocationHandler@b612f8]
> JavaWarehouseComponentImpl.fulfillOrder : shipper is [Proxy - org.apache.tuscany.sca.core.invocation.JDKInvocationHandler@74a138]
> OSGiShipperComponentImpl.processShipment, customer is [Proxy - org.apache.tuscany.sca.core.invocation.JDKInvocationHandler@155aa19]
> Work thread Thread[Thread-11,5,main] - Work thread Thread[Thread-9,5,main] - Order, submitted (amazon.com), fulfilled, shipped (RoyalMail)
> Order, submitted (amazon.com), fulfilled, shipped (RoyalMail)
> 07-May-2010 22:32:04 org.apache.tuscany.sca.node.impl.NodeImpl stop
> INFO: Stopping node: interfaces-ds-test.composite
> Deactivated OSGiShipperComponentImpl bundle
> Deactivated OSGiRetailerComponentImpl bundle
> Deactivated OSGiCustomerWithQueryComponentImpl bundle
> *DEBUG* Scheduling task Thread[Configuration Updater,5,main]
> Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 5.422 sec <<< FAILURE!
> test(supplychain.interfaces.DSInterfacesTestCase)  Time elapsed: 5.419 sec  <<<FAILURE!
> junit.framework.AssertionFailedError: null
>         at junit.framework.Assert.fail(Assert.java:47)
>         at junit.framework.Assert.assertTrue(Assert.java:20)
>         at junit.framework.Assert.assertFalse(Assert.java:34)
>         at junit.framework.Assert.assertFalse(Assert.java:41)
>         at supplychain.SupplyChainTestCase.test(SupplyChainTestCase.java:56)
>         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 junit.framework.TestCase.runTest(TestCase.java:168)
>         at junit.framework.TestCase.runBare(TestCase.java:134)
>         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:125)
>         at org.apache.maven.surefire.Surefire.run(Surefire.java:132)
>         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:308)
>         at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:879)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.