You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Jiri Daněk (Jira)" <ji...@apache.org> on 2020/12/19 15:17:00 UTC
[jira] [Created] (PROTON-2312) LD_PRELOAD for sanitizers does not work on macOS for Python/Ruby tests
Jiri Daněk created PROTON-2312:
----------------------------------
Summary: LD_PRELOAD for sanitizers does not work on macOS for Python/Ruby tests
Key: PROTON-2312
URL: https://issues.apache.org/jira/browse/PROTON-2312
Project: Qpid Proton
Issue Type: Test
Components: build, python-binding
Affects Versions: proton-c-0.33.0
Reporter: Jiri Daněk
https://travis-ci.com/github/apache/qpid-proton/jobs/462926565#L4029
This is currently implemented only for Linux; the error message on macOS contains hints what to do:
{noformat}
25: Test command: /usr/local/opt/python/libexec/bin/python "/Users/travis/build/apache/qpid-proton/scripts/env.py" "--" "PATH=/Users/travis/build/apache/qpid-proton/build/c/tools:/Users/travis/build/apache/qpid-proton/build/c:/usr/local/opt/python/libexec/bin:/usr/local/bin:/Users/travis/.rvm/gems/ruby-2.6.6/bin:/Users/travis/.rvm/gems/ruby-2.6.6@global/bin:/Users/travis/.rvm/rubies/ruby-2.6.6/bin:/Users/travis/.rvm/bin:/Users/travis/bin:/Users/travis/.local/bin:/Users/travis/.nvm/versions/node/v15.1.0/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/Library/Apple/usr/bin" "PYTHONPATH=/Users/travis/build/apache/qpid-proton/python/tests:/Users/travis/build/apache/qpid-proton/python:/Users/travis/build/apache/qpid-proton/build/python:/Users/travis/build/apache/qpid-proton/build/python:/Users/travis/build/apache/qpid-proton/python/../tests/py" "SASLPASSWD=CyrusSASL_Saslpasswd_EXECUTABLE-NOTFOUND" "UBSAN_OPTIONS=suppressions=/Users/travis/build/apache/qpid-proton/tests/ubsan.supp" "LSAN_OPTIONS=suppressions=/Users/travis/build/apache/qpid-proton/tests/lsan.supp" "/Users/travis/build/apache/qpid-proton/tests/preload_asan.sh" "/Users/travis/build/apache/qpid-proton/build/c/libqpid-proton-core.10.11.0.dylib" "/usr/local/opt/python/libexec/bin/python" "--" "/Users/travis/build/apache/qpid-proton/python/tests/proton-test"
25: Test timeout computed to be: 360
25: /Users/travis/build/apache/qpid-proton/tests/preload_asan.sh: line 50: ldd: command not found
25: ==96659==ERROR: Interceptors are not working. This may be because AddressSanitizer is loaded too late (e.g. via dlopen). Please launch the executable with:
25: DYLD_INSERT_LIBRARIES=/Applications/Xcode-12.2.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/12.0.0/lib/darwin/libclang_rt.asan_osx_dynamic.dylib
25: "interceptors not installed" && 0
25/29 Test #25: python-test ......................***Failed Required regular expression not found. Regex=[Totals: .* 0 failed
] 0.50 sec
{noformat}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org