<?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>229831</bug_id>
          
          <creation_ts>2021-09-02 14:54:46 -0700</creation_ts>
          <short_desc>[ MacOS EWS ] imported/w3c/web-platform-tests/html/dom/idlharness.https.html is flaky failing</short_desc>
          <delta_ts>2022-01-05 15:48:52 -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=230407</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>ayumi_kojima</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ap</cc>
    
    <cc>cdumez</cc>
    
    <cc>darin</cc>
    
    <cc>ddkilzer</cc>
    
    <cc>heycam</cc>
    
    <cc>mark.lam</cc>
    
    <cc>ryanhaddad</cc>
    
    <cc>simon.fraser</cc>
    
    <cc>webkit-bot-watchers-bugzilla</cc>
    
    <cc>webkit-bug-importer</cc>
    
    <cc>wenson_hsieh</cc>
    
    <cc>ysuzuki</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1789910</commentid>
    <comment_count>0</comment_count>
    <who name="">ayumi_kojima</who>
    <bug_when>2021-09-02 14:54:46 -0700</bug_when>
    <thetext>imported/w3c/web-platform-tests/html/dom/idlharness.https.html

Is a flaky failure on macOS-AppleSilicon-Big-Sur-Debug-WK2-Tests-EWS and macOS-Catalina-Release-WK2-Tests-EWS.

The flaky failure is not showing up in the open source directory: https://results.webkit.org/?suite=layout-tests&amp;test=imported/w3c/web-platform-tests/html/dom/idlharness.https.html

The test started flaky at https://ews-build.webkit.org/#/builders/60/builds/6499

Diff:

--- /Volumes/Data/worker/macOS-AppleSilicon-Big-Sur-Debug-WK2-Tests-EWS/build/layout-test-results/imported/w3c/web-platform-tests/html/dom/idlharness.https-expected.txt
+++ /Volumes/Data/worker/macOS-AppleSilicon-Big-Sur-Debug-WK2-Tests-EWS/build/layout-test-results/imported/w3c/web-platform-tests/html/dom/idlharness.https-actual.txt
@@ -3916,7 +3916,7 @@
 PASS CanvasRenderingContext2D interface: operation drawFocusIfNeeded(Element)
 PASS CanvasRenderingContext2D interface: operation drawFocusIfNeeded(Path2D, Element)
 FAIL CanvasRenderingContext2D interface: operation scrollPathIntoView() assert_own_property: interface prototype object missing non-static operation expected property &quot;scrollPathIntoView&quot; missing
-FAIL CanvasRenderingContext2D interface: operation scrollPathIntoView(Path2D) assert_own_property: interface prototype object missing non-static operation expected property &quot;scrollPathIntoView&quot; missing
+FAIL CanvasRenderingContext2D interface: operation scrollPathIntoView(Path2D) assert_own_property: interface prototype object missing non-static operation expected property &quot;sc|ollPathIntoView&quot; missing
 PASS CanvasRenderingContext2D interface: operation fillText(DOMString, unrestricted double, unrestricted double, optional unrestricted double)
 PASS CanvasRenderingContext2D interface: operation strokeText(DOMString, unrestricted double, unrestricted double, optional unrestricted double)
 PASS CanvasRenderingContext2D interface: operation measureText(DOMString)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1789912</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2021-09-02 14:55:11 -0700</bug_when>
    <thetext>&lt;rdar://problem/82694768&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1789917</commentid>
    <comment_count>2</comment_count>
    <who name="">ayumi_kojima</who>
    <bug_when>2021-09-02 15:01:30 -0700</bug_when>
    <thetext>Marked expectations: https://trac.webkit.org/changeset/281957/webkit</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1790573</commentid>
    <comment_count>3</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2021-09-05 14:29:38 -0700</bug_when>
    <thetext>- scrollPathIntoView
+ sc|ollPathIntoView

What?

This can be hard to investigate, given that we don&apos;t even see the issue on post-commit bots, but super important to get to the bottom of.

&gt; Marked expectations: https://trac.webkit.org/changeset/281957/webkit

This effectively removed the effect of this line, making the test show up as always failing on Mac WK2. Ayumi, please add the DumpJSConsoleLogInStdErr property to Mac-wk2 as well.

LayoutTests/TestExpectations:819:imported/w3c/web-platform-tests/html/dom/idlharness.https.html [ DumpJSConsoleLogInStdErr ]</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1790577</commentid>
    <comment_count>4</comment_count>
    <who name="Cameron McCormack (:heycam)">heycam</who>
    <bug_when>2021-09-05 14:43:13 -0700</bug_when>
    <thetext>&quot;r&quot; -&gt; &quot;|&quot; is not a single bitflip otherwise I would&apos;ve suspected a hardware issue. Does this appear only on a particular builder?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1790581</commentid>
    <comment_count>5</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2021-09-05 15:07:17 -0700</bug_when>
    <thetext>&gt; The test started flaky at https://ews-build.webkit.org/#/builders/60/builds/6499

Hmm, I assumed that this was happening currently, but the link is for a three month old build, and I cannot find this failure on macOS-AppleSilicon-Big-Sur-Debug-WK2-Tests-EWS in the last month.

What motivated filing this bug? Was this happening somewhere else recently?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1790582</commentid>
    <comment_count>6</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2021-09-05 15:14:49 -0700</bug_when>
    <thetext>I see it fail on macOS-Catalina-Release-WK2-Tests-EWS recently, but with an entirely different failure:

+FAIL idl_test setup promise_test: Unhandled rejection with value: object &quot;TypeError: Load failed&quot;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1792464</commentid>
    <comment_count>7</comment_count>
    <who name="">ayumi_kojima</who>
    <bug_when>2021-09-10 11:35:03 -0700</bug_when>
    <thetext>Updated test expectations to include DumpJSConsoleLogInStdErr property: https://trac.webkit.org/changeset/282283/webkit</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1792523</commentid>
    <comment_count>8</comment_count>
    <who name="">ayumi_kojima</who>
    <bug_when>2021-09-10 14:28:52 -0700</bug_when>
    <thetext>Tried to reproduce locally on Catalina, but the test timed out instead of failing using run-webkit-tests --iterations 50 --exit-after-n-failures 1 --force imported/w3c/web-platform-tests/html/dom/idlharness.https.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1792528</commentid>
    <comment_count>9</comment_count>
    <who name="">ayumi_kojima</who>
    <bug_when>2021-09-10 14:33:00 -0700</bug_when>
    <thetext>Test hanged with --no-timeout</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1794132</commentid>
    <comment_count>10</comment_count>
    <who name="">ayumi_kojima</who>
    <bug_when>2021-09-16 11:37:56 -0700</bug_when>
    <thetext>After https://trac.webkit.org/changeset/282484/webkit, the test started failing on iOS and macOS wk2 that appears to require rebaselining.

Diff:

--- /Volumes/Data/worker/ios-simulator-14-release-tests-wk2/build/layout-test-results/imported/w3c/web-platform-tests/html/dom/idlharness.https-expected.txt
+++ /Volumes/Data/worker/ios-simulator-14-release-tests-wk2/build/layout-test-results/imported/w3c/web-platform-tests/html/dom/idlharness.https-actual.txt
@@ -4997,14 +4997,14 @@
 PASS Worker interface: attribute onmessage
 FAIL Worker interface: attribute onmessageerror assert_true: The prototype object must have a property &quot;onmessageerror&quot; expected true got false
 PASS Worker interface: attribute onerror
-FAIL SharedWorker interface: existence and properties of interface object assert_own_property: self does not have own property &quot;SharedWorker&quot; expected property &quot;SharedWorker&quot; missing
-FAIL SharedWorker interface object length assert_own_property: self does not have own property &quot;SharedWorker&quot; expected property &quot;SharedWorker&quot; missing
-FAIL SharedWorker interface object name assert_own_property: self does not have own property &quot;SharedWorker&quot; expected property &quot;SharedWorker&quot; missing
-FAIL SharedWorker interface: existence and properties of interface prototype object assert_own_property: self does not have own property &quot;SharedWorker&quot; expected property &quot;SharedWorker&quot; missing
-FAIL SharedWorker interface: existence and properties of interface prototype object&apos;s &quot;constructor&quot; property assert_own_property: self does not have own property &quot;SharedWorker&quot; expected property &quot;SharedWorker&quot; missing
-FAIL SharedWorker interface: existence and properties of interface prototype object&apos;s @@unscopables property assert_own_property: self does not have own property &quot;SharedWorker&quot; expected property &quot;SharedWorker&quot; missing
-FAIL SharedWorker interface: attribute port assert_own_property: self does not have own property &quot;SharedWorker&quot; expected property &quot;SharedWorker&quot; missing
-FAIL SharedWorker interface: attribute onerror assert_own_property: self does not have own property &quot;SharedWorker&quot; expected property &quot;SharedWorker&quot; missing
+PASS SharedWorker interface: existence and properties of interface object
+PASS SharedWorker interface object length
+PASS SharedWorker interface object name
+PASS SharedWorker interface: existence and properties of interface prototype object
+PASS SharedWorker interface: existence and properties of interface prototype object&apos;s &quot;constructor&quot; property
+PASS SharedWorker interface: existence and properties of interface prototype object&apos;s @@unscopables property
+PASS SharedWorker interface: attribute port
+PASS SharedWorker interface: attribute onerror
 PASS WorkerNavigator interface: existence and properties of interface object
 PASS WorkerLocation interface: existence and properties of interface object
 PASS WorkletGlobalScope interface: existence and properties of interface object</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1794141</commentid>
    <comment_count>11</comment_count>
    <who name="">ayumi_kojima</who>
    <bug_when>2021-09-16 11:53:52 -0700</bug_when>
    <thetext>Rebaselined here https://trac.webkit.org/changeset/282592/webkit. Also removed the previous test expectations.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1794264</commentid>
    <comment_count>12</comment_count>
    <who name="">ayumi_kojima</who>
    <bug_when>2021-09-16 16:39:02 -0700</bug_when>
    <thetext>Reverted r282592 for reason:

Rebaselined wrong on macOS

Committed r282618 (241776@main): &lt;https://commits.webkit.org/241776@main&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1794273</commentid>
    <comment_count>13</comment_count>
    <who name="">ayumi_kojima</who>
    <bug_when>2021-09-16 16:46:07 -0700</bug_when>
    <thetext>After rebaselining both iOS and macOS, macOS started failing. (I think that I added a wrong expected.txt) Reverted my change and rebaselined again only iOS. macOS expected.txt and expectations stay same: https://trac.webkit.org/changeset/282619/webkit</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1828437</commentid>
    <comment_count>14</comment_count>
    <who name="Chris Dumez">cdumez</who>
    <bug_when>2022-01-05 15:48:52 -0800</bug_when>
    <thetext>Committed r287657 (245754@trunk): &lt;https://commits.webkit.org/245754@trunk&gt;</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>