Uploaded image for project: 'JBoss Transaction Manager'
  1. JBoss Transaction Manager
  2. JBTM-2096

ListServiceStatusTest.testListServiceStatusWithRunningServer: Command failed

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Out of Date
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: BlackTie
    • Labels:
      None

      Description

      http://172.17.131.2/view/Narayana+BlackTie/job/narayana/423/PROFILE=BLACKTIE,jdk=jdk7.latest,label=linux32el6/consoleText

      Running org.jboss.narayana.blacktie.btadmin.ListServersStatusTest
      21:56:16,141 INFO  [org.hornetq.core.server] (ServerService Thread Pool -- 89) HQ221003: trying to deploy queue jms.queue.BTR_.testsui1
      21:56:16,141 INFO  [org.jboss.as.messaging] (ServerService Thread Pool -- 89) JBAS011601: Bound messaging object to jndi name /queue/BTR_.testsui1
      21:56:19,541 INFO  [org.hornetq.core.server] (ServerService Thread Pool -- 89) HQ221003: trying to deploy queue jms.queue.BTR_.testsui2
      21:56:19,541 INFO  [org.jboss.as.messaging] (ServerService Thread Pool -- 89) JBAS011601: Bound messaging object to jndi name /queue/BTR_.testsui2
      21:56:22,904 INFO  [org.hornetq.core.server] (ServerService Thread Pool -- 89) HQ221003: trying to deploy queue jms.queue.BTR_BAR
      21:56:22,904 INFO  [org.jboss.as.messaging] (ServerService Thread Pool -- 89) JBAS011601: Bound messaging object to jndi name /queue/BTR_BAR
      21: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
      21: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
      21: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
      21:56:24,847 INFO  [org.jboss.narayana.blacktie.administration.BlacktieAdminServiceXATMI] (Thread-38 (HornetQ-client-global-threads-26693153)) init PostConstruct
      21:56:24,849 INFO  [org.jboss.narayana.blacktie.administration.core.AdministrationProxy] (Thread-38 (HornetQ-client-global-threads-26693153)) onConstruct load btconfig.xml
      21: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
      21:56:31,591 INFO  [org.jboss.narayana.blacktie.jatmibroker.xatmi.BlackTieService] (Thread-39 (HornetQ-client-global-threads-26693153)) init PostConstruct
      21:56:37,062 INFO  [org.jboss.as.messaging] (ServerService Thread Pool -- 89) JBAS011605: Unbound messaging object to jndi name java:/queue/BTR_BAR
      21:56:37,243 INFO  [org.jboss.as.messaging] (ServerService Thread Pool -- 89) JBAS011605: Unbound messaging object to jndi name java:/queue/BTR_.testsui2
      21: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
      21:56:39,278 INFO  [org.jboss.as.messaging] (ServerService Thread Pool -- 89) JBAS011605: Unbound messaging object to jndi name java:/queue/BTR_.testsui1
      Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 30.62 sec
      Running org.jboss.narayana.blacktie.btadmin.ListServiceStatusTest
      21:56:47,603 INFO  [org.hornetq.core.server] (ServerService Thread Pool -- 89) HQ221003: trying to deploy queue jms.queue.BTR_.testsui1
      21:56:47,603 INFO  [org.jboss.as.messaging] (ServerService Thread Pool -- 89) JBAS011601: Bound messaging object to jndi name /queue/BTR_.testsui1
      21:56:51,939 INFO  [org.hornetq.core.server] (ServerService Thread Pool -- 89) HQ221003: trying to deploy queue jms.queue.BTR_.testsui2
      21:56:51,939 INFO  [org.jboss.as.messaging] (ServerService Thread Pool -- 89) JBAS011601: Bound messaging object to jndi name /queue/BTR_.testsui2
      21:56:56,314 INFO  [org.hornetq.core.server] (ServerService Thread Pool -- 89) HQ221003: trying to deploy queue jms.queue.BTR_BAR
      21:56:56,314 INFO  [org.jboss.as.messaging] (ServerService Thread Pool -- 89) JBAS011601: Bound messaging object to jndi name /queue/BTR_BAR
      21:56:58,193 ERROR [stderr] (Thread-1015) Exception in thread "Thread-1015" java.lang.ArrayIndexOutOfBoundsException: 1
      21:56:58,193 ERROR [stderr] (Thread-1015) 	at org.jboss.narayana.blacktie.jatmibroker.core.server.Client.run(SocketServer.java:268)
      21:56:58,193 ERROR [stderr] (Thread-1015) 	at java.lang.Thread.run(Thread.java:744)
      21: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]
      
      21: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
      21: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
      21: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
      21:57:47,610 INFO  [org.jboss.as.messaging] (ServerService Thread Pool -- 90) JBAS011605: Unbound messaging object to jndi name java:/queue/BTR_BAR
      21:57:49,481 INFO  [org.jboss.as.messaging] (ServerService Thread Pool -- 90) JBAS011605: Unbound messaging object to jndi name java:/queue/BTR_.testsui2
      21:58:10,859 INFO  [org.jboss.as.messaging] (ServerService Thread Pool -- 91) JBAS011605: Unbound messaging object to jndi name java:/queue/BTR_.testsui1
      21:58:10,989 WARN  [org.jboss.narayana.blacktie.administration.QueueReaperBean] (EJB default - 9) undeploy service .testsui1 for consumer is 0
      Tests 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)
      

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  Unassigned
                  Reporter:
                  gytis Gytis Trikleris
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  0 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: