[jboss-jira] [JBoss JIRA] Updated: (JBAS-8930) ExistingConnectionRemoteProxyControllerTest periodically freezes during build on Windows

Brian Stansberry (JIRA) jira-events at lists.jboss.org
Mon Apr 18 01:35:39 EDT 2011


     [ https://issues.jboss.org/browse/JBAS-8930?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brian Stansberry updated JBAS-8930:
-----------------------------------

    Fix Version/s: 7.0.0.Beta4
                       (was: 7.0.0.Beta3)


Test is disabled. The usage pattern it's testing (both ends of a jboss-as-protocol connection independently initiating messages to each other) is fundamentally broken; the failure here reveals that. This JIRA remains open to ensure any actual usage of that pattern is removed (preferably replaced with Remoting 3 based comms.)

> ExistingConnectionRemoteProxyControllerTest periodically freezes during build on Windows
> ----------------------------------------------------------------------------------------
>
>                 Key: JBAS-8930
>                 URL: https://issues.jboss.org/browse/JBAS-8930
>             Project: JBoss Application Server
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: Test Suite
>    Affects Versions: 7.0.0.Alpha1
>         Environment: Windows 7 64-bit
>            Reporter: Jonathan Pearlin
>            Assignee: Brian Stansberry
>            Priority: Minor
>             Fix For: 7.0.0.Beta4
>
>
> Occasionally while attempting to build AS 7 using mvn clean install or mvn install, the build will freeze while attempting to execute the ExistingConnectionRemoteProxyControllerTest test (the freeze only occurs after an EOFException occurs during the test).  The exception and resulting freeze cannot be reproduced with any regularity.  It appears to be the result of some sort of race condition.  Below is the stack trace produced when the issue occurs:
> Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.105 sec
> Running org.jboss.as.controller.test.ExistingConnectionRemoteProxyControllerTest
> Case
> connected
> ------------
> connected
> connected
> connected
> Mar 6, 2011 3:19:52 PM org.jboss.as.protocol.ConnectionImpl safeHandleMessage
> ERROR: Failed to read a message
> java.io.EOFException: Read past end of file
>         at org.jboss.marshalling.SimpleDataInput.eofOnRead(SimpleDataInput.java:126)
> 	at org.jboss.marshalling.SimpleDataInput.readByte(SimpleDataInput.java:214)
>         at org.jboss.as.protocol.SimpleByteDataInput.readByte(SimpleByteDataInput.java:80)
>         at org.jboss.as.protocol.mgmt.ManagementRequestHeader.read(ManagementRequestHeader.java:67)
>         at org.jboss.as.protocol.mgmt.ManagementProtocolHeader.<init>(ManagementProtocolHeader.java:55)
>         at org.jboss.as.protocol.mgmt.ManagementRequestHeader.<init>(ManagementRequestHeader.java:47)
>         at org.jboss.as.protocol.mgmt.ManagementHeaderMessageHandler.handle(ManagementHeaderMessageHandler.java:53)
>         at org.jboss.as.protocol.mgmt.AbstractMessageHandler.handleMessage(AbstractMessageHandler.java:59)
>         at org.jboss.as.protocol.ConnectionImpl.safeHandleMessage(ConnectionImpl.java:254)
>         at org.jboss.as.protocol.ConnectionImpl$1$1.run(ConnectionImpl.java:213)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
>         at java.lang.Thread.run(Thread.java:619)

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jboss-jira mailing list