You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Ekaterina Dimitrova (Jira)" <ji...@apache.org> on 2022/10/20 20:22:00 UTC

[jira] [Comment Edited] (CASSANDRA-17980) Fix flaky Python DTest materialized_views_test.TestMaterializedViews.test_resume_stopped_build

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

Ekaterina Dimitrova edited comment on CASSANDRA-17980 at 10/20/22 8:21 PM:
---------------------------------------------------------------------------

Ops, which branch you tested with? 4.0? This is where we reproduced. Also, can we try also the other branches in a loop? Sorry missed that with my previous comment. Was too excited to get rid of one more flaky test :D


was (Author: e.dimitrova):
Ops, which branch you tested with? 4.0? This is where we reproduced. Also, can we try also the other branches in a loop?

> Fix flaky Python DTest materialized_views_test.TestMaterializedViews.test_resume_stopped_build
> ----------------------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-17980
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-17980
>             Project: Cassandra
>          Issue Type: Bug
>          Components: CI
>            Reporter: Ekaterina Dimitrova
>            Assignee: Brandon Williams
>            Priority: Normal
>             Fix For: 4.0.x, 4.1.x, 4.x
>
>
> [This run|https://app.circleci.com/pipelines/github/ekaterinadimitrova2/cassandra?branch=test-resume-stopped-build] shows Python DTest materialized_views_test.TestMaterializedViews.test_resume_stopped_build is flaky on current 4.0 (other branches to be verified)
>  
> {code:java}
> test teardown failure Unexpected error found in node logs (see stdout for full details). Errors: [[node2] 'ERROR [OptionalTasks:1] 2022-10-20 15:47:34,947 CassandraDaemon.java:581 - Exception in thread Thread[OptionalTasks:1,5,main]\njava.lang.RuntimeException: java.util.concurrent.ExecutionException: org.apache.cassandra.db.view.ViewBuilderTask$StoppedException: Compaction interrupted: View build(82580ca3-508e-11ed-b50c-8bdefae2f6eb, 119 / 1000 token range parts)@789d3460-508e-11ed-b50c-8bdefae2f6eb(ks, t)\n\tat org.apache.cassandra.utils.FBUtilities.waitOnFuture(FBUtilities.java:488)\n\tat org.apache.cassandra.db.view.ViewBuilder.stop(ViewBuilder.java:236)\n\tat org.apache.cassandra.db.view.View.stopBuild(View.java:224)\n\tat org.apache.cassandra.db.view.View.build(View.java:211)\n\tat org.apache.cassandra.db.view.ViewManager.buildAllViews(ViewManager.java:180)\n\tat org.apache.cassandra.service.CassandraDaemon.lambda$setup$2(CassandraDaemon.java:433)\n\tat java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)\n\tat java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)\n\tat java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\nCaused by: java.util.concurrent.ExecutionException: org.apache.cassandra.db.view.ViewBuilderTask$StoppedException: Compaction interrupted: View build(82580ca3-508e-11ed-b50c-8bdefae2f6eb, 119 / 1000 token range parts)@789d3460-508e-11ed-b50c-8bdefae2f6eb(ks, t)\n\tat com.google.common.util.concurrent.AbstractFuture.getDoneValue(AbstractFuture.java:552)\n\tat com.google.common.util.concurrent.AbstractFuture.get(AbstractFuture.java:533)\n\tat com.google.common.util.concurrent.AbstractFuture$TrustedFuture.get(AbstractFuture.java:90)\n\tat org.apache.cassandra.utils.FBUtilities.waitOnFuture(FBUtilities.java:484)\n\t... 12 common frames omitted\nCaused by: org.apache.cassandra.db.view.ViewBuilderTask$StoppedException: Compaction interrupted: View build(82580ca3-508e-11ed-b50c-8bdefae2f6eb, 119 / 1000 token range parts)@789d3460-508e-11ed-b50c-8bdefae2f6eb(ks, t)\n\tat org.apache.cassandra.db.view.ViewBuilderTask.finish(ViewBuilderTask.java:194)\n\tat org.apache.cassandra.db.view.ViewBuilderTask.call(ViewBuilderTask.java:171)\n\tat org.apache.cassandra.db.compaction.CompactionManager.lambda$submitViewBuilder$6(CompactionManager.java:1802)\n\tat java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)\n\tat org.apache.cassandra.concurrent.DebuggableThreadPoolExecutor$FutureLocalSessionWrapper.lambda$new$0(DebuggableThreadPoolExecutor.java:408)\n\tat java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)\n\t... 4 common frames omitted']{code}



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

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