Details
-
Bug
-
Resolution: Fixed
-
Major - P3
-
None
-
None
-
Fully Compatible
-
ALL
-
DAG 2021-05-17
-
1
Description
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.