Bug: Test failure: compaction_test.py::TestCompaction::test_compaction_throughput
Status: Resolved
Priority: Normal
Resolution: Fixed
Created: 18/May/22 17:13
Resolved: 29/Jun/22 19:21

The Python dtest {{compaction_test.py::TestCompaction::test_compaction_throughput}} seems to occasionally fail on CircleCI for 4.1:

* [https://app.circleci.com/pipelines/github/adelapena/cassandra/1575/workflows/293c4c89-0293-4628-b969-ab0008b38b5a/jobs/16797]

* [https://app.circleci.com/pipelines/github/adelapena/cassandra/1575/workflows/5a491573-faf3-42c4-99c7-747de85f9865/jobs/16795/tests]

* [https://app.circleci.com/pipelines/github/adelapena/cassandra/1564/workflows/31dc3bd6-0006-47f0-af4e-5cd568be89be/jobs/16664]

{code:java}
test teardown failure
Unexpected error found in node logs (see stdout for full details). Errors: [[node1] 'ERROR [Native-Transport-Requests-25] 2022-05-18 16:54:00,985 StorageProxy.java:1631 - Failed to apply mutation locally : \njava.lang.RuntimeException: null for ks: keyspace1, table: standard1\n\tat org.apache.cassandra.db.ColumnFamilyStore.apply(ColumnFamilyStore.java:1442)\n\tat org.apache.cassandra.db.CassandraTableWriteHandler.write(CassandraTableWriteHandler.java:40)\n\tat org.apache.cassandra.db.Keyspace.applyInternal(Keyspace.java:653)\n\tat org.apache.cassandra.db.Keyspace.apply(Keyspace.java:506)\n\tat org.apache.cassandra.db.Mutation.apply(Mutation.java:228)\n\tat org.apache.cassandra.db.Mutation.apply(Mutation.java:248)\n\tat org.apache.cassandra.service.StorageProxy$4.runMayThrow(StorageProxy.java:1625)\n\tat org.apache.cassandra.service.StorageProxy$LocalMutationRunnable.run(StorageProxy.java:2537)\n\tat org.apache.cassandra.concurrent.ExecutionFailure$1.run(ExecutionFailure.java:124)\n\tat org.apache.cassandra.concurrent.SEPExecutor.maybeExecuteImmediately(SEPExecutor.java:214)\n\tat org.apache.cassandra.concurrent.Stage.maybeExecuteImmediately(Stage.java:127)\n\tat org.apache.cassandra.service.StorageProxy.performLocally(StorageProxy.java:1619)\n\tat org.apache.cassandra.service.StorageProxy.sendToHintedReplicas(StorageProxy.java:1526)\n\tat org.apache.cassandra.service.StorageProxy.lambda$static$0(StorageProxy.java:212)\n\tat org.apache.cassandra.service.StorageProxy.performWrite(StorageProxy.java:1358)\n\tat org.apache.cassandra.service.StorageProxy.mutate(StorageProxy.java:867)\n\tat org.apache.cassandra.service.StorageProxy.mutateWithTriggers(StorageProxy.java:1129)\n\tat org.apache.cassandra.cql3.statements.ModificationStatement.executeWithoutCondition(ModificationStatement.java:516)\n\tat org.apache.cassandra.cql3.statements.ModificationStatement.execute(ModificationStatement.java:491)\n\tat org.apache.cassandra.cql3.QueryProcessor.processStatement(QueryProcessor.java:258)\n\tat org.apache.cassandra.cql3.QueryProcessor.processPrepared(QueryProcessor.java:825)\n\tat org.apache.cassandra.cql3.QueryProcessor.processPrepared(QueryProcessor.java:803)\n\tat org.apache.cassandra.transport.messages.ExecuteMessage.execute(ExecuteMessage.java:167)\n\tat org.apache.cassandra.transport.Message$Request.execute(Message.java:254)\n\tat org.apache.cassandra.transport.Dispatcher.processRequest(Dispatcher.java:122)\n\tat org.apache.cassandra.transport.Dispatcher.processRequest(Dispatcher.java:141)\n\tat org.apache.cassandra.transport.Dispatcher.processRequest(Dispatcher.java:168)\n\tat org.apache.cassandra.transport.Dispatcher.lambda$dispatch$0(Dispatcher.java:82)\n\tat org.apache.cassandra.concurrent.FutureTask$1.call(FutureTask.java:81)\n\tat org.apache.cassandra.concurrent.FutureTask.call(FutureTask.java:47)\n\tat org.apache.cassandra.concurrent.FutureTask.run(FutureTask.java:57)\n\tat org.apache.cassandra.concurrent.SEPWorker.run(SEPWorker.java:120)\n\tat io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\nCaused by: java.lang.NullPointerException: null\n\tat org.apache.cassandra.db.memtable.AbstractMemtableWithCommitlog.accepts(AbstractMemtableWithCommitlog.java:101)\n\tat org.apache.cassandra.db.lifecycle.Tracker.getMemtableFor(Tracker.java:329)\n\tat org.apache.cassandra.db.ColumnFamilyStore.apply(ColumnFamilyStore.java:1421)\n\t... 33 common frames omitted']
{code}
However, I haven't yet seen this failure in Butler's results for Jenkins.