-
Bug
-
Resolution: Done
-
Critical
-
EAP_EWP 5.1.2 CR2
-
None
-
Regression
-
Not Required
There is NullPointerException in org.hornetq.tests.integration.cluster.bridge.NettyBridgeTest - #test testWithDuplicates on Solaris 10 sparc.
Log from Hudson job:
https://hudson.qa.jboss.com/hudson/view/EAP5/view/HornetQ/job/_Solaris9-SPARC64-SunJDK1.6-NIO/60/consoleText
Job was started on dsp05. More info about this machine can be found in:
https://engineering.redhat.com/trac/eng-ops-mw-qe/wiki/MwEnvSystemsInventory
It looks that there is race condition during destroying connection in ClientSessionFactoryImpl.failoverOrReconnect().
Exception:
[junit] * [Thread-1 (HornetQ-client-global-threads-11029319)] 13-Dec 4:2:26,266 SEVERE [OrderedExecutorFactory] Caught unexpected Throwable
[junit] java.lang.NullPointerException
[junit] at org.hornetq.core.client.impl.ClientSessionFactoryImpl.failoverOrReconnect(ClientSessionFactoryImpl.java:676)
[junit] at org.hornetq.core.client.impl.ClientSessionFactoryImpl.handleConnectionFailure(ClientSessionFactoryImpl.java:555)
[junit] at org.hornetq.core.client.impl.ClientSessionFactoryImpl.access$000(ClientSessionFactoryImpl.java:78)
[junit] at org.hornetq.core.client.impl.ClientSessionFactoryImpl$1.run(ClientSessionFactoryImpl.java:385)
[junit] at org.hornetq.utils.OrderedExecutorFactory$OrderedExecutor$1.run(OrderedExecutorFactory.java:100)
[junit] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
[junit] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
[junit] at java.lang.Thread.run(Thread.java:662)
How to start HQ test suite on dsp05:
ssh vmg18.mw.lab.eng.bos.redhat.com
sudo su - hudson
ssh dsp05
cd /qa/services/hudson/hudson_workspace/workspace/_Solaris9-SPARC64-SunJDK1.6-NIO/hornetq/
export JAVA_HOME=/qa/tools/opt/solaris10_sparc/jdk1.6.0_24
export PATH=$JAVA_HOME/bin:$PATH
./build.sh hudson-tests -Dtest-udp-address=231.9.1.2 -Dtest-udp-port=45678 -Djunit.timeout=90000000 -Dclustering.junit.timeout=120000000 -Dstress.junit.timeout=125000000 -Dtest-mask=NettyBridgeTest