<?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>248544</bug_id>
          
          <creation_ts>2022-11-30 11:52:40 -0800</creation_ts>
          <short_desc>REGRESSION (256665@main): [ Ventura ] fast/images/avif-as-image.html is a consistent image failure</short_desc>
          <delta_ts>2023-01-17 12:05:19 -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>New Bugs</component>
          <version>WebKit Nightly Build</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=247704</see_also>
    
    <see_also>https://bugs.webkit.org/show_bug.cgi?id=250045</see_also>
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Karl Rackler">rackler</reporter>
          <assigned_to name="Said Abou-Hallawa">sabouhallawa</assigned_to>
          <cc>ryanhaddad</cc>
    
    <cc>sabouhallawa</cc>
    
    <cc>webkit-bot-watchers-bugzilla</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1915660</commentid>
    <comment_count>0</comment_count>
    <who name="Karl Rackler">rackler</who>
    <bug_when>2022-11-30 11:52:40 -0800</bug_when>
    <thetext>Description:
fast/images/avif-as-image.html

There was an AVIF tests garden at 255947@main where I first saw the history of the image failure for Ventura.  I observed later in the history at 255984@main that AVIF image decoding using libavif and dav1d is enabled, and that is where I see the test begin to pass on Monterey and BigSur, but fail for Ventura. Still, there was a test expectation in place for this.  Finally, there was work to AVIF image animates only one loop at 256665@main where the test expectation was removed, which seemed to cause the image failure on the flakiness dashboard to appear again.  

History:
https://results.webkit.org/?suite=layout-tests&amp;test=fast%2Fimages%2Favif-as-image.html&amp;platform=ios&amp;platform=mac&amp;limit=50000

Image Diff:
https://build.webkit.org/results/Apple-Ventura-Release-WK2-Tests/257176@main%20(385)/fast/images/avif-as-image-diffs.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1915661</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2022-11-30 11:53:06 -0800</bug_when>
    <thetext>&lt;rdar://problem/102823196&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1915686</commentid>
    <comment_count>2</comment_count>
    <who name="Karl Rackler">rackler</who>
    <bug_when>2022-11-30 13:24:59 -0800</bug_when>
    <thetext>This issue can be reproduced using the command: 
run-webkit-tests --exit-after-n-failures 1 --exit-after-n-crashes-or-timeouts 1 --iterations 50 -f --no-retry fast/images/avif-as-image.html

Result: 
Regressions: Unexpected image-only failures (1)
  fast/images/avif-as-image.html [ ImageOnlyFailure ]</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1915688</commentid>
    <comment_count>3</comment_count>
    <who name="Karl Rackler">rackler</who>
    <bug_when>2022-11-30 13:28:10 -0800</bug_when>
    <thetext>I have marked this test as a consistent image failure while this issue is investigated.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1915694</commentid>
    <comment_count>4</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2022-11-30 13:38:47 -0800</bug_when>
    <thetext>Test gardening commit 257195@main (60a1d6da7b93): &lt;https://commits.webkit.org/257195@main&gt;

Reviewed commits have been landed. Closing PR #6985 and removing active labels.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1917368</commentid>
    <comment_count>5</comment_count>
    <who name="Said Abou-Hallawa">sabouhallawa</who>
    <bug_when>2022-12-07 14:33:50 -0800</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/7287</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1918532</commentid>
    <comment_count>6</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2022-12-12 10:44:03 -0800</bug_when>
    <thetext>Committed 257738@main (c7d2aef57843): &lt;https://commits.webkit.org/257738@main&gt;

Reviewed commits have been landed. Closing PR #7287 and removing active labels.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1923539</commentid>
    <comment_count>7</comment_count>
    <who name="Karl Rackler">rackler</who>
    <bug_when>2023-01-06 10:13:19 -0800</bug_when>
    <thetext>Re-opening.  Looking at the history, landing 257738@main did not seem to resolve the issue.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1923694</commentid>
    <comment_count>8</comment_count>
    <who name="Said Abou-Hallawa">sabouhallawa</who>
    <bug_when>2023-01-06 17:25:17 -0800</bug_when>
    <thetext>The TestExpectations have these entries for this test:

LayoutTests/TestExpectations:fast/images/avif-as-image.html [ ImageOnlyFailure ]
LayoutTests/platform/win/TestExpectations:fast/images/avif-as-image.html [ Skip ]
LayoutTests/platform/mac/TestExpectations:[ Ventura+ ] fast/images/avif-as-image.html [ Pass ]

What I wanted to say by these entries is: this test is expected to fail on all platforms and on all macOS versions except on macOS Ventura.

So I am not sure why iOS says it fails even though the expectations say: &quot;yes we expect it to fail on iOS&quot;. Also I do not know why it runs on macOS Monetary and BigSur arm64. Should I add entries in mac-ventura/TestExpectations,  mac-monterey/TestExpectations and  mac-ventura/TestExpectations for this file?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1923711</commentid>
    <comment_count>9</comment_count>
    <who name="Karl Rackler">rackler</who>
    <bug_when>2023-01-06 18:08:49 -0800</bug_when>
    <thetext>(In reply to Said Abou-Hallawa from comment #8)
&gt; The TestExpectations have these entries for this test:
&gt; 
&gt; LayoutTests/TestExpectations:fast/images/avif-as-image.html [
&gt; ImageOnlyFailure ]
&gt; LayoutTests/platform/win/TestExpectations:fast/images/avif-as-image.html [
&gt; Skip ]
&gt; LayoutTests/platform/mac/TestExpectations:[ Ventura+ ]
&gt; fast/images/avif-as-image.html [ Pass ]
&gt; 
&gt; What I wanted to say by these entries is: this test is expected to fail on
&gt; all platforms and on all macOS versions except on macOS Ventura.
&gt; 
&gt; So I am not sure why iOS says it fails even though the expectations say:
&gt; &quot;yes we expect it to fail on iOS&quot;. Also I do not know why it runs on macOS
&gt; Monetary and BigSur arm64. Should I add entries in
&gt; mac-ventura/TestExpectations,  mac-monterey/TestExpectations and 
&gt; mac-ventura/TestExpectations for this file?

You currently have the test expectations set up such that everything is passing on WebKit Results Database if you turn on &quot;Filter expected results&quot; except for mac-ventura.

This is because the test expectation for Mac-ventura was removed by 257738@main.

I am looking at the latest run, and the expected image is a lime square, and the actual image is a black square.  
https://build.webkit.org/results/Apple-Ventura-Release-AppleSilicon-WK2-Tests/258574@main%20(917)/fast/images/avif-as-image-diffs.html

I&apos;m adding the test expectation back in place while this issue is investigated.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1923712</commentid>
    <comment_count>10</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2023-01-06 18:16:15 -0800</bug_when>
    <thetext>Test gardening commit 258590@main (eda93cc0bc7f): &lt;https://commits.webkit.org/258590@main&gt;

Reviewed commits have been landed. Closing PR #8342 and removing active labels.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1925388</commentid>
    <comment_count>11</comment_count>
    <who name="Said Abou-Hallawa">sabouhallawa</who>
    <bug_when>2023-01-13 10:58:08 -0800</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/8630</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1925692</commentid>
    <comment_count>12</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2023-01-15 11:13:24 -0800</bug_when>
    <thetext>Committed 258934@main (9bffbcdd799e): &lt;https://commits.webkit.org/258934@main&gt;

Reviewed commits have been landed. Closing PR #8630 and removing active labels.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1926059</commentid>
    <comment_count>13</comment_count>
    <who name="Said Abou-Hallawa">sabouhallawa</who>
    <bug_when>2023-01-17 12:05:19 -0800</bug_when>
    <thetext>*** Bug 250045 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>