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

Issue 12317053: Sends test results to new perf dashboard (Closed)

Created:
7 years, 10 months ago by sullivan
Modified:
7 years, 9 months ago
CC:
chromium-reviews, xusydoc+watch_chromium.org, cmp-cc_chromium.org, ilevy+cc_chromium.org, kjellander+cc_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/tools/build.git@master
Visibility:
Public.

Description

Sends test results to new perf dashboard. Enabled when --results-url is specified on the command line. BUG= Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=185969

Patch Set 1 #

Total comments: 1

Patch Set 2 : Moves the code to call results_dashboard.SendResults() to its own function and cleans up some small… #

Total comments: 2

Patch Set 3 : Get results url from factory options #

Patch Set 4 : First pass at implementing a cache file (still need a real location for the file) #

Total comments: 1

Patch Set 5 : Adds beginnings of unit test (for feedback) #

Patch Set 6 : Ready for review #

Total comments: 4

Patch Set 7 : Addressed comments about unit test #

Total comments: 2

Patch Set 8 : fix permissions on unit test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+451 lines, -1 line) Patch
M scripts/common/chromium_utils.py View 1 2 3 4 5 6 2 chunks +2 lines, -1 line 0 comments Download
A scripts/slave/results_dashboard.py View 1 2 3 4 5 6 1 chunk +128 lines, -0 lines 0 comments Download
M scripts/slave/runtest.py View 1 2 3 4 5 6 6 chunks +25 lines, -0 lines 0 comments Download
A scripts/slave/unittests/results_dashboard_test.py View 1 2 3 4 5 6 7 1 chunk +296 lines, -0 lines 0 comments Download

Messages

Total messages: 28 (0 generated)
sullivan
Hi Mike, I had a chance to write a first pass at posting results to ...
7 years, 10 months ago (2013-02-21 21:43:21 UTC) #1
Mike Stip (use stip instead)
On 2013/02/21 21:43:21, sullivan wrote: > Hi Mike, > > I had a chance to ...
7 years, 10 months ago (2013-02-21 23:12:42 UTC) #2
Mike Stip (use stip instead)
https://codereview.chromium.org/12317053/diff/1/scripts/slave/results_dashboard.py File scripts/slave/results_dashboard.py (right): https://codereview.chromium.org/12317053/diff/1/scripts/slave/results_dashboard.py#newcode21 scripts/slave/results_dashboard.py:21: # TODO(sullivan): Where to get the master (e.g. "ChromiumPerf") ...
7 years, 10 months ago (2013-02-21 23:12:49 UTC) #3
sullivan1
+cmp for question about cache below. On Thu, Feb 21, 2013 at 6:12 PM, <xusydoc@chromium.org> ...
7 years, 10 months ago (2013-02-22 16:35:15 UTC) #4
sullivan
Update: I talked to Chase offline and he'd like the cache to be on disk. ...
7 years, 10 months ago (2013-02-22 22:09:06 UTC) #5
Mike Stip (use stip instead)
On 2013/02/22 22:09:06, sullivan wrote: > Update: I talked to Chase offline and he'd like ...
7 years, 10 months ago (2013-02-23 00:23:13 UTC) #6
Mike Stip (use stip instead)
https://chromiumcodereview.appspot.com/12317053/diff/1003/scripts/slave/runtest.py File scripts/slave/runtest.py (right): https://chromiumcodereview.appspot.com/12317053/diff/1003/scripts/slave/runtest.py#newcode556 scripts/slave/runtest.py:556: results_tracker, options.factory_properties.get('master'), nit: I'd prefer masterName or master_name
7 years, 10 months ago (2013-02-23 00:23:21 UTC) #7
sullivan
I have a couple more questions: 1) I'm fine with putting the output somewhere in ...
7 years, 10 months ago (2013-02-25 22:18:29 UTC) #8
sullivan
Still need answers to those questions, but in the meantime refactored to have a basic ...
7 years, 10 months ago (2013-02-26 22:28:12 UTC) #9
Mike Stip (use stip instead)
On 2013/02/25 22:18:29, sullivan wrote: > I have a couple more questions: > > 1) ...
7 years, 9 months ago (2013-02-27 09:35:38 UTC) #10
Mike Stip (use stip instead)
On 2013/02/27 09:35:38, Mike Stipicevic wrote: > On 2013/02/25 22:18:29, sullivan wrote: > > I ...
7 years, 9 months ago (2013-02-27 09:50:58 UTC) #11
Mike Stip (use stip instead)
On 2013/02/26 22:28:12, sullivan wrote: > Still need answers to those questions, but in the ...
7 years, 9 months ago (2013-02-27 09:53:25 UTC) #12
Mike Stip (use stip instead)
https://codereview.chromium.org/12317053/diff/7003/scripts/slave/results_dashboard.py File scripts/slave/results_dashboard.py (right): https://codereview.chromium.org/12317053/diff/7003/scripts/slave/results_dashboard.py#newcode15 scripts/slave/results_dashboard.py:15: CACHE_FILE = "/tmp/my_log_file" in a later version this will ...
7 years, 9 months ago (2013-02-27 09:53:34 UTC) #13
sullivan
+simonjam Thanks for the feedback, Mike! Still working through all the changes, but I'm having ...
7 years, 9 months ago (2013-02-28 22:33:40 UTC) #14
James Simonsen
I think the test mocks out too much. In a Google unit test, we'd set ...
7 years, 9 months ago (2013-03-01 00:42:47 UTC) #15
sullivan
Thanks, James! I used a temp directory for the unit tests and it's much cleaner ...
7 years, 9 months ago (2013-03-01 18:05:31 UTC) #16
James Simonsen
https://codereview.chromium.org/12317053/diff/16002/scripts/slave/unittests/results_dashboard_test.py File scripts/slave/unittests/results_dashboard_test.py (right): https://codereview.chromium.org/12317053/diff/16002/scripts/slave/unittests/results_dashboard_test.py#newcode52 scripts/slave/unittests/results_dashboard_test.py:52: cache_file.write("\n".join(cached_json)) I don't think there's anything that tests that ...
7 years, 9 months ago (2013-03-01 21:21:49 UTC) #17
sullivan
Thanks, James! Unit tests updated. https://codereview.chromium.org/12317053/diff/16002/scripts/slave/unittests/results_dashboard_test.py File scripts/slave/unittests/results_dashboard_test.py (right): https://codereview.chromium.org/12317053/diff/16002/scripts/slave/unittests/results_dashboard_test.py#newcode52 scripts/slave/unittests/results_dashboard_test.py:52: cache_file.write("\n".join(cached_json)) On 2013/03/01 21:21:49, ...
7 years, 9 months ago (2013-03-04 16:38:36 UTC) #18
James Simonsen
https://codereview.chromium.org/12317053/diff/21001/scripts/slave/unittests/results_dashboard_test.py File scripts/slave/unittests/results_dashboard_test.py (right): https://codereview.chromium.org/12317053/diff/21001/scripts/slave/unittests/results_dashboard_test.py#newcode290 scripts/slave/unittests/results_dashboard_test.py:290: actual_cache = cache_file.read() I was hoping you'd call SendResults ...
7 years, 9 months ago (2013-03-04 19:03:24 UTC) #19
sullivan
https://codereview.chromium.org/12317053/diff/21001/scripts/slave/unittests/results_dashboard_test.py File scripts/slave/unittests/results_dashboard_test.py (right): https://codereview.chromium.org/12317053/diff/21001/scripts/slave/unittests/results_dashboard_test.py#newcode290 scripts/slave/unittests/results_dashboard_test.py:290: actual_cache = cache_file.read() On 2013/03/04 19:03:24, James Simonsen wrote: ...
7 years, 9 months ago (2013-03-04 20:00:57 UTC) #20
James Simonsen
lgtm On 2013/03/04 20:00:57, sullivan wrote: > https://codereview.chromium.org/12317053/diff/21001/scripts/slave/unittests/results_dashboard_test.py > File scripts/slave/unittests/results_dashboard_test.py (right): > > https://codereview.chromium.org/12317053/diff/21001/scripts/slave/unittests/results_dashboard_test.py#newcode290 ...
7 years, 9 months ago (2013-03-04 20:10:50 UTC) #21
Mike Stip (use stip instead)
lgtm
7 years, 9 months ago (2013-03-04 20:36:19 UTC) #22
Mike Stip (use stip instead)
Probably should change the title and description before submitting.
7 years, 9 months ago (2013-03-04 20:36:54 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sullivan@chromium.org/12317053/21001
7 years, 9 months ago (2013-03-04 20:38:39 UTC) #24
sullivan
On 2013/03/04 20:36:54, Mike Stipicevic wrote: > Probably should change the title and description before ...
7 years, 9 months ago (2013-03-04 20:39:23 UTC) #25
commit-bot: I haz the power
Presubmit check for 12317053-21001 failed and returned exit status 1. INFO:root:Found 4 file(s). INFO:PRESUBMIT:Running pylint ...
7 years, 9 months ago (2013-03-04 20:42:57 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sullivan@chromium.org/12317053/18009
7 years, 9 months ago (2013-03-04 20:58:25 UTC) #27
commit-bot: I haz the power
7 years, 9 months ago (2013-03-04 21:03:13 UTC) #28
Message was sent while issue was closed.
Change committed as 185969

Powered by Google App Engine
This is Rietveld 408576698