Enable ipc/glue/test/browser/test_utility_audio_o*.html on Android/Isolated Process
Categories
(Core :: IPC, task, P5)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox139 | --- | fixed |
People
(Reporter: gerard-majax, Assigned: gerard-majax)
References
(Depends on 2 open bugs, Blocks 1 open bug)
Details
(Whiteboard: [fxdroid] [geckoview] )
Attachments
(2 files)
+++ This bug was initially created as a clone of Bug #1771416 +++
Updated•3 years ago
|
Updated•3 years ago
|
| Comment hidden (off-topic) |
| Assignee | ||
Updated•3 years ago
|
| Assignee | ||
Updated•3 years ago
|
| Assignee | ||
Comment 2•2 years ago
|
||
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.
| Assignee | ||
Comment 3•2 years ago
|
||
Sharing a patch that should be enough once the remoting of cubeb is done
| Assignee | ||
Comment 4•2 years ago
|
||
| Assignee | ||
Updated•2 years ago
|
| Assignee | ||
Comment 5•2 years ago
|
||
| Assignee | ||
Comment 6•2 years ago
|
||
(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.
| Assignee | ||
Comment 7•2 years ago
|
||
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
| Assignee | ||
Updated•1 year ago
|
Updated•1 year ago
|
Updated•1 year ago
|
| Assignee | ||
Comment 8•1 year ago
|
||
Olivia, checking with your patch I can see the changes:
- without https://treeherder.mozilla.org/jobs?repo=try&author=alissy%40mozilla.com&selectedTaskRun=DWrx_qw4SXSl__2W9NYDFA.0
- with https://treeherder.mozilla.org/jobs?repo=try&author=alissy%40mozilla.com&selectedTaskRun=EEutT52SRl-iBBMbyELN4w.0
It looks like the Utility process part works now and we are just stuck on the AAC decoder not working?
Updated•1 year ago
|
Comment 9•1 year ago
|
||
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!
| Assignee | ||
Comment 10•1 year ago
|
||
(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_flingerissue 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
Comment 11•1 year ago
|
||
Comment 12•1 year ago
|
||
Backed out for causing failures at test_android_audio_off.html.
Backout link: https://hg-edge.mozilla.org/integration/autoland/rev/94eca50fe929a175586b5950577f37b64c6b762d
Push where failures started: https://treeherder.mozilla.org/jobs?repo=autoland&selectedTaskRun=BEY3eczCTVG7xo-KoF1Ecw.0&resultStatus=testfailed%2Cbusted%2Cexception%2Cretry%2Cusercancel&revision=590f9e15d4f5007c75250d7026de93e8e7fc3815
Failure log: https://treeherder.mozilla.org/logviewer?job_id=503328526&repo=autoland&lineNumber=7400
| Assignee | ||
Updated•1 year ago
|
| Assignee | ||
Comment 13•1 year ago
|
||
meh, run-if gets overwritten?
Comment 14•1 year ago
|
||
Comment 15•1 year ago
|
||
| bugherder | ||
Description
•