<?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>225665</bug_id>
          
          <creation_ts>2021-05-11 11:21:32 -0700</creation_ts>
          <short_desc>[ BigSur Release wk2 arm64 &amp; iOS] http/tests/appcache/fail-on-update-2.html (layout-test) is a flaky timeout</short_desc>
          <delta_ts>2022-02-15 17:19:27 -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>NEW</bug_status>
          <resolution></resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=236680</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="Robert Jenner">jenner</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ayumi_kojima</cc>
    
    <cc>ehutchison</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>1759001</commentid>
    <comment_count>0</comment_count>
    <who name="Robert Jenner">jenner</who>
    <bug_when>2021-05-11 11:21:32 -0700</bug_when>
    <thetext>http/tests/appcache/fail-on-update-2.html

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

HISTORY:
https://results.webkit.org/?suite=layout-tests&amp;test=http%2Ftests%2Fappcache%2Ffail-on-update-2.html

TIMEOUT TEXT:
-SUCCESS: No crash.
+#PID UNRESPONSIVE - WebKitTestRunner (pid 21811)
+FAIL: Timed out waiting for notifyDone to be called
+
+#EOF
+#EOF


STDERR TEXT:
CONSOLE MESSAGE: ApplicationCache is deprecated. Please use ServiceWorkers instead.
CONSOLE MESSAGE: Application Cache manifest could not be fetched, because the manifest had a 404 response.
CONSOLE MESSAGE: ApplicationCache is deprecated. Please use ServiceWorkers instead.
CONSOLE MESSAGE: ApplicationCache is deprecated. Please use ServiceWorkers instead.
CONSOLE MESSAGE: Application Cache manifest could not be fetched, because the manifest had a 404 response.
CONSOLE MESSAGE: ApplicationCache is deprecated. Please use ServiceWorkers instead.
CONSOLE MESSAGE: ApplicationCache is deprecated. Please use ServiceWorkers instead.
CONSOLE MESSAGE: Application Cache manifest could not be fetched, because the manifest had a 404 response.
CONSOLE MESSAGE: ApplicationCache is deprecated. Please use ServiceWorkers instead.
CONSOLE MESSAGE: ApplicationCache is deprecated. Please use ServiceWorkers instead.
CONSOLE MESSAGE: Application Cache manifest could not be fetched, because the manifest had a 404 response.
CONSOLE MESSAGE: ApplicationCache is deprecated. Please use ServiceWorkers instead.
CONSOLE MESSAGE: ApplicationCache is deprecated. Please use ServiceWorkers instead.
CONSOLE MESSAGE: Application Cache manifest could not be fetched, because the manifest had a 404 response.
CONSOLE MESSAGE: ApplicationCache is deprecated. Please use ServiceWorkers instead.
CONSOLE MESSAGE: ApplicationCache is deprecated. Please use ServiceWorkers instead.
CONSOLE MESSAGE: Application Cache manifest could not be fetched, because the manifest had a 404 response.
CONSOLE MESSAGE: ApplicationCache is deprecated. Please use ServiceWorkers instead.
CONSOLE MESSAGE: ApplicationCache is deprecated. Please use ServiceWorkers instead.
CONSOLE MESSAGE: Application Cache manifest could not be fetched, because the manifest had a 404 response.
CONSOLE MESSAGE: ApplicationCache is deprecated. Please use ServiceWorkers instead.
CONSOLE MESSAGE: ApplicationCache is deprecated. Please use ServiceWorkers instead.
CONSOLE MESSAGE: Application Cache manifest could not be fetched, because the manifest had a 404 response.
CONSOLE MESSAGE: ApplicationCache is deprecated. Please use ServiceWorkers instead.
CONSOLE MESSAGE: ApplicationCache is deprecated. Please use ServiceWorkers instead.
CONSOLE MESSAGE: Application Cache manifest could not be fetched, because the manifest had a 404 response.
CONSOLE MESSAGE: ApplicationCache is deprecated. Please use ServiceWorkers instead.
Wait on notifyDone timed out, process WebKitTestRunner pid = 21811#EOF</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1759049</commentid>
    <comment_count>1</comment_count>
    <who name="Robert Jenner">jenner</who>
    <bug_when>2021-05-11 13:46:26 -0700</bug_when>
    <thetext>There were some consistent timeouts on Intel Macs. But they stopped, and haven&apos;t occurred for over a month. I did attempt to reproduce it at BigSur Release ToT wk1, but was unable to. It doesn&apos;t appear this test is having a problem on Intel anymore, only Apple Silicon. 

Since this appears to only occur on Apple Silicon, I can&apos;t reproduce the timeout, as I don&apos;t have access to said system type. 

I have gone ahead and updated the test expectations to Pass Timeout here:
https://trac.webkit.org/changeset/277339/webkit</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1759052</commentid>
    <comment_count>2</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2021-05-11 13:52:21 -0700</bug_when>
    <thetext>&lt;rdar://problem/77861895&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1759466</commentid>
    <comment_count>3</comment_count>
    <who name="Robert Jenner">jenner</who>
    <bug_when>2021-05-12 17:05:19 -0700</bug_when>
    <thetext>As it turns out, there is an expectation set for this test in: sources/OpenSource/LayoutTests/TestExpectations

The expectation is set as:
[ DumpJSConsoleLogInStdErr ]

That expectation is set to hide the deprecation error from the stdout, and puts it as a stderr instead. When I updated my expectation it over-rode that and caused constant text failures. 

Updated test expectations to DumpJSConsoleLogInStdErr Slow here:
https://trac.webkit.org/changeset/277410/webkit

This should stop the constant text failures, and help confirm if these timeouts are actual timeouts, or just a test being slow.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1759935</commentid>
    <comment_count>4</comment_count>
    <who name="Robert Jenner">jenner</who>
    <bug_when>2021-05-13 17:49:51 -0700</bug_when>
    <thetext>After marking the test is slow, it appears to have actually gotten significantly faster. 

Before marking as slow, the test would take anywhere between 3 to 19 seconds to pass, and would timeout at roughly one minute. Since marking as slow, the test has been passing only taking between .86 seconds and 3.26 seconds for the test to run and pass. I know we also were looking at the ram usage on this particular Mac mini, and found at the time that it was using approx. 10 gigs of its ram. We have addressed this issue, and the test is no longer timing out.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1778438</commentid>
    <comment_count>5</comment_count>
    <who name="">ayumi_kojima</who>
    <bug_when>2021-07-21 09:18:53 -0700</bug_when>
    <thetext>The same flaky timeout is seen on iOS 14 E Simulator wk2. 

I was not able to reproduce the timeout on simulator (iOS 15) on my local machine using run-webkit-tests --ios-simulator --iterations 500  --exit-after-n-crashes-or-timeouts 1 --exit-after-n-failures 1 http/tests/appcache/fail-on-update-2.html -f --release --no-build --clobber-old-results

The flaky timeout on iOS is seen since 5/6/21 (No test results are available on iOS before 5/6/21)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1778467</commentid>
    <comment_count>6</comment_count>
    <who name="">ayumi_kojima</who>
    <bug_when>2021-07-21 10:32:42 -0700</bug_when>
    <thetext>Updated test expectations for ios-wk2 https://trac.webkit.org/changeset/280148/webkit</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1811888</commentid>
    <comment_count>7</comment_count>
    <who name="Eric Hutchison">ehutchison</who>
    <bug_when>2021-11-04 09:47:19 -0700</bug_when>
    <thetext>Test is still flaking on iOS15; marking as timeout. https://trac.webkit.org/changeset/285266/webkit</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>