Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(67)

Issue 2806363004: Enable strict coverage for step module (Closed)

Created:
3 years, 8 months ago by Paweł Hajdan Jr.
Modified:
3 years, 8 months ago
Reviewers:
iannucci1, iannucci
CC:
chromium-reviews, infra-reviews+recipes-py_chromium.org
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Patch Set 1 #

Total comments: 2

Patch Set 2 : presubmit #

Patch Set 3 : review #

Unified diffs Side-by-side diffs Delta from patch set Stats (+175 lines, -300 lines) Patch
M recipe_engine/loader.py View 1 2 2 chunks +23 lines, -11 lines 0 comments Download
M recipe_engine/unittests/run_test.py View 1 2 4 chunks +4 lines, -4 lines 0 comments Download
M recipe_modules/step/__init__.py View 1 chunk +0 lines, -7 lines 0 comments Download
A recipe_modules/step/tests/active_result.py View 1 chunk +17 lines, -0 lines 0 comments Download
A recipe_modules/step/tests/active_result.expected/basic.json View 1 chunk +17 lines, -0 lines 0 comments Download
A + recipe_modules/step/tests/defer.py View 0 chunks +-1 lines, --1 lines 0 comments Download
A + recipe_modules/step/tests/defer.expected/basic.json View 0 chunks +-1 lines, --1 lines 0 comments Download
A + recipe_modules/step/tests/defer.expected/one_fail.json View 0 chunks +-1 lines, --1 lines 0 comments Download
A + recipe_modules/step/tests/nested.py View 0 chunks +-1 lines, --1 lines 0 comments Download
A + recipe_modules/step/tests/nested.expected/basic.json View 0 chunks +-1 lines, --1 lines 0 comments Download
A recipe_modules/step/tests/stdio.py View 1 chunk +33 lines, -0 lines 0 comments Download
A recipe_modules/step/tests/stdio.expected/basic.json View 1 chunk +32 lines, -0 lines 0 comments Download
A + recipe_modules/step/tests/subannotations.py View 1 1 chunk +3 lines, -1 line 0 comments Download
A + recipe_modules/step/tests/subannotations.expected/basic.json View 0 chunks +-1 lines, --1 lines 0 comments Download
A recipe_modules/step/tests/timeout.py View 1 chunk +34 lines, -0 lines 0 comments Download
A recipe_modules/step/tests/timeout.expected/timeout.json View 1 chunk +20 lines, -0 lines 0 comments Download
A + recipe_modules/step/tests/trigger.py View 0 chunks +-1 lines, --1 lines 0 comments Download
A + recipe_modules/step/tests/trigger.expected/basic.json View 0 chunks +-1 lines, --1 lines 0 comments Download
D recipes/engine_tests/subannotations.py View 1 chunk +0 lines, -12 lines 0 comments Download
D recipes/engine_tests/subannotations.expected/basic.json View 1 chunk +0 lines, -22 lines 0 comments Download
D recipes/engine_tests/trigger.py View 1 chunk +0 lines, -28 lines 0 comments Download
D recipes/engine_tests/trigger.expected/basic.json View 1 chunk +0 lines, -21 lines 0 comments Download
D recipes/example/defer.py View 1 chunk +0 lines, -26 lines 0 comments Download
D recipes/example/defer.expected/basic.json View 1 chunk +0 lines, -21 lines 0 comments Download
D recipes/example/defer.expected/one_fail.json View 1 chunk +0 lines, -26 lines 0 comments Download
D recipes/example/nested.py View 1 chunk +0 lines, -41 lines 0 comments Download
D recipes/example/nested.expected/basic.json View 1 chunk +0 lines, -88 lines 0 comments Download

Messages

Total messages: 21 (14 generated)
iannucci1
lgtm w/ test name change https://codereview.chromium.org/2806363004/diff/1/recipe_engine/loader.py File recipe_engine/loader.py (right): https://codereview.chromium.org/2806363004/diff/1/recipe_engine/loader.py#newcode245 recipe_engine/loader.py:245: recipe_path = os.path.join(module_dir, 'tests', ...
3 years, 8 months ago (2017-04-11 20:06:27 UTC) #8
Paweł Hajdan Jr.
3 years, 8 months ago (2017-04-11 20:06:29 UTC) #10
Paweł Hajdan Jr.
https://codereview.chromium.org/2806363004/diff/1/recipe_engine/loader.py File recipe_engine/loader.py (right): https://codereview.chromium.org/2806363004/diff/1/recipe_engine/loader.py#newcode245 recipe_engine/loader.py:245: recipe_path = os.path.join(module_dir, 'tests', recipe_name + '.py') On 2017/04/11 ...
3 years, 8 months ago (2017-04-11 20:14:01 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2806363004/40001
3 years, 8 months ago (2017-04-11 20:14:12 UTC) #16
commit-bot: I haz the power
Committed patchset #3 (id:40001) as https://github.com/luci/recipes-py/commit/3bd327959845d8cb93d1987b3da790a20384a1e1
3 years, 8 months ago (2017-04-11 20:17:58 UTC) #19
iannucci
lgtm
3 years, 8 months ago (2017-04-11 20:18:44 UTC) #20
Paweł Hajdan Jr.
3 years, 8 months ago (2017-04-11 20:38:41 UTC) #21
Message was sent while issue was closed.
A revert of this CL (patchset #3 id:40001) has been created in
https://codereview.chromium.org/2814873002/ by phajdan.jr@chromium.org.

The reason for reverting is: Fails downstream, e.g. build:

Exception: While generating results for
'swarming:tests/results_merger_unittest': TypeError: 'NoneType' object is not
callable

Looks like it's picking up unrelated swarming tests....

Powered by Google App Engine
This is Rietveld 408576698