Bug 214197 - [macOS iOS] imported/w3c/web-platform-tests/webrtc/RTCRtpTransceiver.https.html is a flaky failure
Summary: [macOS iOS] imported/w3c/web-platform-tests/webrtc/RTCRtpTransceiver.https.ht...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebRTC (show other bugs)
Version: Other
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2020-07-10 14:12 PDT by Ryan Haddad
Modified: 2020-08-06 18:14 PDT (History)
6 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ryan Haddad 2020-07-10 14:12:46 PDT
imported/w3c/web-platform-tests/webrtc/RTCRtpTransceiver.https.html became a flaky failure after the WPT resync in https://trac.webkit.org/changeset/264202/webkit

--- /Volumes/Data/slave/catalina-debug-tests-wk2/build/layout-test-results/imported/w3c/web-platform-tests/webrtc/RTCRtpTransceiver.https-expected.txt
+++ /Volumes/Data/slave/catalina-debug-tests-wk2/build/layout-test-results/imported/w3c/web-platform-tests/webrtc/RTCRtpTransceiver.https-actual.txt
@@ -26,11 +26,11 @@
 FAIL checkRemoveTrackNegotiation promise_test: Unhandled rejection with value: object "InvalidStateError: Description type incompatible with current signaling state"
 FAIL checkMute assert_true: expected true got false
 FAIL checkStop assert_equals: expected "[{currentDirection:null,direction:\"sendrecv\",receiver:{track:{kind:\"audio\",readyState:\"ended\"}},sender:{track:{kind:\"audio\"}},stopped:true}]" but got "[{currentDirection:null,direction:\"sendrecv\",receiver:{track:{kind:\"audio\",readyState:\"ended\"}},sender:{track:null},stopped:true}]"
-TIMEOUT checkStopAfterCreateOffer Test timed out
-NOTRUN checkStopAfterSetLocalOffer 
-NOTRUN checkStopAfterSetRemoteOffer 
-NOTRUN checkStopAfterCreateAnswer 
-NOTRUN checkStopAfterSetLocalAnswer 
+FAIL checkStopAfterCreateOffer assert_equals: expected "[{mid:null,stopped:true}]" but got "[{mid:\"0\",stopped:true}]"
+FAIL checkStopAfterSetLocalOffer assert_equals: expected "[{mid:null,stopped:true}]" but got "[{mid:\"0\",stopped:true}]"
+FAIL checkStopAfterSetRemoteOffer assert_equals: expected "[]" but got "[{isTrusted:true}]"
+FAIL checkStopAfterCreateAnswer assert_equals: expected "[{mid:null,stopped:true}]" but got "[{mid:\"0\",stopped:true}]"
+TIMEOUT checkStopAfterSetLocalAnswer Test timed out
 NOTRUN checkStopAfterClose 
 NOTRUN checkLocalRollback 
 NOTRUN checkRollbackAndSetRemoteOfferWithDifferentType 

https://results.webkit.org/?suite=layout-tests&test=imported%2Fw3c%2Fweb-platform-tests%2Fwebrtc%2Fprotocol%2Fsplit.https.html
Comment 1 Radar WebKit Bug Importer 2020-07-10 14:13:36 PDT
<rdar://problem/65363289>
Comment 2 Chris Dumez 2020-07-10 14:54:15 PDT
Updated expectations in <https://trac.webkit.org/changeset/264240>.
Comment 3 Hector Lopez 2020-08-06 17:50:14 PDT
imported/w3c/web-platform-tests/webrtc/RTCRtpTransceiver.https.html

Test is also crashing according to history. First occurrence of a crash at r264492.

History:
https://results.webkit.org/?suite=layout-tests&test=imported%2Fw3c%2Fweb-platform-tests%2Fwebrtc%2FRTCRtpTransceiver.https.html&limit=50000

Crash log:
No crash log found for WebKitTestRunner:47613.

stdout:

