[ https://issues.apache.org/jira/browse/CASSANDRA-10526?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14970517#comment-14970517 ]
Dikang Gu commented on CASSANDRA-10526: --------------------------------------- [~yukim], I download the cassandra-dtest, and try to run the rebuild_test.py, but I got some exceptions, can you please take a look? seems it can not start a node2 on the '127.0.0.2:9042' address, how did you make it work? ➜ cassandra-dtest git:(rebuild_test) PRINT_DEBUG=true nosetests -x -s -v rebuild_test.py simple_rebuild_test (rebuild_test.TestRebuild) ... cluster ccm directory: /var/folders/rf/lszlbpdn4771492m0t6yx_8x1tg7yd/T/dtest-_Barzm ERROR Error saving log: [Errno 2] No such file or directory: '/var/folders/rf/lszlbpdn4771492m0t6yx_8x1tg7yd/T/dtest-_Barzm/test/node1/logs/debug.log' removing ccm cluster test at: /var/folders/rf/lszlbpdn4771492m0t6yx_8x1tg7yd/T/dtest-_Barzm clearing ssl stores from [/var/folders/rf/lszlbpdn4771492m0t6yx_8x1tg7yd/T/dtest-_Barzm] directory ERROR ====================================================================== ERROR: simple_rebuild_test (rebuild_test.TestRebuild) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/dikang/Projects/cassandra-dtest/rebuild_test.py", line 66, in simple_rebuild_test node2.start(wait_other_notice=True, wait_for_binary_proto=True) File "/Users/dikang/Projects/ccm/ccmlib/node.py", line 484, in start common.check_socket_available(itf) File "/Users/dikang/Projects/ccm/ccmlib/common.py", line 410, in check_socket_available raise UnavailableSocketError("Inet address %s:%s is not available: %s" % (addr, port, msg)) UnavailableSocketError: Inet address 127.0.0.2:9042 is not available: [Errno 49] Can't assign requested address -------------------- >> begin captured logging << -------------------- dtest: DEBUG: cluster ccm directory: /var/folders/rf/lszlbpdn4771492m0t6yx_8x1tg7yd/T/dtest-_Barzm --------------------- >> end captured logging << --------------------- ====================================================================== ERROR: simple_rebuild_test (rebuild_test.TestRebuild) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/dikang/Projects/cassandra-dtest/dtest.py", line 547, in tearDown [' '.join(msg) for msg in node.grep_log_for_errors()])) File "/Users/dikang/Projects/ccm/ccmlib/node.py", line 314, in grep_log_for_errors with open(os.path.join(self.get_path(), 'logs', filename)) as f: IOError: [Errno 2] No such file or directory: '/var/folders/rf/lszlbpdn4771492m0t6yx_8x1tg7yd/T/dtest-_Barzm/test/node2/logs/system.log' -------------------- >> begin captured logging << -------------------- dtest: DEBUG: cluster ccm directory: /var/folders/rf/lszlbpdn4771492m0t6yx_8x1tg7yd/T/dtest-_Barzm dtest: DEBUG: removing ccm cluster test at: /var/folders/rf/lszlbpdn4771492m0t6yx_8x1tg7yd/T/dtest-_Barzm dtest: DEBUG: clearing ssl stores from [/var/folders/rf/lszlbpdn4771492m0t6yx_8x1tg7yd/T/dtest-_Barzm] directory --------------------- >> end captured logging << --------------------- ---------------------------------------------------------------------- Ran 1 test in 11.312s FAILED (errors=2) > Add dtest for CASSANDRA-10406 > ----------------------------- > > Key: CASSANDRA-10526 > URL: https://issues.apache.org/jira/browse/CASSANDRA-10526 > Project: Cassandra > Issue Type: Sub-task > Reporter: Yuki Morishita > Assignee: Dikang Gu > Priority: Minor > Fix For: 2.1.x > > > CASSANDRA-10406 adds new function to nodetool rebuild, so it needs to be > tested with cassandra-dtest. -- This message was sent by Atlassian JIRA (v6.3.4#6332)