Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-16358

Minor Flakiness in ProxyHandlerConnectionsTest#testExpireSomeFromBatch

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Normal
    • Resolution: Fixed
    • Fix Version/s: 4.0, 4.0-rc1
    • Component/s: Test/unit
    • Labels:
      None

      Description

      This seems only to be failing in ci-cassandra, but it fails across cdc, compression, and normal configurations there. The only failure recent enough to be retained is here:

      https://ci-cassandra.apache.org/job/Cassandra-devbranch/268/testReport/org.apache.cassandra.net/ProxyHandlerConnectionsTest/testExpireSomeFromBatch_compression_2/

      org.apache.cassandra.net.ProxyHandlerConnectionsTest.testExpireSomeFromBatch-compression (from org.apache.cassandra.net.ProxyHandlerConnectionsTest-compression)
      
      Error Message
      
      Expired: 8, Arrived: 10
      
      Stacktrace
      
      junit.framework.AssertionFailedError: Expired: 8, Arrived: 10
      	at org.apache.cassandra.net.ProxyHandlerConnectionsTest.waitForCondition(ProxyHandlerConnectionsTest.java:285)
      	at org.apache.cassandra.net.ProxyHandlerConnectionsTest.lambda$testExpireSomeFromBatch$23(ProxyHandlerConnectionsTest.java:210)
      	at org.apache.cassandra.net.ProxyHandlerConnectionsTest.doTestManual(ProxyHandlerConnectionsTest.java:378)
      	at org.apache.cassandra.net.ProxyHandlerConnectionsTest.testManual(ProxyHandlerConnectionsTest.java:337)
      	at org.apache.cassandra.net.ProxyHandlerConnectionsTest.testExpireSomeFromBatch(ProxyHandlerConnectionsTest.java:169)
      	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      
      Standard Output
      
      DEBUG [main] 2020-12-15 20:36:43,018 InternalLoggerFactory.java:45 - Using SLF4J as the default logging framework
      DEBUG [main] 2020-12-15 20:36:43,043 PlatformDependent0.java:417 - -Dio.netty.noUnsafe: false
      DEBUG [main] 2020-12-15 20:36:43,044 PlatformDependent0.java:897 - Java version: 8
      DEBUG [main] 2020-12-15 20:36:43,044 PlatformDependent0.java:130 - sun.misc.Unsafe.theUnsafe: available
      DEBUG [main] 2020-12-15 20:36:43,045 PlatformDependent0.java:154 - sun.misc.Unsafe.copyMemory: available
      
      ...[truncated 394654 chars]...
      ol$Initiate.maybeDecode(HandshakeProtocol.java:167)
      	at org.apache.cassandra.net.InboundConnectionInitiator$Handler.initiate(InboundConnectionInitiator.java:242)
      	at org.apache.cassandra.net.InboundConnectionInitiator$Handler.decode(InboundConnectionInitiator.java:235)
      	at io.netty.handler.codec.ByteToMessageDecoder.decodeRemovalReentryProtection(ByteToMessageDecoder.java:501)
      	at io.netty.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageDecoder.java:440)
      	... 29 common frames omitted
      

      There are a number of historical failures listed here, but the runs that produced them have not been retained:

      https://ci-cassandra.apache.org/job/Cassandra-trunk/207/testReport/junit/org.apache.cassandra.net/ProxyHandlerConnectionsTest/

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                brandon.williams Brandon Williams
                Reporter:
                maedhroz Caleb Rackliffe
                Authors:
                Brandon Williams
                Reviewers:
                Andres de la Peña, Benjamin Lerer, Ekaterina Dimitrova
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 0.5h
                  0.5h