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

Issue 11931015: Telemetry: fixes testGotTrace on old browsers. (Closed)

Created:
7 years, 11 months ago by bulach
Modified:
7 years, 10 months ago
Reviewers:
Xianzhu, Sami
CC:
chromium-reviews, chrome-speed-team+watch_google.com, pam+watch_chromium.org, telemetry+watch_chromium.org
Visibility:
Public.

Description

Telemetry: fixes testGotTrace on old browsers. Browsers built prior to r176905 don't support the tracing mechanism used by telemetry. Prevent the test from failing, since this is an expected scenario. BUG=170284 TEST=tools/telemetry/run_tests --browser=android-content-shell testGotTrace -vv Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=182317

Patch Set 1 #

Total comments: 2

Patch Set 2 : Alpha order #

Total comments: 2

Patch Set 3 : supports_tracing #

Patch Set 4 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -1 line) Patch
M tools/telemetry/telemetry/tracing_backend_unittest.py View 1 2 3 2 chunks +4 lines, -1 line 0 comments Download

Messages

Total messages: 23 (0 generated)
bulach
ptal
7 years, 11 months ago (2013-01-16 13:52:47 UTC) #1
Sami
lgtm. I was wondering if we need to close down the http server but looks ...
7 years, 11 months ago (2013-01-16 14:47:52 UTC) #2
bulach
thanks sami! alpha-sorted.. https://codereview.chromium.org/11931015/diff/1/tools/telemetry/telemetry/tracing_backend_unittest.py File tools/telemetry/telemetry/tracing_backend_unittest.py (right): https://codereview.chromium.org/11931015/diff/1/tools/telemetry/telemetry/tracing_backend_unittest.py#newcode5 tools/telemetry/telemetry/tracing_backend_unittest.py:5: import logging On 2013/01/16 14:47:52, Sami ...
7 years, 11 months ago (2013-01-16 15:05:49 UTC) #3
nduca
https://codereview.chromium.org/11931015/diff/2002/tools/telemetry/telemetry/tracing_backend_unittest.py File tools/telemetry/telemetry/tracing_backend_unittest.py (right): https://codereview.chromium.org/11931015/diff/2002/tools/telemetry/telemetry/tracing_backend_unittest.py#newcode28 tools/telemetry/telemetry/tracing_backend_unittest.py:28: try: better to check self._browser.supports_tracing instead of a try/catch ...
7 years, 11 months ago (2013-01-16 20:21:23 UTC) #4
bulach
hmm... this exception is only ever thrown when trying to StartTracing against an unsupported browser ...
7 years, 11 months ago (2013-01-17 09:28:50 UTC) #5
nduca
We do have a supports_tracing actually. And, your change should have made it onto canary ...
7 years, 11 months ago (2013-01-17 09:31:59 UTC) #6
nduca
But your point is also well made, I read this as a blanket catch, I ...
7 years, 11 months ago (2013-01-17 09:33:11 UTC) #7
bulach
gargh! :) my stupid memory, didn't recall we had "supports_tracing" already.. I can add an ...
7 years, 11 months ago (2013-01-17 11:28:25 UTC) #8
bulach
On 2013/01/17 11:28:25, bulach wrote: > gargh! :) my stupid memory, didn't recall we had ...
7 years, 11 months ago (2013-01-17 12:12:36 UTC) #9
bulach
nduca, sami: I'm not sure how this ever worked :-/ but here's the deal: TraceControllerImpl::OnEndTracingAck ...
7 years, 11 months ago (2013-01-17 14:21:31 UTC) #10
Sami
Could we write the clock sync event from TraceLog::SendToATrace when the first trace event is ...
7 years, 11 months ago (2013-01-17 15:28:49 UTC) #11
bulach
+wangxianzhu, hopefully he can answer sami's questions from #11 above :)
7 years, 11 months ago (2013-01-17 17:30:50 UTC) #12
nduca
Now that clank outputs into atrace, I think we can disable the writing of clock ...
7 years, 11 months ago (2013-01-17 19:36:31 UTC) #13
bulach
I think this blackhole is done: android trace fixed by https://codereview.chromium.org/12025014/ and version detection by: ...
7 years, 11 months ago (2013-01-25 22:04:28 UTC) #14
Sami
lgtm
7 years, 11 months ago (2013-01-25 22:30:03 UTC) #15
nduca
lgtm
7 years, 11 months ago (2013-01-26 00:25:22 UTC) #16
nduca
is this dead?
7 years, 10 months ago (2013-02-13 09:22:22 UTC) #17
bulach
argh! sorry, went under the radar... this is still valid, I'm CQing it.. however, the ...
7 years, 10 months ago (2013-02-13 16:20:22 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/bulach@chromium.org/11931015/12001
7 years, 10 months ago (2013-02-13 16:22:04 UTC) #19
commit-bot: I haz the power
Failed to apply patch for tools/telemetry/telemetry/tracing_backend_unittest.py: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
7 years, 10 months ago (2013-02-13 16:22:05 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/bulach@chromium.org/11931015/21001
7 years, 10 months ago (2013-02-13 18:19:24 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/bulach@chromium.org/11931015/21001
7 years, 10 months ago (2013-02-13 19:28:46 UTC) #22
commit-bot: I haz the power
7 years, 10 months ago (2013-02-13 22:10:11 UTC) #23
Message was sent while issue was closed.
Change committed as 182317

Powered by Google App Engine
This is Rietveld 408576698