diff options
author | cmtice <cmtice@google.com> | 2015-02-12 15:18:43 -0800 |
---|---|---|
committer | ChromeOS Commit Bot <chromeos-commit-bot@chromium.org> | 2015-02-14 04:27:26 +0000 |
commit | ce5ffa4249faa2f50f08c4168b61bb922381450f (patch) | |
tree | d5b8b3a413b3eab4bb4acdbe253862758427a223 /buildbot_test_toolchains.py | |
parent | 86cd5ab71d86a46853af6c25e5c98f8f15da6d5d (diff) | |
download | toolchain-utils-ce5ffa4249faa2f50f08c4168b61bb922381450f.tar.gz |
Add date to job descriptions; wait for pending builds.
Previously if a trybot job got put into a pending queue
rather than starting immediately, we didn't notice and
would end up using the previous day's trybot image. This
CL fixes that.
BUG=None
TEST=Ran successfully from role account.
Change-Id: I3dd2cf1edd639e562fa78769c86c99e4c51f3a0b
Reviewed-on: https://chrome-internal-review.googlesource.com/198610
Reviewed-by: Yunlian Jiang <yunlian@google.com>
Reviewed-by: Caroline Tice <cmtice@google.com>
Commit-Queue: Caroline Tice <cmtice@google.com>
Tested-by: Caroline Tice <cmtice@google.com>
Diffstat (limited to 'buildbot_test_toolchains.py')
-rw-r--r-- | buildbot_test_toolchains.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/buildbot_test_toolchains.py b/buildbot_test_toolchains.py index c83f9d83..d3b23003 100644 --- a/buildbot_test_toolchains.py +++ b/buildbot_test_toolchains.py @@ -10,6 +10,7 @@ well as copying the images into the seven-day reports directory. """ # Script to test different toolchains against ChromeOS benchmarks. +import datetime import optparse import os import sys @@ -187,8 +188,8 @@ class ToolchainComparator(): Launch trybot, get image names, create crosperf experiment file, run crosperf, and copy images into seven-day report directories. """ - - description = "master_%s_%s" % (USE_NEXT_GCC_PATCH, self._build) + date_str = datetime.date.today() + description = "master_%s_%s_%s" % (USE_NEXT_GCC_PATCH, self._build, date_str) trybot_image = buildbot_utils.GetTrybotImage(self._chromeos_root, self._build, [ USE_NEXT_GCC_PATCH ], |