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

Issue 1372723002: Empty per_page_values shouldn't imply test success (Closed)

Created:
5 years, 2 months ago by luqui
Modified:
5 years, 2 months ago
CC:
chromium-reviews, infra-reviews+build_chromium.org, kjellander-cc_chromium.org, stip+watch_chromium.org
Target Ref:
refs/heads/master
Project:
build
Visibility:
Public.

Description

Empty per_page_values shouldn't imply test success. The entire test harness failed which caused per_page_values to come back empty, so that the recipes found no concrete failures, and thus assumed that there was success. Now we pay attention to the return code explicitly, so that we will report failure in that case. Also changed default step_test_data for LocalTelemetryGPUTest to be passing instead of failing, which was nonsense. Depends on https://codereview.chromium.org/1366353002/ (starting on patchset 13, so inter-patch diffs won't work across that boundary) BUG=536192, 499940 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=296913

Patch Set 1 #

Patch Set 2 : Repro! #

Patch Set 3 : Made it easier to read the failing case #

Patch Set 4 : minimized test case #

Patch Set 5 : Something weird. Anyway actually minimized test case #

Patch Set 6 : More accurate minimal case #

Patch Set 7 : The fix! #

Patch Set 8 : Lint fixes #

Patch Set 9 : Renamed test to harness_failure #

Patch Set 10 : Default step_test_data for LocalTelemetryGPUTest is now passing #

Patch Set 11 : Added coverage for LocalTelemetryGPUTest suite failure #

Patch Set 12 : Fix harness_failure test #

Patch Set 13 : Rebased to depend on https://codereview.chromium.org/1366353002/ #

Total comments: 6

Patch Set 14 : Remove dead code #

Unified diffs Side-by-side diffs Delta from patch set Stats (+862 lines, -1595 lines) Patch
M scripts/slave/recipe_modules/chromium_tests/steps.py View 1 2 3 4 5 6 7 8 9 3 chunks +9 lines, -4 lines 0 comments Download
M scripts/slave/recipe_modules/test_utils/test_api.py View 1 2 3 4 5 6 7 8 1 chunk +16 lines, -9 lines 0 comments Download
M scripts/slave/recipes/chromium_trybot.py View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +19 lines, -0 lines 0 comments Download
A + scripts/slave/recipes/chromium_trybot.expected/telemetry_gpu_harness_failure.json View 1 2 3 4 5 6 7 8 9 10 11 12 18 chunks +140 lines, -241 lines 0 comments Download
M scripts/slave/recipes/chromium_trybot.expected/telemetry_gpu_with_results_but_bad_exit_code.json View 1 2 3 4 5 6 2 chunks +321 lines, -0 lines 0 comments Download
M scripts/slave/recipes/gpu/build_and_test.expected/killall_gnome_keyring_failure.json View 1 2 3 4 5 6 7 8 9 11 chunks +11 lines, -44 lines 0 comments Download
M scripts/slave/recipes/gpu/build_and_test.expected/linux_debug.json View 1 2 3 4 5 6 7 8 9 10 chunks +10 lines, -40 lines 0 comments Download
M scripts/slave/recipes/gpu/build_and_test.expected/linux_debug_blink.json View 1 2 3 4 5 6 7 8 9 10 chunks +10 lines, -40 lines 0 comments Download
M scripts/slave/recipes/gpu/build_and_test.expected/linux_debug_tryserver.json View 1 2 3 4 5 6 7 8 9 10 chunks +10 lines, -40 lines 0 comments Download
M scripts/slave/recipes/gpu/build_and_test.expected/linux_release.json View 1 2 3 4 5 6 7 8 9 10 chunks +10 lines, -40 lines 0 comments Download
M scripts/slave/recipes/gpu/build_and_test.expected/linux_release_blink.json View 1 2 3 4 5 6 7 8 9 10 chunks +10 lines, -40 lines 0 comments Download
M scripts/slave/recipes/gpu/build_and_test.expected/linux_release_fyi.json View 1 2 3 4 5 6 7 8 9 11 chunks +11 lines, -44 lines 0 comments Download
M scripts/slave/recipes/gpu/build_and_test.expected/linux_release_tryserver.json View 1 2 3 4 5 6 7 8 9 10 chunks +10 lines, -40 lines 0 comments Download
M scripts/slave/recipes/gpu/build_and_test.expected/mac_debug.json View 1 2 3 4 5 6 7 8 9 10 chunks +10 lines, -40 lines 0 comments Download
M scripts/slave/recipes/gpu/build_and_test.expected/mac_debug_blink.json View 1 2 3 4 5 6 7 8 9 10 chunks +10 lines, -40 lines 0 comments Download
M scripts/slave/recipes/gpu/build_and_test.expected/mac_debug_tryserver.json View 1 2 3 4 5 6 7 8 9 10 chunks +10 lines, -40 lines 0 comments Download
M scripts/slave/recipes/gpu/build_and_test.expected/mac_release.json View 1 2 3 4 5 6 7 8 9 10 chunks +10 lines, -40 lines 0 comments Download
M scripts/slave/recipes/gpu/build_and_test.expected/mac_release_blink.json View 1 2 3 4 5 6 7 8 9 10 chunks +10 lines, -40 lines 0 comments Download
M scripts/slave/recipes/gpu/build_and_test.expected/mac_release_git.json View 1 2 3 4 5 6 7 8 9 10 chunks +10 lines, -40 lines 0 comments Download
M scripts/slave/recipes/gpu/build_and_test.expected/mac_release_skip_checkout.json View 1 2 3 4 5 6 7 8 9 10 chunks +10 lines, -40 lines 0 comments Download
M scripts/slave/recipes/gpu/build_and_test.expected/mac_release_skip_compile.json View 1 2 3 4 5 6 7 8 9 10 chunks +10 lines, -40 lines 0 comments Download
M scripts/slave/recipes/gpu/build_and_test.expected/mac_release_tryserver.json View 1 2 3 4 5 6 7 8 9 10 chunks +10 lines, -40 lines 0 comments Download
M scripts/slave/recipes/gpu/build_and_test.expected/mac_release_tryserver_blink.json View 1 2 3 4 5 6 7 8 9 10 chunks +10 lines, -40 lines 0 comments Download
M scripts/slave/recipes/gpu/build_and_test.expected/win_debug.json View 1 2 3 4 5 6 7 8 9 10 chunks +10 lines, -40 lines 0 comments Download
M scripts/slave/recipes/gpu/build_and_test.expected/win_debug_blink.json View 1 2 3 4 5 6 7 8 9 10 chunks +10 lines, -40 lines 0 comments Download
M scripts/slave/recipes/gpu/build_and_test.expected/win_debug_tryserver.json View 1 2 3 4 5 6 7 8 9 10 chunks +10 lines, -40 lines 0 comments Download
M scripts/slave/recipes/gpu/build_and_test.expected/win_release.json View 1 2 3 4 5 6 7 8 9 10 chunks +10 lines, -40 lines 0 comments Download
M scripts/slave/recipes/gpu/build_and_test.expected/win_release_blink.json View 1 2 3 4 5 6 7 8 9 10 chunks +10 lines, -40 lines 0 comments Download
M scripts/slave/recipes/gpu/build_and_test.expected/win_release_fyi.json View 1 2 3 4 5 6 7 8 9 13 chunks +13 lines, -52 lines 0 comments Download
M scripts/slave/recipes/gpu/build_and_test.expected/win_release_tryserver.json View 1 2 3 4 5 6 7 8 9 10 chunks +10 lines, -40 lines 0 comments Download
M scripts/slave/recipes/gpu/download_and_test.py View 1 2 3 4 5 6 7 8 9 10 1 chunk +14 lines, -1 line 0 comments Download
M scripts/slave/recipes/gpu/download_and_test.expected/failures_keeps_going.json View 1 2 3 4 5 6 7 8 9 10 11 chunks +11 lines, -43 lines 0 comments Download
M scripts/slave/recipes/gpu/download_and_test.expected/linux_debug.json View 1 2 3 4 5 6 7 8 9 10 chunks +10 lines, -40 lines 0 comments Download
M scripts/slave/recipes/gpu/download_and_test.expected/linux_release.json View 1 2 3 4 5 6 7 8 9 10 chunks +10 lines, -40 lines 0 comments Download
M scripts/slave/recipes/gpu/download_and_test.expected/mac_debug.json View 1 2 3 4 5 6 7 8 9 10 chunks +10 lines, -40 lines 0 comments Download
M scripts/slave/recipes/gpu/download_and_test.expected/mac_release.json View 1 2 3 4 5 6 7 8 9 10 chunks +10 lines, -40 lines 0 comments Download
A + scripts/slave/recipes/gpu/download_and_test.expected/telemetry_gpu_test_harness_failure.json View 1 2 3 4 5 6 7 8 9 10 11 chunks +17 lines, -37 lines 0 comments Download
M scripts/slave/recipes/gpu/download_and_test.expected/win_debug.json View 1 2 3 4 5 6 7 8 9 10 chunks +10 lines, -40 lines 0 comments Download
M scripts/slave/recipes/gpu/download_and_test.expected/win_release.json View 1 2 3 4 5 6 7 8 9 10 chunks +10 lines, -40 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 17 (7 generated)
Sergey Berezin
lgtm
5 years, 2 months ago (2015-09-26 00:58:58 UTC) #2
luqui
ptal +sergiyb@, as you are the original author
5 years, 2 months ago (2015-09-26 02:23:20 UTC) #4
Sergiy Byelozyorov
https://codereview.chromium.org/1372723002/diff/230001/scripts/slave/recipes/chromium_trybot.py File scripts/slave/recipes/chromium_trybot.py (right): https://codereview.chromium.org/1372723002/diff/230001/scripts/slave/recipes/chromium_trybot.py#newcode8 scripts/slave/recipes/chromium_trybot.py:8: import json this is probably a debugging leftover, please ...
5 years, 2 months ago (2015-09-28 13:55:30 UTC) #5
luqui
https://codereview.chromium.org/1372723002/diff/230001/scripts/slave/recipes/chromium_trybot.py File scripts/slave/recipes/chromium_trybot.py (right): https://codereview.chromium.org/1372723002/diff/230001/scripts/slave/recipes/chromium_trybot.py#newcode8 scripts/slave/recipes/chromium_trybot.py:8: import json On 2015/09/28 13:55:29, Sergiy Byelozyorov wrote: > ...
5 years, 2 months ago (2015-09-28 17:33:35 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1372723002/250001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1372723002/250001
5 years, 2 months ago (2015-09-28 17:36:17 UTC) #9
commit-bot: I haz the power
Try jobs failed on following builders: build_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/build_presubmit/builds/2011)
5 years, 2 months ago (2015-09-28 17:44:40 UTC) #11
Sergiy Byelozyorov
lgtm
5 years, 2 months ago (2015-09-28 17:46:09 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1372723002/250001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1372723002/250001
5 years, 2 months ago (2015-09-28 18:10:28 UTC) #14
commit-bot: I haz the power
Committed patchset #14 (id:250001) as http://src.chromium.org/viewvc/chrome?view=rev&revision=296913
5 years, 2 months ago (2015-09-28 18:14:46 UTC) #15
Ken Russell (switch to Gerrit)
5 years, 2 months ago (2015-09-28 18:26:51 UTC) #17
Message was sent while issue was closed.
LGTM after the fact. Thank you for tracking this down and fixing it on such
short and urgent notice!

Powered by Google App Engine
This is Rietveld 408576698