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

Issue 16158006: Defining the test expectations object (Closed)

Created:
7 years, 6 months ago by bajones
Modified:
7 years, 5 months ago
CC:
chromium-reviews, chrome-speed-team+watch_google.com, telemetry+watch_chromium.org, Ken Russell (switch to Gerrit)
Visibility:
Public.

Description

Defining the test expectations object BUG=245741 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=212742

Patch Set 1 #

Patch Set 2 : Updated to check OS modifiers on platform, not browser #

Patch Set 3 : Updated to lcase for consistency, removed option for array of expectations #

Patch Set 4 : Modifiers is now explicitly an array, removed "SetExpectations" method #

Patch Set 5 : Added expectations integration #

Total comments: 16

Patch Set 6 : Addressing Dave's feedback #

Patch Set 7 : Now using SetExpectations, added Fail handling. #

Total comments: 15

Patch Set 8 : Addressed feedback, Added unit tests #

Patch Set 9 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+219 lines, -16 lines) Patch
M tools/telemetry/telemetry/page/page_measurement_unittest_base.py View 1 2 3 4 5 8 3 chunks +5 lines, -2 lines 0 comments Download
M tools/telemetry/telemetry/page/page_runner.py View 1 2 3 4 5 6 7 8 5 chunks +14 lines, -4 lines 0 comments Download
M tools/telemetry/telemetry/page/page_runner_unittest.py View 1 2 3 4 5 8 9 chunks +11 lines, -5 lines 0 comments Download
M tools/telemetry/telemetry/page/page_set.py View 1 2 3 4 5 8 1 chunk +2 lines, -0 lines 0 comments Download
M tools/telemetry/telemetry/page/page_test.py View 1 2 3 4 5 8 2 chunks +6 lines, -0 lines 0 comments Download
M tools/telemetry/telemetry/page/page_test_runner.py View 1 2 3 4 5 6 7 8 2 chunks +6 lines, -3 lines 0 comments Download
M tools/telemetry/telemetry/page/record_wpr.py View 1 2 3 4 5 6 7 8 3 chunks +4 lines, -1 line 0 comments Download
A tools/telemetry/telemetry/page/test_expectations.py View 1 2 3 4 5 6 7 8 1 chunk +72 lines, -0 lines 0 comments Download
A tools/telemetry/telemetry/page/test_expectations_unittest.py View 1 2 3 4 5 6 7 1 chunk +85 lines, -0 lines 0 comments Download
M tools/telemetry/telemetry/test.py View 1 2 3 4 5 6 7 8 3 chunks +14 lines, -1 line 0 comments Download

Messages

Total messages: 36 (0 generated)
bajones
WIP Using this expectations could be defined two ways. One is on a page set ...
7 years, 6 months ago (2013-06-05 00:02:34 UTC) #1
tonyg
We talked about expectations for run_benchmark. We should make sure this fits in with that. ...
7 years, 6 months ago (2013-06-07 17:21:27 UTC) #2
bajones
On 2013/06/07 17:21:27, tonyg wrote: > We talked about expectations for run_benchmark. We should make ...
7 years, 6 months ago (2013-06-07 17:58:34 UTC) #3
dtu
On 2013/06/07 17:58:34, bajones wrote: > On 2013/06/07 17:21:27, tonyg wrote: > > We talked ...
7 years, 6 months ago (2013-06-07 18:11:31 UTC) #4
bajones
On 2013/06/07 18:11:31, Dave Tu wrote: > I can see two ideas for this: > ...
7 years, 6 months ago (2013-06-07 20:14:02 UTC) #5
nduca
We should use the chrome form of gardening marking tests as fail when possible, and ...
7 years, 6 months ago (2013-06-10 19:59:43 UTC) #6
bajones
On 2013/06/10 19:59:43, nduca wrote: > We should use the chrome form of gardening marking ...
7 years, 6 months ago (2013-06-10 20:01:58 UTC) #7
dtu
On 2013/06/07 20:14:02, bajones wrote: > On 2013/06/07 18:11:31, Dave Tu wrote: > > I ...
7 years, 6 months ago (2013-06-10 20:03:31 UTC) #8
bajones
Now that the Telemetry test runner has been update, it's a good time to work ...
7 years, 5 months ago (2013-07-01 23:27:10 UTC) #9
bajones
Friendly ping after a long holiday weekend! :)
7 years, 5 months ago (2013-07-08 16:42:59 UTC) #10
bajones
Re-Ping. dtu (or tonyg?), if you could review this it would be appreciated. nduca is ...
7 years, 5 months ago (2013-07-10 22:20:58 UTC) #11
dtu
On 2013/07/10 22:20:58, bajones wrote: > Re-Ping. > > dtu (or tonyg?), if you could ...
7 years, 5 months ago (2013-07-11 08:22:29 UTC) #12
Ken Russell (switch to Gerrit)
+zmo for requirements on the test expectations. I believe it is required that OS+GPU combinations ...
7 years, 5 months ago (2013-07-11 17:49:39 UTC) #13
Zhenyao Mo
On 2013/07/11 17:49:39, Ken Russell wrote: > +zmo for requirements on the test expectations. I ...
7 years, 5 months ago (2013-07-11 17:59:35 UTC) #14
bajones
On 2013/07/11 08:22:29, Dave Tu wrote: > On 2013/07/10 22:20:58, bajones wrote: > > Re-Ping. ...
7 years, 5 months ago (2013-07-11 17:59:49 UTC) #15
dtu
On 2013/07/11 17:59:49, bajones wrote: > On 2013/07/11 08:22:29, Dave Tu wrote: > > On ...
7 years, 5 months ago (2013-07-11 23:50:43 UTC) #16
bajones
On 2013/07/11 23:50:43, Dave Tu wrote: > On 2013/07/11 17:59:49, bajones wrote: > > On ...
7 years, 5 months ago (2013-07-12 03:35:12 UTC) #17
dtu
On 2013/07/12 03:35:12, bajones wrote: > On 2013/07/11 23:50:43, Dave Tu wrote: > > On ...
7 years, 5 months ago (2013-07-12 19:59:03 UTC) #18
bajones
Alright, I'd really love to move on to the next stage of this feature (integration ...
7 years, 5 months ago (2013-07-15 17:29:56 UTC) #19
nduca
On 2013/07/15 17:29:56, bajones wrote: > Alright, I'd really love to move on to the ...
7 years, 5 months ago (2013-07-15 18:34:35 UTC) #20
Ken Russell (switch to Gerrit)
What changes are needed or desired for this CL to land? It looks like all ...
7 years, 5 months ago (2013-07-15 19:13:54 UTC) #21
bajones
On 2013/07/15 18:34:35, nduca wrote: > On 2013/07/15 17:29:56, bajones wrote: > > Alright, I'd ...
7 years, 5 months ago (2013-07-15 19:16:16 UTC) #22
bajones
After a brief face-to-face with dtu, I've added the integration code to help clarify this ...
7 years, 5 months ago (2013-07-15 23:37:17 UTC) #23
Ken Russell (switch to Gerrit)
https://codereview.chromium.org/16158006/diff/36001/tools/telemetry/telemetry/page/page_runner.py File tools/telemetry/telemetry/page/page_runner.py (right): https://codereview.chromium.org/16158006/diff/36001/tools/telemetry/telemetry/page/page_runner.py#newcode354 tools/telemetry/telemetry/page/page_runner.py:354: expectation == "fail" or On 2013/07/15 23:37:17, bajones wrote: ...
7 years, 5 months ago (2013-07-15 23:52:59 UTC) #24
dtu
Thanks! It's easier for me to understand how the Expectations object fits in now. https://chromiumcodereview.appspot.com/16158006/diff/36001/tools/telemetry/telemetry/page/page_runner.py ...
7 years, 5 months ago (2013-07-16 09:50:49 UTC) #25
bajones
Thanks for the detailed feedback! I've got a couple changes that I still need to ...
7 years, 5 months ago (2013-07-16 18:29:10 UTC) #26
dtu
On 2013/07/16 18:29:10, bajones wrote: > Thanks for the detailed feedback! I've got a couple ...
7 years, 5 months ago (2013-07-16 19:05:07 UTC) #27
bajones
TestExpectations are now set by calling SetExpectations in the constructor. https://codereview.chromium.org/16158006/diff/52001/tools/telemetry/telemetry/page/page_runner.py File tools/telemetry/telemetry/page/page_runner.py (right): https://codereview.chromium.org/16158006/diff/52001/tools/telemetry/telemetry/page/page_runner.py#newcode366 ...
7 years, 5 months ago (2013-07-16 20:24:06 UTC) #28
dtu
Getting close :) https://codereview.chromium.org/16158006/diff/52001/tools/telemetry/telemetry/page/page_runner.py File tools/telemetry/telemetry/page/page_runner.py (right): https://codereview.chromium.org/16158006/diff/52001/tools/telemetry/telemetry/page/page_runner.py#newcode238 tools/telemetry/telemetry/page/page_runner.py:238: expectation) nit: indent https://codereview.chromium.org/16158006/diff/52001/tools/telemetry/telemetry/page/page_runner.py#newcode352 tools/telemetry/telemetry/page/page_runner.py:352: def ...
7 years, 5 months ago (2013-07-16 20:58:02 UTC) #29
bajones
Feedback addressed, thanks! Sorry for the delayed response, I'm OOO at the moment. On 2013/07/16 ...
7 years, 5 months ago (2013-07-19 19:04:25 UTC) #30
dtu
On 2013/07/19 19:04:25, bajones wrote: > Feedback addressed, thanks! Sorry for the delayed response, I'm ...
7 years, 5 months ago (2013-07-19 20:03:40 UTC) #31
dtu
On 2013/07/19 20:03:40, Dave Tu wrote: > On 2013/07/19 19:04:25, bajones wrote: > > Feedback ...
7 years, 5 months ago (2013-07-19 20:07:53 UTC) #32
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/bajones@chromium.org/16158006/63001
7 years, 5 months ago (2013-07-19 20:49:29 UTC) #33
commit-bot: I haz the power
Failed to apply patch for tools/telemetry/telemetry/page/page_runner.py: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
7 years, 5 months ago (2013-07-19 20:49:31 UTC) #34
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/bajones@chromium.org/16158006/73001
7 years, 5 months ago (2013-07-19 21:06:26 UTC) #35
commit-bot: I haz the power
7 years, 5 months ago (2013-07-20 05:25:21 UTC) #36
Message was sent while issue was closed.
Change committed as 212742

Powered by Google App Engine
This is Rietveld 408576698