Uploaded image for project: 'Qpid Proton'
  1. Qpid Proton
  2. PROTON-2312

LD_PRELOAD for sanitizers does not work on macOS for Python/Ruby tests

    XMLWordPrintableJSON

Details

    • Test
    • Status: Open
    • Major
    • Resolution: Unresolved
    • proton-c-0.33.0
    • None
    • build, python-binding

    Description

      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:

      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
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            jdanek Jiri Daněk
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: