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

Conditionally create a Windows job object in smoke.py

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.0.15, 3.2.13, 3.4.5, 3.6.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
    • TIG 2017-03-06
    • Not Needed
    • v3.4, v3.2, v3.0

      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.

            max.hirschhorn@mongodb.com Max Hirschhorn
            max.hirschhorn@mongodb.com Max Hirschhorn
            0 Vote for this issue
            2 Start watching this issue