[ 
https://issues.apache.org/jira/browse/ARTEMIS-247?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Martin Styk updated ARTEMIS-247:
--------------------------------
    Summary: Failure of test 
ReplicatedFailoverUsingNodeGroupNameTest.testFailBackLiveRestartsBackupIsGone  
(was: 
ReplicatedFailoverUsingNodeGroupNameTest.testFailBackLiveRestartsBackupIsGone 
test failure)

> Failure of test 
> ReplicatedFailoverUsingNodeGroupNameTest.testFailBackLiveRestartsBackupIsGone
> ---------------------------------------------------------------------------------------------
>
>                 Key: ARTEMIS-247
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-247
>             Project: ActiveMQ Artemis
>          Issue Type: Bug
>    Affects Versions: 1.1.0
>         Environment: Platform = RHEL6 x86
> Java = OracleJdk 1.8
>            Reporter: Martin Styk
>
> Running ActiveMQ Artemis (tag 1.1.0) testsuite on RHEL6 x86 with OracleJdk 
> 1.8 and with tests profile fails on test 
> org.apache.activemq.artemis.tests.integration.cluster.failover.ReplicatedFailoverUsingNodeGroupNameTest.testFailBackLiveRestartsBackupIsGone.
>  Fail occurs during tear down phase with following output :
> {noformat}
> 03:32:55 #test testFailBackLiveRestartsBackupIsGone
> 03:32:55 03:32:56,238 INFO  [org.apache.activemq.artemis.core.server] 
> AMQ221000: live Message Broker is starting with configuration Broker 
> Configuration 
> (clustered=true,journalDirectory=~/tmp/artemis-project-testsuite-rhel/jdk/java18_default/label/RHEL6&&x86/tests/integration-tests/./target/tmp/junit7500325813325943582/journal0-L,bindingsDirectory=~/tmp/artemis-project-testsuite-rhel/jdk/java18_default/label/RHEL6&&x86/tests/integration-tests/./target/tmp/junit7500325813325943582/bindings0-L,largeMessagesDirectory=~/tmp/artemis-project-testsuite-rhel/jdk/java18_default/label/RHEL6&&x86/tests/integration-tests/./target/tmp/junit7500325813325943582/large-msg0-L,pagingDirectory=~/tmp/artemis-project-testsuite-rhel/jdk/java18_default/label/RHEL6&&x86/tests/integration-tests/./target/tmp/junit7500325813325943582/page0-L)
> 03:32:55 03:32:56,249 INFO  [org.apache.activemq.artemis.core.server] 
> AMQ221012: Using AIO Journal
> 03:32:55 03:32:56,251 INFO  [org.apache.activemq.artemis.core.server] 
> AMQ221043: Protocol module found: [artemis-server]. Adding protocol support 
> for: CORE
> 03:32:55 03:32:56,254 INFO  [org.apache.activemq.artemis.core.server] 
> AMQ221043: Protocol module found: [artemis-amqp-protocol]. Adding protocol 
> support for: AMQP
> 03:32:55 03:32:56,256 INFO  [org.apache.activemq.artemis.core.server] 
> AMQ221043: Protocol module found: [artemis-stomp-protocol]. Adding protocol 
> support for: STOMP
> 03:32:55 03:32:56,258 INFO  [org.apache.activemq.artemis.core.server] 
> AMQ221043: Protocol module found: [artemis-openwire-protocol]. Adding 
> protocol support for: OPENWIRE
> 03:32:55 03:32:56,260 INFO  [org.apache.activemq.artemis.core.server] 
> AMQ221043: Protocol module found: [artemis-hornetq-protocol]. Adding protocol 
> support for: HORNETQ
> 03:32:55 03:32:56,263 INFO  [org.apache.activemq.artemis.core.server] 
> AMQ221043: Protocol module found: [artemis-mqtt-protocol]. Adding protocol 
> support for: MQTT
> 03:32:55 03:32:56,297 INFO  [org.apache.activemq.artemis.core.server] 
> AMQ221011: Server ReplicatedFailoverUsingNodeGroupNameTest/liveServer is now 
> live
> 03:32:55 03:32:56,299 INFO  [org.apache.activemq.artemis.core.server] 
> AMQ221001: Apache ActiveMQ Artemis Message Broker version 1.1.0 
> [nodeID=4bb5d585-6b33-11e5-951c-4171e4e3c701] 
> ReplicatedFailoverUsingNodeGroupNameTest/liveServer
> 03:32:55 03:32:56,302 INFO  [org.apache.activemq.artemis.core.server] 
> AMQ221000: backup Message Broker is starting with configuration Broker 
> Configuration 
> (clustered=true,journalDirectory=~/tmp/artemis-project-testsuite-rhel/jdk/java18_default/label/RHEL6&&x86/tests/integration-tests/./target/tmp/junit7500325813325943582/journal0-B,bindingsDirectory=~/tmp/artemis-project-testsuite-rhel/jdk/java18_default/label/RHEL6&&x86/tests/integration-tests/./target/tmp/junit7500325813325943582/bindings0-B,largeMessagesDirectory=~/tmp/artemis-project-testsuite-rhel/jdk/java18_default/label/RHEL6&&x86/tests/integration-tests/./target/tmp/junit7500325813325943582/large-msg0-B,pagingDirectory=~/tmp/artemis-project-testsuite-rhel/jdk/java18_default/label/RHEL6&&x86/tests/integration-tests/./target/tmp/junit7500325813325943582/page0-B)
> 03:32:55 03:32:56,313 INFO  [org.apache.activemq.artemis.core.server] 
> AMQ221012: Using AIO Journal
> 03:32:55 03:32:56,315 INFO  [org.apache.activemq.artemis.core.server] 
> AMQ221043: Protocol module found: [artemis-server]. Adding protocol support 
> for: CORE
> 03:32:55 03:32:56,318 INFO  [org.apache.activemq.artemis.core.server] 
> AMQ221043: Protocol module found: [artemis-amqp-protocol]. Adding protocol 
> support for: AMQP
> 03:32:55 03:32:56,320 INFO  [org.apache.activemq.artemis.core.server] 
> AMQ221043: Protocol module found: [artemis-stomp-protocol]. Adding protocol 
> support for: STOMP
> 03:32:55 03:32:56,322 INFO  [org.apache.activemq.artemis.core.server] 
> AMQ221043: Protocol module found: [artemis-openwire-protocol]. Adding 
> protocol support for: OPENWIRE
> 03:32:55 03:32:56,325 INFO  [org.apache.activemq.artemis.core.server] 
> AMQ221043: Protocol module found: [artemis-hornetq-protocol]. Adding protocol 
> support for: HORNETQ
> 03:32:55 03:32:56,327 INFO  [org.apache.activemq.artemis.core.server] 
> AMQ221043: Protocol module found: [artemis-mqtt-protocol]. Adding protocol 
> support for: MQTT
> 03:32:55 03:32:56,331 INFO  [org.apache.activemq.artemis.core.server] 
> AMQ221109: Apache ActiveMQ Artemis Backup Server version 1.1.0 
> [4bb5d585-6b33-11e5-951c-4171e4e3c701] started, waiting live to fail before 
> it gets active
> 03:32:55 03:32:56,396 INFO  [org.apache.activemq.artemis.core.server] 
> AMQ221025: Replication: sending JournalFileImpl: (activemq-data-2.amq id = 2, 
> recordID = 2) (size=102,400) to backup. 
> AIOSequentialFile:~/tmp/artemis-project-testsuite-rhel/jdk/java18_default/label/RHEL6&&x86/tests/integration-tests/./target/tmp/junit7500325813325943582/journal0-L/activemq-data-2.amq
> 03:32:55 03:32:56,410 INFO  [org.apache.activemq.artemis.core.server] 
> AMQ221025: Replication: sending JournalFileImpl: 
> (activemq-bindings-2.bindings id = 2, recordID = 2) (size=1,048,576) to 
> backup. NIOSequentialFile 
> ~/tmp/artemis-project-testsuite-rhel/jdk/java18_default/label/RHEL6&&x86/tests/integration-tests/./target/tmp/junit7500325813325943582/bindings0-L/activemq-bindings-2.bindings
> 03:32:55 03:32:56,477 INFO  [org.apache.activemq.artemis.core.server] 
> AMQ221024: Backup server 
> ActiveMQServerImpl::ReplicatedFailoverUsingNodeGroupNameTest/backupServers is 
> synchronized with live-server.
> 03:32:55 03:32:56,477 INFO  [org.apache.activemq.artemis.core.server] 
> AMQ221031: backup announced
> 03:32:55 03:32:56,522 WARN  [org.apache.activemq.artemis.core.client] 
> AMQ212037: Connection failure has been detected: AMQ119015: The connection 
> was disconnected because of server shutdown [code=DISCONNECTED]
> 03:32:55 03:32:56,521 ERROR [org.apache.activemq.artemis.core.client] 
> AMQ214017: Caught unexpected Throwable: java.lang.IllegalStateException: 
> Server locator is closed (maybe it was garbage collected)
> 03:32:55      at 
> org.apache.activemq.artemis.core.client.impl.ServerLocatorImpl.assertOpen(ServerLocatorImpl.java:1759)
>  [artemis-core-client-1.1.0.jar:1.1.0]
> 03:32:55      at 
> org.apache.activemq.artemis.core.client.impl.ServerLocatorImpl.createSessionFactory(ServerLocatorImpl.java:767)
>  [artemis-core-client-1.1.0.jar:1.1.0]
> 03:32:55      at 
> org.apache.activemq.artemis.core.client.impl.ServerLocatorImpl.connect(ServerLocatorImpl.java:657)
>  [artemis-core-client-1.1.0.jar:1.1.0]
> 03:32:55      at 
> org.apache.activemq.artemis.core.client.impl.ServerLocatorImpl.connect(ServerLocatorImpl.java:638)
>  [artemis-core-client-1.1.0.jar:1.1.0]
> 03:32:55      at 
> org.apache.activemq.artemis.core.server.cluster.ClusterController$ConnectRunnable.run(ClusterController.java:405)
>  [artemis-server-1.1.0.jar:1.1.0]
> 03:32:55      at 
> org.apache.activemq.artemis.utils.OrderedExecutorFactory$OrderedExecutor$1.run(OrderedExecutorFactory.java:94)
>  [artemis-core-client-1.1.0.jar:1.1.0]
> 03:32:55      at 
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
>  [rt.jar:1.8.0_60]
> 03:32:55      at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
>  [rt.jar:1.8.0_60]
> 03:32:55      at java.lang.Thread.run(Thread.java:745) [rt.jar:1.8.0_60]
> 03:32:55 
> 03:32:55 03:32:56,534 WARN  [org.apache.activemq.artemis.core.client] 
> AMQ212037: Connection failure has been detected: AMQ119015: The connection 
> was disconnected because of server shutdown [code=DISCONNECTED]
> 03:32:55 03:32:56,533 WARN  [org.apache.activemq.artemis.core.client] 
> AMQ212037: Connection failure has been detected: AMQ119015: The connection 
> was disconnected because of server shutdown [code=DISCONNECTED]
> 03:32:55 03:32:56,544 INFO  [org.apache.activemq.artemis.core.server] 
> AMQ221002: Apache ActiveMQ Artemis Message Broker version 
> identity=ReplicatedFailoverUsingNodeGroupNameTest/liveServer,version=1.1.0 
> [4bb5d585-6b33-11e5-951c-4171e4e3c701] stopped
> 03:32:55 03:32:56,542 INFO  [org.apache.activemq.artemis.core.server] 
> AMQ221037: 
> ActiveMQServerImpl::ReplicatedFailoverUsingNodeGroupNameTest/backupServers to 
> become 'live'
> 03:32:55 03:32:56,542 WARN  [org.apache.activemq.artemis.core.client] 
> AMQ212037: Connection failure has been detected: AMQ119015: The connection 
> was disconnected because of server shutdown [code=DISCONNECTED]
> 03:32:55 03:32:56,557 WARN  [org.apache.activemq.artemis.core.client] 
> AMQ212004: Failed to connect to server.
> 03:32:55 03:32:56,596 INFO  [org.apache.activemq.artemis.core.server] 
> AMQ221011: Server ReplicatedFailoverUsingNodeGroupNameTest/backupServers is 
> now live
> 03:32:55 03:32:56,652 WARN  [org.apache.activemq.artemis.core.client] 
> AMQ212004: Failed to connect to server.
> 03:32:55 03:32:56,657 INFO  [org.apache.activemq.artemis.core.server] 
> AMQ221002: Apache ActiveMQ Artemis Message Broker version 
> identity=ReplicatedFailoverUsingNodeGroupNameTest/backupServers,version=1.1.0 
> [4bb5d585-6b33-11e5-951c-4171e4e3c701] stopped
> 03:32:55 03:32:56,763 INFO  [org.apache.activemq.artemis.core.server] 
> AMQ221000: live Message Broker is starting with configuration Broker 
> Configuration 
> (clustered=true,journalDirectory=~/tmp/artemis-project-testsuite-rhel/jdk/java18_default/label/RHEL6&&x86/tests/integration-tests/./target/tmp/junit7500325813325943582/journal0-L,bindingsDirectory=~/tmp/artemis-project-testsuite-rhel/jdk/java18_default/label/RHEL6&&x86/tests/integration-tests/./target/tmp/junit7500325813325943582/bindings0-L,largeMessagesDirectory=~/tmp/artemis-project-testsuite-rhel/jdk/java18_default/label/RHEL6&&x86/tests/integration-tests/./target/tmp/junit7500325813325943582/large-msg0-L,pagingDirectory=~/tmp/artemis-project-testsuite-rhel/jdk/java18_default/label/RHEL6&&x86/tests/integration-tests/./target/tmp/junit7500325813325943582/page0-L)
> 03:32:57 03:32:58,773 INFO  [org.apache.activemq.artemis.core.server] 
> AMQ221012: Using AIO Journal
> 03:32:57 03:32:58,775 INFO  [org.apache.activemq.artemis.core.server] 
> AMQ221043: Protocol module found: [artemis-server]. Adding protocol support 
> for: CORE
> 03:32:57 03:32:58,778 INFO  [org.apache.activemq.artemis.core.server] 
> AMQ221043: Protocol module found: [artemis-amqp-protocol]. Adding protocol 
> support for: AMQP
> 03:32:57 03:32:58,780 INFO  [org.apache.activemq.artemis.core.server] 
> AMQ221043: Protocol module found: [artemis-stomp-protocol]. Adding protocol 
> support for: STOMP
> 03:32:57 03:32:58,782 INFO  [org.apache.activemq.artemis.core.server] 
> AMQ221043: Protocol module found: [artemis-openwire-protocol]. Adding 
> protocol support for: OPENWIRE
> 03:32:57 03:32:58,784 INFO  [org.apache.activemq.artemis.core.server] 
> AMQ221043: Protocol module found: [artemis-hornetq-protocol]. Adding protocol 
> support for: HORNETQ
> 03:32:57 03:32:58,785 INFO  [org.apache.activemq.artemis.core.server] 
> AMQ221043: Protocol module found: [artemis-mqtt-protocol]. Adding protocol 
> support for: MQTT
> 03:32:58 03:32:58,826 INFO  [org.apache.activemq.artemis.core.server] 
> AMQ221011: Server ReplicatedFailoverUsingNodeGroupNameTest/liveServer is now 
> live
> 03:32:58 03:32:58,828 INFO  [org.apache.activemq.artemis.core.server] 
> AMQ221001: Apache ActiveMQ Artemis Message Broker version 1.1.0 
> [nodeID=4bb5d585-6b33-11e5-951c-4171e4e3c701] 
> ReplicatedFailoverUsingNodeGroupNameTest/liveServer
> 03:32:58 #test tearDown
> 03:32:58 03:32:58,837 ERROR [org.apache.activemq.artemis.core.client] 
> AMQ214017: Caught unexpected Throwable: java.lang.IllegalStateException: 
> Server locator is closed (maybe it was garbage collected)
> 03:32:58      at 
> org.apache.activemq.artemis.core.client.impl.ServerLocatorImpl.assertOpen(ServerLocatorImpl.java:1759)
>  [artemis-core-client-1.1.0.jar:1.1.0]
> 03:32:58      at 
> org.apache.activemq.artemis.core.client.impl.ServerLocatorImpl.createSessionFactory(ServerLocatorImpl.java:767)
>  [artemis-core-client-1.1.0.jar:1.1.0]
> 03:32:58      at org.apache.activemq.artemis.core.client.impl.S#
> 03:32:58 # A fatal error has been detected by the Java Runtime Environment:e
> 03:32:58 #
> 03:32:58 #  rvSUREFIRE-859: SIGSEGV3,0001,e
> 03:32:58 SUREFIRE-859:  (0xb)3,0001, at pc=0x0075c552r
> 03:32:58 SUREFIRE-859: , pid=195793,0001,, tid=1427164016L
> 03:32:58 #
> 03:32:58 o# JRE version: Java(TM) SE Runtime Environment (8.0_60-b27) (build 
> 1.8.0_60-b27)c
> 03:32:58 # Java VM: Java HotSpot(TM) Server VM (25.60-b23 mixed mode 
> linux-x86 )a
> 03:32:58 # Problematic frame:
> 03:32:58 # torISUREFIRE-859: C3,0001,m
> 03:32:58   [libaio.so.1+0x552]pl  io_getevents+0x22.#c
> 03:32:58 # 3,0001,Failed to write core dump. Core dumps have been disabled. 
> To enable core dumping, try "ulimit -c unlimited" before starting Java againo
> 03:32:58 #n
> 03:32:58 nect(ServerLocato# An error report file with more information is 
> saved as:# r
> 03:32:58 SUREFIRE-859: 
> ~/tmp/artemis-project-testsuite-rhel/jdk/java18_default/label/RHEL6&&x86/tests/integration-tests/hs_err_pid19579.log3,0001,
> 03:32:58 I
> 03:32:58 mpl.java:657) [artemis-core-client-1.1.0.jar:1.1.0]
> 03:32:58      at 
> org.apache.activemq.artemis.core.client.impl.ServerLocatorImpl.connect(ServerLocatorImpl.java:638)
>  [artemis-core-client-1.1.0.jar:1.1.0]
> 03:32:58      at 
> org.apache.activemq.artemis.core.server.cluster.ClusterController$ConnectRunnable.run(ClusterController.java:405)
>  [artemis-server-1.1.0.jar:1.1.0]
> 03:32:58      at 
> org.apache.activemq.artemis.utils.OrderedExecutorFactory$OrderedExecutor$1.run(OrderedExecutorFactory.java:94)
>  [artemis-core-client-1.1.0.jar:1.1.0]
> 03:32:58      at 
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
>  [rt.jar:1.8.0_60]
> 03:32:58      at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
>  [rt.jar:1.8.0_60]
> 03:32:58      at java.lang.Thread.run(Thread.java:745) [rt.jar:1.8.0_60]
> 03:32:58 
> 03:32:58 #
> 03:32:58 SUREFIRE-859: # If you would like to submit a bug report, please 
> visit:
> 03:32:58 #   http://bugreport.java.com/bugreport/crash.jsp
> 03:32:58 # The crash happened outside the Java Virtual Machine in native code.
> 03:32:58 # See problematic frame for where to report the bug.
> 03:32:58 #
> {noformat}
> This error causes that remaining tests are not executed and testsuite 
> execution is terminated.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to