diff options
author | Yunlian Jiang <yunlian@google.com> | 2017-09-06 11:49:15 -0700 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2017-09-06 16:18:18 -0700 |
commit | 4260aae2fe0abb937543c6cafc44f68e99de7410 (patch) | |
tree | 463a7c840d12f53d3d713a04075c501a1491bbe9 /buildbot_test_toolchains.py | |
parent | 5a51638398691dee889202e043a42a30a6aef585 (diff) | |
download | toolchain-utils-4260aae2fe0abb937543c6cafc44f68e99de7410.tar.gz |
USE local lock for buildbot_test_toolchain.
Currently the AFE lock machanism for our nightly test is broken,
we use local lock as a workaround for now.
BUG=chromium:762589
TEST=Generate the crosperf command in another simple python file
with the same code. Run the generated command line on
crotomation2 and it goes though the locking machine stage.
Change-Id: Icd3132bc383b63aab6d6f5237a04348f11d8726d
Reviewed-on: https://chromium-review.googlesource.com/653213
Commit-Ready: Yunlian Jiang <yunlian@chromium.org>
Tested-by: Yunlian Jiang <yunlian@chromium.org>
Reviewed-by: Caroline Tice <cmtice@chromium.org>
Diffstat (limited to 'buildbot_test_toolchains.py')
-rwxr-xr-x | buildbot_test_toolchains.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/buildbot_test_toolchains.py b/buildbot_test_toolchains.py index 13596d2e..249b511c 100755 --- a/buildbot_test_toolchains.py +++ b/buildbot_test_toolchains.py @@ -219,7 +219,9 @@ class ToolchainComparator(object): crosperf = os.path.join(TOOLCHAIN_DIR, 'crosperf', 'crosperf') noschedv2_opts = '--noschedv2' if self._noschedv2 else '' command = ('{crosperf} --no_email=True --results_dir={r_dir} ' - '--json_report=True {noschedv2_opts} {exp_file}').format( + '--json_report=True {noschedv2_opts} {exp_file} ' + '--locks_dir=/usr/local/google/home/mobiletc-prebuild/locks ' + '--use_file_locks=True').format( crosperf=crosperf, r_dir=self._reports_dir, noschedv2_opts=noschedv2_opts, |