summaryrefslogtreecommitdiff
path: root/cbuildbot/stages/report_stages.py
diff options
context:
space:
mode:
authorAviv Keshet <akeshet@chromium.org>2014-09-02 13:46:54 -0700
committerchrome-internal-fetch <chrome-internal-fetch@google.com>2014-09-04 15:47:23 +0000
commitd8864f3be5fb2d6690abe0550da78b233c4ffc42 (patch)
treec326227b1a9646d81040542bee3cdb58efda4f53 /cbuildbot/stages/report_stages.py
parentaf650c9ab1bd8eb6b19bf4ae389427dffef8c3e6 (diff)
downloadchromite-d8864f3be5fb2d6690abe0550da78b233c4ffc42.tar.gz
cidb: use database timestamp everywhere
This CL causes start_time, finish_time, and CL action timestamp values to always use the current database time. This makes all time values stored in the database directly comparable. This CL also eliminates unneccesary code in cidb_integration_test now that the live databases have been migrated to schema version 11. BUG=None TEST=cidb_integration test; unit tests; remote trybot Change-Id: Ie066520dded26a0c6939b68112f7e41f4019115d Reviewed-on: https://chromium-review.googlesource.com/215993 Reviewed-by: Aviv Keshet <akeshet@chromium.org> Commit-Queue: Aviv Keshet <akeshet@chromium.org> Tested-by: Aviv Keshet <akeshet@chromium.org>
Diffstat (limited to 'cbuildbot/stages/report_stages.py')
-rw-r--r--cbuildbot/stages/report_stages.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/cbuildbot/stages/report_stages.py b/cbuildbot/stages/report_stages.py
index ab7881e1e..c3ba9178d 100644
--- a/cbuildbot/stages/report_stages.py
+++ b/cbuildbot/stages/report_stages.py
@@ -96,8 +96,6 @@ class BuildStartStage(generic_stages.BuilderStage):
build_number=d['build-number'],
build_config=d['bot-config'],
bot_hostname=d['bot-hostname'],
- start_time=cros_build_lib.ParseUserDateTimeFormat(
- d['time']['start']),
master_build_id=d['master_build_id'])
self._run.attrs.metadata.UpdateWithDict({'build_id': build_id,
'db_type': db_type})