<?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>225666</bug_id>
          
          <creation_ts>2021-05-11 11:25:08 -0700</creation_ts>
          <short_desc>[ BigSur wk2 arm64 ] http/tests/cache/disk-cache/redirect-chain-limits.html (layout-test) is a flaky timeout</short_desc>
          <delta_ts>2021-05-13 17:54:46 -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>Page Loading</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <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="Robert Jenner">jenner</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ap</cc>
    
    <cc>beidson</cc>
    
    <cc>koivisto</cc>
    
    <cc>ryanhaddad</cc>
    
    <cc>webkit-bot-watchers-bugzilla</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1759006</commentid>
    <comment_count>0</comment_count>
    <who name="Robert Jenner">jenner</who>
    <bug_when>2021-05-11 11:25:08 -0700</bug_when>
    <thetext>http/tests/cache/disk-cache/redirect-chain-limits.html

is a flaky timeout on macOS BigSur wk2 Release on Apple Silicon Macs only. 

HISTORY:
https://results.webkit.org/?suite=layout-tests&amp;test=http%2Ftests%2Fcache%2Fdisk-cache%2Fredirect-chain-limits.html 


TIMEOUT TEXT:
-Test the limits of redirect chain length.
+#PID UNRESPONSIVE - WebKitTestRunner (pid 22545)
+FAIL: Timed out waiting for notifyDone to be called
 
-On success, you will see a series of &quot;PASS&quot; messages, followed by &quot;TEST COMPLETE&quot;.
-
-
-Redirect chain length: 1
-Response status code: 200
-Response source: Disk cache
-
-Redirect chain length: 5
-Response status code: 200
-Response source: Disk cache
-
-Redirect chain length: 6
-Response status code: 200
-Response source: Network
-
-Redirect chain length: 20
-Response status code: 200
-Response source: Network
-
-Redirect chain length: 40
-Response status code: 0
-Response source: Null response
-
-PASS successfullyParsed is true
-
-TEST COMPLETE
-
+#EOF
+#EOF</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1759039</commentid>
    <comment_count>1</comment_count>
    <who name="Robert Jenner">jenner</who>
    <bug_when>2021-05-11 12:49:00 -0700</bug_when>
    <thetext>Upon further inspection it looks like this test also has a history of flaky timeouts on Debug as well. The first recorded timeout occurred at r276217 and has been inconsistent since.

Since this only occurs on Apple Silicon Macs, I can&apos;t reproduce the timeouts as I do not have access to said system type. 

I have updated the expectations to Pass Timeout here:
https://trac.webkit.org/changeset/277337/webkit</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1759040</commentid>
    <comment_count>2</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2021-05-11 12:49:20 -0700</bug_when>
    <thetext>&lt;rdar://problem/77857419&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1759286</commentid>
    <comment_count>3</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2021-05-12 10:16:41 -0700</bug_when>
    <thetext>This test is fairly slow on Intel too, taking ~11 seconds in WK2 Release. It is roughly 3x slower on Apple Silicon, which is surprising, but I&apos;m not seeing the same on an internal bot. So this could be a configuration issue of some kind.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1759428</commentid>
    <comment_count>4</comment_count>
    <who name="Robert Jenner">jenner</who>
    <bug_when>2021-05-12 15:55:12 -0700</bug_when>
    <thetext>As per @Alexey&apos;s recommendation, I have updated the test expectations to [ Slow ] instead of [ Pass Timeout ] here:
https://trac.webkit.org/changeset/277398/webkit</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1759937</commentid>
    <comment_count>5</comment_count>
    <who name="Robert Jenner">jenner</who>
    <bug_when>2021-05-13 17:54:46 -0700</bug_when>
    <thetext>There was an issue where the Mac mini this test was running on was using 10gb of its ram. This may have been the reason this test was timing out/running slow. I believe the ram usage issue has been resolved. I also marked the test as slow, and the test is now taking between 5-8 seconds to run and pass. Before, it was taking about 30 seconds to run.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>