Uploaded image for project: 'Evergreen'
  1. Evergreen
  2. EVG-80

agent processes abort signal incorrectly if received during patch apply phase

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: Backlog
    • Component/s: agent
    • Labels:
      None

      Description

      this task:

      https://mci.10gen.com/ui/task/mongodb_mongo_master_windows_64_3b97c0870427f676cf3ffbddabc5df8b1fa44fa5_14_05_23_16_14_46_compile_windows_64#/log/EV

      what happened was:

      • the task was running, and was in the process of applying the patch.
      • the abort signal was received during the patch apply step.
      • the agent received the abort signal, and stopped everything it was doing, but hung when making the final "finish" call to inform motu that it was stopping the task.
      • eventually the cleanup process noticed that heartbeats stopped coming in (since the agent had cancelled them) and reset the task.

      tl;dr - we need to make sure that the agent can gracefully handle the abort signal during any plugin step (this edge case likely affects other command besides git.apply_patch)

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                backlog-server-evg Backlog - Evergreen Team
                Reporter:
                mpobrien Michael O'Brien
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: