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

Jiri Daněk commented on PROTON-1957:
------------------------------------

Current state at master is that python is built, installed and tested, except 
for {{python-tox-test}}, which segfaults, and therefore it is disabled. 
https://travis-ci.org/apache/qpid-proton/builds/640772334

{noformat}
27: proton_tests.handler.HandlerTest.test_add_handler 
.......................ERROR: InvocationError for command 
/Users/travis/build/jdanekrh/qpid-proton/build/python/.tox/py27/bin/python 
/Users/travis/build/jdanekrh/qpid-proton/python/tests/proton-test 
--ignore-file=/Users/travis/build/jdanekrh/qpid-proton/python/tests/tox-blacklist
 (exited with code -11 (SIGSEGV)) (exited with code -11)

...

27: py37 installed: 
linecache2==1.0.0,python-qpid-proton==0.31.0,six==1.14.0,traceback2==1.4.0,unittest2==1.1.0
27: py37 run-test-pre: PYTHONHASHSEED='774661195'
27: py37 run-test: commands[0] | python 
/Users/travis/build/jdanekrh/qpid-proton/python/tests/proton-test 
--ignore-file=/Users/travis/build/jdanekrh/qpid-proton/python/tests/tox-blacklist
27: Traceback (most recent call last):
27:   File "/Users/travis/build/jdanekrh/qpid-proton/python/tests/proton-test", 
line 24, in <module>
27:     from proton_tests.main import main
27:   File 
"/Users/travis/build/jdanekrh/qpid-proton/python/tests/proton_tests/__init__.py",
 line 22, in <module>
27:     from . import codec
27:   File 
"/Users/travis/build/jdanekrh/qpid-proton/python/tests/proton_tests/codec.py", 
line 25, in <module>
27:     from proton import *
27:   File 
"/Users/travis/build/jdanekrh/qpid-proton/build/python/.tox/py37/lib/python3.7/site-packages/proton/__init__.py",
 line 35, in <module>
27:     from cproton import PN_VERSION_MAJOR, PN_VERSION_MINOR, PN_VERSION_POINT
27:   File 
"/Users/travis/build/jdanekrh/qpid-proton/build/python/.tox/py37/lib/python3.7/site-packages/cproton.py",
 line 15, in <module>
27:     import _cproton
27: ImportError: 
dlopen(/Users/travis/build/jdanekrh/qpid-proton/build/python/.tox/py37/lib/python3.7/site-packages/_cproton.cpython-37m-darwin.so,
 2): Symbol not found: _DH_set0_pqg
27:   Referenced from: 
/Users/travis/build/jdanekrh/qpid-proton/build/python/.tox/py37/lib/python3.7/site-packages/_cproton.cpython-37m-darwin.so
27:   Expected in: flat namespace
27:  in 
/Users/travis/build/jdanekrh/qpid-proton/build/python/.tox/py37/lib/python3.7/site-packages/_cproton.cpython-37m-darwin.so
27: ERROR: InvocationError for command 
/Users/travis/build/jdanekrh/qpid-proton/build/python/.tox/py37/bin/python 
/Users/travis/build/jdanekrh/qpid-proton/python/tests/proton-test 
--ignore-file=/Users/travis/build/jdanekrh/qpid-proton/python/tests/tox-blacklist
 (exited with code 1)

...

27/44 Test #27: python-tox-test ..................***Failed  Error regular 
expression found in output. Regex=[ERROR:[ ]+py[0-9]*: commands failed] 46.38 
sec
{noformat}

> [OSX] re-enable python tests in Travis CI for xcode7.3
> ------------------------------------------------------
>
>                 Key: PROTON-1957
>                 URL: https://issues.apache.org/jira/browse/PROTON-1957
>             Project: Qpid Proton
>          Issue Type: Task
>          Components: build
>    Affects Versions: proton-c-0.26.0
>         Environment: Travis CI
> xcode7.3 image
>            Reporter: Roddie Kieley
>            Priority: Minor
>
> Looking at the logs for the macOS Travis CI job covering [Xcode 
> 7.3|https://travis-ci.org/apache/qpid-proton/jobs/440387457] we see that the 
> python tests do not execute at the moment.
> This occurred due to removing the brew python upgrade which installed a 
> non-functional python 3.7.0 installation. Removal resulted in a successful 
> build and test, minus other issues, but did disable the python tests.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org

Reply via email to