Closed Bug 1765230 Opened 3 years ago Closed 3 years ago

Intermittent TestDeviceInputTrack.ErrorCallback | test completed (time: 20ms)

Categories

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

defect

Tracking

()

RESOLVED FIXED
102 Branch
Tracking Status
firefox102 --- fixed

People

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

References

Details

(Keywords: intermittent-failure, Whiteboard: [retriggered])

Attachments

(2 files)

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


[task 2022-04-19T01:31:17.450Z] 01:31:17     INFO -  TEST-START | TestDeviceInputTrack.ErrorCallback
[task 2022-04-19T01:31:17.470Z] 01:31:17  WARNING -  TEST-UNEXPECTED-FAIL | TestDeviceInputTrack.ErrorCallback |
[task 2022-04-19T01:31:17.470Z] 01:31:17     INFO -  Unexpected mock function call - returning directly.
[task 2022-04-19T01:31:17.471Z] 01:31:17     INFO -      Function call: AudioStateCallback(1, 4-byte object <01-00 00-00>)
[task 2022-04-19T01:31:17.472Z] 01:31:17     INFO -  Google Mock tried the following 2 expectations, but none matched:
[task 2022-04-19T01:31:17.472Z] 01:31:17     INFO -  /builds/worker/checkouts/gecko/dom/media/gtest/TestDeviceInputTrack.cpp:519: tried expectation #0: EXPECT_CALL(*listener, AudioStateCallback( sourceId, AudioInputSource::EventListener::State::Started))...
[task 2022-04-19T01:31:17.472Z] 01:31:17     INFO -    Expected arg #1: is equal to 4-byte object <00-00 00-00>
[task 2022-04-19T01:31:17.473Z] 01:31:17     INFO -             Actual: 4-byte object <01-00 00-00>
[task 2022-04-19T01:31:17.473Z] 01:31:17     INFO -           Expected: to be called once
[task 2022-04-19T01:31:17.474Z] 01:31:17     INFO -             Actual: called once - saturated and active
[task 2022-04-19T01:31:17.474Z] 01:31:17     INFO -  /builds/worker/checkouts/gecko/dom/media/gtest/TestDeviceInputTrack.cpp:522: tried expectation #1: EXPECT_CALL(*listener, AudioStateCallback( sourceId, AudioInputSource::EventListener::State::Error))...
[task 2022-04-19T01:31:17.474Z] 01:31:17     INFO -    Expected arg #1: is equal to 4-byte object <03-00 00-00>
[task 2022-04-19T01:31:17.475Z] 01:31:17     INFO -             Actual: 4-byte object <01-00 00-00>
[task 2022-04-19T01:31:17.475Z] 01:31:17     INFO -           Expected: to be called once
[task 2022-04-19T01:31:17.476Z] 01:31:17     INFO -             Actual: called once - saturated and active @ (null):-1
[task 2022-04-19T01:31:17.476Z] 01:31:17  WARNING -  TEST-UNEXPECTED-FAIL | TestDeviceInputTrack.ErrorCallback | test completed (time: 20ms)
[task 2022-04-19T01:31:17.476Z] 01:31:17     INFO -  TEST-START | DriftCompensatorTest.Initialized

This seems the same racing issue as the bug 1765312's one.

Assignee: nobody → cchang
See Also: → 1765312

TestDeviceInputTrack.ErrorCallback has the same racing issue as the
bug 1765312's one (See D144637). We should wait for the
cubeb-stream-stop called by the forced-error's background thread before
calling NonNativeInputTrack::StopAudio() to avoid getting the stopped
state callback before the error callback.

Depends on D146475

Pushed by cchang@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/491c635cc3be Wait for error stop before `StopAudio()` r=padenot https://hg.mozilla.org/integration/autoland/rev/8e5847d574bf Rename test name and correct comments r=padenot
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 102 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: