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

Unified Diff: scripts/slave/results_dashboard.py

Issue 2330133002: Updating the SwarmingIsolatedScriptTest to upload chartjson results to the (Closed)
Patch Set: Expecations Created 4 years, 3 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 side-by-side diff with in-line comments
Download patch
Index: scripts/slave/results_dashboard.py
diff --git a/scripts/slave/results_dashboard.py b/scripts/slave/results_dashboard.py
index c42a8c1ce4e02dbb58c5c00028a66e063117109a..b647d380cbfd3a943f777c59c3d7388c111dd3b2 100755
--- a/scripts/slave/results_dashboard.py
+++ b/scripts/slave/results_dashboard.py
@@ -236,6 +236,7 @@ def MakeDashboardJsonV1(chart_json, revision_dict, test_name, bot, buildername,
Returns:
A dictionary in the format accepted by the perf dashboard.
"""
+ print "1"
Ken Russell (switch to Gerrit) 2016/09/30 21:45:32 Remove debugging prints -- unless you really meant
eyaich1 2016/10/03 13:32:56 Done.
if not chart_json:
print 'Error: No json output from telemetry.'
print '@@@STEP_FAILURE@@@'
@@ -245,6 +246,7 @@ def MakeDashboardJsonV1(chart_json, revision_dict, test_name, bot, buildername,
master = slave_utils.GetActiveMaster()
point_id, versions = _RevisionNumberColumns(revision_dict, prefix='')
+ print "2"
supplemental = {}
for key in supplemental_dict:
if key.startswith('r_'):
@@ -252,6 +254,7 @@ def MakeDashboardJsonV1(chart_json, revision_dict, test_name, bot, buildername,
if key.startswith('a_'):
supplemental[key.replace('a_', '', 1)] = supplemental_dict[key]
+ print "3"
supplemental.update(
_GetStdioUriColumn(test_name, buildername, buildnumber))
@@ -261,6 +264,7 @@ def MakeDashboardJsonV1(chart_json, revision_dict, test_name, bot, buildername,
# https://github.com/catapult-project/catapult/issues/2046
test_name = test_name.replace('.reference', '')
+ print "4"
fields = {
'master': master,
'bot': bot,

Powered by Google App Engine
This is Rietveld 408576698