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

Download debug symbols in resmoke hang analyzer

    XMLWordPrintable

Details

    • Fully Compatible
    • STM 2021-03-22, STM 2021-04-05, STM 2021-04-19, STM 2021-05-03
    • 3

    Description

      Currently we spend about 6 min wall clock time in every Evergreen build waiting for debug symbols to be archived and blocking execution of all JS tasks.

      The archives are only used if the task fails, which is relatively rare. We should therefore conditionally wait for debug symbols only when a resmoke task fails or times out.

      Impl sketch:

      1. Update multiversion setup to support downloading from patch builds
        1. When resmoke tries to run the hang analyzer, it should first check if the debug symbols are available and if not, retry downloading the debug symbols for up to 15 minutes since resmoke is first started. This only needs to be done if resmoke is running in Evergreen and it detects running mongod, mongos, or mongo processes. Some tests are run through resmoke but don't depend on compile or debug symbols.
        2. The resmoke start time needs to be persisted to disk like what Genny does since the hang analyzer is called on a separate resmoke instance.

      Attachments

        Issue Links

          Activity

            People

              siran.wang@mongodb.com Siran Wang (Inactive)
              robert.guo@mongodb.com Robert Guo
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: