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

generate.tasks hangs instead of erroring out when there are duplicated task names

    XMLWordPrintable

    Details

    • Type: Build Failure
    • Status: Open
    • Priority: Major - P3
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: current_quarter
    • Component/s: app
    • Labels:
      None

      Description

      Here is the example of the issue: https://spruce.mongodb.com/task/mongodb_mongo_master_stm_daily_cron_powercycle_smoke_skip_compile_gen_patch_a56d19b3cd567c1fed816f75f358b72fcb88841b_609297a2e3c3314cfded6293_21_05_05_13_03_32/logs?execution=0

      Json file that was passed to generate.tasks command is attached. It contains display_task with name powercycle_smoke_skip_compile on stm-daily-cron buildvariant.

      At the same time there was the following buildvariant configuration in evergreen.yml:

      - name: stm-daily-cron
        modules:
        - enterprise
        display_name: "~ STM Daily Cron"
        run_on:
        - rhel80-small
        expansions:
          multiversion_platform: rhel80
          multiversion_edition: enterprise
        stepback: false
        tasks:
        - name: lint_fuzzer_sanity_all
        - name: powercycle_smoke_skip_compile_gen
        - name: powercycle_smoke_skip_compile
      

      It took time to figure out the task name duplication, so it would be convenient if the generate.tasks command error out on this.

        Attachments

          Activity

            People

            Assignee:
            annie.black Annie Black
            Reporter:
            mikhail.shchatko Mikhail Shchatko
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

              Dates

              Created:
              Updated: