Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-99823

Use exact_file_names:true option with attach.artifacts command where possible

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.1.0-rc0
    • Affects Version/s: None
    • Component/s: Testing Infrastructure
    • None
    • Correctness
    • Fully Compatible

      This will avoid a "permission denied" error when walking the file tree and enable the setup_spawnhost_coredump script to be used to set up the debugging environment for C++ unit test core files.

      [2025/01/08 02:16:59.144] Running command 'attach.artifacts' ('archive mongo coredumps') in function 'save mongo coredumps' (step 9.4 of 19) in block 'teardown_task'.
      [2025/01/08 02:16:59.512] Command 'attach.artifacts' ('archive mongo coredumps') in function 'save mongo coredumps' (step 9.4 of 19) in block 'teardown_task' failed: building wildcard paths: walking through file tree: path '/data/mci/125f87ef9223f9e9b43455b6b78a6577/tmp/DeathTestChildTempPath-9d3f-7316-2ae1-30ae/metrics_testpath-5ace-33f8-3fbb-cbb9': open /data/mci/125f87ef9223f9e9b43455b6b78a6577/tmp/DeathTestChildTempPath-9d3f-7316-2ae1-30ae/metrics_testpath-5ace-33f8-3fbb-cbb9: permission denied.
      [2025/01/08 02:16:59.512] Finished command 'attach.artifacts' ('archive mongo coredumps') in function 'save mongo coredumps' (step 9.4 of 19) in block 'teardown_task' in 368.088895ms.
      

            Assignee:
            max.hirschhorn@mongodb.com Max Hirschhorn
            Reporter:
            max.hirschhorn@mongodb.com Max Hirschhorn
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: