cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Berenguer Blasi (Jira)" <j...@apache.org>
Subject [jira] [Created] (CASSANDRA-16778) Jvm-dtest race on closing and log messages
Date Thu, 01 Jul 2021 07:17:00 GMT
Berenguer Blasi created CASSANDRA-16778:
-------------------------------------------

             Summary: Jvm-dtest race on closing and log messages
                 Key: CASSANDRA-16778
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-16778
             Project: Cassandra
          Issue Type: Bug
          Components: Test/dtest/java
            Reporter: Berenguer Blasi


Failure of [IPMembershipTest|https://ci-cassandra.apache.org/job/Cassandra-4.0.0/40/testReport/junit/org.apache.cassandra.distributed.test/IPMembershipTest/startupNewIP/]:

{noformat}
Uncaught exceptions were thrown during test
{noformat}

led me to investigate the [logs|https://nightlies.apache.org/cassandra/cassandra-4.0.0/Cassandra-4.0.0-jvm-dtest/37/Cassandra-4.0.0-jvm-dtest/jdk=jdk_11_latest,label=cassandra,split=6/build/test/logs/org.apache.cassandra.distributed.test.IPMembershipTest/%3cmain%3e/%3cmain%3e/]
a bit where it seems we can be in a 'closed' state but trying to perform operations such as
logging still

{noformat}
ERROR [RequestResponseStage-8] <main> 2021-06-30 08:18:31,211 uncaught exception in
thread Thread[RequestResponseStage-8,5,node3]
java.lang.IllegalStateException: Can't load ch.qos.logback.core.status.ErrorStatus. Instance
class loader is already closed.
	at org.apache.cassandra.distributed.shared.InstanceClassLoader.loadClassInternal(InstanceClassLoader.java:93)
	at org.apache.cassandra.distributed.shared.InstanceClassLoader.loadClass(InstanceClassLoader.java:87)
	at ch.qos.logback.core.spi.ContextAwareBase.addError(ContextAwareBase.java:105)
	at ch.qos.logback.core.UnsynchronizedAppenderBase.doAppend(UnsynchronizedAppenderBase.java:88)
	at ch.qos.logback.core.spi.AppenderAttachableImpl.appendLoopOnAppenders(AppenderAttachableImpl.java:51)
	at ch.qos.logback.classic.Logger.appendLoopOnAppenders(Logger.java:270)
	at ch.qos.logback.classic.Logger.callAppenders(Logger.java:257)
	at ch.qos.logback.classic.Logger.buildLoggingEventAndAppend(Logger.java:421)
	at ch.qos.logback.classic.Logger.filterAndLog_0_Or3Plus(Logger.java:383)
	at ch.qos.logback.classic.Logger.log(Logger.java:765)
	at io.netty.util.internal.logging.LocationAwareSlf4JLogger.log(LocationAwareSlf4JLogger.java:50)
	at io.netty.util.internal.logging.LocationAwareSlf4JLogger.debug(LocationAwareSlf4JLogger.java:115)
	at io.netty.buffer.PoolThreadCache.free(PoolThreadCache.java:224)
	at io.netty.buffer.PooledByteBufAllocator$PoolThreadLocalCache.onRemoval(PooledByteBufAllocator.java:516)
	at io.netty.buffer.PooledByteBufAllocator$PoolThreadLocalCache.onRemoval(PooledByteBufAllocator.java:483)
	at io.netty.util.concurrent.FastThreadLocal.remove(FastThreadLocal.java:256)
	at io.netty.util.concurrent.FastThreadLocal.removeAll(FastThreadLocal.java:67)
	at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:32)
	at java.base/java.lang.Thread.run(Thread.java:834)
{noformat}

Log attached




--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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


Mime
View raw message