<?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>241027</bug_id>
          
          <creation_ts>2022-05-27 11:14:43 -0700</creation_ts>
          <short_desc>Flakes in WebGL conformance[2]/textures/image_bitmap_from_image_bitmap/ tests</short_desc>
          <delta_ts>2022-08-11 02:15:28 -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>WebGL</component>
          <version>WebKit 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>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>189641</blocked>
    
    <blocked>189672</blocked>
    
    <blocked>241145</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Kenneth Russell">kbr</reporter>
          <assigned_to name="Kenneth Russell">kbr</assigned_to>
          <cc>dino</cc>
    
    <cc>fujii</cc>
    
    <cc>kbr</cc>
    
    <cc>kkinnunen</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1872369</commentid>
    <comment_count>0</comment_count>
    <who name="Kenneth Russell">kbr</who>
    <bug_when>2022-05-27 11:14:43 -0700</bug_when>
    <thetext>Flakes are seen in the conformance[2]/textures/image_bitmap_from_image_bitmap/ portion of the WebGL 1.0/2.0 conformance tests. Here&apos;s an example test build of a PR which didn&apos;t touch this code at all:
https://ews-build.webkit.org/#/builders/70/builds/8221

(from https://github.com/WebKit/WebKit/pull/1063 )

Per the test history from one of these tests, webgl/2.0.0/conformance/textures/image_bitmap_from_image_bitmap/tex-2d-rgba-rgba-unsigned_short_5_5_5_1.html :
https://results.webkit.org/?suite=layout-tests&amp;test=webgl%2F2.0.0%2Fconformance%2Ftextures%2Fimage_bitmap_from_image_bitmap%2Ftex-2d-rgba-rgba-unsigned_short_5_5_5_1.html

flakes are seen on the &quot;Big Sur E wk2 Release on Macmini9,1 with arm64&quot; bot as far back as 5/20/2022:
https://build.webkit.org/#/builders/104/builds/8259

and on the &quot;Big Sur E wk2 Release on Macmini8,1 with x86_64&quot; bot also as far back as 5/20/2022:
https://build.webkit.org/#/builders/70/builds/9383

The symptom is that the first couple of ImageBitmaps created from ImageBitmaps, and then uploaded to textures, are black instead of solid red:
https://ews-build.webkit.org/#/builders/70/builds/8221
https://ews-build.s3-us-west-2.amazonaws.com/macOS-BigSur-Release-WK2-Tests-EWS/2e874539-8221/webgl/2.0.0/conformance/textures/image_bitmap_from_image_bitmap/tex-2d-rgba-rgba-unsigned_short_5_5_5_1-pretty-diff.html

This is more likely a bug in the ImageBitmap implementation rather than a bug in ANGLE.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1872371</commentid>
    <comment_count>1</comment_count>
    <who name="Kenneth Russell">kbr</who>
    <bug_when>2022-05-27 11:25:32 -0700</bug_when>
    <thetext>Actually these all seem to only be happening in the webgl/2.0.0/ versions of the tests, which makes suppression simpler.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1872377</commentid>
    <comment_count>2</comment_count>
    <who name="Kenneth Russell">kbr</who>
    <bug_when>2022-05-27 11:35:21 -0700</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/1107</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1872453</commentid>
    <comment_count>3</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2022-05-27 15:56:41 -0700</bug_when>
    <thetext>Test gardening commit r294961 (251065@main): &lt;https://commits.webkit.org/251065@main&gt;

Reviewed commits have been landed. Closing PR #1107 and removing active labels.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1872813</commentid>
    <comment_count>4</comment_count>
    <who name="Fujii Hironori">fujii</who>
    <bug_when>2022-05-30 14:10:10 -0700</bug_when>
    <thetext>Commit-Queue bot is frequently blocking due to this flakiness now.
https://ews-build.webkit.org/#/builders/28

Why not marking in the top TestExpectations rather than webgl/TestExpectations?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1873081</commentid>
    <comment_count>5</comment_count>
    <who name="Kenneth Russell">kbr</who>
    <bug_when>2022-05-31 12:42:27 -0700</bug_when>
    <thetext>(In reply to Fujii Hironori from comment #4)
&gt; Commit-Queue bot is frequently blocking due to this flakiness now.
&gt; https://ews-build.webkit.org/#/builders/28
&gt; 
&gt; Why not marking in the top TestExpectations rather than
&gt; webgl/TestExpectations?

How do these suppressions behave differently if they are in one or the other file? I&apos;ll move them to the top level in Bug 241145.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1873084</commentid>
    <comment_count>6</comment_count>
    <who name="Fujii Hironori">fujii</who>
    <bug_when>2022-05-31 12:50:22 -0700</bug_when>
    <thetext>I didn&apos;t know about webgl/TestExpectations. According to but#204327 comment#0, it should have just a single line. `webgl [ Pass Slow ]`</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1873085</commentid>
    <comment_count>7</comment_count>
    <who name="Fujii Hironori">fujii</who>
    <bug_when>2022-05-31 12:50:49 -0700</bug_when>
    <thetext>See bug#204327 comment#0</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1873955</commentid>
    <comment_count>8</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2022-06-03 11:15:13 -0700</bug_when>
    <thetext>&lt;rdar://problem/94356218&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1890519</commentid>
    <comment_count>9</comment_count>
    <who name="Kimmo Kinnunen">kkinnunen</who>
    <bug_when>2022-08-11 02:15:28 -0700</bug_when>
    <thetext>Further work on this particular bug description seems unactionable. Let&apos;s file specific bugs on the further issues.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>