<?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>198867</bug_id>
          
          <creation_ts>2019-06-14 13:57:13 -0700</creation_ts>
          <short_desc>REGRESSION: Layout Test webgl/many-contexts.html is a flaky timeout on Mojave+</short_desc>
          <delta_ts>2022-04-22 00:22:02 -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>NEW</bug_status>
          <resolution></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>239640</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Ryan Haddad">ryanhaddad</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ap</cc>
    
    <cc>dino</cc>
    
    <cc>jbedard</cc>
    
    <cc>justin_fan</cc>
    
    <cc>rniwa</cc>
    
    <cc>simon.fraser</cc>
    
    <cc>tsavell</cc>
    
    <cc>webkit-bot-watchers-bugzilla</cc>
    
    <cc>webkit-bug-importer</cc>
    
    <cc>youennf</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1544831</commentid>
    <comment_count>0</comment_count>
    <who name="Ryan Haddad">ryanhaddad</who>
    <bug_when>2019-06-14 13:57:13 -0700</bug_when>
    <thetext>The following layout test is a flaky timeout on Mojave

webgl/many-contexts.html

Flakiness Dashboard:

https://webkit-test-results.webkit.org/dashboards/flakiness_dashboard.html#showAllRuns=true&amp;tests=webgl%2Fmany-contexts.html

--- /Volumes/Data/slave/mojave-release-tests-wk1/build/layout-test-results/webgl/many-contexts-expected.txt
+++ /Volumes/Data/slave/mojave-release-tests-wk1/build/layout-test-results/webgl/many-contexts-actual.txt
@@ -982,4 +982,5 @@
 CONSOLE MESSAGE: line 12: There are too many active WebGL contexts on this page, the oldest context will be lost.
 CONSOLE MESSAGE: line 12: There are too many active WebGL contexts on this page, the oldest context will be lost.
 CONSOLE MESSAGE: line 12: There are too many active WebGL contexts on this page, the oldest context will be lost.
+FAIL: Timed out waiting for notifyDone to be called
 PASS if this test did not crash.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1544835</commentid>
    <comment_count>1</comment_count>
    <who name="Ryan Haddad">ryanhaddad</who>
    <bug_when>2019-06-14 14:00:32 -0700</bug_when>
    <thetext>This test had been taking about 20 seconds to run until Jun 8, 2019 ~r246232, and now it waffles between the high 20s and timeouts.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1545274</commentid>
    <comment_count>2</comment_count>
    <who name="Truitt Savell">tsavell</who>
    <bug_when>2019-06-17 09:45:52 -0700</bug_when>
    <thetext>When I try to reproduce this all I am getting locally is crashes.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1545282</commentid>
    <comment_count>3</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2019-06-17 10:19:10 -0700</bug_when>
    <thetext>&lt;rdar://problem/51810342&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1546140</commentid>
    <comment_count>4</comment_count>
    <who name="Truitt Savell">tsavell</who>
    <bug_when>2019-06-19 11:07:36 -0700</bug_when>
    <thetext>Ryan found that when he rebooted the leaks bot this test stopped timing out there and began slowly ticking back up in its time. it went from 35 second to 8 on restart and is back up to 10 seconds now.

The output of this test has more CONSOLE MESSAGE: lines dependent on how long it takes to timeout.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1552431</commentid>
    <comment_count>5</comment_count>
    <who name="Jonathan Bedard">jbedard</who>
    <bug_when>2019-07-12 09:08:57 -0700</bug_when>
    <thetext>This sounds like we&apos;re leaking something at the os level resource. This can probably effect other tests too.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1581432</commentid>
    <comment_count>6</comment_count>
    <who name="Truitt Savell">tsavell</who>
    <bug_when>2019-10-18 09:28:41 -0700</bug_when>
    <thetext>Marked this test as skip for Mojave+ while this is being investigated: https://trac.webkit.org/changeset/251286/webkit</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1585792</commentid>
    <comment_count>7</comment_count>
    <who name="Ryosuke Niwa">rniwa</who>
    <bug_when>2019-10-30 22:49:55 -0700</bug_when>
    <thetext>This appears to be always passing now. We probably need to just get rid of the test expectation.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1585809</commentid>
    <comment_count>8</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2019-10-30 23:50:23 -0700</bug_when>
    <thetext>It&apos;s skipped, so we don&apos;t have any history on flakiness dashboard.

LayoutTests/platform/mac/TestExpectations:2018:webkit.org/b/198867 [ Mojave+ ] webgl/many-contexts.html [ Skip ]

&gt; This sounds like we&apos;re leaking something at the os level resource. This can probably effect other tests too.

Removing the expectation may be necessary to check if this is still happening, but it&apos;s also very dangerous as it can destabilize other tests.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1587584</commentid>
    <comment_count>9</comment_count>
    <who name="Truitt Savell">tsavell</who>
    <bug_when>2019-11-05 16:26:01 -0800</bug_when>
    <thetext>I found another webgl test that is timing out and resets to 1 sec to pass after a restart of the bot. 

webgl/1.0.2/conformance/uniforms/out-of-bounds-uniform-array-access.html

History:
https://webkit-test-results.webkit.org/dashboards/flakiness_dashboard.html#showAllRuns=true&amp;tests=webgl%2F1.0.2%2Fconformance%2Funiforms%2Fout-of-bounds-uniform-array-access.html

I rebooted the bot on 11/5 at 4pm</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1587780</commentid>
    <comment_count>10</comment_count>
    <who name="Truitt Savell">tsavell</who>
    <bug_when>2019-11-06 08:01:48 -0800</bug_when>
    <thetext>*** Bug 203856 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1588026</commentid>
    <comment_count>11</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2019-11-06 17:39:52 -0800</bug_when>
    <thetext>So something in our tests makes WebGL slower with time, even as all of our processes get restarted. And the culprit may well be some other test or tests, not the ones listed here.

It seems like it may still be a problem on Catalina, as run times seem to be increasing - although they haven&apos;t reached 30 seconds yet.

I think that this has to be a GPU driver issue, but hopefully we can isolate and maybe work around it.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>