<?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>242128</bug_id>
          
          <creation_ts>2022-06-29 12:53:38 -0700</creation_ts>
          <short_desc>REGRESSION (251741@main-251739@main?): [ iOS ] TestWebKitAPI.AutocorrectionTests.AutocorrectionContextBeforeAndAfterEditing is a flaky failure</short_desc>
          <delta_ts>2022-08-09 01:51:13 -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>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=241890</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 name="Karl Rackler">rackler</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ap</cc>
    
    <cc>honamluxurychef</cc>
    
    <cc>ryanhaddad</cc>
    
    <cc>webkit-bot-watchers-bugzilla</cc>
    
    <cc>webkit-bug-importer</cc>
    
    <cc>wenson_hsieh</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1879092</commentid>
    <comment_count>0</comment_count>
    <who name="Karl Rackler">rackler</who>
    <bug_when>2022-06-29 12:53:38 -0700</bug_when>
    <thetext>Description:
TestWebKitAPI.AutocorrectionTests.AutocorrectionContextBeforeAndAfterEditing

The first failure that I saw on the dashboard was on 6/22/2022 at 251749@main.

REPRODUCTION STEPS
I can reproduce this on 251741@main, but unable to reproduce it on 251738@main or earlier.  This affects the iOS model iPhone 8 only. 

Command: 
run-api-tests --release --verbose --iterations 10 --model iPhone8 TestWebKitAPI.AutocorrectionTests.AutocorrectionContextBeforeAndAfterEditing

Result: 
Same as bot below

History:
https://results.webkit.org/?suite=api-tests&amp;test=TestWebKitAPI.AutocorrectionTests.AutocorrectionContextBeforeAndAfterEditing&amp;limit=50000&amp;platform=ios&amp;model=iPhone%208

run-api-tests stdio:
Failed
    TestWebKitAPI.AutocorrectionTests.AutocorrectionContextBeforeAndAfterEditing
        
        /Volumes/Data/worker/Apple-iOS-15-Simulator-Release-Build/build/Tools/TestWebKitAPI/Tests/ios/AutocorrectionTestsIOS.mm:182
        Expected equality of these values:
          &quot;hello&quot;
          [contextAfterInsertingText contextBeforeSelection]
            Which is: &quot;&quot;
        
        
        /Volumes/Data/worker/Apple-iOS-15-Simulator-Release-Build/build/Tools/TestWebKitAPI/Tests/ios/AutocorrectionTestsIOS.mm:187
        Expected equality of these values:
          &quot;hello&quot;
          [contextAfterSelecting selectedText]
            Which is: &quot;&quot;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1879094</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2022-06-29 12:53:56 -0700</bug_when>
    <thetext>&lt;rdar://problem/96161911&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1879103</commentid>
    <comment_count>2</comment_count>
    <who name="Karl Rackler">rackler</who>
    <bug_when>2022-06-29 13:03:04 -0700</bug_when>
    <thetext>I have disabled this test while this issue is investigated.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1879106</commentid>
    <comment_count>3</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2022-06-29 13:11:29 -0700</bug_when>
    <thetext>Test gardening commit 251961@main (9aa946bf2540): &lt;https://commits.webkit.org/251961@main&gt;

Reviewed commits have been landed. Closing PR #1912 and removing active labels.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1879418</commentid>
    <comment_count>4</comment_count>
    <who name="Karl Rackler">rackler</who>
    <bug_when>2022-06-30 10:28:07 -0700</bug_when>
    <thetext>The test failure is referencing contextAfterInsertingText and contextAfterSelecting from 246659@main.  

The flakiness dashboard shows a clear change from consistently passing to flaky failure first appearing on the dashboard at 251749@main.  

Reproduction steps further reduced the range(251741@main-251739@main), but it is unclear what in this range may have caused this.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1879470</commentid>
    <comment_count>5</comment_count>
    <who name="Wenson Hsieh">wenson_hsieh</who>
    <bug_when>2022-06-30 12:38:19 -0700</bug_when>
    <thetext>(In reply to Karl Rackler from comment #4)
&gt; The test failure is referencing contextAfterInsertingText and
&gt; contextAfterSelecting from 246659@main.  
&gt; 
&gt; The flakiness dashboard shows a clear change from consistently passing to
&gt; flaky failure first appearing on the dashboard at 251749@main.  
&gt; 
&gt; Reproduction steps further reduced the range(251741@main-251739@main), but
&gt; it is unclear what in this range may have caused this.

Yeah, neither of the commits in that range remotely seem like they could&apos;ve caused these test failures.

Were there any interesting configuration changes might&apos;ve affected the bots at around the same time? (i.e. upgrading to a different version, or using new simulator device models, etc.)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1880092</commentid>
    <comment_count>6</comment_count>
    <who name="Ryan Haddad">ryanhaddad</who>
    <bug_when>2022-07-01 12:58:41 -0700</bug_when>
    <thetext>(In reply to Wenson Hsieh from comment #5)
&gt; Were there any interesting configuration changes might&apos;ve affected the bots
&gt; at around the same time? (i.e. upgrading to a different version, or using
&gt; new simulator device models, etc.)

We have not made any changes in this area recently, we&apos;re also seeing this failure on internal bots in roughly the same regression range http://commits.webkit.org/compare/251744@main...251736@main</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1880094</commentid>
    <comment_count>7</comment_count>
    <who name="Ryan Haddad">ryanhaddad</who>
    <bug_when>2022-07-01 12:59:52 -0700</bug_when>
    <thetext>Not sure what happened with my URL in comment 6, it should be showing a range of 251744@main - 251736@main
http://commits.webkit.org/compare/251744@main...251736@main</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>