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

Issue 1859013002: Copy cdb.exe into telemetry_chrome_test's isolate. (Closed)

Created:
4 years, 8 months ago by Ken Russell (switch to Gerrit)
Modified:
4 years, 8 months ago
CC:
chromium-reviews, telemetry-reviews_chromium.org, Vadim Sh., Dirk Pranke
Base URL:
https://chromium.googlesource.com/chromium/src.git@fix-windows-stack-symbolization
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Copy cdb.exe into telemetry_chrome_test's isolate. This binary needs to be available on the Swarming bots, but only Google employees and the bots have access to the hermetic Windows toolchain. Since the isolates are only built by these entities, only copy and bundle them in this situation. BUG=561763 R=scottmg@chromium.org, nednguyen@chromium.org TBR=maruel@chromium.org Committed: https://crrev.com/52685e82ecadd2824732bd6990b8c377142b8b81 Cr-Commit-Position: refs/heads/master@{#385880}

Patch Set 1 #

Total comments: 12

Patch Set 2 : Addressed review feedback from scottmg and maruel. #

Total comments: 2

Patch Set 3 : Put cdb.exe and their helper DLLs into a subdirectory. #

Patch Set 4 : Fixed permissions and dependencies. #

Patch Set 5 : Improve detection of whether to copy files thanks to dpranke@. #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+124 lines, -8 lines) Patch
A build/win/copy_cdb_to_output.py View 1 2 3 4 1 chunk +83 lines, -0 lines 1 comment Download
A + chrome/cdb.isolate View 1 2 4 1 chunk +3 lines, -3 lines 0 comments Download
M chrome/chrome_tests.gypi View 1 2 3 2 chunks +34 lines, -0 lines 0 comments Download
M tools/perf/chrome_telemetry_build/telemetry_chrome_test.isolate View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M tools/perf/core/stacktrace_unittest.py View 2 chunks +3 lines, -5 lines 0 comments Download

Messages

Total messages: 43 (17 generated)
Ken Russell (switch to Gerrit)
Please take a look. I'd like to know whether this approach is acceptable. Please see ...
4 years, 8 months ago (2016-04-05 04:32:56 UTC) #2
M-A Ruel
https://codereview.chromium.org/1859013002/diff/1/build/win/copy_cdb_to_output.py File build/win/copy_cdb_to_output.py (right): https://codereview.chromium.org/1859013002/diff/1/build/win/copy_cdb_to_output.py#newcode45 build/win/copy_cdb_to_output.py:45: vs_runtime_dll_dirs = vs_toolchain.SetEnvironmentAndGetRuntimeDllDirs() Does this work when it finds ...
4 years, 8 months ago (2016-04-05 10:41:07 UTC) #3
scottmg
https://codereview.chromium.org/1859013002/diff/1/build/win/copy_cdb_to_output.py File build/win/copy_cdb_to_output.py (right): https://codereview.chromium.org/1859013002/diff/1/build/win/copy_cdb_to_output.py#newcode31 build/win/copy_cdb_to_output.py:31: os.stat(target).st_mtime != os.stat(source).st_mtime)): +1 space on this line, otherwise ...
4 years, 8 months ago (2016-04-05 16:41:28 UTC) #4
nednguyen
https://codereview.chromium.org/1859013002/diff/20001/tools/perf/core/stacktrace_unittest.py File tools/perf/core/stacktrace_unittest.py (right): https://codereview.chromium.org/1859013002/diff/20001/tools/perf/core/stacktrace_unittest.py#newcode16 tools/perf/core/stacktrace_unittest.py:16: @decorators.Enabled('mac', 'linux') Enable this on win as well?
4 years, 8 months ago (2016-04-05 17:14:06 UTC) #5
Ken Russell (switch to Gerrit)
https://codereview.chromium.org/1859013002/diff/1/build/win/copy_cdb_to_output.py File build/win/copy_cdb_to_output.py (right): https://codereview.chromium.org/1859013002/diff/1/build/win/copy_cdb_to_output.py#newcode31 build/win/copy_cdb_to_output.py:31: os.stat(target).st_mtime != os.stat(source).st_mtime)): On 2016/04/05 16:41:28, scottmg wrote: > ...
4 years, 8 months ago (2016-04-05 17:18:10 UTC) #6
scottmg
build lgtm
4 years, 8 months ago (2016-04-05 17:21:11 UTC) #7
nednguyen
lgtm
4 years, 8 months ago (2016-04-05 17:24:39 UTC) #8
Ken Russell (switch to Gerrit)
This depends on https://codereview.chromium.org/1854413002/ rolling into Chromium; but once it does, this should pass try ...
4 years, 8 months ago (2016-04-06 00:59:16 UTC) #9
Ken Russell (switch to Gerrit)
On 2016/04/06 00:59:16, Ken Russell wrote: > This depends on https://codereview.chromium.org/1854413002/ rolling into > Chromium; ...
4 years, 8 months ago (2016-04-06 17:29:53 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1859013002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1859013002/40001
4 years, 8 months ago (2016-04-06 17:30:17 UTC) #14
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/165285) mac_chromium_rel_ng on tryserver.chromium.mac (JOB_FAILED, ...
4 years, 8 months ago (2016-04-06 17:35:51 UTC) #16
M-A Ruel
copy_cdb_to_output must not be referenced on OSX.
4 years, 8 months ago (2016-04-06 17:51:35 UTC) #17
Ken Russell (switch to Gerrit)
On 2016/04/06 17:51:35, M-A Ruel wrote: > copy_cdb_to_output must not be referenced on OSX. Fixed.
4 years, 8 months ago (2016-04-06 18:27:12 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1859013002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1859013002/60001
4 years, 8 months ago (2016-04-06 18:27:43 UTC) #21
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_compile_dbg_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_compile_dbg_ng/builds/170423)
4 years, 8 months ago (2016-04-06 19:33:05 UTC) #23
Ken Russell (switch to Gerrit)
dpranke@: thanks for your help earlier. Instead of writing a stamp file, just used the ...
4 years, 8 months ago (2016-04-06 23:25:29 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1859013002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1859013002/80001
4 years, 8 months ago (2016-04-06 23:26:23 UTC) #27
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/200944)
4 years, 8 months ago (2016-04-07 00:53:22 UTC) #29
David Yen
On 2016/04/07 00:53:22, commit-bot: I haz the power wrote: > Try jobs failed on following ...
4 years, 8 months ago (2016-04-07 01:38:43 UTC) #30
David Yen
On 2016/04/07 01:38:43, David Yen wrote: > On 2016/04/07 00:53:22, commit-bot: I haz the power ...
4 years, 8 months ago (2016-04-07 18:15:51 UTC) #31
Ken Russell (switch to Gerrit)
On 2016/04/07 18:15:51, David Yen wrote: > On 2016/04/07 01:38:43, David Yen wrote: > > ...
4 years, 8 months ago (2016-04-07 18:23:37 UTC) #32
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1859013002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1859013002/80001
4 years, 8 months ago (2016-04-07 18:40:28 UTC) #36
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 8 months ago (2016-04-07 21:37:33 UTC) #38
Dirk Pranke
https://codereview.chromium.org/1859013002/diff/80001/build/win/copy_cdb_to_output.py File build/win/copy_cdb_to_output.py (right): https://codereview.chromium.org/1859013002/diff/80001/build/win/copy_cdb_to_output.py#newcode20 build/win/copy_cdb_to_output.py:20: afile = open(file_name, 'rb') nit: you need to close() ...
4 years, 8 months ago (2016-04-07 21:38:39 UTC) #40
commit-bot: I haz the power
Patchset 5 (id:??) landed as https://crrev.com/52685e82ecadd2824732bd6990b8c377142b8b81 Cr-Commit-Position: refs/heads/master@{#385880}
4 years, 8 months ago (2016-04-07 21:39:14 UTC) #42
Ken Russell (switch to Gerrit)
4 years, 8 months ago (2016-04-07 21:53:02 UTC) #43
Message was sent while issue was closed.
On 2016/04/07 21:38:39, Dirk Pranke wrote:
>
https://codereview.chromium.org/1859013002/diff/80001/build/win/copy_cdb_to_o...
> File build/win/copy_cdb_to_output.py (right):
> 
>
https://codereview.chromium.org/1859013002/diff/80001/build/win/copy_cdb_to_o...
> build/win/copy_cdb_to_output.py:20: afile = open(file_name, 'rb')
> nit: you need to close() afile.

Oops, thanks for pointing that out. Fixing in
https://codereview.chromium.org/1873493003 .

Powered by Google App Engine
This is Rietveld 408576698