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

Issue 23726017: Telemetry: Catch LookupError exception and mark as failure. (Closed)

Created:
7 years, 3 months ago by Dominik Grewe
Modified:
7 years, 3 months ago
Reviewers:
bulach, dtu
CC:
chromium-reviews, chrome-speed-team+watch_google.com, telemetry+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Telemetry: Catch LookupError exception and mark as failure. Because the smoothness measurement may throw LookupError exceptions, PageRunner::_RunPage() catches those and reports a failure. Before, this exception wasn't caught and thus caused Telemetry to crash. BUG=238864 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=220977

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -1 line) Patch
M tools/telemetry/telemetry/page/page_runner.py View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 6 (0 generated)
Dominik Grewe
PTAL, thanks.
7 years, 3 months ago (2013-09-03 14:25:29 UTC) #1
bulach
lgtm, thanks!
7 years, 3 months ago (2013-09-03 14:33:20 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dominikg@chromium.org/23726017/1
7 years, 3 months ago (2013-09-03 14:35:13 UTC) #3
commit-bot: I haz the power
Change committed as 220977
7 years, 3 months ago (2013-09-03 18:05:42 UTC) #4
dtu
We don't want to catch all LookupErrors here, because it's a built-in Python exception. Instead, ...
7 years, 3 months ago (2013-09-03 19:30:23 UTC) #5
Dominik Grewe
7 years, 3 months ago (2013-09-04 16:49:11 UTC) #6
Message was sent while issue was closed.
On 2013/09/03 19:30:23, Dave Tu wrote:
> We don't want to catch all LookupErrors here, because it's a built-in Python
> exception. Instead, we should make smoothness throw an Error that subclasses
> page_test.Failure.

I agree, good point. I'll upload a new CL.

Powered by Google App Engine
This is Rietveld 408576698