You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Andres de la Peña (Jira)" <ji...@apache.org> on 2021/04/08 12:00:11 UTC

[jira] [Commented] (CASSANDRA-16567) Fix test testCompoundPartitionKey - org.apache.cassandra.cql3.ViewTest

    [ https://issues.apache.org/jira/browse/CASSANDRA-16567?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17317124#comment-17317124 ] 

Andres de la Peña commented on CASSANDRA-16567:
-----------------------------------------------

I think that this test is not failing in regular cassandra-ci jobs, at leat [not recently|https://ci-cassandra.apache.org/job/Cassandra-trunk/416/testReport/org.apache.cassandra.cql3/ViewTest/].

I haven't been able to reproduce it locally with 2000 rounds. Our internal Jenkins-based multiplexer hasn't been able to reproduce it with 600 runs for the {{testCompoundPartitionKey}} method, nor with another 600 rounds for the entire {{ViewTest}} class.

Since we don't have an analogous multiplexer for ci-cassandra nor CircleCI, I have created [this ugly test|https://github.com/adelapena/cassandra/commit/d37ba480a0006cc1eeffa4c9f402f85bb7d0fae0] that just repeats {{testCompoundPartitionKey}} 100 times, so we can try to reproduce the failure on our CI envs. This test passes multiple times both locally and on ci-cassandra, whereas it relatively easily reproduces the investigated failure on CircleCI.

So it seems that by now this is looking like a CircleCI-only failure.

> Fix test testCompoundPartitionKey - org.apache.cassandra.cql3.ViewTest
> ----------------------------------------------------------------------
>
>                 Key: CASSANDRA-16567
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-16567
>             Project: Cassandra
>          Issue Type: Bug
>          Components: CI, Test/unit
>            Reporter: David Capwell
>            Assignee: Andres de la Peña
>            Priority: Normal
>             Fix For: 4.0-rc
>
>
> https://app.circleci.com/pipelines/github/dcapwell/cassandra/874/workflows/0b0a1e36-107a-43c7-815f-bf8e61d3028d/jobs/5227/tests
> {code}
> junit.framework.AssertionFailedError: Got more rows than expected. Expected 0 but got 1.
> 	at org.apache.cassandra.cql3.CQLTester.assertRows(CQLTester.java:1185)
> 	at org.apache.cassandra.cql3.ViewTest.testCompoundPartitionKey(ViewTest.java:817)
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org