<?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>207197</bug_id>
          
          <creation_ts>2020-02-04 07:28:45 -0800</creation_ts>
          <short_desc>Regression(?): [ iOS wk2 ] http/tests/resourceLoadStatistics/cookie-deletion.html is flaky failing and crashing.</short_desc>
          <delta_ts>2020-05-26 15:03:12 -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>Tools / Tests</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>CONFIGURATION CHANGED</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="Jason Lawrence">Lawrence.j</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>tsavell</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>1614519</commentid>
    <comment_count>0</comment_count>
    <who name="Jason Lawrence">Lawrence.j</who>
    <bug_when>2020-02-04 07:28:45 -0800</bug_when>
    <thetext>http/tests/resourceLoadStatistics/cookie-deletion.html

Description:
This test is flaky failing and crashing on iOS wk2.

History:
https://results.webkit.org/?platform=ios&amp;suite=layout-tests&amp;test=http%2Ftests%2FresourceLoadStatistics%2Fcookie-deletion.html&amp;limit=50000

Diff:
--- /Volumes/Data/slave/ipados-simulator-13-release-tests-wk2/build/layout-test-results/http/tests/resourceLoadStatistics/cookie-deletion-expected.txt
+++ /Volumes/Data/slave/ipados-simulator-13-release-tests-wk2/build/layout-test-results/http/tests/resourceLoadStatistics/cookie-deletion-actual.txt
@@ -1,73 +1,5 @@
 CONSOLE MESSAGE: line 117: Test is beginning. document.location.hash is empty.
 CONSOLE MESSAGE: line 123: About to call runTest() for the first time.
 CONSOLE MESSAGE: line 62: step1. About to set a cookie
-CONSOLE MESSAGE: line 127: About to call runTest() after cookie was set. document hash is #step2
-CONSOLE MESSAGE: line 67: step2. About to open an iFrame to test for third party cookie access (should be successful)
-CONSOLE MESSAGE: line 73: step3. About to classify localhost as prevalent
-CONSOLE MESSAGE: line 77: step3. In the callback for testRunner.setStatisticsPrevalentResource
-CONSOLE MESSAGE: line 84: step4. About to open an iFrame to test for third party cookie access (should not be successful)
-CONSOLE MESSAGE: line 90: step5. About to open an iFrame to try to set a cookie as a third party (should fail)
-CONSOLE MESSAGE: line 96: step6. About to open an iFrame and fireDataModificationHandlerAndContinue
-CONSOLE MESSAGE: line 40: In fireDataModificationHandlerAndContinue
-CONSOLE MESSAGE: line 45: Calling statisticsProcessStatisticsAndDataRecords
-CONSOLE MESSAGE: line 42: In callback function for installStatisticsDidScanDataRecordsCallback
-CONSOLE MESSAGE: line 102: step7. About to open an iFrame and setAsNonPrevalentAndContinue
-CONSOLE MESSAGE: line 50: In setAsNonPrevalentAndContinue
-CONSOLE MESSAGE: line 52: In callback function for setStatisticsPrevalentResource
-CONSOLE MESSAGE: line 108: step8. About to open an iFrame and confirm third party has no cookie access
-CONSOLE MESSAGE: line 25: in finishTest
-Test for partitioned and unpartitioned cookie deletion.
-
-On success, you will see a series of &quot;PASS&quot; messages, followed by &quot;TEST COMPLETE&quot;.
 
 
-PASS successfullyParsed is true
-
-TEST COMPLETE
-  
-
---------
-Frame: &apos;&lt;!--frame1--&gt;&apos;
---------
-Should receive first-party cookie.
-Received cookie named &apos;firstPartyCookie&apos;.
-Did not receive cookie named &apos;thirdPartyCookie&apos;.
-Client-side document.cookie: firstPartyCookie=value
-
---------
-Frame: &apos;&lt;!--frame2--&gt;&apos;
---------
-Should receive no cookies.
-Did not receive cookie named &apos;firstPartyCookie&apos;.
-Did not receive cookie named &apos;thirdPartyCookie&apos;.
-Client-side document.cookie:
-
---------
-Frame: &apos;&lt;!--frame3--&gt;&apos;
---------
-Try to set third party cookie.
-
-
---------
-Frame: &apos;&lt;!--frame4--&gt;&apos;
---------
-Should receive no cookies.
-Did not receive cookie named &apos;firstPartyCookie&apos;.
-Did not receive cookie named &apos;thirdPartyCookie&apos;.
-Client-side document.cookie:
-
---------
-Frame: &apos;&lt;!--frame5--&gt;&apos;
---------
-After removal, should receive no cookies.
-Did not receive cookie named &apos;firstPartyCookie&apos;.
-Did not receive cookie named &apos;thirdPartyCookie&apos;.
-Client-side document.cookie:
-
---------
-Frame: &apos;&lt;!--frame6--&gt;&apos;
---------
-After declassified, should receive no cookies.
-Did not receive cookie named &apos;firstPartyCookie&apos;.
-Did not receive cookie named &apos;thirdPartyCookie&apos;.
-Client-side document.cookie:</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1614520</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2020-02-04 07:29:05 -0800</bug_when>
    <thetext>&lt;rdar://problem/59148643&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1614528</commentid>
    <comment_count>2</comment_count>
    <who name="Jason Lawrence">Lawrence.j</who>
    <bug_when>2020-02-04 07:46:18 -0800</bug_when>
    <thetext>I am not able to reproduce this issue with run-webkit-tests after 2500 iterations.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1614538</commentid>
    <comment_count>3</comment_count>
      <attachid>389660</attachid>
    <who name="Jason Lawrence">Lawrence.j</who>
    <bug_when>2020-02-04 08:01:27 -0800</bug_when>
    <thetext>Created attachment 389660
