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 Laws <si...@googlemail.com> on 2008/05/06 10:37:04 UTC

build failure in store-test

I've just updated and built from scratch and, with a top level build got....

INFO: Loading composite:
http://localhost:9990/composite-resolved/composite:stor
e-client;http://store;store-client
Unhandled exception
Type=Segmentation error vmState=0x00000000
J9Generic_Signal_Number=00000004 ExceptionCode=c0000005
ExceptionAddress=7F8EC9B
C ContextFlags=0001003f
Handler1=7EFB04E0 Handler2=7F057A80 InaccessibleAddress=124BB18C
EDI=00147298 ESI=001475F8 EAX=124BB18C EBX=137BF610
ECX=00000014 EDX=137BF610
EIP=7F8EC9BC ESP=137BF5BC EBP=121383E4
Module=c:\simon\apps\j2sdk5.0-ibm\jre\bin\j9dyn23.dll
Module_base_address=7F8E0000 Offset_in_DLL=0000c9bc
Target=2_30_20070420_12448_lHdSMR (Windows XP 5.1 build 2600 Service Pack 2)
CPU=x86 (2 logical CPUs) (0xbfe5b000 RAM)
JVMDUMP006I Processing Dump Event "gpf", detail "" - Please Wait.
JVMDUMP007I JVM Requesting System Dump using
'C:\simon\tuscany\java-head\sca\tut
orial\store-test\core.20080506.082223.7972.dmp'
JVMDUMP010I System Dump written to
C:\simon\tuscany\java-head\sca\tutorial\store
-test\core.20080506.082223.7972.dmp
JVMDUMP007I JVM Requesting Snap Dump using
'C:\simon\tuscany\java-head\sca\tutor
ial\store-test\Snap0002.20080506.082223.7972.trc'
JVMDUMP010I Snap Dump written to
C:\simon\tuscany\java-head\sca\tutorial\store-t
est\Snap0002.20080506.082223.7972.trc
JVMDUMP007I JVM Requesting Java Dump using
'C:\simon\tuscany\java-head\sca\tutor
ial\store-test\javacore.20080506.082223.7972.txt'
JVMDUMP010I Java Dump written to
C:\simon\tuscany\java-head\sca\tutorial\store-t
est\javacore.20080506.082223.7972.txt
JVMDUMP013I Processed Dump Event "gpf", detail "".

And with a build of store-test on its own got...

Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 63.359 sec
<<< F
AILURE!
testShop(test.StoreSupplierTestCase)  Time elapsed: 63.25 sec  <<< ERROR!
org.osoa.sca.ServiceRuntimeException: HTTP status code: 500
        at
org.apache.tuscany.sca.binding.atom.provider.AtomBindingInvoker$Delet
eInvoker.invoke(AtomBindingInvoker.java:310)
        at
org.apache.tuscany.sca.core.databinding.wire.PassByValueInterceptor.i
nvoke(PassByValueInterceptor.java:108)
        at
org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JD
KInvocationHandler.java:286)
        at
org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JD
KInvocationHandler.java:154)
        at $Proxy56.delete(Unknown Source)
        at client.ShopperImpl.shop(ShopperImpl.java:48)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:64)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:615)
        at
org.apache.tuscany.sca.implementation.java.invocation.JavaImplementat
ionInvoker.invoke(JavaImplementationInvoker.java:109)
        at
org.apache.tuscany.sca.core.databinding.wire.PassByValueInterceptor.i
nvoke(PassByValueInterceptor.java:108)
        at
org.apache.tuscany.sca.binding.sca.impl.SCABindingInvoker.invoke(SCAB
indingInvoker.java:61)
        at
org.apache.tuscany.sca.core.databinding.wire.PassByValueInterceptor.i
nvoke(PassByValueInterceptor.java:108)
        at
org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JD
KInvocationHandler.java:286)
        at
org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JD
KInvocationHandler.java:154)
        at $Proxy54.shop(Unknown Source)
        at
test.StoreSupplierTestCase.testShop(StoreSupplierTestCase.java:81)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:64)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:615)
        at
org.junit.internal.runners.TestMethodRunner.executeMethodBody(TestMet
hodRunner.java:99)
        at
org.junit.internal.runners.TestMethodRunner.runUnprotected(TestMethod
Runner.java:81)
        at
org.junit.internal.runners.BeforeAndAfterRunner.runProtected(BeforeAn
dAfterRunner.java:34)
        at
org.junit.internal.runners.TestMethodRunner.runMethod(TestMethodRunne
r.java:75)
        at
org.junit.internal.runners.TestMethodRunner.run(TestMethodRunner.java
:45)
        at
org.junit.internal.runners.TestClassMethodsRunner.invokeTestMethod(Te
stClassMethodsRunner.java:75)
        at
org.junit.internal.runners.TestClassMethodsRunner.run(TestClassMethod
sRunner.java:36)
        at
org.junit.internal.runners.TestClassRunner$1.runUnprotected(TestClass
Runner.java:42)
        at
org.junit.internal.runners.BeforeAndAfterRunner.runProtected(BeforeAn
dAfterRunner.java:34)
        at
org.junit.internal.runners.TestClassRunner.run(TestClassRunner.java:5
2)
        at
org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.
java:62)
        at
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTes
tSet(AbstractDirectoryTestSuite.java:138)
        at
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(Ab
stractDirectoryTestSuite.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:64)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:615)
        at
org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(Su
refireBooter.java:308)
        at
org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.j
ava:879)

Anyone else seeing either of these or have I messed up my local version
somehow?

Regards

Simon

Re: build failure in store-test

Posted by Luciano Resende <lu...@gmail.com>.
When using the sql-maven-plugin to generate the databases, we have to
explicitly close the databases otherwise the unit tests won't be able
to open the database. This can be done with the snippet below, these
changes are needed in both tutorial-store-db and
tutorial-store-supplier :

                    <!-- Shutdown DB in order to be able to run unit tests -->
                    <execution>
                    	<id>shutdown-database-sothat-test-can-run</id>
                    	<phase>process-test-resources</phase>
                    	<goals>
                    		<goal>execute</goal>
                    	</goals>
                    	<configuration>
                    	    <driver>org.apache.derby.jdbc.EmbeddedDriver</driver>

		<url>jdbc:derby:${basedir}/target/cart-db;shutdown=true</url>
                    		<skipOnConnectionError>true</skipOnConnectionError>
                    	</configuration>
                    </execution>


I have committed a fix for this issue under svn revision #654416.

On Tue, May 6, 2008 at 3:57 PM, Jean-Sebastien Delfino
<js...@apache.org> wrote:
> Graham Charters wrote:
>>
>> I updated this morning and also saw the Segmentation Fault.  I've
>> since re-run and now only see the Exception.  Further up on the build
>> there's also the following SQL Exception:
>>
>> INFO: Starting node: http://localhost:9990/node-config/StoreClientNode
>> Connecting to database:
>> jdbc:derby:directory:C:\Tuscany\java\sca\tutorial\store-
>> test/../store-supplier/target/cart-db
>> 06-May-2008 15:44:59 org.apache.catalina.core.StandardWrapperValve invoke
>> SEVERE: Servlet.service() for servlet /ShoppingCart/Cart/* threw exception
>> SQL Exception: Failed to start database
>> 'directory:C:\Tuscany\java\sca\tutorial\
>> store-test/../store-supplier/target/cart-db', see the next exception for
>> details
>> .
>
> I'm not getting the seg fault but I'm getting the SQL exception too,
> randomly, in 1 out of 3 build environments.
>
> I had seen the SQL exception before and thought I had implemented a good
> workaround for it in store-supplier/pom.xml (copying cart-db as the Maven
> SQL plugin doesn't seem to release the db properly in store-supplier,
> preventing store-test to open it later)...
>
> It doesn't look like the workaround is working.
>
> I've temporarily commented store-test out of the build. I'm at JavaOne today
> and will try to investigate later this evening. If I can't get around the
> database issue I'll just take it out as it's not really relevant to the test
> anyway.
> --
> Jean-Sebastien
>



-- 
Luciano Resende
Apache Tuscany Committer
http://people.apache.org/~lresende
http://lresende.blogspot.com/

Re: build failure in store-test

Posted by Jean-Sebastien Delfino <js...@apache.org>.
Graham Charters wrote:
> I updated this morning and also saw the Segmentation Fault.  I've
> since re-run and now only see the Exception.  Further up on the build
> there's also the following SQL Exception:
> 
> INFO: Starting node: http://localhost:9990/node-config/StoreClientNode
> Connecting to database: jdbc:derby:directory:C:\Tuscany\java\sca\tutorial\store-
> test/../store-supplier/target/cart-db
> 06-May-2008 15:44:59 org.apache.catalina.core.StandardWrapperValve invoke
> SEVERE: Servlet.service() for servlet /ShoppingCart/Cart/* threw exception
> SQL Exception: Failed to start database 'directory:C:\Tuscany\java\sca\tutorial\
> store-test/../store-supplier/target/cart-db', see the next exception for details
> .

I'm not getting the seg fault but I'm getting the SQL exception too, 
randomly, in 1 out of 3 build environments.

I had seen the SQL exception before and thought I had implemented a good 
workaround for it in store-supplier/pom.xml (copying cart-db as the 
Maven SQL plugin doesn't seem to release the db properly in 
store-supplier, preventing store-test to open it later)...

It doesn't look like the workaround is working.

I've temporarily commented store-test out of the build. I'm at JavaOne 
today and will try to investigate later this evening. If I can't get 
around the database issue I'll just take it out as it's not really 
relevant to the test anyway.
-- 
Jean-Sebastien

Re: build failure in store-test

Posted by Graham Charters <gc...@googlemail.com>.
I updated this morning and also saw the Segmentation Fault.  I've
since re-run and now only see the Exception.  Further up on the build
there's also the following SQL Exception:

INFO: Starting node: http://localhost:9990/node-config/StoreClientNode
Connecting to database: jdbc:derby:directory:C:\Tuscany\java\sca\tutorial\store-
test/../store-supplier/target/cart-db
06-May-2008 15:44:59 org.apache.catalina.core.StandardWrapperValve invoke
SEVERE: Servlet.service() for servlet /ShoppingCart/Cart/* threw exception
SQL Exception: Failed to start database 'directory:C:\Tuscany\java\sca\tutorial\
store-test/../store-supplier/target/cart-db', see the next exception for details
.
        at org.apache.derby.impl.jdbc.Util.newEmbedSQLException(Unknown Source)
        at org.apache.derby.impl.jdbc.Util.newEmbedSQLException(Unknown Source)
        at org.apache.derby.impl.jdbc.Util.generateCsSQLException(Unknown Source
)
        at org.apache.derby.impl.jdbc.EmbedConnection.newSQLException(Unknown So
urce)
        at org.apache.derby.impl.jdbc.EmbedConnection.bootDatabase(Unknown Sourc
e)
        at org.apache.derby.impl.jdbc.EmbedConnection.<init>(Unknown Source)
        at org.apache.derby.jdbc.Driver30.getNewEmbedConnection(Unknown Source)
        at org.apache.derby.jdbc.InternalDriver.connect(Unknown Source)
        at java.sql.DriverManager.getConnection(DriverManager.java:562)
        at java.sql.DriverManager.getConnection(DriverManager.java:186)
        at services.db.ShoppingCartTableImpl.init(ShoppingCartTableImpl.java:54)

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:64)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:615)
        at org.apache.tuscany.sca.implementation.java.invocation.MethodEventInvo
ker.invokeEvent(MethodEventInvoker.java:43)
        at org.apache.tuscany.sca.implementation.java.context.ReflectiveInstance
Wrapper.start(ReflectiveInstanceWrapper.java:46)
        at org.apache.tuscany.sca.core.scope.StatelessScopeContainer.getWrapper(
StatelessScopeContainer.java:39)
        at org.apache.tuscany.sca.implementation.java.invocation.JavaImplementat
ionInvoker.invoke(JavaImplementationInvoker.java:89)
        at org.apache.tuscany.sca.core.databinding.wire.PassByValueInterceptor.i
nvoke(PassByValueInterceptor.java:103)
        at org.apache.tuscany.sca.binding.atom.provider.AtomBindingListenerServl
et.doDelete(AtomBindingListenerServlet.java:527)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:733)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:290)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:206)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
alve.java:233)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
alve.java:175)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
ava:128)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
ava:102)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
ve.java:109)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav
a:263)
        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
:844)
        at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proce
ss(Http11Protocol.java:584)
        at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoin
t.java:354)
        at org.apache.tuscany.sca.core.work.Jsr237Work.run(Jsr237Work.java:61)
        at org.apache.tuscany.sca.core.work.ThreadPoolWorkManager$DecoratingWork
.run(ThreadPoolWorkManager.java:219)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExec
utor.java:665)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor
.java:690)
        at java.lang.Thread.run(Thread.java:803)
06-May-2008 15:44:59 org.apache.tuscany.sca.node.impl.NodeImpl stop
INFO: Stopping node: http://localhost:9990/node-config/StoreSupplierNode
06-May-2008 15:44:59 org.apache.tuscany.sca.node.impl.NodeImpl stop
INFO: Stopping node: http://localhost:9990/node-config/CatalogsNode
06-May-2008 15:44:59 org.apache.tuscany.sca.node.impl.NodeImpl stop
INFO: Stopping node: http://localhost:9990/node-config/StoreClientNode
06-May-2008 15:44:59 org.apache.coyote.http11.Http11Protocol destroy
INFO: Stopping Coyote HTTP/1.1 on http-9990
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 56.703 sec <<< F
AILURE!
testShop(test.StoreSupplierTestCase)  Time elapsed: 56.625 sec  <<< ERROR!
org.osoa.sca.ServiceRuntimeException: HTTP status code: 500
        at org.apache.tuscany.sca.binding.atom.provider.AtomBindingInvoker$Delet
eInvoker.invoke(AtomBindingInvoker.java:310)
        at org.apache.tuscany.sca.core.databinding.wire.PassByValueInterceptor.i
nvoke(PassByValueInterceptor.java:108)

2008/5/6 ant elder <an...@gmail.com>:
> I've updated and its still working ok for me
>
>    ...ant
>
>  On Tue, May 6, 2008 at 9:37 AM, Simon Laws <si...@googlemail.com>
>  wrote:
>
>
>  > I've just updated and built from scratch and, with a top level build
>  > got....
>  >
>  > INFO: Loading composite:
>  > http://localhost:9990/composite-resolved/composite:stor
>  > e-client;http://store;store-client<http://localhost:9990/composite-resolved/composite:store-client;http://store;store-client>
>
>
> > Unhandled exception
>  > Type=Segmentation error vmState=0x00000000
>  > J9Generic_Signal_Number=00000004 ExceptionCode=c0000005
>  > ExceptionAddress=7F8EC9B
>  > C ContextFlags=0001003f
>  > Handler1=7EFB04E0 Handler2=7F057A80 InaccessibleAddress=124BB18C
>  > EDI=00147298 ESI=001475F8 EAX=124BB18C EBX=137BF610
>  > ECX=00000014 EDX=137BF610
>  > EIP=7F8EC9BC ESP=137BF5BC EBP=121383E4
>  > Module=c:\simon\apps\j2sdk5.0-ibm\jre\bin\j9dyn23.dll
>  > Module_base_address=7F8E0000 Offset_in_DLL=0000c9bc
>  > Target=2_30_20070420_12448_lHdSMR (Windows XP 5.1 build 2600 Service Pack
>  > 2)
>  > CPU=x86 (2 logical CPUs) (0xbfe5b000 RAM)
>  > JVMDUMP006I Processing Dump Event "gpf", detail "" - Please Wait.
>  > JVMDUMP007I JVM Requesting System Dump using
>  > 'C:\simon\tuscany\java-head\sca\tut
>  > orial\store-test\core.20080506.082223.7972.dmp'
>  > JVMDUMP010I System Dump written to
>  > C:\simon\tuscany\java-head\sca\tutorial\store
>  > -test\core.20080506.082223.7972.dmp
>  > JVMDUMP007I JVM Requesting Snap Dump using
>  > 'C:\simon\tuscany\java-head\sca\tutor
>  > ial\store-test\Snap0002.20080506.082223.7972.trc'
>  > JVMDUMP010I Snap Dump written to
>  > C:\simon\tuscany\java-head\sca\tutorial\store-t
>  > est\Snap0002.20080506.082223.7972.trc
>  > JVMDUMP007I JVM Requesting Java Dump using
>  > 'C:\simon\tuscany\java-head\sca\tutor
>  > ial\store-test\javacore.20080506.082223.7972.txt'
>  > JVMDUMP010I Java Dump written to
>  > C:\simon\tuscany\java-head\sca\tutorial\store-t
>  > est\javacore.20080506.082223.7972.txt
>  > JVMDUMP013I Processed Dump Event "gpf", detail "".
>  >
>  > And with a build of store-test on its own got...
>  >
>  > Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 63.359 sec
>  > <<< F
>  > AILURE!
>  > testShop(test.StoreSupplierTestCase)  Time elapsed: 63.25 sec  <<< ERROR!
>  > org.osoa.sca.ServiceRuntimeException: HTTP status code: 500
>  >        at
>  > org.apache.tuscany.sca.binding.atom.provider.AtomBindingInvoker$Delet
>  > eInvoker.invoke(AtomBindingInvoker.java:310)
>  >        at
>  > org.apache.tuscany.sca.core.databinding.wire.PassByValueInterceptor.i
>  > nvoke(PassByValueInterceptor.java:108)
>  >        at
>  > org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JD
>  > KInvocationHandler.java:286)
>  >        at
>  > org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JD
>  > KInvocationHandler.java:154)
>  >        at $Proxy56.delete(Unknown Source)
>  >        at client.ShopperImpl.shop(ShopperImpl.java:48)
>  >        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>  >        at
>  > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
>  > java:64)
>  >        at
>  > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
>  > sorImpl.java:43)
>  >        at java.lang.reflect.Method.invoke(Method.java:615)
>  >        at
>  > org.apache.tuscany.sca.implementation.java.invocation.JavaImplementat
>  > ionInvoker.invoke(JavaImplementationInvoker.java:109)
>  >        at
>  > org.apache.tuscany.sca.core.databinding.wire.PassByValueInterceptor.i
>  > nvoke(PassByValueInterceptor.java:108)
>  >        at
>  > org.apache.tuscany.sca.binding.sca.impl.SCABindingInvoker.invoke(SCAB
>  > indingInvoker.java:61)
>  >        at
>  > org.apache.tuscany.sca.core.databinding.wire.PassByValueInterceptor.i
>  > nvoke(PassByValueInterceptor.java:108)
>  >        at
>  > org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JD
>  > KInvocationHandler.java:286)
>  >        at
>  > org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JD
>  > KInvocationHandler.java:154)
>  >        at $Proxy54.shop(Unknown Source)
>  >        at
>  > test.StoreSupplierTestCase.testShop(StoreSupplierTestCase.java:81)
>  >        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>  >        at
>  > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
>  > java:64)
>  >        at
>  > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
>  > sorImpl.java:43)
>  >        at java.lang.reflect.Method.invoke(Method.java:615)
>  >        at
>  > org.junit.internal.runners.TestMethodRunner.executeMethodBody(TestMet
>  > hodRunner.java:99)
>  >        at
>  > org.junit.internal.runners.TestMethodRunner.runUnprotected(TestMethod
>  > Runner.java:81)
>  >        at
>  > org.junit.internal.runners.BeforeAndAfterRunner.runProtected(BeforeAn
>  > dAfterRunner.java:34)
>  >        at
>  > org.junit.internal.runners.TestMethodRunner.runMethod(TestMethodRunne
>  > r.java:75)
>  >        at
>  > org.junit.internal.runners.TestMethodRunner.run(TestMethodRunner.java
>  > :45)
>  >        at
>  > org.junit.internal.runners.TestClassMethodsRunner.invokeTestMethod(Te
>  > stClassMethodsRunner.java:75)
>  >        at
>  > org.junit.internal.runners.TestClassMethodsRunner.run(TestClassMethod
>  > sRunner.java:36)
>  >        at
>  > org.junit.internal.runners.TestClassRunner$1.runUnprotected(TestClass
>  > Runner.java:42)
>  >        at
>  > org.junit.internal.runners.BeforeAndAfterRunner.runProtected(BeforeAn
>  > dAfterRunner.java:34)
>  >        at
>  > org.junit.internal.runners.TestClassRunner.run(TestClassRunner.java:5
>  > 2)
>  >        at
>  > org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.
>  > java:62)
>  >        at
>  > org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTes
>  > tSet(AbstractDirectoryTestSuite.java:138)
>  >        at
>  > org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(Ab
>  > stractDirectoryTestSuite.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:64)
>  >        at
>  > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
>  > sorImpl.java:43)
>  >        at java.lang.reflect.Method.invoke(Method.java:615)
>  >        at
>  > org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(Su
>  > refireBooter.java:308)
>  >        at
>  > org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.j
>  > ava:879)
>  >
>  > Anyone else seeing either of these or have I messed up my local version
>  > somehow?
>  >
>  > Regards
>  >
>  > Simon
>  >
>

Re: build failure in store-test

Posted by ant elder <an...@gmail.com>.
I've updated and its still working ok for me

   ...ant

On Tue, May 6, 2008 at 9:37 AM, Simon Laws <si...@googlemail.com>
wrote:

> I've just updated and built from scratch and, with a top level build
> got....
>
> INFO: Loading composite:
> http://localhost:9990/composite-resolved/composite:stor
> e-client;http://store;store-client<http://localhost:9990/composite-resolved/composite:store-client;http://store;store-client>
> Unhandled exception
> Type=Segmentation error vmState=0x00000000
> J9Generic_Signal_Number=00000004 ExceptionCode=c0000005
> ExceptionAddress=7F8EC9B
> C ContextFlags=0001003f
> Handler1=7EFB04E0 Handler2=7F057A80 InaccessibleAddress=124BB18C
> EDI=00147298 ESI=001475F8 EAX=124BB18C EBX=137BF610
> ECX=00000014 EDX=137BF610
> EIP=7F8EC9BC ESP=137BF5BC EBP=121383E4
> Module=c:\simon\apps\j2sdk5.0-ibm\jre\bin\j9dyn23.dll
> Module_base_address=7F8E0000 Offset_in_DLL=0000c9bc
> Target=2_30_20070420_12448_lHdSMR (Windows XP 5.1 build 2600 Service Pack
> 2)
> CPU=x86 (2 logical CPUs) (0xbfe5b000 RAM)
> JVMDUMP006I Processing Dump Event "gpf", detail "" - Please Wait.
> JVMDUMP007I JVM Requesting System Dump using
> 'C:\simon\tuscany\java-head\sca\tut
> orial\store-test\core.20080506.082223.7972.dmp'
> JVMDUMP010I System Dump written to
> C:\simon\tuscany\java-head\sca\tutorial\store
> -test\core.20080506.082223.7972.dmp
> JVMDUMP007I JVM Requesting Snap Dump using
> 'C:\simon\tuscany\java-head\sca\tutor
> ial\store-test\Snap0002.20080506.082223.7972.trc'
> JVMDUMP010I Snap Dump written to
> C:\simon\tuscany\java-head\sca\tutorial\store-t
> est\Snap0002.20080506.082223.7972.trc
> JVMDUMP007I JVM Requesting Java Dump using
> 'C:\simon\tuscany\java-head\sca\tutor
> ial\store-test\javacore.20080506.082223.7972.txt'
> JVMDUMP010I Java Dump written to
> C:\simon\tuscany\java-head\sca\tutorial\store-t
> est\javacore.20080506.082223.7972.txt
> JVMDUMP013I Processed Dump Event "gpf", detail "".
>
> And with a build of store-test on its own got...
>
> Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 63.359 sec
> <<< F
> AILURE!
> testShop(test.StoreSupplierTestCase)  Time elapsed: 63.25 sec  <<< ERROR!
> org.osoa.sca.ServiceRuntimeException: HTTP status code: 500
>        at
> org.apache.tuscany.sca.binding.atom.provider.AtomBindingInvoker$Delet
> eInvoker.invoke(AtomBindingInvoker.java:310)
>        at
> org.apache.tuscany.sca.core.databinding.wire.PassByValueInterceptor.i
> nvoke(PassByValueInterceptor.java:108)
>        at
> org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JD
> KInvocationHandler.java:286)
>        at
> org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JD
> KInvocationHandler.java:154)
>        at $Proxy56.delete(Unknown Source)
>        at client.ShopperImpl.shop(ShopperImpl.java:48)
>        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>        at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
> java:64)
>        at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
> sorImpl.java:43)
>        at java.lang.reflect.Method.invoke(Method.java:615)
>        at
> org.apache.tuscany.sca.implementation.java.invocation.JavaImplementat
> ionInvoker.invoke(JavaImplementationInvoker.java:109)
>        at
> org.apache.tuscany.sca.core.databinding.wire.PassByValueInterceptor.i
> nvoke(PassByValueInterceptor.java:108)
>        at
> org.apache.tuscany.sca.binding.sca.impl.SCABindingInvoker.invoke(SCAB
> indingInvoker.java:61)
>        at
> org.apache.tuscany.sca.core.databinding.wire.PassByValueInterceptor.i
> nvoke(PassByValueInterceptor.java:108)
>        at
> org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JD
> KInvocationHandler.java:286)
>        at
> org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JD
> KInvocationHandler.java:154)
>        at $Proxy54.shop(Unknown Source)
>        at
> test.StoreSupplierTestCase.testShop(StoreSupplierTestCase.java:81)
>        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>        at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
> java:64)
>        at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
> sorImpl.java:43)
>        at java.lang.reflect.Method.invoke(Method.java:615)
>        at
> org.junit.internal.runners.TestMethodRunner.executeMethodBody(TestMet
> hodRunner.java:99)
>        at
> org.junit.internal.runners.TestMethodRunner.runUnprotected(TestMethod
> Runner.java:81)
>        at
> org.junit.internal.runners.BeforeAndAfterRunner.runProtected(BeforeAn
> dAfterRunner.java:34)
>        at
> org.junit.internal.runners.TestMethodRunner.runMethod(TestMethodRunne
> r.java:75)
>        at
> org.junit.internal.runners.TestMethodRunner.run(TestMethodRunner.java
> :45)
>        at
> org.junit.internal.runners.TestClassMethodsRunner.invokeTestMethod(Te
> stClassMethodsRunner.java:75)
>        at
> org.junit.internal.runners.TestClassMethodsRunner.run(TestClassMethod
> sRunner.java:36)
>        at
> org.junit.internal.runners.TestClassRunner$1.runUnprotected(TestClass
> Runner.java:42)
>        at
> org.junit.internal.runners.BeforeAndAfterRunner.runProtected(BeforeAn
> dAfterRunner.java:34)
>        at
> org.junit.internal.runners.TestClassRunner.run(TestClassRunner.java:5
> 2)
>        at
> org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.
> java:62)
>        at
> org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTes
> tSet(AbstractDirectoryTestSuite.java:138)
>        at
> org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(Ab
> stractDirectoryTestSuite.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:64)
>        at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
> sorImpl.java:43)
>        at java.lang.reflect.Method.invoke(Method.java:615)
>        at
> org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(Su
> refireBooter.java:308)
>        at
> org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.j
> ava:879)
>
> Anyone else seeing either of these or have I messed up my local version
> somehow?
>
> Regards
>
> Simon
>