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

Ekaterina Dimitrova commented on CASSANDRA-17980:
-------------------------------------------------

SGTM, as long as there were no recent changes around that test in the DTest 
repo it makes sense to me
The runs published also seem ok from the perspective of this patch. We need to 
check for tickets for the few failures, I do not remember seeing those

> 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, 5.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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to