Uploaded image for project: 'JBoss Enterprise Application Platform 4 and 5'
  1. JBoss Enterprise Application Platform 4 and 5
  2. JBPAPP-9828

Tests written for jbpapp-9326 fail intermittently((JVMShutdownHaltTestCase fail intermittently due to UnmarshalException) or cause build failure due to improper implementation due to ServerShutdownException

    XMLWordPrintable

Details

    • Bug
    • Resolution: Obsolete
    • Major
    • EAP_EWP 5.2.0 ER1, EAP_EWP 5.2.0 ER2, EAP_EWP 5.3.0.ER3
    • Testsuite
    • None
    • NEW

    Description

      tests-jbpapp9326: fails abruptly on IBM JDK due to ServerShutdownException

      https://jenkins.mw.lab.eng.bos.redhat.com/hudson/view/EAP5/view/AS-TestSuite/job/eap-5.2.x-JDK6-RHEL6-matrix/jdk=ibm16,label=RHEL6_x86/lastCompletedBuild/consoleText

      [server:start] Server started.
      [echo] Starting patternset=jbpapp9326.includes-1 config=
      [junit] Running org.jboss.test.jmx.test.JVMShutdownShutdownTestCase
      [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 11.794 sec

      BUILD FAILED
      /mnt/hudson_workspace/workspace/eap-5.2.x-JDK6-RHEL6-matrix/jdk/ibm16/label/RHEL6_x86/jboss-eap-5.2-src/jboss-as/testsuite/build.xml:1748: The following error occurred while executing this line:
      /mnt/hudson_workspace/workspace/eap-5.2.x-JDK6-RHEL6-matrix/jdk/ibm16/label/RHEL6_x86/jboss-eap-5.2-src/jboss-as/testsuite/imports/config/tests-jbpapp9326.xml:42: java.lang.IllegalArgumentException: The jbpapp9326 server is already running.

      Total time: 524 minutes 49 seconds
      Testsuite shutdown hook found server "jbpapp9326" still running; stopping it.
      Shutting down server: jbpapp9326
      Writing server thread dump to /mnt/hudson_workspace/workspace/eap-5.2.x-JDK6-RHEL6-matrix/jdk/ibm16/label/RHEL6_x86/jboss-eap-5.2-src/jboss-as/build/output/jboss-5.2.0/server/jbpapp9326/log/threadDump.log
      Failed to shutdown server "jbpapp9326". Destroying the process.
      Testsuite shutdown hook failed to stop server(s) on shutdown.
      org.jboss.jbossas.servermanager.ServerShutdownException: Failed to shutdown server.Process was destroyed.
      at org.jboss.jbossas.servermanager.ServerController.stopServer(ServerController.java:446)
      at org.jboss.jbossas.servermanager.ServerManager$1.run(ServerManager.java:80)
      Caused by: javax.naming.NameNotFoundException: RMIAdaptor not bound
      at java.lang.Throwable.<init>(Throwable.java:67)
      at javax.naming.NamingException.<init>(NamingException.java:98)

      JVMShutdownHaltTestCase testcase fails frequently(mostly passes on RHEl5 but fails on RHEl6) with following stacktrace:

      Stacktrace

      java.lang.reflect.UndeclaredThrowableException
      at $Proxy2.halt(Unknown Source)
      at org.jboss.test.jmx.test.JVMShutdownHaltTestCase.testHalt(JVMShutdownHaltTestCase.java:64)
      Caused by: 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 org.jboss.invocation.jrmp.server.JRMPInvoker_Stub.invoke(Unknown Source)
      at org.jboss.invocation.jrmp.interfaces.JRMPInvokerProxy.invoke(JRMPInvokerProxy.java:133)
      at org.jboss.invocation.InvokerInterceptor.invokeInvoker(InvokerInterceptor.java:416)
      at org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:248)
      at org.jboss.jmx.connector.invoker.client.InvokerAdaptorClientInterceptor.invoke(InvokerAdaptorClientInterceptor.java:66)
      at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:68)
      at org.jboss.proxy.ClientMethodInterceptor.invoke(ClientMethodInterceptor.java:74)
      at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:101)
      at $Proxy1.invoke(Unknown Source)
      at org.jboss.test.jmx.test.ServerProxyHandler.invoke(ServerProxyHandler.java:57)
      Caused by: java.io.EOFException
      at java.io.DataInputStream.readByte(DataInputStream.java:250)
      at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:195)

      Attachments

        Issue Links

          Activity

            People

              jboss-set_jira JBoss SET
              madhumita12_jira Madhumita Sadhukhan (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: