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

Josh McKenzie commented on CASSANDRA-17081:
-------------------------------------------

+1 on the change to fix this test.

In general, is this a pattern we use more frequently that'd be worth codifying 
through the API's here? Having to know that there's coupling between nodes in 
ccm to watch each others' logs for signals about being up to know about the 
right timing on node kill vs. start is... brittle at best. :)

 

> Fix test: 
> bootstrap_test.py::TestBootstrap::test_bootstrap_with_reset_bootstrap_state
> -------------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-17081
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-17081
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Test/dtest/python
>            Reporter: Josh McKenzie
>            Assignee: David Capwell
>            Priority: Normal
>             Fix For: NA
>
>
> Seeing in circle and locally on trunk:
> Looks like it's timing out waiting for the bootstrap to complete.
> {code:java}
> test_bootstrap_with_reset_bootstrap_state failed (1 runs remaining out of 2).
>         <class 'ccmlib.node.TimeoutError'>
>         28 Oct 2021 19:03:53 [node3] after 120.39/120 seconds Missing: 
> ['127.0.0.1:7000.* is now UP'] not found in system.log:
>  Head: ERROR [Stream-Deserializer-/127.0.0.1:7000-20b885c
>  Tail: ...b336de0e72/nb-1-big-Data.db 
> ERROR [Stream-Deserializer-/127.0.0.1:7000-29a7cdb5] 2021-10-28 15:01:36,578 
> StorageService.java:483 - Stopping gossiper
>         [<TracebackEntry 
> /Users/jmckenzie/src/cassandra-dtest/bootstrap_test.py:483>
> <TracebackEntry /Users/jmckenzie/src/ccm/ccmlib/node.py:895>
> <TracebackEntry /Users/jmckenzie/src/ccm/ccmlib/node.py:664>
> <TracebackEntry /Users/jmckenzie/src/ccm/ccmlib/node.py:588>
> <TracebackEntry /Users/jmckenzie/src/ccm/ccmlib/node.py:56>]
> test_bootstrap_with_reset_bootstrap_state failed; it passed 0 out of the 
> required 1 times.
>         <class 'ccmlib.node.TimeoutError'>
>         28 Oct 2021 19:08:23 [node3] after 120.41/120 seconds Missing: 
> ['127.0.0.1:7000.* is now UP'] not found in system.log:
>  Head: 
>  Tail: ...
>         [<TracebackEntry 
> /Users/jmckenzie/src/cassandra-dtest/bootstrap_test.py:483>
> <TracebackEntry /Users/jmckenzie/src/ccm/ccmlib/node.py:895>
> <TracebackEntry /Users/jmckenzie/src/ccm/ccmlib/node.py:664>
> <TracebackEntry /Users/jmckenzie/src/ccm/ccmlib/node.py:588>
> <TracebackEntry /Users/jmckenzie/src/ccm/ccmlib/node.py:56>]
> {code}
>  



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to