on the new android 14 emulator in Ci, gtest cubeb.test_output_callback is failing very frequently
Categories
(Core :: Audio/Video: cubeb, defect, P1)
Tracking
()
Tracking | Status | |
---|---|---|
firefox144 | --- | fixed |
People
(Reporter: jmaher, Assigned: kinetik)
References
(Regressed 1 open bug)
Details
Attachments
(3 files)
as seen on this try push, you see see this failure:
[task 2025-08-19T16:14:41.779+00:00] 16:14:41 INFO - TEST-PASS | cubeb.test_input_callback | test completed (time: 2ms)
[task 2025-08-19T16:14:41.779+00:00] 16:14:41 INFO - TEST-START | cubeb.test_output_callback
[task 2025-08-19T16:15:02.088+00:00] 16:15:02 WARNING - TEST-UNEXPECTED-FAIL | cubeb.test_output_callback | Expected equality of these values:
[task 2025-08-19T16:15:02.088+00:00] 16:15:02 INFO - user_state.error_state
[task 2025-08-19T16:15:02.088+00:00] 16:15:02 INFO - Which is: 0
[task 2025-08-19T16:15:02.088+00:00] 16:15:02 INFO - 1
[task 2025-08-19T16:15:02.088+00:00] 16:15:02 INFO - Callback expected error state
[task 2025-08-19T16:15:02.088+00:00] 16:15:02 INFO - @ /builds/worker/checkouts/gecko/media/libcubeb/test/test_callback_ret.cpp:221
[task 2025-08-19T16:15:02.088+00:00] 16:15:02 WARNING - TEST-UNEXPECTED-FAIL | cubeb.test_output_callback | test completed (time: 474ms)
I don't know if there is an easy way to skip this specific test, I assume something like #ifndef Android ...
. I will figure out a way to skip only this specific test and submit a patch for that- otherwise we will not have gtest coverage on android emulator come September 15th.
Comment 1•1 month ago
|
||
it's likely a bug in the implem.
Comment 2•1 month ago
|
||
Joel, how can I make a push like yours? I wanted to add debugging code.
I have the following:
./mach try fuzzy --no-artifact --rebuild 3 -q "test-android-em-14 \!windows \!macosx \!em-7 \!-hw-"
Creating the 'try' site at /Users/padenot/.mozbuild/srcdirs/firefox-180c0a27f5c2/_virtualenvs/try
Task configuration changed, generating target task set
no tasks selected
Reporter | ||
Comment 3•1 month ago
|
||
code was just landed yesterday, it is merged to central already. Searchfox isn't updated, but you need to uncomment out gtest here:
https://hg-edge.mozilla.org/integration/autoland/rev/11f0d1bf4665#l11.12
^ it was commented out in a followup commit
the ./mach ...
command looks almost right, I would add gtest
to the query :)
Comment 4•1 month ago
|
||
https://treeherder.mozilla.org/jobs?repo=try&landoCommitID=148521 with some debugging code
Comment 5•1 month ago
|
||
Comment 6•1 month ago
|
||
Sorry sorry, https://treeherder.mozilla.org/jobs?repo=try&landoCommitID=148637, with the gtest uncommented as you said
Reporter | ||
Comment 7•29 days ago
|
||
looking at the try push ^, it is still failing. In 3 weeks we will be turning off the android 7 tests.
Comment 8•20 days ago
|
||
The severity field is not set for this bug.
:kinetik, could you have a look please?
For more information, please visit BugBot documentation.
Comment 9•20 days ago
|
||
Comment 10•20 days ago
|
||
Matthew, can you look at https://hg-edge.mozilla.org/try/rev/10d1882779042658539f6862b350f7bb7442bb4c, and see if there's a hole? I'm a bit surprised it doesn't fix it.
Assignee | ||
Comment 11•19 days ago
|
||
(In reply to Paul Adenot (:padenot) from comment #10)
Matthew, can you look at https://hg-edge.mozilla.org/try/rev/10d1882779042658539f6862b350f7bb7442bb4c, and see if there's a hole? I'm a bit surprised it doesn't fix it.
Seems reasonable to me... but it looks like the state thread still isn't passing updates back. I'll poke around a bit more since I'm already working on other bugs in this code.
Reporter | ||
Comment 12•15 days ago
|
||
in 1 week (sept 15th), gtest on android 7 will be turned off. Is this going to be resolved, or should we disable the failing test and enable gtest for android 14?
Assignee | ||
Comment 13•14 days ago
|
||
I'm hoping to have a fix before then, I'll have a patch ready in a day or so.
Assignee | ||
Comment 14•14 days ago
|
||
Assignee | ||
Comment 15•14 days ago
|
||
Assignee | ||
Comment 16•13 days ago
|
||
Comment 17•12 days ago
|
||
Comment 18•12 days ago
|
||
bugherder |
Reporter | ||
Comment 19•12 days ago
|
||
Reporter | ||
Comment 20•12 days ago
|
||
forgot to turn the test on!
Updated•12 days ago
|
Comment 21•11 days ago
|
||
Comment 22•11 days ago
|
||
bugherder |
Updated•7 days ago
|
Description
•