Closed Bug 1771452 Opened 3 years ago Closed 4 months ago

Enable ipc/glue/test/browser/test_utility_audio_o*.html on Android/Isolated Process

Categories

(Core :: IPC, task, P5)

task

Tracking

()

RESOLVED FIXED
139 Branch
Tracking Status
firefox139 --- fixed

People

(Reporter: gerard-majax, Assigned: gerard-majax)

References

(Depends on 1 open bug, Blocks 1 open bug)

Details

(Whiteboard: [fxdroid] [geckoview] )

Attachments

(2 files)

+++ This bug was initially created as a clone of Bug #1771416 +++

Type: defect → task
Severity: S4 → N/A
Assignee: nobody → lissyx+mozillians
Depends on: 1794988

Current status is that things are running, decoding a few frame, then stalling on the media side. Looks like remoting cubeb is still to be done and this is why.

Sharing a patch that should be enough once the remoting of cubeb is done

Depends on: 1709948
Depends on: 1700243
No longer depends on: 1794988
Attached file utility_android_isolated.log โ€”

(In reply to :gerard-majax [PTO 01/08/2023-10/09/2023] from comment #3)

Sharing a patch that should be enough once the remoting of cubeb is done

Of course ac_add_options --enable-isolated-process at build time.

So while the test is still failing, it looks like an isolated process build of the geckoview example is able to play audio through utility process

Depends on: 1846706
Depends on: 1810736
No longer blocks: utility-audiodecoder
Depends on: 1698214
Whiteboard: [fxdroid] [geckoview]

Olivia, checking with your patch I can see the changes:

It looks like the Utility process part works now and we are just stuck on the AAC decoder not working?

Flags: needinfo?(ohall)
Attachment #9340699 - Attachment description: WIP: Bug 1771452 - Enable Utility process for Android with Isolated Process → Bug 1771452 - Enable Utility process for Android with Isolated Process r?padenot!

It looks like the Utility process part works now and we are just stuck on the AAC decoder not working?

Looks like a decoder issue is all that remains to me too! In the patch with changes with, the remaining failures logs are:

04-10 05:53:35.074  3604  3850 I Gecko   : [Child 3604, MediaSupervisor #2] WARNING: Error constructing decoders: file /builds/worker/checkouts/gecko/dom/media/MediaFormatReader.cpp:446
04-10 05:53:35.074  3604  3850 I Gecko   : [Child 3604, MediaSupervisor #2] WARNING: NS_ERROR_DOM_MEDIA_FATAL_ERR (0x806e0005) - Error no decoder found for audio/mp4a-latm: file /builds/worker/checkouts/gecko/dom/media/MediaFormatReader.cpp:1876
04-10 05:53:35.074  3604  3774 I Gecko   : [Child 3604, MediaDecoderStateMachine #1] WARNING: Decoder=7f55eeb1d000 Decode error: NS_ERROR_DOM_MEDIA_FATAL_ERR (0x806e0005) - Error no decoder found for audio/mp4a-latm: file /builds/worker/checkouts/gecko/dom/media/MediaDecoderStateMachineBase.cpp:168
04-10 05:53:35.079  3604  3619 W Web Content: [JavaScript Warning: "Media resource https://example.com/browser/ipc/glue/test/browser/small-shot.m4a could not be decoded." {file: "http://mochi.test:8888/tests/ipc/glue/test/browser/test_utility_audio_on.html" line: 0}]
04-10 05:53:35.085  3604  3619 W Web Content: [JavaScript Warning: "This error message will be blank when privacy.resistFingerprinting = true.  If it is really necessary, please add it to the whitelist in MediaError::GetMessage: Failed to decode media" {file: "http://mochi.test:8888/tests/ipc/glue/test/browser/head.js" line: 388}]

Great news that the test is now getting farther than the audio_flinger issue before.

Thanks for looking at these tests and preparing a patch!

Flags: needinfo?(ohall)

(In reply to Olivia Hall [:olivia] from comment #9)

It looks like the Utility process part works now and we are just stuck on the AAC decoder not working?

Looks like a decoder issue is all that remains to me too! In the patch with changes with, the remaining failures logs are:

04-10 05:53:35.074  3604  3850 I Gecko   : [Child 3604, MediaSupervisor #2] WARNING: Error constructing decoders: file /builds/worker/checkouts/gecko/dom/media/MediaFormatReader.cpp:446
04-10 05:53:35.074  3604  3850 I Gecko   : [Child 3604, MediaSupervisor #2] WARNING: NS_ERROR_DOM_MEDIA_FATAL_ERR (0x806e0005) - Error no decoder found for audio/mp4a-latm: file /builds/worker/checkouts/gecko/dom/media/MediaFormatReader.cpp:1876
04-10 05:53:35.074  3604  3774 I Gecko   : [Child 3604, MediaDecoderStateMachine #1] WARNING: Decoder=7f55eeb1d000 Decode error: NS_ERROR_DOM_MEDIA_FATAL_ERR (0x806e0005) - Error no decoder found for audio/mp4a-latm: file /builds/worker/checkouts/gecko/dom/media/MediaDecoderStateMachineBase.cpp:168
04-10 05:53:35.079  3604  3619 W Web Content: [JavaScript Warning: "Media resource https://example.com/browser/ipc/glue/test/browser/small-shot.m4a could not be decoded." {file: "http://mochi.test:8888/tests/ipc/glue/test/browser/test_utility_audio_on.html" line: 0}]
04-10 05:53:35.085  3604  3619 W Web Content: [JavaScript Warning: "This error message will be blank when privacy.resistFingerprinting = true.  If it is really necessary, please add it to the whitelist in MediaError::GetMessage: Failed to decode media" {file: "http://mochi.test:8888/tests/ipc/glue/test/browser/head.js" line: 388}]

Great news that the test is now getting farther than the audio_flinger issue before.

Thanks for looking at these tests and preparing a patch!

Yes and it will be taken care of in bug 1934009 so we dont really have to care about it now, the rest can move forward, I'm splitting the tests in https://treeherder.mozilla.org/jobs?repo=try&revision=11260207fbb5e2b27cca270deb152c7384ab6f4c

Pushed by alissy@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/cb1915bbbec9 Enable Utility process for Android with Isolated Process r=padenot
Flags: needinfo?(lissyx+mozillians)

meh, run-if gets overwritten?

Pushed by alissy@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/e916e43dce04 Enable Utility process for Android with Isolated Process r=padenot
Status: NEW → RESOLVED
Closed: 4 months ago
Resolution: --- → FIXED
Target Milestone: --- → 139 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: