]
Tom Jenkinson closed JBTM-2096.
-------------------------------
Resolution: Out of Date
ListServiceStatusTest.testListServiceStatusWithRunningServer: Command
failed
----------------------------------------------------------------------------
Key: JBTM-2096
URL:
https://issues.jboss.org/browse/JBTM-2096
Project: JBoss Transaction Manager
Issue Type: Bug
Components: BlackTie
Reporter: Gytis Trikleris
Priority: Minor
http://172.17.131.2/view/Narayana+BlackTie/job/narayana/423/PROFILE=BLACK...
{code}
Running org.jboss.narayana.blacktie.btadmin.ListServersStatusTest
[0m21:56:16,141 INFO [org.hornetq.core.server] (ServerService Thread Pool -- 89)
HQ221003: trying to deploy queue jms.queue.BTR_.testsui1
[0m[0m21:56:16,141 INFO [org.jboss.as.messaging] (ServerService Thread Pool -- 89)
JBAS011601: Bound messaging object to jndi name /queue/BTR_.testsui1
[0m[0m21:56:19,541 INFO [org.hornetq.core.server] (ServerService Thread Pool -- 89)
HQ221003: trying to deploy queue jms.queue.BTR_.testsui2
[0m[0m21:56:19,541 INFO [org.jboss.as.messaging] (ServerService Thread Pool -- 89)
JBAS011601: Bound messaging object to jndi name /queue/BTR_.testsui2
[0m[0m21:56:22,904 INFO [org.hornetq.core.server] (ServerService Thread Pool -- 89)
HQ221003: trying to deploy queue jms.queue.BTR_BAR
[0m[0m21:56:22,904 INFO [org.jboss.as.messaging] (ServerService Thread Pool -- 89)
JBAS011601: Bound messaging object to jndi name /queue/BTR_BAR
[0m[0m21:56:24,579 INFO [org.jboss.jbossts.star.resource.RESTRecord] (Periodic
Recovery) restore_state
http://127.0.0.1:8888/xid/131077%3a102%3a0%3a37%3a59%3a454518/terminate
[0m[0m21:56:24,683 INFO [org.jboss.jbossts.star.resource.RESTRecord] (Periodic
Recovery) restore_state
http://127.0.0.1:8888/xid/131077%3a102%3a0%3a39%3a0%3a471367/terminate
[0m[0m21:56:24,761 INFO [org.jboss.jbossts.star.resource.RESTRecord] (Periodic
Recovery) restore_state
http://127.0.0.1:8888/xid/131077%3a102%3a0%3a44%3a7%3a336519/terminate
[0m[0m21:56:24,847 INFO
[org.jboss.narayana.blacktie.administration.BlacktieAdminServiceXATMI] (Thread-38
(HornetQ-client-global-threads-26693153)) init PostConstruct
[0m[0m21:56:24,849 INFO
[org.jboss.narayana.blacktie.administration.core.AdministrationProxy] (Thread-38
(HornetQ-client-global-threads-26693153)) onConstruct load btconfig.xml
[0m[0m21:56:24,854 INFO [org.jboss.jbossts.star.resource.RESTRecord] (Periodic
Recovery) restore_state
http://127.0.0.1:8888/xid/131077%3a102%3a0%3a42%3a6%3a292860/terminate
[0m[0m21:56:31,591 INFO
[org.jboss.narayana.blacktie.jatmibroker.xatmi.BlackTieService] (Thread-39
(HornetQ-client-global-threads-26693153)) init PostConstruct
[0m[0m21:56:37,062 INFO [org.jboss.as.messaging] (ServerService Thread Pool -- 89)
JBAS011605: Unbound messaging object to jndi name java:/queue/BTR_BAR
[0m[0m21:56:37,243 INFO [org.jboss.as.messaging] (ServerService Thread Pool -- 89)
JBAS011605: Unbound messaging object to jndi name java:/queue/BTR_.testsui2
[0m[33m21:56:38,066 WARN [org.jboss.narayana.blacktie.administration.QueueReaperBean]
(EJB default - 8) undeploy service pending for .testsui1 as consumer count is 0, will
check again in 30000ms
[0m[0m21:56:39,278 INFO [org.jboss.as.messaging] (ServerService Thread Pool -- 89)
JBAS011605: Unbound messaging object to jndi name java:/queue/BTR_.testsui1
[0mTests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 30.62 sec
Running org.jboss.narayana.blacktie.btadmin.ListServiceStatusTest
[0m21:56:47,603 INFO [org.hornetq.core.server] (ServerService Thread Pool -- 89)
HQ221003: trying to deploy queue jms.queue.BTR_.testsui1
[0m[0m21:56:47,603 INFO [org.jboss.as.messaging] (ServerService Thread Pool -- 89)
JBAS011601: Bound messaging object to jndi name /queue/BTR_.testsui1
[0m[0m21:56:51,939 INFO [org.hornetq.core.server] (ServerService Thread Pool -- 89)
HQ221003: trying to deploy queue jms.queue.BTR_.testsui2
[0m[0m21:56:51,939 INFO [org.jboss.as.messaging] (ServerService Thread Pool -- 89)
JBAS011601: Bound messaging object to jndi name /queue/BTR_.testsui2
[0m[0m21:56:56,314 INFO [org.hornetq.core.server] (ServerService Thread Pool -- 89)
HQ221003: trying to deploy queue jms.queue.BTR_BAR
[0m[0m21:56:56,314 INFO [org.jboss.as.messaging] (ServerService Thread Pool -- 89)
JBAS011601: Bound messaging object to jndi name /queue/BTR_BAR
[0m[31m21:56:58,193 ERROR [stderr] (Thread-1015) Exception in thread
"Thread-1015" java.lang.ArrayIndexOutOfBoundsException: 1
[0m[31m21:56:58,193 ERROR [stderr] (Thread-1015) at
org.jboss.narayana.blacktie.jatmibroker.core.server.Client.run(SocketServer.java:268)
[0m[31m21:56:58,193 ERROR [stderr] (Thread-1015) at
java.lang.Thread.run(Thread.java:744)
[0m[31m21:56:58,210 ERROR [org.codehaus.stomp.tcp.TcpTransport] (StompConnect
Transport: tcp:///127.0.0.1:36306) Caught an exception: Connection reset:
java.net.SocketException: Connection reset
at java.net.SocketInputStream.read(SocketInputStream.java:196) [rt.jar:1.7.0_45]
at java.net.SocketInputStream.read(SocketInputStream.java:122) [rt.jar:1.7.0_45]
at java.net.SocketInputStream.read(SocketInputStream.java:210) [rt.jar:1.7.0_45]
at java.io.DataInputStream.readByte(DataInputStream.java:265) [rt.jar:1.7.0_45]
at org.codehaus.stomp.StompMarshaller.readLine(StompMarshaller.java:183)
[wildfly-blacktie-5.1.0.Alpha1-SNAPSHOT.jar:5.1.0.Alpha1-SNAPSHOT]
at org.codehaus.stomp.StompMarshaller.unmarshal(StompMarshaller.java:94)
[wildfly-blacktie-5.1.0.Alpha1-SNAPSHOT.jar:5.1.0.Alpha1-SNAPSHOT]
at org.codehaus.stomp.tcp.TcpTransport.run(TcpTransport.java:98)
[wildfly-blacktie-5.1.0.Alpha1-SNAPSHOT.jar:5.1.0.Alpha1-SNAPSHOT]
at java.lang.Thread.run(Thread.java:744) [rt.jar:1.7.0_45]
[0m[33m21:57:39,481 WARN [org.jboss.narayana.blacktie.administration.QueueReaperBean]
(EJB default - 9) undeploy service pending for .testsui1 as consumer count is 0, will
check again in 30000ms
[0m[31m21:57:46,601 ERROR
[org.jboss.narayana.blacktie.administration.core.AdministrationProxy] (Thread-39
(HornetQ-client-global-threads-26693153)) call server testsui id 1 command advertise,BAR,
failed with 13
[0m[33m21:57:46,603 WARN
[org.jboss.narayana.blacktie.administration.core.AdministrationProxy] (Thread-39
(HornetQ-client-global-threads-26693153)) Failed to advertise service: BAR at: testsui1
[0m[0m21:57:47,610 INFO [org.jboss.as.messaging] (ServerService Thread Pool -- 90)
JBAS011605: Unbound messaging object to jndi name java:/queue/BTR_BAR
[0m[0m21:57:49,481 INFO [org.jboss.as.messaging] (ServerService Thread Pool -- 90)
JBAS011605: Unbound messaging object to jndi name java:/queue/BTR_.testsui2
[0m[0m21:58:10,859 INFO [org.jboss.as.messaging] (ServerService Thread Pool -- 91)
JBAS011605: Unbound messaging object to jndi name java:/queue/BTR_.testsui1
[0m[33m21:58:10,989 WARN [org.jboss.narayana.blacktie.administration.QueueReaperBean]
(EJB default - 9) undeploy service .testsui1 for consumer is 0
[0mTests run: 5, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 110.906 sec
<<< FAILURE!
testListServiceStatusWithRunningServer(org.jboss.narayana.blacktie.btadmin.ListServiceStatusTest)
Time elapsed: 108.914 sec <<< FAILURE!
junit.framework.AssertionFailedError: Command failed
at junit.framework.Assert.fail(Assert.java:57)
at junit.framework.TestCase.fail(TestCase.java:227)
at
org.jboss.narayana.blacktie.btadmin.ListServiceStatusTest.testListServiceStatusWithRunningServer(ListServiceStatusTest.java:93)
{code}