geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jarek Gawor" <jga...@gmail.com>
Subject Re: trunk testsuite failures
Date Thu, 18 Dec 2008 15:47:14 GMT
I'm confused by this. First, looks like this is only happening on
Macs. I don't see any problems like these on Windows or Linux. I've
made two changed related to JMX this week: 1) binding to a specific ip
address, and 2) client socket time outs. But I don't see how either of
these is causing this (by default JMX should be binding to 0.0.0.0 and
have socket read timeouts of 5 mins). If somebody could try to see if
disabling 1) or 2) helps that would be great. To disable 1) just
modify GeronimoRMIServerSocketFactory.java in geronimo-kernel and drop
two last arguments fo ServerSocket. To disable 2) modify
GeronimoRMIClientSocketFactory in geronimo-kernel and remove call to
setSoTimeout().

Thanks,
Jarek

On Thu, Dec 18, 2008 at 10:21 AM, Joe Bohn <joe.bohn@earthlink.net> wrote:
> yep, same as mine.
>
> I think I first noticed this sometime last week but assumed that I just had
> something out of sync so I ignored it.  When I noticed it again yesterday
> after refreshing my code I figured it might be bigger than just me.
>
> Joe
>
> Donald Woods wrote:
>>
>> On my Mac plugged into my network at home, I'm seeing -
>>
>> For webservices-testsuite/jaxws-provider-tests/provider-ear the tests are
>> failing with HTTP 404 errors.
>>
>> The deployer output shows -
>>    <failure type="org.apache.maven.plugin.MojoExecutionException"
>> message=" Failed to start modules: Error unmarshaling return header; nested
>> exception is: ">Exception Detail
>> ================
>> org.apache.maven.plugin.MojoExecutionException: Failed to start modules:
>> Error unmarshaling return header; nested exception is:
>>        java.net.SocketTimeoutException: Read timed out
>> java.rmi.UnmarshalException: Error unmarshaling return header; nested
>> exception is:
>>        java.net.SocketTimeoutException: Read timed out
>>        at
>> sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:203)
>>        at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:126)
>>        at com.sun.jmx.remote.internal.PRef.invoke(Unknown Source)
>>        at
>> javax.management.remote.rmi.RMIConnectionImpl_Stub.invoke(Unknown Source)
>>        at
>> javax.management.remote.rmi.RMIConnector$RemoteMBeanServerConnection.invoke(RMIConnector.java:972)
>>        at
>> org.apache.geronimo.system.jmx.KernelDelegate.invokeKernel(KernelDelegate.java:886)
>>
>>
>>
>> -Donald
>>
>>
>> Jarek Gawor wrote:
>>>
>>> Hmm.. any errors on the server side in the logs?
>>>
>>> Jarek
>>>
>>> On Wed, Dec 17, 2008 at 11:25 PM, Joe Bohn <joe.bohn@earthlink.net>
>>> wrote:
>>>>
>>>> I've been building with just mvn (and no other parms) ... so it defaults
>>>> to
>>>> jetty I believe and runs the tests.
>>>>
>>>> I think it's just timing out.  Here's a portion of the build.log from
>>>> jaxws-provider-tests.   It's consistent - failing every time.
>>>>
>>>> OUT: [INFO] Starting module:
>>>> org.apache.geronimo.testsuite/provider-ear/2.2-SNAPSHOT/ear
>>>> OUT: Dec 17, 2008 10:26:08 PM ClientCommunicatorAdmin Checker-run
>>>> OUT: WARNING: Failed to check the connection:
>>>> java.net.SocketTimeoutException: Read timed out
>>>> OUT: Deployer operation failed: Error unmarshaling return header; nested
>>>> exception is:
>>>> OUT:    java.net.SocketTimeoutException: Read timed out
>>>> OUT: java.rmi.UnmarshalException: Error unmarshaling return header;
>>>> nested
>>>> exception is:
>>>> OUT:    java.net.SocketTimeoutException: Read timed out
>>>> OUT:    at
>>>>
>>>> sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:203)
>>>> OUT:    at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:126)
>>>> OUT:    at com.sun.jmx.remote.internal.PRef.invoke(Unknown Source)
>>>> OUT:    at
>>>> javax.management.remote.rmi.RMIConnectionImpl_Stub.invoke(Unknown
>>>> Source)
>>>> OUT:    at
>>>>
>>>> javax.management.remote.rmi.RMIConnector$RemoteMBeanServerConnection.invoke(RMIConnector.java:972)
>>>> OUT:    at
>>>>
>>>> org.apache.geronimo.system.jmx.KernelDelegate.invokeKernel(KernelDelegate.java:886)
>>>> OUT:    at
>>>>
>>>> org.apache.geronimo.system.jmx.KernelDelegate.invoke(KernelDelegate.java:547)
>>>> OUT:    at
>>>>
>>>> org.apache.geronimo.kernel.basic.KernelOperationInvoker.invoke(KernelOperationInvoker.java:46)
>>>> OUT:    at
>>>>
>>>> org.apache.geronimo.system.jmx.JMXProxyMethodInterceptor.intercept(JMXProxyMethodInterceptor.java:89)
>>>> OUT:    at
>>>>
>>>> org.apache.geronimo.kernel.config.EditableConfigurationManager$$EnhancerByCGLIB$$fb863628.startConfiguration(<generated>)
>>>> OUT:    at
>>>>
>>>> org.apache.geronimo.deployment.plugin.local.StartCommand.run(StartCommand.java:67)
>>>> OUT:    at java.lang.Thread.run(Thread.java:613)
>>>> OUT: Caused by: java.net.SocketTimeoutException: Read timed out
>>>> OUT:    at java.net.SocketInputStream.socketRead0(Native Method)
>>>> OUT:    at java.net.SocketInputStream.read(SocketInputStream.java:129)
>>>> OUT:    at
>>>> java.io.BufferedInputStream.fill(BufferedInputStream.java:218)
>>>> OUT:    at
>>>> java.io.BufferedInputStream.read(BufferedInputStream.java:235)
>>>> OUT:    at java.io.DataInputStream.readByte(DataInputStream.java:241)
>>>> OUT:    at
>>>>
>>>> sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:189)
>>>> OUT:    ... 11 more
>>>> OUT: [WARNING] Ignoring failure !
>>>> OUT: [INFO] [surefire:test {execution: integration}]
>>>> OUT: [INFO] Surefire report directory:
>>>>
>>>> /Users/bohn/geronimo/testsuite/webservices-testsuite/jaxws-provider-tests/provider-ear/target/surefire-reports
>>>> OUT: -------------------------------------------------------
>>>> OUT:  T E S T S
>>>> OUT: -------------------------------------------------------
>>>> OUT: Running TestSuite
>>>> OUT: Tests run: 18, Failures: 18, Errors: 0, Skipped: 0, Time elapsed:
>>>> 447.755 sec <<< FAILURE!
>>>> OUT: Results :
>>>> OUT: Failed tests:
>>>> OUT:
>>>> testHTTPDataSource(org.apache.geronimo.jaxws.provider.EJBProviderTest)
>>>> OUT:
>>>>
>>>> testHTTPSourceMessageMode(org.apache.geronimo.jaxws.provider.EJBProviderTest)
>>>> OUT:
>>>>
>>>> testHTTPSourcePayloadMode(org.apache.geronimo.jaxws.provider.EJBProviderTest)
>>>> OUT:
>>>>
>>>> testSOAP11SOAPMessage(org.apache.geronimo.jaxws.provider.EJBProviderTest)
>>>> OUT:
>>>>
>>>> testSOAP11SourceMessageMode(org.apache.geronimo.jaxws.provider.EJBProviderTest)
>>>> OUT:
>>>>
>>>> testSOAP11SourcePayloadMode(org.apache.geronimo.jaxws.provider.EJBProviderTest)
>>>> OUT:
>>>>
>>>> testSOAP12SOAPMessage(org.apache.geronimo.jaxws.provider.EJBProviderTest)
>>>> OUT:
>>>>
>>>> testSOAP12SourceMessageMode(org.apache.geronimo.jaxws.provider.EJBProviderTest)
>>>> OUT:
>>>>
>>>> testSOAP12SourcePayloadMode(org.apache.geronimo.jaxws.provider.EJBProviderTest)
>>>> OUT:
>>>> testHTTPDataSource(org.apache.geronimo.jaxws.provider.WebProviderTest)
>>>> OUT:
>>>>
>>>> testHTTPSourceMessageMode(org.apache.geronimo.jaxws.provider.WebProviderTest)
>>>> OUT:
>>>>
>>>> testHTTPSourcePayloadMode(org.apache.geronimo.jaxws.provider.WebProviderTest)
>>>> OUT:
>>>>
>>>> testSOAP11SOAPMessage(org.apache.geronimo.jaxws.provider.WebProviderTest)
>>>> OUT:
>>>>
>>>> testSOAP11SourceMessageMode(org.apache.geronimo.jaxws.provider.WebProviderTest)
>>>> OUT:
>>>>
>>>> testSOAP11SourcePayloadMode(org.apache.geronimo.jaxws.provider.WebProviderTest)
>>>> OUT:
>>>>
>>>> testSOAP12SOAPMessage(org.apache.geronimo.jaxws.provider.WebProviderTest)
>>>> OUT:
>>>>
>>>> testSOAP12SourceMessageMode(org.apache.geronimo.jaxws.provider.WebProviderTest)
>>>> OUT:
>>>>
>>>> testSOAP12SourcePayloadMode(org.apache.geronimo.jaxws.provider.WebProviderTest)
>>>> OUT: Tests run: 18, Failures: 18, Errors: 0, Skipped: 0
>>>> OUT: [INFO]
>>>> ------------------------------------------------------------------------
>>>> OUT: [ERROR] BUILD FAILURE
>>>> OUT: [INFO]
>>>> ------------------------------------------------------------------------
>>>> OUT: [INFO] There are test failures.
>>>> OUT: Please refer to
>>>>
>>>> /Users/bohn/geronimo/testsuite/webservices-testsuite/jaxws-provider-tests/provider-ear/target/surefire-reports
>>>> for the individual test results.
>>>> OUT: [INFO]
>>>> ------------------------------------------------------------------------
>>>> OUT: [INFO] Trace
>>>> OUT: org.apache.maven.BuildFailureException: There are test failures.
>>>> OUT: Please refer to
>>>>
>>>> /Users/bohn/geronimo/testsuite/webservices-testsuite/jaxws-provider-tests/provider-ear/target/surefire-reports
>>>> for the individual test results.
>>>> OUT:    at
>>>>
>>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:579)
>>>> OUT:    at
>>>>
>>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:499)
>>>> OUT:    at
>>>>
>>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:478)
>>>> OUT:    at
>>>>
>>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:330)
>>>> OUT:    at
>>>>
>>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:291)
>>>> OUT:    at
>>>>
>>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:142)
>>>> OUT:    at
>>>> org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)
>>>> OUT:    at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
>>>> OUT:    at org.apache.maven.cli.MavenCli.main(MavenCli.java:287)
>>>> OUT:    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>>> OUT:    at
>>>>
>>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>>>> OUT:    at
>>>>
>>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>>> OUT:    at java.lang.reflect.Method.invoke(Method.java:585)
>>>> OUT:    at
>>>> org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
>>>> OUT:    at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
>>>> OUT:    at
>>>> org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
>>>> OUT:    at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
>>>> OUT: Caused by: org.apache.maven.plugin.MojoFailureException: There are
>>>> test
>>>> failures.
>>>> OUT: Please refer to
>>>>
>>>> /Users/bohn/geronimo/testsuite/webservices-testsuite/jaxws-provider-tests/provider-ear/target/surefire-reports
>>>> for the individual test results.
>>>> OUT:    at
>>>>
>>>> org.apache.maven.plugin.surefire.SurefirePlugin.execute(SurefirePlugin.java:530)
>>>> OUT:    at
>>>>
>>>> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:451)
>>>> OUT:    at
>>>>
>>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:558)
>>>> OUT:    ... 16 more
>>>> OUT: [INFO]
>>>> ------------------------------------------------------------------------
>>>> OUT: [INFO] Total time: 15 minutes 37 seconds
>>>> OUT: [INFO] Finished at: Wed Dec 17 22:36:22 EST 2008
>>>> OUT: [INFO] Final Memory: 35M/63M
>>>> OUT: [INFO]
>>>> ------------------------------------------------------------------------
>>>> OUT:
>>>>
>>>> -------------------------------------------------------------------------------
>>>> OUT:
>>>>
>>>> -------------------------------------------------------------------------------
>>>> ERR: FAILURE: Execution exited with status: 1
>>>>
>>>>
>>>>
>>>>
>>>>
>>>
>>
>
>

Mime
View raw message