Update Test Expectations</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1614541</commentid>
    <comment_count>4</comment_count>
      <attachid>389660</attachid>
    <who name="Truitt Savell">tsavell</who>
    <bug_when>2020-02-04 08:09:04 -0800</bug_when>
    <thetext>Comment on attachment 389660
Update Test Expectations

Clearing flags on attachment: 389660

Committed r255676: &lt;https://trac.webkit.org/changeset/255676&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1614542</commentid>
    <comment_count>5</comment_count>
    <who name="Jason Lawrence">Lawrence.j</who>
    <bug_when>2020-02-04 08:09:52 -0800</bug_when>
    <thetext>This appears to only be flaky crashing in debug. It is flaky failing otherwise.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1614666</commentid>
    <comment_count>6</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2020-02-04 11:52:03 -0800</bug_when>
    <thetext>I see failures in mid-September (from 11th to 19th), then a long green streak, and then failures, timeouts and assertion failures begin on November 6th. Hard to tell how real this is, but results definitely got worse.

The assertion failure is this, which we&apos;ve been seeing for a long time on other tests:

ASSERTION FAILED: m_uncommittedState.state == State::Committed
/Volumes/Data/slave/ios-simulator-13-debug/build/Source/WebKit/UIProcess/PageLoadState.cpp(322) : void WebKit::PageLoadState::didFinishLoad(const Transaction::Token &amp;)
1   0x10c353309 WTFCrash
2   0x11ab4da6b WTFCrashWithInfo(int, char const*, char const*, int)
3   0x11b59b140 WebKit::PageLoadState::didFinishLoad(WebKit::PageLoadState::Transaction::Token const&amp;)
4   0x11b6fe4b4 WebKit::WebPageProxy::didFinishLoadForFrame(WTF::ObjectIdentifier&lt;WebCore::FrameIdentifierType&gt;, unsigned long long, WebKit::UserData const&amp;)
5   0x11c1e5782 void IPC::callMemberFunctionImpl&lt;WebKit::WebPageProxy, void (WebKit::WebPageProxy::*)(WTF::ObjectIdentifier&lt;WebCore::FrameIdentifierType&gt;, unsigned long long, WebKit::UserData const&amp;), std::__1::tuple&lt;WTF::ObjectIdentifier&lt;WebCore::FrameIdentifierType&gt;, unsigned long long, WebKit::UserData&gt;, 0ul, 1ul, 2ul&gt;(WebKit::WebPageProxy*, void (WebKit::WebPageProxy::*)(WTF::ObjectIdentifier&lt;WebCore::FrameIdentifierType&gt;, unsigned long long, WebKit::UserData const&amp;), std::__1::tuple&lt;WTF::ObjectIdentifier&lt;WebCore::FrameIdentifierType&gt;, unsigned long long, WebKit::UserData&gt;&amp;&amp;, std::__1::integer_sequence&lt;unsigned long, 0ul, 1ul, 2ul&gt;)
6   0x11c1e4ab0 void IPC::callMemberFunction&lt;WebKit::WebPageProxy, void (WebKit::WebPageProxy::*)(WTF::ObjectIdentifier&lt;WebCore::FrameIdentifierType&gt;, unsigned long long, WebKit::UserData const&amp;), std::__1::tuple&lt;WTF::ObjectIdentifier&lt;WebCore::FrameIdentifierType&gt;, unsigned long long, WebKit::UserData&gt;, std::__1::integer_sequence&lt;unsigned long, 0ul, 1ul, 2ul&gt; &gt;(std::__1::tuple&lt;WTF::ObjectIdentifier&lt;WebCore::FrameIdentifierType&gt;, unsigned long long, WebKit::UserData&gt;&amp;&amp;, WebKit::WebPageProxy*, void (WebKit::WebPageProxy::*)(WTF::ObjectIdentifier&lt;WebCore::FrameIdentifierType&gt;, unsigned long long, WebKit::UserData const&amp;))
7   0x11c1b30bd void IPC::handleMessage&lt;Messages::WebPageProxy::DidFinishLoadForFrame, WebKit::WebPageProxy, void (WebKit::WebPageProxy::*)(WTF::ObjectIdentifier&lt;WebCore::FrameIdentifierType&gt;, unsigned long long, WebKit::UserData const&amp;)&gt;(IPC::Decoder&amp;, WebKit::WebPageProxy*, void (WebKit::WebPageProxy::*)(WTF::ObjectIdentifier&lt;WebCore::FrameIdentifierType&gt;, unsigned long long, WebKit::UserData const&amp;))</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1656197</commentid>
    <comment_count>7</comment_count>
    <who name="Jason Lawrence">Lawrence.j</who>
    <bug_when>2020-05-26 15:03:12 -0700</bug_when>
    <thetext>I have removed the expectation because the test appears to be passing consistently now.
https://trac.webkit.org/changeset/262164/webkit</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>389660</attachid>
            <date>2020-02-04 08:01:27 -0800</date>
            <delta_ts>2020-02-04 08:09:04 -0800</delta_ts>
            <desc>Update Test Expectations</desc>
            <filename>bug-207197-20200204080126.patch</filename>
            <type>text/plain</type>
            <size>1562</size>
            <attacher name="Jason Lawrence">Lawrence.j</attacher>
            
              <data encoding="base64">U3VidmVyc2lvbiBSZXZpc2lvbjogMjU1Njc0CmRpZmYgLS1naXQgYS9MYXlvdXRUZXN0cy9DaGFu
Z2VMb2cgYi9MYXlvdXRUZXN0cy9DaGFuZ2VMb2cKaW5kZXggNjRkYWFkYTJhNDc3OGU2M2Y3ZTZh
M2NkNzVlZGY0ZTFlNTc0NTRlOS4uMzdlMmQ0YWU2NTk0NmMwYjliYWVhZGQwMzUxMzU1MzRlOGFj
N2RiNyAxMDA2NDQKLS0tIGEvTGF5b3V0VGVzdHMvQ2hhbmdlTG9nCisrKyBiL0xheW91dFRlc3Rz
L0NoYW5nZUxvZwpAQCAtMSwzICsxLDEyIEBACisyMDIwLTAyLTA0ICBKYXNvbiBMYXdyZW5jZSAg
PGxhd3JlbmNlLmpAYXBwbGUuY29tPgorCisgICAgICAgIFJlZ3Jlc3Npb246ICgyNTIzMzQ/KSBb
IGlPUyB3azIgXSBodHRwL3Rlc3RzL3Jlc291cmNlTG9hZFN0YXRpc3RpY3MvY29va2llLWRlbGV0
aW9uLmh0bWwgaXMgZmxha3kgZmFpbGluZyBhbmQgY3Jhc2hpbmcuCisgICAgICAgIGh0dHBzOi8v
YnVncy53ZWJraXQub3JnL3Nob3dfYnVnLmNnaT9pZD0yMDcxOTcKKworICAgICAgICBVbnJldmll
d2VkIHRlc3QgZ2FyZGVuaW5nLgorCisgICAgICAgICogcGxhdGZvcm0vaW9zLXdrMi9UZXN0RXhw
ZWN0YXRp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