Bug 1117821
| Summary: | [QE] (6.3.0) Intermittent fail of org.jboss.as.test.manualmode.web.ssl.HTTPSWebConnectorTestCase due to connection refused | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [JBoss] JBoss Enterprise Application Platform 6 | Reporter: | Pavel Jelinek <pjelinek> | ||||||||
| Component: | Web | Assignee: | Emmanuel Hugonnet (ehsavoie) <ehugonne> | ||||||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Pavel Jelinek <pjelinek> | ||||||||
| Severity: | high | Docs Contact: | |||||||||
| Priority: | unspecified | ||||||||||
| Version: | 6.3.0 | CC: | cdewolf, dosoudil, fbogyai, jason.greene, jcacek, kkhan, mbabacek, ozizka, pslavice, rhatlapa, rmaucher | ||||||||
| Target Milestone: | ER10 | Keywords: | Regression | ||||||||
| Target Release: | EAP 6.3.0 | ||||||||||
| Hardware: | Unspecified | ||||||||||
| OS: | Unspecified | ||||||||||
| Whiteboard: | |||||||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||||||
| Doc Text: | Story Points: | --- | |||||||||
| Clone Of: | Environment: | ||||||||||
| Last Closed: | 2014-08-06 14:39:55 UTC | Type: | Bug | ||||||||
| Regression: | --- | Mount Type: | --- | ||||||||
| Documentation: | --- | CRM: | |||||||||
| Verified Versions: | Category: | --- | |||||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||||
| Embargoed: | |||||||||||
| Attachments: |
|
||||||||||
|
Description
Pavel Jelinek
2014-07-09 12:57:45 UTC
Kabir, I think it could be related to the new commit related to default cipher suites in ER9: https://github.com/jbossas/jboss-eap/commit/ace8bf98962180b1a4c879edbf8073d538fb90a2 Could you have a look? Attached server log contains: 05:28:34,537 WARN [org.apache.tomcat.util.net.jsse] (MSC service thread 1-3) JBWEB009002: Unknown element: eNULL 05:28:34,537 WARN [org.apache.tomcat.util.net.jsse] (MSC service thread 1-12) JBWEB009002: Unknown element: eNULL 05:28:34,536 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-6) MSC000001: Failed to start service jboss.web.connector.https-verify-true: org.jboss.msc.service.StartException in service jboss.web.connector.https-verify-true: JBAS018007: Error starting web connector at org.jboss.as.web.WebConnectorService.start(WebConnectorService.java:376) at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1980) [jboss-msc-1.1.5.Final-redhat-1.jar:1.1.5.Final-redhat-1] at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1913) [jboss-msc-1.1.5.Final-redhat-1.jar:1.1.5.Final-redhat-1] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895) [rt.jar:1.6.0_45] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918) [rt.jar:1.6.0_45] at java.lang.Thread.run(Thread.java:662) [rt.jar:1.6.0_45] Caused by: LifecycleException: JBWEB000023: Protocol handler initialization failed at org.apache.catalina.connector.Connector.init(Connector.java:987) at org.jboss.as.web.WebConnectorService.start(WebConnectorService.java:318) ... 5 more I have tried run this test several times from ER9 source against ER7 and ER9 bits. When running against ER7 bits it didn't occure. See: https://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/eap-6x-as-testsuite-RHEL-matrix-OracleJDK6-HTTPSWebConnectorTestCase/ When running against ER9 bits it occured in 25% cases. See: https://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/eap-6x-as-testsuite-RHEL-matrix-OracleJDK6-HTTPSWebConnectorTestCase-ER9bits/ Created attachment 917082 [details]
Patch that seems to be fixing the issue
synchronizing to avoid multiple calls to the init method.
Created attachment 917098 [details]
simple_reproducer_start-stop_script
The reproducer script [1] is a very simple one, the issue seems to be best hit on a multiprocessor system [2] with quite slow execution while having multiple https connectors configured. Some additional exceptions produced by the script [3]. What the script does: 1. it expects the EAP is running 2. access https connectors 3. shutdown 4. start 5. goto 2. [1] attachment 917098 [details] [2] i.e. RHEL6.5 x86_64 KVM virtualized, 1 CPU: 0 hits in an hour, 2 CPUs: several hits in ~40 minutes, Oracle JDK 1.6.0_45. [3] http://pastebin.test.redhat.com/220733 Committed as r2474. When running this single test on dev106.mw.lab.eng.bos.redhat.com it fails in cca 80% cases. With jbossweb.jar which Emmanuel sent me this test passed all 5 consequential runs. To clarify: with original jbossweb the test had failed in 80% cases on that machine. With the new jbossweb sent by Emmanuel the test didn't fail any more. I didn't run all regression tests with this fix. I ran just this single testcase many times on this dev106.mw.lab.eng.bos.redhat.com. Added the fix from Comment #5, built as 7.4.8.Final-redhat-4. MEAD build: https://brewweb.devel.redhat.com/buildinfo?buildID=369101 RPM6 wrapper: https://brewweb.devel.redhat.com/buildinfo?buildID=369103 RPM5 wrapper: https://brewweb.devel.redhat.com/buildinfo?buildID=369104 RPM7 wrapper: https://brewweb.devel.redhat.com/buildinfo?buildID=369107 PR: https://github.com/jbossas/jboss-eap/pull/1513 Fixed in EAP 6.3.0.ER10. |