Josh McKenzie created CASSANDRA-17077:
-----------------------------------------

             Summary: Fix failing test: 
dtest.bootstrap_test.TestBootstrap.test_bootstrap_binary_disabled
                 Key: CASSANDRA-17077
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-17077
             Project: Cassandra
          Issue Type: Bug
          Components: Test/dtest/python
            Reporter: Josh McKenzie


JDK8 and JDK11

[https://ci-cassandra.apache.org/job/Cassandra-trunk/801/testReport/junit/dtest.bootstrap_test/TestBootstrap/test_bootstrap_binary_disabled/]

 
{code:java}
bootstrap_test.py:1014: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
../venv/lib/python3.8/site-packages/ccmlib/node.py:1005: in nodetool
    return handle_external_tool_process(p, ['nodetool', '-h', 'localhost', 
'-p', str(self.jmx_port)] + shlex.split(cmd))
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

process = <subprocess.Popen object at 0x7f6c82e80580>
cmd_args = ['nodetool', '-h', 'localhost', '-p', '7300', 'bootstrap', ...]

    def handle_external_tool_process(process, cmd_args):
        out, err = process.communicate()
        if (out is not None) and isinstance(out, bytes):
            out = out.decode()
        if (err is not None) and isinstance(err, bytes):
            err = err.decode()
        rc = process.returncode
    
        if rc != 0:
>           raise ToolError(cmd_args, rc, out, err)
E           ccmlib.node.ToolError: Subprocess ['nodetool', '-h', 'localhost', 
'-p', '7300', 'bootstrap', 'resume'] exited with non-zero status; exit status: 
1; 
E           stderr: nodetool: Failed to connect to 'localhost:7300' - 
ConnectException: 'Connection refused (Connection refused)'.

../venv/lib/python3.8/site-packages/ccmlib/node.py:2305: ToolError
{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