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

Issue 205243003: [telemetry] Consolidate global hooks. (Closed)

Created:
6 years, 9 months ago by dtu
Modified:
6 years, 9 months ago
Reviewers:
nduca, jeremy, tonyg
CC:
chromium-reviews, telemetry+watch_chromium.org
Visibility:
Public.

Description

[telemetry] Consolidate global hooks. Move exception_formatter from top level to util/. Create util/global_hooks.py containing all these related things. Add two new hooks: - Stale .pyc check for base dir. - Print a stack trace on SIGTERM. BUG=None. TEST=None. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=259782

Patch Set 1 #

Patch Set 2 : Exit code -1 #

Patch Set 3 : Rebase! #

Patch Set 4 : Consolidate all global hooks #

Total comments: 2

Patch Set 5 : -1 #

Total comments: 10

Patch Set 6 : Comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+86 lines, -151 lines) Patch
M tools/telemetry/telemetry/__init__.py View 1 2 3 4 5 2 chunks +5 lines, -39 lines 0 comments Download
D tools/telemetry/telemetry/exception_formatter.py View 1 2 3 1 chunk +0 lines, -82 lines 0 comments Download
D tools/telemetry/telemetry/interactive_debugging.py View 1 2 3 1 chunk +0 lines, -20 lines 0 comments Download
M tools/telemetry/telemetry/page/page_runner.py View 1 2 3 2 chunks +1 line, -1 line 0 comments Download
M tools/telemetry/telemetry/test.py View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download
M tools/telemetry/telemetry/test_runner.py View 1 2 3 4 2 chunks +3 lines, -3 lines 0 comments Download
A + tools/telemetry/telemetry/util/exception_formatter.py View 1 2 3 1 chunk +0 lines, -4 lines 0 comments Download
A tools/telemetry/telemetry/util/global_hooks.py View 1 2 3 4 5 1 chunk +75 lines, -0 lines 0 comments Download

Messages

Total messages: 20 (0 generated)
dtu
I don't know if this will help with anything, but it can't hurt.
6 years, 9 months ago (2014-03-19 21:14:46 UTC) #1
tonyg
lgtm
6 years, 9 months ago (2014-03-20 00:20:29 UTC) #2
dtu
The CQ bit was checked by dtu@chromium.org
6 years, 9 months ago (2014-03-20 18:30:52 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dtu@chromium.org/205243003/20001
6 years, 9 months ago (2014-03-20 18:33:20 UTC) #4
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-20 18:33:25 UTC) #5
commit-bot: I haz the power
Failed to apply patch for tools/telemetry/telemetry/test_runner.py: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
6 years, 9 months ago (2014-03-20 18:33:25 UTC) #6
dtu
PTAL. Changed the focus of this patch to have more cleanup.
6 years, 9 months ago (2014-03-25 23:46:08 UTC) #7
tonyg
lgtm https://chromiumcodereview.appspot.com/205243003/diff/60001/tools/telemetry/telemetry/util/global_hooks.py File tools/telemetry/telemetry/util/global_hooks.py (right): https://chromiumcodereview.appspot.com/205243003/diff/60001/tools/telemetry/telemetry/util/global_hooks.py#newcode29 tools/telemetry/telemetry/util/global_hooks.py:29: sys.exit(1) -1?
6 years, 9 months ago (2014-03-26 01:35:17 UTC) #8
dtu
https://chromiumcodereview.appspot.com/205243003/diff/60001/tools/telemetry/telemetry/util/global_hooks.py File tools/telemetry/telemetry/util/global_hooks.py (right): https://chromiumcodereview.appspot.com/205243003/diff/60001/tools/telemetry/telemetry/util/global_hooks.py#newcode29 tools/telemetry/telemetry/util/global_hooks.py:29: sys.exit(1) On 2014/03/26 01:35:17, tonyg wrote: > -1? Done.
6 years, 9 months ago (2014-03-26 01:58:46 UTC) #9
jeremy
Very nice cleanup! Thanks for doing this! https://chromiumcodereview.appspot.com/205243003/diff/110001/tools/telemetry/telemetry/__init__.py File tools/telemetry/telemetry/__init__.py (right): https://chromiumcodereview.appspot.com/205243003/diff/110001/tools/telemetry/telemetry/__init__.py#newcode11 tools/telemetry/telemetry/__init__.py:11: I would ...
6 years, 9 months ago (2014-03-26 07:58:07 UTC) #10
dtu
https://chromiumcodereview.appspot.com/205243003/diff/110001/tools/telemetry/telemetry/__init__.py File tools/telemetry/telemetry/__init__.py (right): https://chromiumcodereview.appspot.com/205243003/diff/110001/tools/telemetry/telemetry/__init__.py#newcode11 tools/telemetry/telemetry/__init__.py:11: On 2014/03/26 07:58:08, jeremy wrote: > I would strongly ...
6 years, 9 months ago (2014-03-26 20:08:16 UTC) #11
jeremy
LGTM++
6 years, 9 months ago (2014-03-26 20:10:48 UTC) #12
nduca
lgtm
6 years, 9 months ago (2014-03-26 20:49:53 UTC) #13
dtu
The CQ bit was checked by dtu@chromium.org
6 years, 9 months ago (2014-03-26 22:07:43 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dtu@chromium.org/205243003/180001
6 years, 9 months ago (2014-03-26 22:08:04 UTC) #15
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-27 00:36:36 UTC) #16
commit-bot: I haz the power
Retried try job too often on win_x64_rel for step(s) base_unittests, chrome_elf_unittests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_x64_rel&number=88565
6 years, 9 months ago (2014-03-27 00:36:37 UTC) #17
dtu
The CQ bit was checked by dtu@chromium.org
6 years, 9 months ago (2014-03-27 00:45:05 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dtu@chromium.org/205243003/180001
6 years, 9 months ago (2014-03-27 00:45:57 UTC) #19
commit-bot: I haz the power
6 years, 9 months ago (2014-03-27 04:26:19 UTC) #20
Message was sent while issue was closed.
Change committed as 259782

Powered by Google App Engine
This is Rietveld 408576698