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

Issue 6745001: Add piglit autotest (Closed)

Created:
9 years, 9 months ago by ilja
Modified:
9 years, 7 months ago
Reviewers:
petkov, marcheu, DaleCurtis, ihf
CC:
chromium-os-reviews_chromium.org, sosa+cc_chromium.org, seano+cc_chromium.org, ericli
Visibility:
Public.

Description

Add autotest script to run piglit on target machine. See also http://codereview.chromium.org/6746009 for corresponding ebuilds. BUG=chromium-os:13932 TEST=./run_remote_tests.sh --board=${BOARD} --remote=x.y.z.w. graphics_Piglit Takes about 12 minutes on my mario. Should say "Pass" and return count_subtests_pass/fail etc. Committed: http://chrome-svn/viewvc/chromeos?view=rev&revision=c3105c6

Patch Set 1 #

Patch Set 2 : setup/install tuning #

Total comments: 12

Patch Set 3 : Piglit: build inside of autotest instead of pulling binaries from ebuild tarball #

Patch Set 4 : cleanup #

Total comments: 1

Patch Set 5 : Skip building and running on non-x86 boards due to lack of OpenGL #

Patch Set 6 : Logging command #

Total comments: 24

Patch Set 7 : iterate over feedback from dale curtis #

Patch Set 8 : revert back to UITest #

Patch Set 9 : add blacklist of expected crashing processes #

Patch Set 10 : fix crash parsing problem in UITest #

Unified diffs Side-by-side diffs Delta from patch set Stats (+243 lines, -1 line) Patch
M client/cros/cros_ui_test.py View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -1 line 0 comments Download
A client/deps/piglit/README View 1 2 3 4 1 chunk +7 lines, -0 lines 0 comments Download
A client/deps/piglit/common.py View 1 2 3 4 1 chunk +12 lines, -0 lines 0 comments Download
A client/deps/piglit/control View 1 2 3 4 1 chunk +5 lines, -0 lines 0 comments Download
A client/deps/piglit/piglit.py View 1 2 3 4 5 6 7 1 chunk +46 lines, -0 lines 0 comments Download
A client/deps/piglit/src/README.txt View 1 2 3 4 5 6 1 chunk +5 lines, -0 lines 0 comments Download
A client/deps/piglit/src/cros-driver.tests View 1 2 3 4 5 6 1 chunk +28 lines, -0 lines 0 comments Download
A client/deps/piglit/src/piglit.tar.gz View 1 2 3 4 Binary file 0 comments Download
A client/site_tests/graphics_Piglit/control View 1 2 3 4 5 6 1 chunk +36 lines, -0 lines 0 comments Download
A client/site_tests/graphics_Piglit/graphics_Piglit.py View 1 2 3 4 5 6 7 8 1 chunk +102 lines, -0 lines 0 comments Download
M server/site_tests/suites/control.regression View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
ilja
This is the autotest part to piglit.
9 years, 9 months ago (2011-03-25 22:34:50 UTC) #1
DaleCurtis
http://codereview.chromium.org/6745001/diff/1001/client/site_tests/graphics_Piglit/control File client/site_tests/graphics_Piglit/control (right): http://codereview.chromium.org/6745001/diff/1001/client/site_tests/graphics_Piglit/control#newcode15 client/site_tests/graphics_Piglit/control:15: TEST_CLASS = "graphics" Mixed quotes. http://codereview.chromium.org/6745001/diff/1001/client/site_tests/graphics_Piglit/graphics_Piglit.py File client/site_tests/graphics_Piglit/graphics_Piglit.py (right): ...
9 years, 9 months ago (2011-03-26 00:58:57 UTC) #2
ilja
I've addressed all the changes. My main remaining problem is how to deal with glut. ...
9 years, 9 months ago (2011-03-30 05:26:49 UTC) #3
DaleCurtis
+zdenek As with my comment on your other CL, if this breaks on ARM it'll ...
9 years, 8 months ago (2011-04-04 17:51:55 UTC) #4
DaleCurtis
http://codereview.chromium.org/6745001/diff/14001/client/deps/piglit/piglit.py File client/deps/piglit/piglit.py (right): http://codereview.chromium.org/6745001/diff/14001/client/deps/piglit/piglit.py#newcode7 client/deps/piglit/piglit.py:7: import os, shutil, re alphabetize imports. http://codereview.chromium.org/6745001/diff/14001/client/deps/piglit/piglit.py#newcode14 client/deps/piglit/piglit.py:14: # ...
9 years, 8 months ago (2011-04-08 16:58:18 UTC) #5
ilja
Addressing all feedback by dalec. http://codereview.chromium.org/6745001/diff/14001/client/deps/piglit/piglit.py File client/deps/piglit/piglit.py (right): http://codereview.chromium.org/6745001/diff/14001/client/deps/piglit/piglit.py#newcode7 client/deps/piglit/piglit.py:7: import os, shutil, re ...
9 years, 8 months ago (2011-04-08 21:42:24 UTC) #6
DaleCurtis
LGTM, but unless you're going to be around late you might want to wait until ...
9 years, 8 months ago (2011-04-08 21:47:18 UTC) #7
ihf
I spoke with Zel and Monday is good. Thanks! On Fri, Apr 8, 2011 at ...
9 years, 8 months ago (2011-04-08 21:50:51 UTC) #8
ihf
I am ready to check in. I did some more testing over the weekend and ...
9 years, 8 months ago (2011-04-11 18:08:20 UTC) #9
DaleCurtis
Since you've switched back to UITest, you'll need to blacklist the crashing processes to prevent ...
9 years, 8 months ago (2011-04-11 18:34:54 UTC) #10
ihf
1) Added blacklist. Notice that list of unique crashes dropped to 5 from 10. The ...
9 years, 8 months ago (2011-04-11 20:20:01 UTC) #11
ihf
9 years, 8 months ago (2011-04-11 20:52:17 UTC) #12
After talking to Dale added fix to regex in cros_ui_test.py and now all
crashes are blacklisted as intended.

On Mon, Apr 11, 2011 at 1:19 PM, Ilja Friedel <ihf@google.com> wrote:

> 1) Added blacklist. Notice that list of unique crashes dropped to 5 from
> 10. The remaining crashes *are* in the blacklist. Not sure this is expected.
> Crashes detected during testing:
> -------------------------------------
> fbo-depth-sample-compare sig 11
>   graphics_Piglit/graphics_Piglit
> getuniform-01 sig 11
>   graphics_Piglit/graphics_Piglit
> glsl-bug-22603 sig 11
>   graphics_Piglit/graphics_Piglit
> glsl-fs-color-matrix sig 11
>   graphics_Piglit/graphics_Piglit
> glsl-fs-discard-02 sig 11
>   graphics_Piglit/graphics_Piglit
> -------------------------------------
> Total unique crashes: 5
>
> 2) Filed bug for truty
> http://code.google.com/p/chromium-os/issues/detail?id=14043
>
> <http://code.google.com/p/chromium-os/issues/detail?id=14043>3) Well.
> "Just for informational purposes" is why we are running any test.
> The question is how the results are interpreted and who responds to
> problems with
> the information provided. Piglit has a command to produce output webpages
> to compare
> N different result. This could be either N different boards or comparing
> against last (checkin,
> day, weekly, monthly) runs. I understand this is functionality that you
> are
> trying to offer in autotest, but as it is already built into piglit,
> lightweight and solved
> well I would like to have access to this information in the long run.
>
> For now I am fine without a link as long as one can find the html page
> manually
> from the results on disk (which I think is true).
>
>
> On Mon, Apr 11, 2011 at 11:34 AM, <dalecurtis@chromium.org> wrote:
>
>> Since you've switched back to UITest, you'll need to blacklist the
>> crashing
>> processes to prevent them from causing regression failures.
>>
>> If you file an issue against truty he can help you get the plots set up.
>> The
>> change will go live as soon as this is checked in and will run against the
>> next
>> build with the regression suite.
>>
>> We don't have a way to link the report in just yet. Since there are no
>> failure
>> conditions just yet, it's more for informational purposes anyways. I
>> assume you
>> will add a failure condition in the future, when that happens we can think
>> about
>> how to include the report with emails.
>>
>>
>> On 2011/04/11 18:08:20, ihf_google.com wrote:
>>
>>> I am ready to check in. I did some more testing over the weekend and I
>>> did
>>> notice that using test.test is not enough as nearly all graphics tests
>>> need
>>> the UITest after all for the behind the scenes auto login feature. (The
>>> test
>>> would run only when already logged in as guest.) I reverted this and it
>>> has
>>> been running stable 20 times in a row. Otherwise I decided to strip
>>> symbols
>>> from the binaries, as this reduced transmission times and saves about 5
>>> minutes of testing time per run.
>>>
>>
>>  What do I need to do to now to make this go life? We need
>>> - the lab machines to boot before/after the test runs
>>> - plot   count_subtests_failTotal unique crashes:
>>>           count_subtests_pass
>>>           Total unique crashes:
>>> - ideally
>>> link
>>>
>>
>>
>>
/tmp/run_remote_tests.*/graphics_Piglit/graphics_Piglit/cros-driver/html/index.html
>>
>>>   to the results pages as this contains detailed results for each run
>>>
>>
>>  I can file a bug if needed.
>>>
>>
>>
>> http://codereview.chromium.org/6745001/
>>
>
>

Powered by Google App Engine
This is Rietveld 408576698