ExportXMLWordPrintableJSON

    • Type: Task
    • Resolution: Unresolved
    • Priority: Major - P3
    • 9.1.0-rc0, 9.1.0-rc1026
    • Affects Version/s: None
    • Component/s: Bazel
    • None
    • DevProd Test Infra 2026-12-01
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      The core analyzer could stop before analyzing any cores when objcopy tried to rewrite a read-only shared library. In extractor.py, stage the indexed library beside the original and atomically replace it only on success, preserving its permissions. If indexing fails, log a warning and continue with the original library. test_extractor.py covers read-only libraries and partial writes.

      Jira: DEVPROD-48063

      Local validation:

      • python3-venv/bin/python -m unittest discover -s buildscripts/tests/resmokelib/hang_analyzer -q — passed (67 tests).
      • bazel run format – --file buildscripts/resmokelib/hang_analyzer/extractor.py --file buildscripts/tests/resmokelib/hang_analyzer/test_extractor.py — passed.
      • python3-venv/bin/ruff check buildscripts/resmokelib/hang_analyzer/extractor.py buildscripts/tests/resmokelib/hang_analyzer/test_extractor.py — passed.

      See comment for evergreen run + additional validation.

            Assignee:
            Teodor Voinea
            Reporter:
            Teodor Voinea
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: