[ https://issues.apache.org/jira/browse/CASSANDRA-19100?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17856550#comment-17856550 ]
Brandon Williams commented on CASSANDRA-19100: ---------------------------------------------- I was only able to reproduce this once locally but easily in circle and in all those instances the log was present, suggesting there is a timing issue. [Adding a tiny sleep|https://github.com/driftx/cassandra-dtest/commit/6bd32c1af2a6ab7191e232a226b277d61be51110] fixes it [in circle|https://app.circleci.com/pipelines/github/driftx/cassandra/1685/workflows/12096a4e-7d4f-4267-8064-bb1621afb17f/jobs/95347]. Adding sleep isn't great but we're [invoking stress|https://github.com/apache/cassandra-dtest/blob/trunk/commitlog_test.py#L164] to avoid error handling, so it was already a bit fragile. > commitlog_test.py::TestCommitLog::test_stop_failure_policy failed > ----------------------------------------------------------------- > > Key: CASSANDRA-19100 > URL: https://issues.apache.org/jira/browse/CASSANDRA-19100 > Project: Cassandra > Issue Type: Bug > Components: Test/dtest/python > Reporter: Jacek Lewandowski > Assignee: Brandon Williams > Priority: Normal > Fix For: 5.0-rc, 5.x > > > https://app.circleci.com/pipelines/github/jacek-lewandowski/cassandra/1121/workflows/fce907b1-0526-4d4d-beb5-b6620737a5f3/jobs/50905/tests > {noformat} > AssertionError: Cannot find the commitlog failure message in logs > assert [] > self = <commitlog_test.TestCommitLog object at 0x7f1bf1cb3f50> > def test_stop_failure_policy(self): > """ > Test the stop commitlog failure policy (default one) > """ > self.prepare() > > self._provoke_commitlog_failure() > failure = self.node1.grep_log("Failed .+ commit log segments. Commit > disk failure policy is stop; terminating thread") > logger.debug(failure) > > assert failure, "Cannot find the commitlog failure message in logs" > E AssertionError: Cannot find the commitlog failure message in logs > E assert [] > commitlog_test.py:325: 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