RE: dtests failing with - ValueError: unsupported hash type md5

2018-05-20 Thread Rajiv Dimri
This Issue resolved:

 

Since I only had Python 3.6 installed on my machine cqlsh was referring to some 
default location when it tried to call python2.7 libraries.

Obviously these libraries did not have all the dependencies installed for cqlsh.

 

In order to make a valid environment for cqlsh to operate,I had to install a 
python2.7 along with dependent packages (cqlsh and Cassandra-driver) locally on 
the server.

Basically 2 python versions at the same time.

 

Once this was done I had to hide the python2.7 path behind the python3.6 path 
before pytest are initiated.

export PATH=$PYTHON3_INSTALL_PATH/bin:$PYTHON27_INSTALL_PATH/bin:$PATH

 

This seems to have resolved the issue.

 

From: Rajiv Dimri 
Sent: Thursday, May 10, 2018 11:52 AM
To: user@cassandra.apache.org
Subject: RE: dtests failing with - ValueError: unsupported hash type md5

 

Thank you for the response,

 

Single test command

pytest --cassandra-dir=$CASSANDRA_HOME 
cql_tracing_test.py::TestCqlTracing::test_tracing_simple

 

pytest is being run from within the virtual env (Python 3.6.5)

however cqlsh is a part of Cassandra distribution present in $CASSANDRA_HOME/bin

Even if I install cqlsh in the virtualenv, node.py in ccmlib will pick cqlsh 
present in the Cassandra source directory.

 

From: kurt greaves mailto:k...@instaclustr.com"k...@instaclustr.com> 
Sent: Thursday, May 10, 2018 11:37 AM
To: User mailto:user@cassandra.apache.org"user@cassandra.apache.org>
Subject: Re: dtests failing with - ValueError: unsupported hash type md5

 

What command did you run? Probably worth checking that cqlsh is installed in 
the virtual environment and that you are executing pytest from within the 
virtual env.

 

On 10 May 2018 at 05:06, Rajiv Dimri mailto:rajiv.di...@oracle.com"rajiv.di...@oracle.com> wrote:

Hi All,

 

We have setup a dtest environment to run against Cassandra db version 3.11.1 
and 3.0.5

As per instruction on HYPERLINK 
"https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_apache_cassandra-2Ddtest=DwMFaQ=RoP1YumCXCgaWHvlZYR8PZh8Bv7qIrMUB65eapI_JnE=upnXohQU-Prt8noQKNsgGweRpR-6zqCD_G43z-KiGAY=edPZKKf-HAxUyTYlDyt3iCMAFmUdLAoET9BZE00hZ3o=8cTnSjXdX2IoD95YkkFKRGCRj5KwXGGSzZke8KLO_ag="https://github.com/apache/cassandra-dtest
 we have setup the environment with python 3.6.5 along with other dependencies.

The server used is Oracle RHEL (Red Hat Enterprise Linux Server release 6.6 
(Santiago))

 

During the multiple tests are failing with specific error as mentioned below.

 

process = , cmd_args = ['cqlsh', 
'TRACING ON', None]

 

    def handle_external_tool_process(process, cmd_args):

    out, err = process.communicate()

    rc = process.returncode

 

    if rc != 0:

>   raise ToolError(cmd_args, rc, out, err)

E   ccmlib.node.ToolError: Subprocess ['cqlsh', 'TRACING ON', None] 
exited with non-zero status; exit status: 1;

E   stderr: ERROR:root:code for hash md5 was not found.

E   Traceback (most recent call last):

E File 
"/ade_autofs/ade_infra/nfsdo_linux.x64/PYTHON/2.7.8/LINUX.X64/141106.0120/python/lib/python2.7/hashlib.py",
 line 139, in 

E   globals()[__func_name] = __get_hash(__func_name)

E File 
"/ade_autofs/ade_infra/nfsdo_linux.x64/PYTHON/2.7.8/LINUX.X64/141106.0120/python/lib/python2.7/hashlib.py",
 line 91, in __get_builtin_constructor

E   raise ValueError('unsupported hash type ' + name)

E   ValueError: unsupported hash type md5

E   ERROR:root:code for hash sha1 was not found.

E   Traceback (most recent call last):

E File 
"/ade_autofs/ade_infra/nfsdo_linux.x64/PYTHON/2.7.8/LINUX.X64/141106.0120/python/lib/python2.7/hashlib.py",
 line 139, in 

E   globals()[__func_name] = __get_hash(__func_name)

E File 
"/ade_autofs/ade_infra/nfsdo_linux.x64/PYTHON/2.7.8/LINUX.X64/141106.0120/python/lib/python2.7/hashlib.py",
 line 91, in __get_builtin_constructor

E   raise ValueError('unsupported hash type ' + name)

E   ValueError: unsupported hash type sha1

E   ERROR:root:code for hash sha224 was not found.

E   Traceback (most recent call last):

E File 
"/ade_autofs/ade_infra/nfsdo_linux.x64/PYTHON/2.7.8/LINUX.X64/141106.0120/python/lib/python2.7/hashlib.py",
 line 139, in 

E   globals()[__func_name] = __get_hash(__func_name)

E File 
"/ade_autofs/ade_infra/nfsdo_linux.x64/PYTHON/2.7.8/LINUX.X64/141106.0120/python/lib/python2.7/hashlib.py",
 line 91, in __get_builtin_constructor

E   raise ValueError('unsupported hash type ' + name)

E   ValueError: unsupported hash type sha224

E   ERROR:root:code for hash sha256 was not found.

E   Traceback (most recent call last):

E File 
"/ade_autofs/ade_infra/

Re: dtests failing with - ValueError: unsupported hash type md5

2018-05-10 Thread Patrick Bannister
There may be some unstated environmental dependencies at issue here. If you
run the dtests on an Ubuntu 16.04 LTS environment with the configuration
described in the dtest README.md, then when you run cqlsh by calling the a
ccm Node object's run_cqlsh() function, it will run cqlsh with Python 2.7.
For example, in this kind of environment, I was able to run
cql_tracing_test.py successfully on trunk and cassandra-3.11.

The error you're experiencing is interesting. I did an experiment on an
environment without Python 2.7, and when I tried to run the
cql_tracing_test dtests, I got errors like this instead:

Subprocess ['cqlsh', 'TRACING ON', None] exited with non-zero status;
exit status: 1;
stderr: No appropriate python interpreter found.

In contrast, the errors you posted look like trying to run the Python 2.7
scripts in a Python 3.x interpreter. Are you testing with a modified
version of cqlsh? Or, do you have a "python2.7" in your path that points to
Python 3.x?

Patrick Bannister



On Thu, May 10, 2018 at 2:22 AM, Rajiv Dimri <rajiv.di...@oracle.com> wrote:

> Thank you for the response,
>
>
>
> Single test command
>
> pytest --cassandra-dir=$CASSANDRA_HOME cql_tracing_test.py::
> TestCqlTracing::test_tracing_simple
>
>
>
> pytest is being run from within the virtual env (Python 3.6.5)
>
> however cqlsh is a part of Cassandra distribution present in
> $CASSANDRA_HOME/bin
>
> Even if I install cqlsh in the virtualenv, node.py in ccmlib will pick
> cqlsh present in the Cassandra source directory.
>
>
>
> *From:* kurt greaves <k...@instaclustr.com>
> *Sent:* Thursday, May 10, 2018 11:37 AM
> *To:* User <user@cassandra.apache.org>
> *Subject:* Re: dtests failing with - ValueError: unsupported hash type md5
>
>
>
> What command did you run? Probably worth checking that cqlsh is installed
> in the virtual environment and that you are executing pytest from within
> the virtual env.
>
>
>
> On 10 May 2018 at 05:06, Rajiv Dimri <rajiv.di...@oracle.com> wrote:
>
> Hi All,
>
>
>
> We have setup a dtest environment to run against Cassandra db version
> 3.11.1 and 3.0.5
>
> As per instruction on https://github.com/apache/cassandra-dtest
> <https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_apache_cassandra-2Ddtest=DwMFaQ=RoP1YumCXCgaWHvlZYR8PZh8Bv7qIrMUB65eapI_JnE=upnXohQU-Prt8noQKNsgGweRpR-6zqCD_G43z-KiGAY=edPZKKf-HAxUyTYlDyt3iCMAFmUdLAoET9BZE00hZ3o=8cTnSjXdX2IoD95YkkFKRGCRj5KwXGGSzZke8KLO_ag=>
> we have setup the environment with python 3.6.5 along with other
> dependencies.
>
> The server used is Oracle RHEL (Red Hat Enterprise Linux Server release
> 6.6 (Santiago))
>
>
>
> During the multiple tests are failing with specific error as mentioned
> below.
>
>
>
> process = , cmd_args =
> ['cqlsh', 'TRACING ON', None]
>
>
>
> def handle_external_tool_process(process, cmd_args):
>
> out, err = process.communicate()
>
> rc = process.returncode
>
>
>
> if rc != 0:
>
> >   raise ToolError(cmd_args, rc, out, err)
>
> E   ccmlib.node.ToolError: Subprocess ['cqlsh', 'TRACING ON',
> None] exited with non-zero status; exit status: 1;
>
> E   stderr: ERROR:root:code for hash md5 was not found.
>
> E   Traceback (most recent call last):
>
> E File "/ade_autofs/ade_infra/nfsdo_
> linux.x64/PYTHON/2.7.8/LINUX.X64/141106.0120/python/lib/python2.7/hashlib.py",
> line 139, in 
>
> E   globals()[__func_name] = __get_hash(__func_name)
>
> E File "/ade_autofs/ade_infra/nfsdo_
> linux.x64/PYTHON/2.7.8/LINUX.X64/141106.0120/python/lib/python2.7/hashlib.py",
> line 91, in __get_builtin_constructor
>
> E   raise ValueError('unsupported hash type ' + name)
>
> E   ValueError: unsupported hash type md5
>
> E   ERROR:root:code for hash sha1 was not found.
>
> E   Traceback (most recent call last):
>
> E File "/ade_autofs/ade_infra/nfsdo_
> linux.x64/PYTHON/2.7.8/LINUX.X64/141106.0120/python/lib/python2.7/hashlib.py",
> line 139, in 
>
> E   globals()[__func_name] = __get_hash(__func_name)
>
> E File "/ade_autofs/ade_infra/nfsdo_
> linux.x64/PYTHON/2.7.8/LINUX.X64/141106.0120/python/lib/python2.7/hashlib.py",
> line 91, in __get_builtin_constructor
>
> E   raise ValueError('unsupported hash type ' + name)
>
> E   ValueError: unsupported hash type sha1
>
> E   ERROR:root:code for hash sha224 was not found.
>
> E   Traceback (most recent call last):
>
> E File "

RE: dtests failing with - ValueError: unsupported hash type md5

2018-05-10 Thread Rajiv Dimri
Thank you for the response,

 

Single test command

pytest --cassandra-dir=$CASSANDRA_HOME 
cql_tracing_test.py::TestCqlTracing::test_tracing_simple

 

pytest is being run from within the virtual env (Python 3.6.5)

however cqlsh is a part of Cassandra distribution present in $CASSANDRA_HOME/bin

Even if I install cqlsh in the virtualenv, node.py in ccmlib will pick cqlsh 
present in the Cassandra source directory.

 

From: kurt greaves <k...@instaclustr.com> 
Sent: Thursday, May 10, 2018 11:37 AM
To: User <user@cassandra.apache.org>
Subject: Re: dtests failing with - ValueError: unsupported hash type md5

 

What command did you run? Probably worth checking that cqlsh is installed in 
the virtual environment and that you are executing pytest from within the 
virtual env.

 

On 10 May 2018 at 05:06, Rajiv Dimri mailto:rajiv.di...@oracle.com"rajiv.di...@oracle.com> wrote:

Hi All,

 

We have setup a dtest environment to run against Cassandra db version 3.11.1 
and 3.0.5

As per instruction on HYPERLINK 
"https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_apache_cassandra-2Ddtest=DwMFaQ=RoP1YumCXCgaWHvlZYR8PZh8Bv7qIrMUB65eapI_JnE=upnXohQU-Prt8noQKNsgGweRpR-6zqCD_G43z-KiGAY=edPZKKf-HAxUyTYlDyt3iCMAFmUdLAoET9BZE00hZ3o=8cTnSjXdX2IoD95YkkFKRGCRj5KwXGGSzZke8KLO_ag="https://github.com/apache/cassandra-dtest
 we have setup the environment with python 3.6.5 along with other dependencies.

The server used is Oracle RHEL (Red Hat Enterprise Linux Server release 6.6 
(Santiago))

 

During the multiple tests are failing with specific error as mentioned below.

 

process = , cmd_args = ['cqlsh', 
'TRACING ON', None]

 

    def handle_external_tool_process(process, cmd_args):

    out, err = process.communicate()

    rc = process.returncode

 

    if rc != 0:

>   raise ToolError(cmd_args, rc, out, err)

E   ccmlib.node.ToolError: Subprocess ['cqlsh', 'TRACING ON', None] 
exited with non-zero status; exit status: 1;

E   stderr: ERROR:root:code for hash md5 was not found.

E   Traceback (most recent call last):

E File 
"/ade_autofs/ade_infra/nfsdo_linux.x64/PYTHON/2.7.8/LINUX.X64/141106.0120/python/lib/python2.7/hashlib.py",
 line 139, in 

E   globals()[__func_name] = __get_hash(__func_name)

E File 
"/ade_autofs/ade_infra/nfsdo_linux.x64/PYTHON/2.7.8/LINUX.X64/141106.0120/python/lib/python2.7/hashlib.py",
 line 91, in __get_builtin_constructor

E   raise ValueError('unsupported hash type ' + name)

E   ValueError: unsupported hash type md5

E   ERROR:root:code for hash sha1 was not found.

E   Traceback (most recent call last):

E File 
"/ade_autofs/ade_infra/nfsdo_linux.x64/PYTHON/2.7.8/LINUX.X64/141106.0120/python/lib/python2.7/hashlib.py",
 line 139, in 

E   globals()[__func_name] = __get_hash(__func_name)

E File 
"/ade_autofs/ade_infra/nfsdo_linux.x64/PYTHON/2.7.8/LINUX.X64/141106.0120/python/lib/python2.7/hashlib.py",
 line 91, in __get_builtin_constructor

E   raise ValueError('unsupported hash type ' + name)

E   ValueError: unsupported hash type sha1

E   ERROR:root:code for hash sha224 was not found.

E   Traceback (most recent call last):

E File 
"/ade_autofs/ade_infra/nfsdo_linux.x64/PYTHON/2.7.8/LINUX.X64/141106.0120/python/lib/python2.7/hashlib.py",
 line 139, in 

E   globals()[__func_name] = __get_hash(__func_name)

E File 
"/ade_autofs/ade_infra/nfsdo_linux.x64/PYTHON/2.7.8/LINUX.X64/141106.0120/python/lib/python2.7/hashlib.py",
 line 91, in __get_builtin_constructor

E   raise ValueError('unsupported hash type ' + name)

E   ValueError: unsupported hash type sha224

E   ERROR:root:code for hash sha256 was not found.

E   Traceback (most recent call last):

E File 
"/ade_autofs/ade_infra/nfsdo_linux.x64/PYTHON/2.7.8/LINUX.X64/141106.0120/python/lib/python2.7/hashlib.py",
 line 139, in 

E   globals()[__func_name] = __get_hash(__func_name)

E File 
"/ade_autofs/ade_infra/nfsdo_linux.x64/PYTHON/2.7.8/LINUX.X64/141106.0120/python/lib/python2.7/hashlib.py",
 line 91, in __get_builtin_constructor

E   raise ValueError('unsupported hash type ' + name)

E   ValueError: unsupported hash type sha256

E   ERROR:root:code for hash sha384 was not found.

E   Traceback (most recent call last):

E File 
"/ade_autofs/ade_infra/nfsdo_linux.x64/PYTHON/2.7.8/LINUX.X64/141106.0120/python/lib/python2.7/hashlib.py",
 line 139, in 

E   globals()[__func_name] = __get_hash(__func_name)

E File 
"/ade_autofs/ade_infra/nfsdo_linux.x64/PYTHON/2.7.8/LINUX.X64/141106.0120/python/lib/python2.7/hashlib.py&quo

Re: dtests failing with - ValueError: unsupported hash type md5

2018-05-10 Thread kurt greaves
What command did you run? Probably worth checking that cqlsh is installed
in the virtual environment and that you are executing pytest from within
the virtual env.

On 10 May 2018 at 05:06, Rajiv Dimri  wrote:

> Hi All,
>
>
>
> We have setup a dtest environment to run against Cassandra db version
> 3.11.1 and 3.0.5
>
> As per instruction on https://github.com/apache/cassandra-dtest we have
> setup the environment with python 3.6.5 along with other dependencies.
>
> The server used is Oracle RHEL (Red Hat Enterprise Linux Server release
> 6.6 (Santiago))
>
>
>
> During the multiple tests are failing with specific error as mentioned
> below.
>
>
>
> process = , cmd_args =
> ['cqlsh', 'TRACING ON', None]
>
>
>
> def handle_external_tool_process(process, cmd_args):
>
> out, err = process.communicate()
>
> rc = process.returncode
>
>
>
> if rc != 0:
>
> >   raise ToolError(cmd_args, rc, out, err)
>
> E   ccmlib.node.ToolError: Subprocess ['cqlsh', 'TRACING ON',
> None] exited with non-zero status; exit status: 1;
>
> E   stderr: ERROR:root:code for hash md5 was not found.
>
> E   Traceback (most recent call last):
>
> E File "/ade_autofs/ade_infra/nfsdo_
> linux.x64/PYTHON/2.7.8/LINUX.X64/141106.0120/python/lib/python2.7/hashlib.py",
> line 139, in 
>
> E   globals()[__func_name] = __get_hash(__func_name)
>
> E File "/ade_autofs/ade_infra/nfsdo_
> linux.x64/PYTHON/2.7.8/LINUX.X64/141106.0120/python/lib/python2.7/hashlib.py",
> line 91, in __get_builtin_constructor
>
> E   raise ValueError('unsupported hash type ' + name)
>
> E   ValueError: unsupported hash type md5
>
> E   ERROR:root:code for hash sha1 was not found.
>
> E   Traceback (most recent call last):
>
> E File "/ade_autofs/ade_infra/nfsdo_
> linux.x64/PYTHON/2.7.8/LINUX.X64/141106.0120/python/lib/python2.7/hashlib.py",
> line 139, in 
>
> E   globals()[__func_name] = __get_hash(__func_name)
>
> E File "/ade_autofs/ade_infra/nfsdo_
> linux.x64/PYTHON/2.7.8/LINUX.X64/141106.0120/python/lib/python2.7/hashlib.py",
> line 91, in __get_builtin_constructor
>
> E   raise ValueError('unsupported hash type ' + name)
>
> E   ValueError: unsupported hash type sha1
>
> E   ERROR:root:code for hash sha224 was not found.
>
> E   Traceback (most recent call last):
>
> E File "/ade_autofs/ade_infra/nfsdo_
> linux.x64/PYTHON/2.7.8/LINUX.X64/141106.0120/python/lib/python2.7/hashlib.py",
> line 139, in 
>
> E   globals()[__func_name] = __get_hash(__func_name)
>
> E File "/ade_autofs/ade_infra/nfsdo_
> linux.x64/PYTHON/2.7.8/LINUX.X64/141106.0120/python/lib/python2.7/hashlib.py",
> line 91, in __get_builtin_constructor
>
> E   raise ValueError('unsupported hash type ' + name)
>
> E   ValueError: unsupported hash type sha224
>
> E   ERROR:root:code for hash sha256 was not found.
>
> E   Traceback (most recent call last):
>
> E File "/ade_autofs/ade_infra/nfsdo_
> linux.x64/PYTHON/2.7.8/LINUX.X64/141106.0120/python/lib/python2.7/hashlib.py",
> line 139, in 
>
> E   globals()[__func_name] = __get_hash(__func_name)
>
> E File "/ade_autofs/ade_infra/nfsdo_
> linux.x64/PYTHON/2.7.8/LINUX.X64/141106.0120/python/lib/python2.7/hashlib.py",
> line 91, in __get_builtin_constructor
>
> E   raise ValueError('unsupported hash type ' + name)
>
> E   ValueError: unsupported hash type sha256
>
> E   ERROR:root:code for hash sha384 was not found.
>
> E   Traceback (most recent call last):
>
> E File "/ade_autofs/ade_infra/nfsdo_
> linux.x64/PYTHON/2.7.8/LINUX.X64/141106.0120/python/lib/python2.7/hashlib.py",
> line 139, in 
>
> E   globals()[__func_name] = __get_hash(__func_name)
>
> E File "/ade_autofs/ade_infra/nfsdo_
> linux.x64/PYTHON/2.7.8/LINUX.X64/141106.0120/python/lib/python2.7/hashlib.py",
> line 91, in __get_builtin_constructor
>
> E   raise ValueError('unsupported hash type ' + name)
>
> E   ValueError: unsupported hash type sha384
>
> E   ERROR:root:code for hash sha512 was not found.
>
> E   Traceback (most recent call last):
>
> E File "/ade_autofs/ade_infra/nfsdo_
> linux.x64/PYTHON/2.7.8/LINUX.X64/141106.0120/python/lib/python2.7/hashlib.py",
> line 139, in 
>
> E   globals()[__func_name] = __get_hash(__func_name)
>
> E File "/ade_autofs/ade_infra/nfsdo_
> linux.x64/PYTHON/2.7.8/LINUX.X64/141106.0120/python/lib/python2.7/hashlib.py",
> line 91, in __get_builtin_constructor
>
> E   raise ValueError('unsupported hash type ' + name)
>
> E   ValueError: unsupported hash type sha512
>
> E   Traceback (most recent call last):
>
> E File 

RE: dtests failing with - ValueError: unsupported hash type md5

2018-05-09 Thread Rajiv Dimri
Hi All,

 

We have setup a dtest environment to run against Cassandra db version 3.11.1 
and 3.0.5

As per instruction on https://github.com/apache/cassandra-dtest we have setup 
the environment with python 3.6.5 along with other dependencies.

The server used is Oracle RHEL (Red Hat Enterprise Linux Server release 6.6 
(Santiago))

 

During the multiple tests are failing with specific error as mentioned below.

 

process = , cmd_args = ['cqlsh', 
'TRACING ON', None]

 

def handle_external_tool_process(process, cmd_args):

out, err = process.communicate()

rc = process.returncode

 

if rc != 0:

>   raise ToolError(cmd_args, rc, out, err)

E   ccmlib.node.ToolError: Subprocess ['cqlsh', 'TRACING ON', None] 
exited with non-zero status; exit status: 1;

E   stderr: ERROR:root:code for hash md5 was not found.

E   Traceback (most recent call last):

E File 
"/ade_autofs/ade_infra/nfsdo_linux.x64/PYTHON/2.7.8/LINUX.X64/141106.0120/python/lib/python2.7/hashlib.py",
 line 139, in 

E   globals()[__func_name] = __get_hash(__func_name)

E File 
"/ade_autofs/ade_infra/nfsdo_linux.x64/PYTHON/2.7.8/LINUX.X64/141106.0120/python/lib/python2.7/hashlib.py",
 line 91, in __get_builtin_constructor

E   raise ValueError('unsupported hash type ' + name)

E   ValueError: unsupported hash type md5

E   ERROR:root:code for hash sha1 was not found.

E   Traceback (most recent call last):

E File 
"/ade_autofs/ade_infra/nfsdo_linux.x64/PYTHON/2.7.8/LINUX.X64/141106.0120/python/lib/python2.7/hashlib.py",
 line 139, in 

E   globals()[__func_name] = __get_hash(__func_name)

E File 
"/ade_autofs/ade_infra/nfsdo_linux.x64/PYTHON/2.7.8/LINUX.X64/141106.0120/python/lib/python2.7/hashlib.py",
 line 91, in __get_builtin_constructor

E   raise ValueError('unsupported hash type ' + name)

E   ValueError: unsupported hash type sha1

E   ERROR:root:code for hash sha224 was not found.

E   Traceback (most recent call last):

E File 
"/ade_autofs/ade_infra/nfsdo_linux.x64/PYTHON/2.7.8/LINUX.X64/141106.0120/python/lib/python2.7/hashlib.py",
 line 139, in 

E   globals()[__func_name] = __get_hash(__func_name)

E File 
"/ade_autofs/ade_infra/nfsdo_linux.x64/PYTHON/2.7.8/LINUX.X64/141106.0120/python/lib/python2.7/hashlib.py",
 line 91, in __get_builtin_constructor

E   raise ValueError('unsupported hash type ' + name)

E   ValueError: unsupported hash type sha224

E   ERROR:root:code for hash sha256 was not found.

E   Traceback (most recent call last):

E File 
"/ade_autofs/ade_infra/nfsdo_linux.x64/PYTHON/2.7.8/LINUX.X64/141106.0120/python/lib/python2.7/hashlib.py",
 line 139, in 

E   globals()[__func_name] = __get_hash(__func_name)

E File 
"/ade_autofs/ade_infra/nfsdo_linux.x64/PYTHON/2.7.8/LINUX.X64/141106.0120/python/lib/python2.7/hashlib.py",
 line 91, in __get_builtin_constructor

E   raise ValueError('unsupported hash type ' + name)

E   ValueError: unsupported hash type sha256

E   ERROR:root:code for hash sha384 was not found.

E   Traceback (most recent call last):

E File 
"/ade_autofs/ade_infra/nfsdo_linux.x64/PYTHON/2.7.8/LINUX.X64/141106.0120/python/lib/python2.7/hashlib.py",
 line 139, in 

E   globals()[__func_name] = __get_hash(__func_name)

E File 
"/ade_autofs/ade_infra/nfsdo_linux.x64/PYTHON/2.7.8/LINUX.X64/141106.0120/python/lib/python2.7/hashlib.py",
 line 91, in __get_builtin_constructor

E   raise ValueError('unsupported hash type ' + name)

E   ValueError: unsupported hash type sha384

E   ERROR:root:code for hash sha512 was not found.

E   Traceback (most recent call last):

E File 
"/ade_autofs/ade_infra/nfsdo_linux.x64/PYTHON/2.7.8/LINUX.X64/141106.0120/python/lib/python2.7/hashlib.py",
 line 139, in 

E   globals()[__func_name] = __get_hash(__func_name)

E File 
"/ade_autofs/ade_infra/nfsdo_linux.x64/PYTHON/2.7.8/LINUX.X64/141106.0120/python/lib/python2.7/hashlib.py",
 line 91, in __get_builtin_constructor

E   raise ValueError('unsupported hash type ' + name)

E   ValueError: unsupported hash type sha512

E   Traceback (most recent call last):

E File "/scratch/dtest/workspace/cassandra-3.11/bin/cqlsh.py", line 
153, in 

E   from cassandra.cluster import Cluster

E File 
"/scratch/dtest/workspace/cassandra-3.11/bin/../lib/cassandra-driver-internal-only-3.10.zip/cassandra-driver-3.10/cassandra/cluster.py",
 line 61, in 

E File 
"/scratch/dtest/workspace/cassandra-3.11/bin/../lib/cassandra-driver-internal-only-3.10.zip/cassandra-driver-3.10/cassandra/metadata.py",
 line 19, in 

E