[ https://issues.apache.org/jira/browse/CASSANDRA-17641 ]


    Brandon Williams deleted comment on CASSANDRA-17641:
    ----------------------------------------------

was (Author: brandon.williams):
Interesting to note that this test can't be run in isolation with 
test-jvm-dtest-some due to a problem with metrics:

{noformat}
[junit-timeout] Testcase: 
readRepair(org.apache.cassandra.distributed.test.SchemaTest): Caused an ERROR
[junit-timeout] java.lang.NoSuchMethodError: 
org.apache.cassandra.metrics.CassandraMetricsRegistry.timer(Lorg/apache/cassandra/metrics/CassandraMetricsRegistry$MetricName;Lorg/apache/cassandra/metrics/CassandraMetricsRegistry$MetricName;)Lcom/codahale/metrics/Timer;
[junit-timeout] java.lang.RuntimeException: java.lang.NoSuchMethodError: 
org.apache.cassandra.metrics.CassandraMetricsRegistry.timer(Lorg/apache/cassandra/metrics/CassandraMetricsRegistry$MetricName;Lorg/apache/cassandra/metrics/CassandraMetricsRegistry$MetricName;)Lcom/codahale/metrics/Timer;
[junit-timeout]         at 
org.apache.cassandra.distributed.impl.Instance.lambda$startup$12(Instance.java:702)
[junit-timeout]         at 
org.apache.cassandra.concurrent.FutureTask$1.call(FutureTask.java:81)
[junit-timeout]         at 
org.apache.cassandra.concurrent.FutureTask.call(FutureTask.java:47)
[junit-timeout]         at 
org.apache.cassandra.concurrent.FutureTask.run(FutureTask.java:57)
[junit-timeout]         at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
[junit-timeout]         at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
[junit-timeout]         at 
io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
[junit-timeout]         at java.lang.Thread.run(Thread.java:748)
[junit-timeout] Caused by: java.lang.NoSuchMethodError: 
org.apache.cassandra.metrics.CassandraMetricsRegistry.timer(Lorg/apache/cassandra/metrics/CassandraMetricsRegistry$MetricName;Lorg/apache/cassandra/metrics/CassandraMetricsRegistry$MetricName;)Lcom/codahale/metrics/Timer;
[junit-timeout]         at 
org.apache.cassandra.metrics.DroppedMessageMetrics.<init>(DroppedMessageMetrics.java:77)
[junit-timeout]         at 
org.apache.cassandra.metrics.MessagingMetrics$DroppedForVerb.<init>(MessagingMetrics.java:84)
[junit-timeout]         at 
org.apache.cassandra.metrics.MessagingMetrics.<init>(MessagingMetrics.java:110)
[junit-timeout]         at 
org.apache.cassandra.net.MessagingService.<init>(MessagingService.java:267)
[junit-timeout]         at 
org.apache.cassandra.net.MessagingService$MSHandle.<clinit>(MessagingService.java:232)
[junit-timeout]         at 
org.apache.cassandra.net.MessagingService.instance(MessagingService.java:237)
[junit-timeout]         at 
org.apache.cassandra.schema.DefaultSchemaUpdateHandler.<init>(DefaultSchemaUpdateHandler.java:78)
[junit-timeout]         at 
org.apache.cassandra.schema.DefaultSchemaUpdateHandlerFactory.getSchemaUpdateHandler(DefaultSchemaUpdateHandlerFactory.java:32)
[junit-timeout]         at 
org.apache.cassandra.schema.Schema.<init>(Schema.java:111)
[junit-timeout]         at 
org.apache.cassandra.schema.Schema.<clinit>(Schema.java:75)
[junit-timeout]         at 
org.apache.cassandra.service.StartupChecks$13.execute(StartupChecks.java:626)
[junit-timeout]         at 
org.apache.cassandra.service.StartupChecks.verify(StartupChecks.java:175)
[junit-timeout]         at 
org.apache.cassandra.service.CassandraDaemon.runStartupChecks(CassandraDaemon.java:501)
[junit-timeout]         at 
org.apache.cassandra.distributed.impl.Instance.lambda$startup$12(Instance.java:574)
[junit-timeout] 
[junit-timeout] 
[junit-timeout] Test org.apache.cassandra.distributed.test.SchemaTest FAILED
{noformat}

> Fix flaky dtest - org.apache.cassandra.distributed.test.SchemaTest.readRepair
> -----------------------------------------------------------------------------
>
>                 Key: CASSANDRA-17641
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-17641
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Cluster/Schema
>            Reporter: Brandon Williams
>            Priority: Normal
>             Fix For: 4.1-beta, 4.1.x
>
>
> {code}
> org.apache.cassandra.distributed.shared.ShutdownException: Uncaught 
> exceptions were thrown during test
>       at 
> org.apache.cassandra.distributed.impl.AbstractCluster.checkAndResetUncaughtExceptions(AbstractCluster.java:1056)
>       at 
> org.apache.cassandra.distributed.impl.AbstractCluster.close(AbstractCluster.java:1042)
>       at 
> org.apache.cassandra.distributed.test.SchemaTest.readRepair(SchemaTest.java:46)
>       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.RuntimeException: java.lang.AssertionError
>               at 
> org.apache.cassandra.net.InboundSink.accept(InboundSink.java:108)
>               at 
> org.apache.cassandra.distributed.impl.Instance.lambda$receiveMessageRunnable$6(Instance.java:495)
>               at 
> org.apache.cassandra.concurrent.ExecutionFailure$1.run(ExecutionFailure.java:124)
>               at 
> org.apache.cassandra.concurrent.SEPWorker.run(SEPWorker.java:120)
>               at 
> io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
>               at java.base/java.lang.Thread.run(Thread.java:829)
>       Caused by: java.lang.AssertionError
>               at 
> org.apache.cassandra.locator.TokenMetadata.firstTokenIndex(TokenMetadata.java:1171)
>               at 
> org.apache.cassandra.locator.TokenMetadata.firstToken(TokenMetadata.java:1185)
>               at 
> org.apache.cassandra.locator.AbstractReplicationStrategy.getNaturalReplicas(AbstractReplicationStrategy.java:95)
>               at 
> org.apache.cassandra.locator.AbstractReplicationStrategy.getLocalReplicaFor(AbstractReplicationStrategy.java:111)
>               at 
> org.apache.cassandra.db.ReadCommandVerbHandler.validateTransientStatus(ReadCommandVerbHandler.java:108)
>               at 
> org.apache.cassandra.db.ReadCommandVerbHandler.doVerb(ReadCommandVerbHandler.java:50)
>               at 
> org.apache.cassandra.net.InboundSink.lambda$new$0(InboundSink.java:78)
>               at 
> org.apache.cassandra.net.InboundSink.accept(InboundSink.java:97)
> {code}
> https://ci-cassandra.apache.org/job/Cassandra-4.1/28/testReport/org.apache.cassandra.distributed.test/SchemaTest/readRepair/



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

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

Reply via email to