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

Issue 2260063002: Speculative fix for a possible race. (Closed)

Created:
4 years, 4 months ago by achuithb
Modified:
4 years, 4 months ago
Reviewers:
nednguyen, James Cook
CC:
catapult-reviews_chromium.org, telemetry-reviews_chromium.org
Base URL:
https://github.com/catapult-project/catapult.git@master
Target Ref:
refs/heads/master
Project:
catapult
Visibility:
Public.

Description

Speculative fix for a possible race in browser restart. It's possible that the dbus-send takes an arbitrary long time to restart chrome, and we may "wait" for old chrome to come up rather than the new one. Check that the chrome pid has changed to ensure chrome has restarted before proceeding. Also additional logging on chromeos. BUG=chromium:631640 Committed: https://chromium.googlesource.com/external/github.com/catapult-project/catapult/+/d7888dd23836c24b2fb8ffa3f43d19256843bddd

Patch Set 1 #

Total comments: 2

Patch Set 2 : jamescook feedback #

Unified diffs Side-by-side diffs Delta from patch set Stats (+16 lines, -4 lines) Patch
M telemetry/telemetry/internal/backends/chrome/cros_browser_backend.py View 1 5 chunks +16 lines, -4 lines 0 comments Download

Messages

Total messages: 15 (7 generated)
achuithb
James, PTAL
4 years, 4 months ago (2016-08-19 00:18:34 UTC) #2
James Cook
LGTM with nit Also, can you update the CL title with something like "a race ...
4 years, 4 months ago (2016-08-19 00:23:59 UTC) #3
achuithb
https://codereview.chromium.org/2260063002/diff/1/telemetry/telemetry/internal/backends/chrome/cros_browser_backend.py File telemetry/telemetry/internal/backends/chrome/cros_browser_backend.py (right): https://codereview.chromium.org/2260063002/diff/1/telemetry/telemetry/internal/backends/chrome/cros_browser_backend.py#newcode57 telemetry/telemetry/internal/backends/chrome/cros_browser_backend.py:57: logging_patterns = ['chromeos/net/*', On 2016/08/19 00:23:59, James Cook (slow ...
4 years, 4 months ago (2016-08-19 00:46:35 UTC) #6
achuithb
On 2016/08/19 00:23:59, James Cook (slow reviews) wrote: > LGTM with nit > > Also, ...
4 years, 4 months ago (2016-08-19 00:46:47 UTC) #7
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/2260063002/40001
4 years, 4 months ago (2016-08-19 00:47:02 UTC) #10
achuithb
Ned, another rubberstamp please
4 years, 4 months ago (2016-08-19 00:49:04 UTC) #12
nednguyen
lgtm
4 years, 4 months ago (2016-08-19 00:52:55 UTC) #13
commit-bot: I haz the power
4 years, 4 months ago (2016-08-19 01:09:40 UTC) #15
Message was sent while issue was closed.
Committed patchset #2 (id:40001) as
https://chromium.googlesource.com/external/github.com/catapult-project/catapu...

Powered by Google App Engine
This is Rietveld 408576698