stderr:
(used_ids.h:55): Duplicate id found. Reassigning from 102 to 127
(used_ids.h:55): Duplicate id found. Reassigning from 103 to 125
(used_ids.h:55): Duplicate id found. Reassigning from 105 to 124
(used_ids.h:55): Duplicate id found. Reassigning from 1 to 14
(used_ids.h:55): Duplicate id found. Reassigning from 3 to 13
(used_ids.h:55): Duplicate id found. Reassigning from 5 to 12
(used_ids.h:55): Duplicate id found. Reassigning from 6 to 11
(channel_send.cc:602): Trying to call unset encoder.
(webrtc_sdp.cc:402): Failed to parse: "a=msid:fake-stream-id". Reason: Expects 2 fields.
(used_ids.h:55): Duplicate id found. Reassigning from 102 to 127
(used_ids.h:55): Duplicate id found. Reassigning from 103 to 125
(used_ids.h:55): Duplicate id found. Reassigning from 105 to 124
(used_ids.h:55): Duplicate id found. Reassigning from 1 to 14
(used_ids.h:55): Duplicate id found. Reassigning from 3 to 13
(used_ids.h:55): Duplicate id found. Reassigning from 5 to 12
(used_ids.h:55): Duplicate id found. Reassigning from 6 to 11
(used_ids.h:55): Duplicate id found. Reassigning from 102 to 127
(used_ids.h:55): Duplicate id found. Reassigning from 103 to 125
(used_ids.h:55): Duplicate id found. Reassigning from 105 to 124
(used_ids.h:55): Duplicate id found. Reassigning from 1 to 14
(used_ids.h:55): Duplicate id found. Reassigning from 3 to 13
(used_ids.h:55): Duplicate id found. Reassigning from 5 to 12
(used_ids.h:55): Duplicate id found. Reassigning from 6 to 11
(used_ids.h:55): Duplicate id found. Reassigning from 102 to 127
(used_ids.h:55): Duplicate id found. Reassigning from 103 to 125
(used_ids.h:55): Duplicate id found. Reassigning from 105 to 124
(used_ids.h:55): Duplicate id found. Reassigning from 1 to 14
(used_ids.h:55): Duplicate id found. Reassigning from 3 to 13
(used_ids.h:55): Duplicate id found. Reassigning from 5 to 12
(used_ids.h:55): Duplicate id found. Reassigning from 6 to 11
(channel_send.cc:602): Trying to call unset encoder.
(used_ids.h:55): Duplicate id found. Reassigning from 102 to 127
(used_ids.h:55): Duplicate id found. Reassigning from 103 to 125
(used_ids.h:55): Duplicate id found. Reassigning from 105 to 124
(used_ids.h:55): Duplicate id found. Reassigning from 1 to 14
(used_ids.h:55): Duplicate id found. Reassigning from 3 to 13
(used_ids.h:55): Duplicate id found. Reassigning from 5 to 12
(used_ids.h:55): Duplicate id found. Reassigning from 6 to 11
(channel_send.cc:602): Trying to call unset encoder.
(used_ids.h:55): Duplicate id found. Reassigning from 102 to 127
(used_ids.h:55): Duplicate id found. Reassigning from 103 to 125
(used_ids.h:55): Duplicate id found. Reassigning from 105 to 124
(used_ids.h:55): Duplicate id found. Reassigning from 1 to 14
(used_ids.h:55): Duplicate id found. Reassigning from 3 to 13
(used_ids.h:55): Duplicate id found. Reassigning from 5 to 12
(used_ids.h:55): Duplicate id found. Reassigning from 6 to 11
(used_ids.h:55): Duplicate id found. Reassigning from 102 to 127
(used_ids.h:55): Duplicate id found. Reassigning from 103 to 125
(used_ids.h:55): Duplicate id found. Reassigning from 105 to 124
(used_ids.h:55): Duplicate id found. Reassigning from 1 to 14
(used_ids.h:55): Duplicate id found. Reassigning from 3 to 13
(used_ids.h:55): Duplicate id found. Reassigning from 5 to 12
(used_ids.h:55): Duplicate id found. Reassigning from 6 to 11
(channel_send.cc:602): Trying to call unset encoder.
(used_ids.h:55): Duplicate id found. Reassigning from 102 to 127
(used_ids.h:55): Duplicate id found. Reassigning from 103 to 125
(used_ids.h:55): Duplicate id found. Reassigning from 105 to 124
(used_ids.h:55): Duplicate id found. Reassigning from 1 to 14
(used_ids.h:55): Duplicate id found. Reassigning from 3 to 13
(used_ids.h:55): Duplicate id found. Reassigning from 5 to 12
(used_ids.h:55): Duplicate id found. Reassigning from 6 to 11
(used_ids.h:55): Duplicate id found. Reassigning from 102 to 127
(used_ids.h:55): Duplicate id found. Reassigning from 103 to 125
(used_ids.h:55): Duplicate id found. Reassigning from 105 to 124
(used_ids.h:55): Duplicate id found. Reassigning from 1 to 14
(used_ids.h:55): Duplicate id found. Reassigning from 3 to 13
(used_ids.h:55): Duplicate id found. Reassigning from 5 to 12
(used_ids.h:55): Duplicate id found. Reassigning from 6 to 11
(rtp_rtcp_impl.cc:312): Failed to send RTCP BYE
(used_ids.h:55): Duplicate id found. Reassigning from 102 to 127
(used_ids.h:55): Duplicate id found. Reassigning from 103 to 125
(used_ids.h:55): Duplicate id found. Reassigning from 105 to 124
(used_ids.h:55): Duplicate id found. Reassigning from 1 to 14
(used_ids.h:55): Duplicate id found. Reassigning from 3 to 13
(used_ids.h:55): Duplicate id found. Reassigning from 5 to 12
(used_ids.h:55): Duplicate id found. Reassigning from 6 to 11
(channel_send.cc:602): Trying to call unset encoder.
(rtp_rtcp_impl.cc:312): Failed to send RTCP BYE
(used_ids.h:55): Duplicate id found. Reassigning from 102 to 127
(used_ids.h:55): Duplicate id found. Reassigning from 103 to 125
(used_ids.h:55): Duplicate id found. Reassigning from 105 to 124
(used_ids.h:55): Duplicate id found. Reassigning from 1 to 14
(used_ids.h:55): Duplicate id found. Reassigning from 3 to 13
(used_ids.h:55): Duplicate id found. Reassigning from 5 to 12
(used_ids.h:55): Duplicate id found. Reassigning from 6 to 11
(used_ids.h:55): Duplicate id found. Reassigning from 102 to 127
(used_ids.h:55): Duplicate id found. Reassigning from 103 to 125
(used_ids.h:55): Duplicate id found. Reassigning from 105 to 124
(used_ids.h:55): Duplicate id found. Reassigning from 1 to 14
(used_ids.h:55): Duplicate id found. Reassigning from 3 to 13
(used_ids.h:55): Duplicate id found. Reassigning from 5 to 12
(used_ids.h:55): Duplicate id found. Reassigning from 6 to 11
(used_ids.h:55): Duplicate id found. Reassigning from 102 to 127
(used_ids.h:55): Duplicate id found. Reassigning from 103 to 125
(used_ids.h:55): Duplicate id found. Reassigning from 105 to 124
(used_ids.h:55): Duplicate id found. Reassigning from 1 to 14
(used_ids.h:55): Duplicate id found. Reassigning from 3 to 13
(used_ids.h:55): Duplicate id found. Reassigning from 5 to 12
(used_ids.h:55): Duplicate id found. Reassigning from 6 to 11
(used_ids.h:55): Duplicate id found. Reassigning from 102 to 127
(used_ids.h:55): Duplicate id found. Reassigning from 103 to 125
(used_ids.h:55): Duplicate id found. Reassigning from 105 to 124
(used_ids.h:55): Duplicate id found. Reassigning from 1 to 14
(used_ids.h:55): Duplicate id found. Reassigning from 3 to 13
(used_ids.h:55): Duplicate id found. Reassigning from 5 to 12
(used_ids.h:55): Duplicate id found. Reassigning from 6 to 11
(used_ids.h:55): Duplicate id found. Reassigning from 102 to 127
(used_ids.h:55): Duplicate id found. Reassigning from 103 to 125
(used_ids.h:55): Duplicate id found. Reassigning from 105 to 124
(used_ids.h:55): Duplicate id found. Reassigning from 1 to 14
(used_ids.h:55): Duplicate id found. Reassigning from 3 to 13
(used_ids.h:55): Duplicate id found. Reassigning from 5 to 12
(used_ids.h:55): Duplicate id found. Reassigning from 6 to 11
(used_ids.h:55): Duplicate id found. Reassigning from 102 to 127
(used_ids.h:55): Duplicate id found. Reassigning from 103 to 125
(used_ids.h:55): Duplicate id found. Reassigning from 105 to 124
(used_ids.h:55): Duplicate id found. Reassigning from 1 to 14
(used_ids.h:55): Duplicate id found. Reassigning from 3 to 13
(used_ids.h:55): Duplicate id found. Reassigning from 5 to 12
(used_ids.h:55): Duplicate id found. Reassigning from 6 to 11
(used_ids.h:55): Duplicate id found. Reassigning from 102 to 127
(used_ids.h:55): Duplicate id found. Reassigning from 103 to 125
(used_ids.h:55): Duplicate id found. Reassigning from 105 to 124
(used_ids.h:55): Duplicate id found. Reassigning from 1 to 14
(used_ids.h:55): Duplicate id found. Reassigning from 3 to 13
(used_ids.h:55): Duplicate id found. Reassigning from 5 to 12
(used_ids.h:55): Duplicate id found. Reassigning from 6 to 11
(used_ids.h:55): Duplicate id found. Reassigning from 102 to 127
(used_ids.h:55): Duplicate id found. Reassigning from 103 to 125
(used_ids.h:55): Duplicate id found. Reassigning from 105 to 124
(used_ids.h:55): Duplicate id found. Reassigning from 1 to 14
(used_ids.h:55): Duplicate id found. Reassigning from 3 to 13
(used_ids.h:55): Duplicate id found. Reassigning from 5 to 12
(used_ids.h:55): Duplicate id found. Reassigning from 6 to 11
(channel_send.cc:602): Trying to call unset encoder.
(used_ids.h:55): Duplicate id found. Reassigning from 102 to 127
(used_ids.h:55): Duplicate id found. Reassigning from 103 to 125
(used_ids.h:55): Duplicate id found. Reassigning from 105 to 124
(used_ids.h:55): Duplicate id found. Reassigning from 1 to 14
(used_ids.h:55): Duplicate id found. Reassigning from 3 to 13
(used_ids.h:55): Duplicate id found. Reassigning from 5 to 12
(used_ids.h:55): Duplicate id found. Reassigning from 6 to 11
(channel_send.cc:602): Trying to call unset encoder.
(used_ids.h:55): Duplicate id found. Reassigning from 102 to 127
(used_ids.h:55): Duplicate id found. Reassigning from 103 to 125
(used_ids.h:55): Duplicate id found. Reassigning from 105 to 124
(used_ids.h:55): Duplicate id found. Reassigning from 1 to 14
(used_ids.h:55): Duplicate id found. Reassigning from 3 to 13
(used_ids.h:55): Duplicate id found. Reassigning from 5 to 12
(used_ids.h:55): Duplicate id found. Reassigning from 6 to 11
(channel_send.cc:602): Trying to call unset encoder.
(jsep_transport_controller.cc:349): Not adding candidate because the JsepTransport doesn't exist. Ignore it.
(call.cc:1140): Attempting to sync more than one audio stream within the same sync group. This is not supported in the current implementation.
(used_ids.h:55): Duplicate id found. Reassigning from 102 to 127
(used_ids.h:55): Duplicate id found. Reassigning from 103 to 125
(used_ids.h:55): Duplicate id found. Reassigning from 105 to 124
(used_ids.h:55): Duplicate id found. Reassigning from 1 to 14
(used_ids.h:55): Duplicate id found. Reassigning from 3 to 13
(used_ids.h:55): Duplicate id found. Reassigning from 5 to 12
(used_ids.h:55): Duplicate id found. Reassigning from 6 to 11
(used_ids.h:55): Duplicate id found. Reassigning from 102 to 127
(used_ids.h:55): Duplicate id found. Reassigning from 103 to 125
(used_ids.h:55): Duplicate id found. Reassigning from 105 to 124
(used_ids.h:55): Duplicate id found. Reassigning from 1 to 14
(used_ids.h:55): Duplicate id found. Reassigning from 3 to 13
(used_ids.h:55): Duplicate id found. Reassigning from 5 to 12
(used_ids.h:55): Duplicate id found. Reassigning from 6 to 11
(webrtc_video_engine.cc:3160): Absent receive stream; ignoring clearing encoded frame sink for ssrc 0
(used_ids.h:55): Duplicate id found. Reassigning from 102 to 127
(used_ids.h:55): Duplicate id found. Reassigning from 103 to 125
(used_ids.h:55): Duplicate id found. Reassigning from 105 to 124
(used_ids.h:55): Duplicate id found. Reassigning from 1 to 14
(used_ids.h:55): Duplicate id found. Reassigning from 3 to 13
(used_ids.h:55): Duplicate id found. Reassigning from 5 to 12
(used_ids.h:55): Duplicate id found. Reassigning from 6 to 11
(webrtc_video_engine.cc:3160): Absent receive stream; ignoring clearing encoded frame sink for ssrc 0
(channel_send.cc:602): Trying to call unset encoder.
(balanced_degradation_settings.cc:96): Unsupported size, value ignored.
(rtp_video_sender.cc:103): Transmitting payload type without picture ID using NACK+ULPFEC is a waste of bandwidth since ULPFEC packets also have to be retransmitted. Disabling ULPFEC.
(rtp_video_sender.cc:103): Transmitting payload type without picture ID using NACK+ULPFEC is a waste of bandwidth since ULPFEC packets also have to be retransmitted. Disabling ULPFEC.
(video_send_stream_impl.cc:243): ERROR: Initial encoder max bitrate = -1 which is <= 0!
(webrtc_video_engine.cc:3160): Absent receive stream; ignoring clearing encoded frame sink for ssrc 0
(balanced_degradation_settings.cc:96): Unsupported size, value ignored.
(rtp_video_sender.cc:103): Transmitting payload type without picture ID using NACK+ULPFEC is a waste of bandwidth since ULPFEC packets also have to be retransmitted. Disabling ULPFEC.
(rtp_video_sender.cc:103): Transmitting payload type without picture ID using NACK+ULPFEC is a waste of bandwidth since ULPFEC packets also have to be retransmitted. Disabling ULPFEC.
(video_send_stream_impl.cc:243): ERROR: Initial encoder max bitrate = -1 which is <= 0!
(jsep_transport_controller.cc:349): Not adding candidate because the JsepTransport doesn't exist. Ignore it.
(rtp_rtcp_impl.cc:312): Failed to send RTCP BYE
(rtp_rtcp_impl.cc:312): Failed to send RTCP BYE
(rtp_rtcp_impl.cc:312): Failed to send RTCP BYE
(used_ids.h:55): Duplicate id found. Reassigning from 102 to 127
(used_ids.h:55): Duplicate id found. Reassigning from 103 to 125
(used_ids.h:55): Duplicate id found. Reassigning from 105 to 124
(used_ids.h:55): Duplicate id found. Reassigning from 1 to 14
(used_ids.h:55): Duplicate id found. Reassigning from 3 to 13
(used_ids.h:55): Duplicate id found. Reassigning from 5 to 12
(used_ids.h:55): Duplicate id found. Reassigning from 6 to 11
(channel_send.cc:602): Trying to call unset encoder.
(used_ids.h:55): Duplicate id found. Reassigning from 102 to 127
(used_ids.h:55): Duplicate id found. Reassigning from 103 to 125
(used_ids.h:55): Duplicate id found. Reassigning from 105 to 124
(used_ids.h:55): Duplicate id found. Reassigning from 1 to 14
(used_ids.h:55): Duplicate id found. Reassigning from 3 to 13
(used_ids.h:55): Duplicate id found. Reassigning from 5 to 12
(used_ids.h:55): Duplicate id found. Reassigning from 6 to 11
(rtp_transport.cc:169): Failed to register the sink for RTP demuxer.
(channel.cc:241): Failed to connect to the new RtpTransport.
(audio_rtp_receiver.cc:168): AudioRtpReceiver::SetupMediaChannel: No audio channel exists.
(used_ids.h:55): Duplicate id found. Reassigning from 102 to 127
(used_ids.h:55): Duplicate id found. Reassigning from 103 to 125
(used_ids.h:55): Duplicate id found. Reassigning from 105 to 124
(used_ids.h:55): Duplicate id found. Reassigning from 1 to 14
(used_ids.h:55): Duplicate id found. Reassigning from 3 to 13
(used_ids.h:55): Duplicate id found. Reassigning from 5 to 12
(used_ids.h:55): Duplicate id found. Reassigning from 6 to 11


#
# Fatal error in: /Volumes/Data/slave/catalina-debug/build/Source/ThirdParty/libwebrtc/Source/webrtc/call/rtp_demuxer.cc, line 49
# last system error: 0
# Check failed: sink_by_mid_.empty()
# #CRASHED - com.apple.WebKit.WebContent.Development (pid 49294)
LEAK: 1 WebProcessPool
LEAK: 1 WebPageProxy
Comment 4 Alexey Proskuryakov 2020-08-06 18:10:55 PDT
Another assertion failure:

# Fatal error in: /Volumes/Data/slave/catalina-debug/build/Source/ThirdParty/libwebrtc/Source/webrtc/call/rtp_demuxer.cc, line 49
# last system error: 0
# Check failed: sink_by_mid_.empty()
# #CRASHED - com.apple.WebKit.WebContent.Development (pid 49294)
Comment 5 Hector Lopez 2020-08-06 18:14:10 PDT
Test Expectation changed.

https://trac.webkit.org/changeset/265359/webkit