<?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>227233</bug_id>
          
          <creation_ts>2021-06-21 13:48:30 -0700</creation_ts>
          <short_desc>[GTK][WPE] WebRTC tests failing since update of libwebrtc to M92</short_desc>
          <delta_ts>2021-06-21 23:30: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>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>227172</dup_id>
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=226494</see_also>
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Carlos Alberto Lopez Perez">clopez</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>bugs-noreply</cc>
    
    <cc>calvaris</cc>
    
    <cc>pnormand</cc>
    
    <cc>tsaunier</cc>
    
    <cc>youennf</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1771429</commentid>
    <comment_count>0</comment_count>
    <who name="Carlos Alberto Lopez Perez">clopez</who>
    <bug_when>2021-06-21 13:48:30 -0700</bug_when>
    <thetext>On r278701 libwebrtc was updated to M92.

This caused a number of WebRTC related tests to start failing on GTK and WPE:

  http/wpt/webrtc/third-party-frame-ice-candidate-filtering.html [ Failure ]
  imported/w3c/web-platform-tests/webrtc-priority/RTCPeerConnection-ondatachannel.html [ Failure ]
  inspector/page/overrideSetting-ICECandidateFilteringEnabled.html [ Timeout ]
  webrtc/calling-peerconnection-once-closed.html [ Failure ]
  webrtc/candidate-stats.html [ Failure ]
  webrtc/closing-peerconnection.html [ Timeout ]
  webrtc/datachannel/basic.html [ Timeout ]
  webrtc/datachannel/binary.html [ Failure ]
  webrtc/datachannel/bufferedAmount-afterClose.html [ Timeout ]
  webrtc/datachannel/bufferedAmountLowThreshold-default.html [ Failure ]
  webrtc/datachannel/bufferedAmountLowThreshold.html [ Failure ]
  webrtc/datachannel/datachannel-gc.html [ Timeout ]
  webrtc/datachannel/datachannel-page-cache.html [ Timeout ]
  webrtc/datachannel/datachannel-page-cache-send.html [ Timeout ]
  webrtc/datachannel/datachannel-stats.html [ Timeout ]
  webrtc/datachannel/dtls10.html [ Failure ]
  webrtc/datachannel/filter-ice-candidate.html [ Timeout ]
  webrtc/datachannel/gather-candidates-networkprocess-crash.html [ Failure ]
  webrtc/datachannel/getStats-no-prflx-remote-candidate.html [ Failure ]
  webrtc/datachannel/multi-channel.html [ Failure ]
  webrtc/filtering-ice-candidate-after-reload.html [ Timeout ]
  webrtc/legacy-api.html [ Failure ]
  webrtc/no-port-zero-in-upd-candidates.html [ Failure ]



However, I&apos;m unable to reproduce this failures if I run the test locally one by one.
Only when running the whole test suite this failures are reproducible (like in the bots)
This may indicate some issue caused by a previous test run that leaves WTR on an inconsistent state or something like that.

The errors the tests give look related to failure to create the SDP data channel. Examples:


--- /home/buildbot/worker/gtk-linux-64-release-tests/build/layout-test-results/webrtc/candidate-stats-expected.txt
+++ /home/buildbot/worker/gtk-linux-64-release-tests/build/layout-test-results/webrtc/candidate-stats-actual.txt
@@ -1,3 +1,6 @@
+CONSOLE MESSAGE: Unhandled Promise Rejection: OperationError: Failed to set remote offer sdp: Failed to create data channel.
 
-PASS ICE candidate data channel stats
+Harness Error (FAIL), message = Failed to set remote offer sdp: Failed to create data channel.
 
+FAIL ICE candidate data channel stats promise_test: Unhandled rejection with value: &quot;Test timed out&quot;
+

--- /home/buildbot/worker/gtk-linux-64-release-tests/build/layout-test-results/imported/w3c/web-platform-tests/webrtc-priority/RTCPeerConnection-ondatachannel-expected.txt
+++ /home/buildbot/worker/gtk-linux-64-release-tests/build/layout-test-results/imported/w3c/web-platform-tests/webrtc-priority/RTCPeerConnection-ondatachannel-actual.txt
@@ -1,4 +1,4 @@
 
 FAIL In-band negotiated channel created on remote peer should match the same configuration as local peer assert_equals: expected &quot;high&quot; but got &quot;low&quot;
-PASS In-band negotiated channel created on remote peer should match the same (default) configuration as local peer
+FAIL In-band negotiated channel created on remote peer should match the same (default) configuration as local peer promise_test: Unhandled rejection with value: object &quot;OperationError: Failed to set local offer sdp: Failed to create data channel.&quot;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1771432</commentid>
    <comment_count>1</comment_count>
    <who name="Carlos Alberto Lopez Perez">clopez</who>
    <bug_when>2021-06-21 13:54:22 -0700</bug_when>
    <thetext>Expectations updated on r279080</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1771453</commentid>
    <comment_count>2</comment_count>
    <who name="Philippe Normand">pnormand</who>
    <bug_when>2021-06-21 14:19:56 -0700</bug_when>
    <thetext>Are you sure this wasn&apos;t fixed in https://trac.webkit.org/changeset/279065/webkit ?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1771571</commentid>
    <comment_count>3</comment_count>
    <who name="Carlos Alberto Lopez Perez">clopez</who>
    <bug_when>2021-06-21 18:57:42 -0700</bug_when>
    <thetext>(In reply to Philippe Normand from comment #2)
&gt; Are you sure this wasn&apos;t fixed in
&gt; https://trac.webkit.org/changeset/279065/webkit ?

You are right, r279065 fixed that.

I was looking at results from the bot previous to r279065 meanwhile testing on local build after r279065.  That is why I wasn&apos;t able to reproduce it locally. My fault.

I removed the expectations on r279100

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

    </bug>

</bugzilla>