test_results_presentation.py fails with python error |
||
Issue description
Traceback (most recent call last):
File "/b/build_internal/scripts/slave/.recipe_deps/build/scripts/slave/recipe_modules/chromium_android/resources/test_results_presentation.py", line 154, in <module>
sys.exit(main())
File "/b/build_internal/scripts/slave/.recipe_deps/build/scripts/slave/recipe_modules/chromium_android/resources/test_results_presentation.py", line 147, in main
args.master_name)
File "/b/build_internal/scripts/slave/.recipe_deps/build/scripts/slave/recipe_modules/chromium_android/resources/test_results_presentation.py", line 36, in result_details
return results_to_html(results_list, cs_base_url, master_name)
File "/b/build_internal/scripts/slave/.recipe_deps/build/scripts/slave/recipe_modules/chromium_android/resources/test_results_presentation.py", line 101, in results_to_html
if suites_summary[FAIL_COUNT]['data'] > 0:
UnboundLocalError: local variable 'FAIL_COUNT' referenced before assignment
,
Aug 26 2016
Assigning to hzl@ Suspecting that this bug was caused by either https://codereview.chromium.org/2224173002 or https://codereview.chromium.org/2252603002
,
Aug 27 2016
,
Aug 27 2016
Thanks for pointing it out and I just created a fix cl. However I suspect that no test has been run at all in this case. Is that something we want by design? |
||
►
Sign in to add a comment |
||
Comment 1 by pkotw...@chromium.org
, Aug 26 2016