Uploaded image for project: 'Application Server 7'
  1. Application Server 7
  2. AS7-258

ExistingConnectionRemoteProxyControllerTest periodically freezes during build on Windows

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Minor
    • Resolution: Out of Date
    • Affects Version/s: 7.0.0.Alpha1
    • Fix Version/s: 7.0.0.CR1
    • Component/s: Test Suite
    • Labels:
      None
    • Environment:

      Windows 7 64-bit

    • Steps to Reproduce:
      Hide

      1) Perform a build of AS7 using Maven: either mvn clean install or mvn install
      2) Occasionally, the build with freeze after an EOFException occurs while running the ExistingConnectionRemoteProxyControllerTest test.

      Show
      1) Perform a build of AS7 using Maven: either mvn clean install or mvn install 2) Occasionally, the build with freeze after an EOFException occurs while running the ExistingConnectionRemoteProxyControllerTest test.

      Description

      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)

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  kabirkhan Kabir Khan
                  Reporter:
                  jpearlin Jonathan Pearlin
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: