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

On Windows the collect_resource_info.py script throws IOError without creating system_resouce_info_{task_id}.json file if the path length is greater than MAX_PATH

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 3.5.13
    • Affects Version/s: 3.5.12
    • Component/s: Testing Infrastructure
    • None
    • Fully Compatible
    • ALL
    • TIG 2017-10-02

      It has been observed that if the path length of the file system_resource_info_${task_id}.json is greater than MAX_PATH (which is 260 on Windows) an IOError is thrown and the file is not created. Hence we do not collect system resource info.

      We see an example in this patch build: https://evergreen.mongodb.com/task/mongodb_mongo_master_windows_64_2k8_debug_off_replica_sets_resync_static_jscore_passthrough_MMAPv1_patch_5dcaad5f137eebc1915c0fc7b5078da4aa86f915_59a0ac00c9ec440568014dbc_17_08_25_23_02_04

      Since the file path generated with the task_id can be longer than 260, we've decided to shorten the file name to just system_resource_info.json.

            Assignee:
            eddie.louie Eddie Louie
            Reporter:
            eddie.louie Eddie Louie
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: