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

Fix flaky - ChecksummingTransformerTest - org.apache.cassandra.transport.frame.checksum.ChecksummingTransformerTest

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Normal
    • Resolution: Fixed
    • 4.0-beta4, 4.0
    • Test/unit
    • None
    • Correctness - Test Failure
    • Normal
    • Low Hanging Fruit
    • User Report
    • All
    • None
    • Hide

      Trying to get this thing to Blocked. That's the plan.

      Show
      Trying to get this thing to Blocked. That's the plan.

    Description

      During the recent runs, this test appears to be flaky.

      Example failure: https://circleci.com/gh/vinaykumarchella/cassandra/459#tests/containers/94

      corruptionCausesFailure-compression - org.apache.cassandra.transport.frame.checksum.ChecksummingTransformerTest

      java.lang.OutOfMemoryError: GC overhead limit exceeded
      	at java.nio.HeapByteBuffer.<init>(HeapByteBuffer.java:57)
      	at java.nio.ByteBuffer.allocate(ByteBuffer.java:335)
      	at org.quicktheories.impl.Precursor.<init>(Precursor.java:17)
      	at org.quicktheories.impl.ConcreteDetachedSource.<init>(ConcreteDetachedSource.java:8)
      	at org.quicktheories.impl.ConcreteDetachedSource.detach(ConcreteDetachedSource.java:23)
      	at org.quicktheories.generators.Retry.generate(CodePoints.java:51)
      	at org.quicktheories.generators.Generate.lambda$intArrays$10(Generate.java:190)
      	at org.quicktheories.generators.Generate$$Lambda$17/1847008471.generate(Unknown Source)
      	at org.quicktheories.core.DescribingGenerator.generate(Gen.java:255)
      	at org.quicktheories.core.Gen.lambda$map$0(Gen.java:36)
      	at org.quicktheories.core.Gen$$Lambda$20/71399214.generate(Unknown Source)
      	at org.quicktheories.core.Gen.lambda$map$0(Gen.java:36)
      	at org.quicktheories.core.Gen$$Lambda$20/71399214.generate(Unknown Source)
      	at org.quicktheories.core.Gen.lambda$mix$10(Gen.java:184)
      	at org.quicktheories.core.Gen$$Lambda$45/802243390.generate(Unknown Source)
      	at org.quicktheories.core.Gen.lambda$flatMap$5(Gen.java:93)
      	at org.quicktheories.core.Gen$$Lambda$48/363509958.generate(Unknown Source)
      	at org.quicktheories.dsl.TheoryBuilder4.lambda$prgnToTuple$12(TheoryBuilder4.java:188)
      	at org.quicktheories.dsl.TheoryBuilder4$$Lambda$40/2003496028.generate(Unknown Source)
      	at org.quicktheories.core.DescribingGenerator.generate(Gen.java:255)
      	at org.quicktheories.core.FilteredGenerator.generate(Gen.java:225)
      	at org.quicktheories.core.Gen.lambda$map$0(Gen.java:36)
      	at org.quicktheories.core.Gen$$Lambda$20/71399214.generate(Unknown Source)
      	at org.quicktheories.impl.Core.generate(Core.java:150)
      	at org.quicktheories.impl.Core.shrink(Core.java:103)
      	at org.quicktheories.impl.Core.run(Core.java:39)
      	at org.quicktheories.impl.TheoryRunner.check(TheoryRunner.java:35)
      	at org.quicktheories.dsl.TheoryBuilder4.check(TheoryBuilder4.java:150)
      	at org.quicktheories.dsl.TheoryBuilder4.checkAssert(TheoryBuilder4.java:162)
      	at org.apache.cassandra.transport.frame.checksum.ChecksummingTransformerTest.corruptionCausesFailure(ChecksummingTransformerTest.java:87)
      

      Attachments

        1. CASSANDRA-15313-hack.patch
          5 kB
          David Capwell

        Issue Links

          Activity

            People

              brandon.williams Brandon Williams
              vinaykumarcse Vinay Chella
              Brandon Williams
              Votes:
              0 Vote for this issue
              Watchers:
              13 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 - 40m
                  40m