Closed Bug 1598923 Opened 5 years ago Closed 4 years ago

Investigate the SDP parsing failure in wpt RTCTrackEvent-fire.html

Categories

(Core :: WebRTC: Signaling, task, P3)

task

Tracking

()

RESOLVED FIXED
mozilla73
Tracking Status
firefox73 --- fixed

People

(Reporter: ng, Assigned: ng)

References

(Blocks 1 open bug)

Details

Attachments

(5 files)

Somewhere in WEBRTCSDP we are using a deprecated method and a warning is leaking out during run time. Ironically the error message may be covering up the text that would help identify where it is happening. There may not be a genuine parsing error, it might be serialization code that is tripping this deprecation warning.

This is only happening on Android 7.0 x86-64 emulator on debug, so perhaps there is a configuration difference there.

The fact that this is happening at all is potentially a sign that there is an error with the Sipcc parser, and now we fail-over to the Rust parser which fails as well. If that is the case I am not sure why this wasn't failing before. The sipcc parser does seem to pass the test though, so perhaps it is error handling or failover handling.

Failing Job: https://treeherder.mozilla.org/#/jobs?repo=try&revision=a6dbc282e74e93528ae04894b8fd8f14114e9ff4&selectedJob=277849940

Test Failure: TEST-UNEXPECTED-FAIL | /webrtc/RTCTrackEvent-fire.html | stream ids should be found even if msid-semantic is absent - promise_test: Unhandled rejection with value: object "OperationError: WEBRTCSDP Failed to parse SDP: SDP Parse Error on line 16: description() is deprecated; use Display

Secondary source of the error message: https://github.com/rust-lang/rust/issues/44842

To reproduce locally:

  1. build for android with the x86_64 target
  2. run mach wpt webrtc/RTCTrackEvent-fire.html --setpref 'media.peerconnection.sdp.alternate_parse_mode'='never' --setpref 'media.peerconnection.sdp.parser'='webrtc-sdp'
    2.A) Not sure why, but I had to manually set ADB_PATH in my environment to the copy installed in ${HOME}/.mozbuild

I created RTCTrackEvent-fire.html.ini which forces the use of only sipcc for this test. Once this addressed, that restriction can be lifted.

Priority: -- → P3
Assignee: nobody → na-g
Attachment #9112438 - Attachment description: Bug 1598923 - P1 - Remove use of description API and use format in SDP rust to C bindings;r?drno → Bug 1598923 - Fix known WEBRTCSDP issues blocking parallel parsing mode in Nightly;r?mjf
Pushed by na-g@nostrum.com:
https://hg.mozilla.org/integration/autoland/rev/7942c1bd3f70
Fix known WEBRTCSDP issues blocking parallel parsing mode in Nightly;r=drno
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla73
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: