Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-42913

Use pre_error_fails_task in etc/evergreen.yml

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 4.3.1
    • None
    • Testing Infrastructure
    • None
    • Fully Compatible
    • DAG 2019-09-09
    • 2

    Description

      In Evergreen, 'pre' tasks are tasks that run at the start of all task execution. However, failures in these tasks are silently ignored by default. This can lead to tasks being in different states when they run if any of the 'pre' tasks fail.

      Evergreen has an option, pre_error_fails_task, that will cause failure in the 'pre' tasks to fail the task execution. Enabling this will allow us to avoid running tasks in a different state than they normally would be.


      As a server engineer,
      I want 'pre_error_fails_task' to be enabled in the evergreen configuration,
      So that I can know my tasks are running in a consistent state.


      AC:

      • pre_error_fails_task is enabled in etc/evergreen.yml.

      Attachments

        Activity

          People

            lydia.stepanek@mongodb.com Lydia Stepanek (Inactive)
            david.bradford@mongodb.com David Bradford (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: