Uploaded image for project: 'MongoDB Database Tools'
  1. MongoDB Database Tools
  2. TOOLS-1215

Remove all files created by tests in a {{post}} task

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.3.8
    • Affects Version/s: None
    • Component/s: None
    • None
    • v3.2

      In Evergreen, tests should remove the files they create using a post command, possibly in addition to in a pre command.
      Currently, the cleanup happens in a pre command, but some projects don't run a cleanup in a pre command, and can have some trouble with files being left from a previous task.

      For example, this test filled up /data slice with 37G of data that caused disk space issues for the next tasks that were executed on the same box - https://evergreen.mongodb.com/task/mongo_tools_v3.2_ubuntu_race_qa_tests_885f45c3681e829f236784beb43cee902c9b4cd1_16_05_24_15_20_05

            Assignee:
            mikeo@mongodb.com Michael O'Brien
            Reporter:
            zakhar.kleyman@mongodb.com Zakhar Kleyman
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: