|
|
Chromium Code Reviews
DescriptionPass time since profile was loaded and request count on each ListAccount request to Gaia.
This CL passes the following information on each ListAccount to Gaia:
* the count of each ListAccounts request
* the time passed since the profile was loaded and the moment the list
accounts request is started.
This information is needed to debug channel ID mismatches observed on
Gaia for request coming from Chrome.
Sample of list accounts request with the debug information:
"https://accounts.google.com/ListAccounts?gpsia=1&source=ChromiumAccountReconcilor,counter:0,load_time_ms:327&json=standard"
BUG=633256
Review-Url: https://codereview.chromium.org/2697563002
Cr-Commit-Position: refs/heads/master@{#454873}
Committed: https://chromium.googlesource.com/chromium/src/+/b728d6759a83ac8b0967f5b993ac090017cf9fe8
Patch Set 1 : Nit #
Total comments: 2
Patch Set 2 : Pass debug info as part of the source #Patch Set 3 : fix printf format #
Total comments: 2
Patch Set 4 : Fix unit tests #
Messages
Total messages: 55 (45 generated)
The CQ bit was checked by msarda@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: ios-simulator-xcode-clang on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-simulator-xco...)
The CQ bit was checked by msarda@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: linux_chromium_tsan_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_...)
The CQ bit was checked by msarda@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
Description was changed from ========== format Add debug info BUG= ========== to ========== Pass time since profile was loaded and request count on each ListAccount request to Gaia. This CL passes the following information on each ListAccount to Gaia: * the count of each ListAccounts request * the time passed since the profile was loaded and the moment the This information is needed to debug channel ID mismatches observed on Gaia for request coming from Chrome. BUG=633256 ==========
msarda@chromium.org changed reviewers: + vanupam@chromium.org
Vinod: Please take a look at this CL and let me know if this would help you debug the issue you are seeing.
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: ios-simulator on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-simulator/bui...)
The CQ bit was checked by msarda@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: ios-device on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-device/builds...)
https://codereview.chromium.org/2697563002/diff/80001/google_apis/gaia/gaia_a... File google_apis/gaia/gaia_auth_fetcher.cc (right): https://codereview.chromium.org/2697563002/diff/80001/google_apis/gaia/gaia_a... google_apis/gaia/gaia_auth_fetcher.cc:663: extra_headers, list_accounts_gurl_, list_accounts_gurl_ is assigned in the constructor via ListAccountsURLWithSource(source) which lets a source=xxx url param be set. Since this is a debugging-only change (hopefully, it will be reverted in the near term), instead of adding new headers (which will require server side changes to propagate into debug logs) can we append e.g. _counter_loadtime to the source param; (The source param value has no semantics in Gaia.)
I'll take a look and see how this can information can be added to the source parameter.
The CQ bit was checked by msarda@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: ios-device on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-device/builds...)
Description was changed from ========== Pass time since profile was loaded and request count on each ListAccount request to Gaia. This CL passes the following information on each ListAccount to Gaia: * the count of each ListAccounts request * the time passed since the profile was loaded and the moment the This information is needed to debug channel ID mismatches observed on Gaia for request coming from Chrome. BUG=633256 ========== to ========== Pass time since profile was loaded and request count on each ListAccount request to Gaia. This CL passes the following information on each ListAccount to Gaia: * the count of each ListAccounts request * the time passed since the profile was loaded and the moment the list accounts request is started. This information is needed to debug channel ID mismatches observed on Gaia for request coming from Chrome. Sample of list accounts request with the debug information: "https://accounts.google.com/ListAccounts?gpsia=1&source=ChromiumAccountReconcilor,counter:0,load_time_ms:327&json=standard" BUG=633256 ==========
The CQ bit was checked by msarda@chromium.org to run a CQ dry run
https://codereview.chromium.org/2697563002/diff/80001/google_apis/gaia/gaia_a... File google_apis/gaia/gaia_auth_fetcher.cc (right): https://codereview.chromium.org/2697563002/diff/80001/google_apis/gaia/gaia_a... google_apis/gaia/gaia_auth_fetcher.cc:663: extra_headers, list_accounts_gurl_, On 2017/02/15 03:08:28, vanupam wrote: > list_accounts_gurl_ is assigned in the constructor via > ListAccountsURLWithSource(source) which lets a source=xxx url param be set. > > Since this is a debugging-only change (hopefully, it will be reverted in the > near term), instead of adding new headers (which will require server side > changes to propagate into debug logs) can we append e.g. _counter_loadtime to > the source param; (The source param value has no semantics in Gaia.) Done.
Patchset #1 (id:1) has been deleted
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
Patchset #1 (id:20001) has been deleted
Patchset #1 (id:40001) has been deleted
Patchset #1 (id:60001) has been deleted
msarda@chromium.org changed reviewers: + rogerta@chromium.org
Roger: Please take a look at this CL.
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: ios-simulator on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-simulator/bui...) ios-simulator-xcode-clang on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-simulator-xco...)
The CQ bit was checked by msarda@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: linux_chromium_chromeos_ozone_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_...)
lgtm with comment below. https://codereview.chromium.org/2697563002/diff/120001/components/signin/core... File components/signin/core/browser/gaia_cookie_manager_service.cc (right): https://codereview.chromium.org/2697563002/diff/120001/components/signin/core... components/signin/core/browser/gaia_cookie_manager_service.cc:765: static int32_t list_accounts_request_counter = 0; Should make this a member of the class. If you have more than one profile loaded, all profiles will share this static value. Unless discontinuous number sequences don't matter.
The CQ bit was checked by msarda@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was checked by msarda@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
https://codereview.chromium.org/2697563002/diff/120001/components/signin/core... File components/signin/core/browser/gaia_cookie_manager_service.cc (right): https://codereview.chromium.org/2697563002/diff/120001/components/signin/core... components/signin/core/browser/gaia_cookie_manager_service.cc:765: static int32_t list_accounts_request_counter = 0; On 2017/03/01 13:42:37, Roger Tawa wrote: > Should make this a member of the class. If you have more than one profile > loaded, all profiles will share this static value. Unless discontinuous number > sequences don't matter. Done.
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
lgtm
The CQ bit was checked by msarda@chromium.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
CQ is committing da patch.
Bot data: {"patchset_id": 140001, "attempt_start_ts": 1488813443488930,
"parent_rev": "d6ecbaf377cb296924168a77832c80ef53c75667", "commit_rev":
"b728d6759a83ac8b0967f5b993ac090017cf9fe8"}
Message was sent while issue was closed.
Description was changed from ========== Pass time since profile was loaded and request count on each ListAccount request to Gaia. This CL passes the following information on each ListAccount to Gaia: * the count of each ListAccounts request * the time passed since the profile was loaded and the moment the list accounts request is started. This information is needed to debug channel ID mismatches observed on Gaia for request coming from Chrome. Sample of list accounts request with the debug information: "https://accounts.google.com/ListAccounts?gpsia=1&source=ChromiumAccountReconcilor,counter:0,load_time_ms:327&json=standard" BUG=633256 ========== to ========== Pass time since profile was loaded and request count on each ListAccount request to Gaia. This CL passes the following information on each ListAccount to Gaia: * the count of each ListAccounts request * the time passed since the profile was loaded and the moment the list accounts request is started. This information is needed to debug channel ID mismatches observed on Gaia for request coming from Chrome. Sample of list accounts request with the debug information: "https://accounts.google.com/ListAccounts?gpsia=1&source=ChromiumAccountReconcilor,counter:0,load_time_ms:327&json=standard" BUG=633256 Review-Url: https://codereview.chromium.org/2697563002 Cr-Commit-Position: refs/heads/master@{#454873} Committed: https://chromium.googlesource.com/chromium/src/+/b728d6759a83ac8b0967f5b993ac... ==========
Message was sent while issue was closed.
Committed patchset #4 (id:140001) as https://chromium.googlesource.com/chromium/src/+/b728d6759a83ac8b0967f5b993ac... |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
