Bug 36620

Summary: suppress image failures for now to get a clean test run w/ pixel tests enabled for new-run-webkit-tests
Product: WebKit Reporter: Dirk Pranke <dpranke>
Component: Tools / TestsAssignee: Dirk Pranke <dpranke>
Status: RESOLVED FIXED    
Severity: Normal CC: abarth, cjerdonek, dglazkov, eric, ojan
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: PC   
OS: OS X 10.5   
Attachments:
Description Flags
add test_expectations.txt suppressions and fix a bunch of incorrect checksums
levin: review-
add missing Changelog, add instructions back to the beginning of test_expectations.txt, fix typo levin: review+, levin: commit-queue-

Description Dirk Pranke 2010-03-25 14:48:14 PDT
Bug 34826 allows --pixel-tests to properly work, but of course we have a lot of failing pixel tests. This bug will track the expectations and rebaselines to get the tests to run cleanly; fixing any real issues will need to be separate bugs.
Comment 1 Dirk Pranke 2010-03-26 17:44:38 PDT
Created attachment 51799 [details]
add test_expectations.txt suppressions and fix a bunch of incorrect checksums

This patch suppresses all the tests that currently fail pixel tests. We still need to triage them and figure out which need new baselines and which are actual bugs.
Comment 2 David Levin 2010-03-26 17:59:28 PDT
Comment on attachment 51799 [details]
add test_expectations.txt suppressions and fix a bunch of incorrect checksums


Needs a ChangeLog.

> diff --git a/LayoutTests/platform/mac/test_expectations.txt b/LayoutTests/platform/mac/test_expectations.txt
> -// This file consists of lines with specifications of what

I think these instructions are useful.

> +BUG33620: fast/block/positioning/absolute-positioning-no-scrollbar.html = MISSING

Missing a space.

r- for missing ChangeLog.
Comment 3 Dirk Pranke 2010-03-26 18:02:47 PDT
Created attachment 51801 [details]
add missing Changelog, add instructions back to the beginning of test_expectations.txt, fix typo
Comment 4 Ojan Vafai 2010-03-26 18:04:41 PDT
(In reply to comment #1)
> Created an attachment (id=51799) [details]
> add test_expectations.txt suppressions and fix a bunch of incorrect checksums
> 
> This patch suppresses all the tests that currently fail pixel tests. We still
> need to triage them and figure out which need new baselines and which are
> actual bugs.

Can you explain the updated checksums? The changelog description doesn't explain why/how they're incorrect. Do they not match the checked in pngs? 

More importantly, I don't think this is a good use of time. Until there are pixel bots running *somewhere*, there is no point getting the pixel tests green for a few runs. They'll break almost immediately. It's fighting a losing battle without bots.

Even if we somehow fixed all the broken pixel tests, they'll just start breaking again since we haven't addressed the root cause.
Comment 5 David Levin 2010-03-26 18:07:06 PDT
Comment on attachment 51801 [details]
add missing Changelog, add instructions back to the beginning of test_expectations.txt, fix typo

> diff --git a/LayoutTests/platform/mac/test_expectations.txt b/LayoutTests/platform/mac/test_expectations.txt
>  // -A test cannot be both SLOW and TIMEOUT
>  // -A test can be included twice, but not via the same path.
>  // -If a test is included twice, then the more precise path wins.
> -// -CRASH tests cannot be WONTFIX
> +// -CRASH tests cannot be WONTFIXBUG36620 : compositing/color-matching/image-color-matching.html = IMAGE

I think you wanted a return here after WONTFIX.
Comment 6 Dirk Pranke 2010-03-26 18:11:58 PDT
Committed r56649: <http://trac.webkit.org/changeset/56649>
Comment 7 Ojan Vafai 2010-03-27 08:17:11 PDT
(In reply to comment #6)
> Committed r56649: <http://trac.webkit.org/changeset/56649>

Did you see my comments? Can you explain, at least for posterity sake, what you meant by incorrect checksums (e.g. they didn't match the checked in images?)?
Comment 8 Dirk Pranke 2010-03-28 17:24:32 PDT
(In reply to comment #7)
> (In reply to comment #6)
> > Committed r56649: <http://trac.webkit.org/changeset/56649>
> 
> Did you see my comments? Can you explain, at least for posterity sake, what you
> meant by incorrect checksums (e.g. they didn't match the checked in images?)?

Ah, no, I didn't see your comments. Sorry!

You are correct in that "incorrect checksums" means that the checksums did not match the checked in images. When you ran run-webkit-test, you would get the error message "images match but checksums don't".

As to whether or not this is a waste of time, you may be right that suppressing the images failures is a semi-futile effort, but I look at it more as making sure that the test_expectations file does actually work, and fixing the checksums is definitely useful.
Comment 9 Eric Seidel (no email) 2010-04-02 01:05:41 PDT
Committed r56982: <http://trac.webkit.org/changeset/56982>