diff options
author | Yunlian Jiang <yunlian@google.com> | 2016-01-06 12:56:24 -0800 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2016-01-07 00:36:27 +0000 |
commit | 56f13765cdc7bb3f380ccbbc02b9af95af2e0592 (patch) | |
tree | 696fad4808115e7b5dde1d99ce5fee554b964c9b /buildbot_test_toolchains.py | |
parent | 5dd0459f8a7207ddcee26baa4917c2a6e20fba67 (diff) | |
download | toolchain-utils-56f13765cdc7bb3f380ccbbc02b9af95af2e0592.tar.gz |
toolchain-utils: check vanilla image before calling crosperf.
In some cases, the vanilla image builds finishes later than the
image from trybot, this could cause the nightly test job fail.
This CL makes sure the vanilla image is ready before calling
crosperf.
BUG=None
TEST=None
Change-Id: Id2f28717c5a8c6c6db0d6c2e240c687199ea6a7c
Reviewed-on: https://chrome-internal-review.googlesource.com/243618
Commit-Ready: Yunlian Jiang <yunlian@google.com>
Tested-by: Yunlian Jiang <yunlian@google.com>
Reviewed-by: Yunlian Jiang <yunlian@google.com>
Diffstat (limited to 'buildbot_test_toolchains.py')
-rwxr-xr-x | buildbot_test_toolchains.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/buildbot_test_toolchains.py b/buildbot_test_toolchains.py index b984fca7..ea6099b6 100755 --- a/buildbot_test_toolchains.py +++ b/buildbot_test_toolchains.py @@ -288,6 +288,9 @@ class ToolchainComparator(object): vanilla_image = self._ParseVanillaImage(trybot_image) nonafdo_image = self._ParseNonAFDOImage(trybot_image) + # The trybot image is ready here, in some cases, the vanilla image + # is not ready, so we need to make sure vanilla image is available. + buildbot_utils.WaitForImage(self._chromeos_root, vanilla_image) print('trybot_image: %s' % trybot_image) print('vanilla_image: %s' % vanilla_image) print('nonafdo_image: %s' % nonafdo_image) |