<?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>277989</bug_id>
          
          <creation_ts>2024-08-12 16:42:44 -0700</creation_ts>
          <short_desc>[ iOS ] 3x imported/w3c/web-platform-tests/mathml/presentation-markup/* (layout-tests) are flaky failures</short_desc>
          <delta_ts>2024-09-02 19:01:54 -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>MathML</component>
          <version>Other</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>278933</dup_id>
          
          <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 name="Dawn Morningstar">Morningstar</reporter>
          <assigned_to name="Frédéric Wang Nélar">fred.wang</assigned_to>
          <cc>ap</cc>
    
    <cc>fantasai.bugs</cc>
    
    <cc>fred.wang</cc>
    
    <cc>mattwoodrow</cc>
    
    <cc>nitinmahendru</cc>
    
    <cc>vitor.roriz</cc>
    
    <cc>webkit-bot-watchers-bugzilla</cc>
    
    <cc>webkit-bug-importer</cc>
    
    <cc>zalan</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2052227</commentid>
    <comment_count>0</comment_count>
    <who name="Dawn Morningstar">Morningstar</who>
    <bug_when>2024-08-12 16:42:44 -0700</bug_when>
    <thetext>imported/w3c/web-platform-tests/mathml/presentation-markup/mrow/stretch-along-block-axis-001.html
imported/w3c/web-platform-tests/mathml/presentation-markup/operators/mo-minsize-maxsize-001.html
imported/w3c/web-platform-tests/mathml/presentation-markup/operators/mo-stretch-properties-dynamic-001.html
are all flaky text failures after the import at 282098@main

Since these were 

History:
https://results.webkit.org/?suite=layout-tests&amp;suite=layout-tests&amp;suite=layout-tests&amp;test=imported%2Fw3c%2Fweb-platform-tests%2Fmathml%2Fpresentation-markup%2Fmrow%2Fstretch-along-block-axis-001.html&amp;test=imported%2Fw3c%2Fweb-platform-tests%2Fmathml%2Fpresentation-markup%2Foperators%2Fmo-minsize-maxsize-001.html&amp;test=imported%2Fw3c%2Fweb-platform-tests%2Fmathml%2Fpresentation-markup%2Foperators%2Fmo-stretch-properties-dynamic-001.html

Diff:
--- /Volumes/Data/worker/Apple-iOS-17-Simulator-Release-WK2-Tests/build/layout-test-results/imported/w3c/web-platform-tests/mathml/presentation-markup/mrow/stretch-along-block-axis-001-expected.txt
+++ /Volumes/Data/worker/Apple-iOS-17-Simulator-Release-WK2-Tests/build/layout-test-results/imported/w3c/web-platform-tests/mathml/presentation-markup/mrow/stretch-along-block-axis-001-actual.txt
@@ -1,5 +1,5 @@
 
-PASS Taking into account stretch axis.
+FAIL Taking into account stretch axis. assert_approx_equals: vertical characters stretch vertically expected 150 +/- 2 but got 25
 PASS Taking into account stretchy property.
 FAIL Only operators with a stretchy property and block stretch axis. assert_approx_equals: small width expected 12.5 +/- 2 but got 19.4375
 FAIL Operators smaller and larger than non-stretchy siblings. assert_approx_equals: small width expected 12.5 +/- 2 but got 19.4375

Diff-url:
https://build.webkit.org/results/Apple-iOS-17-Simulator-Release-WK2-Tests/282130@main%20(4801)/imported/w3c/web-platform-tests/mathml/presentation-markup/mrow/stretch-along-block-axis-001-diff.txt

Test-run:
https://build.webkit.org/results/Apple-iOS-17-Simulator-Release-WK2-Tests/282130@main%20(4801)/results.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2052229</commentid>
    <comment_count>1</comment_count>
    <who name="Dawn Morningstar">Morningstar</who>
    <bug_when>2024-08-12 16:43:29 -0700</bug_when>
    <thetext>These tests can&apos;t be rebaslined since they&apos;re flaky, they will likely need test development.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2052230</commentid>
    <comment_count>2</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2024-08-12 16:50:02 -0700</bug_when>
    <thetext>&lt;rdar://problem/133722520&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2052231</commentid>
    <comment_count>3</comment_count>
    <who name="Dawn Morningstar">Morningstar</who>
    <bug_when>2024-08-12 16:53:02 -0700</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/32079</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2052232</commentid>
    <comment_count>4</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2024-08-12 16:55:42 -0700</bug_when>
    <thetext>Test gardening commit 282147@main (0b004a3d129f): &lt;https://commits.webkit.org/282147@main&gt;

Reviewed commits have been landed. Closing PR #32079 and removing active labels.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2052867</commentid>
    <comment_count>5</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2024-08-14 17:21:09 -0700</bug_when>
    <thetext>It is strange for a mostly static text rendering test to be flaky, I wonder if there is some state leaking from preceding tests, or an actual WebKit bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2053101</commentid>
    <comment_count>6</comment_count>
    <who name="Dawn Morningstar">Morningstar</who>
    <bug_when>2024-08-15 13:27:48 -0700</bug_when>
    <thetext>(In reply to Alexey Proskuryakov from comment #5)
&gt; It is strange for a mostly static text rendering test to be flaky, I wonder
&gt; if there is some state leaking from preceding tests, or an actual WebKit bug.

Attempting reproduction to see if I can gather more insight</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2053103</commentid>
    <comment_count>7</comment_count>
    <who name="Dawn Morningstar">Morningstar</who>
    <bug_when>2024-08-15 13:46:16 -0700</bug_when>
    <thetext>I attempted to reproduce with 10000 iterations;
run-webkit-tests --ios-simulator --root /Volumes/Data/Spades/Ios/Crystal/buildtoTest imported/w3c/web-platform-tests/mathml/presentation-markup/mrow/stretch-along-block-axis-001.html --iterations 10000 --force --child-processes 1 

This failed to reproduce, and I think that Alexey’s theory about leaking from preceding tests holds water.
I&apos;ll also try using a test-list with the preceding tests and see if that works as well.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2053919</commentid>
    <comment_count>8</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2024-08-19 15:33:27 -0700</bug_when>
    <thetext>I see a number of older (2021 or earlier) bugs about flaky MathML tests, some also about mathml/presentation-markup. Some of these could be related, hard to tell without knowing the root cause.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2056978</commentid>
    <comment_count>9</comment_count>
    <who name="Frédéric Wang Nélar">fred.wang</who>
    <bug_when>2024-09-02 04:00:07 -0700</bug_when>
    <thetext>Not sure that&apos;s the reason but MathML tests rely a lot of web fonts and need to wait for them to be ready. document.fonts.ready has issues in WebKit, so https://searchfox.org/wubkat/source/LayoutTests/imported/w3c/web-platform-tests/mathml/support/fonts.js was introduced to work around that. It&apos;s possible that some tests would need to use that helper function in order to avoid flakiness in WebKit.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2057071</commentid>
    <comment_count>10</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2024-09-02 11:40:48 -0700</bug_when>
    <thetext>This is a good theory, however the tests in question have it already:

&lt;script src=&quot;/mathml/support/fonts.js&quot;&gt;&lt;/script&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2057143</commentid>
    <comment_count>11</comment_count>
    <who name="Matt Woodrow">mattwoodrow</who>
    <bug_when>2024-09-02 19:01:54 -0700</bug_when>
    <thetext>

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

    </bug>

</bugzilla>