[ 
https://issues.apache.org/jira/browse/CASSANDRA-18360?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andres de la Peña updated CASSANDRA-18360:
------------------------------------------
    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 easily can 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:
{code}
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)
{code}
and: 
{code}
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)
{code}
The CircleCI config I used to reproduce the test failure can be generated with:
{code}
.circleci/generate.sh -p \
  -e REPEATED_UTESTS_COUNT=500 \
  -e REPEATED_UTESTS=org.apache.cassandra.cql3.validation.operations.AlterTest
{code}

  was:
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 easily can 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 shown two types of errors:
{code}
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)
{code}
and: 
{code}
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)
{code}
The CircleCI config I used to reproduce the test failure can be generated with:
{code}
.circleci/generate.sh -p \
  -e REPEATED_UTESTS_COUNT=500 \
  -e REPEATED_UTESTS=org.apache.cassandra.cql3.validation.operations.AlterTest
{code}


> Test Failure: 
> a.a.c.cql3.validation.operations.AlterTest#testDropListAndAddListWithSameName
> -------------------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-18360
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-18360
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Test/unit
>            Reporter: Andres de la Peña
>            Priority: Normal
>
> 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 easily can 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:
> {code}
> 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)
> {code}
> and: 
> {code}
> 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)
> {code}
> The CircleCI config I used to reproduce the test failure can be generated 
> with:
> {code}
> .circleci/generate.sh -p \
>   -e REPEATED_UTESTS_COUNT=500 \
>   -e REPEATED_UTESTS=org.apache.cassandra.cql3.validation.operations.AlterTest
> {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to