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

evergreen/failed_unittests_gather.sh misses .debug symbol file due to earlier error in the script

    • Build
    • Fully Compatible
    • ALL
    • v8.1, v8.0, v7.0, v6.0
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      It looks like the logic for archiving PDB symbol files causes an error on Linux platforms and prevents the .debug symbol files from being archived correctly. This prevents the C++ stacktraces in the failing logs from being symbolized and also prevents the core dump from being utilized.

      [2025/03/21 21:47:54.195] Install file: "bazel-out/aarch64-dbg/bin/src/mongo/db/modules/enterprise/src/streams/exec/tests/s3_emit_operator_test" as "build/install/bin/s3_emit_operator_test"
      [2025/03/21 21:48:01.178] Install file: "bazel-out/aarch64-dbg/bin/src/mongo/db/modules/enterprise/src/streams/exec/tests/s3_emit_operator_test.debug" as "build/install/bin/s3_emit_operator_test.debug"
      ...
      [2025/03/21 21:50:43.101] Files to save: build/install/bin/s3_emit_operator_test
      [2025/03/21 21:50:43.101] Direct Copy build/install/bin/s3_emit_operator_test to dist-unittests/bin/s3_emit_operator_test
      [2025/03/21 21:50:43.107] PDB Copy build/install/bin/s3_emit_operator_test to dist-unittests/bin/s3_emit_operator_test
      [2025/03/21 21:50:43.108] cp: cannot create regular file 'dist-unittests/bin/s3_emit_operator_test': Permission denied
      

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

              Created:
              Updated:
              Resolved:
              None
              None
              None
              None