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

Side by Side Diff: appengine/findit/waterfall/process_swarming_task_result_pipeline.py

Issue 2187763004: [Findit] Refactor Findit pipeline. (Closed) Base URL: https://chromium.googlesource.com/infra/infra.git@master
Patch Set: rebase Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 # Copyright 2016 The Chromium Authors. All rights reserved. 1 # Copyright 2016 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 from collections import defaultdict 5 from collections import defaultdict
6 import datetime 6 import datetime
7 import logging 7 import logging
8 import time 8 import time
9 9
10 from common.http_client_appengine import HttpClientAppengine as HttpClient 10 from common.http_client_appengine import HttpClientAppengine as HttpClient
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after
137 break # Stops the loop and return. 137 break # Stops the loop and return.
138 138
139 # Update swarming task metadate. 139 # Update swarming task metadate.
140 task = WfSwarmingTask.Get( 140 task = WfSwarmingTask.Get(
141 master_name, builder_name, build_number, step_name) 141 master_name, builder_name, build_number, step_name)
142 task.created_time = _ConvertDateTime(data.get('created_ts')) 142 task.created_time = _ConvertDateTime(data.get('created_ts'))
143 task.started_time = _ConvertDateTime(data.get('started_ts')) 143 task.started_time = _ConvertDateTime(data.get('started_ts'))
144 task.completed_time = _ConvertDateTime(data.get('completed_ts')) 144 task.completed_time = _ConvertDateTime(data.get('completed_ts'))
145 task.put() 145 task.put()
146 146
147 return step_name, (step_name_no_platform, task.classified_tests) 147 return step_name, (step_name_no_platform, task.reliable_tests)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698