Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-1442

[Artemis Testsuite] SessionFactoryTest.testDiscoveryConstructor failure

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Major Major
    • None
    • 7.0.0.DR11
    • ActiveMQ
    • None

      Running ActiveMQ Artemis (tag 1.1.0) testsuite on Solaris 10 x86_64, Solaris 10 SPARC64, Solaris 11 x86_64 or Solaris 11 SPARC64 with OracleJDK 1.8 and with tests profile. Test org.apache.activemq.artemis.tests.integration.client.SessionFactoryTest#testDiscoveryConstructor fails.
      Test produces following output

      08:57:00,119 INFO  [org.apache.activemq.artemis.core.server] #*#*# Starting test: testDiscoveryConstructor()...
      #test testDiscoveryConstructor
      08:57:00,123 INFO  [org.apache.activemq.artemis.core.server] AMQ221000: live Message Broker is starting with configuration Broker Configuration (clustered=false,journalDirectory=/mnt/hudson_workspace/workspace/artemis-project-testsuite-solaris/jdk/java18_default/label/sol10_sparc64/tests/integration-tests/./target/tmp/junit8596457034796562081/journal0-L,bindingsDirectory=/mnt/hudson_workspace/workspace/artemis-project-testsuite-solaris/jdk/java18_default/label/sol10_sparc64/tests/integration-tests/./target/tmp/junit8596457034796562081/bindings0-L,largeMessagesDirectory=/mnt/hudson_workspace/workspace/artemis-project-testsuite-solaris/jdk/java18_default/label/sol10_sparc64/tests/integration-tests/./target/tmp/junit8596457034796562081/large-msg0-L,pagingDirectory=/mnt/hudson_workspace/workspace/artemis-project-testsuite-solaris/jdk/java18_default/label/sol10_sparc64/tests/integration-tests/./target/tmp/junit8596457034796562081/page0-L)
      08:57:00,130 INFO  [org.apache.activemq.artemis.core.server] AMQ221006: Waiting to obtain live lock
      08:57:00,131 INFO  [org.apache.activemq.artemis.core.server] AMQ221043: Protocol module found: [artemis-server]. Adding protocol support for: CORE
      08:57:00,133 INFO  [org.apache.activemq.artemis.core.server] AMQ221043: Protocol module found: [artemis-amqp-protocol]. Adding protocol support for: AMQP
      08:57:00,134 INFO  [org.apache.activemq.artemis.core.server] AMQ221043: Protocol module found: [artemis-stomp-protocol]. Adding protocol support for: STOMP
      08:57:00,135 INFO  [org.apache.activemq.artemis.core.server] AMQ221043: Protocol module found: [artemis-openwire-protocol]. Adding protocol support for: OPENWIRE
      08:57:00,137 INFO  [org.apache.activemq.artemis.core.server] AMQ221043: Protocol module found: [artemis-hornetq-protocol]. Adding protocol support for: HORNETQ
      08:57:00,138 INFO  [org.apache.activemq.artemis.core.server] AMQ221043: Protocol module found: [artemis-mqtt-protocol]. Adding protocol support for: MQTT
      08:57:00,141 INFO  [org.apache.activemq.artemis.core.server] AMQ221007: Server is now live
      08:57:00,142 INFO  [org.apache.activemq.artemis.core.server] AMQ221001: Apache ActiveMQ Artemis Message Broker version 1.1.0 [nodeID=ba0f7b15-70e0-11e5-bc96-bb31aa82aeac] 
      08:57:10,152 INFO  [org.apache.activemq.artemis.core.server] AMQ221002: Apache ActiveMQ Artemis Message Broker version 1.1.0 [ba0f7b15-70e0-11e5-bc96-bb31aa82aeac] stopped
      08:57:10,156 INFO  [org.apache.activemq.artemis.core.server] #test forceGC
      08:57:10,517 INFO  [org.apache.activemq.artemis.core.server] #test forceGC Done
      08:57:11,018 INFO  [org.apache.activemq.artemis.core.server] There are still threads running, trying again
      *********************************************************************************
      LEAKING THREADS
      =============================================================================
      Thread Thread[activemq-discovery-group-thread-ba0eded2-70e0-11e5-bc96-bb31aa82aeac,5,main] is still alive with the following stackTrace:
      java.net.PlainDatagramSocketImpl.receive0(Native Method)
      java.net.AbstractPlainDatagramSocketImpl.receive(AbstractPlainDatagramSocketImpl.java:144)
      java.net.DatagramSocket.receive(DatagramSocket.java:812)
      org.apache.activemq.artemis.api.core.UDPBroadcastEndpointFactory$UDPBroadcastEndpoint.receiveBroadcast(UDPBroadcastEndpointFactory.java:149)
      org.apache.activemq.artemis.core.cluster.DiscoveryGroup$DiscoveryRunnable.run(DiscoveryGroup.java:255)
      java.lang.Thread.run(Thread.java:745)
      *********************************************************************************
      
      08:57:11,022 INFO  [org.apache.activemq.artemis.core.server] #test forceGC
      08:57:11,232 INFO  [org.apache.activemq.artemis.core.server] #test forceGC Done
      08:57:11,733 INFO  [org.apache.activemq.artemis.core.server] There are still threads running, trying again
      *********************************************************************************
      LEAKING THREADS
      =============================================================================
      Thread Thread[activemq-discovery-group-thread-ba0eded2-70e0-11e5-bc96-bb31aa82aeac,5,main] is still alive with the following stackTrace:
      java.net.PlainDatagramSocketImpl.receive0(Native Method)
      java.net.AbstractPlainDatagramSocketImpl.receive(AbstractPlainDatagramSocketImpl.java:144)
      java.net.DatagramSocket.receive(DatagramSocket.java:812)
      org.apache.activemq.artemis.api.core.UDPBroadcastEndpointFactory$UDPBroadcastEndpoint.receiveBroadcast(UDPBroadcastEndpointFactory.java:149)
      org.apache.activemq.artemis.core.cluster.DiscoveryGroup$DiscoveryRunnable.run(DiscoveryGroup.java:255)
      java.lang.Thread.run(Thread.java:745)
      *********************************************************************************
      
      08:57:11,735 INFO  [org.apache.activemq.artemis.core.server] #test forceGC
      08:57:11,944 INFO  [org.apache.activemq.artemis.core.server] #test forceGC Done
      08:57:12,445 INFO  [org.apache.activemq.artemis.core.server] There are still threads running, trying again
      *********************************************************************************
      LEAKING THREADS
      =============================================================================
      Thread Thread[activemq-discovery-group-thread-ba0eded2-70e0-11e5-bc96-bb31aa82aeac,5,main] is still alive with the following stackTrace:
      java.net.PlainDatagramSocketImpl.receive0(Native Method)
      java.net.AbstractPlainDatagramSocketImpl.receive(AbstractPlainDatagramSocketImpl.java:144)
      java.net.DatagramSocket.receive(DatagramSocket.java:812)
      org.apache.activemq.artemis.api.core.UDPBroadcastEndpointFactory$UDPBroadcastEndpoint.receiveBroadcast(UDPBroadcastEndpointFactory.java:149)
      org.apache.activemq.artemis.core.cluster.DiscoveryGroup$DiscoveryRunnable.run(DiscoveryGroup.java:255)
      java.lang.Thread.run(Thread.java:745)
      *********************************************************************************
      
      08:57:12,448 INFO  [org.apache.activemq.artemis.core.server] #test forceGC
      08:57:12,652 INFO  [org.apache.activemq.artemis.core.server] #test forceGC Done
      08:57:13,153 INFO  [org.apache.activemq.artemis.core.server] There are still threads running, trying again
      *********************************************************************************
      LEAKING THREADS
      =============================================================================
      Thread Thread[activemq-discovery-group-thread-ba0eded2-70e0-11e5-bc96-bb31aa82aeac,5,main] is still alive with the following stackTrace:
      java.net.PlainDatagramSocketImpl.receive0(Native Method)
      java.net.AbstractPlainDatagramSocketImpl.receive(AbstractPlainDatagramSocketImpl.java:144)
      java.net.DatagramSocket.receive(DatagramSocket.java:812)
      org.apache.activemq.artemis.api.core.UDPBroadcastEndpointFactory$UDPBroadcastEndpoint.receiveBroadcast(UDPBroadcastEndpointFactory.java:149)
      org.apache.activemq.artemis.core.cluster.DiscoveryGroup$DiscoveryRunnable.run(DiscoveryGroup.java:255)
      java.lang.Thread.run(Thread.java:745)
      *********************************************************************************
      ...
      08:58:09,155 INFO  [org.apache.activemq.artemis.core.server] #test forceGC
      08:58:09,359 INFO  [org.apache.activemq.artemis.core.server] #test forceGC Done
      08:58:09,860 INFO  [org.apache.activemq.artemis.core.server] There are still threads running, trying again
      *********************************************************************************
      LEAKING THREADS
      =============================================================================
      Thread Thread[activemq-discovery-group-thread-ba0eded2-70e0-11e5-bc96-bb31aa82aeac,5,main] is still alive with the following stackTrace:
      java.net.PlainDatagramSocketImpl.receive0(Native Method)
      java.net.AbstractPlainDatagramSocketImpl.receive(AbstractPlainDatagramSocketImpl.java:144)
      java.net.DatagramSocket.receive(DatagramSocket.java:812)
      org.apache.activemq.artemis.api.core.UDPBroadcastEndpointFactory$UDPBroadcastEndpoint.receiveBroadcast(UDPBroadcastEndpointFactory.java:149)
      org.apache.activemq.artemis.core.cluster.DiscoveryGroup$DiscoveryRunnable.run(DiscoveryGroup.java:255)
      java.lang.Thread.run(Thread.java:745)
      *********************************************************************************
      
      08:58:09,862 INFO  [org.apache.activemq.artemis.core.server] #test forceGC
      08:58:10,068 INFO  [org.apache.activemq.artemis.core.server] #test forceGC Done
      08:58:10,569 INFO  [org.apache.activemq.artemis.core.server] There are still threads running, trying again
      *********************************************************************************
      LEAKING THREADS
      =============================================================================
      Thread Thread[activemq-discovery-group-thread-ba0eded2-70e0-11e5-bc96-bb31aa82aeac,5,main] is still alive with the following stackTrace:
      java.net.PlainDatagramSocketImpl.receive0(Native Method)
      java.net.AbstractPlainDatagramSocketImpl.receive(AbstractPlainDatagramSocketImpl.java:144)
      java.net.DatagramSocket.receive(DatagramSocket.java:812)
      org.apache.activemq.artemis.api.core.UDPBroadcastEndpointFactory$UDPBroadcastEndpoint.receiveBroadcast(UDPBroadcastEndpointFactory.java:149)
      org.apache.activemq.artemis.core.cluster.DiscoveryGroup$DiscoveryRunnable.run(DiscoveryGroup.java:255)
      java.lang.Thread.run(Thread.java:745)
      *********************************************************************************
      
      Thread leaked on test org.apache.activemq.artemis.tests.integration.client.SessionFactoryTest::testDiscoveryConstructor
      *********************************************************************************
      LEAKING THREADS
      =============================================================================
      Thread Thread[activemq-discovery-group-thread-ba0eded2-70e0-11e5-bc96-bb31aa82aeac,5,main] is still alive with the following stackTrace:
      java.net.PlainDatagramSocketImpl.receive0(Native Method)
      java.net.AbstractPlainDatagramSocketImpl.receive(AbstractPlainDatagramSocketImpl.java:144)
      java.net.DatagramSocket.receive(DatagramSocket.java:812)
      org.apache.activemq.artemis.api.core.UDPBroadcastEndpointFactory$UDPBroadcastEndpoint.receiveBroadcast(UDPBroadcastEndpointFactory.java:149)
      org.apache.activemq.artemis.core.cluster.DiscoveryGroup$DiscoveryRunnable.run(DiscoveryGroup.java:255)
      java.lang.Thread.run(Thread.java:745)
      *********************************************************************************
      
      Thread leakage! Failure!!!
      08:58:10,573 INFO  [org.apache.activemq.artemis.core.server] #*#*# Finished test: testDiscoveryConstructor()
      org.apache.activemq.artemis.api.core.ActiveMQConnectionTimedOutException: AMQ119012: Timed out waiting to receive initial broadcast from cluster
      	at org.apache.activemq.artemis.core.client.impl.ServerLocatorImpl.createSessionFactory(ServerLocatorImpl.java:777)
      	at org.apache.activemq.artemis.tests.util.ActiveMQTestBase.createSessionFactory(ActiveMQTestBase.java:2275)
      	at org.apache.activemq.artemis.tests.integration.client.SessionFactoryTest.testDiscoveryConstructor(SessionFactoryTest.java:68)
      

      Issue is under investigation.

              rh-ee-ataylor Andy Taylor
              mstyk_jira Martin Styk (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: