Bug 1099876 - [QE] (6.2.x) org.jboss.as.test.integration.domain.management.cli.DomainDeployWithRuntimeNameTestCase fails on IBMJDK 1.6
Summary: [QE] (6.2.x) org.jboss.as.test.integration.domain.management.cli.DomainDeploy...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss Enterprise Application Platform 6
Classification: JBoss
Component: Testsuite
Version: 6.2.1,6.2.2,6.2.3
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: CR1
: EAP 6.2.4
Assignee: Emmanuel Hugonnet (ehsavoie)
QA Contact: Pavel Jelinek
URL:
Whiteboard:
Depends On: 1100197 1100223
Blocks: eap62-cp04-blockers 1099440
TreeView+ depends on / blocked
 
Reported: 2014-05-21 11:52 UTC by Pavel Jelinek
Modified: 2014-08-07 12:12 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 1100197 1100223 (view as bug list)
Environment:
Last Closed: 2014-08-07 12:12:19 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker JBQA-9996 0 Major Open org.jboss.as.test.integration.domain.management.cli.DomainDeployWithRuntimeNameTestCase fails on IBMJDK 1.6 2016-09-23 23:15:59 UTC
Red Hat Issue Tracker WFLY-3392 0 Trivial Resolved Make the test suite more robust for DomainDeployWithRuntimeNameTestCase 2016-09-23 23:15:59 UTC

Description Pavel Jelinek 2014-05-21 11:52:47 UTC
See: https://jenkins.mw.lab.eng.bos.redhat.com/hudson/view/EAP6/view/EAP-6.2.x-CP/view/EAP-6.2.x-CP-jobs/job/eap-62x-patched-as-testsuite-RHEL-matrix-IBMJDK6/jdk=ibm16,label_exp=RHEL5%26%26x86/27/testReport/org.jboss.as.test.integration.domain.management.cli/DomainDeployWithRuntimeNameTestCase/

testDeployWithSameRuntimeNameOnSameServerGroup Stacktrace

java.lang.Exception: Http request failed.
	at org.jboss.as.test.integration.domain.management.cli.DomainDeployWithRuntimeNameTestCase.checkURL(DomainDeployWithRuntimeNameTestCase.java:165)
	at org.jboss.as.test.integration.domain.management.cli.DomainDeployWithRuntimeNameTestCase.testDeployWithSameRuntimeNameOnSameServerGroup(DomainDeployWithRuntimeNameTestCase.java:93)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
	at java.lang.reflect.Method.invoke(Method.java:611)
	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
	at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
	at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
	at org.junit.runners.Suite.runChild(Suite.java:127)
	at org.junit.runners.Suite.runChild(Suite.java:26)
	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
	at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
	at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:234)
	at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:133)
	at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:114)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
	at java.lang.reflect.Method.invoke(Method.java:611)
	at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:188)
	at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:166)
	at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:86)
	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:101)
	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:74)
Caused by: java.io.IOException: java.util.concurrent.ExecutionException: java.net.ConnectException: Connection refused
	at org.jboss.as.test.integration.common.HttpRequest.execute(HttpRequest.java:59)
	at org.jboss.as.test.integration.common.HttpRequest.get(HttpRequest.java:80)
	at org.jboss.as.test.integration.domain.management.cli.DomainDeployWithRuntimeNameTestCase.checkURL(DomainDeployWithRuntimeNameTestCase.java:160)
	... 43 more
Caused by: java.util.concurrent.ExecutionException: java.net.ConnectException: Connection refused
	at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:243)
	at java.util.concurrent.FutureTask.get(FutureTask.java:102)
	at org.jboss.as.test.integration.common.HttpRequest.execute(HttpRequest.java:50)
	... 45 more
Caused by: java.net.ConnectException: Connection refused
	at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:412)
	at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:271)
	at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:258)
	at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:376)
	at java.net.Socket.connect(Socket.java:546)
	at java.net.Socket.connect(Socket.java:495)
	at sun.net.NetworkClient.doConnect(NetworkClient.java:175)
	at sun.net.www.http.HttpClient.openServer(HttpClient.java:437)
	at sun.net.www.http.HttpClient.openServer(HttpClient.java:551)
	at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:797)
	at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:665)
	at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1230)
	at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:390)
	at org.jboss.as.test.integration.common.HttpRequest.processResponse(HttpRequest.java:150)
	at org.jboss.as.test.integration.common.HttpRequest.access$000(HttpRequest.java:44)
	at org.jboss.as.test.integration.common.HttpRequest$1.call(HttpRequest.java:77)
	at org.jboss.as.test.integration.common.HttpRequest$1.call(HttpRequest.java:72)
	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:314)
	at java.util.concurrent.FutureTask.run(FutureTask.java:149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:906)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:929)
	at java.lang.Thread.run(Thread.java:761)
Standard Output

[Host Controller] 11:56:51,799 INFO  [org.jboss.as.host.controller] (management-handler-thread - 1) JBAS010923: Stopping server test-one
11:56:51,800 INFO  [org.jboss.as.process.Server:test-one.status] (ProcessController-threads - 3) JBAS012018: Stopping process 'Server:test-one'
[Server:test-one] 11:56:51,804 INFO  [org.jboss.as.connector.deployment] (MSC service thread 1-15) JBAS010410: Unbound JCA ConnectionFactory [java:/JmsXA]
[Server:test-one] 11:56:51,804 INFO  [org.apache.coyote.http11] (MSC service thread 1-6) JBWEB003075: Coyote HTTP/1.1 pausing on: http-/10.16.92.131:8780
[Server:test-one] 11:56:51,805 INFO  [org.apache.coyote.http11] (MSC service thread 1-6) JBWEB003077: Coyote HTTP/1.1 stopping on : http-/10.16.92.131:8780
[Server:test-one] 11:56:51,808 INFO  [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-7) JBAS010409: Unbound data source [java:jboss/datasources/ExampleDS]
[Server:test-one] 11:56:51,809 INFO  [org.jboss.modcluster] (ServerService Thread Pool -- 14) MODCLUSTER000002: Initiating mod_cluster shutdown
[Server:test-one] 11:56:51,809 INFO  [org.jboss.jaxr] (MSC service thread 1-4) JBAS014002: UnBinding JAXR ConnectionFactory: java:jboss/jaxr/ConnectionFactory
[Server:test-one] 11:56:51,812 INFO  [org.jboss.as.messaging] (ServerService Thread Pool -- 4) JBAS011605: Unbound messaging object to jndi name java:/RemoteConnectionFactory
[Server:test-one] 11:56:51,813 INFO  [org.apache.coyote.ajp] (MSC service thread 1-3) JBWEB003048: Pausing Coyote AJP/1.3 on ajp-/10.16.92.131:8709
[Server:test-one] 11:56:51,813 INFO  [org.apache.coyote.ajp] (MSC service thread 1-3) JBWEB003051: Stopping Coyote AJP/1.3 on ajp-/10.16.92.131:8709
[Server:test-one] 11:56:51,823 INFO  [org.hornetq.ra] (ServerService Thread Pool -- 1) HQ151003: HornetQ resource adaptor stopped
[Server:test-one] 11:56:51,824 INFO  [com.arjuna.ats.jbossatx] (MSC service thread 1-15) ARJUNA032018: Destroying TransactionManagerService
[Server:test-one] 11:56:51,825 INFO  [com.arjuna.ats.jbossatx] (MSC service thread 1-15) ARJUNA032014: Stopping transaction recovery manager
[Server:test-one] 11:56:51,868 INFO  [org.hornetq.core.server] (ServerService Thread Pool -- 1) HQ221002: HornetQ Server version 2.3.14.Final (2.3.14.1 (Branch 2.3.eap6_2), 123) [ab8ef757-dd12-11e3-8ebe-8f233980e7d4] stopped
[Host Controller] 11:56:51,869 INFO  [org.jboss.as.host.controller] (Remoting "dev114:MANAGEMENT" task-2) JBAS010926: Unregistering server test-one
[Server:test-one] 11:56:51,881 INFO  [org.jboss.as] (MSC service thread 1-14) JBAS015950: JBoss EAP 6.2.3.GA (AS 7.3.3.Final-redhat-3) stopped in 71ms
11:56:51,891 INFO  [org.jboss.as.process.Server:test-one.status] (reaper for Server:test-one) JBAS012010: Process 'Server:test-one' finished with an exit status of 0
[Host Controller] 11:56:51,932 INFO  [org.jboss.as.host.controller] (ProcessControllerConnection-thread - 2) JBAS010926: Unregistering server test-one
ERROR [org.jboss.as.cli.CommandContext] {
    "outcome" => "success",
    "result" => "STOPPED"
}
ERROR [org.jboss.as.cli.CommandContext] {
    "outcome" => "success",
    "result" => "STOPPED"
}
[Host Controller] 11:56:51,976 INFO  [org.jboss.as.host.controller] (management-handler-thread - 1) JBAS010923: Stopping server main-two
11:56:52,016 INFO  [org.jboss.as.process.Server:main-two.status] (ProcessController-threads - 3) JBAS012018: Stopping process 'Server:main-two'
[Server:main-two] 11:56:52,021 INFO  [org.apache.coyote.http11] (MSC service thread 1-13) JBWEB003075: Coyote HTTP/1.1 pausing on: http-/10.16.92.131:8230
[Server:main-two] 11:56:52,021 INFO  [org.apache.coyote.http11] (MSC service thread 1-13) JBWEB003077: Coyote HTTP/1.1 stopping on : http-/10.16.92.131:8230
[Server:main-two] 11:56:52,023 INFO  [org.jboss.as.connector.deployment] (MSC service thread 1-5) JBAS010410: Unbound JCA ConnectionFactory [java:/JmsXA]
[Server:main-two] 11:56:52,024 INFO  [org.jboss.modcluster] (ServerService Thread Pool -- 25) MODCLUSTER000002: Initiating mod_cluster shutdown
[Server:main-two] 11:56:52,025 INFO  [org.jboss.jaxr] (MSC service thread 1-9) JBAS014002: UnBinding JAXR ConnectionFactory: java:jboss/jaxr/ConnectionFactory
[Server:main-two] 11:56:52,025 INFO  [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-3) JBAS010409: Unbound data source [java:jboss/datasources/ExampleDS]
[Server:main-two] 11:56:52,027 INFO  [org.apache.coyote.ajp] (MSC service thread 1-15) JBWEB003048: Pausing Coyote AJP/1.3 on ajp-/10.16.92.131:8159
[Server:main-two] 11:56:52,027 INFO  [org.apache.coyote.ajp] (MSC service thread 1-15) JBWEB003051: Stopping Coyote AJP/1.3 on ajp-/10.16.92.131:8159
[Server:main-two] 11:56:52,029 INFO  [org.jboss.as.messaging] (ServerService Thread Pool -- 9) JBAS011605: Unbound messaging object to jndi name java:/RemoteConnectionFactory
[Server:main-two] 11:56:52,042 INFO  [org.hornetq.ra] (ServerService Thread Pool -- 9) HQ151003: HornetQ resource adaptor stopped
[Server:main-two] 11:56:52,043 INFO  [com.arjuna.ats.jbossatx] (MSC service thread 1-8) ARJUNA032018: Destroying TransactionManagerService
[Server:main-two] 11:56:52,044 INFO  [com.arjuna.ats.jbossatx] (MSC service thread 1-8) ARJUNA032014: Stopping transaction recovery manager
[Server:main-two] 11:56:52,102 INFO  [org.hornetq.core.server] (ServerService Thread Pool -- 9) HQ221002: HornetQ Server version 2.3.14.Final (2.3.14.1 (Branch 2.3.eap6_2), 123) [a8f33e33-dd12-11e3-ba0d-f71e6d9b3f29] stopped
[Host Controller] 11:56:52,104 INFO  [org.jboss.as.host.controller] (Remoting "dev114:MANAGEMENT" task-1) JBAS010926: Unregistering server main-two
[Server:main-two] 11:56:52,115 INFO  [org.jboss.as] (MSC service thread 1-8) JBAS015950: JBoss EAP 6.2.3.GA (AS 7.3.3.Final-redhat-3) stopped in 88ms
11:56:52,124 INFO  [org.jboss.as.process.Server:main-two.status] (reaper for Server:main-two) JBAS012010: Process 'Server:main-two' finished with an exit status of 0
[Host Controller] 11:56:52,165 INFO  [org.jboss.as.host.controller] (ProcessControllerConnection-thread - 2) JBAS010926: Unregistering server main-two
ERROR [org.jboss.as.cli.CommandContext] {
    "outcome" => "success",
    "result" => "STOPPED"
}
ERROR [org.jboss.as.cli.CommandContext] {
    "outcome" => "success",
    "result" => "DISABLED"
}
[Host Controller] 11:56:52,283 INFO  [org.jboss.as.repository] (management-handler-thread - 4) JBAS014900: Content added at location /mnt/hudson_workspace/workspace/eap-62x-patched-as-testsuite-RHEL-matrix-IBMJDK6/57f0f8f5/jboss-eap-6.2-src/testsuite/domain/target/domains/CLITestSuite/master/data/content/b2/2fbccfe5d296841f781b6e581948baf603e34b/content
[Host Controller] 11:56:52,615 INFO  [org.jboss.as.repository] (management-handler-thread - 2) JBAS014901: Content removed from location /mnt/hudson_workspace/workspace/eap-62x-patched-as-testsuite-RHEL-matrix-IBMJDK6/57f0f8f5/jboss-eap-6.2-src/testsuite/domain/target/domains/CLITestSuite/master/data/content/b2/2fbccfe5d296841f781b6e581948baf603e34b/content
ERROR [org.jboss.as.cli.CommandContext] Undeploy failed: {"JBAS014653: Composite operation failed and was rolled back. Steps that failed:" => {"Operation step-1" => "JBAS014807: Management resource '[(\"deployment\" => \"simple2\")]' not found"}}

Comment 1 Emmanuel Hugonnet (ehsavoie) 2014-05-22 08:10:06 UTC
This is due to a different ordering of the server groups with the IBM vm.

Comment 2 Emmanuel Hugonnet (ehsavoie) 2014-05-22 12:45:45 UTC
PR: https://github.com/jbossas/jboss-eap/pull/1358

Comment 3 Pavel Jelinek 2014-06-19 10:58:38 UTC
rified for EAP 6.2.4.CP.CR1.


Note You need to log in before you can comment on or make changes to this bug.