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

Test Failure: o.a.c.cql3.validation.operations.AlterTest#testDropListAndAddListWithSameName

    XMLWordPrintableJSON

Details

    • Bug
    • Status: In Progress
    • Normal
    • Resolution: Unresolved
    • 5.x
    • Test/unit
    • None
    • Correctness - Test Failure
    • Normal
    • Normal
    • User Report
    • All
    • None
    • Hide

      See comments

      Show
      See comments

    Description

      The unit test org.apache.cassandra.cql3.validation.operations.AlterTest#testDropListAndAddListWithSameName is flaky at least on trunk. Flakiness seems lesser than 1%.

      While I haven't seen it on Jenkins yet, it can easily be reproduced on CircleCI with the multiplexer:

      Those runs show two types of errors:

      junit.framework.AssertionFailedError: Invalid value for row 0 column 1 (content of type text), expected <first test> but got <st test>
      
      	at org.apache.cassandra.cql3.CQLTester.assertRows(CQLTester.java:1506)
      	at org.apache.cassandra.cql3.validation.operations.AlterTest.testDropListAndAddListWithSameName(AlterTest.java:102)
      

      and:

      org.apache.cassandra.serializers.MarshalException: Invalid UTF-8 bytes 000000e0279515437f00
      	at org.apache.cassandra.serializers.AbstractTextSerializer.deserialize(AbstractTextSerializer.java:46)
      	at org.apache.cassandra.serializers.AbstractTextSerializer.deserialize(AbstractTextSerializer.java:29)
      	at org.apache.cassandra.serializers.TypeSerializer.deserialize(TypeSerializer.java:37)
      	at org.apache.cassandra.cql3.CQLTester.assertRows(CQLTester.java:1494)
      	at org.apache.cassandra.cql3.validation.operations.AlterTest.testDropListAndAddListWithSameName(AlterTest.java:102)
      	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)
      

      The CircleCI config I used to reproduce the test failure can be generated with:

      .circleci/generate.sh -p \
        -e REPEATED_UTESTS_COUNT=500 \
        -e REPEATED_UTESTS=org.apache.cassandra.cql3.validation.operations.AlterTest
      

      Attachments

        Issue Links

          Activity

            People

              jonmeredith Jon Meredith
              adelapena Andres de la Peña
              Jon Meredith
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated: