) for which the presubmit is failing due to missing coverage. It looks like it is affected by the recently submitted
, because when I restore the "DISABLE_STRICT_COVERAGE = True" line (removed in 496906), my CL passes the presubmit again.
I am having trouble understanding, however, how I am missing coverage in the first place. When I run
recipes.py test train
I get
Name Stmts Miss Cover Missing
-----------------------------------------------------------------------------------------------------------------------------------------
<snip>/src/chrome_infra/build/scripts/slave/recipe_modules/chromium_tests/api.py 422 2 99% 1046, 1068
-----------------------------------------------------------------------------------------------------------------------------------------
TOTAL 19272 2 99%
but if I add a print statement at e.g. line 1068 and run 'recipes.py test train' again, I can see that the print statement is sometimes executed, but I still get a warning about that line causing missing coverage. i.e. I get:
Name Stmts Miss Cover Missing
-----------------------------------------------------------------------------------------------------------------------------------------
<snip>/src/chrome_infra/build/scripts/slave/recipe_modules/chromium_tests/api.py 423 3 99% 1046, 1068-1069
-----------------------------------------------------------------------------------------------------------------------------------------
TOTAL
Can anyone give me some guidance about how to debug this supposed missing coverage?