-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Major - P3
-
Affects Version/s: None
-
Component/s: Testing Infrastructure
-
None
-
Fully Compatible
-
ALL
-
DAG 2021-05-17
-
1
-
None
-
None
-
None
-
None
-
None
-
None
-
None
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.