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

Issue 1838863002: Change telemetry run_tests.py to prefetch all binaries before tests in parallel (Closed)

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

Description

Change telemetry run_tests.py to prefetch all binaries before tests in parallel This also set DISABLE_CLOUD_STORAGE_IO to '1' in each subprocess of telemetry's run_tests.py to make sure that telemetry don't try to download files in parallel which has created deadlock/Os permission errors. BUG=chromium:580919 Committed: https://chromium.googlesource.com/external/github.com/catapult-project/catapult/+/f0d8b9cd7219ed054e1229a8724b7d96a813b557

Patch Set 1 #

Total comments: 9

Patch Set 2 : Support 1 & '1' for DISABLE_CLOUD_STORAGE_IO #

Patch Set 3 : Make sure to also fetch client configs #

Total comments: 2

Patch Set 4 : Switch Os & Arch #

Total comments: 1

Patch Set 5 : Fix some of the tests #

Patch Set 6 : Make fetch_reference_chrome_binary an argument of FetchBinaryDependencies #

Patch Set 7 : Remove unnecessary change #

Patch Set 8 : Fix bug in DependencyManager.PrefetchPaths #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+87 lines, -28 lines) Patch
M catapult_base/catapult_base/cloud_storage.py View 2 3 4 1 chunk +7 lines, -1 line 0 comments Download
M dependency_manager/dependency_manager/__init__.py View 1 chunk +1 line, -0 lines 0 comments Download
M dependency_manager/dependency_manager/manager.py View 1 2 3 4 5 6 7 1 chunk +3 lines, -3 lines 1 comment Download
M telemetry/telemetry/internal/util/binary_manager.py View 1 2 3 4 5 4 chunks +54 lines, -7 lines 0 comments Download
M telemetry/telemetry/internal/util/binary_manager_unittest.py View 1 2 3 4 5 chunks +8 lines, -17 lines 0 comments Download
M telemetry/telemetry/testing/run_tests.py View 1 2 3 4 5 4 chunks +14 lines, -0 lines 0 comments Download

Messages

