Uploaded image for project: 'Data Management'
  1. Data Management
  2. DM-5030

Tests fail on Qserv on OS X El Capitan because of SIP

    Details

    • Type: Improvement
    • Status: Done
    • Resolution: Done
    • Fix Version/s: None
    • Component/s: Qserv
    • Labels:
      None
    • Templates:
    • Story Points:
      2
    • Team:
      Architecture

      Description

      OS X El Capitan introduced System Integrity Protection which leads to dangerous environment variables being stripped when executing trusted binaries. Since scons is launched using /usr/bin/env the tests that run do not get to see DYLD_LIBRARY_PATH. This causes them to fail.

      The same fix that was applied to sconsUtils (copying the path information from LSST_LIBRARY_PATH) needs to be applied to the test execution code used by Qserv's private site_scons utility code.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                tjenness Tim Jenness
                Reporter:
                tjenness Tim Jenness
                Reviewers:
                Andy Salnikov
                Watchers:
                Andy Salnikov, Jacek Becla, Tim Jenness
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Summary Panel