[jira] [Updated] (CASSANDRA-19073) Test failure: org.apache.cassandra.distributed.test.log.RegisterTest#serializationVersionDisagreementTest-_jdk17

2023-12-01 Thread Sam Tunnicliffe (Jira)


 [ 
https://issues.apache.org/jira/browse/CASSANDRA-19073?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sam Tunnicliffe updated CASSANDRA-19073:

Status: Ready to Commit  (was: Review In Progress)

> Test failure: 
> org.apache.cassandra.distributed.test.log.RegisterTest#serializationVersionDisagreementTest-_jdk17
> 
>
> Key: CASSANDRA-19073
> URL: https://issues.apache.org/jira/browse/CASSANDRA-19073
> Project: Cassandra
>  Issue Type: Bug
>  Components: CI
>Reporter: Alex Petrov
>Priority: Normal
> Fix For: 5.1-alpha1
>
>
> Circleci Failure: 
> [https://app.circleci.com/pipelines/github/michaelsembwever/cassandra/256/workflows/c4fda8f1-a8d6-4523-be83-5e30b9de39fe/jobs/20502/tests]
> {code}
> org.apache.cassandra.distributed.test.log.RegisterTest.lambda$serializationVersionDisagreementTest$81c80a4a$2(RegisterTest.java:132)
> at org.apache.cassandra.concurrent.FutureTask$1.call(FutureTask.java:96)
> at org.apache.cassandra.concurrent.FutureTask.call(FutureTask.java:61)
> at org.apache.cassandra.concurrent.FutureTask.run(FutureTask.java:71)
> at 
> java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
> at 
> java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
> at 
> io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
> at java.base/java.lang.Thread.run(Thread.java:833)
> Caused by: java.lang.NoSuchFieldException: modifiers
> at java.base/java.lang.Class.getDeclaredField(Class.java:2610)
> at 
> org.apache.cassandra.distributed.test.log.RegisterTest.lambda$serializationVersionDisagreementTest$81c80a4a$2(RegisterTest.java:120)
> {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] [Updated] (CASSANDRA-19073) Test failure: org.apache.cassandra.distributed.test.log.RegisterTest#serializationVersionDisagreementTest-_jdk17

2023-12-01 Thread Sam Tunnicliffe (Jira)


 [ 
https://issues.apache.org/jira/browse/CASSANDRA-19073?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sam Tunnicliffe updated CASSANDRA-19073:

Reviewers: Marcus Eriksson  (was: Marcus Eriksson, Sam Tunnicliffe)

> Test failure: 
> org.apache.cassandra.distributed.test.log.RegisterTest#serializationVersionDisagreementTest-_jdk17
> 
>
> Key: CASSANDRA-19073
> URL: https://issues.apache.org/jira/browse/CASSANDRA-19073
> Project: Cassandra
>  Issue Type: Bug
>  Components: CI
>Reporter: Alex Petrov
>Priority: Normal
> Fix For: 5.1-alpha1
>
>
> Circleci Failure: 
> [https://app.circleci.com/pipelines/github/michaelsembwever/cassandra/256/workflows/c4fda8f1-a8d6-4523-be83-5e30b9de39fe/jobs/20502/tests]
> {code}
> org.apache.cassandra.distributed.test.log.RegisterTest.lambda$serializationVersionDisagreementTest$81c80a4a$2(RegisterTest.java:132)
> at org.apache.cassandra.concurrent.FutureTask$1.call(FutureTask.java:96)
> at org.apache.cassandra.concurrent.FutureTask.call(FutureTask.java:61)
> at org.apache.cassandra.concurrent.FutureTask.run(FutureTask.java:71)
> at 
> java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
> at 
> java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
> at 
> io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
> at java.base/java.lang.Thread.run(Thread.java:833)
> Caused by: java.lang.NoSuchFieldException: modifiers
> at java.base/java.lang.Class.getDeclaredField(Class.java:2610)
> at 
> org.apache.cassandra.distributed.test.log.RegisterTest.lambda$serializationVersionDisagreementTest$81c80a4a$2(RegisterTest.java:120)
> {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] [Updated] (CASSANDRA-19073) Test failure: org.apache.cassandra.distributed.test.log.RegisterTest#serializationVersionDisagreementTest-_jdk17

2023-12-01 Thread Sam Tunnicliffe (Jira)


 [ 
https://issues.apache.org/jira/browse/CASSANDRA-19073?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sam Tunnicliffe updated CASSANDRA-19073:

Reviewers: Marcus Eriksson, Sam Tunnicliffe
   Status: Review In Progress  (was: Patch Available)

> Test failure: 
> org.apache.cassandra.distributed.test.log.RegisterTest#serializationVersionDisagreementTest-_jdk17
> 
>
> Key: CASSANDRA-19073
> URL: https://issues.apache.org/jira/browse/CASSANDRA-19073
> Project: Cassandra
>  Issue Type: Bug
>  Components: CI
>Reporter: Alex Petrov
>Priority: Normal
> Fix For: 5.1-alpha1
>
>
> Circleci Failure: 
> [https://app.circleci.com/pipelines/github/michaelsembwever/cassandra/256/workflows/c4fda8f1-a8d6-4523-be83-5e30b9de39fe/jobs/20502/tests]
> {code}
> org.apache.cassandra.distributed.test.log.RegisterTest.lambda$serializationVersionDisagreementTest$81c80a4a$2(RegisterTest.java:132)
> at org.apache.cassandra.concurrent.FutureTask$1.call(FutureTask.java:96)
> at org.apache.cassandra.concurrent.FutureTask.call(FutureTask.java:61)
> at org.apache.cassandra.concurrent.FutureTask.run(FutureTask.java:71)
> at 
> java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
> at 
> java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
> at 
> io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
> at java.base/java.lang.Thread.run(Thread.java:833)
> Caused by: java.lang.NoSuchFieldException: modifiers
> at java.base/java.lang.Class.getDeclaredField(Class.java:2610)
> at 
> org.apache.cassandra.distributed.test.log.RegisterTest.lambda$serializationVersionDisagreementTest$81c80a4a$2(RegisterTest.java:120)
> {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] [Updated] (CASSANDRA-19073) Test failure: org.apache.cassandra.distributed.test.log.RegisterTest#serializationVersionDisagreementTest-_jdk17

2023-12-01 Thread Sam Tunnicliffe (Jira)


 [ 
https://issues.apache.org/jira/browse/CASSANDRA-19073?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sam Tunnicliffe updated CASSANDRA-19073:

Status: Patch Available  (was: Needs Committer)

> Test failure: 
> org.apache.cassandra.distributed.test.log.RegisterTest#serializationVersionDisagreementTest-_jdk17
> 
>
> Key: CASSANDRA-19073
> URL: https://issues.apache.org/jira/browse/CASSANDRA-19073
> Project: Cassandra
>  Issue Type: Bug
>  Components: CI
>Reporter: Alex Petrov
>Priority: Normal
> Fix For: 5.1-alpha1
>
>
> Circleci Failure: 
> [https://app.circleci.com/pipelines/github/michaelsembwever/cassandra/256/workflows/c4fda8f1-a8d6-4523-be83-5e30b9de39fe/jobs/20502/tests]
> {code}
> org.apache.cassandra.distributed.test.log.RegisterTest.lambda$serializationVersionDisagreementTest$81c80a4a$2(RegisterTest.java:132)
> at org.apache.cassandra.concurrent.FutureTask$1.call(FutureTask.java:96)
> at org.apache.cassandra.concurrent.FutureTask.call(FutureTask.java:61)
> at org.apache.cassandra.concurrent.FutureTask.run(FutureTask.java:71)
> at 
> java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
> at 
> java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
> at 
> io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
> at java.base/java.lang.Thread.run(Thread.java:833)
> Caused by: java.lang.NoSuchFieldException: modifiers
> at java.base/java.lang.Class.getDeclaredField(Class.java:2610)
> at 
> org.apache.cassandra.distributed.test.log.RegisterTest.lambda$serializationVersionDisagreementTest$81c80a4a$2(RegisterTest.java:120)
> {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] [Updated] (CASSANDRA-19073) Test failure: org.apache.cassandra.distributed.test.log.RegisterTest#serializationVersionDisagreementTest-_jdk17

2023-12-01 Thread Sam Tunnicliffe (Jira)


 [ 
https://issues.apache.org/jira/browse/CASSANDRA-19073?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sam Tunnicliffe updated CASSANDRA-19073:

Status: Needs Committer  (was: Patch Available)

CI looks better now, only unrelated/known failures

https://app.circleci.com/pipelines/github/michaelsembwever/cassandra/273/workflows/d9785946-82dc-4db0-bd24-f3d2c828d569
 

> Test failure: 
> org.apache.cassandra.distributed.test.log.RegisterTest#serializationVersionDisagreementTest-_jdk17
> 
>
> Key: CASSANDRA-19073
> URL: https://issues.apache.org/jira/browse/CASSANDRA-19073
> Project: Cassandra
>  Issue Type: Bug
>  Components: CI
>Reporter: Alex Petrov
>Priority: Normal
> Fix For: 5.1-alpha1
>
>
> Circleci Failure: 
> [https://app.circleci.com/pipelines/github/michaelsembwever/cassandra/256/workflows/c4fda8f1-a8d6-4523-be83-5e30b9de39fe/jobs/20502/tests]
> {code}
> org.apache.cassandra.distributed.test.log.RegisterTest.lambda$serializationVersionDisagreementTest$81c80a4a$2(RegisterTest.java:132)
> at org.apache.cassandra.concurrent.FutureTask$1.call(FutureTask.java:96)
> at org.apache.cassandra.concurrent.FutureTask.call(FutureTask.java:61)
> at org.apache.cassandra.concurrent.FutureTask.run(FutureTask.java:71)
> at 
> java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
> at 
> java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
> at 
> io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
> at java.base/java.lang.Thread.run(Thread.java:833)
> Caused by: java.lang.NoSuchFieldException: modifiers
> at java.base/java.lang.Class.getDeclaredField(Class.java:2610)
> at 
> org.apache.cassandra.distributed.test.log.RegisterTest.lambda$serializationVersionDisagreementTest$81c80a4a$2(RegisterTest.java:120)
> {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] [Comment Edited] (CASSANDRA-19073) Test failure: org.apache.cassandra.distributed.test.log.RegisterTest#serializationVersionDisagreementTest-_jdk17

2023-12-01 Thread Sam Tunnicliffe (Jira)


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

Sam Tunnicliffe edited comment on CASSANDRA-19073 at 12/1/23 12:49 PM:
---

Patch with rewritten test 
[here|https://github.com/beobal/cassandra/commit/a7f9df3aeadcc76d0428592c26163f35d7354ec5]

CI to follow


was (Author: beobal):
Patch with rewritten test 
[here|https://github.com/beobal/cassandra/commit/4054e731df80be63da947eb66cbe3c3c0c79715c]

CI to follow

> Test failure: 
> org.apache.cassandra.distributed.test.log.RegisterTest#serializationVersionDisagreementTest-_jdk17
> 
>
> Key: CASSANDRA-19073
> URL: https://issues.apache.org/jira/browse/CASSANDRA-19073
> Project: Cassandra
>  Issue Type: Bug
>  Components: CI
>Reporter: Alex Petrov
>Priority: Normal
> Fix For: 5.1-alpha1
>
>
> Circleci Failure: 
> [https://app.circleci.com/pipelines/github/michaelsembwever/cassandra/256/workflows/c4fda8f1-a8d6-4523-be83-5e30b9de39fe/jobs/20502/tests]
> {code}
> org.apache.cassandra.distributed.test.log.RegisterTest.lambda$serializationVersionDisagreementTest$81c80a4a$2(RegisterTest.java:132)
> at org.apache.cassandra.concurrent.FutureTask$1.call(FutureTask.java:96)
> at org.apache.cassandra.concurrent.FutureTask.call(FutureTask.java:61)
> at org.apache.cassandra.concurrent.FutureTask.run(FutureTask.java:71)
> at 
> java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
> at 
> java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
> at 
> io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
> at java.base/java.lang.Thread.run(Thread.java:833)
> Caused by: java.lang.NoSuchFieldException: modifiers
> at java.base/java.lang.Class.getDeclaredField(Class.java:2610)
> at 
> org.apache.cassandra.distributed.test.log.RegisterTest.lambda$serializationVersionDisagreementTest$81c80a4a$2(RegisterTest.java:120)
> {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] [Updated] (CASSANDRA-19073) Test failure: org.apache.cassandra.distributed.test.log.RegisterTest#serializationVersionDisagreementTest-_jdk17

2023-12-01 Thread Sam Tunnicliffe (Jira)


 [ 
https://issues.apache.org/jira/browse/CASSANDRA-19073?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sam Tunnicliffe updated CASSANDRA-19073:

Authors: Sam Tunnicliffe
Test and Documentation Plan: Rerun in-jvm dtests in CI with JDK17 
 Status: Patch Available  (was: Open)

Patch with rewritten test 
[here|https://github.com/beobal/cassandra/commit/4054e731df80be63da947eb66cbe3c3c0c79715c]

CI to follow

> Test failure: 
> org.apache.cassandra.distributed.test.log.RegisterTest#serializationVersionDisagreementTest-_jdk17
> 
>
> Key: CASSANDRA-19073
> URL: https://issues.apache.org/jira/browse/CASSANDRA-19073
> Project: Cassandra
>  Issue Type: Bug
>  Components: CI
>Reporter: Alex Petrov
>Priority: Normal
> Fix For: 5.1-alpha1
>
>
> Circleci Failure: 
> [https://app.circleci.com/pipelines/github/michaelsembwever/cassandra/256/workflows/c4fda8f1-a8d6-4523-be83-5e30b9de39fe/jobs/20502/tests]
> {code}
> org.apache.cassandra.distributed.test.log.RegisterTest.lambda$serializationVersionDisagreementTest$81c80a4a$2(RegisterTest.java:132)
> at org.apache.cassandra.concurrent.FutureTask$1.call(FutureTask.java:96)
> at org.apache.cassandra.concurrent.FutureTask.call(FutureTask.java:61)
> at org.apache.cassandra.concurrent.FutureTask.run(FutureTask.java:71)
> at 
> java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
> at 
> java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
> at 
> io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
> at java.base/java.lang.Thread.run(Thread.java:833)
> Caused by: java.lang.NoSuchFieldException: modifiers
> at java.base/java.lang.Class.getDeclaredField(Class.java:2610)
> at 
> org.apache.cassandra.distributed.test.log.RegisterTest.lambda$serializationVersionDisagreementTest$81c80a4a$2(RegisterTest.java:120)
> {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] [Updated] (CASSANDRA-19076) Test failure: org.apache.cassandra.distributed.test.log.InProgressSequenceCoordinationTest:rejectSubsequentInProgressSequence

2023-12-01 Thread Sam Tunnicliffe (Jira)


 [ 
https://issues.apache.org/jira/browse/CASSANDRA-19076?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sam Tunnicliffe updated CASSANDRA-19076:

Status: Ready to Commit  (was: Review In Progress)

+1 the failures in the attached CI results are covered by existing issues (or 
already resolved)

> Test failure: 
> org.apache.cassandra.distributed.test.log.InProgressSequenceCoordinationTest:rejectSubsequentInProgressSequence
> -
>
> Key: CASSANDRA-19076
> URL: https://issues.apache.org/jira/browse/CASSANDRA-19076
> Project: Cassandra
>  Issue Type: Bug
>  Components: CI
>Reporter: Alex Petrov
>Assignee: Alex Petrov
>Priority: Normal
> Fix For: 5.1-alpha1
>
> Attachments: ci-for-19119-19066-19076.html, 
> ci-for-19119-19066-19076.tar.gz
>
>
> Circleci Failure: 
> https://app.circleci.com/pipelines/github/michaelsembwever/cassandra/256/workflows/c4fda8f1-a8d6-4523-be83-5e30b9de39fe/jobs/20500/tests
> Also fais on jdk11: 
> https://app.circleci.com/pipelines/github/michaelsembwever/cassandra/256/workflows/c4fda8f1-a8d6-4523-be83-5e30b9de39fe/jobs/20464/tests
> {code}
>  junit.framework.AssertionFailedError: Timeout occurred. Please note the time 
> in the report does not reflect the time until the timeout.
>  at jdk.internal.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
>  at 
> java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>  at java.base/java.util.Vector.forEach(Vector.java:1365)
>  at jdk.internal.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
>  at 
> java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>  at jdk.internal.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
>  at 
> java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>  at java.base/java.util.Vector.forEach(Vector.java:1365)
>  at jdk.internal.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
>  at 
> java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>  at jdk.internal.reflect.GeneratedMethodAccessor47.invoke(Unknown Source)
>  at 
> java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>  at java.base/java.util.Vector.forEach(Vector.java:1365)
>  at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native 
> Method)
>  at 
> java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
>  at 
> java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>  at org.apache.cassandra.anttasks.TestHelper.execute(TestHelper.java:53)
>  at jdk.internal.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
>  at 
> java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>  at java.base/java.util.Vector.forEach(Vector.java:1365)
>  at jdk.internal.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
>  at 
> java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>  at jdk.internal.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
>  at 
> java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> {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] [Updated] (CASSANDRA-19066) Test Failure: org.apache.cassandra.distributed.upgrade.MixedModeFrom3LoggedBatchTest.testSimpleStrategy-_jdk11

2023-12-01 Thread Sam Tunnicliffe (Jira)


 [ 
https://issues.apache.org/jira/browse/CASSANDRA-19066?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sam Tunnicliffe updated CASSANDRA-19066:

Status: Ready to Commit  (was: Review In Progress)

+1

> Test Failure: 
> org.apache.cassandra.distributed.upgrade.MixedModeFrom3LoggedBatchTest.testSimpleStrategy-_jdk11
> --
>
> Key: CASSANDRA-19066
> URL: https://issues.apache.org/jira/browse/CASSANDRA-19066
> Project: Cassandra
>  Issue Type: Bug
>  Components: Test/dtest/java
>Reporter: Sam Tunnicliffe
>Assignee: Alex Petrov
>Priority: Normal
> Fix For: 5.1-alpha1
>
> Attachments: ci-for-19119-19066-19076.html, 
> ci-for-19119-19066-19076.tar.gz
>
>
> Failed in Circle:
> [https://app.circleci.com/pipelines/github/michaelsembwever/cassandra/256/workflows/c4fda8f1-a8d6-4523-be83-5e30b9de39fe/jobs/20534/tests]



--
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] [Updated] (CASSANDRA-19056) Test failure: materialized_views_test.TestMaterializedViewsConsistency.test_multi_partition_consistent_reads_after_write

2023-12-01 Thread Sam Tunnicliffe (Jira)


 [ 
https://issues.apache.org/jira/browse/CASSANDRA-19056?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sam Tunnicliffe updated CASSANDRA-19056:

Status: Ready to Commit  (was: Review In Progress)

+1

> Test failure: 
> materialized_views_test.TestMaterializedViewsConsistency.test_multi_partition_consistent_reads_after_write
> 
>
> Key: CASSANDRA-19056
> URL: https://issues.apache.org/jira/browse/CASSANDRA-19056
> Project: Cassandra
>  Issue Type: Bug
>  Components: Feature/Materialized Views, Test/dtest/python
>Reporter: Sam Tunnicliffe
>Assignee: Marcus Eriksson
>Priority: Normal
> Fix For: 5.1-alpha1
>
> Attachments: ci_summary.html, result_details.tar.gz
>
>
> Fails or is flaky on both JDK 11 and 17 
> [https://app.circleci.com/pipelines/github/michaelsembwever/cassandra/256/workflows/c4fda8f1-a8d6-4523-be83-5e30b9de39fe/jobs/20462/parallel-runs/14]
>  
> {noformat}
> [node3] 'ERROR [MutationStage-1] 2023-11-23 21:18:31,953 
> JVMStabilityInspector.java:70 - Exception in thread 
> Thread[MutationStage-1,10,SharedPool]
> java.lang.NullPointerException: Cannot invoke 
> "org.apache.cassandra.schema.TableMetadata.partitionKeyColumns()" because 
> "this.viewMetadata" is null
> at 
> org.apache.cassandra.db.view.ViewUpdateGenerator.(ViewUpdateGenerator.java:99)
> at 
> org.apache.cassandra.db.view.TableViews.generateViewUpdates(TableViews.java:227)
> at 
> org.apache.cassandra.db.view.TableViews.pushViewReplicaUpdates(TableViews.java:193)
> at org.apache.cassandra.db.Keyspace.applyInternal(Keyspace.java:615)
> at org.apache.cassandra.db.Keyspace.applyFuture(Keyspace.java:447)
> at org.apache.cassandra.db.Mutation.applyFuture(Mutation.java:239)
> at 
> org.apache.cassandra.db.MutationVerbHandler.applyMutation(MutationVerbHandler.java:64)
> at 
> org.apache.cassandra.db.AbstractMutationVerbHandler.processMessage(AbstractMutationVerbHandler.java:60)
> at 
> org.apache.cassandra.db.MutationVerbHandler.doVerb(MutationVerbHandler.java:54)
> at org.apache.cassandra.net.InboundSink.lambda$new$0(InboundSink.java:102)
> at org.apache.cassandra.net.InboundSink.accept(InboundSink.java:122)
> at org.apache.cassandra.net.InboundSink.accept(InboundSink.java:51)
> at 
> org.apache.cassandra.net.InboundMessageHandler$ProcessMessage.run(InboundMessageHandler.java:432)
> at 
> org.apache.cassandra.concurrent.ExecutionFailure$1.run(ExecutionFailure.java:133)
> at org.apache.cassandra.concurrent.SEPWorker.run(SEPWorker.java:143)
> at 
> io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
> at java.base/java.lang.Thread.run(Thread.java:833)', [node3] 'ERROR 
> [MutationStage-2] 2023-11-23 21:18:31,953 JVMStabilityInspector.java:70 - 
> Exception in thread Thread[MutationStage-2,5,SharedPool]
> java.lang.NullPointerException: Cannot invoke 
> "org.apache.cassandra.schema.TableMetadata.partitionKeyColumns()" because 
> "this.viewMetadata" is null
> at 
> org.apache.cassandra.db.view.ViewUpdateGenerator.(ViewUpdateGenerator.java:99)
> at 
> org.apache.cassandra.db.view.TableViews.generateViewUpdates(TableViews.java:227)
> at 
> org.apache.cassandra.db.view.TableViews.pushViewReplicaUpdates(TableViews.java:193)
> at org.apache.cassandra.db.Keyspace.applyInternal(Keyspace.java:615)
> at org.apache.cassandra.db.Keyspace.applyFuture(Keyspace.java:447)
> at org.apache.cassandra.db.Mutation.applyFuture(Mutation.java:239)
> at 
> org.apache.cassandra.db.MutationVerbHandler.applyMutation(MutationVerbHandler.java:64)
> at 
> org.apache.cassandra.db.AbstractMutationVerbHandler.processMessage(AbstractMutationVerbHandler.java:60)
> at 
> org.apache.cassandra.db.MutationVerbHandler.doVerb(MutationVerbHandler.java:54)
> at org.apache.cassandra.net.InboundSink.lambda$new$0(InboundSink.java:102)
> at org.apache.cassandra.net.InboundSink.accept(InboundSink.java:122)
> at org.apache.cassandra.net.InboundSink.accept(InboundSink.java:51)
> at 
> org.apache.cassandra.net.InboundMessageHandler$ProcessMessage.run(InboundMessageHandler.java:432)
> at 
> org.apache.cassandra.concurrent.ExecutionFailure$1.run(ExecutionFailure.java:133)
> at org.apache.cassandra.concurrent.SEPWorker.run(SEPWorker.java:143)
> at 
> io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
> at java.base/java.lang.Thread.run(Thread.java:833)']
> {noformat}



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

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

[jira] [Commented] (CASSANDRA-19058) Test Failure: org.apache.cassandra.simulator.test.ShortPaxosSimulationTest.simulationTest-_jdk11

2023-11-30 Thread Sam Tunnicliffe (Jira)


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

Sam Tunnicliffe commented on CASSANDRA-19058:
-

bq. Should I reopen this ticket?

No problem, I've just done it. We are aware that we have to take another look 
at the Simulator tests so we will investigate. Thanks!

> Test Failure: 
> org.apache.cassandra.simulator.test.ShortPaxosSimulationTest.simulationTest-_jdk11
> 
>
> Key: CASSANDRA-19058
> URL: https://issues.apache.org/jira/browse/CASSANDRA-19058
> Project: Cassandra
>  Issue Type: Bug
>  Components: Test/unit
>Reporter: Sam Tunnicliffe
>Assignee: Sam Tunnicliffe
>Priority: Normal
> Fix For: 5.1-alpha1
>
>
> butler shows this as failing on J17 but here we see it fail on J11 
> [https://app.circleci.com/pipelines/github/michaelsembwever/cassandra/256/workflows/c4fda8f1-a8d6-4523-be83-5e30b9de39fe/jobs/20463/tests]



--
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] [Updated] (CASSANDRA-19058) Test Failure: org.apache.cassandra.simulator.test.ShortPaxosSimulationTest.simulationTest-_jdk11

2023-11-30 Thread Sam Tunnicliffe (Jira)


 [ 
https://issues.apache.org/jira/browse/CASSANDRA-19058?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sam Tunnicliffe updated CASSANDRA-19058:

Resolution: (was: Duplicate)
Status: Open  (was: Resolved)

> Test Failure: 
> org.apache.cassandra.simulator.test.ShortPaxosSimulationTest.simulationTest-_jdk11
> 
>
> Key: CASSANDRA-19058
> URL: https://issues.apache.org/jira/browse/CASSANDRA-19058
> Project: Cassandra
>  Issue Type: Bug
>  Components: Test/unit
>Reporter: Sam Tunnicliffe
>Assignee: Sam Tunnicliffe
>Priority: Normal
> Fix For: 5.1-alpha1
>
>
> butler shows this as failing on J17 but here we see it fail on J11 
> [https://app.circleci.com/pipelines/github/michaelsembwever/cassandra/256/workflows/c4fda8f1-a8d6-4523-be83-5e30b9de39fe/jobs/20463/tests]



--
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-19066) Test Failure: org.apache.cassandra.distributed.upgrade.MixedModeFrom3LoggedBatchTest.testSimpleStrategy-_jdk11

2023-11-30 Thread Sam Tunnicliffe (Jira)


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

Sam Tunnicliffe commented on CASSANDRA-19066:
-

Added a minor comment on the PR, along with a suggestion that we need to follow 
up on downgradability and possibly revisit `storage_compatibility_mode`

> Test Failure: 
> org.apache.cassandra.distributed.upgrade.MixedModeFrom3LoggedBatchTest.testSimpleStrategy-_jdk11
> --
>
> Key: CASSANDRA-19066
> URL: https://issues.apache.org/jira/browse/CASSANDRA-19066
> Project: Cassandra
>  Issue Type: Bug
>  Components: Test/dtest/java
>Reporter: Sam Tunnicliffe
>Assignee: Alex Petrov
>Priority: Normal
> Fix For: 5.1-alpha1
>
> Attachments: ci-for-19119-19066-19076.html, 
> ci-for-19119-19066-19076.tar.gz
>
>
> Failed in Circle:
> [https://app.circleci.com/pipelines/github/michaelsembwever/cassandra/256/workflows/c4fda8f1-a8d6-4523-be83-5e30b9de39fe/jobs/20534/tests]



--
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] [Updated] (CASSANDRA-19056) Test failure: materialized_views_test.TestMaterializedViewsConsistency.test_multi_partition_consistent_reads_after_write

2023-11-30 Thread Sam Tunnicliffe (Jira)


 [ 
https://issues.apache.org/jira/browse/CASSANDRA-19056?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sam Tunnicliffe updated CASSANDRA-19056:

Reviewers: Sam Tunnicliffe, Sam Tunnicliffe
   Sam Tunnicliffe, Sam Tunnicliffe  (was: Sam Tunnicliffe)
   Status: Review In Progress  (was: Patch Available)

> Test failure: 
> materialized_views_test.TestMaterializedViewsConsistency.test_multi_partition_consistent_reads_after_write
> 
>
> Key: CASSANDRA-19056
> URL: https://issues.apache.org/jira/browse/CASSANDRA-19056
> Project: Cassandra
>  Issue Type: Bug
>  Components: Feature/Materialized Views, Test/dtest/python
>Reporter: Sam Tunnicliffe
>Assignee: Marcus Eriksson
>Priority: Normal
> Fix For: 5.1-alpha1
>
>
> Fails or is flaky on both JDK 11 and 17 
> [https://app.circleci.com/pipelines/github/michaelsembwever/cassandra/256/workflows/c4fda8f1-a8d6-4523-be83-5e30b9de39fe/jobs/20462/parallel-runs/14]
>  
> {noformat}
> [node3] 'ERROR [MutationStage-1] 2023-11-23 21:18:31,953 
> JVMStabilityInspector.java:70 - Exception in thread 
> Thread[MutationStage-1,10,SharedPool]
> java.lang.NullPointerException: Cannot invoke 
> "org.apache.cassandra.schema.TableMetadata.partitionKeyColumns()" because 
> "this.viewMetadata" is null
> at 
> org.apache.cassandra.db.view.ViewUpdateGenerator.(ViewUpdateGenerator.java:99)
> at 
> org.apache.cassandra.db.view.TableViews.generateViewUpdates(TableViews.java:227)
> at 
> org.apache.cassandra.db.view.TableViews.pushViewReplicaUpdates(TableViews.java:193)
> at org.apache.cassandra.db.Keyspace.applyInternal(Keyspace.java:615)
> at org.apache.cassandra.db.Keyspace.applyFuture(Keyspace.java:447)
> at org.apache.cassandra.db.Mutation.applyFuture(Mutation.java:239)
> at 
> org.apache.cassandra.db.MutationVerbHandler.applyMutation(MutationVerbHandler.java:64)
> at 
> org.apache.cassandra.db.AbstractMutationVerbHandler.processMessage(AbstractMutationVerbHandler.java:60)
> at 
> org.apache.cassandra.db.MutationVerbHandler.doVerb(MutationVerbHandler.java:54)
> at org.apache.cassandra.net.InboundSink.lambda$new$0(InboundSink.java:102)
> at org.apache.cassandra.net.InboundSink.accept(InboundSink.java:122)
> at org.apache.cassandra.net.InboundSink.accept(InboundSink.java:51)
> at 
> org.apache.cassandra.net.InboundMessageHandler$ProcessMessage.run(InboundMessageHandler.java:432)
> at 
> org.apache.cassandra.concurrent.ExecutionFailure$1.run(ExecutionFailure.java:133)
> at org.apache.cassandra.concurrent.SEPWorker.run(SEPWorker.java:143)
> at 
> io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
> at java.base/java.lang.Thread.run(Thread.java:833)', [node3] 'ERROR 
> [MutationStage-2] 2023-11-23 21:18:31,953 JVMStabilityInspector.java:70 - 
> Exception in thread Thread[MutationStage-2,5,SharedPool]
> java.lang.NullPointerException: Cannot invoke 
> "org.apache.cassandra.schema.TableMetadata.partitionKeyColumns()" because 
> "this.viewMetadata" is null
> at 
> org.apache.cassandra.db.view.ViewUpdateGenerator.(ViewUpdateGenerator.java:99)
> at 
> org.apache.cassandra.db.view.TableViews.generateViewUpdates(TableViews.java:227)
> at 
> org.apache.cassandra.db.view.TableViews.pushViewReplicaUpdates(TableViews.java:193)
> at org.apache.cassandra.db.Keyspace.applyInternal(Keyspace.java:615)
> at org.apache.cassandra.db.Keyspace.applyFuture(Keyspace.java:447)
> at org.apache.cassandra.db.Mutation.applyFuture(Mutation.java:239)
> at 
> org.apache.cassandra.db.MutationVerbHandler.applyMutation(MutationVerbHandler.java:64)
> at 
> org.apache.cassandra.db.AbstractMutationVerbHandler.processMessage(AbstractMutationVerbHandler.java:60)
> at 
> org.apache.cassandra.db.MutationVerbHandler.doVerb(MutationVerbHandler.java:54)
> at org.apache.cassandra.net.InboundSink.lambda$new$0(InboundSink.java:102)
> at org.apache.cassandra.net.InboundSink.accept(InboundSink.java:122)
> at org.apache.cassandra.net.InboundSink.accept(InboundSink.java:51)
> at 
> org.apache.cassandra.net.InboundMessageHandler$ProcessMessage.run(InboundMessageHandler.java:432)
> at 
> org.apache.cassandra.concurrent.ExecutionFailure$1.run(ExecutionFailure.java:133)
> at org.apache.cassandra.concurrent.SEPWorker.run(SEPWorker.java:143)
> at 
> io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
> at java.base/java.lang.Thread.run(Thread.java:833)']
> {noformat}



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

-
To unsubscribe, e-mail: 

[jira] [Updated] (CASSANDRA-19073) Test failure: org.apache.cassandra.distributed.test.log.RegisterTest#serializationVersionDisagreementTest-_jdk17

2023-11-30 Thread Sam Tunnicliffe (Jira)


 [ 
https://issues.apache.org/jira/browse/CASSANDRA-19073?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sam Tunnicliffe updated CASSANDRA-19073:

Description: 
Circleci Failure: 
[https://app.circleci.com/pipelines/github/michaelsembwever/cassandra/256/workflows/c4fda8f1-a8d6-4523-be83-5e30b9de39fe/jobs/20502/tests]

{code}
org.apache.cassandra.distributed.test.log.RegisterTest.lambda$serializationVersionDisagreementTest$81c80a4a$2(RegisterTest.java:132)
at org.apache.cassandra.concurrent.FutureTask$1.call(FutureTask.java:96)
at org.apache.cassandra.concurrent.FutureTask.call(FutureTask.java:61)
at org.apache.cassandra.concurrent.FutureTask.run(FutureTask.java:71)
at 
java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
at 
java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
at 
io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
at java.base/java.lang.Thread.run(Thread.java:833)
Caused by: java.lang.NoSuchFieldException: modifiers
at java.base/java.lang.Class.getDeclaredField(Class.java:2610)
at 
org.apache.cassandra.distributed.test.log.RegisterTest.lambda$serializationVersionDisagreementTest$81c80a4a$2(RegisterTest.java:120)
{code}

  was:
Circleci Failure: 
https://app.circleci.com/pipelines/github/michaelsembwever/cassandra/256/workflows/c4fda8f1-a8d6-4523-be83-5e30b9de39fe/jobs/20502/tests

```
org.apache.cassandra.distributed.test.log.RegisterTest.lambda$serializationVersionDisagreementTest$81c80a4a$2(RegisterTest.java:132)
at org.apache.cassandra.concurrent.FutureTask$1.call(FutureTask.java:96)
at org.apache.cassandra.concurrent.FutureTask.call(FutureTask.java:61)
at org.apache.cassandra.concurrent.FutureTask.run(FutureTask.java:71)
at 
java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
at 
java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
at 
io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
at java.base/java.lang.Thread.run(Thread.java:833)
Caused by: java.lang.NoSuchFieldException: modifiers
at java.base/java.lang.Class.getDeclaredField(Class.java:2610)
at 
org.apache.cassandra.distributed.test.log.RegisterTest.lambda$serializationVersionDisagreementTest$81c80a4a$2(RegisterTest.java:120)
```



> Test failure: 
> org.apache.cassandra.distributed.test.log.RegisterTest#serializationVersionDisagreementTest-_jdk17
> 
>
> Key: CASSANDRA-19073
> URL: https://issues.apache.org/jira/browse/CASSANDRA-19073
> Project: Cassandra
>  Issue Type: Bug
>  Components: CI
>Reporter: Alex Petrov
>Priority: Normal
> Fix For: 5.1-alpha1
>
>
> Circleci Failure: 
> [https://app.circleci.com/pipelines/github/michaelsembwever/cassandra/256/workflows/c4fda8f1-a8d6-4523-be83-5e30b9de39fe/jobs/20502/tests]
> {code}
> org.apache.cassandra.distributed.test.log.RegisterTest.lambda$serializationVersionDisagreementTest$81c80a4a$2(RegisterTest.java:132)
> at org.apache.cassandra.concurrent.FutureTask$1.call(FutureTask.java:96)
> at org.apache.cassandra.concurrent.FutureTask.call(FutureTask.java:61)
> at org.apache.cassandra.concurrent.FutureTask.run(FutureTask.java:71)
> at 
> java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
> at 
> java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
> at 
> io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
> at java.base/java.lang.Thread.run(Thread.java:833)
> Caused by: java.lang.NoSuchFieldException: modifiers
> at java.base/java.lang.Class.getDeclaredField(Class.java:2610)
> at 
> org.apache.cassandra.distributed.test.log.RegisterTest.lambda$serializationVersionDisagreementTest$81c80a4a$2(RegisterTest.java:120)
> {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] [Updated] (CASSANDRA-19063) Test Failure: org.apache.cassandra.distributed.upgrade.ClusterMetadataUpgradeTest.upgradeWithHintsTest-_jdk11

2023-11-30 Thread Sam Tunnicliffe (Jira)


 [ 
https://issues.apache.org/jira/browse/CASSANDRA-19063?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sam Tunnicliffe updated CASSANDRA-19063:

Reviewers: Sam Tunnicliffe, Sam Tunnicliffe
   Sam Tunnicliffe, Sam Tunnicliffe  (was: Sam Tunnicliffe)
   Status: Review In Progress  (was: Patch Available)

> Test Failure: 
> org.apache.cassandra.distributed.upgrade.ClusterMetadataUpgradeTest.upgradeWithHintsTest-_jdk11
> -
>
> Key: CASSANDRA-19063
> URL: https://issues.apache.org/jira/browse/CASSANDRA-19063
> Project: Cassandra
>  Issue Type: Bug
>  Components: Test/dtest/java
>Reporter: Sam Tunnicliffe
>Assignee: Marcus Eriksson
>Priority: Normal
> Fix For: 5.1-alpha1
>
> Attachments: ci_summary.html, result_details.tar.gz
>
>
> Fails in circle with OOM
> [https://app.circleci.com/pipelines/github/michaelsembwever/cassandra/256/workflows/c4fda8f1-a8d6-4523-be83-5e30b9de39fe/jobs/20534/tests]



--
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] [Updated] (CASSANDRA-19063) Test Failure: org.apache.cassandra.distributed.upgrade.ClusterMetadataUpgradeTest.upgradeWithHintsTest-_jdk11

2023-11-30 Thread Sam Tunnicliffe (Jira)


 [ 
https://issues.apache.org/jira/browse/CASSANDRA-19063?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sam Tunnicliffe updated CASSANDRA-19063:

Status: Ready to Commit  (was: Review In Progress)

+1

> Test Failure: 
> org.apache.cassandra.distributed.upgrade.ClusterMetadataUpgradeTest.upgradeWithHintsTest-_jdk11
> -
>
> Key: CASSANDRA-19063
> URL: https://issues.apache.org/jira/browse/CASSANDRA-19063
> Project: Cassandra
>  Issue Type: Bug
>  Components: Test/dtest/java
>Reporter: Sam Tunnicliffe
>Assignee: Marcus Eriksson
>Priority: Normal
> Fix For: 5.1-alpha1
>
> Attachments: ci_summary.html, result_details.tar.gz
>
>
> Fails in circle with OOM
> [https://app.circleci.com/pipelines/github/michaelsembwever/cassandra/256/workflows/c4fda8f1-a8d6-4523-be83-5e30b9de39fe/jobs/20534/tests]



--
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] [Updated] (CASSANDRA-19078) Test failure: org.apache.cassandra.distributed.test.ring.DecommissionTest.test*Version*

2023-11-30 Thread Sam Tunnicliffe (Jira)


 [ 
https://issues.apache.org/jira/browse/CASSANDRA-19078?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sam Tunnicliffe updated CASSANDRA-19078:

Status: Ready to Commit  (was: Review In Progress)

+1

> Test failure: 
> org.apache.cassandra.distributed.test.ring.DecommissionTest.test*Version*
> ---
>
> Key: CASSANDRA-19078
> URL: https://issues.apache.org/jira/browse/CASSANDRA-19078
> Project: Cassandra
>  Issue Type: Bug
>  Components: CI
>Reporter: Alex Petrov
>Assignee: Marcus Eriksson
>Priority: Normal
> Fix For: 5.1-alpha1
>
> Attachments: ci_summary.html, result_details.tar.gz
>
>
> Circleci Failure: 
> https://app.circleci.com/pipelines/github/michaelsembwever/cassandra/256/workflows/c4fda8f1-a8d6-4523-be83-5e30b9de39fe/jobs/20500/tests
> Also: Circleci Failure: 
> https://app.circleci.com/pipelines/github/michaelsembwever/cassandra/256/workflows/c4fda8f1-a8d6-4523-be83-5e30b9de39fe/jobs/20502/tests
> Also: CircleCI Failure: 
> https://app.circleci.com/pipelines/github/michaelsembwever/cassandra/256/workflows/c4fda8f1-a8d6-4523-be83-5e30b9de39fe/jobs/20503/tests
> ```
>  org.apache.cassandra.distributed.shared.ShutdownException: Uncaught 
> exceptions were thrown during test
>  at 
> org.apache.cassandra.distributed.impl.AbstractCluster.checkAndResetUncaughtExceptions(AbstractCluster.java:1124)
>  at 
> org.apache.cassandra.distributed.impl.AbstractCluster.close(AbstractCluster.java:1110)
>  at 
> org.apache.cassandra.distributed.test.ring.DecommissionTest.testMixedVersionBlockDecom(DecommissionTest.java:171)
>  at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native 
> Method)
>  at 
> java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
>  at 
> java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>  Suppressed: java.util.concurrent.RejectedExecutionException: GossipStage has 
> shut down
>  at 
> org.apache.cassandra.concurrent.ThreadPoolExecutorBase.lambda$static$0(ThreadPoolExecutorBase.java:49)
>  at 
> org.apache.cassandra.concurrent.ThreadPoolExecutorJMXAdapter.lambda$rejectedExecutionHandler$0(ThreadPoolExecutorJMXAdapter.java:238)
>  at 
> java.base/java.util.concurrent.ThreadPoolExecutor.reject(ThreadPoolExecutor.java:833)
>  at 
> java.base/java.util.concurrent.ThreadPoolExecutor.execute(ThreadPoolExecutor.java:1365)
>  at 
> org.apache.cassandra.concurrent.ThreadPoolExecutorPlus.addTask(ThreadPoolExecutorPlus.java:50)
>  at 
> org.apache.cassandra.concurrent.ThreadPoolExecutorPlus.execute(ThreadPoolExecutorPlus.java:57)
>  at org.apache.cassandra.concurrent.Stage.execute(Stage.java:127)
>  at 
> org.apache.cassandra.gms.Gossiper.runInGossipStageBlocking(Gossiper.java:467)
>  at 
> org.apache.cassandra.tcm.compatibility.GossipHelper.removeFromGossip(GossipHelper.java:100)
>  at 
> org.apache.cassandra.tcm.listeners.LegacyStateListener.notifyPostCommit(LegacyStateListener.java:122)
>  at 
> org.apache.cassandra.tcm.log.LocalLog.lambda$notifyPostCommit$3(LocalLog.java:561)
>  at org.apache.cassandra.concurrent.FutureTask$1.call(FutureTask.java:96)
>  at org.apache.cassandra.concurrent.FutureTask.call(FutureTask.java:61)
>  at org.apache.cassandra.concurrent.FutureTask.run(FutureTask.java:71)
>  at 
> java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539)
>  at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
>  at 
> java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304)
>  at 
> java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
>  at 
> java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
>  at 
> io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
>  at java.base/java.lang.Thread.run(Thread.java:833)
>  Suppressed: java.util.concurrent.RejectedExecutionException: GossipStage has 
> shut down
>  at 
> org.apache.cassandra.concurrent.ThreadPoolExecutorBase.lambda$static$0(ThreadPoolExecutorBase.java:49)
>  at 
> org.apache.cassandra.concurrent.ThreadPoolExecutorJMXAdapter.lambda$rejectedExecutionHandler$0(ThreadPoolExecutorJMXAdapter.java:238)
>  at 
> java.base/java.util.concurrent.ThreadPoolExecutor.reject(ThreadPoolExecutor.java:833)
>  at 
> java.base/java.util.concurrent.ThreadPoolExecutor.execute(ThreadPoolExecutor.java:1365)
>  at 
> org.apache.cassandra.concurrent.ThreadPoolExecutorPlus.addTask(ThreadPoolExecutorPlus.java:50)
>  at 
> org.apache.cassandra.concurrent.ThreadPoolExecutorPlus.execute(ThreadPoolExecutorPlus.java:57)
>  at 

[jira] [Updated] (CASSANDRA-19078) Test failure: org.apache.cassandra.distributed.test.ring.DecommissionTest.test*Version*

2023-11-30 Thread Sam Tunnicliffe (Jira)


 [ 
https://issues.apache.org/jira/browse/CASSANDRA-19078?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sam Tunnicliffe updated CASSANDRA-19078:

Reviewers: Sam Tunnicliffe, Sam Tunnicliffe
   Sam Tunnicliffe, Sam Tunnicliffe  (was: Sam Tunnicliffe)
   Status: Review In Progress  (was: Patch Available)

> Test failure: 
> org.apache.cassandra.distributed.test.ring.DecommissionTest.test*Version*
> ---
>
> Key: CASSANDRA-19078
> URL: https://issues.apache.org/jira/browse/CASSANDRA-19078
> Project: Cassandra
>  Issue Type: Bug
>  Components: CI
>Reporter: Alex Petrov
>Assignee: Marcus Eriksson
>Priority: Normal
> Fix For: 5.1-alpha1
>
> Attachments: ci_summary.html, result_details.tar.gz
>
>
> Circleci Failure: 
> https://app.circleci.com/pipelines/github/michaelsembwever/cassandra/256/workflows/c4fda8f1-a8d6-4523-be83-5e30b9de39fe/jobs/20500/tests
> Also: Circleci Failure: 
> https://app.circleci.com/pipelines/github/michaelsembwever/cassandra/256/workflows/c4fda8f1-a8d6-4523-be83-5e30b9de39fe/jobs/20502/tests
> Also: CircleCI Failure: 
> https://app.circleci.com/pipelines/github/michaelsembwever/cassandra/256/workflows/c4fda8f1-a8d6-4523-be83-5e30b9de39fe/jobs/20503/tests
> ```
>  org.apache.cassandra.distributed.shared.ShutdownException: Uncaught 
> exceptions were thrown during test
>  at 
> org.apache.cassandra.distributed.impl.AbstractCluster.checkAndResetUncaughtExceptions(AbstractCluster.java:1124)
>  at 
> org.apache.cassandra.distributed.impl.AbstractCluster.close(AbstractCluster.java:1110)
>  at 
> org.apache.cassandra.distributed.test.ring.DecommissionTest.testMixedVersionBlockDecom(DecommissionTest.java:171)
>  at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native 
> Method)
>  at 
> java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
>  at 
> java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>  Suppressed: java.util.concurrent.RejectedExecutionException: GossipStage has 
> shut down
>  at 
> org.apache.cassandra.concurrent.ThreadPoolExecutorBase.lambda$static$0(ThreadPoolExecutorBase.java:49)
>  at 
> org.apache.cassandra.concurrent.ThreadPoolExecutorJMXAdapter.lambda$rejectedExecutionHandler$0(ThreadPoolExecutorJMXAdapter.java:238)
>  at 
> java.base/java.util.concurrent.ThreadPoolExecutor.reject(ThreadPoolExecutor.java:833)
>  at 
> java.base/java.util.concurrent.ThreadPoolExecutor.execute(ThreadPoolExecutor.java:1365)
>  at 
> org.apache.cassandra.concurrent.ThreadPoolExecutorPlus.addTask(ThreadPoolExecutorPlus.java:50)
>  at 
> org.apache.cassandra.concurrent.ThreadPoolExecutorPlus.execute(ThreadPoolExecutorPlus.java:57)
>  at org.apache.cassandra.concurrent.Stage.execute(Stage.java:127)
>  at 
> org.apache.cassandra.gms.Gossiper.runInGossipStageBlocking(Gossiper.java:467)
>  at 
> org.apache.cassandra.tcm.compatibility.GossipHelper.removeFromGossip(GossipHelper.java:100)
>  at 
> org.apache.cassandra.tcm.listeners.LegacyStateListener.notifyPostCommit(LegacyStateListener.java:122)
>  at 
> org.apache.cassandra.tcm.log.LocalLog.lambda$notifyPostCommit$3(LocalLog.java:561)
>  at org.apache.cassandra.concurrent.FutureTask$1.call(FutureTask.java:96)
>  at org.apache.cassandra.concurrent.FutureTask.call(FutureTask.java:61)
>  at org.apache.cassandra.concurrent.FutureTask.run(FutureTask.java:71)
>  at 
> java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539)
>  at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
>  at 
> java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304)
>  at 
> java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
>  at 
> java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
>  at 
> io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
>  at java.base/java.lang.Thread.run(Thread.java:833)
>  Suppressed: java.util.concurrent.RejectedExecutionException: GossipStage has 
> shut down
>  at 
> org.apache.cassandra.concurrent.ThreadPoolExecutorBase.lambda$static$0(ThreadPoolExecutorBase.java:49)
>  at 
> org.apache.cassandra.concurrent.ThreadPoolExecutorJMXAdapter.lambda$rejectedExecutionHandler$0(ThreadPoolExecutorJMXAdapter.java:238)
>  at 
> java.base/java.util.concurrent.ThreadPoolExecutor.reject(ThreadPoolExecutor.java:833)
>  at 
> java.base/java.util.concurrent.ThreadPoolExecutor.execute(ThreadPoolExecutor.java:1365)
>  at 
> org.apache.cassandra.concurrent.ThreadPoolExecutorPlus.addTask(ThreadPoolExecutorPlus.java:50)
>  at 
> 

[jira] [Updated] (CASSANDRA-19093) Test Failure: materialized_views_test.TestMaterializedViews.test_interrupt_build_process

2023-11-30 Thread Sam Tunnicliffe (Jira)


 [ 
https://issues.apache.org/jira/browse/CASSANDRA-19093?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sam Tunnicliffe updated CASSANDRA-19093:

  Since Version: NA
Source Control Link: 
https://github.com/apache/cassandra-dtest/commit/146f7677ae99bae2c5eeed34e85cc7d79dbba230
 Resolution: Fixed
 Status: Resolved  (was: Ready to Commit)

> Test Failure: 
> materialized_views_test.TestMaterializedViews.test_interrupt_build_process
> 
>
> Key: CASSANDRA-19093
> URL: https://issues.apache.org/jira/browse/CASSANDRA-19093
> Project: Cassandra
>  Issue Type: Bug
>  Components: Test/dtest/python
>Reporter: Michael Semb Wever
>Assignee: Sam Tunnicliffe
>Priority: Normal
> Fix For: 5.1-alpha1
>
>
> Seen in j11_dtests in CASSANDRA-19034
> https://app.circleci.com/pipelines/github/michaelsembwever/cassandra/259/workflows/f343d3e3-00cf-4e13-bb4d-bbfff1d3658c/jobs/21100/tests
> {noformat}
> AssertionError: assert not [('DEBUG [ViewBuildExecutor:2] 2023-11-25 
> 10:20:56,917 ViewBuilderTask.java:128 - Resuming view build for range 
> (-3458...token -5761824694134994220 with 1 covered keys\n',  span=(79, 98), match='Resuming view build'>), ...]
>  +  where [('DEBUG [ViewBuildExecutor:2] 2023-11-25 10:20:56,917 
> ViewBuilderTask.java:128 - Resuming view build for range (-3458...token 
> -5761824694134994220 with 1 covered keys\n',  match='Resuming view build'>), ...] =  >('Resuming view build', 
> filename='debug.log')
>  +where  0x7f09f960c390>> = .grep_log
> self =  0x7f09fa5f0250>
> def test_interrupt_build_process(self):
> """Test that an interrupted MV build process is resumed as it 
> should"""
> 
> options = {'hinted_handoff_enabled': False}
> if self.cluster.version() >= '4':
> options['concurrent_materialized_view_builders'] = 4
> 
> session = self.prepare(options=options, install_byteman=True)
> node1, node2, node3 = self.cluster.nodelist()
> 
> logger.debug("Avoid premature MV build finalization with byteman")
> for node in self.cluster.nodelist():
> if self.cluster.version() >= '4':
> 
> node.byteman_submit([mk_bman_path('4.0/skip_view_build_finalization.btm')])
> 
> node.byteman_submit([mk_bman_path('4.0/skip_view_build_task_finalization.btm')])
> else:
> 
> node.byteman_submit([mk_bman_path('pre4.0/skip_finish_view_build_status.btm')])
> 
> node.byteman_submit([mk_bman_path('pre4.0/skip_view_build_update_distributed.btm')])
> 
> session.execute("CREATE TABLE t (id int PRIMARY KEY, v int, v2 text, 
> v3 decimal)")
> 
> logger.debug("Inserting initial data")
> for i in range(1):
> session.execute(
> "INSERT INTO t (id, v, v2, v3) VALUES ({v}, {v}, 'a', 3.0) IF 
> NOT EXISTS".format(v=i)
> )
> 
> logger.debug("Create a MV")
> session.execute(("CREATE MATERIALIZED VIEW t_by_v AS SELECT * FROM t "
>  "WHERE v IS NOT NULL AND id IS NOT NULL PRIMARY KEY 
> (v, id)"))
> 
> logger.debug("Wait and ensure the MV build has started. Waiting up to 
> 2 minutes.")
> self._wait_for_view_build_start(session, 'ks', 't_by_v', 
> wait_minutes=2)
> 
> logger.debug("Stop the cluster. Interrupt the MV build process.")
> self.cluster.stop()
> 
> logger.debug("Checking logs to verify that the view build tasks have 
> been created")
> for node in self.cluster.nodelist():
> assert node.grep_log('Starting new view build', 
> filename='debug.log')
> >   assert not node.grep_log('Resuming view build', 
> > filename='debug.log')
> E   AssertionError: assert not [('DEBUG [ViewBuildExecutor:2] 
> 2023-11-25 10:20:56,917 ViewBuilderTask.java:128 - Resuming view build for 
> range (-3458...token -5761824694134994220 with 1 covered keys\n',  object; span=(79, 98), match='Resuming view build'>), ...]
> E+  where [('DEBUG [ViewBuildExecutor:2] 2023-11-25 10:20:56,917 
> ViewBuilderTask.java:128 - Resuming view build for range (-3458...token 
> -5761824694134994220 with 1 covered keys\n',  match='Resuming view build'>), ...] =  >('Resuming view build', 
> filename='debug.log')
> E+where  object at 0x7f09f960c390>> =  0x7f09f960c390>.grep_log
> materialized_views_test.py:1129: AssertionError
> {noformat}



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

[jira] [Updated] (CASSANDRA-19093) Test Failure: materialized_views_test.TestMaterializedViews.test_interrupt_build_process

2023-11-30 Thread Sam Tunnicliffe (Jira)


 [ 
https://issues.apache.org/jira/browse/CASSANDRA-19093?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sam Tunnicliffe updated CASSANDRA-19093:

Reviewers: Marcus Eriksson  (was: Marcus Eriksson, Sam Tunnicliffe)

> Test Failure: 
> materialized_views_test.TestMaterializedViews.test_interrupt_build_process
> 
>
> Key: CASSANDRA-19093
> URL: https://issues.apache.org/jira/browse/CASSANDRA-19093
> Project: Cassandra
>  Issue Type: Bug
>  Components: Test/dtest/python
>Reporter: Michael Semb Wever
>Assignee: Sam Tunnicliffe
>Priority: Normal
> Fix For: 5.1-alpha1
>
>
> Seen in j11_dtests in CASSANDRA-19034
> https://app.circleci.com/pipelines/github/michaelsembwever/cassandra/259/workflows/f343d3e3-00cf-4e13-bb4d-bbfff1d3658c/jobs/21100/tests
> {noformat}
> AssertionError: assert not [('DEBUG [ViewBuildExecutor:2] 2023-11-25 
> 10:20:56,917 ViewBuilderTask.java:128 - Resuming view build for range 
> (-3458...token -5761824694134994220 with 1 covered keys\n',  span=(79, 98), match='Resuming view build'>), ...]
>  +  where [('DEBUG [ViewBuildExecutor:2] 2023-11-25 10:20:56,917 
> ViewBuilderTask.java:128 - Resuming view build for range (-3458...token 
> -5761824694134994220 with 1 covered keys\n',  match='Resuming view build'>), ...] =  >('Resuming view build', 
> filename='debug.log')
>  +where  0x7f09f960c390>> = .grep_log
> self =  0x7f09fa5f0250>
> def test_interrupt_build_process(self):
> """Test that an interrupted MV build process is resumed as it 
> should"""
> 
> options = {'hinted_handoff_enabled': False}
> if self.cluster.version() >= '4':
> options['concurrent_materialized_view_builders'] = 4
> 
> session = self.prepare(options=options, install_byteman=True)
> node1, node2, node3 = self.cluster.nodelist()
> 
> logger.debug("Avoid premature MV build finalization with byteman")
> for node in self.cluster.nodelist():
> if self.cluster.version() >= '4':
> 
> node.byteman_submit([mk_bman_path('4.0/skip_view_build_finalization.btm')])
> 
> node.byteman_submit([mk_bman_path('4.0/skip_view_build_task_finalization.btm')])
> else:
> 
> node.byteman_submit([mk_bman_path('pre4.0/skip_finish_view_build_status.btm')])
> 
> node.byteman_submit([mk_bman_path('pre4.0/skip_view_build_update_distributed.btm')])
> 
> session.execute("CREATE TABLE t (id int PRIMARY KEY, v int, v2 text, 
> v3 decimal)")
> 
> logger.debug("Inserting initial data")
> for i in range(1):
> session.execute(
> "INSERT INTO t (id, v, v2, v3) VALUES ({v}, {v}, 'a', 3.0) IF 
> NOT EXISTS".format(v=i)
> )
> 
> logger.debug("Create a MV")
> session.execute(("CREATE MATERIALIZED VIEW t_by_v AS SELECT * FROM t "
>  "WHERE v IS NOT NULL AND id IS NOT NULL PRIMARY KEY 
> (v, id)"))
> 
> logger.debug("Wait and ensure the MV build has started. Waiting up to 
> 2 minutes.")
> self._wait_for_view_build_start(session, 'ks', 't_by_v', 
> wait_minutes=2)
> 
> logger.debug("Stop the cluster. Interrupt the MV build process.")
> self.cluster.stop()
> 
> logger.debug("Checking logs to verify that the view build tasks have 
> been created")
> for node in self.cluster.nodelist():
> assert node.grep_log('Starting new view build', 
> filename='debug.log')
> >   assert not node.grep_log('Resuming view build', 
> > filename='debug.log')
> E   AssertionError: assert not [('DEBUG [ViewBuildExecutor:2] 
> 2023-11-25 10:20:56,917 ViewBuilderTask.java:128 - Resuming view build for 
> range (-3458...token -5761824694134994220 with 1 covered keys\n',  object; span=(79, 98), match='Resuming view build'>), ...]
> E+  where [('DEBUG [ViewBuildExecutor:2] 2023-11-25 10:20:56,917 
> ViewBuilderTask.java:128 - Resuming view build for range (-3458...token 
> -5761824694134994220 with 1 covered keys\n',  match='Resuming view build'>), ...] =  >('Resuming view build', 
> filename='debug.log')
> E+where  object at 0x7f09f960c390>> =  0x7f09f960c390>.grep_log
> materialized_views_test.py:1129: AssertionError
> {noformat}



--
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] [Updated] (CASSANDRA-19093) Test Failure: materialized_views_test.TestMaterializedViews.test_interrupt_build_process

2023-11-30 Thread Sam Tunnicliffe (Jira)


 [ 
https://issues.apache.org/jira/browse/CASSANDRA-19093?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sam Tunnicliffe updated CASSANDRA-19093:

Status: Ready to Commit  (was: Review In Progress)

> Test Failure: 
> materialized_views_test.TestMaterializedViews.test_interrupt_build_process
> 
>
> Key: CASSANDRA-19093
> URL: https://issues.apache.org/jira/browse/CASSANDRA-19093
> Project: Cassandra
>  Issue Type: Bug
>  Components: Test/dtest/python
>Reporter: Michael Semb Wever
>Assignee: Sam Tunnicliffe
>Priority: Normal
> Fix For: 5.1-alpha1
>
>
> Seen in j11_dtests in CASSANDRA-19034
> https://app.circleci.com/pipelines/github/michaelsembwever/cassandra/259/workflows/f343d3e3-00cf-4e13-bb4d-bbfff1d3658c/jobs/21100/tests
> {noformat}
> AssertionError: assert not [('DEBUG [ViewBuildExecutor:2] 2023-11-25 
> 10:20:56,917 ViewBuilderTask.java:128 - Resuming view build for range 
> (-3458...token -5761824694134994220 with 1 covered keys\n',  span=(79, 98), match='Resuming view build'>), ...]
>  +  where [('DEBUG [ViewBuildExecutor:2] 2023-11-25 10:20:56,917 
> ViewBuilderTask.java:128 - Resuming view build for range (-3458...token 
> -5761824694134994220 with 1 covered keys\n',  match='Resuming view build'>), ...] =  >('Resuming view build', 
> filename='debug.log')
>  +where  0x7f09f960c390>> = .grep_log
> self =  0x7f09fa5f0250>
> def test_interrupt_build_process(self):
> """Test that an interrupted MV build process is resumed as it 
> should"""
> 
> options = {'hinted_handoff_enabled': False}
> if self.cluster.version() >= '4':
> options['concurrent_materialized_view_builders'] = 4
> 
> session = self.prepare(options=options, install_byteman=True)
> node1, node2, node3 = self.cluster.nodelist()
> 
> logger.debug("Avoid premature MV build finalization with byteman")
> for node in self.cluster.nodelist():
> if self.cluster.version() >= '4':
> 
> node.byteman_submit([mk_bman_path('4.0/skip_view_build_finalization.btm')])
> 
> node.byteman_submit([mk_bman_path('4.0/skip_view_build_task_finalization.btm')])
> else:
> 
> node.byteman_submit([mk_bman_path('pre4.0/skip_finish_view_build_status.btm')])
> 
> node.byteman_submit([mk_bman_path('pre4.0/skip_view_build_update_distributed.btm')])
> 
> session.execute("CREATE TABLE t (id int PRIMARY KEY, v int, v2 text, 
> v3 decimal)")
> 
> logger.debug("Inserting initial data")
> for i in range(1):
> session.execute(
> "INSERT INTO t (id, v, v2, v3) VALUES ({v}, {v}, 'a', 3.0) IF 
> NOT EXISTS".format(v=i)
> )
> 
> logger.debug("Create a MV")
> session.execute(("CREATE MATERIALIZED VIEW t_by_v AS SELECT * FROM t "
>  "WHERE v IS NOT NULL AND id IS NOT NULL PRIMARY KEY 
> (v, id)"))
> 
> logger.debug("Wait and ensure the MV build has started. Waiting up to 
> 2 minutes.")
> self._wait_for_view_build_start(session, 'ks', 't_by_v', 
> wait_minutes=2)
> 
> logger.debug("Stop the cluster. Interrupt the MV build process.")
> self.cluster.stop()
> 
> logger.debug("Checking logs to verify that the view build tasks have 
> been created")
> for node in self.cluster.nodelist():
> assert node.grep_log('Starting new view build', 
> filename='debug.log')
> >   assert not node.grep_log('Resuming view build', 
> > filename='debug.log')
> E   AssertionError: assert not [('DEBUG [ViewBuildExecutor:2] 
> 2023-11-25 10:20:56,917 ViewBuilderTask.java:128 - Resuming view build for 
> range (-3458...token -5761824694134994220 with 1 covered keys\n',  object; span=(79, 98), match='Resuming view build'>), ...]
> E+  where [('DEBUG [ViewBuildExecutor:2] 2023-11-25 10:20:56,917 
> ViewBuilderTask.java:128 - Resuming view build for range (-3458...token 
> -5761824694134994220 with 1 covered keys\n',  match='Resuming view build'>), ...] =  >('Resuming view build', 
> filename='debug.log')
> E+where  object at 0x7f09f960c390>> =  0x7f09f960c390>.grep_log
> materialized_views_test.py:1129: AssertionError
> {noformat}



--
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] [Updated] (CASSANDRA-19093) Test Failure: materialized_views_test.TestMaterializedViews.test_interrupt_build_process

2023-11-30 Thread Sam Tunnicliffe (Jira)


 [ 
https://issues.apache.org/jira/browse/CASSANDRA-19093?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sam Tunnicliffe updated CASSANDRA-19093:

Reviewers: Marcus Eriksson, Sam Tunnicliffe
   Status: Review In Progress  (was: Patch Available)

> Test Failure: 
> materialized_views_test.TestMaterializedViews.test_interrupt_build_process
> 
>
> Key: CASSANDRA-19093
> URL: https://issues.apache.org/jira/browse/CASSANDRA-19093
> Project: Cassandra
>  Issue Type: Bug
>  Components: Test/dtest/python
>Reporter: Michael Semb Wever
>Assignee: Sam Tunnicliffe
>Priority: Normal
> Fix For: 5.1-alpha1
>
>
> Seen in j11_dtests in CASSANDRA-19034
> https://app.circleci.com/pipelines/github/michaelsembwever/cassandra/259/workflows/f343d3e3-00cf-4e13-bb4d-bbfff1d3658c/jobs/21100/tests
> {noformat}
> AssertionError: assert not [('DEBUG [ViewBuildExecutor:2] 2023-11-25 
> 10:20:56,917 ViewBuilderTask.java:128 - Resuming view build for range 
> (-3458...token -5761824694134994220 with 1 covered keys\n',  span=(79, 98), match='Resuming view build'>), ...]
>  +  where [('DEBUG [ViewBuildExecutor:2] 2023-11-25 10:20:56,917 
> ViewBuilderTask.java:128 - Resuming view build for range (-3458...token 
> -5761824694134994220 with 1 covered keys\n',  match='Resuming view build'>), ...] =  >('Resuming view build', 
> filename='debug.log')
>  +where  0x7f09f960c390>> = .grep_log
> self =  0x7f09fa5f0250>
> def test_interrupt_build_process(self):
> """Test that an interrupted MV build process is resumed as it 
> should"""
> 
> options = {'hinted_handoff_enabled': False}
> if self.cluster.version() >= '4':
> options['concurrent_materialized_view_builders'] = 4
> 
> session = self.prepare(options=options, install_byteman=True)
> node1, node2, node3 = self.cluster.nodelist()
> 
> logger.debug("Avoid premature MV build finalization with byteman")
> for node in self.cluster.nodelist():
> if self.cluster.version() >= '4':
> 
> node.byteman_submit([mk_bman_path('4.0/skip_view_build_finalization.btm')])
> 
> node.byteman_submit([mk_bman_path('4.0/skip_view_build_task_finalization.btm')])
> else:
> 
> node.byteman_submit([mk_bman_path('pre4.0/skip_finish_view_build_status.btm')])
> 
> node.byteman_submit([mk_bman_path('pre4.0/skip_view_build_update_distributed.btm')])
> 
> session.execute("CREATE TABLE t (id int PRIMARY KEY, v int, v2 text, 
> v3 decimal)")
> 
> logger.debug("Inserting initial data")
> for i in range(1):
> session.execute(
> "INSERT INTO t (id, v, v2, v3) VALUES ({v}, {v}, 'a', 3.0) IF 
> NOT EXISTS".format(v=i)
> )
> 
> logger.debug("Create a MV")
> session.execute(("CREATE MATERIALIZED VIEW t_by_v AS SELECT * FROM t "
>  "WHERE v IS NOT NULL AND id IS NOT NULL PRIMARY KEY 
> (v, id)"))
> 
> logger.debug("Wait and ensure the MV build has started. Waiting up to 
> 2 minutes.")
> self._wait_for_view_build_start(session, 'ks', 't_by_v', 
> wait_minutes=2)
> 
> logger.debug("Stop the cluster. Interrupt the MV build process.")
> self.cluster.stop()
> 
> logger.debug("Checking logs to verify that the view build tasks have 
> been created")
> for node in self.cluster.nodelist():
> assert node.grep_log('Starting new view build', 
> filename='debug.log')
> >   assert not node.grep_log('Resuming view build', 
> > filename='debug.log')
> E   AssertionError: assert not [('DEBUG [ViewBuildExecutor:2] 
> 2023-11-25 10:20:56,917 ViewBuilderTask.java:128 - Resuming view build for 
> range (-3458...token -5761824694134994220 with 1 covered keys\n',  object; span=(79, 98), match='Resuming view build'>), ...]
> E+  where [('DEBUG [ViewBuildExecutor:2] 2023-11-25 10:20:56,917 
> ViewBuilderTask.java:128 - Resuming view build for range (-3458...token 
> -5761824694134994220 with 1 covered keys\n',  match='Resuming view build'>), ...] =  >('Resuming view build', 
> filename='debug.log')
> E+where  object at 0x7f09f960c390>> =  0x7f09f960c390>.grep_log
> materialized_views_test.py:1129: AssertionError
> {noformat}



--
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] [Comment Edited] (CASSANDRA-19093) Test Failure: materialized_views_test.TestMaterializedViews.test_interrupt_build_process

2023-11-30 Thread Sam Tunnicliffe (Jira)


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

Sam Tunnicliffe edited comment on CASSANDRA-19093 at 11/30/23 8:56 AM:
---

dtests look good now 
[https://app.circleci.com/pipelines/github/michaelsembwever/cassandra/267/workflows/0557328a-f228-496f-8413-830397b27c94]

only failure is the one tracked by CASSANDRA-19056

and a repeated run shows no failures 
[https://app.circleci.com/pipelines/github/michaelsembwever/cassandra/268/workflows/5df769b3-e986-4ce7-acc7-af00faeef125/jobs/22367]


was (Author: beobal):
dtests look good now 
[https://app.circleci.com/pipelines/github/michaelsembwever/cassandra/267/workflows/0557328a-f228-496f-8413-830397b27c94]

and a repeated run shows no failures 
[https://app.circleci.com/pipelines/github/michaelsembwever/cassandra/268/workflows/5df769b3-e986-4ce7-acc7-af00faeef125/jobs/22367]

> Test Failure: 
> materialized_views_test.TestMaterializedViews.test_interrupt_build_process
> 
>
> Key: CASSANDRA-19093
> URL: https://issues.apache.org/jira/browse/CASSANDRA-19093
> Project: Cassandra
>  Issue Type: Bug
>  Components: Test/dtest/python
>Reporter: Michael Semb Wever
>Assignee: Sam Tunnicliffe
>Priority: Normal
> Fix For: 5.1-alpha1
>
>
> Seen in j11_dtests in CASSANDRA-19034
> https://app.circleci.com/pipelines/github/michaelsembwever/cassandra/259/workflows/f343d3e3-00cf-4e13-bb4d-bbfff1d3658c/jobs/21100/tests
> {noformat}
> AssertionError: assert not [('DEBUG [ViewBuildExecutor:2] 2023-11-25 
> 10:20:56,917 ViewBuilderTask.java:128 - Resuming view build for range 
> (-3458...token -5761824694134994220 with 1 covered keys\n',  span=(79, 98), match='Resuming view build'>), ...]
>  +  where [('DEBUG [ViewBuildExecutor:2] 2023-11-25 10:20:56,917 
> ViewBuilderTask.java:128 - Resuming view build for range (-3458...token 
> -5761824694134994220 with 1 covered keys\n',  match='Resuming view build'>), ...] =  >('Resuming view build', 
> filename='debug.log')
>  +where  0x7f09f960c390>> = .grep_log
> self =  0x7f09fa5f0250>
> def test_interrupt_build_process(self):
> """Test that an interrupted MV build process is resumed as it 
> should"""
> 
> options = {'hinted_handoff_enabled': False}
> if self.cluster.version() >= '4':
> options['concurrent_materialized_view_builders'] = 4
> 
> session = self.prepare(options=options, install_byteman=True)
> node1, node2, node3 = self.cluster.nodelist()
> 
> logger.debug("Avoid premature MV build finalization with byteman")
> for node in self.cluster.nodelist():
> if self.cluster.version() >= '4':
> 
> node.byteman_submit([mk_bman_path('4.0/skip_view_build_finalization.btm')])
> 
> node.byteman_submit([mk_bman_path('4.0/skip_view_build_task_finalization.btm')])
> else:
> 
> node.byteman_submit([mk_bman_path('pre4.0/skip_finish_view_build_status.btm')])
> 
> node.byteman_submit([mk_bman_path('pre4.0/skip_view_build_update_distributed.btm')])
> 
> session.execute("CREATE TABLE t (id int PRIMARY KEY, v int, v2 text, 
> v3 decimal)")
> 
> logger.debug("Inserting initial data")
> for i in range(1):
> session.execute(
> "INSERT INTO t (id, v, v2, v3) VALUES ({v}, {v}, 'a', 3.0) IF 
> NOT EXISTS".format(v=i)
> )
> 
> logger.debug("Create a MV")
> session.execute(("CREATE MATERIALIZED VIEW t_by_v AS SELECT * FROM t "
>  "WHERE v IS NOT NULL AND id IS NOT NULL PRIMARY KEY 
> (v, id)"))
> 
> logger.debug("Wait and ensure the MV build has started. Waiting up to 
> 2 minutes.")
> self._wait_for_view_build_start(session, 'ks', 't_by_v', 
> wait_minutes=2)
> 
> logger.debug("Stop the cluster. Interrupt the MV build process.")
> self.cluster.stop()
> 
> logger.debug("Checking logs to verify that the view build tasks have 
> been created")
> for node in self.cluster.nodelist():
> assert node.grep_log('Starting new view build', 
> filename='debug.log')
> >   assert not node.grep_log('Resuming view build', 
> > filename='debug.log')
> E   AssertionError: assert not [('DEBUG [ViewBuildExecutor:2] 
> 2023-11-25 10:20:56,917 ViewBuilderTask.java:128 - Resuming view build for 
> range (-3458...token -5761824694134994220 with 1 covered keys\n',  object; span=(79, 98), match='Resuming view build'>), ...]
> E+  where [('DEBUG [ViewBuildExecutor:2] 2023-11-25 10:20:56,917 
> ViewBuilderTask.java:128 - 

[jira] [Commented] (CASSANDRA-19093) Test Failure: materialized_views_test.TestMaterializedViews.test_interrupt_build_process

2023-11-30 Thread Sam Tunnicliffe (Jira)


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

Sam Tunnicliffe commented on CASSANDRA-19093:
-

dtests look good now 
[https://app.circleci.com/pipelines/github/michaelsembwever/cassandra/267/workflows/0557328a-f228-496f-8413-830397b27c94]

and a repeated run shows no failures 
[https://app.circleci.com/pipelines/github/michaelsembwever/cassandra/268/workflows/5df769b3-e986-4ce7-acc7-af00faeef125/jobs/22367]

> Test Failure: 
> materialized_views_test.TestMaterializedViews.test_interrupt_build_process
> 
>
> Key: CASSANDRA-19093
> URL: https://issues.apache.org/jira/browse/CASSANDRA-19093
> Project: Cassandra
>  Issue Type: Bug
>  Components: Test/dtest/python
>Reporter: Michael Semb Wever
>Assignee: Sam Tunnicliffe
>Priority: Normal
> Fix For: 5.1-alpha1
>
>
> Seen in j11_dtests in CASSANDRA-19034
> https://app.circleci.com/pipelines/github/michaelsembwever/cassandra/259/workflows/f343d3e3-00cf-4e13-bb4d-bbfff1d3658c/jobs/21100/tests
> {noformat}
> AssertionError: assert not [('DEBUG [ViewBuildExecutor:2] 2023-11-25 
> 10:20:56,917 ViewBuilderTask.java:128 - Resuming view build for range 
> (-3458...token -5761824694134994220 with 1 covered keys\n',  span=(79, 98), match='Resuming view build'>), ...]
>  +  where [('DEBUG [ViewBuildExecutor:2] 2023-11-25 10:20:56,917 
> ViewBuilderTask.java:128 - Resuming view build for range (-3458...token 
> -5761824694134994220 with 1 covered keys\n',  match='Resuming view build'>), ...] =  >('Resuming view build', 
> filename='debug.log')
>  +where  0x7f09f960c390>> = .grep_log
> self =  0x7f09fa5f0250>
> def test_interrupt_build_process(self):
> """Test that an interrupted MV build process is resumed as it 
> should"""
> 
> options = {'hinted_handoff_enabled': False}
> if self.cluster.version() >= '4':
> options['concurrent_materialized_view_builders'] = 4
> 
> session = self.prepare(options=options, install_byteman=True)
> node1, node2, node3 = self.cluster.nodelist()
> 
> logger.debug("Avoid premature MV build finalization with byteman")
> for node in self.cluster.nodelist():
> if self.cluster.version() >= '4':
> 
> node.byteman_submit([mk_bman_path('4.0/skip_view_build_finalization.btm')])
> 
> node.byteman_submit([mk_bman_path('4.0/skip_view_build_task_finalization.btm')])
> else:
> 
> node.byteman_submit([mk_bman_path('pre4.0/skip_finish_view_build_status.btm')])
> 
> node.byteman_submit([mk_bman_path('pre4.0/skip_view_build_update_distributed.btm')])
> 
> session.execute("CREATE TABLE t (id int PRIMARY KEY, v int, v2 text, 
> v3 decimal)")
> 
> logger.debug("Inserting initial data")
> for i in range(1):
> session.execute(
> "INSERT INTO t (id, v, v2, v3) VALUES ({v}, {v}, 'a', 3.0) IF 
> NOT EXISTS".format(v=i)
> )
> 
> logger.debug("Create a MV")
> session.execute(("CREATE MATERIALIZED VIEW t_by_v AS SELECT * FROM t "
>  "WHERE v IS NOT NULL AND id IS NOT NULL PRIMARY KEY 
> (v, id)"))
> 
> logger.debug("Wait and ensure the MV build has started. Waiting up to 
> 2 minutes.")
> self._wait_for_view_build_start(session, 'ks', 't_by_v', 
> wait_minutes=2)
> 
> logger.debug("Stop the cluster. Interrupt the MV build process.")
> self.cluster.stop()
> 
> logger.debug("Checking logs to verify that the view build tasks have 
> been created")
> for node in self.cluster.nodelist():
> assert node.grep_log('Starting new view build', 
> filename='debug.log')
> >   assert not node.grep_log('Resuming view build', 
> > filename='debug.log')
> E   AssertionError: assert not [('DEBUG [ViewBuildExecutor:2] 
> 2023-11-25 10:20:56,917 ViewBuilderTask.java:128 - Resuming view build for 
> range (-3458...token -5761824694134994220 with 1 covered keys\n',  object; span=(79, 98), match='Resuming view build'>), ...]
> E+  where [('DEBUG [ViewBuildExecutor:2] 2023-11-25 10:20:56,917 
> ViewBuilderTask.java:128 - Resuming view build for range (-3458...token 
> -5761824694134994220 with 1 covered keys\n',  match='Resuming view build'>), ...] =  >('Resuming view build', 
> filename='debug.log')
> E+where  object at 0x7f09f960c390>> =  0x7f09f960c390>.grep_log
> materialized_views_test.py:1129: AssertionError
> {noformat}



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


[jira] [Updated] (CASSANDRA-19093) Test Failure: materialized_views_test.TestMaterializedViews.test_interrupt_build_process

2023-11-29 Thread Sam Tunnicliffe (Jira)


 [ 
https://issues.apache.org/jira/browse/CASSANDRA-19093?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sam Tunnicliffe updated CASSANDRA-19093:

Test and Documentation Plan: Run updated tests
 Status: Patch Available  (was: In Progress)

[https://github.com/apache/cassandra-dtest/pull/247]


I don't believe this is directly related to TCM as I can trivially repro it on 
an M2 MacBook running against the 5.0 branch and using commit 
[{{b355b84c}}|https://github.com/apache/cassandra-dtest/commit/b355b84c5f7b53d390822332215e3751df562559]
 of cassandra-dtests (before any TCM changes landed). What happens is that at 
startup the initial view building task is submitted to the optional tasks 
executor from {{CassandraDaemon::setup}}, but before this is executed the 
{{CREATE VIEW}} statement is received and the build of {{ks.t_by_v}} is started 
from the migration stage. Then when the initial view task does run on optional 
tasks it forces the existing task to stop and then resume adding the {{Resuming 
view build for range...}} log messages which causes the test assertion to fail.

It's possible that changes to timing of startup and initialization from TCM may 
make this more likely to fail now. The patch removes the negative grep for the 
non-presence of "{{Resuming view build...}}" before restarting the cluster. 
Instead, it marks each logfile and only does the subsequent grep from those 
points. Confirmed that with this patch the error no longer repros on 5.0


> Test Failure: 
> materialized_views_test.TestMaterializedViews.test_interrupt_build_process
> 
>
> Key: CASSANDRA-19093
> URL: https://issues.apache.org/jira/browse/CASSANDRA-19093
> Project: Cassandra
>  Issue Type: Bug
>  Components: Test/dtest/python
>Reporter: Michael Semb Wever
>Assignee: Sam Tunnicliffe
>Priority: Normal
> Fix For: 5.1-alpha1
>
>
> Seen in j11_dtests in CASSANDRA-19034
> https://app.circleci.com/pipelines/github/michaelsembwever/cassandra/259/workflows/f343d3e3-00cf-4e13-bb4d-bbfff1d3658c/jobs/21100/tests
> {noformat}
> AssertionError: assert not [('DEBUG [ViewBuildExecutor:2] 2023-11-25 
> 10:20:56,917 ViewBuilderTask.java:128 - Resuming view build for range 
> (-3458...token -5761824694134994220 with 1 covered keys\n',  span=(79, 98), match='Resuming view build'>), ...]
>  +  where [('DEBUG [ViewBuildExecutor:2] 2023-11-25 10:20:56,917 
> ViewBuilderTask.java:128 - Resuming view build for range (-3458...token 
> -5761824694134994220 with 1 covered keys\n',  match='Resuming view build'>), ...] =  >('Resuming view build', 
> filename='debug.log')
>  +where  0x7f09f960c390>> = .grep_log
> self =  0x7f09fa5f0250>
> def test_interrupt_build_process(self):
> """Test that an interrupted MV build process is resumed as it 
> should"""
> 
> options = {'hinted_handoff_enabled': False}
> if self.cluster.version() >= '4':
> options['concurrent_materialized_view_builders'] = 4
> 
> session = self.prepare(options=options, install_byteman=True)
> node1, node2, node3 = self.cluster.nodelist()
> 
> logger.debug("Avoid premature MV build finalization with byteman")
> for node in self.cluster.nodelist():
> if self.cluster.version() >= '4':
> 
> node.byteman_submit([mk_bman_path('4.0/skip_view_build_finalization.btm')])
> 
> node.byteman_submit([mk_bman_path('4.0/skip_view_build_task_finalization.btm')])
> else:
> 
> node.byteman_submit([mk_bman_path('pre4.0/skip_finish_view_build_status.btm')])
> 
> node.byteman_submit([mk_bman_path('pre4.0/skip_view_build_update_distributed.btm')])
> 
> session.execute("CREATE TABLE t (id int PRIMARY KEY, v int, v2 text, 
> v3 decimal)")
> 
> logger.debug("Inserting initial data")
> for i in range(1):
> session.execute(
> "INSERT INTO t (id, v, v2, v3) VALUES ({v}, {v}, 'a', 3.0) IF 
> NOT EXISTS".format(v=i)
> )
> 
> logger.debug("Create a MV")
> session.execute(("CREATE MATERIALIZED VIEW t_by_v AS SELECT * FROM t "
>  "WHERE v IS NOT NULL AND id IS NOT NULL PRIMARY KEY 
> (v, id)"))
> 
> logger.debug("Wait and ensure the MV build has started. Waiting up to 
> 2 minutes.")
> self._wait_for_view_build_start(session, 'ks', 't_by_v', 
> wait_minutes=2)
> 
> logger.debug("Stop the cluster. Interrupt the MV build process.")
> self.cluster.stop()
> 
> logger.debug("Checking logs to verify that the view build tasks have 
> been created")
> for node in self.cluster.nodelist():
> 

[jira] [Updated] (CASSANDRA-19092) Test Failure: cql_tracing_test.TestCqlTracing.test_tracing_simple

2023-11-29 Thread Sam Tunnicliffe (Jira)


 [ 
https://issues.apache.org/jira/browse/CASSANDRA-19092?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sam Tunnicliffe updated CASSANDRA-19092:

  Fix Version/s: 5.1-alpha1
  Since Version: NA
Source Control Link: 
https://github.com/apache/cassandra/commit/de1766a2f823fb3124eb002cb73caf2e84da5bbf
 Resolution: Fixed
 Status: Resolved  (was: Ready to Commit)

> Test Failure: cql_tracing_test.TestCqlTracing.test_tracing_simple
> -
>
> Key: CASSANDRA-19092
> URL: https://issues.apache.org/jira/browse/CASSANDRA-19092
> Project: Cassandra
>  Issue Type: Bug
>  Components: Test/dtest/python
>Reporter: Michael Semb Wever
>Assignee: Sam Tunnicliffe
>Priority: Normal
> Fix For: 5.1-alpha1
>
>
> Seen in cqlsh_dtests in CASSANDRA-19034
> https://app.circleci.com/pipelines/github/michaelsembwever/cassandra/257/workflows/ddcb5f4e-e2c5-430b-b922-f7064a244971/jobs/20648/tests
> {noformat}failed on teardown with "Failed: Unexpected error found in node 
> logs (see stdout for full details). Errors: [[node3] 'ERROR [main] 2023-11-24 
> 19:02:04,201 FailureDetector.java:309 - Unknown endpoint: /127.0.0.1:7000
> java.lang.IllegalArgumentException: Unknown endpoint: /127.0.0.1:7000
> at 
> org.apache.cassandra.gms.FailureDetector.isAlive(FailureDetector.java:309)
> at 
> org.apache.cassandra.tcm.RemoteProcessor$CandidateIterator.computeNext(RemoteProcessor.java:326)
> at 
> org.apache.cassandra.tcm.RemoteProcessor$CandidateIterator.computeNext(RemoteProcessor.java:256)
> at 
> org.apache.cassandra.utils.AbstractIterator.hasNext(AbstractIterator.java:47)
> at 
> org.apache.cassandra.tcm.RemoteProcessor$1Request.retry(RemoteProcessor.java:187)
> at 
> org.apache.cassandra.tcm.RemoteProcessor.sendWithCallbackAsync(RemoteProcessor.java:223)
> at 
> org.apache.cassandra.tcm.RemoteProcessor.sendWithCallback(RemoteProcessor.java:170)
> at 
> org.apache.cassandra.tcm.RemoteProcessor.commit(RemoteProcessor.java:76)
> at 
> org.apache.cassandra.tcm.ClusterMetadataService$SwitchableProcessor.commit(ClusterMetadataService.java:837)
> at org.apache.cassandra.tcm.Processor.commit(Processor.java:45)
> at 
> org.apache.cassandra.tcm.ClusterMetadataService.commit(ClusterMetadataService.java:502)
> at 
> org.apache.cassandra.tcm.ClusterMetadataService.commit(ClusterMetadataService.java:467)
> at 
> org.apache.cassandra.tcm.transformations.Register.register(Register.java:112)
> at 
> org.apache.cassandra.tcm.transformations.Register.register(Register.java:95)
> at 
> org.apache.cassandra.tcm.transformations.Register.register(Register.java:132)
> at 
> org.apache.cassandra.tcm.transformations.Register.maybeRegister(Register.java:89)
> at 
> org.apache.cassandra.service.StorageService.initServer(StorageService.java:807)
> at 
> org.apache.cassandra.service.CassandraDaemon.setup(CassandraDaemon.java:367)
> at 
> org.apache.cassandra.service.CassandraDaemon.activate(CassandraDaemon.java:728)
> at 
> org.apache.cassandra.service.CassandraDaemon.main(CassandraDaemon.java:879)']"
> {noformat}



--
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] [Updated] (CASSANDRA-19088) Test Failure: pushed_notifications_test.TestPushedNotifications.test_move_single_node

2023-11-29 Thread Sam Tunnicliffe (Jira)


 [ 
https://issues.apache.org/jira/browse/CASSANDRA-19088?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sam Tunnicliffe updated CASSANDRA-19088:

  Since Version: NA
Source Control Link: 
https://github.com/apache/cassandra-dtest/commit/e01f467afece244e24429d40c5a2b2c5a8b8239f
 Resolution: Fixed
 Status: Resolved  (was: Ready to Commit)

> Test Failure: 
> pushed_notifications_test.TestPushedNotifications.test_move_single_node
> -
>
> Key: CASSANDRA-19088
> URL: https://issues.apache.org/jira/browse/CASSANDRA-19088
> Project: Cassandra
>  Issue Type: Bug
>  Components: Test/dtest/python
>Reporter: Michael Semb Wever
>Assignee: Sam Tunnicliffe
>Priority: Normal
> Fix For: 5.1-alpha1
>
>
> In j11_dtests from CASSANDRA-19034
> https://app.circleci.com/pipelines/github/mike-tr-adamson/cassandra/402/workflows/92aacb84-fd3a-48e0-9fb2-d1e2fe6fc71a/jobs/35345/tests
> {noformat}
> AssertionError: assert 'MOVED_NODE' == 'NEW_NODE'
>   - NEW_NODE
>   + MOVED_NODE
> self =  0x7fd28ee838d0>
> @pytest.mark.no_vnodes
> def test_move_single_node(self):
> """
> @jira_ticket CASSANDRA-8516
> Moving a token should result in MOVED_NODE notifications.
> """
> self.cluster.populate(3).start()
> 
> waiters = [NotificationWaiter(self, node, ["TOPOLOGY_CHANGE"])
>for node in list(self.cluster.nodes.values())]
> 
> # The first node sends NEW_NODE for the other 2 nodes during startup, 
> in case they are
> # late due to network delays let's block a bit longer
> logger.debug("Waiting for unwanted notifications")
> waiters[0].wait_for_notifications(timeout=30, num_notifications=2)
> waiters[0].clear_notifications()
> 
> logger.debug("Issuing move command")
> node1 = list(self.cluster.nodes.values())[0]
> node1.move("123")
> 
> for waiter in waiters:
> logger.debug("Waiting for notification from 
> {}".format(waiter.address,))
> notifications = waiter.wait_for_notifications(60.0)
> assert 1 == len(notifications), notifications
> notification = notifications[0]
> change_type = notification["change_type"]
> address, port = notification["address"]
> >   assert "MOVED_NODE" == change_type
> E   AssertionError: assert 'MOVED_NODE' == 'NEW_NODE'
> E - NEW_NODE
> E + MOVED_NODE
> pushed_notifications_test.py:118: AssertionError
> {noformat}



--
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] [Updated] (CASSANDRA-19092) Test Failure: cql_tracing_test.TestCqlTracing.test_tracing_simple

2023-11-29 Thread Sam Tunnicliffe (Jira)


 [ 
https://issues.apache.org/jira/browse/CASSANDRA-19092?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sam Tunnicliffe updated CASSANDRA-19092:

Reviewers: Marcus Eriksson, Sam Tunnicliffe
   Status: Review In Progress  (was: Patch Available)

> Test Failure: cql_tracing_test.TestCqlTracing.test_tracing_simple
> -
>
> Key: CASSANDRA-19092
> URL: https://issues.apache.org/jira/browse/CASSANDRA-19092
> Project: Cassandra
>  Issue Type: Bug
>  Components: Test/dtest/python
>Reporter: Michael Semb Wever
>Assignee: Sam Tunnicliffe
>Priority: Normal
>
> Seen in cqlsh_dtests in CASSANDRA-19034
> https://app.circleci.com/pipelines/github/michaelsembwever/cassandra/257/workflows/ddcb5f4e-e2c5-430b-b922-f7064a244971/jobs/20648/tests
> {noformat}failed on teardown with "Failed: Unexpected error found in node 
> logs (see stdout for full details). Errors: [[node3] 'ERROR [main] 2023-11-24 
> 19:02:04,201 FailureDetector.java:309 - Unknown endpoint: /127.0.0.1:7000
> java.lang.IllegalArgumentException: Unknown endpoint: /127.0.0.1:7000
> at 
> org.apache.cassandra.gms.FailureDetector.isAlive(FailureDetector.java:309)
> at 
> org.apache.cassandra.tcm.RemoteProcessor$CandidateIterator.computeNext(RemoteProcessor.java:326)
> at 
> org.apache.cassandra.tcm.RemoteProcessor$CandidateIterator.computeNext(RemoteProcessor.java:256)
> at 
> org.apache.cassandra.utils.AbstractIterator.hasNext(AbstractIterator.java:47)
> at 
> org.apache.cassandra.tcm.RemoteProcessor$1Request.retry(RemoteProcessor.java:187)
> at 
> org.apache.cassandra.tcm.RemoteProcessor.sendWithCallbackAsync(RemoteProcessor.java:223)
> at 
> org.apache.cassandra.tcm.RemoteProcessor.sendWithCallback(RemoteProcessor.java:170)
> at 
> org.apache.cassandra.tcm.RemoteProcessor.commit(RemoteProcessor.java:76)
> at 
> org.apache.cassandra.tcm.ClusterMetadataService$SwitchableProcessor.commit(ClusterMetadataService.java:837)
> at org.apache.cassandra.tcm.Processor.commit(Processor.java:45)
> at 
> org.apache.cassandra.tcm.ClusterMetadataService.commit(ClusterMetadataService.java:502)
> at 
> org.apache.cassandra.tcm.ClusterMetadataService.commit(ClusterMetadataService.java:467)
> at 
> org.apache.cassandra.tcm.transformations.Register.register(Register.java:112)
> at 
> org.apache.cassandra.tcm.transformations.Register.register(Register.java:95)
> at 
> org.apache.cassandra.tcm.transformations.Register.register(Register.java:132)
> at 
> org.apache.cassandra.tcm.transformations.Register.maybeRegister(Register.java:89)
> at 
> org.apache.cassandra.service.StorageService.initServer(StorageService.java:807)
> at 
> org.apache.cassandra.service.CassandraDaemon.setup(CassandraDaemon.java:367)
> at 
> org.apache.cassandra.service.CassandraDaemon.activate(CassandraDaemon.java:728)
> at 
> org.apache.cassandra.service.CassandraDaemon.main(CassandraDaemon.java:879)']"
> {noformat}



--
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] [Updated] (CASSANDRA-19092) Test Failure: cql_tracing_test.TestCqlTracing.test_tracing_simple

2023-11-29 Thread Sam Tunnicliffe (Jira)


 [ 
https://issues.apache.org/jira/browse/CASSANDRA-19092?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sam Tunnicliffe updated CASSANDRA-19092:

Reviewers: Marcus Eriksson  (was: Marcus Eriksson, Sam Tunnicliffe)

> Test Failure: cql_tracing_test.TestCqlTracing.test_tracing_simple
> -
>
> Key: CASSANDRA-19092
> URL: https://issues.apache.org/jira/browse/CASSANDRA-19092
> Project: Cassandra
>  Issue Type: Bug
>  Components: Test/dtest/python
>Reporter: Michael Semb Wever
>Assignee: Sam Tunnicliffe
>Priority: Normal
>
> Seen in cqlsh_dtests in CASSANDRA-19034
> https://app.circleci.com/pipelines/github/michaelsembwever/cassandra/257/workflows/ddcb5f4e-e2c5-430b-b922-f7064a244971/jobs/20648/tests
> {noformat}failed on teardown with "Failed: Unexpected error found in node 
> logs (see stdout for full details). Errors: [[node3] 'ERROR [main] 2023-11-24 
> 19:02:04,201 FailureDetector.java:309 - Unknown endpoint: /127.0.0.1:7000
> java.lang.IllegalArgumentException: Unknown endpoint: /127.0.0.1:7000
> at 
> org.apache.cassandra.gms.FailureDetector.isAlive(FailureDetector.java:309)
> at 
> org.apache.cassandra.tcm.RemoteProcessor$CandidateIterator.computeNext(RemoteProcessor.java:326)
> at 
> org.apache.cassandra.tcm.RemoteProcessor$CandidateIterator.computeNext(RemoteProcessor.java:256)
> at 
> org.apache.cassandra.utils.AbstractIterator.hasNext(AbstractIterator.java:47)
> at 
> org.apache.cassandra.tcm.RemoteProcessor$1Request.retry(RemoteProcessor.java:187)
> at 
> org.apache.cassandra.tcm.RemoteProcessor.sendWithCallbackAsync(RemoteProcessor.java:223)
> at 
> org.apache.cassandra.tcm.RemoteProcessor.sendWithCallback(RemoteProcessor.java:170)
> at 
> org.apache.cassandra.tcm.RemoteProcessor.commit(RemoteProcessor.java:76)
> at 
> org.apache.cassandra.tcm.ClusterMetadataService$SwitchableProcessor.commit(ClusterMetadataService.java:837)
> at org.apache.cassandra.tcm.Processor.commit(Processor.java:45)
> at 
> org.apache.cassandra.tcm.ClusterMetadataService.commit(ClusterMetadataService.java:502)
> at 
> org.apache.cassandra.tcm.ClusterMetadataService.commit(ClusterMetadataService.java:467)
> at 
> org.apache.cassandra.tcm.transformations.Register.register(Register.java:112)
> at 
> org.apache.cassandra.tcm.transformations.Register.register(Register.java:95)
> at 
> org.apache.cassandra.tcm.transformations.Register.register(Register.java:132)
> at 
> org.apache.cassandra.tcm.transformations.Register.maybeRegister(Register.java:89)
> at 
> org.apache.cassandra.service.StorageService.initServer(StorageService.java:807)
> at 
> org.apache.cassandra.service.CassandraDaemon.setup(CassandraDaemon.java:367)
> at 
> org.apache.cassandra.service.CassandraDaemon.activate(CassandraDaemon.java:728)
> at 
> org.apache.cassandra.service.CassandraDaemon.main(CassandraDaemon.java:879)']"
> {noformat}



--
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] [Updated] (CASSANDRA-19092) Test Failure: cql_tracing_test.TestCqlTracing.test_tracing_simple

2023-11-29 Thread Sam Tunnicliffe (Jira)


 [ 
https://issues.apache.org/jira/browse/CASSANDRA-19092?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sam Tunnicliffe updated CASSANDRA-19092:

Status: Ready to Commit  (was: Review In Progress)

> Test Failure: cql_tracing_test.TestCqlTracing.test_tracing_simple
> -
>
> Key: CASSANDRA-19092
> URL: https://issues.apache.org/jira/browse/CASSANDRA-19092
> Project: Cassandra
>  Issue Type: Bug
>  Components: Test/dtest/python
>Reporter: Michael Semb Wever
>Assignee: Sam Tunnicliffe
>Priority: Normal
>
> Seen in cqlsh_dtests in CASSANDRA-19034
> https://app.circleci.com/pipelines/github/michaelsembwever/cassandra/257/workflows/ddcb5f4e-e2c5-430b-b922-f7064a244971/jobs/20648/tests
> {noformat}failed on teardown with "Failed: Unexpected error found in node 
> logs (see stdout for full details). Errors: [[node3] 'ERROR [main] 2023-11-24 
> 19:02:04,201 FailureDetector.java:309 - Unknown endpoint: /127.0.0.1:7000
> java.lang.IllegalArgumentException: Unknown endpoint: /127.0.0.1:7000
> at 
> org.apache.cassandra.gms.FailureDetector.isAlive(FailureDetector.java:309)
> at 
> org.apache.cassandra.tcm.RemoteProcessor$CandidateIterator.computeNext(RemoteProcessor.java:326)
> at 
> org.apache.cassandra.tcm.RemoteProcessor$CandidateIterator.computeNext(RemoteProcessor.java:256)
> at 
> org.apache.cassandra.utils.AbstractIterator.hasNext(AbstractIterator.java:47)
> at 
> org.apache.cassandra.tcm.RemoteProcessor$1Request.retry(RemoteProcessor.java:187)
> at 
> org.apache.cassandra.tcm.RemoteProcessor.sendWithCallbackAsync(RemoteProcessor.java:223)
> at 
> org.apache.cassandra.tcm.RemoteProcessor.sendWithCallback(RemoteProcessor.java:170)
> at 
> org.apache.cassandra.tcm.RemoteProcessor.commit(RemoteProcessor.java:76)
> at 
> org.apache.cassandra.tcm.ClusterMetadataService$SwitchableProcessor.commit(ClusterMetadataService.java:837)
> at org.apache.cassandra.tcm.Processor.commit(Processor.java:45)
> at 
> org.apache.cassandra.tcm.ClusterMetadataService.commit(ClusterMetadataService.java:502)
> at 
> org.apache.cassandra.tcm.ClusterMetadataService.commit(ClusterMetadataService.java:467)
> at 
> org.apache.cassandra.tcm.transformations.Register.register(Register.java:112)
> at 
> org.apache.cassandra.tcm.transformations.Register.register(Register.java:95)
> at 
> org.apache.cassandra.tcm.transformations.Register.register(Register.java:132)
> at 
> org.apache.cassandra.tcm.transformations.Register.maybeRegister(Register.java:89)
> at 
> org.apache.cassandra.service.StorageService.initServer(StorageService.java:807)
> at 
> org.apache.cassandra.service.CassandraDaemon.setup(CassandraDaemon.java:367)
> at 
> org.apache.cassandra.service.CassandraDaemon.activate(CassandraDaemon.java:728)
> at 
> org.apache.cassandra.service.CassandraDaemon.main(CassandraDaemon.java:879)']"
> {noformat}



--
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] [Updated] (CASSANDRA-19088) Test Failure: pushed_notifications_test.TestPushedNotifications.test_move_single_node

2023-11-29 Thread Sam Tunnicliffe (Jira)


 [ 
https://issues.apache.org/jira/browse/CASSANDRA-19088?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sam Tunnicliffe updated CASSANDRA-19088:

Reviewers: Alex Petrov, Sam Tunnicliffe
   Status: Review In Progress  (was: Patch Available)

> Test Failure: 
> pushed_notifications_test.TestPushedNotifications.test_move_single_node
> -
>
> Key: CASSANDRA-19088
> URL: https://issues.apache.org/jira/browse/CASSANDRA-19088
> Project: Cassandra
>  Issue Type: Bug
>  Components: Test/dtest/python
>Reporter: Michael Semb Wever
>Assignee: Sam Tunnicliffe
>Priority: Normal
> Fix For: 5.1-alpha1
>
>
> In j11_dtests from CASSANDRA-19034
> https://app.circleci.com/pipelines/github/mike-tr-adamson/cassandra/402/workflows/92aacb84-fd3a-48e0-9fb2-d1e2fe6fc71a/jobs/35345/tests
> {noformat}
> AssertionError: assert 'MOVED_NODE' == 'NEW_NODE'
>   - NEW_NODE
>   + MOVED_NODE
> self =  0x7fd28ee838d0>
> @pytest.mark.no_vnodes
> def test_move_single_node(self):
> """
> @jira_ticket CASSANDRA-8516
> Moving a token should result in MOVED_NODE notifications.
> """
> self.cluster.populate(3).start()
> 
> waiters = [NotificationWaiter(self, node, ["TOPOLOGY_CHANGE"])
>for node in list(self.cluster.nodes.values())]
> 
> # The first node sends NEW_NODE for the other 2 nodes during startup, 
> in case they are
> # late due to network delays let's block a bit longer
> logger.debug("Waiting for unwanted notifications")
> waiters[0].wait_for_notifications(timeout=30, num_notifications=2)
> waiters[0].clear_notifications()
> 
> logger.debug("Issuing move command")
> node1 = list(self.cluster.nodes.values())[0]
> node1.move("123")
> 
> for waiter in waiters:
> logger.debug("Waiting for notification from 
> {}".format(waiter.address,))
> notifications = waiter.wait_for_notifications(60.0)
> assert 1 == len(notifications), notifications
> notification = notifications[0]
> change_type = notification["change_type"]
> address, port = notification["address"]
> >   assert "MOVED_NODE" == change_type
> E   AssertionError: assert 'MOVED_NODE' == 'NEW_NODE'
> E - NEW_NODE
> E + MOVED_NODE
> pushed_notifications_test.py:118: AssertionError
> {noformat}



--
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] [Updated] (CASSANDRA-19088) Test Failure: pushed_notifications_test.TestPushedNotifications.test_move_single_node

2023-11-29 Thread Sam Tunnicliffe (Jira)


 [ 
https://issues.apache.org/jira/browse/CASSANDRA-19088?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sam Tunnicliffe updated CASSANDRA-19088:

Status: Ready to Commit  (was: Review In Progress)

> Test Failure: 
> pushed_notifications_test.TestPushedNotifications.test_move_single_node
> -
>
> Key: CASSANDRA-19088
> URL: https://issues.apache.org/jira/browse/CASSANDRA-19088
> Project: Cassandra
>  Issue Type: Bug
>  Components: Test/dtest/python
>Reporter: Michael Semb Wever
>Assignee: Sam Tunnicliffe
>Priority: Normal
> Fix For: 5.1-alpha1
>
>
> In j11_dtests from CASSANDRA-19034
> https://app.circleci.com/pipelines/github/mike-tr-adamson/cassandra/402/workflows/92aacb84-fd3a-48e0-9fb2-d1e2fe6fc71a/jobs/35345/tests
> {noformat}
> AssertionError: assert 'MOVED_NODE' == 'NEW_NODE'
>   - NEW_NODE
>   + MOVED_NODE
> self =  0x7fd28ee838d0>
> @pytest.mark.no_vnodes
> def test_move_single_node(self):
> """
> @jira_ticket CASSANDRA-8516
> Moving a token should result in MOVED_NODE notifications.
> """
> self.cluster.populate(3).start()
> 
> waiters = [NotificationWaiter(self, node, ["TOPOLOGY_CHANGE"])
>for node in list(self.cluster.nodes.values())]
> 
> # The first node sends NEW_NODE for the other 2 nodes during startup, 
> in case they are
> # late due to network delays let's block a bit longer
> logger.debug("Waiting for unwanted notifications")
> waiters[0].wait_for_notifications(timeout=30, num_notifications=2)
> waiters[0].clear_notifications()
> 
> logger.debug("Issuing move command")
> node1 = list(self.cluster.nodes.values())[0]
> node1.move("123")
> 
> for waiter in waiters:
> logger.debug("Waiting for notification from 
> {}".format(waiter.address,))
> notifications = waiter.wait_for_notifications(60.0)
> assert 1 == len(notifications), notifications
> notification = notifications[0]
> change_type = notification["change_type"]
> address, port = notification["address"]
> >   assert "MOVED_NODE" == change_type
> E   AssertionError: assert 'MOVED_NODE' == 'NEW_NODE'
> E - NEW_NODE
> E + MOVED_NODE
> pushed_notifications_test.py:118: AssertionError
> {noformat}



--
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] [Updated] (CASSANDRA-19088) Test Failure: pushed_notifications_test.TestPushedNotifications.test_move_single_node

2023-11-29 Thread Sam Tunnicliffe (Jira)


 [ 
https://issues.apache.org/jira/browse/CASSANDRA-19088?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sam Tunnicliffe updated CASSANDRA-19088:

Reviewers: Alex Petrov  (was: Alex Petrov, Sam Tunnicliffe)

> Test Failure: 
> pushed_notifications_test.TestPushedNotifications.test_move_single_node
> -
>
> Key: CASSANDRA-19088
> URL: https://issues.apache.org/jira/browse/CASSANDRA-19088
> Project: Cassandra
>  Issue Type: Bug
>  Components: Test/dtest/python
>Reporter: Michael Semb Wever
>Assignee: Sam Tunnicliffe
>Priority: Normal
> Fix For: 5.1-alpha1
>
>
> In j11_dtests from CASSANDRA-19034
> https://app.circleci.com/pipelines/github/mike-tr-adamson/cassandra/402/workflows/92aacb84-fd3a-48e0-9fb2-d1e2fe6fc71a/jobs/35345/tests
> {noformat}
> AssertionError: assert 'MOVED_NODE' == 'NEW_NODE'
>   - NEW_NODE
>   + MOVED_NODE
> self =  0x7fd28ee838d0>
> @pytest.mark.no_vnodes
> def test_move_single_node(self):
> """
> @jira_ticket CASSANDRA-8516
> Moving a token should result in MOVED_NODE notifications.
> """
> self.cluster.populate(3).start()
> 
> waiters = [NotificationWaiter(self, node, ["TOPOLOGY_CHANGE"])
>for node in list(self.cluster.nodes.values())]
> 
> # The first node sends NEW_NODE for the other 2 nodes during startup, 
> in case they are
> # late due to network delays let's block a bit longer
> logger.debug("Waiting for unwanted notifications")
> waiters[0].wait_for_notifications(timeout=30, num_notifications=2)
> waiters[0].clear_notifications()
> 
> logger.debug("Issuing move command")
> node1 = list(self.cluster.nodes.values())[0]
> node1.move("123")
> 
> for waiter in waiters:
> logger.debug("Waiting for notification from 
> {}".format(waiter.address,))
> notifications = waiter.wait_for_notifications(60.0)
> assert 1 == len(notifications), notifications
> notification = notifications[0]
> change_type = notification["change_type"]
> address, port = notification["address"]
> >   assert "MOVED_NODE" == change_type
> E   AssertionError: assert 'MOVED_NODE' == 'NEW_NODE'
> E - NEW_NODE
> E + MOVED_NODE
> pushed_notifications_test.py:118: AssertionError
> {noformat}



--
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] [Updated] (CASSANDRA-19067) Test failure: j11_dtests_large.replace_address_test.TestReplaceAddress

2023-11-29 Thread Sam Tunnicliffe (Jira)


 [ 
https://issues.apache.org/jira/browse/CASSANDRA-19067?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sam Tunnicliffe updated CASSANDRA-19067:

  Since Version: NA
Source Control Link: 
https://github.com/apache/cassandra-dtest/commit/203358efd837426f5557df55ed6ca21108e7692e
 Resolution: Fixed
 Status: Resolved  (was: Ready to Commit)

> Test failure: j11_dtests_large.replace_address_test.TestReplaceAddress
> --
>
> Key: CASSANDRA-19067
> URL: https://issues.apache.org/jira/browse/CASSANDRA-19067
> Project: Cassandra
>  Issue Type: Bug
>  Components: Test/dtest/java
>Reporter: Alex Petrov
>Assignee: Sam Tunnicliffe
>Priority: Normal
> Fix For: 5.1-alpha1
>
>
> CircleCI failure: 
> https://app.circleci.com/pipelines/github/michaelsembwever/cassandra/256/workflows/c4fda8f1-a8d6-4523-be83-5e30b9de39fe/jobs/20466/tests
> {code}
> assert 0 == 1
>  +  where 0 = len(set())
> self = 
> @pytest.mark.resource_intensive
> def test_replace_first_boot(self):
> >   self._test_replace_node(jvm_option='replace_address_first_boot')
> replace_address_test.py:281: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> replace_address_test.py:300: in _test_replace_node
> previous_log_size = self._verify_tokens_migrated_successfully()
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> self = 
> previous_log_size = None
> def _verify_tokens_migrated_successfully(self, previous_log_size=None):
> if not self.dtest_config.use_vnodes:
> num_tokens = 1
> else:
> # a little hacky but grep_log returns the whole line...
> num_tokens = 
> int(self.replacement_node.get_conf_option('num_tokens'))
> 
> logger.debug("Verifying {} tokens migrated 
> successfully".format(num_tokens))
> replmnt_address = 
> self.replacement_node.address_for_current_version_slashy()
> repled_address = 
> self.replaced_node.address_for_current_version_slashy()
> token_ownership_log = r"Token (.*?) changing ownership from {} to 
> {}".format(repled_address,
>   
>replmnt_address)
> logs = self.replacement_node.grep_log(token_ownership_log)
> 
> if (previous_log_size is not None):
> assert len(logs) == previous_log_size
> 
> moved_tokens = set([l[1].group(1) for l in logs])
> logger.debug("number of moved tokens: {}".format(len(moved_tokens)))
> >   assert len(moved_tokens) == num_tokens
> E   assert 0 == 1
> E+  where 0 = len(set())
> replace_address_test.py:207: AssertionError
> {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] [Updated] (CASSANDRA-19067) Test failure: j11_dtests_large.replace_address_test.TestReplaceAddress

2023-11-29 Thread Sam Tunnicliffe (Jira)


 [ 
https://issues.apache.org/jira/browse/CASSANDRA-19067?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sam Tunnicliffe updated CASSANDRA-19067:

Reviewers: Alex Petrov, Sam Tunnicliffe
   Status: Review In Progress  (was: Patch Available)

> Test failure: j11_dtests_large.replace_address_test.TestReplaceAddress
> --
>
> Key: CASSANDRA-19067
> URL: https://issues.apache.org/jira/browse/CASSANDRA-19067
> Project: Cassandra
>  Issue Type: Bug
>  Components: Test/dtest/java
>Reporter: Alex Petrov
>Assignee: Sam Tunnicliffe
>Priority: Normal
> Fix For: 5.1-alpha1
>
>
> CircleCI failure: 
> https://app.circleci.com/pipelines/github/michaelsembwever/cassandra/256/workflows/c4fda8f1-a8d6-4523-be83-5e30b9de39fe/jobs/20466/tests
> {code}
> assert 0 == 1
>  +  where 0 = len(set())
> self = 
> @pytest.mark.resource_intensive
> def test_replace_first_boot(self):
> >   self._test_replace_node(jvm_option='replace_address_first_boot')
> replace_address_test.py:281: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> replace_address_test.py:300: in _test_replace_node
> previous_log_size = self._verify_tokens_migrated_successfully()
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> self = 
> previous_log_size = None
> def _verify_tokens_migrated_successfully(self, previous_log_size=None):
> if not self.dtest_config.use_vnodes:
> num_tokens = 1
> else:
> # a little hacky but grep_log returns the whole line...
> num_tokens = 
> int(self.replacement_node.get_conf_option('num_tokens'))
> 
> logger.debug("Verifying {} tokens migrated 
> successfully".format(num_tokens))
> replmnt_address = 
> self.replacement_node.address_for_current_version_slashy()
> repled_address = 
> self.replaced_node.address_for_current_version_slashy()
> token_ownership_log = r"Token (.*?) changing ownership from {} to 
> {}".format(repled_address,
>   
>replmnt_address)
> logs = self.replacement_node.grep_log(token_ownership_log)
> 
> if (previous_log_size is not None):
> assert len(logs) == previous_log_size
> 
> moved_tokens = set([l[1].group(1) for l in logs])
> logger.debug("number of moved tokens: {}".format(len(moved_tokens)))
> >   assert len(moved_tokens) == num_tokens
> E   assert 0 == 1
> E+  where 0 = len(set())
> replace_address_test.py:207: AssertionError
> {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] [Updated] (CASSANDRA-19067) Test failure: j11_dtests_large.replace_address_test.TestReplaceAddress

2023-11-29 Thread Sam Tunnicliffe (Jira)


 [ 
https://issues.apache.org/jira/browse/CASSANDRA-19067?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sam Tunnicliffe updated CASSANDRA-19067:

Status: Ready to Commit  (was: Review In Progress)

> Test failure: j11_dtests_large.replace_address_test.TestReplaceAddress
> --
>
> Key: CASSANDRA-19067
> URL: https://issues.apache.org/jira/browse/CASSANDRA-19067
> Project: Cassandra
>  Issue Type: Bug
>  Components: Test/dtest/java
>Reporter: Alex Petrov
>Assignee: Sam Tunnicliffe
>Priority: Normal
> Fix For: 5.1-alpha1
>
>
> CircleCI failure: 
> https://app.circleci.com/pipelines/github/michaelsembwever/cassandra/256/workflows/c4fda8f1-a8d6-4523-be83-5e30b9de39fe/jobs/20466/tests
> {code}
> assert 0 == 1
>  +  where 0 = len(set())
> self = 
> @pytest.mark.resource_intensive
> def test_replace_first_boot(self):
> >   self._test_replace_node(jvm_option='replace_address_first_boot')
> replace_address_test.py:281: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> replace_address_test.py:300: in _test_replace_node
> previous_log_size = self._verify_tokens_migrated_successfully()
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> self = 
> previous_log_size = None
> def _verify_tokens_migrated_successfully(self, previous_log_size=None):
> if not self.dtest_config.use_vnodes:
> num_tokens = 1
> else:
> # a little hacky but grep_log returns the whole line...
> num_tokens = 
> int(self.replacement_node.get_conf_option('num_tokens'))
> 
> logger.debug("Verifying {} tokens migrated 
> successfully".format(num_tokens))
> replmnt_address = 
> self.replacement_node.address_for_current_version_slashy()
> repled_address = 
> self.replaced_node.address_for_current_version_slashy()
> token_ownership_log = r"Token (.*?) changing ownership from {} to 
> {}".format(repled_address,
>   
>replmnt_address)
> logs = self.replacement_node.grep_log(token_ownership_log)
> 
> if (previous_log_size is not None):
> assert len(logs) == previous_log_size
> 
> moved_tokens = set([l[1].group(1) for l in logs])
> logger.debug("number of moved tokens: {}".format(len(moved_tokens)))
> >   assert len(moved_tokens) == num_tokens
> E   assert 0 == 1
> E+  where 0 = len(set())
> replace_address_test.py:207: AssertionError
> {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] [Updated] (CASSANDRA-19068) Test failure: j11_dtests_large.pending_range_test.TestPendingRangeMovements

2023-11-29 Thread Sam Tunnicliffe (Jira)


 [ 
https://issues.apache.org/jira/browse/CASSANDRA-19068?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sam Tunnicliffe updated CASSANDRA-19068:

Status: Ready to Commit  (was: Review In Progress)

> Test failure: j11_dtests_large.pending_range_test.TestPendingRangeMovements
> ---
>
> Key: CASSANDRA-19068
> URL: https://issues.apache.org/jira/browse/CASSANDRA-19068
> Project: Cassandra
>  Issue Type: Bug
>  Components: Test/dtest/java
>Reporter: Alex Petrov
>Assignee: Sam Tunnicliffe
>Priority: Normal
> Fix For: 5.1-alpha1
>
>
> CircleCI failure: 
> [https://app.circleci.com/pipelines/github/michaelsembwever/cassandra/256/workflows/c4fda8f1-a8d6-4523-be83-5e30b9de39fe/jobs/20466/tests]
>  {code}
> ccmlib.node.TimeoutError: 23 Nov 2023 21:15:48 [node1] after 10.01/10 seconds 
> Missing: ['Moving .* to -634023222112864484'] not found in system.log:
> Head: INFO [RMI TCP Connection(2)-127.0.0.1] 2023-11-23
> Tail: ...1-23 21:15:39,483 BigFormat.java:324 - Deleting sstable: 
> /tmp/dtest-ovho0emz/test/node1/data0/system/local-7ad54392bcdd35a684174e047860b377/oa-11-big
> self = 
> @pytest.mark.resource_intensive
> def test_pending_range(self):
> """
> @jira_ticket CASSANDRA-10887
> """
> cluster = self.cluster
>  # If we are on 2.1, we need to set the log level to debug or higher, as 
> debug.log does not exist.
> if cluster.version() < '2.2':
> cluster.set_log_level('DEBUG')
>  # Create 5 node cluster
> ring_delay_ms = 3_600_000 # 1 hour
> cluster.populate(5).start(jvm_args=['-Dcassandra.ring_delay_ms={}'.format(ring_delay_ms)])
> node1, node2 = cluster.nodelist()[0:2]
>  # Set up RF=3 keyspace
> session = self.patient_cql_connection(node1)
> create_ks(session, 'ks', 3)
> session.execute("CREATE TABLE users (login text PRIMARY KEY, email text, name 
> text, login_count int)")
>  # We use the partition key 'jdoe3' because it belongs to node1.
>  # The key MUST belong to node1 to repro the bug.
> session.execute("INSERT INTO users (login, email, name, login_count) VALUES 
> ('jdoe3', 'j...@abc.com', 'Jane Doe', 1) IF NOT EXISTS;")
> lwt_query = SimpleStatement("UPDATE users SET email = 'jane...@abc.com' WHERE 
> login = 'jdoe3' IF email = 'j...@abc.com'")
>  # Show we can execute LWT no problem
> for i in range(1000):
> session.execute(lwt_query)
> token = '-634023222112864484'
> mark = node1.mark_log()
>  # Move a node without waiting for the response of nodetool, so we don't have 
> to wait for ring_delay
> threading.Thread(target=(lambda: node1.nodetool('move 
> {}'.format(token.start()
>  # Watch the log so we know when the node is moving
> > node1.watch_log_for('Moving .* to {}'.format(token), timeout=10, 
> > from_mark=mark)
> pending_range_test.py:55: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> ../env3.7/lib/python3.7/site-packages/ccmlib/node.py:605: in watch_log_for
> head=reads[:50], tail="..."+reads[len(reads)-150:]))
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _
> start = 1700774138.162831, timeout = 10
> msg = "Missing: ['Moving .* to -634023222112864484'] not found in 
> system.log:\n Head: INFO [RMI TCP Connection(2)-127.0.0.1...324 - Deleting 
> sstable: 
> /tmp/dtest-ovho0emz/test/node1/data0/system/local-7ad54392bcdd35a684174e047860b377/oa-11-big\n"
> node = 'node1'
> @staticmethod
> def raise_if_passed(start, timeout, msg, node=None):
> if start + timeout < time.time():
> > raise TimeoutError.create(start, timeout, msg, node)
> E ccmlib.node.TimeoutError: 23 Nov 2023 21:15:48 [node1] after 10.01/10 
> seconds Missing: ['Moving .* to -634023222112864484'] not found in system.log:
> E Head: INFO [RMI TCP Connection(2)-127.0.0.1] 2023-11-23
> E Tail: ...1-23 21:15:39,483 BigFormat.java:324 - Deleting sstable: 
> /tmp/dtest-ovho0emz/test/node1/data0/system/local-7ad54392bcdd35a684174e047860b377/oa-11-big
> ../env3.7/lib/python3.7/site-packages/ccmlib/node.py:56: TimeoutError
> {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] [Updated] (CASSANDRA-19068) Test failure: j11_dtests_large.pending_range_test.TestPendingRangeMovements

2023-11-29 Thread Sam Tunnicliffe (Jira)


 [ 
https://issues.apache.org/jira/browse/CASSANDRA-19068?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sam Tunnicliffe updated CASSANDRA-19068:

  Since Version: NA
Source Control Link: 
https://github.com/apache/cassandra/commit/30ed828c878e50b41ee49da2ff4d480dea5730e5
 
https://github.com/apache/cassandra-dtest/commit/a9fe8ae7aeb4a27657f4750c88b2c3966cedb269
 Resolution: Fixed
 Status: Resolved  (was: Ready to Commit)

> Test failure: j11_dtests_large.pending_range_test.TestPendingRangeMovements
> ---
>
> Key: CASSANDRA-19068
> URL: https://issues.apache.org/jira/browse/CASSANDRA-19068
> Project: Cassandra
>  Issue Type: Bug
>  Components: Test/dtest/java
>Reporter: Alex Petrov
>Assignee: Sam Tunnicliffe
>Priority: Normal
> Fix For: 5.1-alpha1
>
>
> CircleCI failure: 
> [https://app.circleci.com/pipelines/github/michaelsembwever/cassandra/256/workflows/c4fda8f1-a8d6-4523-be83-5e30b9de39fe/jobs/20466/tests]
>  {code}
> ccmlib.node.TimeoutError: 23 Nov 2023 21:15:48 [node1] after 10.01/10 seconds 
> Missing: ['Moving .* to -634023222112864484'] not found in system.log:
> Head: INFO [RMI TCP Connection(2)-127.0.0.1] 2023-11-23
> Tail: ...1-23 21:15:39,483 BigFormat.java:324 - Deleting sstable: 
> /tmp/dtest-ovho0emz/test/node1/data0/system/local-7ad54392bcdd35a684174e047860b377/oa-11-big
> self = 
> @pytest.mark.resource_intensive
> def test_pending_range(self):
> """
> @jira_ticket CASSANDRA-10887
> """
> cluster = self.cluster
>  # If we are on 2.1, we need to set the log level to debug or higher, as 
> debug.log does not exist.
> if cluster.version() < '2.2':
> cluster.set_log_level('DEBUG')
>  # Create 5 node cluster
> ring_delay_ms = 3_600_000 # 1 hour
> cluster.populate(5).start(jvm_args=['-Dcassandra.ring_delay_ms={}'.format(ring_delay_ms)])
> node1, node2 = cluster.nodelist()[0:2]
>  # Set up RF=3 keyspace
> session = self.patient_cql_connection(node1)
> create_ks(session, 'ks', 3)
> session.execute("CREATE TABLE users (login text PRIMARY KEY, email text, name 
> text, login_count int)")
>  # We use the partition key 'jdoe3' because it belongs to node1.
>  # The key MUST belong to node1 to repro the bug.
> session.execute("INSERT INTO users (login, email, name, login_count) VALUES 
> ('jdoe3', 'j...@abc.com', 'Jane Doe', 1) IF NOT EXISTS;")
> lwt_query = SimpleStatement("UPDATE users SET email = 'jane...@abc.com' WHERE 
> login = 'jdoe3' IF email = 'j...@abc.com'")
>  # Show we can execute LWT no problem
> for i in range(1000):
> session.execute(lwt_query)
> token = '-634023222112864484'
> mark = node1.mark_log()
>  # Move a node without waiting for the response of nodetool, so we don't have 
> to wait for ring_delay
> threading.Thread(target=(lambda: node1.nodetool('move 
> {}'.format(token.start()
>  # Watch the log so we know when the node is moving
> > node1.watch_log_for('Moving .* to {}'.format(token), timeout=10, 
> > from_mark=mark)
> pending_range_test.py:55: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> ../env3.7/lib/python3.7/site-packages/ccmlib/node.py:605: in watch_log_for
> head=reads[:50], tail="..."+reads[len(reads)-150:]))
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _
> start = 1700774138.162831, timeout = 10
> msg = "Missing: ['Moving .* to -634023222112864484'] not found in 
> system.log:\n Head: INFO [RMI TCP Connection(2)-127.0.0.1...324 - Deleting 
> sstable: 
> /tmp/dtest-ovho0emz/test/node1/data0/system/local-7ad54392bcdd35a684174e047860b377/oa-11-big\n"
> node = 'node1'
> @staticmethod
> def raise_if_passed(start, timeout, msg, node=None):
> if start + timeout < time.time():
> > raise TimeoutError.create(start, timeout, msg, node)
> E ccmlib.node.TimeoutError: 23 Nov 2023 21:15:48 [node1] after 10.01/10 
> seconds Missing: ['Moving .* to -634023222112864484'] not found in system.log:
> E Head: INFO [RMI TCP Connection(2)-127.0.0.1] 2023-11-23
> E Tail: ...1-23 21:15:39,483 BigFormat.java:324 - Deleting sstable: 
> /tmp/dtest-ovho0emz/test/node1/data0/system/local-7ad54392bcdd35a684174e047860b377/oa-11-big
> ../env3.7/lib/python3.7/site-packages/ccmlib/node.py:56: TimeoutError
> {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] [Updated] (CASSANDRA-19068) Test failure: j11_dtests_large.pending_range_test.TestPendingRangeMovements

2023-11-29 Thread Sam Tunnicliffe (Jira)


 [ 
https://issues.apache.org/jira/browse/CASSANDRA-19068?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sam Tunnicliffe updated CASSANDRA-19068:

Reviewers: Marcus Eriksson, Sam Tunnicliffe
   Status: Review In Progress  (was: Patch Available)

> Test failure: j11_dtests_large.pending_range_test.TestPendingRangeMovements
> ---
>
> Key: CASSANDRA-19068
> URL: https://issues.apache.org/jira/browse/CASSANDRA-19068
> Project: Cassandra
>  Issue Type: Bug
>  Components: Test/dtest/java
>Reporter: Alex Petrov
>Assignee: Sam Tunnicliffe
>Priority: Normal
> Fix For: 5.1-alpha1
>
>
> CircleCI failure: 
> [https://app.circleci.com/pipelines/github/michaelsembwever/cassandra/256/workflows/c4fda8f1-a8d6-4523-be83-5e30b9de39fe/jobs/20466/tests]
>  {code}
> ccmlib.node.TimeoutError: 23 Nov 2023 21:15:48 [node1] after 10.01/10 seconds 
> Missing: ['Moving .* to -634023222112864484'] not found in system.log:
> Head: INFO [RMI TCP Connection(2)-127.0.0.1] 2023-11-23
> Tail: ...1-23 21:15:39,483 BigFormat.java:324 - Deleting sstable: 
> /tmp/dtest-ovho0emz/test/node1/data0/system/local-7ad54392bcdd35a684174e047860b377/oa-11-big
> self = 
> @pytest.mark.resource_intensive
> def test_pending_range(self):
> """
> @jira_ticket CASSANDRA-10887
> """
> cluster = self.cluster
>  # If we are on 2.1, we need to set the log level to debug or higher, as 
> debug.log does not exist.
> if cluster.version() < '2.2':
> cluster.set_log_level('DEBUG')
>  # Create 5 node cluster
> ring_delay_ms = 3_600_000 # 1 hour
> cluster.populate(5).start(jvm_args=['-Dcassandra.ring_delay_ms={}'.format(ring_delay_ms)])
> node1, node2 = cluster.nodelist()[0:2]
>  # Set up RF=3 keyspace
> session = self.patient_cql_connection(node1)
> create_ks(session, 'ks', 3)
> session.execute("CREATE TABLE users (login text PRIMARY KEY, email text, name 
> text, login_count int)")
>  # We use the partition key 'jdoe3' because it belongs to node1.
>  # The key MUST belong to node1 to repro the bug.
> session.execute("INSERT INTO users (login, email, name, login_count) VALUES 
> ('jdoe3', 'j...@abc.com', 'Jane Doe', 1) IF NOT EXISTS;")
> lwt_query = SimpleStatement("UPDATE users SET email = 'jane...@abc.com' WHERE 
> login = 'jdoe3' IF email = 'j...@abc.com'")
>  # Show we can execute LWT no problem
> for i in range(1000):
> session.execute(lwt_query)
> token = '-634023222112864484'
> mark = node1.mark_log()
>  # Move a node without waiting for the response of nodetool, so we don't have 
> to wait for ring_delay
> threading.Thread(target=(lambda: node1.nodetool('move 
> {}'.format(token.start()
>  # Watch the log so we know when the node is moving
> > node1.watch_log_for('Moving .* to {}'.format(token), timeout=10, 
> > from_mark=mark)
> pending_range_test.py:55: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> ../env3.7/lib/python3.7/site-packages/ccmlib/node.py:605: in watch_log_for
> head=reads[:50], tail="..."+reads[len(reads)-150:]))
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _
> start = 1700774138.162831, timeout = 10
> msg = "Missing: ['Moving .* to -634023222112864484'] not found in 
> system.log:\n Head: INFO [RMI TCP Connection(2)-127.0.0.1...324 - Deleting 
> sstable: 
> /tmp/dtest-ovho0emz/test/node1/data0/system/local-7ad54392bcdd35a684174e047860b377/oa-11-big\n"
> node = 'node1'
> @staticmethod
> def raise_if_passed(start, timeout, msg, node=None):
> if start + timeout < time.time():
> > raise TimeoutError.create(start, timeout, msg, node)
> E ccmlib.node.TimeoutError: 23 Nov 2023 21:15:48 [node1] after 10.01/10 
> seconds Missing: ['Moving .* to -634023222112864484'] not found in system.log:
> E Head: INFO [RMI TCP Connection(2)-127.0.0.1] 2023-11-23
> E Tail: ...1-23 21:15:39,483 BigFormat.java:324 - Deleting sstable: 
> /tmp/dtest-ovho0emz/test/node1/data0/system/local-7ad54392bcdd35a684174e047860b377/oa-11-big
> ../env3.7/lib/python3.7/site-packages/ccmlib/node.py:56: TimeoutError
> {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-19088) Test Failure: pushed_notifications_test.TestPushedNotifications.test_move_single_node

2023-11-29 Thread Sam Tunnicliffe (Jira)


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

Sam Tunnicliffe commented on CASSANDRA-19088:
-

If the 10s timeout proves unsuitable, we can revisit.

> Test Failure: 
> pushed_notifications_test.TestPushedNotifications.test_move_single_node
> -
>
> Key: CASSANDRA-19088
> URL: https://issues.apache.org/jira/browse/CASSANDRA-19088
> Project: Cassandra
>  Issue Type: Bug
>  Components: Test/dtest/python
>Reporter: Michael Semb Wever
>Assignee: Sam Tunnicliffe
>Priority: Normal
> Fix For: 5.1-alpha1
>
>
> In j11_dtests from CASSANDRA-19034
> https://app.circleci.com/pipelines/github/mike-tr-adamson/cassandra/402/workflows/92aacb84-fd3a-48e0-9fb2-d1e2fe6fc71a/jobs/35345/tests
> {noformat}
> AssertionError: assert 'MOVED_NODE' == 'NEW_NODE'
>   - NEW_NODE
>   + MOVED_NODE
> self =  0x7fd28ee838d0>
> @pytest.mark.no_vnodes
> def test_move_single_node(self):
> """
> @jira_ticket CASSANDRA-8516
> Moving a token should result in MOVED_NODE notifications.
> """
> self.cluster.populate(3).start()
> 
> waiters = [NotificationWaiter(self, node, ["TOPOLOGY_CHANGE"])
>for node in list(self.cluster.nodes.values())]
> 
> # The first node sends NEW_NODE for the other 2 nodes during startup, 
> in case they are
> # late due to network delays let's block a bit longer
> logger.debug("Waiting for unwanted notifications")
> waiters[0].wait_for_notifications(timeout=30, num_notifications=2)
> waiters[0].clear_notifications()
> 
> logger.debug("Issuing move command")
> node1 = list(self.cluster.nodes.values())[0]
> node1.move("123")
> 
> for waiter in waiters:
> logger.debug("Waiting for notification from 
> {}".format(waiter.address,))
> notifications = waiter.wait_for_notifications(60.0)
> assert 1 == len(notifications), notifications
> notification = notifications[0]
> change_type = notification["change_type"]
> address, port = notification["address"]
> >   assert "MOVED_NODE" == change_type
> E   AssertionError: assert 'MOVED_NODE' == 'NEW_NODE'
> E - NEW_NODE
> E + MOVED_NODE
> pushed_notifications_test.py:118: AssertionError
> {noformat}



--
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-19088) Test Failure: pushed_notifications_test.TestPushedNotifications.test_move_single_node

2023-11-29 Thread Sam Tunnicliffe (Jira)


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

Sam Tunnicliffe commented on CASSANDRA-19088:
-

I think it's unnecessary, plus doing so would increase the test runtime 
significantly. Since we are not entirely sure exactly how many notifications to 
expect (at least one {MOVED_NODE}}, but potentially also a {{NEW_NODE}} if the 
native protocol connection is established before the metadata log entry is 
enacted), we could either end up waiting the full 60s for each node, or would 
have to poll with a short timeout until we do receive the {{MOVED_NODE}}.

> Test Failure: 
> pushed_notifications_test.TestPushedNotifications.test_move_single_node
> -
>
> Key: CASSANDRA-19088
> URL: https://issues.apache.org/jira/browse/CASSANDRA-19088
> Project: Cassandra
>  Issue Type: Bug
>  Components: Test/dtest/python
>Reporter: Michael Semb Wever
>Assignee: Sam Tunnicliffe
>Priority: Normal
> Fix For: 5.1-alpha1
>
>
> In j11_dtests from CASSANDRA-19034
> https://app.circleci.com/pipelines/github/mike-tr-adamson/cassandra/402/workflows/92aacb84-fd3a-48e0-9fb2-d1e2fe6fc71a/jobs/35345/tests
> {noformat}
> AssertionError: assert 'MOVED_NODE' == 'NEW_NODE'
>   - NEW_NODE
>   + MOVED_NODE
> self =  0x7fd28ee838d0>
> @pytest.mark.no_vnodes
> def test_move_single_node(self):
> """
> @jira_ticket CASSANDRA-8516
> Moving a token should result in MOVED_NODE notifications.
> """
> self.cluster.populate(3).start()
> 
> waiters = [NotificationWaiter(self, node, ["TOPOLOGY_CHANGE"])
>for node in list(self.cluster.nodes.values())]
> 
> # The first node sends NEW_NODE for the other 2 nodes during startup, 
> in case they are
> # late due to network delays let's block a bit longer
> logger.debug("Waiting for unwanted notifications")
> waiters[0].wait_for_notifications(timeout=30, num_notifications=2)
> waiters[0].clear_notifications()
> 
> logger.debug("Issuing move command")
> node1 = list(self.cluster.nodes.values())[0]
> node1.move("123")
> 
> for waiter in waiters:
> logger.debug("Waiting for notification from 
> {}".format(waiter.address,))
> notifications = waiter.wait_for_notifications(60.0)
> assert 1 == len(notifications), notifications
> notification = notifications[0]
> change_type = notification["change_type"]
> address, port = notification["address"]
> >   assert "MOVED_NODE" == change_type
> E   AssertionError: assert 'MOVED_NODE' == 'NEW_NODE'
> E - NEW_NODE
> E + MOVED_NODE
> pushed_notifications_test.py:118: AssertionError
> {noformat}



--
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] [Comment Edited] (CASSANDRA-19088) Test Failure: pushed_notifications_test.TestPushedNotifications.test_move_single_node

2023-11-29 Thread Sam Tunnicliffe (Jira)


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

Sam Tunnicliffe edited comment on CASSANDRA-19088 at 11/29/23 4:20 PM:
---

I think it's unnecessary, plus doing so could increase the test runtime 
significantly. Since we are not entirely sure exactly how many notifications to 
expect (at least one {MOVED_NODE}}, but potentially also a {{NEW_NODE}} if the 
native protocol connection is established before the metadata log entry is 
enacted), we could either end up waiting the full 60s for each node, or would 
have to poll with a short timeout until we do receive the {{MOVED_NODE}}.


was (Author: beobal):
I think it's unnecessary, plus doing so would increase the test runtime 
significantly. Since we are not entirely sure exactly how many notifications to 
expect (at least one {MOVED_NODE}}, but potentially also a {{NEW_NODE}} if the 
native protocol connection is established before the metadata log entry is 
enacted), we could either end up waiting the full 60s for each node, or would 
have to poll with a short timeout until we do receive the {{MOVED_NODE}}.

> Test Failure: 
> pushed_notifications_test.TestPushedNotifications.test_move_single_node
> -
>
> Key: CASSANDRA-19088
> URL: https://issues.apache.org/jira/browse/CASSANDRA-19088
> Project: Cassandra
>  Issue Type: Bug
>  Components: Test/dtest/python
>Reporter: Michael Semb Wever
>Assignee: Sam Tunnicliffe
>Priority: Normal
> Fix For: 5.1-alpha1
>
>
> In j11_dtests from CASSANDRA-19034
> https://app.circleci.com/pipelines/github/mike-tr-adamson/cassandra/402/workflows/92aacb84-fd3a-48e0-9fb2-d1e2fe6fc71a/jobs/35345/tests
> {noformat}
> AssertionError: assert 'MOVED_NODE' == 'NEW_NODE'
>   - NEW_NODE
>   + MOVED_NODE
> self =  0x7fd28ee838d0>
> @pytest.mark.no_vnodes
> def test_move_single_node(self):
> """
> @jira_ticket CASSANDRA-8516
> Moving a token should result in MOVED_NODE notifications.
> """
> self.cluster.populate(3).start()
> 
> waiters = [NotificationWaiter(self, node, ["TOPOLOGY_CHANGE"])
>for node in list(self.cluster.nodes.values())]
> 
> # The first node sends NEW_NODE for the other 2 nodes during startup, 
> in case they are
> # late due to network delays let's block a bit longer
> logger.debug("Waiting for unwanted notifications")
> waiters[0].wait_for_notifications(timeout=30, num_notifications=2)
> waiters[0].clear_notifications()
> 
> logger.debug("Issuing move command")
> node1 = list(self.cluster.nodes.values())[0]
> node1.move("123")
> 
> for waiter in waiters:
> logger.debug("Waiting for notification from 
> {}".format(waiter.address,))
> notifications = waiter.wait_for_notifications(60.0)
> assert 1 == len(notifications), notifications
> notification = notifications[0]
> change_type = notification["change_type"]
> address, port = notification["address"]
> >   assert "MOVED_NODE" == change_type
> E   AssertionError: assert 'MOVED_NODE' == 'NEW_NODE'
> E - NEW_NODE
> E + MOVED_NODE
> pushed_notifications_test.py:118: AssertionError
> {noformat}



--
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] [Comment Edited] (CASSANDRA-19088) Test Failure: pushed_notifications_test.TestPushedNotifications.test_move_single_node

2023-11-29 Thread Sam Tunnicliffe (Jira)


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

Sam Tunnicliffe edited comment on CASSANDRA-19088 at 11/29/23 3:29 PM:
---

This is flaky as the nodes may start the native protocol interface before or 
after learning of the new node. The linked patch makes the check independent of 
the ordering. CI results to follow

[https://github.com/beobal/cassandra-dtest/commit/cd91841f9e76eef30f8badcdb4679b94c1e15307]
 

Edit: link was to a commit in the wrong branch.


was (Author: beobal):
This is flaky as the nodes may start the native protocol interface before or 
after learning of the new node. The linked patch makes the check independent of 
the ordering. CI results to follow

[https://github.com/beobal/cassandra-dtest/commit/3500bc070e96f478ff52499d83168db6df21b379]

> Test Failure: 
> pushed_notifications_test.TestPushedNotifications.test_move_single_node
> -
>
> Key: CASSANDRA-19088
> URL: https://issues.apache.org/jira/browse/CASSANDRA-19088
> Project: Cassandra
>  Issue Type: Bug
>  Components: Test/dtest/python
>Reporter: Michael Semb Wever
>Assignee: Sam Tunnicliffe
>Priority: Normal
> Fix For: 5.1-alpha1
>
>
> In j11_dtests from CASSANDRA-19034
> https://app.circleci.com/pipelines/github/mike-tr-adamson/cassandra/402/workflows/92aacb84-fd3a-48e0-9fb2-d1e2fe6fc71a/jobs/35345/tests
> {noformat}
> AssertionError: assert 'MOVED_NODE' == 'NEW_NODE'
>   - NEW_NODE
>   + MOVED_NODE
> self =  0x7fd28ee838d0>
> @pytest.mark.no_vnodes
> def test_move_single_node(self):
> """
> @jira_ticket CASSANDRA-8516
> Moving a token should result in MOVED_NODE notifications.
> """
> self.cluster.populate(3).start()
> 
> waiters = [NotificationWaiter(self, node, ["TOPOLOGY_CHANGE"])
>for node in list(self.cluster.nodes.values())]
> 
> # The first node sends NEW_NODE for the other 2 nodes during startup, 
> in case they are
> # late due to network delays let's block a bit longer
> logger.debug("Waiting for unwanted notifications")
> waiters[0].wait_for_notifications(timeout=30, num_notifications=2)
> waiters[0].clear_notifications()
> 
> logger.debug("Issuing move command")
> node1 = list(self.cluster.nodes.values())[0]
> node1.move("123")
> 
> for waiter in waiters:
> logger.debug("Waiting for notification from 
> {}".format(waiter.address,))
> notifications = waiter.wait_for_notifications(60.0)
> assert 1 == len(notifications), notifications
> notification = notifications[0]
> change_type = notification["change_type"]
> address, port = notification["address"]
> >   assert "MOVED_NODE" == change_type
> E   AssertionError: assert 'MOVED_NODE' == 'NEW_NODE'
> E - NEW_NODE
> E + MOVED_NODE
> pushed_notifications_test.py:118: AssertionError
> {noformat}



--
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-19092) Test Failure: cql_tracing_test.TestCqlTracing.test_tracing_simple

2023-11-29 Thread Sam Tunnicliffe (Jira)


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

Sam Tunnicliffe commented on CASSANDRA-19092:
-

[https://app.circleci.com/pipelines/github/michaelsembwever/cassandra/265/workflows/8b6e500f-6652-4ad0-b7cc-6d46316b43c6]

 

The only dtest failure across J11 & J17 is 
materialized_views_test.TestMaterializedViewsConsistency.test_multi_partition_consistent_reads_after_write
 tracked by CASSANDRA-19056

> Test Failure: cql_tracing_test.TestCqlTracing.test_tracing_simple
> -
>
> Key: CASSANDRA-19092
> URL: https://issues.apache.org/jira/browse/CASSANDRA-19092
> Project: Cassandra
>  Issue Type: Bug
>  Components: Test/dtest/python
>Reporter: Michael Semb Wever
>Assignee: Sam Tunnicliffe
>Priority: Normal
>
> Seen in cqlsh_dtests in CASSANDRA-19034
> https://app.circleci.com/pipelines/github/michaelsembwever/cassandra/257/workflows/ddcb5f4e-e2c5-430b-b922-f7064a244971/jobs/20648/tests
> {noformat}failed on teardown with "Failed: Unexpected error found in node 
> logs (see stdout for full details). Errors: [[node3] 'ERROR [main] 2023-11-24 
> 19:02:04,201 FailureDetector.java:309 - Unknown endpoint: /127.0.0.1:7000
> java.lang.IllegalArgumentException: Unknown endpoint: /127.0.0.1:7000
> at 
> org.apache.cassandra.gms.FailureDetector.isAlive(FailureDetector.java:309)
> at 
> org.apache.cassandra.tcm.RemoteProcessor$CandidateIterator.computeNext(RemoteProcessor.java:326)
> at 
> org.apache.cassandra.tcm.RemoteProcessor$CandidateIterator.computeNext(RemoteProcessor.java:256)
> at 
> org.apache.cassandra.utils.AbstractIterator.hasNext(AbstractIterator.java:47)
> at 
> org.apache.cassandra.tcm.RemoteProcessor$1Request.retry(RemoteProcessor.java:187)
> at 
> org.apache.cassandra.tcm.RemoteProcessor.sendWithCallbackAsync(RemoteProcessor.java:223)
> at 
> org.apache.cassandra.tcm.RemoteProcessor.sendWithCallback(RemoteProcessor.java:170)
> at 
> org.apache.cassandra.tcm.RemoteProcessor.commit(RemoteProcessor.java:76)
> at 
> org.apache.cassandra.tcm.ClusterMetadataService$SwitchableProcessor.commit(ClusterMetadataService.java:837)
> at org.apache.cassandra.tcm.Processor.commit(Processor.java:45)
> at 
> org.apache.cassandra.tcm.ClusterMetadataService.commit(ClusterMetadataService.java:502)
> at 
> org.apache.cassandra.tcm.ClusterMetadataService.commit(ClusterMetadataService.java:467)
> at 
> org.apache.cassandra.tcm.transformations.Register.register(Register.java:112)
> at 
> org.apache.cassandra.tcm.transformations.Register.register(Register.java:95)
> at 
> org.apache.cassandra.tcm.transformations.Register.register(Register.java:132)
> at 
> org.apache.cassandra.tcm.transformations.Register.maybeRegister(Register.java:89)
> at 
> org.apache.cassandra.service.StorageService.initServer(StorageService.java:807)
> at 
> org.apache.cassandra.service.CassandraDaemon.setup(CassandraDaemon.java:367)
> at 
> org.apache.cassandra.service.CassandraDaemon.activate(CassandraDaemon.java:728)
> at 
> org.apache.cassandra.service.CassandraDaemon.main(CassandraDaemon.java:879)']"
> {noformat}



--
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-19067) Test failure: j11_dtests_large.replace_address_test.TestReplaceAddress

2023-11-29 Thread Sam Tunnicliffe (Jira)


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

Sam Tunnicliffe commented on CASSANDRA-19067:
-

[https://app.circleci.com/pipelines/github/michaelsembwever/cassandra/265/workflows/8b6e500f-6652-4ad0-b7cc-6d46316b43c6]

The only dtest failure across J11 & J17 is 
materialized_views_test.TestMaterializedViewsConsistency.test_multi_partition_consistent_reads_after_write
 tracked by CASSANDRA-19056

> Test failure: j11_dtests_large.replace_address_test.TestReplaceAddress
> --
>
> Key: CASSANDRA-19067
> URL: https://issues.apache.org/jira/browse/CASSANDRA-19067
> Project: Cassandra
>  Issue Type: Bug
>  Components: Test/dtest/java
>Reporter: Alex Petrov
>Assignee: Sam Tunnicliffe
>Priority: Normal
> Fix For: 5.1-alpha1
>
>
> CircleCI failure: 
> https://app.circleci.com/pipelines/github/michaelsembwever/cassandra/256/workflows/c4fda8f1-a8d6-4523-be83-5e30b9de39fe/jobs/20466/tests
> {code}
> assert 0 == 1
>  +  where 0 = len(set())
> self = 
> @pytest.mark.resource_intensive
> def test_replace_first_boot(self):
> >   self._test_replace_node(jvm_option='replace_address_first_boot')
> replace_address_test.py:281: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> replace_address_test.py:300: in _test_replace_node
> previous_log_size = self._verify_tokens_migrated_successfully()
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> self = 
> previous_log_size = None
> def _verify_tokens_migrated_successfully(self, previous_log_size=None):
> if not self.dtest_config.use_vnodes:
> num_tokens = 1
> else:
> # a little hacky but grep_log returns the whole line...
> num_tokens = 
> int(self.replacement_node.get_conf_option('num_tokens'))
> 
> logger.debug("Verifying {} tokens migrated 
> successfully".format(num_tokens))
> replmnt_address = 
> self.replacement_node.address_for_current_version_slashy()
> repled_address = 
> self.replaced_node.address_for_current_version_slashy()
> token_ownership_log = r"Token (.*?) changing ownership from {} to 
> {}".format(repled_address,
>   
>replmnt_address)
> logs = self.replacement_node.grep_log(token_ownership_log)
> 
> if (previous_log_size is not None):
> assert len(logs) == previous_log_size
> 
> moved_tokens = set([l[1].group(1) for l in logs])
> logger.debug("number of moved tokens: {}".format(len(moved_tokens)))
> >   assert len(moved_tokens) == num_tokens
> E   assert 0 == 1
> E+  where 0 = len(set())
> replace_address_test.py:207: AssertionError
> {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-19068) Test failure: j11_dtests_large.pending_range_test.TestPendingRangeMovements

2023-11-29 Thread Sam Tunnicliffe (Jira)


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

Sam Tunnicliffe commented on CASSANDRA-19068:
-

[https://app.circleci.com/pipelines/github/michaelsembwever/cassandra/265/workflows/8b6e500f-6652-4ad0-b7cc-6d46316b43c6]

The only dtest failure across J11 & J17 is 
materialized_views_test.TestMaterializedViewsConsistency.test_multi_partition_consistent_reads_after_write
 tracked by CASSANDRA-19056

> Test failure: j11_dtests_large.pending_range_test.TestPendingRangeMovements
> ---
>
> Key: CASSANDRA-19068
> URL: https://issues.apache.org/jira/browse/CASSANDRA-19068
> Project: Cassandra
>  Issue Type: Bug
>  Components: Test/dtest/java
>Reporter: Alex Petrov
>Assignee: Sam Tunnicliffe
>Priority: Normal
> Fix For: 5.1-alpha1
>
>
> CircleCI failure: 
> [https://app.circleci.com/pipelines/github/michaelsembwever/cassandra/256/workflows/c4fda8f1-a8d6-4523-be83-5e30b9de39fe/jobs/20466/tests]
>  {code}
> ccmlib.node.TimeoutError: 23 Nov 2023 21:15:48 [node1] after 10.01/10 seconds 
> Missing: ['Moving .* to -634023222112864484'] not found in system.log:
> Head: INFO [RMI TCP Connection(2)-127.0.0.1] 2023-11-23
> Tail: ...1-23 21:15:39,483 BigFormat.java:324 - Deleting sstable: 
> /tmp/dtest-ovho0emz/test/node1/data0/system/local-7ad54392bcdd35a684174e047860b377/oa-11-big
> self = 
> @pytest.mark.resource_intensive
> def test_pending_range(self):
> """
> @jira_ticket CASSANDRA-10887
> """
> cluster = self.cluster
>  # If we are on 2.1, we need to set the log level to debug or higher, as 
> debug.log does not exist.
> if cluster.version() < '2.2':
> cluster.set_log_level('DEBUG')
>  # Create 5 node cluster
> ring_delay_ms = 3_600_000 # 1 hour
> cluster.populate(5).start(jvm_args=['-Dcassandra.ring_delay_ms={}'.format(ring_delay_ms)])
> node1, node2 = cluster.nodelist()[0:2]
>  # Set up RF=3 keyspace
> session = self.patient_cql_connection(node1)
> create_ks(session, 'ks', 3)
> session.execute("CREATE TABLE users (login text PRIMARY KEY, email text, name 
> text, login_count int)")
>  # We use the partition key 'jdoe3' because it belongs to node1.
>  # The key MUST belong to node1 to repro the bug.
> session.execute("INSERT INTO users (login, email, name, login_count) VALUES 
> ('jdoe3', 'j...@abc.com', 'Jane Doe', 1) IF NOT EXISTS;")
> lwt_query = SimpleStatement("UPDATE users SET email = 'jane...@abc.com' WHERE 
> login = 'jdoe3' IF email = 'j...@abc.com'")
>  # Show we can execute LWT no problem
> for i in range(1000):
> session.execute(lwt_query)
> token = '-634023222112864484'
> mark = node1.mark_log()
>  # Move a node without waiting for the response of nodetool, so we don't have 
> to wait for ring_delay
> threading.Thread(target=(lambda: node1.nodetool('move 
> {}'.format(token.start()
>  # Watch the log so we know when the node is moving
> > node1.watch_log_for('Moving .* to {}'.format(token), timeout=10, 
> > from_mark=mark)
> pending_range_test.py:55: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> ../env3.7/lib/python3.7/site-packages/ccmlib/node.py:605: in watch_log_for
> head=reads[:50], tail="..."+reads[len(reads)-150:]))
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _
> start = 1700774138.162831, timeout = 10
> msg = "Missing: ['Moving .* to -634023222112864484'] not found in 
> system.log:\n Head: INFO [RMI TCP Connection(2)-127.0.0.1...324 - Deleting 
> sstable: 
> /tmp/dtest-ovho0emz/test/node1/data0/system/local-7ad54392bcdd35a684174e047860b377/oa-11-big\n"
> node = 'node1'
> @staticmethod
> def raise_if_passed(start, timeout, msg, node=None):
> if start + timeout < time.time():
> > raise TimeoutError.create(start, timeout, msg, node)
> E ccmlib.node.TimeoutError: 23 Nov 2023 21:15:48 [node1] after 10.01/10 
> seconds Missing: ['Moving .* to -634023222112864484'] not found in system.log:
> E Head: INFO [RMI TCP Connection(2)-127.0.0.1] 2023-11-23
> E Tail: ...1-23 21:15:39,483 BigFormat.java:324 - Deleting sstable: 
> /tmp/dtest-ovho0emz/test/node1/data0/system/local-7ad54392bcdd35a684174e047860b377/oa-11-big
> ../env3.7/lib/python3.7/site-packages/ccmlib/node.py:56: TimeoutError
> {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-19088) Test Failure: pushed_notifications_test.TestPushedNotifications.test_move_single_node

2023-11-29 Thread Sam Tunnicliffe (Jira)


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

Sam Tunnicliffe commented on CASSANDRA-19088:
-

[https://app.circleci.com/pipelines/github/michaelsembwever/cassandra/265/workflows/8b6e500f-6652-4ad0-b7cc-6d46316b43c6]

The only dtest failure across J11 & J17 is 
materialized_views_test.TestMaterializedViewsConsistency.test_multi_partition_consistent_reads_after_write
 tracked by CASSANDRA-19056

> Test Failure: 
> pushed_notifications_test.TestPushedNotifications.test_move_single_node
> -
>
> Key: CASSANDRA-19088
> URL: https://issues.apache.org/jira/browse/CASSANDRA-19088
> Project: Cassandra
>  Issue Type: Bug
>  Components: Test/dtest/python
>Reporter: Michael Semb Wever
>Assignee: Sam Tunnicliffe
>Priority: Normal
> Fix For: 5.1-alpha1
>
>
> In j11_dtests from CASSANDRA-19034
> https://app.circleci.com/pipelines/github/mike-tr-adamson/cassandra/402/workflows/92aacb84-fd3a-48e0-9fb2-d1e2fe6fc71a/jobs/35345/tests
> {noformat}
> AssertionError: assert 'MOVED_NODE' == 'NEW_NODE'
>   - NEW_NODE
>   + MOVED_NODE
> self =  0x7fd28ee838d0>
> @pytest.mark.no_vnodes
> def test_move_single_node(self):
> """
> @jira_ticket CASSANDRA-8516
> Moving a token should result in MOVED_NODE notifications.
> """
> self.cluster.populate(3).start()
> 
> waiters = [NotificationWaiter(self, node, ["TOPOLOGY_CHANGE"])
>for node in list(self.cluster.nodes.values())]
> 
> # The first node sends NEW_NODE for the other 2 nodes during startup, 
> in case they are
> # late due to network delays let's block a bit longer
> logger.debug("Waiting for unwanted notifications")
> waiters[0].wait_for_notifications(timeout=30, num_notifications=2)
> waiters[0].clear_notifications()
> 
> logger.debug("Issuing move command")
> node1 = list(self.cluster.nodes.values())[0]
> node1.move("123")
> 
> for waiter in waiters:
> logger.debug("Waiting for notification from 
> {}".format(waiter.address,))
> notifications = waiter.wait_for_notifications(60.0)
> assert 1 == len(notifications), notifications
> notification = notifications[0]
> change_type = notification["change_type"]
> address, port = notification["address"]
> >   assert "MOVED_NODE" == change_type
> E   AssertionError: assert 'MOVED_NODE' == 'NEW_NODE'
> E - NEW_NODE
> E + MOVED_NODE
> pushed_notifications_test.py:118: AssertionError
> {noformat}



--
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] [Updated] (CASSANDRA-19072) Test failure: org.apache.cassandra.distributed.test.log.FetchLogFromPeersTest.catchupCoordinatorAheadPlacementsReadTest-_jdk11

2023-11-29 Thread Sam Tunnicliffe (Jira)


 [ 
https://issues.apache.org/jira/browse/CASSANDRA-19072?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sam Tunnicliffe updated CASSANDRA-19072:

Description: 
CircleCI failure: 
https://app.circleci.com/pipelines/github/michaelsembwever/cassandra/256/workflows/c4fda8f1-a8d6-4523-be83-5e30b9de39fe/jobs/20464/tests

Also failing on 17: Circleci Failure: 
https://app.circleci.com/pipelines/github/michaelsembwever/cassandra/256/workflows/c4fda8f1-a8d6-4523-be83-5e30b9de39fe/jobs/20500/tests

{code}
junit.framework.AssertionFailedError
at 
org.apache.cassandra.distributed.test.log.FetchLogFromPeersTest.catchupCoordinatorAheadPlacementsReadTest(FetchLogFromPeersTest.java:217)
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)
{code}


  was:
CircleCI failure: 
https://app.circleci.com/pipelines/github/michaelsembwever/cassandra/256/workflows/c4fda8f1-a8d6-4523-be83-5e30b9de39fe/jobs/20464/tests

Also failing on 17: Circleci Failure: 
https://app.circleci.com/pipelines/github/michaelsembwever/cassandra/256/workflows/c4fda8f1-a8d6-4523-be83-5e30b9de39fe/jobs/20500/tests

```
junit.framework.AssertionFailedError
at 
org.apache.cassandra.distributed.test.log.FetchLogFromPeersTest.catchupCoordinatorAheadPlacementsReadTest(FetchLogFromPeersTest.java:217)
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)
```



> Test failure: 
> org.apache.cassandra.distributed.test.log.FetchLogFromPeersTest.catchupCoordinatorAheadPlacementsReadTest-_jdk11
> --
>
> Key: CASSANDRA-19072
> URL: https://issues.apache.org/jira/browse/CASSANDRA-19072
> Project: Cassandra
>  Issue Type: Bug
>  Components: CI
>Reporter: Alex Petrov
>Assignee: Sam Tunnicliffe
>Priority: Normal
> Fix For: 5.1-alpha1
>
>
> CircleCI failure: 
> https://app.circleci.com/pipelines/github/michaelsembwever/cassandra/256/workflows/c4fda8f1-a8d6-4523-be83-5e30b9de39fe/jobs/20464/tests
> Also failing on 17: Circleci Failure: 
> https://app.circleci.com/pipelines/github/michaelsembwever/cassandra/256/workflows/c4fda8f1-a8d6-4523-be83-5e30b9de39fe/jobs/20500/tests
> {code}
> junit.framework.AssertionFailedError
>   at 
> org.apache.cassandra.distributed.test.log.FetchLogFromPeersTest.catchupCoordinatorAheadPlacementsReadTest(FetchLogFromPeersTest.java:217)
>   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)
> {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] [Assigned] (CASSANDRA-19087) Test Failure: org.apache.cassandra.distributed.test.log.FetchLogFromPeersTest.testSchema-_jdk11

2023-11-29 Thread Sam Tunnicliffe (Jira)


 [ 
https://issues.apache.org/jira/browse/CASSANDRA-19087?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sam Tunnicliffe reassigned CASSANDRA-19087:
---

Assignee: Sam Tunnicliffe

> Test Failure: 
> org.apache.cassandra.distributed.test.log.FetchLogFromPeersTest.testSchema-_jdk11
> ---
>
> Key: CASSANDRA-19087
> URL: https://issues.apache.org/jira/browse/CASSANDRA-19087
> Project: Cassandra
>  Issue Type: Bug
>  Components: CI
>Reporter: Michael Semb Wever
>Assignee: Sam Tunnicliffe
>Priority: Normal
> Fix For: 5.1-alpha1
>
>
> In j11_jvm_dtests_vnode, ref CASSANDRA-19034
> https://app.circleci.com/pipelines/github/mike-tr-adamson/cassandra/402/workflows/92aacb84-fd3a-48e0-9fb2-d1e2fe6fc71a/jobs/35324/tests
> {noformat}
> org.apache.cassandra.distributed.shared.ShutdownException: Uncaught 
> exceptions were thrown during test
>   at 
> org.apache.cassandra.distributed.impl.AbstractCluster.checkAndResetUncaughtExceptions(AbstractCluster.java:1124)
>   at 
> org.apache.cassandra.distributed.impl.AbstractCluster.close(AbstractCluster.java:1110)
>   at 
> org.apache.cassandra.distributed.test.log.FetchLogFromPeersTest.testSchema(FetchLogFromPeersTest.java:75)
>   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)
>   Suppressed: java.lang.IllegalStateException: Could not find range for 
> token 356242581507269238 in PlacementForRange: {}
>   at 
> org.apache.cassandra.tcm.ownership.PlacementForRange.forToken(PlacementForRange.java:119)
>   at 
> org.apache.cassandra.db.ReadCommandVerbHandler.getLocalReplica(ReadCommandVerbHandler.java:218)
>   at 
> org.apache.cassandra.db.ReadCommandVerbHandler.checkTokenOwnership(ReadCommandVerbHandler.java:159)
>   at 
> org.apache.cassandra.db.ReadCommandVerbHandler.doVerb(ReadCommandVerbHandler.java:57)
>   at 
> org.apache.cassandra.net.InboundSink.lambda$new$0(InboundSink.java:102)
>   at 
> org.apache.cassandra.net.InboundSink.accept(InboundSink.java:122)
>   at 
> org.apache.cassandra.distributed.impl.Instance.lambda$receiveMessageRunnable$6(Instance.java:538)
>   at 
> org.apache.cassandra.concurrent.ExecutionFailure$1.run(ExecutionFailure.java:133)
>   at 
> org.apache.cassandra.concurrent.SEPWorker.run(SEPWorker.java:143)
>   at 
> io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
>   at java.base/java.lang.Thread.run(Thread.java:829)
> {noformat}



--
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] [Assigned] (CASSANDRA-19072) Test failure: org.apache.cassandra.distributed.test.log.FetchLogFromPeersTest.catchupCoordinatorAheadPlacementsReadTest-_jdk11

2023-11-29 Thread Sam Tunnicliffe (Jira)


 [ 
https://issues.apache.org/jira/browse/CASSANDRA-19072?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sam Tunnicliffe reassigned CASSANDRA-19072:
---

Assignee: Sam Tunnicliffe

> Test failure: 
> org.apache.cassandra.distributed.test.log.FetchLogFromPeersTest.catchupCoordinatorAheadPlacementsReadTest-_jdk11
> --
>
> Key: CASSANDRA-19072
> URL: https://issues.apache.org/jira/browse/CASSANDRA-19072
> Project: Cassandra
>  Issue Type: Bug
>  Components: CI
>Reporter: Alex Petrov
>Assignee: Sam Tunnicliffe
>Priority: Normal
> Fix For: 5.1-alpha1
>
>
> CircleCI failure: 
> https://app.circleci.com/pipelines/github/michaelsembwever/cassandra/256/workflows/c4fda8f1-a8d6-4523-be83-5e30b9de39fe/jobs/20464/tests
> Also failing on 17: Circleci Failure: 
> https://app.circleci.com/pipelines/github/michaelsembwever/cassandra/256/workflows/c4fda8f1-a8d6-4523-be83-5e30b9de39fe/jobs/20500/tests
> ```
> junit.framework.AssertionFailedError
>   at 
> org.apache.cassandra.distributed.test.log.FetchLogFromPeersTest.catchupCoordinatorAheadPlacementsReadTest(FetchLogFromPeersTest.java:217)
>   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)
> ```



--
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] [Updated] (CASSANDRA-19093) Test Failure: materialized_views_test.TestMaterializedViews.test_interrupt_build_process

2023-11-29 Thread Sam Tunnicliffe (Jira)


 [ 
https://issues.apache.org/jira/browse/CASSANDRA-19093?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sam Tunnicliffe updated CASSANDRA-19093:

 Bug Category: Parent values: Correctness(12982)Level 1 values: Test 
Failure(12990)
   Complexity: Normal
  Component/s: Test/dtest/python
Discovered By: DTest
Fix Version/s: 5.1-alpha1
 Severity: Normal
 Assignee: Sam Tunnicliffe
   Status: Open  (was: Triage Needed)

> Test Failure: 
> materialized_views_test.TestMaterializedViews.test_interrupt_build_process
> 
>
> Key: CASSANDRA-19093
> URL: https://issues.apache.org/jira/browse/CASSANDRA-19093
> Project: Cassandra
>  Issue Type: Bug
>  Components: Test/dtest/python
>Reporter: Michael Semb Wever
>Assignee: Sam Tunnicliffe
>Priority: Normal
> Fix For: 5.1-alpha1
>
>
> Seen in j11_dtests in CASSANDRA-19034
> https://app.circleci.com/pipelines/github/michaelsembwever/cassandra/259/workflows/f343d3e3-00cf-4e13-bb4d-bbfff1d3658c/jobs/21100/tests
> {noformat}
> AssertionError: assert not [('DEBUG [ViewBuildExecutor:2] 2023-11-25 
> 10:20:56,917 ViewBuilderTask.java:128 - Resuming view build for range 
> (-3458...token -5761824694134994220 with 1 covered keys\n',  span=(79, 98), match='Resuming view build'>), ...]
>  +  where [('DEBUG [ViewBuildExecutor:2] 2023-11-25 10:20:56,917 
> ViewBuilderTask.java:128 - Resuming view build for range (-3458...token 
> -5761824694134994220 with 1 covered keys\n',  match='Resuming view build'>), ...] =  >('Resuming view build', 
> filename='debug.log')
>  +where  0x7f09f960c390>> = .grep_log
> self =  0x7f09fa5f0250>
> def test_interrupt_build_process(self):
> """Test that an interrupted MV build process is resumed as it 
> should"""
> 
> options = {'hinted_handoff_enabled': False}
> if self.cluster.version() >= '4':
> options['concurrent_materialized_view_builders'] = 4
> 
> session = self.prepare(options=options, install_byteman=True)
> node1, node2, node3 = self.cluster.nodelist()
> 
> logger.debug("Avoid premature MV build finalization with byteman")
> for node in self.cluster.nodelist():
> if self.cluster.version() >= '4':
> 
> node.byteman_submit([mk_bman_path('4.0/skip_view_build_finalization.btm')])
> 
> node.byteman_submit([mk_bman_path('4.0/skip_view_build_task_finalization.btm')])
> else:
> 
> node.byteman_submit([mk_bman_path('pre4.0/skip_finish_view_build_status.btm')])
> 
> node.byteman_submit([mk_bman_path('pre4.0/skip_view_build_update_distributed.btm')])
> 
> session.execute("CREATE TABLE t (id int PRIMARY KEY, v int, v2 text, 
> v3 decimal)")
> 
> logger.debug("Inserting initial data")
> for i in range(1):
> session.execute(
> "INSERT INTO t (id, v, v2, v3) VALUES ({v}, {v}, 'a', 3.0) IF 
> NOT EXISTS".format(v=i)
> )
> 
> logger.debug("Create a MV")
> session.execute(("CREATE MATERIALIZED VIEW t_by_v AS SELECT * FROM t "
>  "WHERE v IS NOT NULL AND id IS NOT NULL PRIMARY KEY 
> (v, id)"))
> 
> logger.debug("Wait and ensure the MV build has started. Waiting up to 
> 2 minutes.")
> self._wait_for_view_build_start(session, 'ks', 't_by_v', 
> wait_minutes=2)
> 
> logger.debug("Stop the cluster. Interrupt the MV build process.")
> self.cluster.stop()
> 
> logger.debug("Checking logs to verify that the view build tasks have 
> been created")
> for node in self.cluster.nodelist():
> assert node.grep_log('Starting new view build', 
> filename='debug.log')
> >   assert not node.grep_log('Resuming view build', 
> > filename='debug.log')
> E   AssertionError: assert not [('DEBUG [ViewBuildExecutor:2] 
> 2023-11-25 10:20:56,917 ViewBuilderTask.java:128 - Resuming view build for 
> range (-3458...token -5761824694134994220 with 1 covered keys\n',  object; span=(79, 98), match='Resuming view build'>), ...]
> E+  where [('DEBUG [ViewBuildExecutor:2] 2023-11-25 10:20:56,917 
> ViewBuilderTask.java:128 - Resuming view build for range (-3458...token 
> -5761824694134994220 with 1 covered keys\n',  match='Resuming view build'>), ...] =  >('Resuming view build', 
> filename='debug.log')
> E+where  object at 0x7f09f960c390>> =  0x7f09f960c390>.grep_log
> materialized_views_test.py:1129: AssertionError
> {noformat}



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

-
To unsubscribe, e-mail: 

[jira] [Updated] (CASSANDRA-19068) Test failure: j11_dtests_large.pending_range_test.TestPendingRangeMovements

2023-11-29 Thread Sam Tunnicliffe (Jira)


 [ 
https://issues.apache.org/jira/browse/CASSANDRA-19068?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sam Tunnicliffe updated CASSANDRA-19068:

Description: 
CircleCI failure: 
[https://app.circleci.com/pipelines/github/michaelsembwever/cassandra/256/workflows/c4fda8f1-a8d6-4523-be83-5e30b9de39fe/jobs/20466/tests]

 {code}
ccmlib.node.TimeoutError: 23 Nov 2023 21:15:48 [node1] after 10.01/10 seconds 
Missing: ['Moving .* to -634023222112864484'] not found in system.log:
Head: INFO [RMI TCP Connection(2)-127.0.0.1] 2023-11-23
Tail: ...1-23 21:15:39,483 BigFormat.java:324 - Deleting sstable: 
/tmp/dtest-ovho0emz/test/node1/data0/system/local-7ad54392bcdd35a684174e047860b377/oa-11-big
self = 

@pytest.mark.resource_intensive
def test_pending_range(self):
"""
@jira_ticket CASSANDRA-10887
"""
cluster = self.cluster
 # If we are on 2.1, we need to set the log level to debug or higher, as 
debug.log does not exist.
if cluster.version() < '2.2':
cluster.set_log_level('DEBUG')

 # Create 5 node cluster
ring_delay_ms = 3_600_000 # 1 hour
cluster.populate(5).start(jvm_args=['-Dcassandra.ring_delay_ms={}'.format(ring_delay_ms)])
node1, node2 = cluster.nodelist()[0:2]

 # Set up RF=3 keyspace
session = self.patient_cql_connection(node1)
create_ks(session, 'ks', 3)

session.execute("CREATE TABLE users (login text PRIMARY KEY, email text, name 
text, login_count int)")
 # We use the partition key 'jdoe3' because it belongs to node1.
 # The key MUST belong to node1 to repro the bug.
session.execute("INSERT INTO users (login, email, name, login_count) VALUES 
('jdoe3', 'j...@abc.com', 'Jane Doe', 1) IF NOT EXISTS;")

lwt_query = SimpleStatement("UPDATE users SET email = 'jane...@abc.com' WHERE 
login = 'jdoe3' IF email = 'j...@abc.com'")
 # Show we can execute LWT no problem
for i in range(1000):
session.execute(lwt_query)

token = '-634023222112864484'

mark = node1.mark_log()
 # Move a node without waiting for the response of nodetool, so we don't have 
to wait for ring_delay
threading.Thread(target=(lambda: node1.nodetool('move 
{}'.format(token.start()

 # Watch the log so we know when the node is moving
> node1.watch_log_for('Moving .* to {}'.format(token), timeout=10, 
> from_mark=mark)

pending_range_test.py:55: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
../env3.7/lib/python3.7/site-packages/ccmlib/node.py:605: in watch_log_for
head=reads[:50], tail="..."+reads[len(reads)-150:]))
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

start = 1700774138.162831, timeout = 10
msg = "Missing: ['Moving .* to -634023222112864484'] not found in system.log:\n 
Head: INFO [RMI TCP Connection(2)-127.0.0.1...324 - Deleting sstable: 
/tmp/dtest-ovho0emz/test/node1/data0/system/local-7ad54392bcdd35a684174e047860b377/oa-11-big\n"
node = 'node1'

@staticmethod
def raise_if_passed(start, timeout, msg, node=None):
if start + timeout < time.time():
> raise TimeoutError.create(start, timeout, msg, node)
E ccmlib.node.TimeoutError: 23 Nov 2023 21:15:48 [node1] after 10.01/10 seconds 
Missing: ['Moving .* to -634023222112864484'] not found in system.log:
E Head: INFO [RMI TCP Connection(2)-127.0.0.1] 2023-11-23
E Tail: ...1-23 21:15:39,483 BigFormat.java:324 - Deleting sstable: 
/tmp/dtest-ovho0emz/test/node1/data0/system/local-7ad54392bcdd35a684174e047860b377/oa-11-big

../env3.7/lib/python3.7/site-packages/ccmlib/node.py:56: TimeoutError
{code}

  was:
CircleCI failure: 
https://app.circleci.com/pipelines/github/michaelsembwever/cassandra/256/workflows/c4fda8f1-a8d6-4523-be83-5e30b9de39fe/jobs/20466/tests

```
ccmlib.node.TimeoutError: 23 Nov 2023 21:15:48 [node1] after 10.01/10 seconds 
Missing: ['Moving .* to -634023222112864484'] not found in system.log:
 Head: INFO  [RMI TCP Connection(2)-127.0.0.1] 2023-11-23
 Tail: ...1-23 21:15:39,483 BigFormat.java:324 - Deleting sstable: 
/tmp/dtest-ovho0emz/test/node1/data0/system/local-7ad54392bcdd35a684174e047860b377/oa-11-big
self = 

@pytest.mark.resource_intensive
def test_pending_range(self):
"""
@jira_ticket CASSANDRA-10887
"""
cluster = self.cluster
# If we are on 2.1, we need to set the log level to debug or higher, as 
debug.log does not exist.
if cluster.version() < '2.2':
cluster.set_log_level('DEBUG')

# Create 5 node cluster
ring_delay_ms = 3_600_000  # 1 hour

cluster.populate(5).start(jvm_args=['-Dcassandra.ring_delay_ms={}'.format(ring_delay_ms)])
node1, node2 = cluster.nodelist()[0:2]

# Set up RF=3 keyspace
session = self.patient_cql_connection(node1)
create_ks(session, 'ks', 3)

session.execute("CREATE TABLE users (login text PRIMARY KEY, email 
text, name text, login_count int)")

# We use the partition key 'jdoe3' because it belongs to node1.
# The key MUST belong 

[jira] [Commented] (CASSANDRA-18947) Test failure: dtest-novnode.disk_balance_test.TestDiskBalance.test_disk_balance_stress

2023-11-29 Thread Sam Tunnicliffe (Jira)


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

Sam Tunnicliffe commented on CASSANDRA-18947:
-

This is the error reported in CASSANDRA-19092 which has a patch available and 
for which CI is currently running.

The issue is an overzealous error from the failure detector and is quite 
harmless. As you can see from the output, there is no problem stopping the node 
or otherwise running the test (it reports {{PASSED}}) but the unexpected 
logging causes the failure.

> Test failure: 
> dtest-novnode.disk_balance_test.TestDiskBalance.test_disk_balance_stress
> --
>
> Key: CASSANDRA-18947
> URL: https://issues.apache.org/jira/browse/CASSANDRA-18947
> Project: Cassandra
>  Issue Type: Bug
>  Components: Test/dtest/python
>Reporter: Ekaterina Dimitrova
>Assignee: Berenguer Blasi
>Priority: Normal
> Fix For: 5.0-rc
>
>
> Seen here:
> https://ci-cassandra.apache.org/job/Cassandra-5.0/72/testReport/dtest-novnode.disk_balance_test/TestDiskBalance/test_disk_balance_stress/
> h3.  
> {code:java}
> Error Message
> AssertionError: values not within 10.00% of the max: (2534183, 2762123, 
> 2423706) (node1)
> Stacktrace
> self =  def 
> test_disk_balance_stress(self): cluster = self.cluster if 
> self.dtest_config.use_vnodes: 
> cluster.set_configuration_options(values={'num_tokens': 256}) 
> cluster.populate(4).start() node1 = cluster.nodes['node1'] 
> node1.stress(['write', 'n=50k', 'no-warmup', '-rate', 'threads=100', 
> '-schema', 'replication(factor=3)', 
> 'compaction(strategy=SizeTieredCompactionStrategy,enabled=false)']) 
> cluster.flush() # make sure the data directories are balanced: for node in 
> cluster.nodelist(): > self.assert_balanced(node) disk_balance_test.py:48: _ _ 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> disk_balance_test.py:186: in assert_balanced assert_almost_equal(*new_sums, 
> error=0.1, error_message=node.name) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ args = (2534183, 2762123, 2423706) 
> kwargs = {'error': 0.1, 'error_message': 'node1'}, error = 0.1, vmax = 
> 2762123 vmin = 2423706, error_message = 'node1' def 
> assert_almost_equal(*args, **kwargs): """ Assert variable number of arguments 
> all fall within a margin of error. @params *args variable number of numerical 
> arguments to check @params error Optional margin of error. Default 0.16 
> @params error_message Optional error message to print. Default '' Examples: 
> assert_almost_equal(sizes[2], init_size) assert_almost_equal(ttl_session1, 
> ttl_session2[0][0], error=0.005) """ error = kwargs['error'] if 'error' in 
> kwargs else 0.16 vmax = max(args) vmin = min(args) error_message = '' if 
> 'error_message' not in kwargs else kwargs['error_message'] assert vmin > vmax 
> * (1.0 - error) or vmin == vmax, \ > "values not within {:.2f}% of the max: 
> {} ({})".format(error * 100, args, error_message) E AssertionError: values 
> not within 10.00% of the max: (2534183, 2762123, 2423706) (node1) 
> tools/assertions.py:206: AssertionError
> {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] [Updated] (CASSANDRA-19088) Test Failure: pushed_notifications_test.TestPushedNotifications.test_move_single_node

2023-11-28 Thread Sam Tunnicliffe (Jira)


 [ 
https://issues.apache.org/jira/browse/CASSANDRA-19088?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sam Tunnicliffe updated CASSANDRA-19088:

Test and Documentation Plan: CI
 Status: Patch Available  (was: In Progress)

This is flaky as the nodes may start the native protocol interface before or 
after learning of the new node. The linked patch makes the check independent of 
the ordering. CI results to follow

[https://github.com/beobal/cassandra-dtest/commit/3500bc070e96f478ff52499d83168db6df21b379]

> Test Failure: 
> pushed_notifications_test.TestPushedNotifications.test_move_single_node
> -
>
> Key: CASSANDRA-19088
> URL: https://issues.apache.org/jira/browse/CASSANDRA-19088
> Project: Cassandra
>  Issue Type: Bug
>  Components: Test/dtest/python
>Reporter: Michael Semb Wever
>Assignee: Sam Tunnicliffe
>Priority: Normal
> Fix For: 5.1-alpha1
>
>
> In j11_dtests from CASSANDRA-19034
> https://app.circleci.com/pipelines/github/mike-tr-adamson/cassandra/402/workflows/92aacb84-fd3a-48e0-9fb2-d1e2fe6fc71a/jobs/35345/tests
> {noformat}
> AssertionError: assert 'MOVED_NODE' == 'NEW_NODE'
>   - NEW_NODE
>   + MOVED_NODE
> self =  0x7fd28ee838d0>
> @pytest.mark.no_vnodes
> def test_move_single_node(self):
> """
> @jira_ticket CASSANDRA-8516
> Moving a token should result in MOVED_NODE notifications.
> """
> self.cluster.populate(3).start()
> 
> waiters = [NotificationWaiter(self, node, ["TOPOLOGY_CHANGE"])
>for node in list(self.cluster.nodes.values())]
> 
> # The first node sends NEW_NODE for the other 2 nodes during startup, 
> in case they are
> # late due to network delays let's block a bit longer
> logger.debug("Waiting for unwanted notifications")
> waiters[0].wait_for_notifications(timeout=30, num_notifications=2)
> waiters[0].clear_notifications()
> 
> logger.debug("Issuing move command")
> node1 = list(self.cluster.nodes.values())[0]
> node1.move("123")
> 
> for waiter in waiters:
> logger.debug("Waiting for notification from 
> {}".format(waiter.address,))
> notifications = waiter.wait_for_notifications(60.0)
> assert 1 == len(notifications), notifications
> notification = notifications[0]
> change_type = notification["change_type"]
> address, port = notification["address"]
> >   assert "MOVED_NODE" == change_type
> E   AssertionError: assert 'MOVED_NODE' == 'NEW_NODE'
> E - NEW_NODE
> E + MOVED_NODE
> pushed_notifications_test.py:118: AssertionError
> {noformat}



--
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] [Comment Edited] (CASSANDRA-19068) Test failure: j11_dtests_large.pending_range_test.TestPendingRangeMovements

2023-11-28 Thread Sam Tunnicliffe (Jira)


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

Sam Tunnicliffe edited comment on CASSANDRA-19068 at 11/28/23 9:13 PM:
---

The test required minor tweaking to adjust for changes to logging in 5.1

[https://github.com/beobal/cassandra-dtest/commit/6650413326cd92df11446dc34bb73ab9f0464e9f]

Additionally, a log message that was previously being emitted was no longer 
present, causing a subsequent failure. This is a potentially meaningful message 
so the linked commit adds it back, CI results to follow. 

[https://github.com/beobal/cassandra/commit/d542ded32026cc7d0b5880af901d9d9a973c5cb2]

  


was (Author: beobal):
This was due to a log message no longer being emitted, the linked commit adds 
it back. CI results to follow.

[https://github.com/beobal/cassandra/commit/d542ded32026cc7d0b5880af901d9d9a973c5cb2]

> Test failure: j11_dtests_large.pending_range_test.TestPendingRangeMovements
> ---
>
> Key: CASSANDRA-19068
> URL: https://issues.apache.org/jira/browse/CASSANDRA-19068
> Project: Cassandra
>  Issue Type: Bug
>  Components: Test/dtest/java
>Reporter: Alex Petrov
>Assignee: Sam Tunnicliffe
>Priority: Normal
> Fix For: 5.1-alpha1
>
>
> CircleCI failure: 
> https://app.circleci.com/pipelines/github/michaelsembwever/cassandra/256/workflows/c4fda8f1-a8d6-4523-be83-5e30b9de39fe/jobs/20466/tests
> ```
> ccmlib.node.TimeoutError: 23 Nov 2023 21:15:48 [node1] after 10.01/10 seconds 
> Missing: ['Moving .* to -634023222112864484'] not found in system.log:
>  Head: INFO  [RMI TCP Connection(2)-127.0.0.1] 2023-11-23
>  Tail: ...1-23 21:15:39,483 BigFormat.java:324 - Deleting sstable: 
> /tmp/dtest-ovho0emz/test/node1/data0/system/local-7ad54392bcdd35a684174e047860b377/oa-11-big
> self = 
> @pytest.mark.resource_intensive
> def test_pending_range(self):
> """
> @jira_ticket CASSANDRA-10887
> """
> cluster = self.cluster
> # If we are on 2.1, we need to set the log level to debug or higher, 
> as debug.log does not exist.
> if cluster.version() < '2.2':
> cluster.set_log_level('DEBUG')
> 
> # Create 5 node cluster
> ring_delay_ms = 3_600_000  # 1 hour
> 
> cluster.populate(5).start(jvm_args=['-Dcassandra.ring_delay_ms={}'.format(ring_delay_ms)])
> node1, node2 = cluster.nodelist()[0:2]
> 
> # Set up RF=3 keyspace
> session = self.patient_cql_connection(node1)
> create_ks(session, 'ks', 3)
> 
> session.execute("CREATE TABLE users (login text PRIMARY KEY, email 
> text, name text, login_count int)")
> 
> # We use the partition key 'jdoe3' because it belongs to node1.
> # The key MUST belong to node1 to repro the bug.
> session.execute("INSERT INTO users (login, email, name, login_count) 
> VALUES ('jdoe3', 'j...@abc.com', 'Jane Doe', 1) IF NOT EXISTS;")
> 
> lwt_query = SimpleStatement("UPDATE users SET email = 
> 'jane...@abc.com' WHERE login = 'jdoe3' IF email = 'j...@abc.com'")
> 
> # Show we can execute LWT no problem
> for i in range(1000):
> session.execute(lwt_query)
> 
> token = '-634023222112864484'
> 
> mark = node1.mark_log()
> 
> # Move a node without waiting for the response of nodetool, so we 
> don't have to wait for ring_delay
> threading.Thread(target=(lambda: node1.nodetool('move 
> {}'.format(token.start()
> 
> # Watch the log so we know when the node is moving
> >   node1.watch_log_for('Moving .* to {}'.format(token), timeout=10, 
> > from_mark=mark)
> pending_range_test.py:55: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> ../env3.7/lib/python3.7/site-packages/ccmlib/node.py:605: in watch_log_for
> head=reads[:50], tail="..."+reads[len(reads)-150:]))
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> start = 1700774138.162831, timeout = 10
> msg = "Missing: ['Moving .* to -634023222112864484'] not found in 
> system.log:\n Head: INFO  [RMI TCP Connection(2)-127.0.0.1...324 - Deleting 
> sstable: 
> /tmp/dtest-ovho0emz/test/node1/data0/system/local-7ad54392bcdd35a684174e047860b377/oa-11-big\n"
> node = 'node1'
> @staticmethod
> def raise_if_passed(start, timeout, msg, node=None):
> if start + timeout < time.time():
> >   raise TimeoutError.create(start, timeout, msg, node)
> E   ccmlib.node.TimeoutError: 23 Nov 2023 21:15:48 [node1] after 
> 10.01/10 seconds Missing: ['Moving .* to -634023222112864484'] not found in 
> system.log:
> EHead: 

[jira] [Updated] (CASSANDRA-19067) Test failure: j11_dtests_large.replace_address_test.TestReplaceAddress

2023-11-28 Thread Sam Tunnicliffe (Jira)


 [ 
https://issues.apache.org/jira/browse/CASSANDRA-19067?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sam Tunnicliffe updated CASSANDRA-19067:

Test and Documentation Plan: CI
 Status: Patch Available  (was: In Progress)

[https://github.com/beobal/cassandra-dtest/commit/e890dfc8a52e50b7944a1ea4eaed10fb14afa3fc]

CI results to follow

> Test failure: j11_dtests_large.replace_address_test.TestReplaceAddress
> --
>
> Key: CASSANDRA-19067
> URL: https://issues.apache.org/jira/browse/CASSANDRA-19067
> Project: Cassandra
>  Issue Type: Bug
>  Components: Test/dtest/java
>Reporter: Alex Petrov
>Assignee: Sam Tunnicliffe
>Priority: Normal
> Fix For: 5.1-alpha1
>
>
> CircleCI failure: 
> https://app.circleci.com/pipelines/github/michaelsembwever/cassandra/256/workflows/c4fda8f1-a8d6-4523-be83-5e30b9de39fe/jobs/20466/tests
> {code}
> assert 0 == 1
>  +  where 0 = len(set())
> self = 
> @pytest.mark.resource_intensive
> def test_replace_first_boot(self):
> >   self._test_replace_node(jvm_option='replace_address_first_boot')
> replace_address_test.py:281: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> replace_address_test.py:300: in _test_replace_node
> previous_log_size = self._verify_tokens_migrated_successfully()
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> self = 
> previous_log_size = None
> def _verify_tokens_migrated_successfully(self, previous_log_size=None):
> if not self.dtest_config.use_vnodes:
> num_tokens = 1
> else:
> # a little hacky but grep_log returns the whole line...
> num_tokens = 
> int(self.replacement_node.get_conf_option('num_tokens'))
> 
> logger.debug("Verifying {} tokens migrated 
> successfully".format(num_tokens))
> replmnt_address = 
> self.replacement_node.address_for_current_version_slashy()
> repled_address = 
> self.replaced_node.address_for_current_version_slashy()
> token_ownership_log = r"Token (.*?) changing ownership from {} to 
> {}".format(repled_address,
>   
>replmnt_address)
> logs = self.replacement_node.grep_log(token_ownership_log)
> 
> if (previous_log_size is not None):
> assert len(logs) == previous_log_size
> 
> moved_tokens = set([l[1].group(1) for l in logs])
> logger.debug("number of moved tokens: {}".format(len(moved_tokens)))
> >   assert len(moved_tokens) == num_tokens
> E   assert 0 == 1
> E+  where 0 = len(set())
> replace_address_test.py:207: AssertionError
> {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] [Comment Edited] (CASSANDRA-19068) Test failure: j11_dtests_large.pending_range_test.TestPendingRangeMovements

2023-11-28 Thread Sam Tunnicliffe (Jira)


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

Sam Tunnicliffe edited comment on CASSANDRA-19068 at 11/28/23 9:03 PM:
---

This was due to a log message no longer being emitted, the linked commit adds 
it back. CI results to follow.

[https://github.com/beobal/cassandra/commit/d542ded32026cc7d0b5880af901d9d9a973c5cb2]


was (Author: beobal):
This was due to a log message no longer being emitted, the linked branch 
contains a patch to add it back. CI results to follow.

[https://github.com/beobal/cassandra/tree/samt/19068_19092]

> Test failure: j11_dtests_large.pending_range_test.TestPendingRangeMovements
> ---
>
> Key: CASSANDRA-19068
> URL: https://issues.apache.org/jira/browse/CASSANDRA-19068
> Project: Cassandra
>  Issue Type: Bug
>  Components: Test/dtest/java
>Reporter: Alex Petrov
>Assignee: Sam Tunnicliffe
>Priority: Normal
> Fix For: 5.1-alpha1
>
>
> CircleCI failure: 
> https://app.circleci.com/pipelines/github/michaelsembwever/cassandra/256/workflows/c4fda8f1-a8d6-4523-be83-5e30b9de39fe/jobs/20466/tests
> ```
> ccmlib.node.TimeoutError: 23 Nov 2023 21:15:48 [node1] after 10.01/10 seconds 
> Missing: ['Moving .* to -634023222112864484'] not found in system.log:
>  Head: INFO  [RMI TCP Connection(2)-127.0.0.1] 2023-11-23
>  Tail: ...1-23 21:15:39,483 BigFormat.java:324 - Deleting sstable: 
> /tmp/dtest-ovho0emz/test/node1/data0/system/local-7ad54392bcdd35a684174e047860b377/oa-11-big
> self = 
> @pytest.mark.resource_intensive
> def test_pending_range(self):
> """
> @jira_ticket CASSANDRA-10887
> """
> cluster = self.cluster
> # If we are on 2.1, we need to set the log level to debug or higher, 
> as debug.log does not exist.
> if cluster.version() < '2.2':
> cluster.set_log_level('DEBUG')
> 
> # Create 5 node cluster
> ring_delay_ms = 3_600_000  # 1 hour
> 
> cluster.populate(5).start(jvm_args=['-Dcassandra.ring_delay_ms={}'.format(ring_delay_ms)])
> node1, node2 = cluster.nodelist()[0:2]
> 
> # Set up RF=3 keyspace
> session = self.patient_cql_connection(node1)
> create_ks(session, 'ks', 3)
> 
> session.execute("CREATE TABLE users (login text PRIMARY KEY, email 
> text, name text, login_count int)")
> 
> # We use the partition key 'jdoe3' because it belongs to node1.
> # The key MUST belong to node1 to repro the bug.
> session.execute("INSERT INTO users (login, email, name, login_count) 
> VALUES ('jdoe3', 'j...@abc.com', 'Jane Doe', 1) IF NOT EXISTS;")
> 
> lwt_query = SimpleStatement("UPDATE users SET email = 
> 'jane...@abc.com' WHERE login = 'jdoe3' IF email = 'j...@abc.com'")
> 
> # Show we can execute LWT no problem
> for i in range(1000):
> session.execute(lwt_query)
> 
> token = '-634023222112864484'
> 
> mark = node1.mark_log()
> 
> # Move a node without waiting for the response of nodetool, so we 
> don't have to wait for ring_delay
> threading.Thread(target=(lambda: node1.nodetool('move 
> {}'.format(token.start()
> 
> # Watch the log so we know when the node is moving
> >   node1.watch_log_for('Moving .* to {}'.format(token), timeout=10, 
> > from_mark=mark)
> pending_range_test.py:55: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> ../env3.7/lib/python3.7/site-packages/ccmlib/node.py:605: in watch_log_for
> head=reads[:50], tail="..."+reads[len(reads)-150:]))
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> start = 1700774138.162831, timeout = 10
> msg = "Missing: ['Moving .* to -634023222112864484'] not found in 
> system.log:\n Head: INFO  [RMI TCP Connection(2)-127.0.0.1...324 - Deleting 
> sstable: 
> /tmp/dtest-ovho0emz/test/node1/data0/system/local-7ad54392bcdd35a684174e047860b377/oa-11-big\n"
> node = 'node1'
> @staticmethod
> def raise_if_passed(start, timeout, msg, node=None):
> if start + timeout < time.time():
> >   raise TimeoutError.create(start, timeout, msg, node)
> E   ccmlib.node.TimeoutError: 23 Nov 2023 21:15:48 [node1] after 
> 10.01/10 seconds Missing: ['Moving .* to -634023222112864484'] not found in 
> system.log:
> EHead: INFO  [RMI TCP Connection(2)-127.0.0.1] 2023-11-23
> ETail: ...1-23 21:15:39,483 BigFormat.java:324 - Deleting 
> sstable: 
> /tmp/dtest-ovho0emz/test/node1/data0/system/local-7ad54392bcdd35a684174e047860b377/oa-11-big
> 

[jira] [Updated] (CASSANDRA-19092) Test Failure: cql_tracing_test.TestCqlTracing.test_tracing_simple

2023-11-28 Thread Sam Tunnicliffe (Jira)


 [ 
https://issues.apache.org/jira/browse/CASSANDRA-19092?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sam Tunnicliffe updated CASSANDRA-19092:

Test and Documentation Plan: CI
 Status: Patch Available  (was: In Progress)

This error is due to FD too eagerly throwing the ILE. 

>From the commit in the linked branch:

{code}
// An endpoint may be known by other means, for example it may be present in 
cluster metadata as a CMS
// member but we have not yet seen anything which causes it to be added to the 
endpoint state map (i.e. its
// registration via the metadata log, or a full gossip round). This is 
perfectly harmless, so no need to log
// an error in that case.
{code}

https://github.com/beobal/cassandra/commit/87af31e13b92e7aaa7eeba9c9e8298a68ace11c3

CI results to follow

> Test Failure: cql_tracing_test.TestCqlTracing.test_tracing_simple
> -
>
> Key: CASSANDRA-19092
> URL: https://issues.apache.org/jira/browse/CASSANDRA-19092
> Project: Cassandra
>  Issue Type: Bug
>  Components: Test/dtest/python
>Reporter: Michael Semb Wever
>Assignee: Sam Tunnicliffe
>Priority: Normal
>
> Seen in cqlsh_dtests in CASSANDRA-19034
> https://app.circleci.com/pipelines/github/michaelsembwever/cassandra/257/workflows/ddcb5f4e-e2c5-430b-b922-f7064a244971/jobs/20648/tests
> {noformat}failed on teardown with "Failed: Unexpected error found in node 
> logs (see stdout for full details). Errors: [[node3] 'ERROR [main] 2023-11-24 
> 19:02:04,201 FailureDetector.java:309 - Unknown endpoint: /127.0.0.1:7000
> java.lang.IllegalArgumentException: Unknown endpoint: /127.0.0.1:7000
> at 
> org.apache.cassandra.gms.FailureDetector.isAlive(FailureDetector.java:309)
> at 
> org.apache.cassandra.tcm.RemoteProcessor$CandidateIterator.computeNext(RemoteProcessor.java:326)
> at 
> org.apache.cassandra.tcm.RemoteProcessor$CandidateIterator.computeNext(RemoteProcessor.java:256)
> at 
> org.apache.cassandra.utils.AbstractIterator.hasNext(AbstractIterator.java:47)
> at 
> org.apache.cassandra.tcm.RemoteProcessor$1Request.retry(RemoteProcessor.java:187)
> at 
> org.apache.cassandra.tcm.RemoteProcessor.sendWithCallbackAsync(RemoteProcessor.java:223)
> at 
> org.apache.cassandra.tcm.RemoteProcessor.sendWithCallback(RemoteProcessor.java:170)
> at 
> org.apache.cassandra.tcm.RemoteProcessor.commit(RemoteProcessor.java:76)
> at 
> org.apache.cassandra.tcm.ClusterMetadataService$SwitchableProcessor.commit(ClusterMetadataService.java:837)
> at org.apache.cassandra.tcm.Processor.commit(Processor.java:45)
> at 
> org.apache.cassandra.tcm.ClusterMetadataService.commit(ClusterMetadataService.java:502)
> at 
> org.apache.cassandra.tcm.ClusterMetadataService.commit(ClusterMetadataService.java:467)
> at 
> org.apache.cassandra.tcm.transformations.Register.register(Register.java:112)
> at 
> org.apache.cassandra.tcm.transformations.Register.register(Register.java:95)
> at 
> org.apache.cassandra.tcm.transformations.Register.register(Register.java:132)
> at 
> org.apache.cassandra.tcm.transformations.Register.maybeRegister(Register.java:89)
> at 
> org.apache.cassandra.service.StorageService.initServer(StorageService.java:807)
> at 
> org.apache.cassandra.service.CassandraDaemon.setup(CassandraDaemon.java:367)
> at 
> org.apache.cassandra.service.CassandraDaemon.activate(CassandraDaemon.java:728)
> at 
> org.apache.cassandra.service.CassandraDaemon.main(CassandraDaemon.java:879)']"
> {noformat}



--
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] [Updated] (CASSANDRA-19068) Test failure: j11_dtests_large.pending_range_test.TestPendingRangeMovements

2023-11-28 Thread Sam Tunnicliffe (Jira)


 [ 
https://issues.apache.org/jira/browse/CASSANDRA-19068?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sam Tunnicliffe updated CASSANDRA-19068:

Test and Documentation Plan: CI
 Status: Patch Available  (was: In Progress)

This was due to a log message no longer being emitted, the linked branch 
contains a patch to add it back. CI results to follow.

[https://github.com/beobal/cassandra/tree/samt/19068_19092]

> Test failure: j11_dtests_large.pending_range_test.TestPendingRangeMovements
> ---
>
> Key: CASSANDRA-19068
> URL: https://issues.apache.org/jira/browse/CASSANDRA-19068
> Project: Cassandra
>  Issue Type: Bug
>  Components: Test/dtest/java
>Reporter: Alex Petrov
>Assignee: Sam Tunnicliffe
>Priority: Normal
> Fix For: 5.1-alpha1
>
>
> CircleCI failure: 
> https://app.circleci.com/pipelines/github/michaelsembwever/cassandra/256/workflows/c4fda8f1-a8d6-4523-be83-5e30b9de39fe/jobs/20466/tests
> ```
> ccmlib.node.TimeoutError: 23 Nov 2023 21:15:48 [node1] after 10.01/10 seconds 
> Missing: ['Moving .* to -634023222112864484'] not found in system.log:
>  Head: INFO  [RMI TCP Connection(2)-127.0.0.1] 2023-11-23
>  Tail: ...1-23 21:15:39,483 BigFormat.java:324 - Deleting sstable: 
> /tmp/dtest-ovho0emz/test/node1/data0/system/local-7ad54392bcdd35a684174e047860b377/oa-11-big
> self = 
> @pytest.mark.resource_intensive
> def test_pending_range(self):
> """
> @jira_ticket CASSANDRA-10887
> """
> cluster = self.cluster
> # If we are on 2.1, we need to set the log level to debug or higher, 
> as debug.log does not exist.
> if cluster.version() < '2.2':
> cluster.set_log_level('DEBUG')
> 
> # Create 5 node cluster
> ring_delay_ms = 3_600_000  # 1 hour
> 
> cluster.populate(5).start(jvm_args=['-Dcassandra.ring_delay_ms={}'.format(ring_delay_ms)])
> node1, node2 = cluster.nodelist()[0:2]
> 
> # Set up RF=3 keyspace
> session = self.patient_cql_connection(node1)
> create_ks(session, 'ks', 3)
> 
> session.execute("CREATE TABLE users (login text PRIMARY KEY, email 
> text, name text, login_count int)")
> 
> # We use the partition key 'jdoe3' because it belongs to node1.
> # The key MUST belong to node1 to repro the bug.
> session.execute("INSERT INTO users (login, email, name, login_count) 
> VALUES ('jdoe3', 'j...@abc.com', 'Jane Doe', 1) IF NOT EXISTS;")
> 
> lwt_query = SimpleStatement("UPDATE users SET email = 
> 'jane...@abc.com' WHERE login = 'jdoe3' IF email = 'j...@abc.com'")
> 
> # Show we can execute LWT no problem
> for i in range(1000):
> session.execute(lwt_query)
> 
> token = '-634023222112864484'
> 
> mark = node1.mark_log()
> 
> # Move a node without waiting for the response of nodetool, so we 
> don't have to wait for ring_delay
> threading.Thread(target=(lambda: node1.nodetool('move 
> {}'.format(token.start()
> 
> # Watch the log so we know when the node is moving
> >   node1.watch_log_for('Moving .* to {}'.format(token), timeout=10, 
> > from_mark=mark)
> pending_range_test.py:55: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> ../env3.7/lib/python3.7/site-packages/ccmlib/node.py:605: in watch_log_for
> head=reads[:50], tail="..."+reads[len(reads)-150:]))
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> start = 1700774138.162831, timeout = 10
> msg = "Missing: ['Moving .* to -634023222112864484'] not found in 
> system.log:\n Head: INFO  [RMI TCP Connection(2)-127.0.0.1...324 - Deleting 
> sstable: 
> /tmp/dtest-ovho0emz/test/node1/data0/system/local-7ad54392bcdd35a684174e047860b377/oa-11-big\n"
> node = 'node1'
> @staticmethod
> def raise_if_passed(start, timeout, msg, node=None):
> if start + timeout < time.time():
> >   raise TimeoutError.create(start, timeout, msg, node)
> E   ccmlib.node.TimeoutError: 23 Nov 2023 21:15:48 [node1] after 
> 10.01/10 seconds Missing: ['Moving .* to -634023222112864484'] not found in 
> system.log:
> EHead: INFO  [RMI TCP Connection(2)-127.0.0.1] 2023-11-23
> ETail: ...1-23 21:15:39,483 BigFormat.java:324 - Deleting 
> sstable: 
> /tmp/dtest-ovho0emz/test/node1/data0/system/local-7ad54392bcdd35a684174e047860b377/oa-11-big
> ../env3.7/lib/python3.7/site-packages/ccmlib/node.py:56: TimeoutError
> ```



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

-
To unsubscribe, e-mail: 

[jira] [Updated] (CASSANDRA-19068) Test failure: j11_dtests_large.pending_range_test.TestPendingRangeMovements

2023-11-28 Thread Sam Tunnicliffe (Jira)


 [ 
https://issues.apache.org/jira/browse/CASSANDRA-19068?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sam Tunnicliffe updated CASSANDRA-19068:

 Bug Category: Parent values: Correctness(12982)Level 1 values: Test 
Failure(12990)
   Complexity: Normal
  Component/s: Test/dtest/java
Discovered By: DTest
Fix Version/s: 5.1-alpha1
 Severity: Normal
 Assignee: Sam Tunnicliffe
   Status: Open  (was: Triage Needed)

> Test failure: j11_dtests_large.pending_range_test.TestPendingRangeMovements
> ---
>
> Key: CASSANDRA-19068
> URL: https://issues.apache.org/jira/browse/CASSANDRA-19068
> Project: Cassandra
>  Issue Type: Bug
>  Components: Test/dtest/java
>Reporter: Alex Petrov
>Assignee: Sam Tunnicliffe
>Priority: Normal
> Fix For: 5.1-alpha1
>
>
> CircleCI failure: 
> https://app.circleci.com/pipelines/github/michaelsembwever/cassandra/256/workflows/c4fda8f1-a8d6-4523-be83-5e30b9de39fe/jobs/20466/tests
> ```
> ccmlib.node.TimeoutError: 23 Nov 2023 21:15:48 [node1] after 10.01/10 seconds 
> Missing: ['Moving .* to -634023222112864484'] not found in system.log:
>  Head: INFO  [RMI TCP Connection(2)-127.0.0.1] 2023-11-23
>  Tail: ...1-23 21:15:39,483 BigFormat.java:324 - Deleting sstable: 
> /tmp/dtest-ovho0emz/test/node1/data0/system/local-7ad54392bcdd35a684174e047860b377/oa-11-big
> self = 
> @pytest.mark.resource_intensive
> def test_pending_range(self):
> """
> @jira_ticket CASSANDRA-10887
> """
> cluster = self.cluster
> # If we are on 2.1, we need to set the log level to debug or higher, 
> as debug.log does not exist.
> if cluster.version() < '2.2':
> cluster.set_log_level('DEBUG')
> 
> # Create 5 node cluster
> ring_delay_ms = 3_600_000  # 1 hour
> 
> cluster.populate(5).start(jvm_args=['-Dcassandra.ring_delay_ms={}'.format(ring_delay_ms)])
> node1, node2 = cluster.nodelist()[0:2]
> 
> # Set up RF=3 keyspace
> session = self.patient_cql_connection(node1)
> create_ks(session, 'ks', 3)
> 
> session.execute("CREATE TABLE users (login text PRIMARY KEY, email 
> text, name text, login_count int)")
> 
> # We use the partition key 'jdoe3' because it belongs to node1.
> # The key MUST belong to node1 to repro the bug.
> session.execute("INSERT INTO users (login, email, name, login_count) 
> VALUES ('jdoe3', 'j...@abc.com', 'Jane Doe', 1) IF NOT EXISTS;")
> 
> lwt_query = SimpleStatement("UPDATE users SET email = 
> 'jane...@abc.com' WHERE login = 'jdoe3' IF email = 'j...@abc.com'")
> 
> # Show we can execute LWT no problem
> for i in range(1000):
> session.execute(lwt_query)
> 
> token = '-634023222112864484'
> 
> mark = node1.mark_log()
> 
> # Move a node without waiting for the response of nodetool, so we 
> don't have to wait for ring_delay
> threading.Thread(target=(lambda: node1.nodetool('move 
> {}'.format(token.start()
> 
> # Watch the log so we know when the node is moving
> >   node1.watch_log_for('Moving .* to {}'.format(token), timeout=10, 
> > from_mark=mark)
> pending_range_test.py:55: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> ../env3.7/lib/python3.7/site-packages/ccmlib/node.py:605: in watch_log_for
> head=reads[:50], tail="..."+reads[len(reads)-150:]))
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> start = 1700774138.162831, timeout = 10
> msg = "Missing: ['Moving .* to -634023222112864484'] not found in 
> system.log:\n Head: INFO  [RMI TCP Connection(2)-127.0.0.1...324 - Deleting 
> sstable: 
> /tmp/dtest-ovho0emz/test/node1/data0/system/local-7ad54392bcdd35a684174e047860b377/oa-11-big\n"
> node = 'node1'
> @staticmethod
> def raise_if_passed(start, timeout, msg, node=None):
> if start + timeout < time.time():
> >   raise TimeoutError.create(start, timeout, msg, node)
> E   ccmlib.node.TimeoutError: 23 Nov 2023 21:15:48 [node1] after 
> 10.01/10 seconds Missing: ['Moving .* to -634023222112864484'] not found in 
> system.log:
> EHead: INFO  [RMI TCP Connection(2)-127.0.0.1] 2023-11-23
> ETail: ...1-23 21:15:39,483 BigFormat.java:324 - Deleting 
> sstable: 
> /tmp/dtest-ovho0emz/test/node1/data0/system/local-7ad54392bcdd35a684174e047860b377/oa-11-big
> ../env3.7/lib/python3.7/site-packages/ccmlib/node.py:56: TimeoutError
> ```



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

-
To unsubscribe, e-mail: 

[jira] [Updated] (CASSANDRA-19057) Test Failure: pending_range_test.TestPendingRangeMovements.test_pending_range

2023-11-28 Thread Sam Tunnicliffe (Jira)


 [ 
https://issues.apache.org/jira/browse/CASSANDRA-19057?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sam Tunnicliffe updated CASSANDRA-19057:

Resolution: Duplicate
Status: Resolved  (was: Open)

> Test Failure: pending_range_test.TestPendingRangeMovements.test_pending_range
> -
>
> Key: CASSANDRA-19057
> URL: https://issues.apache.org/jira/browse/CASSANDRA-19057
> Project: Cassandra
>  Issue Type: Bug
>  Components: Legacy/Distributed Metadata, Transactional Cluster 
> Metadata
>Reporter: Sam Tunnicliffe
>Assignee: Sam Tunnicliffe
>Priority: Normal
> Fix For: 5.1-alpha1
>
>
> Failed on circle in 
> [https://app.circleci.com/pipelines/github/michaelsembwever/cassandra/256/workflows/c4fda8f1-a8d6-4523-be83-5e30b9de39fe/jobs/20474/tests]
>  
> (Circle CI marks this as flaky but nothing in butler)



--
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] [Assigned] (CASSANDRA-19057) Test Failure: pending_range_test.TestPendingRangeMovements.test_pending_range

2023-11-28 Thread Sam Tunnicliffe (Jira)


 [ 
https://issues.apache.org/jira/browse/CASSANDRA-19057?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sam Tunnicliffe reassigned CASSANDRA-19057:
---

Assignee: Sam Tunnicliffe

> Test Failure: pending_range_test.TestPendingRangeMovements.test_pending_range
> -
>
> Key: CASSANDRA-19057
> URL: https://issues.apache.org/jira/browse/CASSANDRA-19057
> Project: Cassandra
>  Issue Type: Bug
>  Components: Legacy/Distributed Metadata, Transactional Cluster 
> Metadata
>Reporter: Sam Tunnicliffe
>Assignee: Sam Tunnicliffe
>Priority: Normal
> Fix For: 5.1-alpha1
>
>
> Failed on circle in 
> [https://app.circleci.com/pipelines/github/michaelsembwever/cassandra/256/workflows/c4fda8f1-a8d6-4523-be83-5e30b9de39fe/jobs/20474/tests]
>  
> (Circle CI marks this as flaky but nothing in butler)



--
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] [Comment Edited] (CASSANDRA-19067) Test failure: j11_dtests_large.replace_address_test.TestReplaceAddress

2023-11-28 Thread Sam Tunnicliffe (Jira)


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

Sam Tunnicliffe edited comment on CASSANDRA-19067 at 11/28/23 1:09 PM:
---

The test searches the replacement node log for messages matching the pattern:
{code:java}
replmnt_address = self.replacement_node.address_for_current_version_slashy()
repled_address = self.replaced_node.address_for_current_version_slashy()
token_ownership_log = r"Token (.*?) changing ownership from {} to 
{}".format(repled_address, replmnt_address)
{code}
The logs from the test run on circle show that this was logged as expected:
{code:java}
WARN  [OptionalTasks:1] 2023-11-23 21:18:56,535 LegacyStateListener.java:146 - 
Token 3074457345618258602 changing ownership from /127.0.0.3:7000 to 
/127.0.0.4:7000
{code}
 but it appears as though it now may appear slightly later after node startup 
than previously. I suspect this makes the test slightly flaky as the message 
may not have appeared before the grep is performed. I have a dtest patch to 
make this more predictable and will attach soon.


was (Author: beobal):
The test searches the replacement node log for messages matching the pattern:
{code:java}
replmnt_address = self.replacement_node.address_for_current_version_slashy()
repled_address = self.replaced_node.address_for_current_version_slashy()
token_ownership_log = r"Token (.*?) changing ownership from {} to 
{}".format(repled_address,

 replmnt_address){code}
The logs from the test run on circle show that this was logged as expected:
{code:java}
WARN  [OptionalTasks:1] 2023-11-23 21:18:56,535 LegacyStateListener.java:146 - 
Token 3074457345618258602 changing ownership from /127.0.0.3:7000 to 
/127.0.0.4:7000
{code}
 but it appears as though it now may appear slightly later after node startup 
than previously. I suspect this makes the test slightly flaky as the message 
may not have appeared before the grep is performed. I have a dtest patch to 
make this more predictable and will attach soon.

> Test failure: j11_dtests_large.replace_address_test.TestReplaceAddress
> --
>
> Key: CASSANDRA-19067
> URL: https://issues.apache.org/jira/browse/CASSANDRA-19067
> Project: Cassandra
>  Issue Type: Bug
>  Components: Test/dtest/java
>Reporter: Alex Petrov
>Assignee: Sam Tunnicliffe
>Priority: Normal
> Fix For: 5.1-alpha1
>
>
> CircleCI failure: 
> https://app.circleci.com/pipelines/github/michaelsembwever/cassandra/256/workflows/c4fda8f1-a8d6-4523-be83-5e30b9de39fe/jobs/20466/tests
> {code}
> assert 0 == 1
>  +  where 0 = len(set())
> self = 
> @pytest.mark.resource_intensive
> def test_replace_first_boot(self):
> >   self._test_replace_node(jvm_option='replace_address_first_boot')
> replace_address_test.py:281: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> replace_address_test.py:300: in _test_replace_node
> previous_log_size = self._verify_tokens_migrated_successfully()
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> self = 
> previous_log_size = None
> def _verify_tokens_migrated_successfully(self, previous_log_size=None):
> if not self.dtest_config.use_vnodes:
> num_tokens = 1
> else:
> # a little hacky but grep_log returns the whole line...
> num_tokens = 
> int(self.replacement_node.get_conf_option('num_tokens'))
> 
> logger.debug("Verifying {} tokens migrated 
> successfully".format(num_tokens))
> replmnt_address = 
> self.replacement_node.address_for_current_version_slashy()
> repled_address = 
> self.replaced_node.address_for_current_version_slashy()
> token_ownership_log = r"Token (.*?) changing ownership from {} to 
> {}".format(repled_address,
>   
>replmnt_address)
> logs = self.replacement_node.grep_log(token_ownership_log)
> 
> if (previous_log_size is not None):
> assert len(logs) == previous_log_size
> 
> moved_tokens = set([l[1].group(1) for l in logs])
> logger.debug("number of moved tokens: {}".format(len(moved_tokens)))
> >   assert len(moved_tokens) == num_tokens
> E   assert 0 == 1
> E+  where 0 = len(set())
> replace_address_test.py:207: AssertionError
> {code}



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

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

[jira] [Comment Edited] (CASSANDRA-19067) Test failure: j11_dtests_large.replace_address_test.TestReplaceAddress

2023-11-28 Thread Sam Tunnicliffe (Jira)


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

Sam Tunnicliffe edited comment on CASSANDRA-19067 at 11/28/23 1:09 PM:
---

The test searches the replacement node log for messages matching the pattern:
{code:java}
replmnt_address = self.replacement_node.address_for_current_version_slashy()
repled_address = self.replaced_node.address_for_current_version_slashy()
token_ownership_log = r"Token (.*?) changing ownership from {} to 
{}".format(repled_address,

 replmnt_address){code}
The logs from the test run on circle show that this was logged as expected:
{code:java}
WARN  [OptionalTasks:1] 2023-11-23 21:18:56,535 LegacyStateListener.java:146 - 
Token 3074457345618258602 changing ownership from /127.0.0.3:7000 to 
/127.0.0.4:7000
{code}
 but it appears as though it now may appear slightly later after node startup 
than previously. I suspect this makes the test slightly flaky as the message 
may not have appeared before the grep is performed. I have a dtest patch to 
make this more predictable and will attach soon.


was (Author: beobal):
The test searches the replacement node log for messages matching the pattern: 
{code}{code}  
The logs from the test run on circle show that this was logged as expected, but 
it appears as though it now may appear slightly later after node startup than 
previously. I suspect this makes the test slightly flaky as the message may not 
have appeared before the grep is performed. I have a dtest patch to make this 
more predictable and will attach soon. 

> Test failure: j11_dtests_large.replace_address_test.TestReplaceAddress
> --
>
> Key: CASSANDRA-19067
> URL: https://issues.apache.org/jira/browse/CASSANDRA-19067
> Project: Cassandra
>  Issue Type: Bug
>  Components: Test/dtest/java
>Reporter: Alex Petrov
>Assignee: Sam Tunnicliffe
>Priority: Normal
> Fix For: 5.1-alpha1
>
>
> CircleCI failure: 
> https://app.circleci.com/pipelines/github/michaelsembwever/cassandra/256/workflows/c4fda8f1-a8d6-4523-be83-5e30b9de39fe/jobs/20466/tests
> {code}
> assert 0 == 1
>  +  where 0 = len(set())
> self = 
> @pytest.mark.resource_intensive
> def test_replace_first_boot(self):
> >   self._test_replace_node(jvm_option='replace_address_first_boot')
> replace_address_test.py:281: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> replace_address_test.py:300: in _test_replace_node
> previous_log_size = self._verify_tokens_migrated_successfully()
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> self = 
> previous_log_size = None
> def _verify_tokens_migrated_successfully(self, previous_log_size=None):
> if not self.dtest_config.use_vnodes:
> num_tokens = 1
> else:
> # a little hacky but grep_log returns the whole line...
> num_tokens = 
> int(self.replacement_node.get_conf_option('num_tokens'))
> 
> logger.debug("Verifying {} tokens migrated 
> successfully".format(num_tokens))
> replmnt_address = 
> self.replacement_node.address_for_current_version_slashy()
> repled_address = 
> self.replaced_node.address_for_current_version_slashy()
> token_ownership_log = r"Token (.*?) changing ownership from {} to 
> {}".format(repled_address,
>   
>replmnt_address)
> logs = self.replacement_node.grep_log(token_ownership_log)
> 
> if (previous_log_size is not None):
> assert len(logs) == previous_log_size
> 
> moved_tokens = set([l[1].group(1) for l in logs])
> logger.debug("number of moved tokens: {}".format(len(moved_tokens)))
> >   assert len(moved_tokens) == num_tokens
> E   assert 0 == 1
> E+  where 0 = len(set())
> replace_address_test.py:207: AssertionError
> {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-19067) Test failure: j11_dtests_large.replace_address_test.TestReplaceAddress

2023-11-28 Thread Sam Tunnicliffe (Jira)


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

Sam Tunnicliffe commented on CASSANDRA-19067:
-

The test searches the replacement node log for messages matching the pattern: 
{code}{code}  
The logs from the test run on circle show that this was logged as expected, but 
it appears as though it now may appear slightly later after node startup than 
previously. I suspect this makes the test slightly flaky as the message may not 
have appeared before the grep is performed. I have a dtest patch to make this 
more predictable and will attach soon. 

> Test failure: j11_dtests_large.replace_address_test.TestReplaceAddress
> --
>
> Key: CASSANDRA-19067
> URL: https://issues.apache.org/jira/browse/CASSANDRA-19067
> Project: Cassandra
>  Issue Type: Bug
>  Components: Test/dtest/java
>Reporter: Alex Petrov
>Assignee: Sam Tunnicliffe
>Priority: Normal
> Fix For: 5.1-alpha1
>
>
> CircleCI failure: 
> https://app.circleci.com/pipelines/github/michaelsembwever/cassandra/256/workflows/c4fda8f1-a8d6-4523-be83-5e30b9de39fe/jobs/20466/tests
> {code}
> assert 0 == 1
>  +  where 0 = len(set())
> self = 
> @pytest.mark.resource_intensive
> def test_replace_first_boot(self):
> >   self._test_replace_node(jvm_option='replace_address_first_boot')
> replace_address_test.py:281: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> replace_address_test.py:300: in _test_replace_node
> previous_log_size = self._verify_tokens_migrated_successfully()
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> self = 
> previous_log_size = None
> def _verify_tokens_migrated_successfully(self, previous_log_size=None):
> if not self.dtest_config.use_vnodes:
> num_tokens = 1
> else:
> # a little hacky but grep_log returns the whole line...
> num_tokens = 
> int(self.replacement_node.get_conf_option('num_tokens'))
> 
> logger.debug("Verifying {} tokens migrated 
> successfully".format(num_tokens))
> replmnt_address = 
> self.replacement_node.address_for_current_version_slashy()
> repled_address = 
> self.replaced_node.address_for_current_version_slashy()
> token_ownership_log = r"Token (.*?) changing ownership from {} to 
> {}".format(repled_address,
>   
>replmnt_address)
> logs = self.replacement_node.grep_log(token_ownership_log)
> 
> if (previous_log_size is not None):
> assert len(logs) == previous_log_size
> 
> moved_tokens = set([l[1].group(1) for l in logs])
> logger.debug("number of moved tokens: {}".format(len(moved_tokens)))
> >   assert len(moved_tokens) == num_tokens
> E   assert 0 == 1
> E+  where 0 = len(set())
> replace_address_test.py:207: AssertionError
> {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-19109) Couldn't find table with id on deserialization

2023-11-28 Thread Sam Tunnicliffe (Jira)


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

Sam Tunnicliffe commented on CASSANDRA-19109:
-

It's essentially a race, one which we have not eliminated with TCM yet. The 
coordinator has seen the schema update which creates the table (at epoch 9), 
but the replica (node2) is just processing it as it receives the mutation. 
{code:java}
[junit-timeout] INFO  [node2_GlobalLogFollower] node2 2023-11-27 23:24:33,649 
LocalLog.java:457 - Enacted 
AlterSchema{schemaTransformation=CreateTableStatement (k, t)}. New tail is 
Epoch{epoch=9}
[junit-timeout] ERROR 23:24:33 Exception in thread 
Thread[node2_isolatedExecutor:1,5,isolatedExecutor]
[junit-timeout] java.lang.RuntimeException: Can not deserialize message 
MessageImpl{verb=24, 
bytes=2c09131949ea93881801005c011b255f4def2540a60008090410fceadfeced28a00105746f74616c012000240001c0010001010003414c4c,
 id=44, version=13, from=/127.0.0.3:7012}
[junit-timeout] at 
org.apache.cassandra.distributed.impl.Instance.deserializeMessage(Instance.java:481)
[junit-timeout] at 
org.apache.cassandra.distributed.impl.Instance.lambda$receiveMessageRunnable$43231af8$1(Instance.java:516)
[junit-timeout] at 
org.apache.cassandra.distributed.impl.IsolatedExecutor.lambda$async$10(IsolatedExecutor.java:156)
[junit-timeout] at 
org.apache.cassandra.concurrent.FutureTask$1.call(FutureTask.java:96)
[junit-timeout] at 
org.apache.cassandra.concurrent.FutureTask.call(FutureTask.java:61)
[junit-timeout] at 
org.apache.cassandra.concurrent.FutureTask.run(FutureTask.java:71)
[junit-timeout] at 
java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
[junit-timeout] at 
java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
[junit-timeout] at 
io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
[junit-timeout] at java.base/java.lang.Thread.run(Thread.java:833)
[junit-timeout] Caused by: 
org.apache.cassandra.exceptions.UnknownTableException: Couldn't find table with 
id 1b255f4d-ef25-40a6--0008. If a table was just created, this is 
likely due to the schema not being fully propagated.  Please wait for schema 
agreement on table creation.
{code}
This is the same race that C* has always been susceptible to and which you can 
mitigate in the test by waiting for schema agreement before issuing the writes.
The reason it isn't automatically handled by TCM yet is that the 
deserialization happens on the messaging event loop, so although the replica 
can detect that it is lagging the coordinator, it can't perform a catchup to 
pull in the latest schema directly at that point. It's on the list of future 
improvements to schedule this off the event loop without blocking.

 

> Couldn't find table with id on deserialization
> --
>
> Key: CASSANDRA-19109
> URL: https://issues.apache.org/jira/browse/CASSANDRA-19109
> Project: Cassandra
>  Issue Type: Bug
>Reporter: Stefan Miklosovic
>Priority: Normal
>
> I hit this when I was testing CASSANDRA-19103, 19103 is a fairly simple patch 
> (PR in that ticket) so I do not think the test itself is to blame. I run two 
> multiplexers with 500 runs each, 1k in total, and it failed like this just 1 
> time.
> {code}
> java.lang.RuntimeException: Can not deserialize message MessageImpl{verb=24, 
> bytes=2c09131949ea93881801005c011b255f4def2540a60008090410fceadfeced28a00105746f74616c012000240001c0010001010003414c4c,
>  id=44, version=13, from=/127.0.0.3:7012}
>   at 
> org.apache.cassandra.distributed.impl.Instance.deserializeMessage(Instance.java:481)
>   at 
> org.apache.cassandra.distributed.impl.Instance.lambda$receiveMessageRunnable$43231af8$1(Instance.java:516)
>   at 
> org.apache.cassandra.distributed.impl.IsolatedExecutor.lambda$async$10(IsolatedExecutor.java:156)
>   at org.apache.cassandra.concurrent.FutureTask$1.call(FutureTask.java:96)
>   at org.apache.cassandra.concurrent.FutureTask.call(FutureTask.java:61)
>   at org.apache.cassandra.concurrent.FutureTask.run(FutureTask.java:71)
>   at 
> java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
>   at 
> java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
>   at 
> io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
>   at java.base/java.lang.Thread.run(Thread.java:833)
> Caused by: 

[jira] [Updated] (CASSANDRA-19091) Test Failure: org.apache.cassandra.db.compaction.writers.CompactionAwareWriterTest.test*CompactionWriter-trie

2023-11-27 Thread Sam Tunnicliffe (Jira)


 [ 
https://issues.apache.org/jira/browse/CASSANDRA-19091?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sam Tunnicliffe updated CASSANDRA-19091:

Status: Ready to Commit  (was: Review In Progress)

+1

> Test Failure: 
> org.apache.cassandra.db.compaction.writers.CompactionAwareWriterTest.test*CompactionWriter-trie
> -
>
> Key: CASSANDRA-19091
> URL: https://issues.apache.org/jira/browse/CASSANDRA-19091
> Project: Cassandra
>  Issue Type: Bug
>  Components: Test/unit
>Reporter: Michael Semb Wever
>Assignee: Marcus Eriksson
>Priority: Normal
> Attachments: ci_summary.html, result_details.tar.gz
>
>
> Broken on unit_tries, seen in CASSANDRA-19034
> - 
> https://app.circleci.com/pipelines/github/michaelsembwever/cassandra/257/workflows/95cdc05c-56fd-43bf-95ac-1122cf01535b/jobs/20685/tests
> - 
> https://app.circleci.com/pipelines/github/michaelsembwever/cassandra/257/workflows/ddcb5f4e-e2c5-430b-b922-f7064a244971/jobs/20670/tests
> Variants of…
> {noformat}
> junit.framework.AssertionFailedError: 
> [BtiTableReader:bti(path='/tmp/cassandra/build/test/cassandra/data/cawt_keyspace/cawt_table-1b255f4def2540a60003/da-8-bti-Data.db'),
>  
> BtiTableReader:bti(path='/tmp/cassandra/build/test/cassandra/data/cawt_keyspace/cawt_table-1b255f4def2540a60003/da-7-bti-Data.db')]
>   at 
> org.apache.cassandra.db.compaction.writers.CompactionAwareWriterTest.populate(CompactionAwareWriterTest.java:276)
>   at 
> org.apache.cassandra.db.compaction.writers.CompactionAwareWriterTest.testSplittingSizeTieredCompactionWriter(CompactionAwareWriterTest.java:139)
>   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)
> {noformat}



--
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] [Updated] (CASSANDRA-19091) Test Failure: org.apache.cassandra.db.compaction.writers.CompactionAwareWriterTest.test*CompactionWriter-trie

2023-11-27 Thread Sam Tunnicliffe (Jira)


 [ 
https://issues.apache.org/jira/browse/CASSANDRA-19091?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sam Tunnicliffe updated CASSANDRA-19091:

Reviewers: Sam Tunnicliffe, Sam Tunnicliffe  (was: Sam Tunnicliffe)
   Sam Tunnicliffe, Sam Tunnicliffe  (was: Sam Tunnicliffe)
   Status: Review In Progress  (was: Patch Available)

> Test Failure: 
> org.apache.cassandra.db.compaction.writers.CompactionAwareWriterTest.test*CompactionWriter-trie
> -
>
> Key: CASSANDRA-19091
> URL: https://issues.apache.org/jira/browse/CASSANDRA-19091
> Project: Cassandra
>  Issue Type: Bug
>  Components: Test/unit
>Reporter: Michael Semb Wever
>Assignee: Marcus Eriksson
>Priority: Normal
> Attachments: ci_summary.html, result_details.tar.gz
>
>
> Broken on unit_tries, seen in CASSANDRA-19034
> - 
> https://app.circleci.com/pipelines/github/michaelsembwever/cassandra/257/workflows/95cdc05c-56fd-43bf-95ac-1122cf01535b/jobs/20685/tests
> - 
> https://app.circleci.com/pipelines/github/michaelsembwever/cassandra/257/workflows/ddcb5f4e-e2c5-430b-b922-f7064a244971/jobs/20670/tests
> Variants of…
> {noformat}
> junit.framework.AssertionFailedError: 
> [BtiTableReader:bti(path='/tmp/cassandra/build/test/cassandra/data/cawt_keyspace/cawt_table-1b255f4def2540a60003/da-8-bti-Data.db'),
>  
> BtiTableReader:bti(path='/tmp/cassandra/build/test/cassandra/data/cawt_keyspace/cawt_table-1b255f4def2540a60003/da-7-bti-Data.db')]
>   at 
> org.apache.cassandra.db.compaction.writers.CompactionAwareWriterTest.populate(CompactionAwareWriterTest.java:276)
>   at 
> org.apache.cassandra.db.compaction.writers.CompactionAwareWriterTest.testSplittingSizeTieredCompactionWriter(CompactionAwareWriterTest.java:139)
>   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)
> {noformat}



--
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] [Updated] (CASSANDRA-19061) Test failure: org.apache.cassandra.db.CorruptPrimaryIndexTest.bigPrimaryIndexDoesNotDetectDiskCorruption

2023-11-27 Thread Sam Tunnicliffe (Jira)


 [ 
https://issues.apache.org/jira/browse/CASSANDRA-19061?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sam Tunnicliffe updated CASSANDRA-19061:

Status: Ready to Commit  (was: Review In Progress)

+1

> Test failure: 
> org.apache.cassandra.db.CorruptPrimaryIndexTest.bigPrimaryIndexDoesNotDetectDiskCorruption
> 
>
> Key: CASSANDRA-19061
> URL: https://issues.apache.org/jira/browse/CASSANDRA-19061
> Project: Cassandra
>  Issue Type: Bug
>  Components: Test/unit
>Reporter: Marcus Eriksson
>Assignee: Marcus Eriksson
>Priority: Normal
> Fix For: 5.1-alpha1
>
> Attachments: ci_summary.html, result_details.tar.gz
>
>
> Timeout, fails on both j17_utests_trie and j11_utests
> https://app.circleci.com/pipelines/github/michaelsembwever/cassandra/256/workflows/c4fda8f1-a8d6-4523-be83-5e30b9de39fe/jobs/20465/tests



--
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] [Updated] (CASSANDRA-19061) Test failure: org.apache.cassandra.db.CorruptPrimaryIndexTest.bigPrimaryIndexDoesNotDetectDiskCorruption

2023-11-27 Thread Sam Tunnicliffe (Jira)


 [ 
https://issues.apache.org/jira/browse/CASSANDRA-19061?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sam Tunnicliffe updated CASSANDRA-19061:

Reviewers: Sam Tunnicliffe, Sam Tunnicliffe  (was: Sam Tunnicliffe)
   Sam Tunnicliffe, Sam Tunnicliffe  (was: Sam Tunnicliffe)
   Status: Review In Progress  (was: Patch Available)

> Test failure: 
> org.apache.cassandra.db.CorruptPrimaryIndexTest.bigPrimaryIndexDoesNotDetectDiskCorruption
> 
>
> Key: CASSANDRA-19061
> URL: https://issues.apache.org/jira/browse/CASSANDRA-19061
> Project: Cassandra
>  Issue Type: Bug
>  Components: Test/unit
>Reporter: Marcus Eriksson
>Assignee: Marcus Eriksson
>Priority: Normal
> Fix For: 5.1-alpha1
>
> Attachments: ci_summary.html, result_details.tar.gz
>
>
> Timeout, fails on both j17_utests_trie and j11_utests
> https://app.circleci.com/pipelines/github/michaelsembwever/cassandra/256/workflows/c4fda8f1-a8d6-4523-be83-5e30b9de39fe/jobs/20465/tests



--
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] [Updated] (CASSANDRA-19060) Test failure: org.apache.cassandra.tools.JMXCompatabilityTest

2023-11-27 Thread Sam Tunnicliffe (Jira)


 [ 
https://issues.apache.org/jira/browse/CASSANDRA-19060?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sam Tunnicliffe updated CASSANDRA-19060:

Reviewers: Sam Tunnicliffe, Sam Tunnicliffe  (was: Sam Tunnicliffe)
   Sam Tunnicliffe, Sam Tunnicliffe  (was: Sam Tunnicliffe)
   Status: Review In Progress  (was: Patch Available)

> Test failure: org.apache.cassandra.tools.JMXCompatabilityTest
> -
>
> Key: CASSANDRA-19060
> URL: https://issues.apache.org/jira/browse/CASSANDRA-19060
> Project: Cassandra
>  Issue Type: Bug
>  Components: Test/unit
>Reporter: Marcus Eriksson
>Assignee: Marcus Eriksson
>Priority: Normal
> Fix For: 5.1-alpha1
>
> Attachments: ci_summary.html, result_details.tar.gz
>
>
> diff30, diff311, diff40 and diff41 failed on both j11_utests_trie and 
> j17_utests_trie. This does not repeat locally
> {code}
> junit.framework.AssertionFailedError: 
> Expecting empty but was: "Objects not in right:
> org.apache.cassandra.db:type=Caches
> org.apache.cassandra.metrics:type=Cache,scope=CounterCache,name=Capacity
> org.apache.cassandra.metrics:type=Cache,scope=CounterCache,name=Entries
> org.apache.cassandra.metrics:type=Cache,scope=CounterCache,name=FifteenMinuteHitRate
> org.apache.cassandra.metrics:type=Cache,scope=CounterCache,name=FiveMinuteHitRate
> org.apache.cassandra.metrics:type=Cache,scope=CounterCache,name=HitRate
> org.apache.cassandra.metrics:type=Cache,scope=CounterCache,name=Hits
> org.apache.cassandra.metrics:type=Cache,scope=CounterCache,name=OneMinuteHitRate
> org.apache.cassandra.metrics:type=Cache,scope=CounterCache,name=Requests
> org.apache.cassandra.metrics:type=Cache,scope=CounterCache,name=Size
> org.apache.cassandra.metrics:type=Cache,scope=KeyCache,name=Capacity
> org.apache.cassandra.metrics:type=Cache,scope=KeyCache,name=Entries
> org.apache.cassandra.metrics:type=Cache,scope=KeyCache,name=FifteenMinuteHitRate
> org.apache.cassandra.metrics:type=Cache,scope=KeyCache,name=FiveMinuteHitRate
> org.apache.cassandra.metrics:type=Cache,scope=KeyCache,name=HitRate
> org.apache.cassandra.metrics:type=Cache,scope=KeyCache,name=Hits
> org.apache.cassandra.metrics:type=Cache,scope=KeyCache,name=OneMinuteHitRate
> org.apache.cassandra.metrics:type=Cache,scope=KeyCache,name=Requests
> org.apache.cassandra.metrics:type=Cache,scope=KeyCache,name=Size
> org.apache.cassandra.metrics:type=Cache,scope=RowCache,name=Capacity
> org.apache.cassandra.metrics:type=Cache,scope=RowCache,name=Entries
> org.apache.cassandra.metrics:type=Cache,scope=RowCache,name=FifteenMinuteHitRate
> org.apache.cassandra.metrics:type=Cache,scope=RowCache,name=FiveMinuteHitRate
> org.apache.cassandra.metrics:type=Cache,scope=RowCache,name=HitRate
> org.apache.cassandra.metrics:type=Cache,scope=RowCache,name=Hits
> org.apache.cassandra.metrics:type=Cache,scope=RowCache,name=OneMinuteHitRate
> org.apache.cassandra.metrics:type=Cache,scope=RowCache,name=Requests
> org.apache.cassandra.metrics:type=Cache,scope=RowCache,name=Size
> "
>   at 
> org.apache.cassandra.tools.JMXCompatabilityTest.diff(JMXCompatabilityTest.java:273)
>   at 
> org.apache.cassandra.tools.JMXCompatabilityTest.diff30(JMXCompatabilityTest.java:139)
>   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)
> {code}
> https://app.circleci.com/pipelines/github/michaelsembwever/cassandra/256/workflows/c4fda8f1-a8d6-4523-be83-5e30b9de39fe/jobs/20465/tests



--
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] [Updated] (CASSANDRA-19060) Test failure: org.apache.cassandra.tools.JMXCompatabilityTest

2023-11-27 Thread Sam Tunnicliffe (Jira)


 [ 
https://issues.apache.org/jira/browse/CASSANDRA-19060?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sam Tunnicliffe updated CASSANDRA-19060:

Status: Ready to Commit  (was: Review In Progress)

+1

> Test failure: org.apache.cassandra.tools.JMXCompatabilityTest
> -
>
> Key: CASSANDRA-19060
> URL: https://issues.apache.org/jira/browse/CASSANDRA-19060
> Project: Cassandra
>  Issue Type: Bug
>  Components: Test/unit
>Reporter: Marcus Eriksson
>Assignee: Marcus Eriksson
>Priority: Normal
> Fix For: 5.1-alpha1
>
> Attachments: ci_summary.html, result_details.tar.gz
>
>
> diff30, diff311, diff40 and diff41 failed on both j11_utests_trie and 
> j17_utests_trie. This does not repeat locally
> {code}
> junit.framework.AssertionFailedError: 
> Expecting empty but was: "Objects not in right:
> org.apache.cassandra.db:type=Caches
> org.apache.cassandra.metrics:type=Cache,scope=CounterCache,name=Capacity
> org.apache.cassandra.metrics:type=Cache,scope=CounterCache,name=Entries
> org.apache.cassandra.metrics:type=Cache,scope=CounterCache,name=FifteenMinuteHitRate
> org.apache.cassandra.metrics:type=Cache,scope=CounterCache,name=FiveMinuteHitRate
> org.apache.cassandra.metrics:type=Cache,scope=CounterCache,name=HitRate
> org.apache.cassandra.metrics:type=Cache,scope=CounterCache,name=Hits
> org.apache.cassandra.metrics:type=Cache,scope=CounterCache,name=OneMinuteHitRate
> org.apache.cassandra.metrics:type=Cache,scope=CounterCache,name=Requests
> org.apache.cassandra.metrics:type=Cache,scope=CounterCache,name=Size
> org.apache.cassandra.metrics:type=Cache,scope=KeyCache,name=Capacity
> org.apache.cassandra.metrics:type=Cache,scope=KeyCache,name=Entries
> org.apache.cassandra.metrics:type=Cache,scope=KeyCache,name=FifteenMinuteHitRate
> org.apache.cassandra.metrics:type=Cache,scope=KeyCache,name=FiveMinuteHitRate
> org.apache.cassandra.metrics:type=Cache,scope=KeyCache,name=HitRate
> org.apache.cassandra.metrics:type=Cache,scope=KeyCache,name=Hits
> org.apache.cassandra.metrics:type=Cache,scope=KeyCache,name=OneMinuteHitRate
> org.apache.cassandra.metrics:type=Cache,scope=KeyCache,name=Requests
> org.apache.cassandra.metrics:type=Cache,scope=KeyCache,name=Size
> org.apache.cassandra.metrics:type=Cache,scope=RowCache,name=Capacity
> org.apache.cassandra.metrics:type=Cache,scope=RowCache,name=Entries
> org.apache.cassandra.metrics:type=Cache,scope=RowCache,name=FifteenMinuteHitRate
> org.apache.cassandra.metrics:type=Cache,scope=RowCache,name=FiveMinuteHitRate
> org.apache.cassandra.metrics:type=Cache,scope=RowCache,name=HitRate
> org.apache.cassandra.metrics:type=Cache,scope=RowCache,name=Hits
> org.apache.cassandra.metrics:type=Cache,scope=RowCache,name=OneMinuteHitRate
> org.apache.cassandra.metrics:type=Cache,scope=RowCache,name=Requests
> org.apache.cassandra.metrics:type=Cache,scope=RowCache,name=Size
> "
>   at 
> org.apache.cassandra.tools.JMXCompatabilityTest.diff(JMXCompatabilityTest.java:273)
>   at 
> org.apache.cassandra.tools.JMXCompatabilityTest.diff30(JMXCompatabilityTest.java:139)
>   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)
> {code}
> https://app.circleci.com/pipelines/github/michaelsembwever/cassandra/256/workflows/c4fda8f1-a8d6-4523-be83-5e30b9de39fe/jobs/20465/tests



--
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] [Updated] (CASSANDRA-19059) Test failure: org.apache.cassandra.db.RepairedDataInfoTest

2023-11-27 Thread Sam Tunnicliffe (Jira)


 [ 
https://issues.apache.org/jira/browse/CASSANDRA-19059?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sam Tunnicliffe updated CASSANDRA-19059:

Reviewers: Sam Tunnicliffe, Sam Tunnicliffe  (was: Sam Tunnicliffe)
   Sam Tunnicliffe, Sam Tunnicliffe  (was: Sam Tunnicliffe)
   Status: Review In Progress  (was: Patch Available)

> Test failure: org.apache.cassandra.db.RepairedDataInfoTest
> --
>
> Key: CASSANDRA-19059
> URL: https://issues.apache.org/jira/browse/CASSANDRA-19059
> Project: Cassandra
>  Issue Type: Bug
>  Components: Test/unit
>Reporter: Marcus Eriksson
>Assignee: Marcus Eriksson
>Priority: Normal
> Fix For: 5.1-alpha1
>
> Attachments: ci_summary.html, result_details.tar.gz
>
>
> {code}
> FSWriteError in build/test/cassandra/data/system
>   at 
> org.apache.cassandra.io.util.PathUtils.propagateUnchecked(PathUtils.java:862)
>   at 
> org.apache.cassandra.io.util.PathUtils.propagateUnchecked(PathUtils.java:845)
>   at 
> org.apache.cassandra.io.util.PathUtils.deleteRecursiveUsingNixCommand(PathUtils.java:384)
>   at 
> org.apache.cassandra.io.util.PathUtils.deleteRecursive(PathUtils.java:402)
>   at org.apache.cassandra.io.util.File.deleteRecursive(File.java:225)
>   at 
> org.apache.cassandra.io.util.FileUtils.deleteRecursive(FileUtils.java:678)
>   at org.apache.cassandra.schema.MockSchema.cleanup(MockSchema.java:377)
>   at 
> org.apache.cassandra.db.RepairedDataInfoTest.setUp(RepairedDataInfoTest.java:72)
>   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.io.IOException: [rm, -rd, 
> /tmp/cassandra/build/test/cassandra/data/system] returned non-zero exit code: 
> 1
> stdout:
> {code}
> https://app.circleci.com/pipelines/github/michaelsembwever/cassandra/256/workflows/c4fda8f1-a8d6-4523-be83-5e30b9de39fe/jobs/20450/tests



--
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] [Updated] (CASSANDRA-19059) Test failure: org.apache.cassandra.db.RepairedDataInfoTest

2023-11-27 Thread Sam Tunnicliffe (Jira)


 [ 
https://issues.apache.org/jira/browse/CASSANDRA-19059?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sam Tunnicliffe updated CASSANDRA-19059:

Status: Ready to Commit  (was: Review In Progress)

+1

> Test failure: org.apache.cassandra.db.RepairedDataInfoTest
> --
>
> Key: CASSANDRA-19059
> URL: https://issues.apache.org/jira/browse/CASSANDRA-19059
> Project: Cassandra
>  Issue Type: Bug
>  Components: Test/unit
>Reporter: Marcus Eriksson
>Assignee: Marcus Eriksson
>Priority: Normal
> Fix For: 5.1-alpha1
>
> Attachments: ci_summary.html, result_details.tar.gz
>
>
> {code}
> FSWriteError in build/test/cassandra/data/system
>   at 
> org.apache.cassandra.io.util.PathUtils.propagateUnchecked(PathUtils.java:862)
>   at 
> org.apache.cassandra.io.util.PathUtils.propagateUnchecked(PathUtils.java:845)
>   at 
> org.apache.cassandra.io.util.PathUtils.deleteRecursiveUsingNixCommand(PathUtils.java:384)
>   at 
> org.apache.cassandra.io.util.PathUtils.deleteRecursive(PathUtils.java:402)
>   at org.apache.cassandra.io.util.File.deleteRecursive(File.java:225)
>   at 
> org.apache.cassandra.io.util.FileUtils.deleteRecursive(FileUtils.java:678)
>   at org.apache.cassandra.schema.MockSchema.cleanup(MockSchema.java:377)
>   at 
> org.apache.cassandra.db.RepairedDataInfoTest.setUp(RepairedDataInfoTest.java:72)
>   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.io.IOException: [rm, -rd, 
> /tmp/cassandra/build/test/cassandra/data/system] returned non-zero exit code: 
> 1
> stdout:
> {code}
> https://app.circleci.com/pipelines/github/michaelsembwever/cassandra/256/workflows/c4fda8f1-a8d6-4523-be83-5e30b9de39fe/jobs/20450/tests



--
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-18330) Delivery of CEP-21: Transactional Cluster Metadata

2023-11-27 Thread Sam Tunnicliffe (Jira)


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

Sam Tunnicliffe commented on CASSANDRA-18330:
-

Attached CI summary and result details for {{cep-21-tcm}}

> Delivery of CEP-21: Transactional Cluster Metadata
> --
>
> Key: CASSANDRA-18330
> URL: https://issues.apache.org/jira/browse/CASSANDRA-18330
> Project: Cassandra
>  Issue Type: Epic
>  Components: Cluster/Membership, Cluster/Schema
>Reporter: Sam Tunnicliffe
>Assignee: Sam Tunnicliffe
>Priority: Normal
> Fix For: 5.x
>
> Attachments: ci_summary.html, result_details.tar.gz
>
>




--
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] [Updated] (CASSANDRA-18330) Delivery of CEP-21: Transactional Cluster Metadata

2023-11-27 Thread Sam Tunnicliffe (Jira)


 [ 
https://issues.apache.org/jira/browse/CASSANDRA-18330?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sam Tunnicliffe updated CASSANDRA-18330:

Attachment: ci_summary.html
result_details.tar.gz

> Delivery of CEP-21: Transactional Cluster Metadata
> --
>
> Key: CASSANDRA-18330
> URL: https://issues.apache.org/jira/browse/CASSANDRA-18330
> Project: Cassandra
>  Issue Type: Epic
>  Components: Cluster/Membership, Cluster/Schema
>Reporter: Sam Tunnicliffe
>Assignee: Sam Tunnicliffe
>Priority: Normal
> Fix For: 5.x
>
> Attachments: ci_summary.html, result_details.tar.gz
>
>




--
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] [Updated] (CASSANDRA-19067) Test failure: j11_dtests_large.replace_address_test.TestReplaceAddress

2023-11-27 Thread Sam Tunnicliffe (Jira)


 [ 
https://issues.apache.org/jira/browse/CASSANDRA-19067?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sam Tunnicliffe updated CASSANDRA-19067:

Description: 
CircleCI failure: 
https://app.circleci.com/pipelines/github/michaelsembwever/cassandra/256/workflows/c4fda8f1-a8d6-4523-be83-5e30b9de39fe/jobs/20466/tests


{code}
assert 0 == 1
 +  where 0 = len(set())
self = 

@pytest.mark.resource_intensive
def test_replace_first_boot(self):
>   self._test_replace_node(jvm_option='replace_address_first_boot')

replace_address_test.py:281: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
replace_address_test.py:300: in _test_replace_node
previous_log_size = self._verify_tokens_migrated_successfully()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = 
previous_log_size = None

def _verify_tokens_migrated_successfully(self, previous_log_size=None):
if not self.dtest_config.use_vnodes:
num_tokens = 1
else:
# a little hacky but grep_log returns the whole line...
num_tokens = 
int(self.replacement_node.get_conf_option('num_tokens'))

logger.debug("Verifying {} tokens migrated 
successfully".format(num_tokens))
replmnt_address = 
self.replacement_node.address_for_current_version_slashy()
repled_address = self.replaced_node.address_for_current_version_slashy()
token_ownership_log = r"Token (.*?) changing ownership from {} to 
{}".format(repled_address,

 replmnt_address)
logs = self.replacement_node.grep_log(token_ownership_log)

if (previous_log_size is not None):
assert len(logs) == previous_log_size

moved_tokens = set([l[1].group(1) for l in logs])
logger.debug("number of moved tokens: {}".format(len(moved_tokens)))
>   assert len(moved_tokens) == num_tokens
E   assert 0 == 1
E+  where 0 = len(set())

replace_address_test.py:207: AssertionError
{code}

  was:
CircleCI failure: 
https://app.circleci.com/pipelines/github/michaelsembwever/cassandra/256/workflows/c4fda8f1-a8d6-4523-be83-5e30b9de39fe/jobs/20466/tests

```
assert 0 == 1
 +  where 0 = len(set())
self = 

@pytest.mark.resource_intensive
def test_replace_first_boot(self):
>   self._test_replace_node(jvm_option='replace_address_first_boot')

replace_address_test.py:281: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
replace_address_test.py:300: in _test_replace_node
previous_log_size = self._verify_tokens_migrated_successfully()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = 
previous_log_size = None

def _verify_tokens_migrated_successfully(self, previous_log_size=None):
if not self.dtest_config.use_vnodes:
num_tokens = 1
else:
# a little hacky but grep_log returns the whole line...
num_tokens = 
int(self.replacement_node.get_conf_option('num_tokens'))

logger.debug("Verifying {} tokens migrated 
successfully".format(num_tokens))
replmnt_address = 
self.replacement_node.address_for_current_version_slashy()
repled_address = self.replaced_node.address_for_current_version_slashy()
token_ownership_log = r"Token (.*?) changing ownership from {} to 
{}".format(repled_address,

 replmnt_address)
logs = self.replacement_node.grep_log(token_ownership_log)

if (previous_log_size is not None):
assert len(logs) == previous_log_size

moved_tokens = set([l[1].group(1) for l in logs])
logger.debug("number of moved tokens: {}".format(len(moved_tokens)))
>   assert len(moved_tokens) == num_tokens
E   assert 0 == 1
E+  where 0 = len(set())

replace_address_test.py:207: AssertionError
```


> Test failure: j11_dtests_large.replace_address_test.TestReplaceAddress
> --
>
> Key: CASSANDRA-19067
> URL: https://issues.apache.org/jira/browse/CASSANDRA-19067
> Project: Cassandra
>  Issue Type: Bug
>  Components: Test/dtest/java
>Reporter: Alex Petrov
>Assignee: Sam Tunnicliffe
>Priority: Normal
> Fix For: 5.1-alpha1
>
>
> CircleCI failure: 
> https://app.circleci.com/pipelines/github/michaelsembwever/cassandra/256/workflows/c4fda8f1-a8d6-4523-be83-5e30b9de39fe/jobs/20466/tests
> {code}
> assert 0 == 1
>  +  where 0 = len(set())
> self = 
> @pytest.mark.resource_intensive
> def test_replace_first_boot(self):
> >   

[jira] [Updated] (CASSANDRA-19067) Test failure: j11_dtests_large.replace_address_test.TestReplaceAddress

2023-11-27 Thread Sam Tunnicliffe (Jira)


 [ 
https://issues.apache.org/jira/browse/CASSANDRA-19067?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sam Tunnicliffe updated CASSANDRA-19067:

 Bug Category: Parent values: Correctness(12982)Level 1 values: Test 
Failure(12990)
   Complexity: Normal
  Component/s: Test/dtest/java
Discovered By: DTest
Fix Version/s: 5.1-alpha1
 Severity: Normal
 Assignee: Sam Tunnicliffe
   Status: Open  (was: Triage Needed)

> Test failure: j11_dtests_large.replace_address_test.TestReplaceAddress
> --
>
> Key: CASSANDRA-19067
> URL: https://issues.apache.org/jira/browse/CASSANDRA-19067
> Project: Cassandra
>  Issue Type: Bug
>  Components: Test/dtest/java
>Reporter: Alex Petrov
>Assignee: Sam Tunnicliffe
>Priority: Normal
> Fix For: 5.1-alpha1
>
>
> CircleCI failure: 
> https://app.circleci.com/pipelines/github/michaelsembwever/cassandra/256/workflows/c4fda8f1-a8d6-4523-be83-5e30b9de39fe/jobs/20466/tests
> ```
> assert 0 == 1
>  +  where 0 = len(set())
> self = 
> @pytest.mark.resource_intensive
> def test_replace_first_boot(self):
> >   self._test_replace_node(jvm_option='replace_address_first_boot')
> replace_address_test.py:281: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> replace_address_test.py:300: in _test_replace_node
> previous_log_size = self._verify_tokens_migrated_successfully()
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> self = 
> previous_log_size = None
> def _verify_tokens_migrated_successfully(self, previous_log_size=None):
> if not self.dtest_config.use_vnodes:
> num_tokens = 1
> else:
> # a little hacky but grep_log returns the whole line...
> num_tokens = 
> int(self.replacement_node.get_conf_option('num_tokens'))
> 
> logger.debug("Verifying {} tokens migrated 
> successfully".format(num_tokens))
> replmnt_address = 
> self.replacement_node.address_for_current_version_slashy()
> repled_address = 
> self.replaced_node.address_for_current_version_slashy()
> token_ownership_log = r"Token (.*?) changing ownership from {} to 
> {}".format(repled_address,
>   
>replmnt_address)
> logs = self.replacement_node.grep_log(token_ownership_log)
> 
> if (previous_log_size is not None):
> assert len(logs) == previous_log_size
> 
> moved_tokens = set([l[1].group(1) for l in logs])
> logger.debug("number of moved tokens: {}".format(len(moved_tokens)))
> >   assert len(moved_tokens) == num_tokens
> E   assert 0 == 1
> E+  where 0 = len(set())
> replace_address_test.py:207: AssertionError
> ```



--
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] [Updated] (CASSANDRA-19088) Test Failure: pushed_notifications_test.TestPushedNotifications.test_move_single_node

2023-11-27 Thread Sam Tunnicliffe (Jira)


 [ 
https://issues.apache.org/jira/browse/CASSANDRA-19088?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sam Tunnicliffe updated CASSANDRA-19088:

 Bug Category: Parent values: Correctness(12982)Level 1 values: Test 
Failure(12990)
   Complexity: Normal
  Component/s: Test/dtest/python
Discovered By: DTest
Fix Version/s: 5.1-alpha1
 Severity: Normal
   Status: Open  (was: Triage Needed)

> Test Failure: 
> pushed_notifications_test.TestPushedNotifications.test_move_single_node
> -
>
> Key: CASSANDRA-19088
> URL: https://issues.apache.org/jira/browse/CASSANDRA-19088
> Project: Cassandra
>  Issue Type: Bug
>  Components: Test/dtest/python
>Reporter: Michael Semb Wever
>Assignee: Sam Tunnicliffe
>Priority: Normal
> Fix For: 5.1-alpha1
>
>
> In j11_dtests from CASSANDRA-19034
> https://app.circleci.com/pipelines/github/mike-tr-adamson/cassandra/402/workflows/92aacb84-fd3a-48e0-9fb2-d1e2fe6fc71a/jobs/35345/tests
> {noformat}
> AssertionError: assert 'MOVED_NODE' == 'NEW_NODE'
>   - NEW_NODE
>   + MOVED_NODE
> self =  0x7fd28ee838d0>
> @pytest.mark.no_vnodes
> def test_move_single_node(self):
> """
> @jira_ticket CASSANDRA-8516
> Moving a token should result in MOVED_NODE notifications.
> """
> self.cluster.populate(3).start()
> 
> waiters = [NotificationWaiter(self, node, ["TOPOLOGY_CHANGE"])
>for node in list(self.cluster.nodes.values())]
> 
> # The first node sends NEW_NODE for the other 2 nodes during startup, 
> in case they are
> # late due to network delays let's block a bit longer
> logger.debug("Waiting for unwanted notifications")
> waiters[0].wait_for_notifications(timeout=30, num_notifications=2)
> waiters[0].clear_notifications()
> 
> logger.debug("Issuing move command")
> node1 = list(self.cluster.nodes.values())[0]
> node1.move("123")
> 
> for waiter in waiters:
> logger.debug("Waiting for notification from 
> {}".format(waiter.address,))
> notifications = waiter.wait_for_notifications(60.0)
> assert 1 == len(notifications), notifications
> notification = notifications[0]
> change_type = notification["change_type"]
> address, port = notification["address"]
> >   assert "MOVED_NODE" == change_type
> E   AssertionError: assert 'MOVED_NODE' == 'NEW_NODE'
> E - NEW_NODE
> E + MOVED_NODE
> pushed_notifications_test.py:118: AssertionError
> {noformat}



--
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] [Assigned] (CASSANDRA-19088) Test Failure: pushed_notifications_test.TestPushedNotifications.test_move_single_node

2023-11-27 Thread Sam Tunnicliffe (Jira)


 [ 
https://issues.apache.org/jira/browse/CASSANDRA-19088?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sam Tunnicliffe reassigned CASSANDRA-19088:
---

Assignee: Sam Tunnicliffe

> Test Failure: 
> pushed_notifications_test.TestPushedNotifications.test_move_single_node
> -
>
> Key: CASSANDRA-19088
> URL: https://issues.apache.org/jira/browse/CASSANDRA-19088
> Project: Cassandra
>  Issue Type: Bug
>Reporter: Michael Semb Wever
>Assignee: Sam Tunnicliffe
>Priority: Normal
>
> In j11_dtests from CASSANDRA-19034
> https://app.circleci.com/pipelines/github/mike-tr-adamson/cassandra/402/workflows/92aacb84-fd3a-48e0-9fb2-d1e2fe6fc71a/jobs/35345/tests
> {noformat}
> AssertionError: assert 'MOVED_NODE' == 'NEW_NODE'
>   - NEW_NODE
>   + MOVED_NODE
> self =  0x7fd28ee838d0>
> @pytest.mark.no_vnodes
> def test_move_single_node(self):
> """
> @jira_ticket CASSANDRA-8516
> Moving a token should result in MOVED_NODE notifications.
> """
> self.cluster.populate(3).start()
> 
> waiters = [NotificationWaiter(self, node, ["TOPOLOGY_CHANGE"])
>for node in list(self.cluster.nodes.values())]
> 
> # The first node sends NEW_NODE for the other 2 nodes during startup, 
> in case they are
> # late due to network delays let's block a bit longer
> logger.debug("Waiting for unwanted notifications")
> waiters[0].wait_for_notifications(timeout=30, num_notifications=2)
> waiters[0].clear_notifications()
> 
> logger.debug("Issuing move command")
> node1 = list(self.cluster.nodes.values())[0]
> node1.move("123")
> 
> for waiter in waiters:
> logger.debug("Waiting for notification from 
> {}".format(waiter.address,))
> notifications = waiter.wait_for_notifications(60.0)
> assert 1 == len(notifications), notifications
> notification = notifications[0]
> change_type = notification["change_type"]
> address, port = notification["address"]
> >   assert "MOVED_NODE" == change_type
> E   AssertionError: assert 'MOVED_NODE' == 'NEW_NODE'
> E - NEW_NODE
> E + MOVED_NODE
> pushed_notifications_test.py:118: AssertionError
> {noformat}



--
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] [Updated] (CASSANDRA-19099) Test Failure: 5.0 dtest-upgrade failing bc nodetool initiatlizecms

2023-11-27 Thread Sam Tunnicliffe (Jira)


 [ 
https://issues.apache.org/jira/browse/CASSANDRA-19099?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sam Tunnicliffe updated CASSANDRA-19099:

Status: Ready to Commit  (was: Review In Progress)

+1

> Test Failure: 5.0 dtest-upgrade failing bc nodetool initiatlizecms
> --
>
> Key: CASSANDRA-19099
> URL: https://issues.apache.org/jira/browse/CASSANDRA-19099
> Project: Cassandra
>  Issue Type: Bug
>  Components: Test/dtest/python
>Reporter: Michael Semb Wever
>Assignee: Michael Semb Wever
>Priority: Normal
> Fix For: 5.0-rc
>
>
> This commit 
> [cassandra-dtest@c0082c9|https://github.com/apache/cassandra-dtest/commit/c0082c9d0b2ded7da93942dfbfc7c87c896d53e0]
>  is not entirely working.  Python upgrade dtests are still failing, see this 
> run on clean  cassandra-5.0
> https://app.circleci.com/pipelines/github/michaelsembwever/cassandra/261/workflows/6a15688e-b110-4ede-977c-550b85306867/jobs/21417/tests
>  
> EDIT: also now visible on post-commit ci: 
> https://ci-cassandra.apache.org/job/Cassandra-5.0/119/ 



--
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] [Updated] (CASSANDRA-19099) Test Failure: 5.0 dtest-upgrade failing bc nodetool initiatlizecms

2023-11-27 Thread Sam Tunnicliffe (Jira)


 [ 
https://issues.apache.org/jira/browse/CASSANDRA-19099?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sam Tunnicliffe updated CASSANDRA-19099:

Reviewers: Sam Tunnicliffe, Sam Tunnicliffe
   Sam Tunnicliffe, Sam Tunnicliffe  (was: Sam Tunnicliffe)
   Status: Review In Progress  (was: Patch Available)

> Test Failure: 5.0 dtest-upgrade failing bc nodetool initiatlizecms
> --
>
> Key: CASSANDRA-19099
> URL: https://issues.apache.org/jira/browse/CASSANDRA-19099
> Project: Cassandra
>  Issue Type: Bug
>  Components: Test/dtest/python
>Reporter: Michael Semb Wever
>Assignee: Michael Semb Wever
>Priority: Normal
> Fix For: 5.0-rc
>
>
> This commit 
> [cassandra-dtest@c0082c9|https://github.com/apache/cassandra-dtest/commit/c0082c9d0b2ded7da93942dfbfc7c87c896d53e0]
>  is not entirely working.  Python upgrade dtests are still failing, see this 
> run on clean  cassandra-5.0
> https://app.circleci.com/pipelines/github/michaelsembwever/cassandra/261/workflows/6a15688e-b110-4ede-977c-550b85306867/jobs/21417/tests
>  
> EDIT: also now visible on post-commit ci: 
> https://ci-cassandra.apache.org/job/Cassandra-5.0/119/ 



--
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] [Updated] (CASSANDRA-19092) Test Failure: cql_tracing_test.TestCqlTracing.test_tracing_simple

2023-11-27 Thread Sam Tunnicliffe (Jira)


 [ 
https://issues.apache.org/jira/browse/CASSANDRA-19092?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sam Tunnicliffe updated CASSANDRA-19092:

 Bug Category: Parent values: Code(13163)Level 1 values: Bug - Unclear 
Impact(13164)
   Complexity: Normal
  Component/s: Test/dtest/python
Discovered By: DTest
 Severity: Normal
 Assignee: Sam Tunnicliffe
   Status: Open  (was: Triage Needed)

> Test Failure: cql_tracing_test.TestCqlTracing.test_tracing_simple
> -
>
> Key: CASSANDRA-19092
> URL: https://issues.apache.org/jira/browse/CASSANDRA-19092
> Project: Cassandra
>  Issue Type: Bug
>  Components: Test/dtest/python
>Reporter: Michael Semb Wever
>Assignee: Sam Tunnicliffe
>Priority: Normal
>
> Seen in cqlsh_dtests in CASSANDRA-19034
> https://app.circleci.com/pipelines/github/michaelsembwever/cassandra/257/workflows/ddcb5f4e-e2c5-430b-b922-f7064a244971/jobs/20648/tests
> {noformat}failed on teardown with "Failed: Unexpected error found in node 
> logs (see stdout for full details). Errors: [[node3] 'ERROR [main] 2023-11-24 
> 19:02:04,201 FailureDetector.java:309 - Unknown endpoint: /127.0.0.1:7000
> java.lang.IllegalArgumentException: Unknown endpoint: /127.0.0.1:7000
> at 
> org.apache.cassandra.gms.FailureDetector.isAlive(FailureDetector.java:309)
> at 
> org.apache.cassandra.tcm.RemoteProcessor$CandidateIterator.computeNext(RemoteProcessor.java:326)
> at 
> org.apache.cassandra.tcm.RemoteProcessor$CandidateIterator.computeNext(RemoteProcessor.java:256)
> at 
> org.apache.cassandra.utils.AbstractIterator.hasNext(AbstractIterator.java:47)
> at 
> org.apache.cassandra.tcm.RemoteProcessor$1Request.retry(RemoteProcessor.java:187)
> at 
> org.apache.cassandra.tcm.RemoteProcessor.sendWithCallbackAsync(RemoteProcessor.java:223)
> at 
> org.apache.cassandra.tcm.RemoteProcessor.sendWithCallback(RemoteProcessor.java:170)
> at 
> org.apache.cassandra.tcm.RemoteProcessor.commit(RemoteProcessor.java:76)
> at 
> org.apache.cassandra.tcm.ClusterMetadataService$SwitchableProcessor.commit(ClusterMetadataService.java:837)
> at org.apache.cassandra.tcm.Processor.commit(Processor.java:45)
> at 
> org.apache.cassandra.tcm.ClusterMetadataService.commit(ClusterMetadataService.java:502)
> at 
> org.apache.cassandra.tcm.ClusterMetadataService.commit(ClusterMetadataService.java:467)
> at 
> org.apache.cassandra.tcm.transformations.Register.register(Register.java:112)
> at 
> org.apache.cassandra.tcm.transformations.Register.register(Register.java:95)
> at 
> org.apache.cassandra.tcm.transformations.Register.register(Register.java:132)
> at 
> org.apache.cassandra.tcm.transformations.Register.maybeRegister(Register.java:89)
> at 
> org.apache.cassandra.service.StorageService.initServer(StorageService.java:807)
> at 
> org.apache.cassandra.service.CassandraDaemon.setup(CassandraDaemon.java:367)
> at 
> org.apache.cassandra.service.CassandraDaemon.activate(CassandraDaemon.java:728)
> at 
> org.apache.cassandra.service.CassandraDaemon.main(CassandraDaemon.java:879)']"
> {noformat}



--
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] [Updated] (CASSANDRA-19083) Remove dependency on bundled Harry jar

2023-11-24 Thread Sam Tunnicliffe (Jira)


 [ 
https://issues.apache.org/jira/browse/CASSANDRA-19083?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sam Tunnicliffe updated CASSANDRA-19083:

Change Category: Quality Assurance
 Complexity: Normal
  Fix Version/s: 5.1-alpha1
 Status: Open  (was: Triage Needed)

> Remove dependency on bundled Harry jar
> --
>
> Key: CASSANDRA-19083
> URL: https://issues.apache.org/jira/browse/CASSANDRA-19083
> Project: Cassandra
>  Issue Type: Task
>  Components: Test/unit
>Reporter: Sam Tunnicliffe
>Priority: Normal
> Fix For: 5.1-alpha1
>
>
> For expediency, we temporarily added a snapshot jar to the source tree, 
> {{lib/harry-core-0.0.2-CASSANDRA-18768.jar}}. We should remove this as soon 
> as the next Harry release is published.



--
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] [Created] (CASSANDRA-19083) Remove dependency on bundled Harry jar

2023-11-24 Thread Sam Tunnicliffe (Jira)
Sam Tunnicliffe created CASSANDRA-19083:
---

 Summary: Remove dependency on bundled Harry jar
 Key: CASSANDRA-19083
 URL: https://issues.apache.org/jira/browse/CASSANDRA-19083
 Project: Cassandra
  Issue Type: Task
  Components: Test/unit
Reporter: Sam Tunnicliffe


For expediency, we temporarily added a snapshot jar to the source tree, 
{{lib/harry-core-0.0.2-CASSANDRA-18768.jar}}. We should remove this as soon as 
the next Harry release is published.



--
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] [Updated] (CASSANDRA-19055) Follow up tasks post CEP-21

2023-11-24 Thread Sam Tunnicliffe (Jira)


 [ 
https://issues.apache.org/jira/browse/CASSANDRA-19055?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sam Tunnicliffe updated CASSANDRA-19055:

Epic Name: CEP-21: Follow Up  (was: CEP-21 Follow Up)

> Follow up tasks post CEP-21
> ---
>
> Key: CASSANDRA-19055
> URL: https://issues.apache.org/jira/browse/CASSANDRA-19055
> Project: Cassandra
>  Issue Type: Epic
>  Components: Transactional Cluster Metadata
>Reporter: Sam Tunnicliffe
>Assignee: Sam Tunnicliffe
>Priority: Normal
> Fix For: 5.1-alpha1
>
>
> TODOs following the merge of CEP-21 in CASSANDRA-18330



--
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] [Updated] (CASSANDRA-18330) Delivery of CEP-21: Transactional Cluster Metadata

2023-11-24 Thread Sam Tunnicliffe (Jira)


 [ 
https://issues.apache.org/jira/browse/CASSANDRA-18330?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sam Tunnicliffe updated CASSANDRA-18330:

  Fix Version/s: 5.x
Source Control Link: 
https://github.com/apache/cassandra/commit/ae0842372ff6dd1437d026f82968a3749f555ff4
 Resolution: Fixed
 Status: Resolved  (was: Ready to Commit)

> Delivery of CEP-21: Transactional Cluster Metadata
> --
>
> Key: CASSANDRA-18330
> URL: https://issues.apache.org/jira/browse/CASSANDRA-18330
> Project: Cassandra
>  Issue Type: Epic
>  Components: Cluster/Membership, Cluster/Schema
>Reporter: Sam Tunnicliffe
>Assignee: Sam Tunnicliffe
>Priority: Normal
> Fix For: 5.x
>
>




--
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] [Updated] (CASSANDRA-18330) Delivery of CEP-21: Transactional Cluster Metadata

2023-11-24 Thread Sam Tunnicliffe (Jira)


 [ 
https://issues.apache.org/jira/browse/CASSANDRA-18330?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sam Tunnicliffe updated CASSANDRA-18330:

Status: Ready to Commit  (was: Review In Progress)

> Delivery of CEP-21: Transactional Cluster Metadata
> --
>
> Key: CASSANDRA-18330
> URL: https://issues.apache.org/jira/browse/CASSANDRA-18330
> Project: Cassandra
>  Issue Type: Epic
>  Components: Cluster/Membership, Cluster/Schema
>Reporter: Sam Tunnicliffe
>Assignee: Sam Tunnicliffe
>Priority: Normal
>




--
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] [Updated] (CASSANDRA-18330) Delivery of CEP-21: Transactional Cluster Metadata

2023-11-24 Thread Sam Tunnicliffe (Jira)


 [ 
https://issues.apache.org/jira/browse/CASSANDRA-18330?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sam Tunnicliffe updated CASSANDRA-18330:

Reviewers: Alex Petrov, Marcus Eriksson, Sam Tunnicliffe
   Status: Review In Progress  (was: Patch Available)

> Delivery of CEP-21: Transactional Cluster Metadata
> --
>
> Key: CASSANDRA-18330
> URL: https://issues.apache.org/jira/browse/CASSANDRA-18330
> Project: Cassandra
>  Issue Type: Epic
>  Components: Cluster/Membership, Cluster/Schema
>Reporter: Sam Tunnicliffe
>Assignee: Sam Tunnicliffe
>Priority: Normal
>




--
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] [Updated] (CASSANDRA-18330) Delivery of CEP-21: Transactional Cluster Metadata

2023-11-24 Thread Sam Tunnicliffe (Jira)


 [ 
https://issues.apache.org/jira/browse/CASSANDRA-18330?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sam Tunnicliffe updated CASSANDRA-18330:

Test and Documentation Plan: 
New and existing tests added & run in CI, with JIRAs filed for failures.

Interim documentation in-tree (TransactionalClusterMetadata.md / 
TCM_implementation.md)
JIRA filed to follow up with full user documentation.

 Status: Patch Available  (was: In Progress)

> Delivery of CEP-21: Transactional Cluster Metadata
> --
>
> Key: CASSANDRA-18330
> URL: https://issues.apache.org/jira/browse/CASSANDRA-18330
> Project: Cassandra
>  Issue Type: Epic
>  Components: Cluster/Membership, Cluster/Schema
>Reporter: Sam Tunnicliffe
>Assignee: Sam Tunnicliffe
>Priority: Normal
>




--
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] [Created] (CASSANDRA-19080) User documentation for CEP-21

2023-11-24 Thread Sam Tunnicliffe (Jira)
Sam Tunnicliffe created CASSANDRA-19080:
---

 Summary: User documentation for CEP-21
 Key: CASSANDRA-19080
 URL: https://issues.apache.org/jira/browse/CASSANDRA-19080
 Project: Cassandra
  Issue Type: Task
  Components: Documentation, Transactional Cluster Metadata
Reporter: Sam Tunnicliffe


The initial implementation contains some minimal docs in-tree 
(TransactionalClusterMetadata.md & TCM_implementation.md).

The CEP doc can be found at 
[https://cwiki.apache.org/confluence/display/CASSANDRA/CEP-21%3A+Transactional+Cluster+Metadata]



--
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-18330) Delivery of CEP-21: Transactional Cluster Metadata

2023-11-24 Thread Sam Tunnicliffe (Jira)


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

Sam Tunnicliffe commented on CASSANDRA-18330:
-

Squashed and rebased at 
[1c5c548e|https://github.com/apache/cassandra/commit/1c5c548e753e010d72881b44f20627421420b61c]

> Delivery of CEP-21: Transactional Cluster Metadata
> --
>
> Key: CASSANDRA-18330
> URL: https://issues.apache.org/jira/browse/CASSANDRA-18330
> Project: Cassandra
>  Issue Type: Epic
>  Components: Cluster/Membership, Cluster/Schema
>Reporter: Sam Tunnicliffe
>Assignee: Sam Tunnicliffe
>Priority: Normal
>




--
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] [Updated] (CASSANDRA-18961) Record commit timestamp - fix data loss when dropping and recreating a column

2023-11-24 Thread Sam Tunnicliffe (Jira)


 [ 
https://issues.apache.org/jira/browse/CASSANDRA-18961?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sam Tunnicliffe updated CASSANDRA-18961:

Reviewers: Sam Tunnicliffe, Sam Tunnicliffe
   Sam Tunnicliffe, Sam Tunnicliffe  (was: Sam Tunnicliffe)
   Status: Review In Progress  (was: Patch Available)

> Record commit timestamp - fix data loss when dropping and recreating a column
> -
>
> Key: CASSANDRA-18961
> URL: https://issues.apache.org/jira/browse/CASSANDRA-18961
> Project: Cassandra
>  Issue Type: Bug
>  Components: Transactional Cluster Metadata
>Reporter: Jacek Lewandowski
>Assignee: Jacek Lewandowski
>Priority: Normal
>
> Drop column transformation is replayed with the current timestamp so the 
> column appears to be dropped when the node starts regardless of its real drop 
> time.
> As a solution to this problem I propose recording the timestamp of the 
> transformation, guaranteeing that it is always greater than a timestamp of 
> any previously committed transformation. Such timestamp is passed to the 
> execute method of the transformation so that the transformation code can make 
> use of it, increasing its "purity".



--
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] [Updated] (CASSANDRA-18961) Record commit timestamp - fix data loss when dropping and recreating a column

2023-11-24 Thread Sam Tunnicliffe (Jira)


 [ 
https://issues.apache.org/jira/browse/CASSANDRA-18961?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sam Tunnicliffe updated CASSANDRA-18961:

Epic Link: CASSANDRA-19055  (was: CASSANDRA-18330)

> Record commit timestamp - fix data loss when dropping and recreating a column
> -
>
> Key: CASSANDRA-18961
> URL: https://issues.apache.org/jira/browse/CASSANDRA-18961
> Project: Cassandra
>  Issue Type: Bug
>  Components: Transactional Cluster Metadata
>Reporter: Jacek Lewandowski
>Assignee: Jacek Lewandowski
>Priority: Normal
>
> Drop column transformation is replayed with the current timestamp so the 
> column appears to be dropped when the node starts regardless of its real drop 
> time.
> As a solution to this problem I propose recording the timestamp of the 
> transformation, guaranteeing that it is always greater than a timestamp of 
> any previously committed transformation. Such timestamp is passed to the 
> execute method of the transformation so that the transformation code can make 
> use of it, increasing its "purity".



--
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] [Updated] (CASSANDRA-18330) Delivery of CEP-21: Transactional Cluster Metadata

2023-11-24 Thread Sam Tunnicliffe (Jira)


 [ 
https://issues.apache.org/jira/browse/CASSANDRA-18330?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sam Tunnicliffe updated CASSANDRA-18330:

Authors: Alex Petrov, Marcus Eriksson, Sam Tunnicliffe  (was: Sam 
Tunnicliffe)

> Delivery of CEP-21: Transactional Cluster Metadata
> --
>
> Key: CASSANDRA-18330
> URL: https://issues.apache.org/jira/browse/CASSANDRA-18330
> Project: Cassandra
>  Issue Type: Epic
>  Components: Cluster/Membership, Cluster/Schema
>Reporter: Sam Tunnicliffe
>Assignee: Sam Tunnicliffe
>Priority: Normal
>




--
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] [Updated] (CASSANDRA-18953) Refactor TCM configuration

2023-11-24 Thread Sam Tunnicliffe (Jira)


 [ 
https://issues.apache.org/jira/browse/CASSANDRA-18953?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sam Tunnicliffe updated CASSANDRA-18953:

Epic Link: CASSANDRA-19055  (was: CASSANDRA-18330)

> Refactor TCM configuration
> --
>
> Key: CASSANDRA-18953
> URL: https://issues.apache.org/jira/browse/CASSANDRA-18953
> Project: Cassandra
>  Issue Type: Improvement
>  Components: Local/Config
>Reporter: Jacek Lewandowski
>Assignee: Jacek Lewandowski
>Priority: Normal
>
> Refactor TCM configuration so that:
> - yaml has all TCM based options under a common "cms" root
> - system properties related to TCM all starts with "cms."



--
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] [Updated] (CASSANDRA-18954) Transformations should be pure so that replaying them results in the same outcome regardless of the node state or configuration

2023-11-24 Thread Sam Tunnicliffe (Jira)


 [ 
https://issues.apache.org/jira/browse/CASSANDRA-18954?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sam Tunnicliffe updated CASSANDRA-18954:

Epic Link: CASSANDRA-19055  (was: CASSANDRA-18330)

> Transformations should be pure so that replaying them results in the same 
> outcome regardless of the node state or configuration
> ---
>
> Key: CASSANDRA-18954
> URL: https://issues.apache.org/jira/browse/CASSANDRA-18954
> Project: Cassandra
>  Issue Type: Bug
>  Components: Transactional Cluster Metadata
>Reporter: Jacek Lewandowski
>Assignee: Jacek Lewandowski
>Priority: Normal
>
> Discussed on Slack



--
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] [Updated] (CASSANDRA-18330) Delivery of CEP-21: Transactional Cluster Metadata

2023-11-24 Thread Sam Tunnicliffe (Jira)


 [ 
https://issues.apache.org/jira/browse/CASSANDRA-18330?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sam Tunnicliffe updated CASSANDRA-18330:

Reviewers:   (was: Benjamin Lerer, Ekaterina Dimitrova, Jacek Lewandowski)

> Delivery of CEP-21: Transactional Cluster Metadata
> --
>
> Key: CASSANDRA-18330
> URL: https://issues.apache.org/jira/browse/CASSANDRA-18330
> Project: Cassandra
>  Issue Type: Epic
>  Components: Cluster/Membership, Cluster/Schema
>Reporter: Sam Tunnicliffe
>Assignee: Sam Tunnicliffe
>Priority: Normal
>




--
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] [Updated] (CASSANDRA-19059) Test failure: org.apache.cassandra.db.RepairedDataInfoTest

2023-11-24 Thread Sam Tunnicliffe (Jira)


 [ 
https://issues.apache.org/jira/browse/CASSANDRA-19059?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sam Tunnicliffe updated CASSANDRA-19059:

 Bug Category: Parent values: Code(13163)Level 1 values: Bug - Unclear 
Impact(13164)
   Complexity: Normal
  Component/s: Test/unit
Discovered By: Unit Test
 Severity: Normal
   Status: Open  (was: Triage Needed)

> Test failure: org.apache.cassandra.db.RepairedDataInfoTest
> --
>
> Key: CASSANDRA-19059
> URL: https://issues.apache.org/jira/browse/CASSANDRA-19059
> Project: Cassandra
>  Issue Type: Bug
>  Components: Test/unit
>Reporter: Marcus Eriksson
>Priority: Normal
> Fix For: 5.1-alpha1
>
>
> {code}
> FSWriteError in build/test/cassandra/data/system
>   at 
> org.apache.cassandra.io.util.PathUtils.propagateUnchecked(PathUtils.java:862)
>   at 
> org.apache.cassandra.io.util.PathUtils.propagateUnchecked(PathUtils.java:845)
>   at 
> org.apache.cassandra.io.util.PathUtils.deleteRecursiveUsingNixCommand(PathUtils.java:384)
>   at 
> org.apache.cassandra.io.util.PathUtils.deleteRecursive(PathUtils.java:402)
>   at org.apache.cassandra.io.util.File.deleteRecursive(File.java:225)
>   at 
> org.apache.cassandra.io.util.FileUtils.deleteRecursive(FileUtils.java:678)
>   at org.apache.cassandra.schema.MockSchema.cleanup(MockSchema.java:377)
>   at 
> org.apache.cassandra.db.RepairedDataInfoTest.setUp(RepairedDataInfoTest.java:72)
>   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.io.IOException: [rm, -rd, 
> /tmp/cassandra/build/test/cassandra/data/system] returned non-zero exit code: 
> 1
> stdout:
> {code}
> https://app.circleci.com/pipelines/github/michaelsembwever/cassandra/256/workflows/c4fda8f1-a8d6-4523-be83-5e30b9de39fe/jobs/20450/tests



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



<    1   2   3   4   5   6   7   8   9   10   >