Ignore permission errors when searching for coredump files in resmoke wrapper

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Major - P3
    • 8.1.0-rc0, 8.0.0-rc2
    • Affects Version/s: None
    • Component/s: None
    • None
    • DevProd Build
    • Fully Compatible
    • v8.0
    • 66
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      run_dbtest is failing in BF-32465 due to trying to search the bazel sandbox directory, which has directories that are not readable.

      The logic in the resmoke wrapper that searches for coredumps is trying to ignore permission errors by piping errors to devnull, but this still triggers a nonzero returncode, failing the script since set -o errexit is on.

      Turn off errexit before coredump search and re-enable it afterwards.

            Assignee:
            Zack Winter
            Reporter:
            Zack Winter
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: