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:
It took time to figure out the task name duplication, so it would be convenient if the generate.tasks command error out on this.