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

Stefan Miklosovic edited comment on CASSANDRA-17849 at 8/23/22 5:59 PM:
------------------------------------------------------------------------

Sorry for hijacking this as Brandon is assigned to this but I just found the 
reason why that whole test class behaves flaky. It is obvious from the PR. Very 
trivial fix.

https://github.com/apache/cassandra/pull/1812
https://app.circleci.com/pipelines/github/instaclustr/cassandra/1226/workflows/b38415da-be17-48cf-b4c9-36a4068bcc26


was (Author: smiklosovic):
Sorry for hijacking this as Brandon is assigned to this but I just found the 
reason why that whole test class behaves flaky. It is obvious from the PR. Very 
trivial fix.

https://github.com/apache/cassandra/pull/1812
https://app.circleci.com/pipelines/github/instaclustr/cassandra/1225/workflows/c45d9015-16a8-4e00-9a20-563a52164ab4

> Test failure: 
> org.apache.cassandra.tools.StandaloneUpgraderOnSStablesTest.testUpgradeSnapshot
> ---------------------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-17849
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-17849
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Test/unit
>            Reporter: Andres de la Peña
>            Assignee: Stefan Miklosovic
>            Priority: Normal
>             Fix For: 4.x
>
>
> The test 
> {{org.apache.cassandra.tools.StandaloneUpgraderOnSStablesTest.testUpgradeSnapshot}}
>  is flaky on trunk, [as reported by 
> Butler|https://butler.cassandra.apache.org/#/ci/upstream/workflow/Cassandra-trunk/failure/org.apache.cassandra.tools/StandaloneUpgraderOnSStablesTest/testUpgradeSnapshot]:
> * 
> https://ci-cassandra.apache.org/job/Cassandra-trunk/1287/testReport/org.apache.cassandra.tools/StandaloneUpgraderOnSStablesTest/testUpgradeSnapshot/
> * 
> https://ci-cassandra.apache.org/job/Cassandra-trunk/1286/testReport/org.apache.cassandra.tools/StandaloneUpgraderOnSStablesTest/testUpgradeSnapshot/
> * 
> https://ci-cassandra.apache.org/job/Cassandra-trunk/1285/testReport/org.apache.cassandra.tools/StandaloneUpgraderOnSStablesTest/testUpgradeSnapshot/
> {code}
> Failed 1 times in the last 27 runs. Flakiness: 3%, Stability: 96%
> Error Message
> Timeout occurred. Please note the time in the report does not reflect the 
> time until the timeout.
> Stacktrace
> junit.framework.AssertionFailedError: Timeout occurred. Please note the time 
> in the report does not reflect the time until the timeout.
>       at java.util.Vector.forEach(Vector.java:1277)
>       at java.util.Vector.forEach(Vector.java:1277)
>       at java.util.Vector.forEach(Vector.java:1277)
>       at org.apache.cassandra.anttasks.TestHelper.execute(TestHelper.java:53)
>       at java.util.Vector.forEach(Vector.java:1277)
> {code}
> It seems that the test gets stuck until JUnit timeouts.



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

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

Reply via email to