<?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>289550</bug_id>
          
          <creation_ts>2025-03-11 11:05:16 -0700</creation_ts>
          <short_desc>[ wk2 ] imported/w3c/web-platform-tests/fetch/http-cache/invalidate.any.sharedworker.html is a flaky failure.</short_desc>
          <delta_ts>2025-03-11 11:18:16 -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>
          
          
          <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="Yasmin Karimi">y_karimi</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <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>2102276</commentid>
    <comment_count>0</comment_count>
    <who name="Yasmin Karimi">y_karimi</who>
    <bug_when>2025-03-11 11:05:16 -0700</bug_when>
    <thetext>imported/w3c/web-platform-tests/fetch/http-cache/invalidate.any.sharedworker.html

This test is a flaky failure on wk2 (not tested on wk1).

HISTORY:

https://results.webkit.org/?suite=layout-tests&amp;test=imported%2Fw3c%2Fweb-platform-tests%2Ffetch%2Fhttp-cache%2Finvalidate.any.sharedworker.html

TEXT DIFF:

-PASS HTTP cache invalidates after a successful response from a POST
+FAIL HTTP cache invalidates after a successful response from a POST assert_equals: Response 3 comes from cache expected 3 but got 1
 FAIL HTTP cache does not invalidate after a failed response from an unsafe request assert_less_than: Response 3 does not come from cache expected a number less than 3 but got 3
 PASS HTTP cache invalidates after a successful response from a PUT
 PASS HTTP cache invalidates after a successful response from a DELETE

DIFF URL:

https://build.webkit.org/results/Apple-Sequoia-Release-WK2-Tests/291948@main%20(1900)/imported/w3c/web-platform-tests/fetch/http-cache/invalidate.any.sharedworker-pretty-diff.html

REPRODUCIBILITY:

I was able to reproduce this failure on MacOS Sequoia 15.3.1 (24D70 / arm64) at ToT with the following command:

run-webkit-tests imported/w3c/web-platform-tests/fetch/http-cache/invalidate.any.sharedworker.html --iterations 500</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2102277</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2025-03-11 11:05:35 -0700</bug_when>
    <thetext>&lt;rdar://problem/146775366&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2102283</commentid>
    <comment_count>2</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2025-03-11 11:18:16 -0700</bug_when>
    <thetext>Test gardening commit 291961@main (73377ea3d23e): &lt;https://commits.webkit.org/291961@main&gt;

Reviewed commits have been landed. Closing PR #42270 and removing active labels.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>