<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>97112</bug_id>
          
          <creation_ts>2012-09-19 07:57:50 -0700</creation_ts>
          <short_desc>REGRESSION (r126189): No more mismatch-did-not-occur failures in reftests</short_desc>
          <delta_ts>2012-09-26 10:46:52 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Tools / Tests</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P1</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Zan Dobersek">zan</reporter>
          <assigned_to name="Zan Dobersek">zan</assigned_to>
          <cc>abarth</cc>
    
    <cc>dglazkov</cc>
    
    <cc>dpranke</cc>
    
    <cc>ojan</cc>
    
    <cc>ossy</cc>
    
    <cc>peter+ews</cc>
    
    <cc>simon.fraser</cc>
    
    <cc>webkit.review.bot</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>723571</commentid>
    <comment_count>0</comment_count>
    <who name="Zan Dobersek">zan</who>
    <bug_when>2012-09-19 07:57:50 -0700</bug_when>
    <thetext>On GTK (and possibly other platforms as well, though most skip the test) when running fast/harness/sample-fail-mismatch-reftest.html the following output is shown, originating from SingleTestRunner[1]:
fast/harness/sample-fail-mismatch-reftest.html -&gt; ref test hashes matched but diff failed

The test is expected to (and should) fail but actually passes, that is the reftest matches with its expected mismatch and that&apos;s considered an error. The output indicates ImageDiff does not produce the diff image event though there are no differences. I believe this is the current behavior of pixel dumping code throughout platforms when the actual hash matches the expected one[3][4][5]. 

[1] http://trac.webkit.org/browser/trunk/Tools/Scripts/webkitpy/layout_tests/controllers/single_test_runner.py#L328
[2] http://trac.webkit.org/changeset/126189
[3] http://trac.webkit.org/browser/trunk/Tools/DumpRenderTree/PixelDumpSupport.cpp#L71
[4] http://trac.webkit.org/browser/trunk/Tools/DumpRenderTree/qt/DumpRenderTreeQt.cpp#L962
[5] http://trac.webkit.org/browser/trunk/Tools/DumpRenderTree/chromium/TestShell.cpp#L708</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>723734</commentid>
    <comment_count>1</comment_count>
    <who name="Dirk Pranke">dpranke</who>
    <bug_when>2012-09-19 13:00:51 -0700</bug_when>
    <thetext>I&apos;m a bit confused ... that log message says that although the hashes were the same, the images were different, and so there was a mismatch (hence the test ran &quot;as expected&quot;).

That seems to be the opposite of what you&apos;re saying?

FWIW, I just ran this on chromium mac (on lion) and the hashes were actually different. I am rebuilding the apple-mac port to check there.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>723755</commentid>
    <comment_count>2</comment_count>
    <who name="Zan Dobersek">zan</who>
    <bug_when>2012-09-19 13:19:28 -0700</bug_when>
    <thetext>(In reply to comment #1)
&gt; I&apos;m a bit confused ... that log message says that although the hashes were the same, the images were different, and so there was a mismatch (hence the test ran &quot;as expected&quot;).
&gt; 
&gt; That seems to be the opposite of what you&apos;re saying?

Indeed the hashes are the same (as they should be) but the image of the reference driver output is None because DumpRenderTrees don&apos;t seem to output diff images when the hashes match. The Port.diff_image method returns a (True, 0, None) tuple when either image content is missing[1], and this is considered as a difference between reference and actual output in the current SingleTestRunner._compare_output_with_reference code, meaning the test in question passes (mismatch occurred) while it should fail.

&gt; 
&gt; FWIW, I just ran this on chromium mac (on lion) and the hashes were actually different. I am rebuilding the apple-mac port to check there.

The hashes shouldn&apos;t differ, though. Don&apos;t know what&apos;s happening there.


[1] http://trac.webkit.org/browser/trunk/Tools/Scripts/webkitpy/layout_tests/port/base.py#L346</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>723798</commentid>
    <comment_count>3</comment_count>
    <who name="Dirk Pranke">dpranke</who>
    <bug_when>2012-09-19 13:53:01 -0700</bug_when>
    <thetext>(In reply to comment #2)
&gt; (In reply to comment #1)
&gt; &gt; I&apos;m a bit confused ... that log message says that although the hashes were the same, the images were different, and so there was a mismatch (hence the test ran &quot;as expected&quot;).
&gt; &gt; 
&gt; &gt; That seems to be the opposite of what you&apos;re saying?
&gt; 
&gt; Indeed the hashes are the same (as they should be) but the image of the reference driver output is None because DumpRenderTrees don&apos;t seem to output diff images when the hashes match. The Port.diff_image method returns a (True, 0, None) tuple when either image content is missing[1], and this is considered as a difference between reference and actual output in the current SingleTestRunner._compare_output_with_reference code, meaning the test in question passes (mismatch occurred) while it should fail.
&gt; 

Hm. Okay, well, we seem to have two choices. We can either (1) not pass the hash to the reference test as input (so that we always generate both PNGs) or (2) assume that if the hashes match we don&apos;t need to actually diff the two images.

I&apos;m inclined to do the former, since we&apos;ve seen problems with hashes before, and it&apos;s not clear if there&apos;s any real perf impact to getting the second PNG.

FWIW, though, both chromium linux and apple mac also produce different hashes for the two inputs.


&gt; &gt; 
&gt; &gt; FWIW, I just ran this on chromium mac (on lion) and the hashes were actually different. I am rebuilding the apple-mac port to check there.
&gt; 
&gt; The hashes shouldn&apos;t differ, though. Don&apos;t know what&apos;s happening there.
&gt; 
&gt; 
&gt; [1] http://trac.webkit.org/browser/trunk/Tools/Scripts/webkitpy/layout_tests/port/base.py#L346</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>724612</commentid>
    <comment_count>4</comment_count>
    <who name="Zan Dobersek">zan</who>
    <bug_when>2012-09-20 10:24:55 -0700</bug_when>
    <thetext>(In reply to comment #3)
&gt; 
&gt; Hm. Okay, well, we seem to have two choices. We can either (1) not pass the hash to the reference test as input (so that we always generate both PNGs) or (2) assume that if the hashes match we don&apos;t need to actually diff the two images.
&gt; 
&gt; I&apos;m inclined to do the former, since we&apos;ve seen problems with hashes before, and it&apos;s not clear if there&apos;s any real perf impact to getting the second PNG.
&gt; 

I&apos;ll upload a patch that doesn&apos;t pass the hash to driver input.

On a related note, this would be easier to spot if the test was reported as unexpectedly passing. But the test is reported as such only if pixel testing is enabled, despite the test itself being a reftest. Also discovered is the following problem - the expectation for the failing test is not taken into account (the failure is not expected) if in the following format:
fast/harness/sample-fail-mismatch-reftest.html [ ImageOnlyFailure ]

The following two expectations seem to work, though:
(1) fast/harness/sample-fail-mismatch-reftest.html [ ImageOnlyFailure WontFix ]
(2) Bug(GTK) fast/harness/sample-fail-mismatch-reftest.html [ ImageOnlyFailure ]

I&apos;ll open two separate bugs for these issues.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>724617</commentid>
    <comment_count>5</comment_count>
      <attachid>164941</attachid>
    <who name="Zan Dobersek">zan</who>
    <bug_when>2012-09-20 10:33:40 -0700</bug_when>
    <thetext>Created attachment 164941
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>724633</commentid>
    <comment_count>6</comment_count>
      <attachid>164941</attachid>
    <who name="Peter Beverloo (cr-android ews)">peter+ews</who>
    <bug_when>2012-09-20 10:48:51 -0700</bug_when>
    <thetext>Comment on attachment 164941
Patch

Attachment 164941 did not pass cr-android-ews (chromium-android):
Output: http://queues.webkit.org/results/13954252</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>724745</commentid>
    <comment_count>7</comment_count>
    <who name="Zan Dobersek">zan</who>
    <bug_when>2012-09-20 12:16:31 -0700</bug_when>
    <thetext>(In reply to comment #4)
&gt; On a related note, this would be easier to spot if the test was reported as unexpectedly passing. But the test is reported as such only if pixel testing is enabled, despite the test itself being a reftest. Also discovered is the following problem - the expectation for the failing test is not taken into account (the failure is not expected) if in the following format:
&gt; fast/harness/sample-fail-mismatch-reftest.html [ ImageOnlyFailure ]
&gt; 
&gt; The following two expectations seem to work, though:
&gt; (1) fast/harness/sample-fail-mismatch-reftest.html [ ImageOnlyFailure WontFix ]
&gt; (2) Bug(GTK) fast/harness/sample-fail-mismatch-reftest.html [ ImageOnlyFailure ]

The first issue is being handled in bug #97424, the other issue is not really an issue, the expectation should either have the WontFix modifier or the Bug(*) modifier. So no problem there after all.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>724845</commentid>
    <comment_count>8</comment_count>
      <attachid>164941</attachid>
    <who name="Dirk Pranke">dpranke</who>
    <bug_when>2012-09-20 14:09:44 -0700</bug_when>
    <thetext>Comment on attachment 164941
Patch

can we add a test for this?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>725318</commentid>
    <comment_count>9</comment_count>
    <who name="Zan Dobersek">zan</who>
    <bug_when>2012-09-21 02:41:09 -0700</bug_when>
    <thetext>(In reply to comment #8)
&gt; (From update of attachment 164941 [details])
&gt; can we add a test for this?

(In reply to comment #8)
&gt; (From update of attachment 164941 [details])
&gt; can we add a test for this?

Ideally yes, though MockDRT still doesn&apos;t seem to be up to date after not-that-recent per-test pixel dumping changes.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>727856</commentid>
    <comment_count>10</comment_count>
    <who name="Zan Dobersek">zan</who>
    <bug_when>2012-09-25 12:09:17 -0700</bug_when>
    <thetext>&gt; (In reply to comment #8)
&gt; &gt; (From update of attachment 164941 [details] [details])
&gt; &gt; can we add a test for this?
&gt; 
&gt; Ideally yes, though MockDRT still doesn&apos;t seem to be up to date after not-that-recent per-test pixel dumping changes.

After closer reinspection I&apos;m not finding any practical way of how to test this. Testing MockDRT behavior is not helping to test the code changes in SingleTestRunner and the latter class doesn&apos;t have its own unit tests. I&apos;d be glad to receive some pointers on how to approach this or at very least just commit the patch (to be honest most of the latest changes to this code haven&apos;t included any tests).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>727948</commentid>
    <comment_count>11</comment_count>
      <attachid>165666</attachid>
    <who name="Dirk Pranke">dpranke</who>
    <bug_when>2012-09-25 14:12:10 -0700</bug_when>
    <thetext>Created attachment 165666
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>727954</commentid>
    <comment_count>12</comment_count>
    <who name="Dirk Pranke">dpranke</who>
    <bug_when>2012-09-25 14:15:51 -0700</bug_when>
    <thetext>(In reply to comment #10)
&gt; After closer reinspection I&apos;m not finding any practical way of how to test this. Testing MockDRT behavior is not helping to test the code changes in SingleTestRunner and the latter class doesn&apos;t have its own unit tests. I&apos;d be glad to receive some pointers on how to approach this

I was looking for integration-level tests that make sure that we&apos;re testing how reftest mismatches are handled; it turns out that the way the Test port was implemented wasn&apos;t matching the normal ports&apos; behavior, so I&apos;ve updated it to return no image if the hashes match (and updated diff_image() to match the base implementation if it gets None). MockDRT could probably use a similar patch but we don&apos;t need it for this.

&gt; to be honest most of the latest changes to this code haven&apos;t included any tests).

Pointers? If that was true, that would either be because the change wasn&apos;t for something I considered worth testing (e.g. the text in a log message), or I thought it was covered by existing tests. If there were substantive changes that went in w/o tests I&apos;d be sad (probably means I missed something in the review).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>728264</commentid>
    <comment_count>13</comment_count>
    <who name="Zan Dobersek">zan</who>
    <bug_when>2012-09-26 00:16:24 -0700</bug_when>
    <thetext>(In reply to comment #12)
&gt; (In reply to comment #10)
&gt; &gt; After closer reinspection I&apos;m not finding any practical way of how to test this. Testing MockDRT behavior is not helping to test the code changes in SingleTestRunner and the latter class doesn&apos;t have its own unit tests. I&apos;d be glad to receive some pointers on how to approach this
&gt; 
&gt; I was looking for integration-level tests that make sure that we&apos;re testing how reftest mismatches are handled; it turns out that the way the Test port was implemented wasn&apos;t matching the normal ports&apos; behavior, so I&apos;ve updated it to return no image if the hashes match (and updated diff_image() to match the base implementation if it gets None). MockDRT could probably use a similar patch but we don&apos;t need it for this.
&gt; 

Aha, thanks, makes sense.

&gt; &gt; to be honest most of the latest changes to this code haven&apos;t included any tests).
&gt; 
&gt; Pointers? If that was true, that would either be because the change wasn&apos;t for something I considered worth testing (e.g. the text in a log message), or I thought it was covered by existing tests. If there were substantive changes that went in w/o tests I&apos;d be sad (probably means I missed something in the review).

To be fair nothing substantial went in without being tested, though admittedly I was considering this patch unsubstantial as well. I apologize if I came around as offensive or doubtful, I didn&apos;t mean to. Thanks again, I&apos;ll land the patch shortly.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>728265</commentid>
    <comment_count>14</comment_count>
    <who name="Zan Dobersek">zan</who>
    <bug_when>2012-09-26 00:17:52 -0700</bug_when>
    <thetext>Committed r129600: &lt;http://trac.webkit.org/changeset/129600&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>728727</commentid>
    <comment_count>15</comment_count>
    <who name="Dirk Pranke">dpranke</who>
    <bug_when>2012-09-26 10:46:52 -0700</bug_when>
    <thetext>(In reply to comment #13)
&gt; To be fair nothing substantial went in without being tested, though admittedly I was considering this patch unsubstantial as well. I apologize if I came around as offensive or doubtful, I didn&apos;t mean to. 

No offense taken, I was just wondering if I missed something.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="1"
              ispatch="1"
              isprivate="0"
          >
            <attachid>164941</attachid>
            <date>2012-09-20 10:33:40 -0700</date>
            <delta_ts>2012-09-25 14:12:08 -0700</delta_ts>
            <desc>Patch</desc>
            <filename>bug-97112-20120920103305.patch</filename>
            <type>text/plain</type>
            <size>2376</size>
            <attacher name="Zan Dobersek">zan</attacher>
            
              <data encoding="base64">U3VidmVyc2lvbiBSZXZpc2lvbjogMTI5MTM5CmRpZmYgLS1naXQgYS9Ub29scy9DaGFuZ2VMb2cg
Yi9Ub29scy9DaGFuZ2VMb2cKaW5kZXggZjMzZTZlZDBjNWYxZmNhZDRmNjljMDQ5MWNlYWJhYTEy
ZDU2YzdlYi4uZWM4NzFjNzNkYWU3MWQzNzJmNzIyZjQ0MDA4MDA3OTU0MDYzY2E4MyAxMDA2NDQK
LS0tIGEvVG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HJl
ZmVyZW5jZV9maWxlbmFtZSkKLSAgICAgICAgICAgIHJlZmVyZW5jZV9vdXRwdXQgPSBzZWxmLl9k
cml2ZXIucnVuX3Rlc3QoRHJpdmVySW5wdXQocmVmZXJlbmNlX3Rlc3RfbmFtZSwgc2VsZi5fdGlt
ZW91dCwgdGVzdF9vdXRwdXQuaW1hZ2VfaGFzaCwgc2hvdWxkX3J1bl9waXhlbF90ZXN0PVRydWUp
LCBzZWxmLl9zdG9wX3doZW5fZG9uZSkKKyAgICAgICAgICAgIHJlZmVyZW5jZV9vdXRwdXQgPSBz
ZWxmLl9kcml2ZXIucnVuX3Rlc3QoRHJpdmVySW5wdXQocmVmZXJlbmNlX3Rlc3RfbmFtZSwgc2Vs
Zi5fdGltZW91dCwgTm9uZSwgc2hvdWxkX3J1bl9waXhlbF90ZXN0PVRydWUpLCBzZWxmLl9zdG9w
X3doZW5fZG9uZSkKICAgICAgICAgICAgIHRlc3RfcmVzdWx0ID0gc2VsZi5fY29tcGFyZV9vdXRw
dXRfd2l0aF9yZWZlcmVuY2UocmVmZXJlbmNlX291dHB1dCwgdGVzdF9vdXRwdXQsIHJlZmVyZW5j
ZV9maWxlbmFtZSwgZXhwZWN0YXRpb24gPT0gJyE9JykKIAogICAgICAgICAgICAgaWYgKGV4cGVj
dGF0aW9uID09ICchPScgYW5kIHRlc3RfcmVzdWx0LmZhaWx1cmVzKSBvciAoZXhwZWN0YXRpb24g
PT0gJz09JyBhbmQgbm90IHRlc3RfcmVzdWx0LmZhaWx1cmVzKToK
</data>

          </attachment>
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>165666</attachid>
            <date>2012-09-25 14:12:10 -0700</date>
            <delta_ts>2012-09-25 14:15:59 -0700</delta_ts>
            <desc>Patch</desc>
            <filename>bug-97112-20120925141130.patch</filename>
            <type>text/plain</type>
            <size>3911</size>
            <attacher name="Dirk Pranke">dpranke</attacher>
            
              <data encoding="base64">U3VidmVyc2lvbiBSZXZ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Y29u
dGVudHM6CiAgICAgICAgICAgICBhc3NlcnQgdG9sZXJhbmNlID09IDAKICAgICAgICAgaWYgZGlm
ZmVkOgpAQCAtNTY4LDcgKzU3MiwxMSBAQCBjbGFzcyBUZXN0RHJpdmVyKERyaXZlcik6CiAgICAg
ICAgIGlmIHN0b3Bfd2hlbl9kb25lOgogICAgICAgICAgICAgc2VsZi5zdG9wKCkKIAotICAgICAg
ICByZXR1cm4gRHJpdmVyT3V0cHV0KGFjdHVhbF90ZXh0LCB0ZXN0LmFjdHVhbF9pbWFnZSwgdGVz
dC5hY3R1YWxfY2hlY2tzdW0sIGF1ZGlvLAorICAgICAgICBpZiB0ZXN0LmFjdHVhbF9jaGVja3N1
bSA9PSB0ZXN0X2lucHV0LmltYWdlX2hhc2g6CisgICAgICAgICAgICBpbWFnZSA9IE5vbmUKKyAg
ICAgICAgZWxzZToKKyAgICAgICAgICAgIGltYWdlID0gdGVzdC5hY3R1YWxfaW1hZ2UKKyAgICAg
ICAgcmV0dXJuIERyaXZlck91dHB1dChhY3R1YWxfdGV4dCwgaW1hZ2UsIHRlc3QuYWN0dWFsX2No
ZWNrc3VtLCBhdWRpbywKICAgICAgICAgICAgIGNyYXNoPXRlc3QuY3Jhc2ggb3IgdGVzdC53ZWJf
cHJvY2Vzc19jcmFzaCwgY3Jhc2hlZF9wcm9jZXNzX25hbWU9Y3Jhc2hlZF9wcm9jZXNzX25hbWUs
CiAgICAgICAgICAgICBjcmFzaGVkX3BpZD1jcmFzaGVkX3BpZCwgY3Jhc2hfbG9nPWNyYXNoX2xv
ZywKICAgICAgICAgICAgIHRlc3RfdGltZT10aW1lLnRpbWUoKSAtIHN0YXJ0X3RpbWUsIHRpbWVv
dXQ9dGVzdC50aW1lb3V0LCBlcnJvcj10ZXN0LmVycm9yKQo=
</data>
<flag name="review"
          id="177795"
          type_id="1"
          status="+"
          setter="dpranke"
    />
          </attachment>
      

    </bug>

</bugzilla>