<?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>230485</bug_id>
          
          <creation_ts>2021-09-20 10:25:13 -0700</creation_ts>
          <short_desc>Regression (r282341?): [ iOS macOS wk2] imported/w3c/web-platform-tests/webrtc/RTCSctpTransport-events.html is a flaky failure</short_desc>
          <delta_ts>2021-09-20 16:43:55 -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>WebRTC</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>ayumi_kojima</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>koivisto</cc>
    
    <cc>simon.fraser</cc>
    
    <cc>webkit-bot-watchers-bugzilla</cc>
    
    <cc>webkit-bug-importer</cc>
    
    <cc>youennf</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1795141</commentid>
    <comment_count>0</comment_count>
    <who name="">ayumi_kojima</who>
    <bug_when>2021-09-20 10:25:13 -0700</bug_when>
    <thetext>imported/w3c/web-platform-tests/webrtc/RTCSctpTransport-events.html

Is flaky failing on iOS and macOS wk2.

History: https://results.webkit.org/?suite=layout-tests&amp;test=imported%2Fw3c%2Fweb-platform-tests%2Fwebrtc%2FRTCSctpTransport-events.html

According to the history, it looks like the test first failed at r282059.

Result page: https://build.webkit.org/results/Apple-BigSur-Release-AppleSilicon-WK2-Tests/r282745%20(4008)/results.html

Diff:

--- /Volumes/Data/worker/bigsur-release-applesilicon-tests-wk2/build/layout-test-results/imported/w3c/web-platform-tests/webrtc/RTCSctpTransport-events-expected.txt
+++ /Volumes/Data/worker/bigsur-release-applesilicon-tests-wk2/build/layout-test-results/imported/w3c/web-platform-tests/webrtc/RTCSctpTransport-events-actual.txt
@@ -1,4 +1,6 @@
+
+Harness Error (TIMEOUT), message = null
 
 PASS SctpTransport objects are created at appropriate times
-PASS SctpTransport reaches connected and closed state
+TIMEOUT SctpTransport reaches connected and closed state Test timed out</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1795142</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2021-09-20 10:25:45 -0700</bug_when>
    <thetext>&lt;rdar://problem/83312654&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1795145</commentid>
    <comment_count>2</comment_count>
    <who name="">ayumi_kojima</who>
    <bug_when>2021-09-20 10:30:49 -0700</bug_when>
    <thetext>Updated test expectations: https://trac.webkit.org/changeset/282757/webkit</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1795312</commentid>
    <comment_count>3</comment_count>
    <who name="">ayumi_kojima</who>
    <bug_when>2021-09-20 15:25:00 -0700</bug_when>
    <thetext>I was able to reproduce the failure at TOT using run-webkit-tests --force --iterations 50 --exit-after-n-failures 1 imported/w3c/web-platform-tests/webrtc/RTCSctpTransport-events.html

With older revisions (r282000-r282103) though, the test failed but with a different diff:

--- /Volumes/Data/Builds/GoldenGate/test-282103/layout-test-results/imported/w3c/web-platform-tests/webrtc/RTCSctpTransport-events-expected.txt
+++ /Volumes/Data/Builds/GoldenGate/test-282103/layout-test-results/imported/w3c/web-platform-tests/webrtc/RTCSctpTransport-events-actual.txt
@@ -1,4 +1,6 @@
 
-PASS SctpTransport objects are created at appropriate times
-PASS SctpTransport reaches connected and closed state
+Harness Error (FAIL), message = Unhandled rejection: undefined is not an object (evaluating &apos;transport.state&apos;)
 
+FAIL SctpTransport objects are created at appropriate times assert_equals: expected (undefined) undefined but got (object) null
+FAIL SctpTransport reaches connected and closed state promise_test: Unhandled rejection with value: object &quot;TypeError: undefined is not an object (evaluating &apos;transport.state&apos;)&quot;
+

The test failed at the oldest revision available (r281695) with the same diff above.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1795348</commentid>
    <comment_count>4</comment_count>
    <who name="">ayumi_kojima</who>
    <bug_when>2021-09-20 16:38:40 -0700</bug_when>
    <thetext>It appears that it started at https://trac.webkit.org/changeset/282341/webkit

I was able to reproduce the failure at r282341 and newer revision and the test passed at r282340: 

Diff:

--- /Volumes/Data/worker/bigsur-release-applesilicon-tests-wk2/build/layout-test-results/imported/w3c/web-platform-tests/webrtc/RTCSctpTransport-events-expected.txt
+++ /Volumes/Data/worker/bigsur-release-applesilicon-tests-wk2/build/layout-test-results/imported/w3c/web-platform-tests/webrtc/RTCSctpTransport-events-actual.txt
@@ -1,4 +1,6 @@
+
+Harness Error (TIMEOUT), message = null
 
 PASS SctpTransport objects are created at appropriate times
-PASS SctpTransport reaches connected and closed state
+TIMEOUT SctpTransport reaches connected and closed state Test timed out

Weird thing is that r282059 failed with the same diff above on the testing machine, but I could not reproduce the same failure locally.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1795352</commentid>
    <comment_count>5</comment_count>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2021-09-20 16:43:55 -0700</bug_when>
    <thetext>Seems unlikely that the cssom-view tests would cause an unrelated test to fail.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>