Details
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:
- https://app.circleci.com/pipelines/github/adelapena/cassandra/2731/workflows/58edc2f6-9a21-4d09-b783-b7fb15e1b320/jobs/32235
- https://app.circleci.com/pipelines/github/adelapena/cassandra/2731/workflows/58edc2f6-9a21-4d09-b783-b7fb15e1b320/jobs/32234
- https://app.circleci.com/pipelines/github/adelapena/cassandra/2731/workflows/739a95d3-8e42-4447-93dd-122fc16fdd7d/jobs/32233/tests
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
- is caused by
-
CASSANDRA-18125 Improve memtable allocator accounting when updating AtomicBTreePartition
- Resolved