You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Adam Holmberg (Jira)" <ji...@apache.org> on 2021/04/22 21:39:00 UTC

[jira] [Commented] (CASSANDRA-16596) Test org.apache.cassandra.net.AsyncPromiseTest FAILED

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

Adam Holmberg commented on CASSANDRA-16596:
-------------------------------------------

I believe this is nothing more interesting than an actual timeout. I could reproduce this occasionally on a resource-constrained VM. I raised the timeout and it never reproduced. Meanwhile I did some static analysis looking for races around the async completions, but didn't see anything suspicious.

Brace yourself for this earth-shattering patch:

[patch|https://github.com/aholmberg/cassandra/pull/55]
[ci|https://app.circleci.com/pipelines/github/aholmberg/cassandra?branch=CASSANDRA-16596]



> Test org.apache.cassandra.net.AsyncPromiseTest FAILED
> -----------------------------------------------------
>
>                 Key: CASSANDRA-16596
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-16596
>             Project: Cassandra
>          Issue Type: Bug
>          Components: CI
>            Reporter: Ekaterina Dimitrova
>            Assignee: Adam Holmberg
>            Priority: Normal
>             Fix For: 4.0, 4.0-rc
>
>
> Not seen in Jenkins but reported a few times from CircleCI so it seems legit problem:
> [Test org.apache.cassandra.net.AsyncPromiseTest FAILED|https://jenkins-cm4.apache.org/job/Cassandra-trunk/434/testReport/org.apache.cassandra.net/AsyncPromiseTest/]
> CircleCI [failiure|https://app.circleci.com/pipelines/github/ekaterinadimitrova2/cassandra/743/workflows/35cea1fd-6f38-4f09-9d7f-4673c34a9851/jobs/4104/parallel-runs/17]
> {noformat}
> Testcase: testFailure(org.apache.cassandra.net.AsyncPromiseTest):   FAILED
> 8
> junit.framework.AssertionFailedError: 8
>     at org.apache.cassandra.net.TestAbstractPromise$Async.verify(TestAbstractPromise.java:53)
>     at org.apache.cassandra.net.TestAbstractAsyncPromise.testOneFailure(TestAbstractAsyncPromise.java:178)
>     at org.apache.cassandra.net.AsyncPromiseTest.testFailure(AsyncPromiseTest.java:54)
>     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)
> Caused by: java.util.concurrent.TimeoutException
>     at java.base/java.util.concurrent.FutureTask.get(FutureTask.java:204)
>     at org.apache.cassandra.net.TestAbstractPromise$Async.verify(TestAbstractPromise.java:49)
> Test org.apache.cassandra.net.AsyncPromiseTest FAILED
> {noformat}
> Also Caleb mentioned he is seeing it in another CI infra too
> CC [~maedhroz]



--
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