<?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>165222</bug_id>
          
          <creation_ts>2016-11-30 14:24:41 -0800</creation_ts>
          <short_desc>REGRESSION (r209144): imported/w3c/web-platform-tests/IndexedDB/idbindex-* tests are flaky in debug builds</short_desc>
          <delta_ts>2021-07-30 10:26:40 -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>New Bugs</component>
          <version>Other</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>228241</dup_id>
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=164974</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>
          
          <blocked>154968</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Ryan Haddad">ryanhaddad</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>beidson</cc>
    
    <cc>jlewis3</cc>
    
    <cc>sihui_liu</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1254981</commentid>
    <comment_count>0</comment_count>
    <who name="Ryan Haddad">ryanhaddad</who>
    <bug_when>2016-11-30 14:24:41 -0800</bug_when>
    <thetext>The following tests have been flaky since https://trac.webkit.org/changeset/209144 landed.

imported/w3c/web-platform-tests/IndexedDB/idbindex-multientry.htm
imported/w3c/web-platform-tests/IndexedDB/idbindex-rename-abort.html
imported/w3c/web-platform-tests/IndexedDB/idbindex-rename-errors.html

https://build.webkit.org/results/Apple%20El%20Capitan%20Debug%20WK2%20(Tests)/r209145%20(9666)/results.html

https://webkit-test-results.webkit.org/dashboards/flakiness_dashboard.html#showAllRuns=true&amp;tests=imported%2Fw3c%2Fweb-platform-tests%2FIndexedDB%2Fidbindex-multientry.htm

https://webkit-test-results.webkit.org/dashboards/flakiness_dashboard.html#showAllRuns=true&amp;tests=imported%2Fw3c%2Fweb-platform-tests%2FIndexedDB%2Fidbindex-rename-abort.html

https://webkit-test-results.webkit.org/dashboards/flakiness_dashboard.html#showAllRuns=true&amp;tests=imported%2Fw3c%2Fweb-platform-tests%2FIndexedDB%2Fidbindex-rename-errors.html

--- /Volumes/Data/slave/elcapitan-debug-tests-wk2/build/layout-test-results/imported/w3c/web-platform-tests/IndexedDB/idbindex-multientry-expected.txt
+++ /Volumes/Data/slave/elcapitan-debug-tests-wk2/build/layout-test-results/imported/w3c/web-platform-tests/IndexedDB/idbindex-multientry-actual.txt
@@ -1,3 +1,5 @@
 
-PASS IDBIndex.multiEntry - adding keys 
+Harness Error (TIMEOUT), message = null
 
+NOTRUN IDBIndex.multiEntry - adding keys 
+</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1254982</commentid>
    <comment_count>1</comment_count>
    <who name="Ryan Haddad">ryanhaddad</who>
    <bug_when>2016-11-30 14:25:55 -0800</bug_when>
    <thetext>This affects macOS Debug WK2</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1255068</commentid>
    <comment_count>2</comment_count>
    <who name="Brady Eidson">beidson</who>
    <bug_when>2016-11-30 17:03:55 -0800</bug_when>
    <thetext>Hammering these in WK2 Debug locally, all sorts of configurations of run-webkit-tests.

Cannot reproduce.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1255386</commentid>
    <comment_count>3</comment_count>
    <who name="Brady Eidson">beidson</who>
    <bug_when>2016-12-01 13:09:31 -0800</bug_when>
    <thetext>Wonder if there&apos;s any Database process crashes and they&apos;re just not coming up in the results?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1255387</commentid>
    <comment_count>4</comment_count>
    <who name="Ryan Haddad">ryanhaddad</who>
    <bug_when>2016-12-01 13:10:31 -0800</bug_when>
    <thetext>(In reply to comment #3)
&gt; Wonder if there&apos;s any Database process crashes and they&apos;re just not coming
&gt; up in the results?

I&apos;ll see if I can find anything.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1255397</commentid>
    <comment_count>5</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2016-12-01 13:18:41 -0800</bug_when>
    <thetext>Brady, how long do these tests take when you run them? If they are slow locally, timing out on the bots wouldn&apos;t be surprising.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1255400</commentid>
    <comment_count>6</comment_count>
    <who name="Ryan Haddad">ryanhaddad</who>
    <bug_when>2016-12-01 13:22:14 -0800</bug_when>
    <thetext>(In reply to comment #4)
&gt; (In reply to comment #3)
&gt; &gt; Wonder if there&apos;s any Database process crashes and they&apos;re just not coming
&gt; &gt; up in the results?
&gt; 
&gt; I&apos;ll see if I can find anything.

I don&apos;t see any database process crashlogs on the bot that most recently had these failures.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1255465</commentid>
    <comment_count>7</comment_count>
    <who name="Brady Eidson">beidson</who>
    <bug_when>2016-12-01 14:07:46 -0800</bug_when>
    <thetext>(In reply to comment #5)
&gt; Brady, how long do these tests take when you run them? If they are slow
&gt; locally, timing out on the bots wouldn&apos;t be surprising.

Extremely quickly.

With webkit-httpd running, the command:
`DYLD_FRAMEWORK_PATH=~/build/Debug/ ~/build/Debug/WebKitTestRunner http://127.0.0.1:8800/IndexedDB/idbindex-multientry.htm http://127.0.0.1:8800/IndexedDB/idbindex-rename-abort.html http://127.0.0.1:8800/IndexedDB/idbindex-rename-errors.html`

...takes well under a second to successfully complete.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1255875</commentid>
    <comment_count>8</comment_count>
    <who name="Brady Eidson">beidson</who>
    <bug_when>2016-12-02 14:00:47 -0800</bug_when>
    <thetext>According to the flakiness dashboard, these literally never timeout on Release builds.
But on Debug builds they take *a long* time.

As mentioned in comment 7, I can&apos;t reproduce these locally even with a debug build. They are very fast.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1255878</commentid>
    <comment_count>9</comment_count>
    <who name="Brady Eidson">beidson</who>
    <bug_when>2016-12-02 14:02:17 -0800</bug_when>
    <thetext>I&apos;m also trying to reason through why they could possibly be related to this patch, and I got nothin&apos;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1255879</commentid>
    <comment_count>10</comment_count>
    <who name="Brady Eidson">beidson</who>
    <bug_when>2016-12-02 14:03:56 -0800</bug_when>
    <thetext>Even completes quickly under gmalloc (locally)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1255882</commentid>
    <comment_count>11</comment_count>
    <who name="Brady Eidson">beidson</who>
    <bug_when>2016-12-02 14:06:49 -0800</bug_when>
    <thetext>We should mark them flakey for debug only.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1255906</commentid>
    <comment_count>12</comment_count>
    <who name="Ryan Haddad">ryanhaddad</who>
    <bug_when>2016-12-02 14:43:41 -0800</bug_when>
    <thetext>(In reply to comment #11)
&gt; We should mark them flakey for debug only.

Done in http://trac.webkit.org/projects/webkit/changeset/209272</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1366433</commentid>
    <comment_count>13</comment_count>
    <who name="Matt Lewis">jlewis3</who>
    <bug_when>2017-10-31 09:56:57 -0700</bug_when>
    <thetext>These have recently started being flaky on El Capitan Release:

https://build.webkit.org/results/Apple%20El%20Capitan%20Release%20WK2%20(Tests)/r224231%20(5639)/results.html
https://build.webkit.org/builders/Apple%20El%20Capitan%20Release%20WK2%20(Tests)/builds/5639</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1780859</commentid>
    <comment_count>14</comment_count>
    <who name="Sihui Liu">sihui_liu</who>
    <bug_when>2021-07-30 10:26:40 -0700</bug_when>
    <thetext>Expectations updated at https://bugs.webkit.org/show_bug.cgi?id=228241 as the test is no longer flaky.

*** This bug has been marked as a duplicate of bug 228241 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>