<?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>154764</bug_id>
          
          <creation_ts>2016-02-26 17:23:43 -0800</creation_ts>
          <short_desc>[iOS Simulator] Reftests don&apos;t work</short_desc>
          <delta_ts>2016-02-29 09:26:08 -0800</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>Other</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=154761</see_also>
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Alexey Proskuryakov">ap</reporter>
          <assigned_to name="Alexey Proskuryakov">ap</assigned_to>
          <cc>commit-queue</cc>
    
    <cc>dbates</cc>
    
    <cc>glenn</cc>
    
    <cc>lforschler</cc>
    
    <cc>mmaxfield</cc>
    
    <cc>ryanhaddad</cc>
    
    <cc>simon.fraser</cc>
    
    <cc>thorton</cc>
    
    <cc>zalan</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1168762</commentid>
    <comment_count>0</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2016-02-26 17:23:43 -0800</bug_when>
    <thetext>ImageDiff doesn&apos;t work in iOS simulator - all failing tests say &quot;ref test hashes didn&apos;t match but diff passed&quot;.

Looks like the problem is with launching it:

$ xcrun -sdk iphonesimulator sim --environment=preserve --adopt-pid /Volumes/Data/slave/ios-simulator-9-release-tests-wk1/build/WebKitBuild/Release-iphonesimulator/ImageDiff --tolerance 0
xcrun: error: unable to find utility &quot;sim&quot;, not a developer tool or in PATH</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1168774</commentid>
    <comment_count>1</comment_count>
      <attachid>272389</attachid>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2016-02-26 18:04:38 -0800</bug_when>
    <thetext>Created attachment 272389
proposed fix</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1168778</commentid>
    <comment_count>2</comment_count>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2016-02-26 18:14:19 -0800</bug_when>
    <thetext>(In reply to comment #0)
&gt; ImageDiff doesn&apos;t work in iOS simulator - all failing tests say &quot;ref test
&gt; hashes didn&apos;t match but diff passed&quot;.

All of them? Don&apos;t we have an &quot;expected mismatch&quot; test that fails when ref tests aren&apos;t working?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1168779</commentid>
    <comment_count>3</comment_count>
      <attachid>272389</attachid>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2016-02-26 18:53:38 -0800</bug_when>
    <thetext>Comment on attachment 272389
proposed fix

Clearing flags on attachment: 272389

Committed r197227: &lt;http://trac.webkit.org/changeset/197227&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1168780</commentid>
    <comment_count>4</comment_count>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2016-02-26 18:53:43 -0800</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1168781</commentid>
    <comment_count>5</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2016-02-26 18:56:53 -0800</bug_when>
    <thetext>Presumably all expected mismatch tests are already marked as failing or skipped, because of this bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1168891</commentid>
    <comment_count>6</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2016-02-27 12:23:46 -0800</bug_when>
    <thetext>Now that reftests work, there is a number of failing tests.

https://build.webkit.org/results/Apple%20iOS%209%20Simulator%20Release%20WK2%20(Tests)/r197255%20(3477)/results.html

Mass marked them as failing in &lt;http://trac.webkit.org/r197258&gt;. They need triage, it&apos;s mostly text and layout issues.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1169065</commentid>
    <comment_count>7</comment_count>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2016-02-28 20:18:59 -0800</bug_when>
    <thetext>We should probably have a directory of unskippable tests (like fast/harness) that make sure the harness is working.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1169158</commentid>
    <comment_count>8</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2016-02-29 09:26:08 -0800</bug_when>
    <thetext>We didn&apos;t really have much trouble detecting that something was wrong, and guessing that reftests were completely broken. The problem was with finding the time to investigate the issue.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>272389</attachid>
            <date>2016-02-26 18:04:38 -0800</date>
            <delta_ts>2016-02-26 18:53:38 -0800</delta_ts>
            <desc>proposed fix</desc>
            <filename>iOSImageDiff.txt</filename>
            <type>text/plain</type>
            <size>1846</size>
            <attacher name="Alexey Proskuryakov">ap</attacher>
            
              <data encoding="base64">SW5kZXg6IFRvb2xzL0NoYW5nZUxvZwo9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09Ci0tLSBUb29scy9DaGFuZ2VMb2cJKHJl
dmlzaW9uIDE5NzIyNCkKKysrIFRvb2xzL0NoYW5nZUxvZwkod29ya2luZyBjb3B5KQpAQCAtMSwz
ICsxLDEzIEBACisyMDE2LTAyLTI2ICBBbGV4ZXkgUHJvc2t1cnlha292ICA8Y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