[Issue 2757] New - EOF Exception causing build failure intermittently

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

[Issue 2757] New - EOF Exception causing build failure intermittently

sb110099
https://hudson.dev.java.net/issues/show_bug.cgi?id=2757
                 Issue #|2757
                 Summary|EOF Exception causing build failure intermittently
               Component|hudson
                 Version|current
                Platform|All
              OS/Version|All
                     URL|
                  Status|NEW
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P3
            Subcomponent|hudson.sfbay
             Assigned to|kohsuke
             Reported by|sb110099






------- Additional comments from [hidden email] Fri Dec 19 07:58:23 +0000 2008 -------
Hudson.sfbay

While running continuous build on hudson, build is failing intermittently with
an EOF exception as follows:

"
FATAL: Error unmarshaling return header; nested exception is:
        java.io.EOFException
java.rmi.UnmarshalException: Error unmarshaling return header; nested exception is:
        java.io.EOFException
        at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:209)
        at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:142)
        at javax.management.remote.rmi.RMIServerImpl_Stub.newClient(Unknown Source)
        at javax.management.remote.rmi.RMIConnector.getConnection(RMIConnector.java:2309)
        at javax.management.remote.rmi.RMIConnector.connect(RMIConnector.java:277)
        at
javax.management.remote.JMXConnectorFactory.connect(JMXConnectorFactory.java:248)
        at
org.jvnet.hudson.plugins.port_allocator.GlassFishJmxPortType$1GlassFishCleanUpTask.call(GlassFishJmxPortType.java:76)
        at
org.jvnet.hudson.plugins.port_allocator.GlassFishJmxPortType$1GlassFishCleanUpTask.call(GlassFishJmxPortType.java:61)
        at hudson.remoting.UserRequest.perform(UserRequest.java:69)
        at hudson.remoting.UserRequest.perform(UserRequest.java:23)
        at hudson.remoting.Request$2.run(Request.java:200)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
        at java.util.concurrent.FutureTask.run(FutureTask.java:138)
        at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
        at java.lang.Thread.run(Thread.java:619)
Caused by: java.io.EOFException
        at java.io.DataInputStream.readByte(DataInputStream.java:250)
        at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:195)
        ... 16 more
"
For reference , the job SQE-jsf-tests-V3 on hudson.sfbay can be viewed at
http://hudson.sfbay.sun.com/view/SQE-Tests/job/SQE-jsf-tests-V3/

This build is set at 30 minute interval against a stable GFV3 build (Prelude
build 28c). it is expected to be always blue or success. But it fails
intermittently with the EOF exception as viewed above.

This  is an important exercise to assess the stability of Hudson while moving
rest of SQE tests on Hudson.

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[Issue 2757] EOF Exception causing build failure intermittently

Kohsuke Kawaguchi
Administrator
https://hudson.dev.java.net/issues/show_bug.cgi?id=2757



User kohsuke changed the following:

                What    |Old value                 |New value
================================================================================
                  Status|NEW                       |STARTED
--------------------------------------------------------------------------------




------- Additional comments from [hidden email] Tue Dec 23 05:57:16 +0000 2008 -------
This is really a JMX problem. You didn't put the URL to the problem (please
always do so when filing an issue on hudson.sfbay), but I suspect this is a race
condition between "asadmin stop-domain" that you do (which is asynchornous
operation) vs Hudson trying to kill GlassFish.

I suggest you replace the GlassFish JMX port type with the plain TCP port type.
Hudson is capable of killing off run-away GlassFish on all the supported
platforms, so I don't see any downside to that.

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[Issue 2757] EOF Exception causing build failure intermittently

Kohsuke Kawaguchi
Administrator
In reply to this post by sb110099
https://hudson.dev.java.net/issues/show_bug.cgi?id=2757



User kohsuke changed the following:

                What    |Old value                 |New value
================================================================================
                  Status|STARTED                   |RESOLVED
--------------------------------------------------------------------------------
                Priority|P3                        |P4
--------------------------------------------------------------------------------
              Resolution|                          |WONTFIX
--------------------------------------------------------------------------------




------- Additional comments from [hidden email] Thu Jul  9 17:35:37 +0000 2009 -------
Since Hudson is now capable of reliably killing GlassFish via other means, I'm
marking this bug as WONTFIX.

If this continues to be an issue, maybe we can change the port allocator plugin
to retry in case of an error like this.

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]