<?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>232028</bug_id>
          
          <creation_ts>2021-10-20 11:28:01 -0700</creation_ts>
          <short_desc>Regression (r284510?): [ iOS macOS wk2 ] imported/w3c/web-platform-tests/html/cross-origin-opener-policy/reporting/navigation-reporting/report-only-four-reports.https.html is a flaky failure</short_desc>
          <delta_ts>2022-01-06 09:29:45 -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>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>234899</dup_id>
          
          <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>ayumi_kojima</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>cdumez</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>1806724</commentid>
    <comment_count>0</comment_count>
    <who name="">ayumi_kojima</who>
    <bug_when>2021-10-20 11:28:01 -0700</bug_when>
    <thetext>imported/w3c/web-platform-tests/html/cross-origin-opener-policy/reporting/navigation-reporting/report-only-four-reports.https.html

Is a flaky failure on iOS 15 and macOS wk2.

History: https://results.webkit.org/?suite=layout-tests&amp;test=imported%2Fw3c%2Fweb-platform-tests%2Fhtml%2Fcross-origin-opener-policy%2Freporting%2Fnavigation-reporting%2Freport-only-four-reports.https.html

Result page: https://build.webkit.org/results/Apple-iOS-15-Simulator-Release-WK2-Tests/r284525%20(239)/results.html

Diff:

--- /Volumes/Data/worker/ios-simulator-15-release-tests-wk2/build/layout-test-results/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/reporting/navigation-reporting/report-only-four-reports.https-expected.txt
+++ /Volumes/Data/worker/ios-simulator-15-release-tests-wk2/build/layout-test-results/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/reporting/navigation-reporting/report-only-four-reports.https-actual.txt
@@ -1,4 +1,4 @@
 
-PASS coop reporting test A test with both COOP and COOP report only setup to CROSS_ORIGIN with same-origin-allow-popups; report-to=&quot;coop-popup-report-endpoint&quot;, require-corp, same-origin; report-to=&quot;coop-popup-report-only-endpoint&quot;, require-corp
-PASS verify remaining reports
+FAIL coop reporting test A test with both COOP and COOP report only setup to CROSS_ORIGIN with same-origin-allow-popups; report-to=&quot;coop-popup-report-endpoint&quot;, require-corp, same-origin; report-to=&quot;coop-popup-report-only-endpoint&quot;, require-corp promise_test: Unhandled rejection with value: &quot;No report matched the expected report for endpoint: coop-popup-report-endpoint, expected report: {\&quot;body\&quot;:{\&quot;disposition\&quot;:\&quot;enforce\&quot;,\&quot;effectivePolicy\&quot;:\&quot;same-origin-allow-popups\&quot;,\&quot;previousResponseURL\&quot;:\&quot;\&quot;,\&quot;referrer\&quot;:\&quot;https://localhost:9443/\&quot;,\&quot;type\&quot;:\&quot;navigation-to-response\&quot;},\&quot;url\&quot;:\&quot;/uuid=(uuid)$/\&quot;,\&quot;type\&quot;:\&quot;coop\&quot;}, within available reports: [{\&quot;type\&quot;:\&quot;coop\&quot;,\&quot;url\&quot;:\&quot;https://127.0.0.1:9443/common/dispatcher/executor.html?pipe=|header(report-to,%7B%22group%22%3A%22coop-report-endpoint%22%5C%2C%22max_age%22%3A3600%5C%2C%22endpoints%22%3A%5B%7B%22url%22%3A%22https%3A%2F%2F127.0.0.1%3A9443%2Freporting%2Fresources%2Freport.py%3FreportID%3D(uuid)%22%7D%5D%7D%5C%2C%7B%22group%22%3A%22coop-report-only-endpoint%22%5C%2C%22max_age%22%3A3600%5C%2C%22endpoints%22%3A%5B%7B%22url%22%3A%22https%3A%2F%2F127.0.0.1%3A9443%2Freporting%2Fresources%2Freport.py%3FreportID%3D(uuid)%22%7D%5D%7D%5C%2C%7B%22group%22%3A%22coop-popup-report-endpoint%22%5C%2C%22max_age%22%3A3600%5C%2C%22endpoints%22%3A%5B%7B%22url%22%3A%22https%3A%2F%2F127.0.0.1%3A9443%2Freporting%2Fresources%2Freport.py%3FreportID%3D(uuid)%22%7D%5D%7D%5C%2C%7B%22group%22%3A%22coop-popup-report-only-endpoint%22%5C%2C%22max_age%22%3A3600%5C%2C%22endpoints%22%3A%5B%7B%22url%22%3A%22https%3A%2F%2F127.0.0.1%3A9443%2Freporting%2Fresources%2Freport.py%3FreportID%3D(uuid)%22%7D%5D%7D%5C%2C%7B%22group%22%3A%22coop-redirect-report-endpoint%22%5C%2C%22max_age%22%3A3600%5C%2C%22endpoints%22%3A%5B%7B%22url%22%3A%22https%3A%2F%2F127.0.0.1%3A9443%2Freporting%2Fresources%2Freport.py%3FreportID%3D(uuid)%22%7D%5D%7D%5C%2C%7B%22group%22%3A%22coop-redirect-report-only-endpoint%22%5C%2C%22max_age%22%3A3600%5C%2C%22endpoints%22%3A%5B%7B%22url%22%3A%22https%3A%2F%2F127.0.0.1%3A9443%2Freporting%2Fresources%2Freport.py%3FreportID%3D(uuid)%22%7D%5D%7D)|header(Cross-Origin-Opener-Policy,same-origin-allow-popups%3B%20report-to%3D%22coop-popup-report-endpoint%22)|header(Cross-Origin-Embedder-Policy,require-corp)|header(Cross-Origin-Opener-Policy-Report-Only,same-origin%3B%20report-to%3D%22coop-popup-report-only-endpoint%22)|header(Cross-Origin-Embedder-Policy-Report-Only,require-corp)&amp;uuid=(uuid)\&quot;,\&quot;user_agent\&quot;:\&quot;Mozilla/5.0 (iPhone; CPU iPhone OS 15_0 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Mobile/15E148\&quot;,\&quot;age\&quot;:0,\&quot;body\&quot;:{\&quot;disposition\&quot;:\&quot;enforce\&quot;,\&quot;effectivePolicy\&quot;:\&quot;same-origin-allow-popups\&quot;,\&quot;previousResponseURL\&quot;:\&quot;\&quot;,\&quot;type\&quot;:\&quot;navigation-to-response\&quot;,\&quot;referrer\&quot;:\&quot;https://localhost:9443/\&quot;},\&quot;metadata\&quot;:{\&quot;content_type\&quot;:\&quot;application/reports+json\&quot;}}]&quot;
+FAIL verify remaining reports assert_equals: coop-popup-report-endpoint should be empty expected 0 but got 1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1806736</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2021-10-20 11:43:20 -0700</bug_when>
    <thetext>&lt;rdar://problem/84472339&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1806737</commentid>
    <comment_count>2</comment_count>
    <who name="">ayumi_kojima</who>
    <bug_when>2021-10-20 11:43:47 -0700</bug_when>
    <thetext>Marked test expectations https://trac.webkit.org/changeset/284555/webkit</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1806751</commentid>
    <comment_count>3</comment_count>
    <who name="">ayumi_kojima</who>
    <bug_when>2021-10-20 11:59:08 -0700</bug_when>
    <thetext>I was able to reproduce the failure locally using run-webkit-tests --ios-simulator --iterations 50 --exit-after-n-failures 1 imported/w3c/web-platform-tests/html/cross-origin-opener-policy/reporting/navigation-reporting/report-only-four-reports.https.html -f</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1806755</commentid>
    <comment_count>4</comment_count>
    <who name="">ayumi_kojima</who>
    <bug_when>2021-10-20 12:01:16 -0700</bug_when>
    <thetext>The test failed at r284510. No revision available to test for r284509, but I think the failure started at https://trac.webkit.org/changeset/284510/webkit.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1807233</commentid>
    <comment_count>5</comment_count>
    <who name="Chris Dumez">cdumez</who>
    <bug_when>2021-10-21 10:20:35 -0700</bug_when>
    <thetext>(In reply to ayumi_kojima from comment #4)
&gt; The test failed at r284510. No revision available to test for r284509, but I
&gt; think the failure started at https://trac.webkit.org/changeset/284510/webkit.

r284510 is when I resync&apos;d the test from upstream. I&apos;ll see what changes got merged for this particular test.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1807273</commentid>
    <comment_count>6</comment_count>
    <who name="Chris Dumez">cdumez</who>
    <bug_when>2021-10-21 11:20:21 -0700</bug_when>
    <thetext>Looks like I was able to reproduce as well:

--- /Volumes/Data/WebKit/OpenSource/WebKitBuild/Release-iphonesimulator/layout-test-results/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/reporting/navigation-reporting/report-only-four-reports.https-expected.txt
+++ /Volumes/Data/WebKit/OpenSource/WebKitBuild/Release-iphonesimulator/layout-test-results/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/reporting/navigation-reporting/report-only-four-reports.https-actual.txt
@@ -1,4 +1,4 @@
 
-PASS coop reporting test A test with both COOP and COOP report only setup to CROSS_ORIGIN with same-origin-allow-popups; report-to=&quot;coop-popup-report-endpoint&quot;, require-corp, same-origin; report-to=&quot;coop-popup-report-only-endpoint&quot;, require-corp
+FAIL coop reporting test A test with both COOP and COOP report only setup to CROSS_ORIGIN with same-origin-allow-popups; report-to=&quot;coop-popup-report-endpoint&quot;, require-corp, same-origin; report-to=&quot;coop-popup-report-only-endpoint&quot;, require-corp promise_test: Unhandled rejection with value: &quot;No report matched the expected report for endpoint: coop-report-endpoint, expected report: {\&quot;body\&quot;:{\&quot;disposition\&quot;:\&quot;enforce\&quot;,\&quot;effectivePolicy\&quot;:\&quot;same-origin-allow-popups\&quot;,\&quot;nextResponseURL\&quot;:\&quot;/uuid=(uuid)$/\&quot;,\&quot;type\&quot;:\&quot;navigation-from-response\&quot;},\&quot;url\&quot;:\&quot;https://localhost:9443/html/cross-origin-opener-policy/reporting/navigation-reporting/report-only-four-reports.https.html\&quot;,\&quot;type\&quot;:\&quot;coop\&quot;}, within available reports: []&quot;
 PASS verify remaining reports</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1828641</commentid>
    <comment_count>7</comment_count>
    <who name="Chris Dumez">cdumez</who>
    <bug_when>2022-01-06 09:29:45 -0800</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 234899 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>