Uploaded image for project: 'JGroups'
  1. JGroups
  2. JGRP-1889

org.jgroups.tests.TransportThreadPoolTest.testThreadPoolReplacement fails randomly

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Minor Minor
    • None
    • 3.2.13
    • None

      I'm seeing a random failure of org.jgroups.tests.TransportThreadPoolTest.testThreadPoolReplacement, roughly 1 fail in 10 executions, only with RHEL so far.

      Error message, stacktrace and standard output:

      Error Message
      
      null
      Stacktrace
      
      
      java.lang.AssertionError 
      at org.jgroups.tests.TransportThreadPoolTest.testThreadPoolReplacement(TransportThreadPoolTest.java:69) 
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) 
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 
      at java.lang.reflect.Method.invoke(Method.java:483) 
      at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:84) 
      at org.testng.internal.Invoker.invokeMethod(Invoker.java:714) 
      at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:901) 
      at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1231) 
      at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:127) 
      at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:111) 
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) 
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) 
      at java.lang.Thread.run(Thread.java:745) 
      
      
              
      Standard Output
      
      
      
      ------------- testThreadPoolReplacement -----------
      
      -------------------------------------------------------------------
      GMS: address=A, cluster=TransportThreadPoolTest, physical address=10.16.95.23:27126
      -------------------------------------------------------------------
      39245 [TRACE] GMS: - A: no initial members discovered: creating group as first member
      39246 [DEBUG] GMS: - A: installing view [A|0] [A]
      39246 [DEBUG] GMS: - created group (first member). My view is [A|0], impl is org.jgroups.protocols.pbcast.CoordGmsImpl
      
      -------------------------------------------------------------------
      GMS: address=B, cluster=TransportThreadPoolTest, physical address=10.16.95.23:27127
      -------------------------------------------------------------------
      39256 [TRACE] GMS: - B: initial_mbrs are A
      39256 [DEBUG] GMS: - election results: {A=1}
      39256 [DEBUG] GMS: - sending JOIN(B) to A
      39309 [TRACE] GMS: - A: new members=[B], suspected=[], leaving=[], new view: [A|1] [A, B]
      39310 [TRACE] GMS: - A: mcasting view [A|1] [A, B] (2 mbrs)
      39322 [DEBUG] GMS: - A: installing view [A|1] [A, B]
      39323 [TRACE] GMS: - A: received all 1 ACKs from members for view [A|1]
      39354 [TRACE] GMS: - B: JOIN-RSP=[A|1] [A, B] [size=2]
      39354 [DEBUG] GMS: - B: installing view [A|1] [A, B]
      39361 [TRACE] GMS: - A: received all ACKs (1) from joiners for view [A|1]
      messages c1: "hello world" "message 3" "bela" "message 4" 
      messages c2: "bela" "message 4" 
      took 3031 ms
      42396 [DEBUG] GMS: - B: sending LEAVE request to A
      

      Jenkins job link: https://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/eap-6x-manu-jgroups-rhel/76/jdk=jdk1.8,label_exp=RHEL5%20&&%20x86/testReport/org.jgroups.tests/TransportThreadPoolTest/testThreadPoolReplacement/

      The link leads to a run with jdk8, but it's not specific to that version.

            rhn-engineering-bban Bela Ban
            rjanik@redhat.com Richard Janik
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: