[
https://issues.apache.org/jira/browse/PROTON-2167?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17021797#comment-17021797
]
ASF subversion and git services commented on PROTON-2167:
---------------------------------------------------------
Commit fc4722d22319af7423368d1f63025857373f7d18 in qpid-proton's branch
refs/heads/master from Jiri Danek
[ https://gitbox.apache.org/repos/asf?p=qpid-proton.git;h=fc4722d ]
PROTON-2167 Upgrade macOS images in .travis.yml and exclude failing ruby and
python tests
Without the test excludes, these are the failures in logs
ruby:
```
30:
/Users/travis/.rvm/rubies/ruby-2.6.3/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in
`require': incompatible library version -
/Users/travis/build/jdanekrh/qpid-proton/build/ruby/cproton.bundle (LoadError)
30: from
/Users/travis/.rvm/rubies/ruby-2.6.3/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in
`require'
30: from
/Users/travis/build/jdanekrh/qpid-proton/ruby/lib/qpid_proton.rb:19:in `<top
(required)>'
30: from
/Users/travis/.rvm/rubies/ruby-2.6.3/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in
`require'
30: from
/Users/travis/.rvm/rubies/ruby-2.6.3/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in
`require'
30: from
/Users/travis/build/jdanekrh/qpid-proton/ruby/tests/test_tools.rb:22:in `<top
(required)>'
30: from
/Users/travis/.rvm/rubies/ruby-2.6.3/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in
`require'
30: from
/Users/travis/.rvm/rubies/ruby-2.6.3/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in
`require'
30: from
/Users/travis/build/jdanekrh/qpid-proton/ruby/tests/test_container.rb:19:in
`<main>'
30/44 Test #30: ruby-test-container ..............***Failed 0.29 sec
```
Python:
```
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
```
> Travis build on macOS 10.12 fails on ruby and openssl library issues
> --------------------------------------------------------------------
>
> Key: PROTON-2167
> URL: https://issues.apache.org/jira/browse/PROTON-2167
> Project: Qpid Proton
> Issue Type: Test
> Components: ruby-binding
> Reporter: Jiri Daněk
> Assignee: Alan Conway
> Priority: Major
>
> {noformat}
> $ gem install minitest
> Error loading RubyGems plugin
> "/Users/travis/.rvm/gems/ruby-2.4.2@global/gems/executable-hooks-1.3.2/lib/rubygems_plugin.rb":
>
> dlopen(/Users/travis/.rvm/gems/ruby-2.4.2/gems/openssl-2.0.6/lib/openssl.bundle,
> 9): Library not loaded: /usr/local/opt/openssl/lib/libssl.1.0.0.dylib
> Referenced from:
> /Users/travis/.rvm/gems/ruby-2.4.2/gems/openssl-2.0.6/lib/openssl.bundle
> Reason: image not found -
> /Users/travis/.rvm/gems/ruby-2.4.2/gems/openssl-2.0.6/lib/openssl.bundle
> (LoadError)
> Error loading RubyGems plugin
> "/Users/travis/.rvm/gems/ruby-2.4.2/gems/gem-wrappers-1.4.0/lib/rubygems_plugin.rb":
>
> dlopen(/Users/travis/.rvm/gems/ruby-2.4.2/gems/openssl-2.0.6/lib/openssl.bundle,
> 9): Library not loaded: /usr/local/opt/openssl/lib/libssl.1.0.0.dylib
> Referenced from:
> /Users/travis/.rvm/gems/ruby-2.4.2/gems/openssl-2.0.6/lib/openssl.bundle
> Reason: image not found -
> /Users/travis/.rvm/gems/ruby-2.4.2/gems/openssl-2.0.6/lib/openssl.bundle
> (LoadError)
> ERROR: Loading command: install (LoadError)
>
> dlopen(/Users/travis/.rvm/gems/ruby-2.4.2/gems/openssl-2.0.6/lib/openssl.bundle,
> 9): Library not loaded: /usr/local/opt/openssl/lib/libssl.1.0.0.dylib
> Referenced from:
> /Users/travis/.rvm/gems/ruby-2.4.2/gems/openssl-2.0.6/lib/openssl.bundle
> Reason: image not found -
> /Users/travis/.rvm/gems/ruby-2.4.2/gems/openssl-2.0.6/lib/openssl.bundle
> ERROR: While executing gem ... (NoMethodError)
> undefined method `invoke_with_build_args' for nil:NilClass
> The command "gem install minitest" failed and exited with 1 during .
> {noformat}
> https://travis-ci.org/apache/qpid-proton/jobs/638630148
> I tried a few things yesterday (reinstall ruby from brew, reinstall using
> rvm), but could not get past this.
> Could we maybe drop osx 10.12 and test/support only newer versions?
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]