Handle all-boring core dumps gracefully in core_analysis task

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 9.0.0-rc0, 8.3.4
    • Affects Version/s: None
    • Component/s: None
    • None
    • DevProd Test Infrastructure
    • Fully Compatible
    • v8.3
    • Correctness 2026-04-07
    • 0
    • None
    • None
    • None
    • None
    • None
    • None
    • None

        1. Summary
      • When all core dumps from a parent task are "boring" (routine SIGABRT teardown), the `core_analysis` task now exits successfully instead of system-failing with `RuntimeError("Artifacts were not found")`
      • `download_core_dumps()` in `extractor.py` returns `True` early when all cores were filtered as boring
      • `core_analyzer.py` adds a defense-in-depth check: if no `.core`/`.mdmp` files exist after download, it writes a minimal report and exits cleanly
      • The `s3.put` for `mongo-coreanalysis.tgz` is now marked `optional: True` as a safety net

      Fixes [BF-42164](https://jira.mongodb.org/browse/BF-42164). This addresses a recurring issue with *22+ historical BFs* where `system-failed: core_analysis_*` tasks fail because all cores are boring.

        1. Test plan
      • [ ] Verify existing `core_analysis` unit tests pass
      • [ ] Check the waterfall after merge for `core_analysis` tasks on TSAN variants — they should no longer system-fail when all cores are boring
      • [ ] Manually activate a `core_analysis` task with only boring cores and confirm it succeeds

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

              Created:
              Updated:
              Resolved: