Closed Bug 2083276 Opened 1 month ago Closed 11 days ago

Perma /encrypted-media/drm-mp4-playback-temporary-clear-encrypted.https.html | single tracking bug

Categories

(Core :: Audio/Video: Playback, defect, P5)

defect

Tracking

()

RESOLVED FIXED
162 Branch
Tracking Status
firefox-esr115 --- unaffected
firefox-esr153 --- unaffected
firefox158 --- unaffected
firefox159 --- unaffected
firefox160 --- wontfix
firefox161 --- fixed
firefox162 --- fixed

People

(Reporter: intermittent-bug-filer, Assigned: Sasha)

References

(Regression)

Details

(Keywords: intermittent-failure, intermittent-testcase, regression, Whiteboard: [collect_confirm_failure])

Attachments

(5 external files, 1 obsolete file)

Filed by: abutkovits [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer?job_id=600619218&repo=mozilla-central&task=dHK8gTZITeeVPLfKOZQX6Q.0
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/dHK8gTZITeeVPLfKOZQX6Q/runs/0/artifacts/public/logs/live_backing.log


[task 2026-10-17T06:54:49.235+00:00] 06:54:49     INFO - TEST-START | /encrypted-media/drm-mp4-playback-temporary-clear-encrypted.https.html
[task 2026-10-17T06:54:49.237+00:00] 06:54:49     INFO - Closing window 6e9305f0-2337-4390-a06c-b706626b164b
[task 2026-10-17T06:54:49.385+00:00] 06:54:49     INFO - PID 1606 | 2026-10-17 06:54:49.384 Firefox Nightly Media Plugin Helper[1897:19318] Failure on line 687 in function id scheduleApplicationNotification(LSNotificationCode, NSWorkspaceNotificationCenter *): noErr == _LSModifyNotification(notificationID, 1, &code, 0, NULL, NULL, NULL)
[task 2026-10-17T06:54:53.741+00:00] 06:54:53     INFO - 
[task 2026-10-17T06:54:53.741+00:00] 06:54:53     INFO - TEST-UNEXPECTED-PASS | /encrypted-media/drm-mp4-playback-temporary-clear-encrypted.https.html | drm, temporary, mp4, playback, single key, clear then encrypted content - expected FAIL
[task 2026-10-17T06:54:53.741+00:00] 06:54:53     INFO - TEST-INFO | expected FAIL
[task 2026-10-17T06:54:53.742+00:00] 06:54:53     INFO - TEST-OK | /encrypted-media/drm-mp4-playback-temporary-clear-encrypted.https.html | took 4507ms
[task 2026-10-17T06:54:53.744+00:00] 06:54:53     INFO - PID 1606 | 1792220093743	Marionette	INFO	Stopped listening on port 49263
[task 2026-10-17T06:54:53.938+00:00] 06:54:53     INFO - Browser exited with return code 0
[task 2026-10-17T06:54:53.939+00:00] 06:54:53     INFO - Closing logging queue
[task 2026-10-17T06:54:53.939+00:00] 06:54:53     INFO - queue closed
[task 2026-10-17T06:54:53.957+00:00] 06:54:53     INFO - Application command: /opt/worker/tasks/cltbld/build/application/Firefox Nightly.app/Contents/MacOS/firefox --marionette about:blank -foreground -profile /tmp/tmp3yl1ogee
[task 2026-10-17T06:54:53.964+00:00] 06:54:53     INFO - PID 1608 | 1792220021220	Marionette	INFO	Marionette enabled
[task 2026-10-17T06:54:53.964+00:00] 06:54:53     INFO - PID 1608 | 2026-10-17 06:53:41.379 Firefox Nightly GPU Helper[1633:12758] Failure on line 687 in function id scheduleApplicationNotification(LSNotificationCode, NSWorkspaceNotificationCenter *): noErr == _LSModifyNotification(notificationID, 1, &code, 0, NULL, NULL, NULL)
[task 2026-10-17T06:54:53.965+00:00] 06:54:53     INFO - PID 1608 | 2026-10-17 06:53:41.413 Firefox Nightly GPU Helper[1633:12758] Error received in message reply handler: Connection invalid
[task 2026-10-17T06:54:53.965+00:00] 06:54:53     INFO - PID 1608 | 2026-10-17 06:53:41.413 Firefox Nightly GPU Helper[1633:12806] Connection Invalid error for service com.apple.hiservices-xpcservice.
[task 2026-10-17T06:54:53.966+00:00] 06:54:53     INFO - PID 1608 | 1792220021611	Marionette	INFO	Listening on port 49264
[task 2026-10-17T06:54:53.966+00:00] 06:54:53     INFO - PID 1608 | UNSUPPORTED (log once): POSSIBLE ISSUE: unit 1 GLD_TEXTURE_INDEX_2D is unloadable and bound to sampler type (Float) - using zero texture because texture unloadable
[task 2026-10-17T06:54:53.966+00:00] 06:54:53     INFO - PID 1608 | 2026-10-17 06:53:41.905 firefox[1608:12253] +[IMKClient subclass]: chose IMKClient_Modern
[task 2026-10-17T06:54:53.967+00:00] 06:54:53     INFO - PID 1608 | console.error: services.settings:
[task 2026-10-17T06:54:53.967+00:00] 06:54:53     INFO - PID 1608 |   Message: EmptyDatabaseError: "main/nimbus-desktop-experiments" has not been synced yet
[task 2026-10-17T06:54:53.967+00:00] 06:54:53     INFO - PID 1608 |   Stack:
[task 2026-10-17T06:54:53.967+00:00] 06:54:53     INFO - PID 1608 |     EmptyDatabaseError@resource://services-settings/Database.sys.mjs:19:5
[task 2026-10-17T06:54:53.967+00:00] 06:54:53     INFO - PID 1608 | list@resource://services-settings/Database.sys.mjs:96:13
[task 2026-10-17T06:54:53.967+00:00] 06:54:53     INFO - PID 1608 | console.error: services.settings:
[task 2026-10-17T06:54:53.968+00:00] 06:54:53     INFO - PID 1608 |   Message: EmptyDatabaseError: "main/nimbus-desktop-experiments" has not been synced yet
[task 2026-10-17T06:54:53.968+00:00] 06:54:53     INFO - PID 1608 |   Stack:
[task 2026-10-17T06:54:53.968+00:00] 06:54:53     INFO - PID 1608 |     EmptyDatabaseError@resource://services-settings/Database.sys.mjs:19:5
[task 2026-10-17T06:54:53.968+00:00] 06:54:53     INFO - PID 1608 | list@resource://services-settings/Database.sys.mjs:96:13
[task 2026-10-17T06:54:53.968+00:00] 06:54:53     INFO - PID 1608 | console.error: services.settings:
[task 2026-10-17T06:54:53.969+00:00] 06:54:53     INFO - PID 1608 |   Message: EmptyDatabaseError: "main/nimbus-desktop-experiments" has not been synced yet
[task 2026-10-17T06:54:53.969+00:00] 06:54:53     INFO - PID 1608 |   Stack:
[task 2026-10-17T06:54:53.969+00:00] 06:54:53     INFO - PID 1608 |     EmptyDatabaseError@resource://services-settings/Database.sys.mjs:19:5
[task 2026-10-17T06:54:53.969+00:00] 06:54:53     INFO - PID 1608 | list@resource://services-settings/Database.sys.mjs:96:13
[task 2026-10-17T06:54:53.970+00:00] 06:54:53     INFO - PID 1608 | [WARN  glean_core::core] failed to clear internal client info storage: An Rkv error occurred: key/value pair not found
[task 2026-10-17T06:54:53.970+00:00] 06:54:53     INFO - PID 1608 | [WARN  glean_core::core] failed to clear internal client info storage: An Rkv error occurred: key/value pair not found
[task 2026-10-17T06:54:53.970+00:00] 06:54:53     INFO - Starting runner
[task 2026-10-17T06:54:54.149+00:00] 06:54:54     INFO - TEST-START | /encrypted-media/drm-mp4-playback-temporary-encrypted-clear-sources.https.html

Alexandra, could you take a look?

Flags: needinfo?(aborovova)

This looks like a stale test expectation, not a change in EME playback.

Analysis

The wpt-sync landing in bug 2080122 added if os == "mac": FAIL for the subtest "clear then encrypted content" in drm-mp4-playback-temporary-clear-encrypted.https.html.ini. On macOS, only the signed-VMP job (web-platform-tests-eme-emesigned) runs this test. The subtest passes there, so the harness reports TEST-UNEXPECTED-PASS.

Bug 2082300 had the same problem with two other EME tests from the same sync. Its fix removed the stale metadata for those two tests only.

Next steps

The fix is to remove the if os == "mac": FAIL line from this .ini file, as in bug 2082300. The same sync also added if os == "mac": FAIL to ten other files in testing/web-platform/meta/encrypted-media/. Examples are drm-mp4-playback-temporary-encrypted-clear-sources.https.html.ini and drm-mp4-playback-temporary-two-videos.https.html.ini. We recommend a check of those files in the same patch. The bug now waits on the open needinfo to Alexandra.


To give feedback on this comment, add a thumbs-up or thumbs-down reaction.

Keywords: regression
Regressed by: 2080122
See Also: → 2082300

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

Whiteboard: [collect_confirm_failure] → [collect_confirm_failure] [gecko-triage:easy-fix]

Looks like we need to teach wpt-sync not to override the existing emesigned config somehow, or failing that disable the jobs on m-c and just leave them for the try preset:
https://treeherder.mozilla.org/jobs?repo=try&revision=11bcb38c48ddf0374e598864f90f7aabf369b427

I feel bad since I introduced the failing jobs. Needinfo me if you want help.

Whiteboard: [collect_confirm_failure] [gecko-triage:easy-fix] → [collect_confirm_failure]
Duplicate of this bug: 2084935

It appears wpt-sync also similarly stripped my openh264 annotations for OSX/Windows:
https://searchfox.org/firefox-main/diff/aa899b63e1a88458e279c72d445346013e31fb3a/testing/web-platform/meta/webcodecs/temporal-svc-encoding.https.any.js.ini#46

Making OpenH264 webcodecs variants fail:
https://treeherder.mozilla.org/jobs?repo=try&revision=f083f447654c9ad867877c23f4714f2b517ac1a5
https://treeherder.mozilla.org/jobs?repo=try&revision=bdbb5b2b26057d82aba4b10766b6f08ba5a00019

Similar to this situation, we only run the OpenH264 jobs by default on Linux to save on CI expenses for a marginal value test. But it would be nice for the annotations to have stayed!

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

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

Hi, Sasha. Any updates?

Flags: needinfo?(aborovova)
Status: NEW → RESOLVED
Closed: 17 days ago
Resolution: --- → FIXED
Target Milestone: --- → 162 Branch
Assignee: nobody → aborovova

The patch landed in nightly and beta is affected.

:Sasha, please make an uplift decision for beta:

  • For beta, nominate the patch for beta uplift approval if the fix should be included in this release, or set status-firefox161 to wontfix if the fix can wait for the next release.

Uplift requests can be submitted from Lando: D341411.

See Requesting an Uplift for documentation on how to request an uplift.

For more information, please visit BugBot documentation.

Flags: needinfo?(aborovova)
Flags: needinfo?(aborovova)

firefox-beta Uplift Approval Request

  • User impact if declined/Reason for urgency: The tests will keep on failing.
  • Code covered by automated testing?: yes
  • Fix verified in Nightly?: yes
  • Needs manual QE testing?: no
  • Steps to reproduce for manual QE testing: None
  • Risk associated with taking this patch: low
  • Explanation of risk level: Updates only the test metadata.
  • String changes made/needed?: None
  • Is Android affected?: no
Attachment #9679216 - Flags: approval-mozilla-beta?

There are more failures.
MacOS failure
Windows failure

Flags: needinfo?(aborovova)
Attachment #9679216 - Flags: approval-mozilla-beta? → approval-mozilla-beta+
Flags: needinfo?(aborovova)

These are still failling: -log

TEST-UNEXPECTED-PASS | /encrypted-media/drm-mp4-playback-temporary-encrypted-clear-sources.https.html | drm, temporary, mp4, playback, encrypted and clear sources - expected FAIL
TEST-UNEXPECTED-PASS | /encrypted-media/drm-mp4-playback-temporary-encrypted-clear.https.html | drm, temporary, mp4, playback, single key, clear then encrypted content - expected FAIL
TEST-UNEXPECTED-PASS | /encrypted-media/drm-mp4-playback-temporary-multikey.https.html | drm, temporary, mp4, playback, multikey audio/video - expected FAIL
TEST-UNEXPECTED-PASS | /encrypted-media/drm-mp4-playback-temporary-setMediaKeys-after-src.https.html | drm, temporary, mp4, playback, setMediaKeys after setting video.src - expected FAIL
TEST-UNEXPECTED-PASS | /encrypted-media/drm-mp4-playback-temporary-setMediaKeys-after-update.https.html | drm, temporary, mp4, playback, setMediaKeys after updating session - expected FAIL
TEST-UNEXPECTED-PASS | /encrypted-media/drm-mp4-playback-temporary-setMediaKeys-immediately.https.html | drm, temporary, mp4, playback, setMediaKeys first - expected FAIL
TEST-UNEXPECTED-PASS | /encrypted-media/drm-mp4-playback-temporary-setMediaKeys-onencrypted.https.html | drm, temporary, mp4, playback, setMediaKeys in encrypted event - expected FAIL
TEST-UNEXPECTED-PASS | /encrypted-media/drm-mp4-playback-temporary-two-videos.https.html | drm, temporary, mp4, playback two videos - expected FAIL
TEST-UNEXPECTED-PASS | /encrypted-media/drm-mp4-playback-temporary-waitingforkey.https.html | drm, successful playback, temporary, mp4, waitingforkey event, 1 key - expected FAIL
TEST-UNEXPECTED-PASS | /encrypted-media/drm-mp4-playback-temporary.https.html | drm, temporary, mp4, playback, single key - expected FAIL
TEST-UNEXPECTED-PASS | /encrypted-media/drm-mp4-setmediakeys-again-after-playback.https.html | drm, setmediakeys again after playback - expected TIMEOUT
TEST-UNEXPECTED-OK | /encrypted-media/drm-mp4-setmediakeys-again-after-playback.https.html | expected ERROR
TEST-UNEXPECTED-PASS | /encrypted-media/drm-mp4-setmediakeys-again-after-resetting-src.https.html | drm, setmediakeys again after resetting src - expected TIMEOUT
TEST-UNEXPECTED-OK | /encrypted-media/drm-mp4-setmediakeys-again-after-resetting-src.https.html | expected ERROR
TEST-UNEXPECTED-OK | /encrypted-media/drm-mp4-waiting-for-a-key.https.html | expected TIMEOUT 
Status: RESOLVED → REOPENED
Flags: needinfo?(aborovova)
Resolution: FIXED → ---
Target Milestone: 162 Branch → ---
Flags: needinfo?(aborovova)
Status: REOPENED → RESOLVED
Closed: 17 days ago → 11 days ago
Resolution: --- → FIXED
Target Milestone: --- → 162 Branch

A patch has been attached on this bug, which was already closed. Filing a separate bug will ensure better tracking. If this was not by mistake and further action is needed, please alert the appropriate party. (Or: if the patch doesn't change behavior -- e.g. landing a test case, or fixing a typo -- then feel free to disregard this message)

Hi, @Sasha it's still failling with:

TEST-UNEXPECTED-PASS | /encrypted-media/drm-mp4-playback-temporary-multisession.https.html | drm, temporary, mp4, playback with multiple sessions, multikey video - expected FAIL
TEST-UNEXPECTED-PASS | /encrypted-media/drm-mp4-playback-temporary-playduration-keystatus.https.html | drm, temporary, mp4, playback with limited playduration, check keystatus, single key - expected TIMEOUT
Flags: needinfo?(aborovova)
Flags: needinfo?(aborovova)
Pushed by aborovova@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/907ac0a5565b https://hg.mozilla.org/integration/autoland/rev/430d4b461cff Update metadata for encrypted-media/drm-mp4-playback-temporary-playduration-keystatus.https.html.
Attachment #9684605 - Attachment is obsolete: true
See Also: → 2096003
See Also: → 2096308
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: