<?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>194545</bug_id>
          
          <creation_ts>2019-02-12 11:02:55 -0800</creation_ts>
          <short_desc>Flaky API Test: TestWebKitAPI.ProcessSwap.NavigateToDataURLThenBack</short_desc>
          <delta_ts>2019-02-27 16:48:26 -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>Tools / Tests</component>
          <version>Other</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=194480</see_also>
    
    <see_also>https://bugs.webkit.org/show_bug.cgi?id=194481</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="Aakash Jain">aakash_jain</reporter>
          <assigned_to name="Chris Dumez">cdumez</assigned_to>
          <cc>aakash_jain</cc>
    
    <cc>achristensen</cc>
    
    <cc>ap</cc>
    
    <cc>beidson</cc>
    
    <cc>cdumez</cc>
    
    <cc>commit-queue</cc>
    
    <cc>ggaren</cc>
    
    <cc>koivisto</cc>
    
    <cc>lforschler</cc>
    
    <cc>rniwa</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>1505283</commentid>
    <comment_count>0</comment_count>
    <who name="Aakash Jain">aakash_jain</who>
    <bug_when>2019-02-12 11:02:55 -0800</bug_when>
    <thetext>TestWebKitAPI.ProcessSwap.NavigateToDataURLThenBack seems flaky. In https://ews-build.webkit-uat.org/#/builders/20/builds/889, the test passed in run-api-tests step. However, in the immediately next retry step (re-run-api-tests), it failed.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1510425</commentid>
    <comment_count>1</comment_count>
    <who name="Aakash Jain">aakash_jain</who>
    <bug_when>2019-02-27 05:55:11 -0800</bug_when>
    <thetext>Can we prioritize this?
I am working on EWS for API tests, and this flaky failure is creating problem.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1510497</commentid>
    <comment_count>2</comment_count>
    <who name="Chris Dumez">cdumez</who>
    <bug_when>2019-02-27 10:52:40 -0800</bug_when>
    <thetext>TestWebKitAPI.ProcessSwap.SuspendedPageLimit
        Received data during response processing, queuing it.
        Received data during response processing, queuing it.
        Received data during response processing, queuing it.
        Received data during response processing, queuing it.
        Received data during response processing, queuing it.
        
        /Volumes/Data/worker/iOS-11-Simulator-Build-EWS/build/Tools/TestWebKitAPI/Tests/WebKitCocoa/ProcessSwapOnNavigation.mm:2720
        Expected equality of these values:
          [processPool _webProcessCountIgnoringPrewarmed]
            Which is: 4
          (1U + maximumSuspendedPageCount)
            Which is: 3</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1510498</commentid>
    <comment_count>3</comment_count>
    <who name="Chris Dumez">cdumez</who>
    <bug_when>2019-02-27 10:54:03 -0800</bug_when>
    <thetext>It is actually:
 TestWebKitAPI.ProcessSwap.NavigateToDataURLThenBack
        Received data during response processing, queuing it.
        Received data during response processing, queuing it.
        
        /Volumes/Data/worker/iOS-11-Simulator-Build-EWS/build/Tools/TestWebKitAPI/Tests/WebKitCocoa/ProcessSwapOnNavigation.mm:3484
        Expected equality of these values:
          3
          numberOfDecidePolicyCalls
            Which is: 4</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1510666</commentid>
    <comment_count>4</comment_count>
    <who name="Chris Dumez">cdumez</who>
    <bug_when>2019-02-27 15:55:03 -0800</bug_when>
    <thetext>(In reply to Chris Dumez from comment #3)
&gt; It is actually:
&gt;  TestWebKitAPI.ProcessSwap.NavigateToDataURLThenBack
&gt;         Received data during response processing, queuing it.
&gt;         Received data during response processing, queuing it.
&gt;         
&gt;        
&gt; /Volumes/Data/worker/iOS-11-Simulator-Build-EWS/build/Tools/TestWebKitAPI/
&gt; Tests/WebKitCocoa/ProcessSwapOnNavigation.mm:3484
&gt;         Expected equality of these values:
&gt;           3
&gt;           numberOfDecidePolicyCalls
&gt;             Which is: 4

Not sure how we can end up with an extra policy decision here...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1510668</commentid>
    <comment_count>5</comment_count>
    <who name="Chris Dumez">cdumez</who>
    <bug_when>2019-02-27 15:58:49 -0800</bug_when>
    <thetext>(In reply to Chris Dumez from comment #4)
&gt; (In reply to Chris Dumez from comment #3)
&gt; &gt; It is actually:
&gt; &gt;  TestWebKitAPI.ProcessSwap.NavigateToDataURLThenBack
&gt; &gt;         Received data during response processing, queuing it.
&gt; &gt;         Received data during response processing, queuing it.
&gt; &gt;         
&gt; &gt;        
&gt; &gt; /Volumes/Data/worker/iOS-11-Simulator-Build-EWS/build/Tools/TestWebKitAPI/
&gt; &gt; Tests/WebKitCocoa/ProcessSwapOnNavigation.mm:3484
&gt; &gt;         Expected equality of these values:
&gt; &gt;           3
&gt; &gt;           numberOfDecidePolicyCalls
&gt; &gt;             Which is: 4
&gt; 
&gt; Not sure how we can end up with an extra policy decision here...

Oh, I have an idea, I&apos;ll confirm.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1510676</commentid>
    <comment_count>6</comment_count>
      <attachid>363151</attachid>
    <who name="Chris Dumez">cdumez</who>
    <bug_when>2019-02-27 16:13:41 -0800</bug_when>
    <thetext>Created attachment 363151
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1510693</commentid>
    <comment_count>7</comment_count>
      <attachid>363151</attachid>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2019-02-27 16:43:43 -0800</bug_when>
    <thetext>Comment on attachment 363151
Patch

Clearing flags on attachment: 363151

Committed r242179: &lt;https://trac.webkit.org/changeset/242179&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1510694</commentid>
    <comment_count>8</comment_count>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2019-02-27 16:43:45 -0800</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1510699</commentid>
    <comment_count>9</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2019-02-27 16:48:26 -0800</bug_when>
    <thetext>&lt;rdar://problem/48456644&gt;</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>363151</attachid>
            <date>2019-02-27 16:13:41 -0800</date>
            <delta_ts>2019-02-27 16:43:43 -0800</delta_ts>
            <desc>Patch</desc>
            <filename>bug-194545-20190227161339.patch</filename>
            <type>text/plain</type>
            <size>1704</size>
            <attacher name="Chris Dumez">cdumez</attacher>
            
              <data encoding="base64">U3VidmVyc2lvbiBSZXZpc2lvbjogMjQyMTI3CmRpZmYgLS1naXQgYS9Ub29scy9DaGFuZ2VMb2cg
Yi9Ub29scy9DaGFuZ2VMb2cKaW5kZXggYWVkMWRkZjBlNDA1Y2NmY2UwYWQzOGQxOGU4ZTI1MzEz
YTk3YmM5YS4uOTkwZTUwNTk1NTQ3MWMzZDU5ZTYwZDAyMGFmNWMxMzRkOWVlOWIwZCAxMDA2NDQK
LS0tIGEvVG9vbHMvQ2hhbmdlTG9nCisrKyBiL1Rvb2xzL0NoYW5nZUxvZwpAQCAtMSwzICsxLDE1
IEBACisyMDE5LTAyLTI3ICBDaHJpcyBEdW1leiAgPGNkdW1lekBhcHBsZS5jb20+CisKK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