]
Ondrej Zizka commented on AS7-3701:
-----------------------------------
So far it seems that when assertions are enabled, the assertions make the response hang
and never get back to client, which makes it waiting indefinitely and eventually the tests
reaches timeout.
Deadlock in ServerImpl - inconsistent state
-------------------------------------------
Key: AS7-3701
URL:
https://issues.jboss.org/browse/AS7-3701
Project: Application Server 7
Issue Type: Bug
Affects Versions: 7.1.0.CR1b
Environment: Sun JDK 1.6.26
Linux 32-bit
Reporter: Ondrej Zizka
Assignee: Jason Greene
Attachments:
org.jboss.as.test.smoke.surefire.servermodule.HttpDeploymentUploadUnitTestCase-output-A.txt,
org.jboss.as.test.smoke.surefire.servermodule.HttpDeploymentUploadUnitTestCase-output.txt,
surefire.log
Server gets stuck when ServerImpl gets somehow into an inconsistent state, and fails
assertion in ServerImpl#responseCompleted().
See the attached files for details.
Reproducible in
org.jboss.as.test.smoke.surefire.servermodule.HttpDeploymentUploadUnitTestCase
using commit
https://github.com/OndraZizka/jboss-as/commit/115acf6c7c78cc8971c81861974...
{code}
18:16:53,776 INFO [org.jboss.as.repository] (management-handler-threads - 3) JBAS014900:
Content added at location
/home/ondra/work/AS7/ozizka-as7/testsuite/integration/smoke/target/jbossas/standalone/data/content/38/755f0faae6d5ee656ccc5b64c6492c95143256/content
18:16:53,778 INFO [org.jboss.as.server.deployment] (MSC service thread 1-2) JBAS015876:
Starting deployment of "please-the-arquillian-gods.jar"
18:16:53,788 INFO [org.jboss.as.server] (management-handler-threads - 3) JBAS018559:
Deployed "please-the-arquillian-gods.jar"
No resources for servermodule/test-http-deployment.sar
18:16:53,813 ERROR [stderr] (Thread-75) Exception in thread "Thread-75"
java.lang.AssertionError
18:16:53,813 ERROR [stderr] (Thread-75) at
org.jboss.sun.net.httpserver.ServerImpl.responseCompleted(ServerImpl.java:830)
18:16:53,814 ERROR [stderr] (Thread-75) at
org.jboss.sun.net.httpserver.ServerImpl$Dispatcher.handleEvent(ServerImpl.java:325)
18:16:53,814 ERROR [stderr] (Thread-75) at
org.jboss.sun.net.httpserver.ServerImpl$Dispatcher.run(ServerImpl.java:392)
18:16:53,814 ERROR [stderr] (Thread-75) at java.lang.Thread.run(Thread.java:662)
{code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: