Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 900205 (JBPAPP6-912)

Summary: CLITestSuite and DomainTestSuite hangs consistently on IBM JDK due to Server instance already running(Address already in use)
Product: [JBoss] JBoss Enterprise Application Platform 6 Reporter: Madhumita Sadhukhan <msadhukh>
Component: TestsuiteAssignee: Madhumita Sadhukhan <msadhukh>
Status: CLOSED WORKSFORME QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: 6.0.0CC: brian.stansberry, dpospisi, msadhukh, pslavice
Target Milestone: ---   
Target Release: EAP 6.0.1   
Hardware: Unspecified   
OS: Unspecified   
URL: http://jira.jboss.org/jira/browse/JBPAPP6-912
Whiteboard: as713tracking
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-09-05 18:43:04 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:
Bug Depends On:    
Bug Blocks: 900553    

Description Madhumita Sadhukhan 2012-04-13 12:14:53 UTC
project_key: JBPAPP6

As discussed I found that build is aborted after tests in Domain testsuite get strangled on IBM JDK:

https://hudson.qa.jboss.com/hudson/view/EAP6/view/EAP6-AS-Testsuite/job/eap-60-as-testsuite-RHEL6-zipbuiltonoracleJDK6_testrunIBMJDK16/9/

Stacktrace:

 MSC000001: Failed to start service jboss.remoting.server.management: org.jboss.msc.service.StartException in service jboss.remoting.server.management: JBAS017112: Address already in use /10.16.94.42:9999
	at org.jboss.as.remoting.AbstractStreamServerService.start(AbstractStreamServerService.java:109) [jboss-as-remoting-7.1.1.Final-redhat-1.jar:7.1.1.Final-redhat-1]
	at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA-redhat-1.jar:1.0.2.GA-redhat-1]
	at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA-redhat-1.jar:1.0.2.GA-redhat-1]
	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:897) [rt.jar:1.6.0]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:919) [rt.jar:1.6.0]
	at java.lang.Thread.run(Thread.java:736) [vm.jar:1.6.0]
Caused by: java.net.BindException: Address already in use
	at sun.nio.ch.Net.bind(Native Method) [rt.jar:1.6.0]
	at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:149) [rt.jar:1.6.0]
	at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:71) [rt.jar:1.6.0]
	at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:64) [rt.jar:1.6.0]
	at org.xnio.nio.NioXnioWorker.createTcpServer(NioXnioWorker.java:287)
	at org.xnio.XnioWorker.createStreamServer(XnioWorker.java:135) [xnio-api-3.0.3.GA-redhat-1.jar:3.0.3.GA-redhat-1]
	at org.jboss.remoting3.remote.RemoteConnectionProvider$ProviderInterface.createServer(RemoteConnectionProvider.java:209) [jboss-remoting-3.2.4.GA-redhat-1.jar:3.2.4.GA-redhat-1]
	at org.jboss.as.remoting.AbstractStreamServerService.start(AbstractStreamServerService.java:101) [jboss-as-remoting-7.1.1.Final-redhat-1.jar:7.1.1.Final-redhat-1]
	... 5 more

09:44:16,368 INFO  [org.jboss.as.controller] (Controller Boot Thread) JBAS014774: Service status report
JBAS014777:   Services which failed to start:      service jboss.remoting.server.management: org.jboss.msc.service.StartException in service jboss.remoting.server.management: JBAS017112: Address already in use /10.16.94.42:9999

Comment 1 Madhumita Sadhukhan 2012-04-15 18:06:32 UTC
Link: Added: This issue relates to JBPAPP-8368


Comment 2 Ondřej Žižka 2012-04-24 16:55:56 UTC
Could you please get the IBM JDK from eng-ops as we discussed?

Comment 3 Madhumita Sadhukhan 2012-04-25 08:15:15 UTC
Hi Ondra,

          I already discussed with you that eng-ops do not have the zip they used for installation.You could use the installed jdk present in qa lab which i am using for running tests.

As for installaing it on local fedora machines I have tried with the zip downloaded from IBM website and the zip seem to be hanging during "launching installation"


Comment 4 Rajesh Rajasekaran 2012-04-25 22:25:51 UTC
Dominik might have been the author for some of these tests. Assigning to Dominik to see if he can help.

Comment 5 Rajesh Rajasekaran 2012-04-25 22:31:19 UTC
Link: Added: This issue is a dependency of JBPAPP-8827


Comment 6 Rajesh Rajasekaran 2012-04-25 23:13:49 UTC
Link: Added: This issue is related to JBPAPP-7965


Comment 7 Rajesh Rajasekaran 2012-04-25 23:13:53 UTC
Link: Removed: This issue is a dependency of JBPAPP-8827 


Comment 8 Dominik Pospisil 2012-04-26 07:49:52 UTC
The above URL does not work for me. Could you please provide valid URL with failed test logs?

Comment 9 Madhumita Sadhukhan 2012-04-29 19:17:50 UTC
Latest link with EAP 6 ER6:
http://hudson.qa.jboss.com/hudson/view/EAP6/view/EAP6-AS-Testsuite/job/eap-60-as-testsuite-RHEL6-zipbuiltonoracleJDK6_testrunIBMJDK16/28/consoleText

Stacktrace:

14:18:39,834 INFO  [org.jboss.modules] (main) JBoss Modules version 1.1.1.GA-redhat-1
14:18:40,231 INFO  [org.jboss.msc] (main) JBoss MSC version 1.0.2.GA-redhat-1
14:18:40,408 INFO  [org.jboss.as] (MSC service thread 1-3) JBAS015899: JBoss EAP 6.0.0.Beta2 (AS 7.1.1.Final-redhat-1) starting
14:18:41,729 INFO  [org.xnio] (MSC service thread 1-3) XNIO Version 3.0.3.GA-redhat-1
14:18:41,751 INFO  [org.jboss.as] (Controller Boot Thread) JBAS010902: Creating http management service using network interface (management) port (9990) securePort (-1)
14:18:41,776 INFO  [org.xnio.nio] (MSC service thread 1-3) XNIO NIO Implementation Version 3.0.3.GA-redhat-1
14:18:41,795 INFO  [org.jboss.remoting] (MSC service thread 1-3) JBoss Remoting version 3.2.4.GA-redhat-1
14:18:41,943 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-6) MSC000001: Failed to start service jboss.remoting.server.management: org.jboss.msc.service.StartException in service jboss.remoting.server.management: JBAS017112: Address already in use /10.16.93.33:9999
	at org.jboss.as.remoting.AbstractStreamServerService.start(AbstractStreamServerService.java:109) [jboss-as-remoting-7.1.1.Final-redhat-1.jar:7.1.1.Final-redhat-1]
	at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA-redhat-1.jar:1.0.2.GA-redhat-1]
	at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA-redhat-1.jar:1.0.2.GA-redhat-1]
	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:897) [rt.jar:1.6.0]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:919) [rt.jar:1.6.0]
	at java.lang.Thread.run(Thread.java:736) [vm.jar:1.6.0]
Caused by: java.net.BindException: Address already in use
	at sun.nio.ch.Net.bind(Native Method) [rt.jar:1.6.0]
	at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:149) [rt.jar:1.6.0]
	at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:71) [rt.jar:1.6.0]
	at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:64) [rt.jar:1.6.0]
	at org.xnio.nio.NioXnioWorker.createTcpServer(NioXnioWorker.java:287)
	at org.xnio.XnioWorker.createStreamServer(XnioWorker.java:135) [xnio-api-3.0.3.GA-redhat-1.jar:3.0.3.GA-redhat-1]
	at org.jboss.remoting3.remote.RemoteConnectionProvider$ProviderInterface.createServer(RemoteConnectionProvider.java:209) [jboss-remoting-3.2.4.GA-redhat-1.jar:3.2.4.GA-redhat-1]
	at org.jboss.as.remoting.AbstractStreamServerService.start(AbstractStreamServerService.java:101) [jboss-as-remoting-7.1.1.Final-redhat-1.jar:7.1.1.Final-redhat-1]
	... 5 more

14:18:42,063 INFO  [org.jboss.as.controller] (Controller Boot Thread) JBAS014774: Service status report
JBAS014777:   Services which failed to start:      service jboss.remoting.server.management: org.jboss.msc.service.StartException in service jboss.remoting.server.management: JBAS017112: Address already in use /10.16.93.33:9999

14:18:42,071 FATAL [org.jboss.as.host.controller] (Controller Boot Thread) JBAS010933: Host Controller boot has failed in an unrecoverable manner; exiting. See previous messages for details.
14:18:42,098 INFO  [org.jboss.as] (MSC service thread 1-4) JBAS015950: JBoss EAP 6.0.0.Beta2 (AS 7.1.1.Final-redhat-1) stopped in 16ms


Comment 10 Dominik Pospisil 2012-05-04 09:52:12 UTC
The above build did not even get to CLITestSuite and DomainTestSuite. The problem seems again that there are as processes left from previous modules. This is however unrelated to both CLITestSuite and DomainTestSuite.

Comment 11 Madhumita Sadhukhan 2012-05-04 10:06:02 UTC
Yes I see this hanging at different tests each time.i am trying to get a completed run with increasing timeout value.Will update issue once I have results(if any) else we need to wait for ER7 as with fix in JBPAPP-8555 we should now be able to both compile and run tests on IBM JDK instead of using pre compiled zip that might be cause of stale processes.

Comment 12 Dominik Pospisil 2012-05-18 13:12:38 UTC
Is this still an issue? Do you expect any help from my side?

Comment 13 Madhumita Sadhukhan 2012-05-18 13:24:16 UTC
Testing this is blocked by JBPAPP-9057...So cannot tell yet 

Comment 14 Shelly McGowan 2012-05-23 21:41:28 UTC
There are no code changes or test changes identified for this issue to be resolved in CR build.  Moving to 6.0.1.

Comment 15 Rajesh Rajasekaran 2012-05-30 18:19:59 UTC
Link: Added: This issue is a dependency of JBPAPP-9188


Comment 16 Rajesh Rajasekaran 2012-05-30 18:20:29 UTC
Link: Removed: This issue is related to JBPAPP-7965 


Comment 17 Brian Stansberry 2012-08-13 17:31:02 UTC
Nothing is being done for AS 7.1.3 specifically for this, as we don't know if it is still an issue.

Comment 18 Brian Stansberry 2012-08-14 19:12:51 UTC
Labels: Added: as713tracking


Comment 19 Anne-Louise Tangring 2012-11-13 20:07:47 UTC
Docs QE Status: Removed: NEW