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

compile_ninja_quick Evergreen task is no longer running on required Amazon Linux 2 build variant

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Testing Infrastructure
    • None
    • Build
    • ALL

      This was caused by the changes from 41077f8 as part of SERVER-97696. The YAML syntax

      tasks:
        - name: compile_ninja_quick_TG
            - amazon2-arm64-latest-nvme
      

      is interpreted as the combined string

      {'tasks': [{'name': 'compile_ninja_quick_TG - amazon2-arm64-latest-nvme'}]}
      

      It looks like this isn't considered an error despite not being the name of an Evergreen task. Perhaps it is being interpreted as an Evergreen task tag selector instead?

      $ evergreen validate etc/evergreen.yml
      ...
      WARNING: buildvariant 'amazon-linux2-arm64-static-compile' has unmatched selector: 'compile_ninja_quick_TG - amazon2-arm64-latest-nvme', '.release_critical .requires_compile_variant .requires_large_host !.incompatible_development_variant !.stitch !.crypt', '.default .requires_compile_variant .requires_large_host !.incompatible_development_variant'
      WARNING: buildvariant 'amazon-linux2-arm64-static-compile' has unmatched criteria: '-', 'amazon2-arm64-latest-nvme'
      

      Hopefully we can additionally improve the Evergreen YAML project configuration validation rules to avoid these kind of mistakes.

            Assignee:
            Unassigned Unassigned
            Reporter:
            max.hirschhorn@mongodb.com Max Hirschhorn
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: