[jira] [Commented] (CASSANDRA-17894) Test Failure: dtest-large.topology_test.TestTopology.test_stop_decommission_too_few_replicas_multi_dc

2022-10-06 Thread Brandon Williams (Jira)


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

Brandon Williams commented on CASSANDRA-17894:
--

The logs indicate node4 never received the 'create ks' mutation, only the 
system_distributed change, and then the request to drop 'ks' which caused this 
error.  Given that this only repros on occasion in Jenkins, I'm blocking this 
on CASSANDRA-17932 since there's nothing obvious left to take a shot in the 
dark at like before.


> Test Failure: 
> dtest-large.topology_test.TestTopology.test_stop_decommission_too_few_replicas_multi_dc
>  
> --
>
> Key: CASSANDRA-17894
> URL: https://issues.apache.org/jira/browse/CASSANDRA-17894
> Project: Cassandra
>  Issue Type: Bug
>  Components: Test/dtest/python
>Reporter: Josh McKenzie
>Assignee: Brandon Williams
>Priority: Normal
> Fix For: 4.1-rc, 4.1
>
>
> Link to failure: 
> https://ci-cassandra.apache.org/job/Cassandra-4.1/162/testReport/dtest-large.topology_test/TestTopology/test_stop_decommission_too_few_replicas_multi_dc/
> Error Message
> test teardown failure
> Stacktrace
> {code}
> Unexpected error found in node logs (see stdout for full details). Errors: 
> [[node1] 'ERROR [OptionalTasks:1] 2022-09-13 02:10:09,576 
> JVMStabilityInspector.java:68 - Exception in thread 
> Thread[OptionalTasks:1,5,OptionalTasks]\njava.lang.AssertionError: Unknown 
> keyspace ks\n\tat 
> org.apache.cassandra.db.Keyspace.(Keyspace.java:339)\n\tat 
> org.apache.cassandra.db.Keyspace.lambda$open$0(Keyspace.java:163)\n\tat 
> org.apache.cassandra.utils.concurrent.LoadingMap.blockingLoadIfAbsent(LoadingMap.java:105)\n\tat
>  
> org.apache.cassandra.schema.Schema.maybeAddKeyspaceInstance(Schema.java:228)\n\tat
>  org.apache.cassandra.db.Keyspace.open(Keyspace.java:163)\n\tat 
> org.apache.cassandra.db.Keyspace.open(Keyspace.java:152)\n\tat 
> com.google.common.collect.Iterators$6.transform(Iterators.java:785)\n\tat 
> com.google.common.collect.TransformedIterator.next(TransformedIterator.java:47)\n\tat
>  
> org.apache.cassandra.db.SizeEstimatesRecorder.run(SizeEstimatesRecorder.java:74)\n\tat
>  
> org.apache.cassandra.concurrent.ExecutionFailure$1.run(ExecutionFailure.java:124)\n\tat
>  
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)\n\tat 
> java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)\n\tat 
> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)\n\tat
>  
> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)\n\tat
>  
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)\n\tat
>  
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)\n\tat
>  
> io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)\n\tat
>  java.lang.Thread.run(Thread.java:748)']
> {code}



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



[jira] [Commented] (CASSANDRA-17894) Test Failure: dtest-large.topology_test.TestTopology.test_stop_decommission_too_few_replicas_multi_dc

2022-09-23 Thread Brandon Williams (Jira)


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

Brandon Williams commented on CASSANDRA-17894:
--

Committed.

> Test Failure: 
> dtest-large.topology_test.TestTopology.test_stop_decommission_too_few_replicas_multi_dc
>  
> --
>
> Key: CASSANDRA-17894
> URL: https://issues.apache.org/jira/browse/CASSANDRA-17894
> Project: Cassandra
>  Issue Type: Bug
>  Components: Test/dtest/python
>Reporter: Josh McKenzie
>Assignee: Brandon Williams
>Priority: Normal
> Fix For: 4.1-beta, 4.1
>
>
> Link to failure: 
> https://ci-cassandra.apache.org/job/Cassandra-4.1/162/testReport/dtest-large.topology_test/TestTopology/test_stop_decommission_too_few_replicas_multi_dc/
> Error Message
> test teardown failure
> Stacktrace
> {code}
> Unexpected error found in node logs (see stdout for full details). Errors: 
> [[node1] 'ERROR [OptionalTasks:1] 2022-09-13 02:10:09,576 
> JVMStabilityInspector.java:68 - Exception in thread 
> Thread[OptionalTasks:1,5,OptionalTasks]\njava.lang.AssertionError: Unknown 
> keyspace ks\n\tat 
> org.apache.cassandra.db.Keyspace.(Keyspace.java:339)\n\tat 
> org.apache.cassandra.db.Keyspace.lambda$open$0(Keyspace.java:163)\n\tat 
> org.apache.cassandra.utils.concurrent.LoadingMap.blockingLoadIfAbsent(LoadingMap.java:105)\n\tat
>  
> org.apache.cassandra.schema.Schema.maybeAddKeyspaceInstance(Schema.java:228)\n\tat
>  org.apache.cassandra.db.Keyspace.open(Keyspace.java:163)\n\tat 
> org.apache.cassandra.db.Keyspace.open(Keyspace.java:152)\n\tat 
> com.google.common.collect.Iterators$6.transform(Iterators.java:785)\n\tat 
> com.google.common.collect.TransformedIterator.next(TransformedIterator.java:47)\n\tat
>  
> org.apache.cassandra.db.SizeEstimatesRecorder.run(SizeEstimatesRecorder.java:74)\n\tat
>  
> org.apache.cassandra.concurrent.ExecutionFailure$1.run(ExecutionFailure.java:124)\n\tat
>  
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)\n\tat 
> java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)\n\tat 
> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)\n\tat
>  
> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)\n\tat
>  
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)\n\tat
>  
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)\n\tat
>  
> io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)\n\tat
>  java.lang.Thread.run(Thread.java:748)']
> {code}



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



[jira] [Commented] (CASSANDRA-17894) Test Failure: dtest-large.topology_test.TestTopology.test_stop_decommission_too_few_replicas_multi_dc

2022-09-23 Thread Ekaterina Dimitrova (Jira)


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

Ekaterina Dimitrova commented on CASSANDRA-17894:
-

+1,  thanks

> Test Failure: 
> dtest-large.topology_test.TestTopology.test_stop_decommission_too_few_replicas_multi_dc
>  
> --
>
> Key: CASSANDRA-17894
> URL: https://issues.apache.org/jira/browse/CASSANDRA-17894
> Project: Cassandra
>  Issue Type: Bug
>  Components: Test/dtest/python
>Reporter: Josh McKenzie
>Assignee: Brandon Williams
>Priority: Normal
> Fix For: 4.1-beta, 4.1.x, 4.x
>
>
> Link to failure: 
> https://ci-cassandra.apache.org/job/Cassandra-4.1/162/testReport/dtest-large.topology_test/TestTopology/test_stop_decommission_too_few_replicas_multi_dc/
> Error Message
> test teardown failure
> Stacktrace
> {code}
> Unexpected error found in node logs (see stdout for full details). Errors: 
> [[node1] 'ERROR [OptionalTasks:1] 2022-09-13 02:10:09,576 
> JVMStabilityInspector.java:68 - Exception in thread 
> Thread[OptionalTasks:1,5,OptionalTasks]\njava.lang.AssertionError: Unknown 
> keyspace ks\n\tat 
> org.apache.cassandra.db.Keyspace.(Keyspace.java:339)\n\tat 
> org.apache.cassandra.db.Keyspace.lambda$open$0(Keyspace.java:163)\n\tat 
> org.apache.cassandra.utils.concurrent.LoadingMap.blockingLoadIfAbsent(LoadingMap.java:105)\n\tat
>  
> org.apache.cassandra.schema.Schema.maybeAddKeyspaceInstance(Schema.java:228)\n\tat
>  org.apache.cassandra.db.Keyspace.open(Keyspace.java:163)\n\tat 
> org.apache.cassandra.db.Keyspace.open(Keyspace.java:152)\n\tat 
> com.google.common.collect.Iterators$6.transform(Iterators.java:785)\n\tat 
> com.google.common.collect.TransformedIterator.next(TransformedIterator.java:47)\n\tat
>  
> org.apache.cassandra.db.SizeEstimatesRecorder.run(SizeEstimatesRecorder.java:74)\n\tat
>  
> org.apache.cassandra.concurrent.ExecutionFailure$1.run(ExecutionFailure.java:124)\n\tat
>  
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)\n\tat 
> java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)\n\tat 
> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)\n\tat
>  
> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)\n\tat
>  
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)\n\tat
>  
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)\n\tat
>  
> io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)\n\tat
>  java.lang.Thread.run(Thread.java:748)']
> {code}



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



[jira] [Commented] (CASSANDRA-17894) Test Failure: dtest-large.topology_test.TestTopology.test_stop_decommission_too_few_replicas_multi_dc

2022-09-23 Thread Brandon Williams (Jira)


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

Brandon Williams commented on CASSANDRA-17894:
--

bq. ISTM we could benefit from something like an executeSchemaChange() call

Or if the driver would handle it with every session.execute(), since that's how 
we do all the schema changes.  In any case that's refactoring for a different 
ticket, we have 40+ instances of waits now.

bq. Seems to me with this method the default is none and create_ks gives 120?

The default is 10 in the driver, and we don't specify a wait_time in the vast 
majority of our uses.  Maybe it's better to run with what a client would 
probably use until we have a problem?

> Test Failure: 
> dtest-large.topology_test.TestTopology.test_stop_decommission_too_few_replicas_multi_dc
>  
> --
>
> Key: CASSANDRA-17894
> URL: https://issues.apache.org/jira/browse/CASSANDRA-17894
> Project: Cassandra
>  Issue Type: Bug
>  Components: Test/dtest/python
>Reporter: Josh McKenzie
>Assignee: Brandon Williams
>Priority: Normal
> Fix For: 4.1-beta, 4.1.x, 4.x
>
>
> Link to failure: 
> https://ci-cassandra.apache.org/job/Cassandra-4.1/162/testReport/dtest-large.topology_test/TestTopology/test_stop_decommission_too_few_replicas_multi_dc/
> Error Message
> test teardown failure
> Stacktrace
> {code}
> Unexpected error found in node logs (see stdout for full details). Errors: 
> [[node1] 'ERROR [OptionalTasks:1] 2022-09-13 02:10:09,576 
> JVMStabilityInspector.java:68 - Exception in thread 
> Thread[OptionalTasks:1,5,OptionalTasks]\njava.lang.AssertionError: Unknown 
> keyspace ks\n\tat 
> org.apache.cassandra.db.Keyspace.(Keyspace.java:339)\n\tat 
> org.apache.cassandra.db.Keyspace.lambda$open$0(Keyspace.java:163)\n\tat 
> org.apache.cassandra.utils.concurrent.LoadingMap.blockingLoadIfAbsent(LoadingMap.java:105)\n\tat
>  
> org.apache.cassandra.schema.Schema.maybeAddKeyspaceInstance(Schema.java:228)\n\tat
>  org.apache.cassandra.db.Keyspace.open(Keyspace.java:163)\n\tat 
> org.apache.cassandra.db.Keyspace.open(Keyspace.java:152)\n\tat 
> com.google.common.collect.Iterators$6.transform(Iterators.java:785)\n\tat 
> com.google.common.collect.TransformedIterator.next(TransformedIterator.java:47)\n\tat
>  
> org.apache.cassandra.db.SizeEstimatesRecorder.run(SizeEstimatesRecorder.java:74)\n\tat
>  
> org.apache.cassandra.concurrent.ExecutionFailure$1.run(ExecutionFailure.java:124)\n\tat
>  
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)\n\tat 
> java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)\n\tat 
> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)\n\tat
>  
> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)\n\tat
>  
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)\n\tat
>  
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)\n\tat
>  
> io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)\n\tat
>  java.lang.Thread.run(Thread.java:748)']
> {code}



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



[jira] [Commented] (CASSANDRA-17894) Test Failure: dtest-large.topology_test.TestTopology.test_stop_decommission_too_few_replicas_multi_dc

2022-09-23 Thread Ekaterina Dimitrova (Jira)


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

Ekaterina Dimitrova commented on CASSANDRA-17894:
-

Agreed, I suggest we fix this one and open an additional improvement ticket to 
evaluate all calls around the tests. But not as part of this ticket being our 
last one before beta. 

> Test Failure: 
> dtest-large.topology_test.TestTopology.test_stop_decommission_too_few_replicas_multi_dc
>  
> --
>
> Key: CASSANDRA-17894
> URL: https://issues.apache.org/jira/browse/CASSANDRA-17894
> Project: Cassandra
>  Issue Type: Bug
>  Components: Test/dtest/python
>Reporter: Josh McKenzie
>Assignee: Brandon Williams
>Priority: Normal
> Fix For: 4.1-beta, 4.1.x, 4.x
>
>
> Link to failure: 
> https://ci-cassandra.apache.org/job/Cassandra-4.1/162/testReport/dtest-large.topology_test/TestTopology/test_stop_decommission_too_few_replicas_multi_dc/
> Error Message
> test teardown failure
> Stacktrace
> {code}
> Unexpected error found in node logs (see stdout for full details). Errors: 
> [[node1] 'ERROR [OptionalTasks:1] 2022-09-13 02:10:09,576 
> JVMStabilityInspector.java:68 - Exception in thread 
> Thread[OptionalTasks:1,5,OptionalTasks]\njava.lang.AssertionError: Unknown 
> keyspace ks\n\tat 
> org.apache.cassandra.db.Keyspace.(Keyspace.java:339)\n\tat 
> org.apache.cassandra.db.Keyspace.lambda$open$0(Keyspace.java:163)\n\tat 
> org.apache.cassandra.utils.concurrent.LoadingMap.blockingLoadIfAbsent(LoadingMap.java:105)\n\tat
>  
> org.apache.cassandra.schema.Schema.maybeAddKeyspaceInstance(Schema.java:228)\n\tat
>  org.apache.cassandra.db.Keyspace.open(Keyspace.java:163)\n\tat 
> org.apache.cassandra.db.Keyspace.open(Keyspace.java:152)\n\tat 
> com.google.common.collect.Iterators$6.transform(Iterators.java:785)\n\tat 
> com.google.common.collect.TransformedIterator.next(TransformedIterator.java:47)\n\tat
>  
> org.apache.cassandra.db.SizeEstimatesRecorder.run(SizeEstimatesRecorder.java:74)\n\tat
>  
> org.apache.cassandra.concurrent.ExecutionFailure$1.run(ExecutionFailure.java:124)\n\tat
>  
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)\n\tat 
> java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)\n\tat 
> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)\n\tat
>  
> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)\n\tat
>  
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)\n\tat
>  
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)\n\tat
>  
> io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)\n\tat
>  java.lang.Thread.run(Thread.java:748)']
> {code}



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



[jira] [Commented] (CASSANDRA-17894) Test Failure: dtest-large.topology_test.TestTopology.test_stop_decommission_too_few_replicas_multi_dc

2022-09-23 Thread Josh McKenzie (Jira)


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

Josh McKenzie commented on CASSANDRA-17894:
---

ISTM we could benefit from something like an {{executeSchemaChange()}} call 
that's basically execute + the 
{{session.cluster.control_connection.wait_for_schema_agreement()}} call. I 
can't imagine many places in tests where we _wouldn't_ explicitly want to wait 
for schema to be agreed upon right?

> Test Failure: 
> dtest-large.topology_test.TestTopology.test_stop_decommission_too_few_replicas_multi_dc
>  
> --
>
> Key: CASSANDRA-17894
> URL: https://issues.apache.org/jira/browse/CASSANDRA-17894
> Project: Cassandra
>  Issue Type: Bug
>  Components: Test/dtest/python
>Reporter: Josh McKenzie
>Assignee: Brandon Williams
>Priority: Normal
> Fix For: 4.1-beta, 4.1.x, 4.x
>
>
> Link to failure: 
> https://ci-cassandra.apache.org/job/Cassandra-4.1/162/testReport/dtest-large.topology_test/TestTopology/test_stop_decommission_too_few_replicas_multi_dc/
> Error Message
> test teardown failure
> Stacktrace
> {code}
> Unexpected error found in node logs (see stdout for full details). Errors: 
> [[node1] 'ERROR [OptionalTasks:1] 2022-09-13 02:10:09,576 
> JVMStabilityInspector.java:68 - Exception in thread 
> Thread[OptionalTasks:1,5,OptionalTasks]\njava.lang.AssertionError: Unknown 
> keyspace ks\n\tat 
> org.apache.cassandra.db.Keyspace.(Keyspace.java:339)\n\tat 
> org.apache.cassandra.db.Keyspace.lambda$open$0(Keyspace.java:163)\n\tat 
> org.apache.cassandra.utils.concurrent.LoadingMap.blockingLoadIfAbsent(LoadingMap.java:105)\n\tat
>  
> org.apache.cassandra.schema.Schema.maybeAddKeyspaceInstance(Schema.java:228)\n\tat
>  org.apache.cassandra.db.Keyspace.open(Keyspace.java:163)\n\tat 
> org.apache.cassandra.db.Keyspace.open(Keyspace.java:152)\n\tat 
> com.google.common.collect.Iterators$6.transform(Iterators.java:785)\n\tat 
> com.google.common.collect.TransformedIterator.next(TransformedIterator.java:47)\n\tat
>  
> org.apache.cassandra.db.SizeEstimatesRecorder.run(SizeEstimatesRecorder.java:74)\n\tat
>  
> org.apache.cassandra.concurrent.ExecutionFailure$1.run(ExecutionFailure.java:124)\n\tat
>  
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)\n\tat 
> java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)\n\tat 
> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)\n\tat
>  
> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)\n\tat
>  
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)\n\tat
>  
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)\n\tat
>  
> io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)\n\tat
>  java.lang.Thread.run(Thread.java:748)']
> {code}



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



[jira] [Commented] (CASSANDRA-17894) Test Failure: dtest-large.topology_test.TestTopology.test_stop_decommission_too_few_replicas_multi_dc

2022-09-23 Thread Ekaterina Dimitrova (Jira)


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

Ekaterina Dimitrova commented on CASSANDRA-17894:
-

Seems to me the default is none and create_ks gives 120?

> Test Failure: 
> dtest-large.topology_test.TestTopology.test_stop_decommission_too_few_replicas_multi_dc
>  
> --
>
> Key: CASSANDRA-17894
> URL: https://issues.apache.org/jira/browse/CASSANDRA-17894
> Project: Cassandra
>  Issue Type: Bug
>  Components: Test/dtest/python
>Reporter: Josh McKenzie
>Assignee: Brandon Williams
>Priority: Normal
> Fix For: 4.1-beta, 4.1.x, 4.x
>
>
> Link to failure: 
> https://ci-cassandra.apache.org/job/Cassandra-4.1/162/testReport/dtest-large.topology_test/TestTopology/test_stop_decommission_too_few_replicas_multi_dc/
> Error Message
> test teardown failure
> Stacktrace
> {code}
> Unexpected error found in node logs (see stdout for full details). Errors: 
> [[node1] 'ERROR [OptionalTasks:1] 2022-09-13 02:10:09,576 
> JVMStabilityInspector.java:68 - Exception in thread 
> Thread[OptionalTasks:1,5,OptionalTasks]\njava.lang.AssertionError: Unknown 
> keyspace ks\n\tat 
> org.apache.cassandra.db.Keyspace.(Keyspace.java:339)\n\tat 
> org.apache.cassandra.db.Keyspace.lambda$open$0(Keyspace.java:163)\n\tat 
> org.apache.cassandra.utils.concurrent.LoadingMap.blockingLoadIfAbsent(LoadingMap.java:105)\n\tat
>  
> org.apache.cassandra.schema.Schema.maybeAddKeyspaceInstance(Schema.java:228)\n\tat
>  org.apache.cassandra.db.Keyspace.open(Keyspace.java:163)\n\tat 
> org.apache.cassandra.db.Keyspace.open(Keyspace.java:152)\n\tat 
> com.google.common.collect.Iterators$6.transform(Iterators.java:785)\n\tat 
> com.google.common.collect.TransformedIterator.next(TransformedIterator.java:47)\n\tat
>  
> org.apache.cassandra.db.SizeEstimatesRecorder.run(SizeEstimatesRecorder.java:74)\n\tat
>  
> org.apache.cassandra.concurrent.ExecutionFailure$1.run(ExecutionFailure.java:124)\n\tat
>  
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)\n\tat 
> java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)\n\tat 
> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)\n\tat
>  
> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)\n\tat
>  
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)\n\tat
>  
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)\n\tat
>  
> io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)\n\tat
>  java.lang.Thread.run(Thread.java:748)']
> {code}



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



[jira] [Commented] (CASSANDRA-17894) Test Failure: dtest-large.topology_test.TestTopology.test_stop_decommission_too_few_replicas_multi_dc

2022-09-23 Thread Brandon Williams (Jira)


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

Brandon Williams commented on CASSANDRA-17894:
--

To be longer or shorter than the default?

> Test Failure: 
> dtest-large.topology_test.TestTopology.test_stop_decommission_too_few_replicas_multi_dc
>  
> --
>
> Key: CASSANDRA-17894
> URL: https://issues.apache.org/jira/browse/CASSANDRA-17894
> Project: Cassandra
>  Issue Type: Bug
>  Components: Test/dtest/python
>Reporter: Josh McKenzie
>Assignee: Brandon Williams
>Priority: Normal
> Fix For: 4.1-beta, 4.1.x, 4.x
>
>
> Link to failure: 
> https://ci-cassandra.apache.org/job/Cassandra-4.1/162/testReport/dtest-large.topology_test/TestTopology/test_stop_decommission_too_few_replicas_multi_dc/
> Error Message
> test teardown failure
> Stacktrace
> {code}
> Unexpected error found in node logs (see stdout for full details). Errors: 
> [[node1] 'ERROR [OptionalTasks:1] 2022-09-13 02:10:09,576 
> JVMStabilityInspector.java:68 - Exception in thread 
> Thread[OptionalTasks:1,5,OptionalTasks]\njava.lang.AssertionError: Unknown 
> keyspace ks\n\tat 
> org.apache.cassandra.db.Keyspace.(Keyspace.java:339)\n\tat 
> org.apache.cassandra.db.Keyspace.lambda$open$0(Keyspace.java:163)\n\tat 
> org.apache.cassandra.utils.concurrent.LoadingMap.blockingLoadIfAbsent(LoadingMap.java:105)\n\tat
>  
> org.apache.cassandra.schema.Schema.maybeAddKeyspaceInstance(Schema.java:228)\n\tat
>  org.apache.cassandra.db.Keyspace.open(Keyspace.java:163)\n\tat 
> org.apache.cassandra.db.Keyspace.open(Keyspace.java:152)\n\tat 
> com.google.common.collect.Iterators$6.transform(Iterators.java:785)\n\tat 
> com.google.common.collect.TransformedIterator.next(TransformedIterator.java:47)\n\tat
>  
> org.apache.cassandra.db.SizeEstimatesRecorder.run(SizeEstimatesRecorder.java:74)\n\tat
>  
> org.apache.cassandra.concurrent.ExecutionFailure$1.run(ExecutionFailure.java:124)\n\tat
>  
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)\n\tat 
> java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)\n\tat 
> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)\n\tat
>  
> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)\n\tat
>  
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)\n\tat
>  
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)\n\tat
>  
> io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)\n\tat
>  java.lang.Thread.run(Thread.java:748)']
> {code}



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



[jira] [Commented] (CASSANDRA-17894) Test Failure: dtest-large.topology_test.TestTopology.test_stop_decommission_too_few_replicas_multi_dc

2022-09-23 Thread Ekaterina Dimitrova (Jira)


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

Ekaterina Dimitrova commented on CASSANDRA-17894:
-

Makes sense, do we want to add wait_time maybe?  

> Test Failure: 
> dtest-large.topology_test.TestTopology.test_stop_decommission_too_few_replicas_multi_dc
>  
> --
>
> Key: CASSANDRA-17894
> URL: https://issues.apache.org/jira/browse/CASSANDRA-17894
> Project: Cassandra
>  Issue Type: Bug
>  Components: Test/dtest/python
>Reporter: Josh McKenzie
>Assignee: Brandon Williams
>Priority: Normal
> Fix For: 4.1-beta, 4.1.x, 4.x
>
>
> Link to failure: 
> https://ci-cassandra.apache.org/job/Cassandra-4.1/162/testReport/dtest-large.topology_test/TestTopology/test_stop_decommission_too_few_replicas_multi_dc/
> Error Message
> test teardown failure
> Stacktrace
> {code}
> Unexpected error found in node logs (see stdout for full details). Errors: 
> [[node1] 'ERROR [OptionalTasks:1] 2022-09-13 02:10:09,576 
> JVMStabilityInspector.java:68 - Exception in thread 
> Thread[OptionalTasks:1,5,OptionalTasks]\njava.lang.AssertionError: Unknown 
> keyspace ks\n\tat 
> org.apache.cassandra.db.Keyspace.(Keyspace.java:339)\n\tat 
> org.apache.cassandra.db.Keyspace.lambda$open$0(Keyspace.java:163)\n\tat 
> org.apache.cassandra.utils.concurrent.LoadingMap.blockingLoadIfAbsent(LoadingMap.java:105)\n\tat
>  
> org.apache.cassandra.schema.Schema.maybeAddKeyspaceInstance(Schema.java:228)\n\tat
>  org.apache.cassandra.db.Keyspace.open(Keyspace.java:163)\n\tat 
> org.apache.cassandra.db.Keyspace.open(Keyspace.java:152)\n\tat 
> com.google.common.collect.Iterators$6.transform(Iterators.java:785)\n\tat 
> com.google.common.collect.TransformedIterator.next(TransformedIterator.java:47)\n\tat
>  
> org.apache.cassandra.db.SizeEstimatesRecorder.run(SizeEstimatesRecorder.java:74)\n\tat
>  
> org.apache.cassandra.concurrent.ExecutionFailure$1.run(ExecutionFailure.java:124)\n\tat
>  
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)\n\tat 
> java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)\n\tat 
> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)\n\tat
>  
> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)\n\tat
>  
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)\n\tat
>  
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)\n\tat
>  
> io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)\n\tat
>  java.lang.Thread.run(Thread.java:748)']
> {code}



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



[jira] [Commented] (CASSANDRA-17894) Test Failure: dtest-large.topology_test.TestTopology.test_stop_decommission_too_few_replicas_multi_dc

2022-09-23 Thread Brandon Williams (Jira)


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

Brandon Williams commented on CASSANDRA-17894:
--

As we know, "Unknown keyspace ks" is a schema problem, usually from lack of 
waiting for agreement.  The [create_ks 
call|https://github.com/apache/cassandra-dtest/blob/trunk/topology_test.py#L479]
 already has agreement built in so this shouldn't happen, but there are other 
"unprotected" schema changes present so it's hard to know exactly what 
happened, especially since we lack the logs due to CASSANDRA-17901.  I have
[a branch|https://github.com/driftx/cassandra-dtest/tree/CASSANDRA-17894] that 
waits for agreement after the other changes and a [circle 
run|https://app.circleci.com/pipelines/github/driftx/cassandra/651/workflows/45b3841e-522a-4169-8c27-4a0b518223ed/jobs/7355]
 just to prove it didn't break anything.  I think given that this is the first 
failure we've ever seen and that waiting for agreement is correct regardless, 
we should commit this and we can reopen if it recurs, hopefully armed with the 
logs from CASSANDRA-17901.

> Test Failure: 
> dtest-large.topology_test.TestTopology.test_stop_decommission_too_few_replicas_multi_dc
>  
> --
>
> Key: CASSANDRA-17894
> URL: https://issues.apache.org/jira/browse/CASSANDRA-17894
> Project: Cassandra
>  Issue Type: Bug
>  Components: Test/dtest/python
>Reporter: Josh McKenzie
>Assignee: Brandon Williams
>Priority: Normal
> Fix For: 4.1-beta, 4.1.x, 4.x
>
>
> Link to failure: 
> https://ci-cassandra.apache.org/job/Cassandra-4.1/162/testReport/dtest-large.topology_test/TestTopology/test_stop_decommission_too_few_replicas_multi_dc/
> Error Message
> test teardown failure
> Stacktrace
> {code}
> Unexpected error found in node logs (see stdout for full details). Errors: 
> [[node1] 'ERROR [OptionalTasks:1] 2022-09-13 02:10:09,576 
> JVMStabilityInspector.java:68 - Exception in thread 
> Thread[OptionalTasks:1,5,OptionalTasks]\njava.lang.AssertionError: Unknown 
> keyspace ks\n\tat 
> org.apache.cassandra.db.Keyspace.(Keyspace.java:339)\n\tat 
> org.apache.cassandra.db.Keyspace.lambda$open$0(Keyspace.java:163)\n\tat 
> org.apache.cassandra.utils.concurrent.LoadingMap.blockingLoadIfAbsent(LoadingMap.java:105)\n\tat
>  
> org.apache.cassandra.schema.Schema.maybeAddKeyspaceInstance(Schema.java:228)\n\tat
>  org.apache.cassandra.db.Keyspace.open(Keyspace.java:163)\n\tat 
> org.apache.cassandra.db.Keyspace.open(Keyspace.java:152)\n\tat 
> com.google.common.collect.Iterators$6.transform(Iterators.java:785)\n\tat 
> com.google.common.collect.TransformedIterator.next(TransformedIterator.java:47)\n\tat
>  
> org.apache.cassandra.db.SizeEstimatesRecorder.run(SizeEstimatesRecorder.java:74)\n\tat
>  
> org.apache.cassandra.concurrent.ExecutionFailure$1.run(ExecutionFailure.java:124)\n\tat
>  
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)\n\tat 
> java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)\n\tat 
> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)\n\tat
>  
> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)\n\tat
>  
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)\n\tat
>  
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)\n\tat
>  
> io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)\n\tat
>  java.lang.Thread.run(Thread.java:748)']
> {code}



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



[jira] [Commented] (CASSANDRA-17894) Test Failure: dtest-large.topology_test.TestTopology.test_stop_decommission_too_few_replicas_multi_dc

2022-09-14 Thread Ekaterina Dimitrova (Jira)


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

Ekaterina Dimitrova commented on CASSANDRA-17894:
-

FYI for whoever assigns it, I was trying to reproduce it last night in Circle 
CI with no success so far. 

4.1: 
[j8|https://app.circleci.com/pipelines/github/ekaterinadimitrova2/cassandra/1905/workflows/d8702d7e-ae85-4931-8851-2d89329f2f32]
 , 
[j11|https://app.circleci.com/pipelines/github/ekaterinadimitrova2/cassandra/1905/workflows/ebe2d372-24bc-4392-bae5-e774d6a91e8e]

> Test Failure: 
> dtest-large.topology_test.TestTopology.test_stop_decommission_too_few_replicas_multi_dc
>  
> --
>
> Key: CASSANDRA-17894
> URL: https://issues.apache.org/jira/browse/CASSANDRA-17894
> Project: Cassandra
>  Issue Type: Bug
>  Components: Test/dtest/python
>Reporter: Josh McKenzie
>Priority: Normal
> Fix For: 4.1-beta, 4.1.x, 4.x
>
>
> Link to failure: 
> https://ci-cassandra.apache.org/job/Cassandra-4.1/162/testReport/dtest-large.topology_test/TestTopology/test_stop_decommission_too_few_replicas_multi_dc/
> Error Message
> test teardown failure
> Stacktrace
> {code}
> Unexpected error found in node logs (see stdout for full details). Errors: 
> [[node1] 'ERROR [OptionalTasks:1] 2022-09-13 02:10:09,576 
> JVMStabilityInspector.java:68 - Exception in thread 
> Thread[OptionalTasks:1,5,OptionalTasks]\njava.lang.AssertionError: Unknown 
> keyspace ks\n\tat 
> org.apache.cassandra.db.Keyspace.(Keyspace.java:339)\n\tat 
> org.apache.cassandra.db.Keyspace.lambda$open$0(Keyspace.java:163)\n\tat 
> org.apache.cassandra.utils.concurrent.LoadingMap.blockingLoadIfAbsent(LoadingMap.java:105)\n\tat
>  
> org.apache.cassandra.schema.Schema.maybeAddKeyspaceInstance(Schema.java:228)\n\tat
>  org.apache.cassandra.db.Keyspace.open(Keyspace.java:163)\n\tat 
> org.apache.cassandra.db.Keyspace.open(Keyspace.java:152)\n\tat 
> com.google.common.collect.Iterators$6.transform(Iterators.java:785)\n\tat 
> com.google.common.collect.TransformedIterator.next(TransformedIterator.java:47)\n\tat
>  
> org.apache.cassandra.db.SizeEstimatesRecorder.run(SizeEstimatesRecorder.java:74)\n\tat
>  
> org.apache.cassandra.concurrent.ExecutionFailure$1.run(ExecutionFailure.java:124)\n\tat
>  
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)\n\tat 
> java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)\n\tat 
> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)\n\tat
>  
> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)\n\tat
>  
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)\n\tat
>  
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)\n\tat
>  
> io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)\n\tat
>  java.lang.Thread.run(Thread.java:748)']
> {code}



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