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

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

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 3.3.8
    • None
    • None
    • v3.2

    Description

      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

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: