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

Berenguer Blasi commented on CASSANDRA-18325:
---------------------------------------------

Yep the problem comes when you have sthg failing only in jenkins, which seems 
to be the case now?, you need to cross fingers logs tell you sthg. Otherwise 
you're stuck.

> Test failure: dtest.bootstrap_test.TestBootstrap.test_cleanup
> -------------------------------------------------------------
>
>                 Key: CASSANDRA-18325
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-18325
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Test/dtest/python
>            Reporter: Maxwell Guo
>            Assignee: Brandon Williams
>            Priority: Normal
>             Fix For: 5.0.x, 5.x
>
>
>  
> {code:java}
> assert not True
> + where True = <bound method Event.is_set of <threading.Event object at 
> 0x7f5b16fda070>>()
> + where <bound method Event.is_set of <threading.Event object at 
> 0x7f5b16fda070>> = <threading.Event object at 0x7f5b16fda070>.is_set
> Stacktrace
> self = <bootstrap_test.TestBootstrap object at 0x7f5b25f4f880>
> def test_cleanup(self):
> """
> @jira_ticket CASSANDRA-11179
> Make sure we remove processed files during cleanup
> """
> cluster = self.cluster
> cluster.set_environment_variable('CASSANDRA_TOKEN_PREGENERATION_DISABLED', 
> 'True')
> cluster.set_configuration_options(values=
> {'concurrent_compactors': 4}
> )
> cluster.populate(1)
> cluster.start()
> node1, = cluster.nodelist()
> for x in range(0, 5):
> node1.stress(['write', 'n=100k', 'no-warmup', '-schema', 
> 'compaction(strategy=SizeTieredCompactionStrategy,enabled=false)', 
> 'replication(factor=1)', '-rate', 'threads=10'])
> node1.flush()
> node2 = new_node(cluster)
> node2.start(wait_for_binary_proto=True)
> event = threading.Event()
> failed = threading.Event()
> jobs = 1
> thread = threading.Thread(target=self._monitor_datadir, args=(node1, event, 
> len(node1.get_sstables("keyspace1", "standard1")), jobs, failed))
> thread.setDaemon(True)
> thread.start()
> node1.nodetool("cleanup -j {} keyspace1 standard1".format(jobs))
> event.set()
> thread.join()
> > assert not failed.is_set()
> E assert not True
> E + where True = <bound method Event.is_set of <threading.Event object at 
> 0x7f5b16fda070>>()
> E + where <bound method Event.is_set of <threading.Event object at 
> 0x7f5b16fda070>> = <threading.Event object at 0x7f5b16fda070>.is_set
> bootstrap_test.py:912: AssertionError
> {code}
>  
> failed twice



--
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

Reply via email to