<?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>60381</bug_id>
          
          <creation_ts>2011-05-06 10:34:18 -0700</creation_ts>
          <short_desc>NRWT has unexpected failures for MISSING tests when run with --no-pixel</short_desc>
          <delta_ts>2012-06-08 16:13:49 -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>WONTFIX</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>64367</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Tony Chang">tony</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>abarth</cc>
    
    <cc>dpranke</cc>
    
    <cc>eric</cc>
    
    <cc>ojan</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>399614</commentid>
    <comment_count>0</comment_count>
    <who name="Tony Chang">tony</who>
    <bug_when>2011-05-06 10:34:18 -0700</bug_when>
    <thetext>abarth is trying to get the ews chromium linux bots to run layout tests.  He&apos;s using --no-pixel to start.  There are two tests that are marked as MISSING because there are no png files checked in.  When running running with --no-pixel, these tests fail text diff (i.e., TEXT failure) and show up as unexpected failures.

Maybe when running --no-pixel, if a test is marked as MISSING we still need to check for a png file?  Another possibility is to have MISSING imply other failures, but that reduces the incentives to remove MISSING from test_expectations.txt.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>399622</commentid>
    <comment_count>1</comment_count>
    <who name="Dirk Pranke">dpranke</who>
    <bug_when>2011-05-06 10:41:54 -0700</bug_when>
    <thetext>Hm. Well, a lame workaround would be to mark the test as TEXT MISSING. I will mull this over further.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>399789</commentid>
    <comment_count>2</comment_count>
    <who name="Ojan Vafai">ojan</who>
    <bug_when>2011-05-06 13:52:38 -0700</bug_when>
    <thetext>I&apos;ve actually wanted us to get rid of MISSING and instead having MISSING-TEXT, MISSING-IMAGE, MISSING-IMAGE+TEXT, MISSING-AUDIO. This would be a step in the direction of having the JSON be a 1:1 map to the TestFailure types. I&apos;d still be OK with allowing people to put MISSING in the test_expectations file and  it would just be syntactic sugar for any of the above.

We&apos;d be able to remove is_missing_audio, is_missing_text and is_missing_image from the json we output at http://trac.webkit.org/browser/trunk/Tools/Scripts/webkitpy/layout_tests/layout_package/manager.py#L164</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>399790</commentid>
    <comment_count>3</comment_count>
    <who name="Ojan Vafai">ojan</who>
    <bug_when>2011-05-06 13:54:32 -0700</bug_when>
    <thetext>I guess that doesn&apos;t actually solve this problem. Ugh. Sorry for the noise.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>399793</commentid>
    <comment_count>4</comment_count>
    <who name="Dirk Pranke">dpranke</who>
    <bug_when>2011-05-06 14:02:45 -0700</bug_when>
    <thetext>Having thought about this further, I think the lame workaround should be good enough. MISSING is an unusual expectation that is trivially fixed, and I don&apos;t think it makes sense to alter the code to do anything about it.

What do others think?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>399809</commentid>
    <comment_count>5</comment_count>
    <who name="Ojan Vafai">ojan</who>
    <bug_when>2011-05-06 14:21:43 -0700</bug_when>
    <thetext>I agree. We need to work to simplify the test_expectations syntax as much as possible, not complicate it.

I&apos;m OK with Tony&apos;s first solution of still checking for a png file when running --no-pixel if it&apos;s not a dumpAsText test.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>399817</commentid>
    <comment_count>6</comment_count>
    <who name="Tony Chang">tony</who>
    <bug_when>2011-05-06 14:25:48 -0700</bug_when>
    <thetext>Updating test_expectations.txt is fine with me.

I think platform/gtk/fonts/fontconfig-synthetic-bold.html is the only one left now.  I poked the other test author and I think a png got checked in for fast/forms/date-input-visible-strings.html.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>399822</commentid>
    <comment_count>7</comment_count>
    <who name="Dirk Pranke">dpranke</who>
    <bug_when>2011-05-06 14:34:46 -0700</bug_when>
    <thetext>(In reply to comment #5)
&gt; I agree. We need to work to simplify the test_expectations syntax as much as possible, not complicate it.
&gt; 
&gt; I&apos;m OK with Tony&apos;s first solution of still checking for a png file when running --no-pixel if it&apos;s not a dumpAsText test.

Unfortunately NRWT doesn&apos;t know if a test is a dumpAsText()/dumpAsMarkup() test. It can&apos;t distinguish a test that will never generate PNGs from a test with missing PNGs except insofar as it&apos;ll see that there are audio or reftest expectations instead.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>436018</commentid>
    <comment_count>8</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2011-07-12 15:23:07 -0700</bug_when>
    <thetext>This seems related to bug 64367?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>482726</commentid>
    <comment_count>9</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2011-10-12 14:35:02 -0700</bug_when>
    <thetext>I assume this is still an issue?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>482750</commentid>
    <comment_count>10</comment_count>
    <who name="Dirk Pranke">dpranke</who>
    <bug_when>2011-10-12 14:49:39 -0700</bug_when>
    <thetext>nothing changed in the code to address this bug. However, I&apos;m not clear if this is still considered a bug worth doing anything about.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>645116</commentid>
    <comment_count>11</comment_count>
    <who name="Dirk Pranke">dpranke</who>
    <bug_when>2012-06-08 16:13:49 -0700</bug_when>
    <thetext>I&apos;m going to close this as WONTFIX; please re-open or file a new bug if anyone would like to see something different happen here.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>