<?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>205667</bug_id>
          
          <creation_ts>2019-12-31 14:55:02 -0800</creation_ts>
          <short_desc>REGRESSION (r253926): webgl/2.0.0/conformance2/buffers/get-buffer-sub-data.html is a flaky failure</short_desc>
          <delta_ts>2020-05-21 08:26:53 -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 Local 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=205483</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>
          <dependson>208724</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Alexey Proskuryakov">ap</reporter>
          <assigned_to name="Kenneth Russell">kbr</assigned_to>
          <cc>dino</cc>
    
    <cc>jdarpinian</cc>
    
    <cc>justin_fan</cc>
    
    <cc>kbr</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1602022</commentid>
    <comment_count>0</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2019-12-31 14:55:02 -0800</bug_when>
    <thetext>webgl/2.0.0/conformance2/buffers/get-buffer-sub-data.html became a flaky failure after the switch to ANGLE.

https://results.webkit.org/?suite=layout-tests&amp;test=webgl%2F2.0.0%2Fconformance2%2Fbuffers%2Fget-buffer-sub-data.html

@@ -29,11 +29,11 @@
 [ 26: PASS ] getError was expected value: INVALID_OPERATION : after evaluating: gl.getBufferSubData(gl.ELEMENT_ARRAY_BUFFER, 0, retArray)
 [ 27: FAIL ] getError expected: INVALID_VALUE. Was INVALID_OPERATION : after evaluating: gl.getBufferSubData(gl.ARRAY_BUFFER, -1, retArray)
 [ 28: PASS ] getError was expected value: NO_ERROR : after evaluating: gl.getBufferSubData(gl.ARRAY_BUFFER, 0, retArray)
-[ 29: PASS ] areArraysEqual(retArray, [0, 0, 0, 0, 0, 0, 0, 0, 0]) is true
+[ 29: FAIL ] areArraysEqual(retArray, [0, 0, 0, 0, 0, 0, 0, 0, 0]) should be true. Was false.
 [ 30: PASS ] getError was expected value: NO_ERROR : after evaluating: gl.getBufferSubData(gl.ARRAY_BUFFER, 0, retArray)
 [ 31: PASS ] areArraysEqual(retArray, floatArray) is true
 [ 32: PASS ] getError was expected value: NO_ERROR : after evaluating: gl.getBufferSubData(gl.ARRAY_BUFFER, 0, retArray)
 [ 33: PASS ] areArraysEqual(retArray, floatArray) is true
 [ 34: PASS ] successfullyParsed is true
-[ FAIL ] 7 failures reported
+[ FAIL ] 8 failures reported</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1602023</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2019-12-31 14:55:13 -0800</bug_when>
    <thetext>&lt;rdar://problem/58257175&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1602580</commentid>
    <comment_count>2</comment_count>
    <who name="Kenneth Russell">kbr</who>
    <bug_when>2020-01-03 14:11:48 -0800</bug_when>
    <thetext>I&apos;ll investigate this locally.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1602680</commentid>
    <comment_count>3</comment_count>
    <who name="Kenneth Russell">kbr</who>
    <bug_when>2020-01-03 18:20:16 -0800</bug_when>
    <thetext>Can&apos;t reproduce with a built (release) WebKit inside Safari. Will try to reproduce inside the layout test runner.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1605418</commentid>
    <comment_count>4</comment_count>
    <who name="James Darpinian">jdarpinian</who>
    <bug_when>2020-01-10 17:13:09 -0800</bug_when>
    <thetext>Can&apos;t reproduce on my MacBook Pro or on a MacBookAir7,2 with Intel HD Graphics 6000 and Catalina 10.15.2. I tried running the test standalone and also with the layout test runner along with other tests.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1612299</commentid>
    <comment_count>5</comment_count>
    <who name="Justin Fan">justin_fan</who>
    <bug_when>2020-01-28 18:52:59 -0800</bug_when>
    <thetext>I have access to a Catalina mac mini 8,1 for now, but first pass (1000 repeats) hasn&apos;t revealed anything yet.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1612333</commentid>
    <comment_count>6</comment_count>
    <who name="Kenneth Russell">kbr</who>
    <bug_when>2020-01-28 23:04:40 -0800</bug_when>
    <thetext>(In reply to Justin Fan from comment #5)
&gt; I have access to a Catalina mac mini 8,1 for now, but first pass (1000
&gt; repeats) hasn&apos;t revealed anything yet.

Thanks for trying. Just to confirm, you&apos;re testing with the current version of ANGLE in WebKit, and with USE_ANGLE=1?

If running this test in isolation doesn&apos;t repro, what about running the entire set of WebGL conformance tests within the layout tests?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1612789</commentid>
    <comment_count>7</comment_count>
    <who name="Justin Fan">justin_fan</who>
    <bug_when>2020-01-29 17:48:40 -0800</bug_when>
    <thetext>The last thing I did was run 25 iterations of a giant list of tests that last led up to the flaky failure on one of our bots, and yes, this was with USE_ANGLE=1 :(</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1654758</commentid>
    <comment_count>8</comment_count>
    <who name="Kenneth Russell">kbr</who>
    <bug_when>2020-05-20 17:48:55 -0700</bug_when>
    <thetext>Is there any way to tell whether the [ Pass Failure ] expectation for this test can be safely removed?

It&apos;s likely that the fix for Bug 208724 addressed this flakiness.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1654769</commentid>
    <comment_count>9</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2020-05-20 18:46:20 -0700</bug_when>
    <thetext>Indeed, the last failure was right before that fix. The expectation can be removed.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1654770</commentid>
    <comment_count>10</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2020-05-20 18:47:01 -0700</bug_when>
    <thetext>History on the bots: https://results.webkit.org/?suite=layout-tests&amp;test=webgl%2F2.0.0%2Fconformance2%2Fbuffers%2Fget-buffer-sub-data.html&amp;recent=false</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1654806</commentid>
    <comment_count>11</comment_count>
      <attachid>399935</attachid>
    <who name="Kenneth Russell">kbr</who>
    <bug_when>2020-05-20 23:08:39 -0700</bug_when>
    <thetext>Created attachment 399935
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1654807</commentid>
    <comment_count>12</comment_count>
    <who name="Kenneth Russell">kbr</who>
    <bug_when>2020-05-20 23:10:06 -0700</bug_when>
    <thetext>Thanks for confirming. I wasn&apos;t sure whether the [ Pass Failure ] expectation would mask failures as passes in the bots&apos; history. (Do they show up as warnings?)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1654924</commentid>
    <comment_count>13</comment_count>
      <attachid>399935</attachid>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2020-05-21 08:22:37 -0700</bug_when>
    <thetext>Comment on attachment 399935
Patch

They show up as actual failures in the history, unless you check &quot;Filter expected results&quot; at the right.

Thank you for following through on this!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1654927</commentid>
    <comment_count>14</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2020-05-21 08:26:52 -0700</bug_when>
    <thetext>Committed r261997: &lt;https://trac.webkit.org/changeset/261997&gt;

All reviewed patches have been landed. Closing bug and clearing flags on attachment 399935.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>399935</attachid>
            <date>2020-05-20 23:08:39 -0700</date>
            <delta_ts>2020-05-21 08:26:52 -0700</delta_ts>
            <desc>Patch</desc>
            <filename>bug-205667-20200520230838.patch</filename>
            <type>text/plain</type>
            <size>1594</size>
            <attacher name="Kenneth Russell">kbr</attacher>
            
              <data encoding="base64">U3VidmVyc2lvbiBSZXZpc2lvbjogMjYxOTg0CmRpZmYgLS1naXQgYS9MYXlvdXRUZXN0cy9DaGFu
Z2VMb2cgYi9MYXlvdXRUZXN0cy9DaGFuZ2VMb2cKaW5kZXggOTQ0N2FlY2QxNzNiODE2N2M2Zjkw
MmUxZjUzNGE3YTc1ZGI0NGY3Zi4uZGMyOTZlMDVmNTQ1OGNkODYyMmQ5YTI2NjEwZGFlNWQ2ODc4
N2FhZiAxMDA2NDQKLS0tIGEvTGF5b3V0VGVzdHMvQ2hhbmdlTG9nCisrKyBiL0xheW91dFRlc3Rz
L0NoYW5nZUxvZwpAQCAtMSwzICsxLDE1IEBACisyMDIwLTA1LTIwICBLZW5uZXRoIFJ1c3NlbGwg
IDxrYnJAY2hyb21pdW0ub3JnPgorCisgICAgICAgIFJFR1JFU1NJT04gKHIyNTM5MjYpOiB3ZWJn
bC8yLjAuMC9jb25mb3JtYW5jZTIvYnVmZmVycy9nZXQtYnVmZmVyLXN1Yi1kYXRhLmh0bWwgaXMg
YSBmbGFreSBmYWlsdXJlCisgICAgICAgIGh0dHBzOi8vYnVncy53ZWJraXQub3JnL3Nob3dfYnVn
LmNnaT9pZD0yMDU2NjcKKworICAgICAgICBSZXZpZXdlZCBieSBOT0JPRFkgKE9PUFMhKS4KKwor
ICAgICAgICBSZW1vdmUgZ2V0LWJ1ZmZlci1zdWItZGF0YS5odG1sIHN1cHByZXNzaW9uIHNpbmNl
IGl0J3Mgbm93IHBhc3NpbmcKKyAgICAgICAgcmVsaWFibHkuCisKKyAgICAgICAgKiB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