Closed Bug 2050179 Opened 3 months ago Closed 3 months ago

Perma TEST-UNEXPECTED-TIMEOUT | /webrtc/RTCPeerConnection-videoDetectorTest.html | Signal detector detects track change within reasonable time - Test timed out when Gecko 154 merges to Beta on 2026-07-20

Categories

(Core :: WebRTC, defect)

defect

Tracking

()

VERIFIED FIXED
154 Branch
Tracking Status
firefox-esr115 --- unaffected
firefox-esr140 --- unaffected
firefox-esr153 --- unaffected
firefox152 --- unaffected
firefox153 --- unaffected
firefox154 + verified

People

(Reporter: abutkovits, Assigned: dbaker)

References

(Regression)

Details

(Keywords: regression)

Attachments

(1 file)

Central-as-beta-simulation

How to run these simulations

Failure log

[task 2026-06-24T12:40:36.537+00:00] 12:40:36     INFO - TEST-FAIL | /webrtc/RTCPeerConnection-transport-stats.https.html | DTLS statistics on transport-stats after setLocalDescription - assert_equals: expected (string) "unknown" but got (undefined) undefined
[task 2026-06-24T12:40:36.537+00:00] 12:40:36     INFO - @https://web-platform.test:8443/webrtc/RTCPeerConnection-transport-stats.https.html:24:16
[task 2026-06-24T12:40:36.537+00:00] 12:40:36     INFO - TEST-FAIL | /webrtc/RTCPeerConnection-transport-stats.https.html | ICE statistics on transport-stats after setLocalDescription - assert_equals: expected "new" but got "checking"
[task 2026-06-24T12:40:36.537+00:00] 12:40:36     INFO - @https://web-platform.test:8443/webrtc/RTCPeerConnection-transport-stats.https.html:43:16
[task 2026-06-24T12:40:36.537+00:00] 12:40:36     INFO - TEST-UNEXPECTED-TIMEOUT | /webrtc/RTCPeerConnection-videoDetectorTest.html | Signal detector detects track change within reasonable time - Test timed out
[task 2026-06-24T12:40:36.654+00:00] 12:40:36     INFO - TEST-UNEXPECTED-TIMEOUT | /webrtc/RTCPeerConnection-videoDetectorTest.html | expected OK
[task 2026-06-24T12:40:36.654+00:00] 12:40:36     INFO - TEST-INFO took 241028ms
[task 2026-06-24T12:40:37.146+00:00] 12:40:37     INFO - STDOUT: cleanup aborted: args: /builds/worker/fetches/android-sdk-linux/platform-tools/adb wait-for-device remount, exitcode: 1, stdout: Device must be bootloader unlocked
[task 2026-06-24T12:40:37.146+00:00] 12:40:37     INFO - Closing logging queue
[task 2026-06-24T12:40:37.146+00:00] 12:40:37     INFO - queue closed
[task 2026-06-24T12:40:37.163+00:00] 12:40:37     INFO - Setting up ssl
[task 2026-06-24T12:40:37.184+00:00] 12:40:37     INFO - certutil | b''
[task 2026-06-24T12:40:37.198+00:00] 12:40:37     INFO - certutil | b''
[task 2026-06-24T12:40:37.209+00:00] 12:40:37     INFO - certutil | b'\nCertificate Nickname                                         Trust Attributes\n                                                             SSL,S/MIME,JAR/XPI\n\nweb-platform-tests                                           CT,, \n'
[task 2026-06-24T12:40:37.907+00:00] 12:40:37     INFO - adb Granting important runtime permissions to org.mozilla.geckoview.test_runner
[task 2026-06-24T12:40:38.013+00:00] 12:40:38     INFO - adb launch_application: am start -W -n org.mozilla.geckoview.test_runner/org.mozilla.geckoview.test_runner.TestRunnerActivity -a android.intent.action.MAIN --es env0 MOZ_CRASHREPORTER=1 --es env1 MOZ_CRASHREPORTER_NO_REPORT=1 --es env2 MOZ_CRASHREPORTER_SHUTDOWN=1 --es env3 MOZ_HIDE_RESULTS_TABLE=1 --es env4 MOZ_IN_AUTOMATION=1 --es env5 MOZ_LOG=signaling:3,mtransport:4,DataChannel:3,jsep:4 --es env6 R_LOG_LEVEL=6 --es env7 R_LOG_DESTINATION=stderr --es env8 R_LOG_VERBOSE=1 --es env9 MOZ_PROCESS_LOG=/tmp/tmp4_3z2ounpidlog --es env10 MINIDUMP_SAVE_PATH=/builds/worker/workspace/build/blobber_upload_dir --es env11 MOZ_DISABLE_NONLOCAL_CONNECTIONS=1 --es arg0 -no-remote --es arg1 -profile --es arg2 /data/local/tmp/test_root/profile --es arg3 --marionette --es arg4 --remote-allow-system-access --es arg5 about:blank
[task 2026-06-24T12:40:40.377+00:00] 12:40:40     INFO - Starting runner
[task 2026-06-24T12:40:42.623+00:00] 12:40:42     INFO - TEST-START | /webrtc/RTCPeerConnectionIceErrorEvent.html ```

:mkozinski, since you are the author of the regressor, bug 2031984, could you take a look? Also, could you set the severity field?

For more information, please visit BugBot documentation.

Flags: needinfo?(mkozinski)

I find it extremely unlikely that changes to mobile/android/android-components/components/tooling/lint/ could possibly have an impact on this. Is the regressor set correctly?

Flags: needinfo?(mkozinski)

Looks like these kind of tests started only running on the 24th on those platforms, 23rd and 22nd those weren't there running so most likely is an old issue that surfaced there.

Flags: needinfo?(mfroman)
Flags: needinfo?(aryx.bugmail)

Given that these wpts weren't running on Android previously, should we update the ini file to expect a timeout?

Flags: needinfo?(mfroman)
Flags: needinfo?(jmathies)

Add per-test prefs on Android to disable hardware video decoders
(mediadatadecoder_h264_enabled, mediadatadecoder_vpx_enabled). Hardware
decoders produce SurfaceTextureImage frames; once the compositor GL context
attaches to the SurfaceTexture, GetAsSourceSurface() from another context
fails silently, causing canvas drawImage() to produce black pixels and the
signal detector to never fire. Software decoders (libvpx/GMP) produce
PlanarYCbCrImage frames that GetAsSourceSurface() can always read.

Also remove the [TIMEOUT, OK] expected results since the test now passes
with software decoders.

Assignee: nobody → dbaker
Status: NEW → ASSIGNED
Pushed by dbaker@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/18f6f8603f88 https://hg.mozilla.org/integration/autoland/rev/2b9ada4e3b45 Fix perma-TIMEOUT of RTCPeerConnection-videoDetectorTest on Android r=webrtc-reviewers,bwc
Status: ASSIGNED → RESOLVED
Closed: 3 months ago
Resolution: --- → FIXED
Target Milestone: --- → 154 Branch

Set release status flags based on info from the regressing bug 2031984

I'm confused the bug and fix were for the testing/web-platform/meta/webrtc/RTCPeerConnection-videoDetectorTest.html.ini. It seems you are linking a separate failing test /webrtc/RTCRtpSender-replaceTrack.https.html. Is it still seeing issues with videoDectetorTest? Or are we needing to discuss a different test case and possibly new bug?

Flags: needinfo?(dbaker) → needinfo?(ctuns)

Hello @dan

It seems to fail with this - line failure: TEST-UNEXPECTED-NOTRUN | /webrtc/RTCRtpSender-replaceTrack.https.html | ReplaceTrack null -> new track transmits the new track - expected PASS
and Im seeing this one as well:
TEST-UNEXPECTED-TIMEOUT | /webrtc/RTCDtlsTransport-onerror.html | fingerprint error is surfaced using RTCDtlsTransport.onerror - Test timed out

Flags: needinfo?(dbaker)
Flags: needinfo?(ctuns)

Hi

Opened Bug 2055219 for the new line failure.

verified in today's beta simulation and the job is green.

Status: REOPENED → RESOLVED
Closed: 3 months ago → 3 months ago
Flags: needinfo?(jmathies)
Flags: needinfo?(dbaker)
Resolution: --- → FIXED
Target Milestone: --- → 154 Branch
Status: RESOLVED → VERIFIED
Regressed by: 2048066
No longer regressed by: 2031984
See Also: → 1680528
See Also: → 2055219
See Also: → 2046088

Set release status flags based on info from the regressing bug 2048066

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: