Uploaded image for project: 'MongoDB Command Line Tools'
  1. MongoDB Command Line Tools
  2. TOOLS-1605

Conditionally create a Windows job object in smoke.py

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.0.15, 3.2.13, 3.4.5, 3.6.0-rc0
    • Component/s: None
    • Labels:
      None
    • Backport Requested:
      v3.4, v3.2, v3.0
    • Documentation Changes:
      Not Needed
    • Sprint:
      TIG 2017-03-06

      Description

      smoke.py currently relies on creating its own job object to ensure the Python process spawned to log output to logkeeper and the mongod process buildlogger.py ends up spawning are both terminated. This prevents the Evergreen agent from creating its own job object for managing processes spawned by a task to ensure they are cleaned up reliably.

      We should adapt the changes from mongodb/mongo@dd6acd3 to

      • test/legacy24/buildscripts/smoke.py
      • test/legacy26/buildscripts/smoke.py
      • test/legacy28/buildscripts/smoke.py
      • test/qa-tests/buildscripts/smoke.py

      and set disable_cleanup to false on the master branch, the 3.4 branch, the 3.2 branch, and the 3.0 branch. Removing the disable_cleanup option is proposed in EVG-1362 and is highly desired in order guarantee that all Evergreen projects will have processes they spawned cleaned up before starting the next task.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                max.hirschhorn Max Hirschhorn
                Reporter:
                max.hirschhorn Max Hirschhorn
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: