Release artifact tasks fail before checkout with custom build version overrides

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 9.0.2
    • Affects Version/s: None
    • Component/s: None
    • DevProd Build
    • Fully Compatible
    • ALL
    • 200
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Overview

      Release artifact tasks can system-fail before source checkout when custom build version overrides are configured.

      Background

      BF-45945 showed that the shared get and apply version expansions function invoked src/evergreen/custom_builds/set_version_override.sh before the src checkout. The script therefore exited with code 127, and the subsequent post-task failures were cascading failures.

      Scope of Work

      • Keep the source-dependent custom version override out of the shared pre-checkout version-expansion function.
      • Apply the override after checkout and virtual-environment setup in the custom-build, package-test, and compile task paths.
      • Add regression coverage for the Evergreen command ordering.

      Acceptance Criteria

      • The affected release artifact task paths no longer invoke a repository script before source checkout.
      • Custom-build package tests and delivery paths continue to use the overridden version.
      • The ordering regression test passes.
      • The change is backported to v9.0.

      References

            Assignee:
            Daniel Moody
            Reporter:
            Daniel Moody
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: