[jira] [Comment Edited] (THRIFT-4430) Make check hangs on test_sslsocket.py

2017-12-19 Thread Kyle Douglass (JIRA)

[ 
https://issues.apache.org/jira/browse/THRIFT-4430?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16297961#comment-16297961
 ] 

Kyle Douglass edited comment on THRIFT-4430 at 12/20/17 6:46 AM:
-

Thanks James. I built Thrift and ran {code:none}make check{code} using my 
system's Python (rather than Anaconda's) and it runs successfully. Just a minor 
observation: there is no {noformat}test/test.sh{noformat} script in anywhere in 
my build directory for running the cross-language test suite as described in 
the [build instructions|https://thrift.apache.org/docs/BuildingFromSource]. I 
will keep tinkering with it to see whether I can get it to run with Anaconda's 
libraries.

I have a follow-up question: I noticed that Python 2.6 is listed as a Python 
requirement on the [build requirements 
page|https://thrift.apache.org/docs/install/]. Does this mean that I need both 
Python 2 and 3 installed in my Python environment, even if I am only going to 
use Python 3?



was (Author: kmdouglass):
Thanks James. I built Thrift {code:none}make check{code} using my system's 
Python--rather than Anaconda's--and it runs successfully. Just a minor 
observation: there is no {noformat}test/test.sh{noformat} script in anywhere in 
my build directory for running the cross-language test suite as described in 
the [build instructions|https://thrift.apache.org/docs/BuildingFromSource]. I 
will keep tinkering with it to see whether I can get it to run with Anaconda's 
libraries.

I have a follow-up question: I noticed that Python 2.6 is listed as a Python 
requirement on the [build requirements 
page|https://thrift.apache.org/docs/install/]. Does this mean that I need both 
Python 2 and 3 installed in my Python environment, even if I am only going to 
use Python 3?


> Make check hangs on test_sslsocket.py
> -
>
> Key: THRIFT-4430
> URL: https://issues.apache.org/jira/browse/THRIFT-4430
> Project: Thrift
>  Issue Type: Bug
>  Components: Build Process, Test Suite
>Affects Versions: 0.11.0
> Environment: +OS+
> Ubuntu 16.04.1 x86_64
> Linux kernel 4.10.0-42-generic
> +Python+
> 3.6.3 |Anaconda, Inc.| (default, Oct 13 2017, 12:02:49) 
> [GCC 7.2.0]
> +make+
> GNU Make 4.1
> Built for x86_64-pc-linux-gnu
>Reporter: Kyle Douglass
>  Labels: make, test
>
> The make check command which is run while building Thrift hangs on the 9'th 
> test in test/test_sslsocket.py. Below is the traceback I get after Ctrl-C'ing 
> after waiting on the test for ~15 minutes. Any ideas?
> {{Making check in py
> make[2]: Entering directory '/home/kmdouglass/src/thrift-0.11.0/lib/py'
> /home/kmdouglass/miniconda3/bin/python setup.py build
> running build
> running build_py
> running build_ext
> make  check-local
> make[3]: Entering directory '/home/kmdouglass/src/thrift-0.11.0/lib/py'
> /home/kmdouglass/miniconda3/bin/python setup.py build
> running build
> running build_py
> running build_ext
> /home/kmdouglass/miniconda3/bin/python test/thrift_json.py
> .
> --
> Ran 1 test in 0.000s
> OK
> /home/kmdouglass/miniconda3/bin/python test/test_sslsocket.py
> ^CTraceback (most recent call last):
>   File "test/test_sslsocket.py", line 125, in _connectable_client
> client = TSSLSocket(host, port, unix_socket=path, **client_kwargs)
>   File 
> "/home/kmdouglass/src/thrift-0.11.0/lib/py/build/lib.linux-x86_64-3.6/thrift/transport/TSSLS
> ocket.py", line 263, in __init__  
> 
> TSSLBase.__init__(self, False, host, kwargs)
>   File 
> "/home/kmdouglass/src/thrift-0.11.0/lib/py/build/lib.linux-x86_64-3.6/thrift/transport/TSSLS
> ocket.py", line 139, in __init__  
> 
> self._init_context(ssl_version)
>   File 
> "/home/kmdouglass/src/thrift-0.11.0/lib/py/build/lib.linux-x86_64-3.6/thrift/transport/TSSLS
> ocket.py", line 53, in _init_context  
> 
> self._context = ssl.SSLContext(ssl_version)
>   File "/home/kmdouglass/miniconda3/lib/python3.6/ssl.py", line 391, in 
> __new__
> self = _SSLContext.__new__(cls, protocol)
> ssl.SSLError: ('No cipher can be selected.',)
> During handling of the above exception, another exception occurred:
> Traceback (most recent call last):
>   File "test/test_sslsocket.py", line 343, in 
> unittest.main()
>   File "/home/kmdouglass/miniconda3/lib/python3.6/unittest/main.py", line 95, 
> in __init__
> self.runTests()
>   File "/home/kmdouglass/miniconda3/lib/python3.6/unittest/main.py", line 
> 256, in runTests
> self.result = testRunner.run(self.test)
>   File "/home/kmdouglass/miniconda3/lib/python3.6/unittest/runner.py", 

[jira] [Comment Edited] (THRIFT-4430) Make check hangs on test_sslsocket.py

2017-12-19 Thread Kyle Douglass (JIRA)

[ 
https://issues.apache.org/jira/browse/THRIFT-4430?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16297961#comment-16297961
 ] 

Kyle Douglass edited comment on THRIFT-4430 at 12/20/17 6:46 AM:
-

Thanks James. I built Thrift and ran {code:none}make check{code} using my 
system's Python (rather than Anaconda's) and it runs successfully. Just a minor 
observation: there is no *test.sh* script in anywhere in my build directory for 
running the cross-language test suite as described in the [build 
instructions|https://thrift.apache.org/docs/BuildingFromSource]. I will keep 
tinkering with it to see whether I can get it to run with Anaconda's libraries.

I have a follow-up question: I noticed that Python 2.6 is listed as a Python 
requirement on the [build requirements 
page|https://thrift.apache.org/docs/install/]. Does this mean that I need both 
Python 2 and 3 installed in my Python environment, even if I am only going to 
use Python 3?



was (Author: kmdouglass):
Thanks James. I built Thrift and ran {code:none}make check{code} using my 
system's Python (rather than Anaconda's) and it runs successfully. Just a minor 
observation: there is no {noformat}test/test.sh{noformat} script in anywhere in 
my build directory for running the cross-language test suite as described in 
the [build instructions|https://thrift.apache.org/docs/BuildingFromSource]. I 
will keep tinkering with it to see whether I can get it to run with Anaconda's 
libraries.

I have a follow-up question: I noticed that Python 2.6 is listed as a Python 
requirement on the [build requirements 
page|https://thrift.apache.org/docs/install/]. Does this mean that I need both 
Python 2 and 3 installed in my Python environment, even if I am only going to 
use Python 3?


> Make check hangs on test_sslsocket.py
> -
>
> Key: THRIFT-4430
> URL: https://issues.apache.org/jira/browse/THRIFT-4430
> Project: Thrift
>  Issue Type: Bug
>  Components: Build Process, Test Suite
>Affects Versions: 0.11.0
> Environment: +OS+
> Ubuntu 16.04.1 x86_64
> Linux kernel 4.10.0-42-generic
> +Python+
> 3.6.3 |Anaconda, Inc.| (default, Oct 13 2017, 12:02:49) 
> [GCC 7.2.0]
> +make+
> GNU Make 4.1
> Built for x86_64-pc-linux-gnu
>Reporter: Kyle Douglass
>  Labels: make, test
>
> The make check command which is run while building Thrift hangs on the 9'th 
> test in test/test_sslsocket.py. Below is the traceback I get after Ctrl-C'ing 
> after waiting on the test for ~15 minutes. Any ideas?
> {{Making check in py
> make[2]: Entering directory '/home/kmdouglass/src/thrift-0.11.0/lib/py'
> /home/kmdouglass/miniconda3/bin/python setup.py build
> running build
> running build_py
> running build_ext
> make  check-local
> make[3]: Entering directory '/home/kmdouglass/src/thrift-0.11.0/lib/py'
> /home/kmdouglass/miniconda3/bin/python setup.py build
> running build
> running build_py
> running build_ext
> /home/kmdouglass/miniconda3/bin/python test/thrift_json.py
> .
> --
> Ran 1 test in 0.000s
> OK
> /home/kmdouglass/miniconda3/bin/python test/test_sslsocket.py
> ^CTraceback (most recent call last):
>   File "test/test_sslsocket.py", line 125, in _connectable_client
> client = TSSLSocket(host, port, unix_socket=path, **client_kwargs)
>   File 
> "/home/kmdouglass/src/thrift-0.11.0/lib/py/build/lib.linux-x86_64-3.6/thrift/transport/TSSLS
> ocket.py", line 263, in __init__  
> 
> TSSLBase.__init__(self, False, host, kwargs)
>   File 
> "/home/kmdouglass/src/thrift-0.11.0/lib/py/build/lib.linux-x86_64-3.6/thrift/transport/TSSLS
> ocket.py", line 139, in __init__  
> 
> self._init_context(ssl_version)
>   File 
> "/home/kmdouglass/src/thrift-0.11.0/lib/py/build/lib.linux-x86_64-3.6/thrift/transport/TSSLS
> ocket.py", line 53, in _init_context  
> 
> self._context = ssl.SSLContext(ssl_version)
>   File "/home/kmdouglass/miniconda3/lib/python3.6/ssl.py", line 391, in 
> __new__
> self = _SSLContext.__new__(cls, protocol)
> ssl.SSLError: ('No cipher can be selected.',)
> During handling of the above exception, another exception occurred:
> Traceback (most recent call last):
>   File "test/test_sslsocket.py", line 343, in 
> unittest.main()
>   File "/home/kmdouglass/miniconda3/lib/python3.6/unittest/main.py", line 95, 
> in __init__
> self.runTests()
>   File "/home/kmdouglass/miniconda3/lib/python3.6/unittest/main.py", line 
> 256, in runTests
> self.result = testRunner.run(self.test)
>   File "/home/kmdouglass/miniconda3/lib/python3.6/unittest/runner.py", line 
> 176, in 

[jira] [Comment Edited] (THRIFT-4430) Make check hangs on test_sslsocket.py

2017-12-19 Thread Kyle Douglass (JIRA)

[ 
https://issues.apache.org/jira/browse/THRIFT-4430?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16297961#comment-16297961
 ] 

Kyle Douglass edited comment on THRIFT-4430 at 12/20/17 6:45 AM:
-

Thanks James. I built Thrift {code:none}make check{code} using my system's 
Python--rather than Anaconda's--and it runs successfully. Just a minor 
observation: there is no {noformat}test/test.sh{noformat} script in anywhere in 
my build directory for running the cross-language test suite as described in 
the [build instructions|https://thrift.apache.org/docs/BuildingFromSource]. I 
will keep tinkering with it to see whether I can get it to run with Anaconda's 
libraries.

I have a follow-up question: I noticed that Python 2.6 is listed as a Python 
requirement on the [build requirements 
page|https://thrift.apache.org/docs/install/]. Does this mean that I need both 
Python 2 and 3 installed in my Python environment, even if I am only going to 
use Python 3?



was (Author: kmdouglass):
Thanks James. I built Thrift {code:sh}make check{code} using my system's 
Python--rather than Anaconda's--and it runs successfully. Just a minor 
observation: there is no {noformat}test/test.sh{noformat} script in anywhere in 
my build directory for running the cross-language test suite as described in 
the [build instructions|https://thrift.apache.org/docs/BuildingFromSource]. I 
will keep tinkering with it to see whether I can get it to run with Anaconda's 
libraries.

I have a follow-up question: I noticed that Python 2.6 is listed as a Python 
requirement on the [build requirements 
page|https://thrift.apache.org/docs/install/]. Does this mean that I need both 
Python 2 and 3 installed in my Python environment, even if I am only going to 
use Python 3?


> Make check hangs on test_sslsocket.py
> -
>
> Key: THRIFT-4430
> URL: https://issues.apache.org/jira/browse/THRIFT-4430
> Project: Thrift
>  Issue Type: Bug
>  Components: Build Process, Test Suite
>Affects Versions: 0.11.0
> Environment: +OS+
> Ubuntu 16.04.1 x86_64
> Linux kernel 4.10.0-42-generic
> +Python+
> 3.6.3 |Anaconda, Inc.| (default, Oct 13 2017, 12:02:49) 
> [GCC 7.2.0]
> +make+
> GNU Make 4.1
> Built for x86_64-pc-linux-gnu
>Reporter: Kyle Douglass
>  Labels: make, test
>
> The make check command which is run while building Thrift hangs on the 9'th 
> test in test/test_sslsocket.py. Below is the traceback I get after Ctrl-C'ing 
> after waiting on the test for ~15 minutes. Any ideas?
> {{Making check in py
> make[2]: Entering directory '/home/kmdouglass/src/thrift-0.11.0/lib/py'
> /home/kmdouglass/miniconda3/bin/python setup.py build
> running build
> running build_py
> running build_ext
> make  check-local
> make[3]: Entering directory '/home/kmdouglass/src/thrift-0.11.0/lib/py'
> /home/kmdouglass/miniconda3/bin/python setup.py build
> running build
> running build_py
> running build_ext
> /home/kmdouglass/miniconda3/bin/python test/thrift_json.py
> .
> --
> Ran 1 test in 0.000s
> OK
> /home/kmdouglass/miniconda3/bin/python test/test_sslsocket.py
> ^CTraceback (most recent call last):
>   File "test/test_sslsocket.py", line 125, in _connectable_client
> client = TSSLSocket(host, port, unix_socket=path, **client_kwargs)
>   File 
> "/home/kmdouglass/src/thrift-0.11.0/lib/py/build/lib.linux-x86_64-3.6/thrift/transport/TSSLS
> ocket.py", line 263, in __init__  
> 
> TSSLBase.__init__(self, False, host, kwargs)
>   File 
> "/home/kmdouglass/src/thrift-0.11.0/lib/py/build/lib.linux-x86_64-3.6/thrift/transport/TSSLS
> ocket.py", line 139, in __init__  
> 
> self._init_context(ssl_version)
>   File 
> "/home/kmdouglass/src/thrift-0.11.0/lib/py/build/lib.linux-x86_64-3.6/thrift/transport/TSSLS
> ocket.py", line 53, in _init_context  
> 
> self._context = ssl.SSLContext(ssl_version)
>   File "/home/kmdouglass/miniconda3/lib/python3.6/ssl.py", line 391, in 
> __new__
> self = _SSLContext.__new__(cls, protocol)
> ssl.SSLError: ('No cipher can be selected.',)
> During handling of the above exception, another exception occurred:
> Traceback (most recent call last):
>   File "test/test_sslsocket.py", line 343, in 
> unittest.main()
>   File "/home/kmdouglass/miniconda3/lib/python3.6/unittest/main.py", line 95, 
> in __init__
> self.runTests()
>   File "/home/kmdouglass/miniconda3/lib/python3.6/unittest/main.py", line 
> 256, in runTests
> self.result = testRunner.run(self.test)
>   File "/home/kmdouglass/miniconda3/lib/python3.6/unittest/runner.py", line 
> 176,