tuscany-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Frank Budinsky <fra...@ca.ibm.com>
Subject Re: [Java SDO] Running the CTS against the Tuscany impl
Date Mon, 16 Apr 2007 14:03:42 GMT
I get the same result as Kelvin. Seems to build, but then it runs 0 tests.

Frank.

kelvingoodson@gmail.com wrote on 04/16/2007 09:55:35 AM:

> Hmmm,   a mystery ...
> 
> For the record, here's my output, I can see nothing obvious
> 
> C:\Development\JiraDev\CTS>svn up
> At revision 529243.
> 
> 
> C:\Development\JiraDev\CTS>mvn clean
> [INFO] Scanning for projects...
> [INFO] Reactor build order:
> [INFO]   Community Test Suite
> [INFO]   Community Test Suite for SDO 2.1
> [INFO]   Tuscany SDO 2.1 CTS
> [INFO]
> 
----------------------------------------------------------------------------
> 
> [INFO] Building Community Test Suite
> [INFO]    task-segment: [clean]
> [INFO] ------------------------------
> ----------------------------------------------
> [INFO] [clean:clean]
> [INFO] Deleting directory C:\Development\JiraDev\CTS\target
> [INFO] Deleting directory C:\Development\JiraDev\CTS\target\classes
> [INFO] Deleting directory C:\Development\JiraDev\CTS\target\test-classes
> [INFO]
> 
----------------------------------------------------------------------------
> 
> [INFO] Building Community Test Suite for SDO 2.1
> [INFO]    task-segment: [clean]
> [INFO]
> 
----------------------------------------------------------------------------
> [INFO] artifact org.apache.maven.plugins:maven-surefire-plugin: checking 
for
> updates from apache.incubator
> [INFO] artifact org.apache.maven.plugins:maven-surefire-plugin: checking 
for
> updates from codehaus-snapshot
> [INFO] [clean:clean]
> [INFO] Deleting directory C:\Development\JiraDev\CTS\sdo2.1\target
> [INFO] Deleting directory 
C:\Development\JiraDev\CTS\sdo2.1\target\classes
> [INFO] Deleting directory
> C:\Development\JiraDev\CTS\sdo2.1\target\test-classes
> [INFO]
> 
----------------------------------------------------------------------------
> 
> [INFO] Building Tuscany SDO 2.1 CTS
> [INFO]    task-segment: [clean]
> [INFO]
> 
----------------------------------------------------------------------------
> [INFO] [clean:clean]
> [INFO] Deleting directory 
C:\Development\JiraDev\CTS\sdo2.1-tuscany\target
> [INFO] Deleting directory
> C:\Development\JiraDev\CTS\sdo2.1-tuscany\target\classes
> [INFO] Deleting directory
> C:\Development\JiraDev\CTS\sdo2.1-tuscany\target\test-classes
> [INFO]
> [INFO]
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Reactor Summary:
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Community Test Suite .................................. SUCCESS [
> 1.302s]
> [INFO] Community Test Suite for SDO 2.1 ...................... SUCCESS [
> 17.586s]
> [INFO] Tuscany SDO 2.1 CTS ................................... SUCCESS [
> 3.575s]
> [INFO]
> ------------------------------------------------------------------------
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD SUCCESSFUL
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 23 seconds
> [INFO] Finished at: Mon Apr 16 14:44:48 BST 2007
> [INFO] Final Memory: 3M/7M
> [INFO]
> ------------------------------------------------------------------------
> 
> 
> 
> C:\Development\JiraDev\CTS>mvn
> [INFO] Scanning for projects...
> [INFO] Reactor build order:
> [INFO]   Community Test Suite
> [INFO]   Community Test Suite for SDO 2.1
> [INFO]   Tuscany SDO 2.1 CTS
> [INFO]
> 
----------------------------------------------------------------------------
> [INFO] Building Community Test Suite
> [INFO]    task-segment: [install]
> [INFO]
> 
----------------------------------------------------------------------------
> [INFO] [site:attach-descriptor]
> [INFO] [install:install]
> [INFO] Installing C:\Development\JiraDev\CTS\pom.xml to C:\Documents and
> Settings\ibm_user\.m2\repository\org\apache\tuscany\
> cts\1.0-SNAPSHOT\cts-1.0-SNAPSHOT.pom
> [INFO]
> 
----------------------------------------------------------------------------
> [INFO] Building Community Test Suite for SDO 2.1
> [INFO]    task-segment: [install]
> [INFO]
> 
----------------------------------------------------------------------------
> [INFO] [resources:resources]
> [INFO] Using default encoding to copy filtered resources.
> [INFO] [compiler:compile]
> Compiling 32 source files to
> C:\Development\JiraDev\CTS\sdo2.1\target\classes
> [INFO] [resources:testResources]
> [INFO] Using default encoding to copy filtered resources.
> [INFO] [compiler:testCompile]
> [INFO] Nothing to compile - all classes are up to date
> [INFO] [surefire:test]
> [INFO] Tests are skipped.
> [INFO] [jar:jar]
> [INFO] Building jar: C:\Development\JiraDev\CTS\sdo2.1\target\sdo2.1-
> cts-1.0-SNAPSHOT.jar
> [INFO] [install:install]
> [INFO] Installing C:\Development\JiraDev\CTS\sdo2.1\target\sdo2.1-
> cts-1.0-SNAPSHOT.jar to C:\Documents and Settings\ibm_user\
> .m2\repository\org\apache\tuscany\cts\sdo2.1-cts\1.0-SNAPSHOT\sdo2.1-
> cts-1.0-SNAPSHOT.jar
> [INFO]
> 
----------------------------------------------------------------------------
> [INFO] Building Tuscany SDO 2.1 CTS
> [INFO]    task-segment: [install]
> [INFO]
> 
----------------------------------------------------------------------------
> [INFO] [resources:resources]
> [INFO] Using default encoding to copy filtered resources.
> [INFO] snapshot
> org.apache.tuscany.sdo:tuscany-sdo-impl:1.0-incubator-SNAPSHOT: checking 
for
> updates from apache.snapshots
> [INFO] snapshot
> org.apache.tuscany.sdo:tuscany-sdo:1.0-incubator-SNAPSHOT:checking for
> updates from codehaus
> [INFO] snapshot
> org.apache.tuscany.sdo:tuscany-sdo:1.0-incubator-SNAPSHOT:checking for
> updates from
> apache.snapshots
> [INFO] [compiler:compile]
> Compiling 1 source file to
> C:\Development\JiraDev\CTS\sdo2.1-tuscany\target\classes
> [INFO] [resources:testResources]
> [INFO] Using default encoding to copy filtered resources.
> [INFO] [compiler:testCompile]
> Compiling 2 source files to
> C:\Development\JiraDev\CTS\sdo2.1-tuscany\target\test-classes
> [INFO] [surefire:test]
> [INFO] Surefire report directory:
> C:\Development\JiraDev\CTS\sdo2.1-tuscany\target\surefire-reports
> 
> -------------------------------------------------------
>  T E S T S
> -------------------------------------------------------
> There are no tests to run.
> 
> Results :
> Tests run: 0, Failures: 0, Errors: 0, Skipped: 0
> 
> [INFO] [jar:jar]
> [INFO] Building jar:
> C:\Development\JiraDev\CTS\sdo2.1-tuscany\target\sdo2.1-
> tuscany-1.0-SNAPSHOT.jar
> [INFO] [install:install]
> [INFO] Installing 
C:\Development\JiraDev\CTS\sdo2.1-tuscany\target\sdo2.1-
> tuscany-1.0-SNAPSHOT.jar to C:\Documents and Settin
> gs\ibm_user\.m2\repository\org\apache\tuscany\cts\sdo2.1-tuscany\1.
> 0-SNAPSHOT\sdo2.1-
> tuscany-1.0-SNAPSHOT.jar
> [INFO]
> [INFO]
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Reactor Summary:
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Community Test Suite .................................. SUCCESS [
> 4.877s]
> [INFO] Community Test Suite for SDO 2.1 ...................... SUCCESS [
> 13.720s]
> [INFO] Tuscany SDO 2.1 CTS ................................... SUCCESS [
> 10.935s]
> [INFO]
> ------------------------------------------------------------------------
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD SUCCESSFUL
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 30 seconds
> [INFO] Finished at: Mon Apr 16 14:45:59 BST 2007
> [INFO] Final Memory: 7M/23M
> [INFO]
> ------------------------------------------------------------------------
> 
> 
> On 16/04/07, Andy Grove <grove@roguewave.com> wrote:
> >
> > Hi Kelvin,
> >
> > Running mvn from the CTS root directory does run the tests against
> > Tuscany for me. Here's the output I get.
> >
> > Thanks,
> >
> > Andy.
> >
> > -----------
> >
> > C:\Development\apache-tuscany-java\cts>mvn
> > [INFO] Scanning for projects...
> > [INFO] Reactor build order:
> > [INFO]   Community Test Suite
> > [INFO]   Community Test Suite for SDO 2.1
> > [INFO]   Tuscany SDO 2.1 CTS
> > [INFO]
> > 
------------------------------------------------------------------------
> > ----
> > [INFO] Building Community Test Suite
> > [INFO]    task-segment: [install]
> > [INFO]
> > 
------------------------------------------------------------------------
> > ----
> > [INFO] [site:attach-descriptor]
> > [INFO] [install:install]
> > [INFO] Installing C:\Development\apache-tuscany-java\cts\pom.xml to
> > C:\Documents and Settings\grove\
> > 
.m2\repository\org\apache\tuscany\cts\1.0-SNAPSHOT\cts-1.0-SNAPSHOT.pom
> > [INFO]
> > 
------------------------------------------------------------------------
> > ----
> > [INFO] Building Community Test Suite for SDO 2.1
> > [INFO]    task-segment: [install]
> > [INFO]
> > 
------------------------------------------------------------------------
> > ----
> > [INFO] [resources:resources]
> > [INFO] Using default encoding to copy filtered resources.
> > [INFO] [compiler:compile]
> > [INFO] Nothing to compile - all classes are up to date
> > [INFO] [resources:testResources]
> > [INFO] Using default encoding to copy filtered resources.
> > [INFO] [compiler:testCompile]
> > [INFO] Nothing to compile - all classes are up to date
> > [INFO] [surefire:test]
> > [INFO] Tests are skipped.
> > [INFO] [jar:jar]
> > [INFO] Building jar:
> > 
C:\Development\apache-tuscany-java\cts\sdo2.1\target\sdo2.1-cts-1.0-SNAP
> > SHOT.ja
> > r
> > [INFO] [install:install]
> > [INFO] Installing
> > 
C:\Development\apache-tuscany-java\cts\sdo2.1\target\sdo2.1-cts-1.0-SNAP
> > SHOT.jar t
> > o C:\Documents and
> > 
Settings\grove\.m2\repository\org\apache\tuscany\cts\sdo2.1-cts\1.0-SNAP
> > SHOT\sdo2
> > .1-cts-1.0-SNAPSHOT.jar
> > [INFO]
> > 
------------------------------------------------------------------------
> > ----
> > [INFO] Building Tuscany SDO 2.1 CTS
> > [INFO]    task-segment: [install]
> > [INFO]
> > 
------------------------------------------------------------------------
> > ----
> > [INFO] [resources:resources]
> > [INFO] Using default encoding to copy filtered resources.
> > [INFO] [compiler:compile]
> > [INFO] Nothing to compile - all classes are up to date
> > [INFO] [resources:testResources]
> > [INFO] Using default encoding to copy filtered resources.
> > [INFO] [compiler:testCompile]
> > [INFO] Nothing to compile - all classes are up to date
> > [INFO] [surefire:test]
> > [INFO] Surefire report directory:
> > C:\Development\apache-tuscany-java\cts\sdo2.1-tuscany\target\suref
> > ire-reports
> > CTS_TEST_HELPER was not set - attempting Tuscany implementation : null
> > Loaded test.sdo21.vendor.tuscany.testHelper.TuscanyTestHelper
> >
> > -------------------------------------------------------
> > T E S T S
> > -------------------------------------------------------
> > Running test.sdo21.vendor.tuscany.tests.AdoptedCtsTestSuite
> > default null
> > Tests run: 26, Failures: 2, Errors: 1, Skipped: 1, Time elapsed: 1.186
> > sec <<< FAILURE!
> >
> > Results :
> >
> > Failed tests:
> >
> > 
testDefineWithNoLocation(test.sdo21.tests.general.XSDSerializationTest)
> >
> > 
testDuplicateDefineWithLocation(test.sdo21.tests.general.XSDSerializatio
> > nTest)
> >
> > Tests in error:
> >   testGetInstancePropertiesSize(test.sdo21.tests.api.DataObjectTest)
> >
> > Tests run: 26, Failures: 2, Errors: 1, Skipped: 1
> >
> > [INFO]
> > 
------------------------------------------------------------------------
> > [ERROR] BUILD FAILURE
> > [INFO]
> > 
------------------------------------------------------------------------
> > [INFO] There are test failures.
> > [INFO]
> > 
------------------------------------------------------------------------
> > [INFO] For more information, run Maven with the -e switch
> > [INFO]
> > 
------------------------------------------------------------------------
> > [INFO] Total time: 4 seconds
> > [INFO] Finished at: Mon Apr 16 14:10:56 BST 2007
> > [INFO] Final Memory: 6M/12M
> > [INFO]
> > 
------------------------------------------------------------------------
> >
> >
> >
> > -----Original Message-----
> > From: kelvin goodson [mailto:kelvingoodson@gmail.com]
> > Sent: 12 April 2007 15:33
> > To: tuscany-dev
> > Subject: [Java SDO] Running the CTS against the Tuscany impl
> >
> > I've been getting back up to speed with the CTS this morning,  and it
> > took me a little while to get things going.  I came across a couple of
> > significant issues
> >
> > one is that the current documentation (
> > http://cwiki.apache.org/TUSCANY/obtaining-the-sdo-21-cts.html) 
suggests
> > that running maven against the source will run the CTS against 
Tuscany,
> > which is not the case.  In the end I found that I had to create 
eclipse
> > projects, and run test.sdo21.vendor.tuscany.tests.AdopedtCtsTestSuite 
as
> > a junit test in eclipse before I could see the results of execution of
> > the tests,
> >
> > Once I had managed to run the tests I found that the tuscany test 
helper
> > uses the default helper instances for each test in sequence,  and
> > therefore causes tests to fail which, when run separately, succeed.  I
> > may have missed discussions on this,  but clearly it needs fixing. 
Does
> > anyone have any context that's not document or that I've missed? Is 
this
> > on anyone's radar to get to grips with at the moment?
> >
> > Regards, Kelvin.
> >


---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


Mime
View raw message