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

burn_in_tests should provide a better error when an invalid build variant is specified

    • Fully Compatible
    • ALL
    • DAG 2021-05-17
    • 1

      Current if an invalid build variant is passed to burn_in_tests, it will display the following error:

        File "./buildscripts/burn_in_tests.py", line 560, in burn_in
          tests_by_task = create_tests_by_task(build_variant, self.evg_conf, changed_tests)
        File "./buildscripts/burn_in_tests.py", line 376, in create_tests_by_task
          if not evg_conf.get_variant(build_variant).is_enterprise_build():
      AttributeError: 'NoneType' object has no attribute 'is_enterprise_build'
      

      This isn't very clear to users what is going on. We should have a better error message if we cannot find the specified build variant.

            Assignee:
            carlos.anaya@mongodb.com Carlos Anaya (Inactive)
            Reporter:
            david.bradford@mongodb.com David Bradford (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: