[jboss-jira] [JBoss JIRA] Updated: (JBAS-5953) JBoss-AS-5.0.x-TestSuite-sun15-sun16 - org.jboss.test.jmx.test.UndeployBrokenPackageUnitTestCase

Shelly McGowan (JIRA) jira-events at lists.jboss.org
Fri Sep 12 16:39:21 EDT 2008


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

Shelly McGowan updated JBAS-5953:
---------------------------------


Looks like we are encountering a JDK bug which can crash the JVM as it did while I was testing.

After the initial deployment fails and an exception caught as expected, the good.jar is copied to the ejbredeploy.jar:

After the deployment fails, the good.jar is copied to ejbredeploy.jar:
          Files.copy(goodjar, thejar);


The issue seen is (full trace attached for future reference):

Stack: [0x7b80d000,0x7b85e000],  sp=0x7b85a1ac,  free space=308k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C  [libc.so.6+0x6e6ec]  memcpy+0x1c
C  [libzip.so+0xc0cd]  ZIP_GetNextEntry+0x5d
C  [libzip.so+0x3296]  Java_java_util_zip_ZipFile_getNextEntry+0x26
J  java.util.zip.ZipFile.getNextEntry(JI)J



I believe this issue is related to the test suite runs that intermittantly fail to complete as well.  I see in the logs:
   [junit] Running org.jboss.test.jmx.test.UndeployBrokenPackageUnitTestCase
    [junit] 	java.net.SocketException: Connection reset)
    [junit] 	java.net.ConnectException: Connection refused)
    [junit] Tests run: 3, Failures: 0, Errors: 2, Time elapsed: 1.614 sec
    [junit] Test org.jboss.test.jmx.test.UndeployBrokenPackageUnitTestCase FAILED

and the rest of the tests fail.  An attempt to shudown the all server results in:
 java.lang.IllegalArgumentException: The all is not running; it cannot be stopped.



> JBoss-AS-5.0.x-TestSuite-sun15-sun16 - org.jboss.test.jmx.test.UndeployBrokenPackageUnitTestCase
> ------------------------------------------------------------------------------------------------
>
>                 Key: JBAS-5953
>                 URL: https://jira.jboss.org/jira/browse/JBAS-5953
>             Project: JBoss Application Server
>          Issue Type: Sub-task
>      Security Level: Public(Everyone can see) 
>          Components: Test Suite
>            Reporter: Shelly McGowan
>            Assignee: Shelly McGowan
>             Fix For: JBossAS-5.0.0.GA
>
>
> testBadEjbRedeployment test fails when run with JDK 6.  
> After the bad jar is deployed and exception caught as expected, the redeploy doesn't happen with JDK 6.
> 2008-09-11 22:28:24,504 DEBUG [org.jboss.test.jmx.test.UndeployBrokenPackageUnitTestCase] ejbredeploy.jar is not a valid URL, no protocol: ejbredeploy.jar
> 2008-09-11 22:28:24,504 DEBUG [org.jboss.test.jmx.test.UndeployBrokenPackageUnitTestCase] Testing file: /NotBackedUp/smcgowan/trunk/testsuite/output/lib/ejbredeploy.jar
> 2008-09-11 22:28:24,504 DEBUG [org.jboss.test.jmx.test.UndeployBrokenPackageUnitTestCase] /NotBackedUp/smcgowan/trunk/testsuite/output/lib/ejbredeploy.jar is a valid file
> 2008-09-11 22:28:24,504 DEBUG [org.jboss.test.jmx.test.UndeployBrokenPackageUnitTestCase] Undeploying ejbredeploy.jar, url=file:/NotBackedUp/smcgowan//trunk/testsuite/output/lib/ejbredeploy.jar
> 2008-09-11 22:28:24,504 DEBUG [org.jboss.test.jmx.test.UndeployBrokenPackageUnitTestCase] Invoking jboss.system:service=MainDeployer method=undeploy
> 2008-09-11 22:28:24,504 DEBUG [org.jboss.test.jmx.test.UndeployBrokenPackageUnitTestCase] args=[file:/NotBackedUp/smcgowan/trunk/testsuite/output/lib/ejbredeploy.jar]
> Test output with JDK 5:
> 2008-09-11 23:28:57,897 INFO  [org.jboss.test.jmx.test.UndeployBrokenPackageUnitTestCase] Redeploying testPackage: ejbredeploy.jar
> 2008-09-11 23:28:57,897 DEBUG [org.jboss.test.jmx.test.UndeployBrokenPackageUnitTestCase] ejbredeploy.jar is not a valid URL, no protocol: ejbredeploy.jar
> 2008-09-11 23:28:57,897 DEBUG [org.jboss.test.jmx.test.UndeployBrokenPackageUnitTestCase] Testing file: /home/smcgowan2/workspace/trunk/testsuite/output/lib/ejbredeploy.jar
> 2008-09-11 23:28:57,897 DEBUG [org.jboss.test.jmx.test.UndeployBrokenPackageUnitTestCase] /home/smcgowan2/workspace/trunk/testsuite/output/lib/ejbredeploy.jar is a valid file
> 2008-09-11 23:28:57,897 DEBUG [org.jboss.test.jmx.test.UndeployBrokenPackageUnitTestCase] Deploying ejbredeploy.jar, url=file:/home/smcgowan2/workspace/trunk/testsuite/output/lib/ejbredeploy.jar
> 2008-09-11 23:28:57,897 DEBUG [org.jboss.test.jmx.test.UndeployBrokenPackageUnitTestCase] Invoking jboss.system:service=MainDeployer method=redeploy
> 2008-09-11 23:28:57,898 DEBUG [org.jboss.test.jmx.test.UndeployBrokenPackageUnitTestCase] args=[file:/home/smcgowan2/workspace/trunk/testsuite/output/lib/ejbredeploy.jar]
> 2008-09-11 23:28:58,632 INFO  [org.jboss.test.jmx.test.UndeployBrokenPackageUnitTestCase] Found EntityA home
> 2008-09-11 23:28:58,632 DEBUG [org.jboss.test.jmx.test.UndeployBrokenPackageUnitTestCase] ejbredeploy.jar is not a valid URL, no protocol: ejbredeploy.jar
> 2008-09-11 23:28:58,633 DEBUG [org.jboss.test.jmx.test.UndeployBrokenPackageUnitTestCase] Testing file: /home/smcgowan2/workspace/trunk/testsuite/output/lib/ejbredeploy.jar
> 2008-09-11 23:28:58,633 DEBUG [org.jboss.test.jmx.test.UndeployBrokenPackageUnitTestCase] /home/smcgowan2/workspace/trunk/testsuite/output/lib/ejbredeploy.jar is a valid file
> 2008-09-11 23:28:58,633 DEBUG [org.jboss.test.jmx.test.UndeployBrokenPackageUnitTestCase] Undeploying ejbredeploy.jar, url=file:/home/smcgowan2/workspace/trunk/testsuite/output/lib/ejbredeploy.jar
> 2008-09-11 23:28:58,633 DEBUG [org.jboss.test.jmx.test.UndeployBrokenPackageUnitTestCase] Invoking jboss.system:service=MainDeployer method=undeploy
> 2008-09-11 23:28:58,633 DEBUG [org.jboss.test.jmx.test.UndeployBrokenPackageUnitTestCase] args=[file:/home/smcgowan2/workspace/trunk/testsuite/output/lib/ejbredeploy.jar] 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list