Total messages: 27 (9 generated)
nednguyen
https://codereview.chromium.org/1838863002/diff/1/catapult_base/catapult_base/cloud_storage.py File catapult_base/catapult_base/cloud_storage.py (right): https://codereview.chromium.org/1838863002/diff/1/catapult_base/catapult_base/cloud_storage.py#newcode142 catapult_base/catapult_base/cloud_storage.py:142: disable_cloud_storage_env_val) Reviewers: I initially set os.environ[DISABLE_CLOUD_STORAGE_IO] to 1 and ...
4 years, 8 months ago (2016-03-28 17:41:06 UTC) #3
aiolos (Not reviewing)
https://codereview.chromium.org/1838863002/diff/1/catapult_base/catapult_base/cloud_storage.py File catapult_base/catapult_base/cloud_storage.py (right): https://codereview.chromium.org/1838863002/diff/1/catapult_base/catapult_base/cloud_storage.py#newcode142 catapult_base/catapult_base/cloud_storage.py:142: disable_cloud_storage_env_val) On 2016/03/28 17:41:06, nednguyen wrote: > Reviewers: I ...
4 years, 8 months ago (2016-03-28 19:08:32 UTC) #4
nednguyen
https://codereview.chromium.org/1838863002/diff/1/catapult_base/catapult_base/cloud_storage.py File catapult_base/catapult_base/cloud_storage.py (right): https://codereview.chromium.org/1838863002/diff/1/catapult_base/catapult_base/cloud_storage.py#newcode142 catapult_base/catapult_base/cloud_storage.py:142: disable_cloud_storage_env_val) On 2016/03/28 19:08:32, aiolos wrote: > On 2016/03/28 ...
4 years, 8 months ago (2016-03-28 19:32:57 UTC) #5
aiolos (Not reviewing)
https://codereview.chromium.org/1838863002/diff/40001/telemetry/telemetry/internal/util/binary_manager.py File telemetry/telemetry/internal/util/binary_manager.py (right): https://codereview.chromium.org/1838863002/diff/40001/telemetry/telemetry/internal/util/binary_manager.py#newcode83 telemetry/telemetry/internal/util/binary_manager.py:83: target_platform = '%s_%s' % (platform.GetArchName(), platform.GetOSName()) should be <os_name>_<arch_name> ...
4 years, 8 months ago (2016-03-28 20:25:10 UTC) #6
nednguyen
https://codereview.chromium.org/1838863002/diff/40001/telemetry/telemetry/internal/util/binary_manager.py File telemetry/telemetry/internal/util/binary_manager.py (right): https://codereview.chromium.org/1838863002/diff/40001/telemetry/telemetry/internal/util/binary_manager.py#newcode83 telemetry/telemetry/internal/util/binary_manager.py:83: target_platform = '%s_%s' % (platform.GetArchName(), platform.GetOSName()) On 2016/03/28 20:25:09, ...
4 years, 8 months ago (2016-03-28 21:02:59 UTC) #7
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1838863002/50001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1838863002/50001
4 years, 8 months ago (2016-03-28 22:23:36 UTC) #9
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: Catapult Windows Tryserver on master.tryserver.client.catapult (JOB_FAILED, https://build.chromium.org/p/tryserver.client.catapult/builders/Catapult%20Windows%20Tryserver/builds/2435)
4 years, 8 months ago (2016-03-28 22:28:28 UTC) #11
nednguyen
On 2016/03/28 22:23:36, commit-bot: I haz the power wrote: > Dry run: CQ is trying ...
4 years, 8 months ago (2016-03-28 22:28:55 UTC) #12
aiolos (Not reviewing)
> Besides the fact that os.environ can only accept strings as value, the two > ...
4 years, 8 months ago (2016-03-28 22:39:45 UTC) #13
nednguyen
On 2016/03/28 22:39:45, aiolos wrote: > > Besides the fact that os.environ can only accept ...
4 years, 8 months ago (2016-03-28 22:45:01 UTC) #14
nednguyen
On 2016/03/28 22:45:01, nednguyen wrote: > On 2016/03/28 22:39:45, aiolos wrote: > > > Besides ...
4 years, 8 months ago (2016-03-28 23:08:12 UTC) #15
nednguyen
On 2016/03/28 23:08:12, nednguyen wrote: > On 2016/03/28 22:45:01, nednguyen wrote: > > On 2016/03/28 ...
4 years, 8 months ago (2016-03-28 23:32:14 UTC) #16
aiolos (Not reviewing)
> I make "fetch_reference_chrome_binary" an argument to FetchBinaryDependencies > which probably address this issue. Nice. ...
4 years, 8 months ago (2016-03-29 00:13:10 UTC) #17
nednguyen
https://codereview.chromium.org/1838863002/diff/130001/dependency_manager/dependency_manager/manager.py File dependency_manager/dependency_manager/manager.py (right): https://codereview.chromium.org/1838863002/diff/130001/dependency_manager/dependency_manager/manager.py#newcode155 dependency_manager/dependency_manager/manager.py:155: if missing_deps: Here is the bug
4 years, 8 months ago (2016-03-29 03:14:06 UTC) #18
nednguyen
On 2016/03/29 00:13:10, aiolos wrote: > > I make "fetch_reference_chrome_binary" an argument to FetchBinaryDependencies > ...
4 years, 8 months ago (2016-03-29 03:15:51 UTC) #19
aiolos (Not reviewing)
lgtm
4 years, 8 months ago (2016-03-29 20:56:18 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1838863002/130001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1838863002/130001
4 years, 8 months ago (2016-03-29 20:56:52 UTC) #25
commit-bot: I haz the power
4 years, 8 months ago (2016-03-29 21:10:52 UTC) #27
Message was sent while issue was closed.
Committed patchset #8 (id:130001) as
https://chromium.googlesource.com/external/github.com/catapult-project/catapu...

Powered by Google App Engine
This is Rietveld 408576698