Closed Bug 1538933 Opened 5 years ago Closed 4 years ago

Intermittent VideoFrameConverterTest.Duplication | Expected: (frames[1].second()) > (now + TimeDuration::FromMilliseconds(1100)), actual: 24-byte object <69-8E 86-9A DA-02 00-00 D0-58 22-B9 DA-02 00-00 00-00 01-E4 FF-7F 00-00> vs 24-byte object

Categories

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

defect

Tracking

()

RESOLVED DUPLICATE of bug 1660174

People

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

Details

(Keywords: intermittent-failure, regression)

Attachments

(2 files)

#[markdown(off)]
Filed by: cbrindusan [at] mozilla.com

https://treeherder.mozilla.org/logviewer.html#?job_id=235905939&repo=mozilla-central

https://queue.taskcluster.net/v1/task/DFM32D_bTbyMK_G3F0WeLw/runs/0/artifacts/public/logs/live_backing.log

17:42:43 INFO - TEST-START | VideoFrameConverterTest.Duplication
17:42:45 WARNING - TEST-UNEXPECTED-FAIL | VideoFrameConverterTest.Duplication | Expected: (frames[1].second()) > (now + TimeDuration::FromMilliseconds(1100)), actual: 24-byte object <69-8E 86-9A DA-02 00-00 D0-58 22-B9 DA-02 00-00 00-00 01-E4 FF-7F 00-00> vs 24-byte object <6F-5C 64-98 DA-02 00-00 04-7A 22-B9 DA-02 00-00 00-00 01-33 F8-7F 00-00> @ z:/build/build/src/dom/media/gtest/TestVideoFrameConverter.cpp:137
17:42:45 WARNING - TEST-UNEXPECTED-FAIL | VideoFrameConverterTest.Duplication | test completed (time: 1102ms)

Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → INCOMPLETE

Recent failure log:
task 2019-07-11T11:25:28.111Z] 11:25:28 INFO - TEST-PASS | testAssistIntentNewIntent | The toolbar is in the editing state -
[task 2019-07-11T11:25:28.111Z] 11:25:28 INFO - Buffered messages finished
[task 2019-07-11T11:25:28.111Z] 11:25:28 WARNING - TEST-UNEXPECTED-FAIL | testAssistIntentNewIntent | Waiting for Toolbar to exit editing mode. -
[task 2019-07-11T11:25:28.111Z] 11:25:28 INFO - 0 ERROR Exception caught during test! - junit.framework.AssertionFailedError: TEST-UNEXPECTED-FAIL | testAssistIntentNewIntent | Waiting for Toolbar to exit editing mode. -
[task 2019-07-11T11:25:28.111Z] 11:25:28 INFO - at junit.framework.Assert.fail(Assert.java:50)
[task 2019-07-11T11:25:28.112Z] 11:25:28 INFO - at org.mozilla.gecko.FennecMochitestAssert._logMochitestResult(FennecMochitestAssert.java:124)
[task 2019-07-11T11:25:28.112Z] 11:25:28 INFO - at org.mozilla.gecko.FennecMochitestAssert.ok(FennecMochitestAssert.java:145)
[task 2019-07-11T11:25:28.113Z] 11:25:28 INFO - at org.mozilla.gecko.tests.helpers.AssertionHelper.fAssertTrue(AssertionHelper.java:98)
[task 2019-07-11T11:25:28.113Z] 11:25:28 INFO - at org.mozilla.gecko.tests.helpers.WaitHelper.waitFor(WaitHelper.java:63)
[task 2019-07-11T11:25:28.114Z] 11:25:28 INFO - at org.mozilla.gecko.tests.components.ToolbarComponent.waitForNotEditing(ToolbarComponent.java:319)
[task 2019-07-11T11:25:28.115Z] 11:25:28 INFO - at org.mozilla.gecko.tests.components.ToolbarComponent.dismissEditingMode(ToolbarComponent.java:247)
[task 2019-07-11T11:25:28.115Z] 11:25:28 INFO - at org.mozilla.gecko.tests.AssistIntentTest.verifyAssistIntentHandling(AssistIntentTest.java:26)
[task 2019-07-11T11:25:28.116Z] 11:25:28 INFO - at org.mozilla.gecko.tests.testAssistIntentNewIntent.testAssistIntentNewIntent(testAssistIntentNewIntent.java:26)
[task 2019-07-11T11:25:28.116Z] 11:25:28 INFO - at java.lang.reflect.Method.invokeNative(Native Method)
[task 2019-07-11T11:25:28.116Z] 11:25:28 INFO - at java.lang.reflect.Method.invoke(Method.java:525)
[task 2019-07-11T11:25:28.117Z] 11:25:28 INFO - at android.test.InstrumentationTestCase.runMethod(InstrumentationTestCase.java:214)
[task 2019-07-11T11:25:28.117Z] 11:25:28 INFO - at android.test.InstrumentationTestCase.runTest(InstrumentationTestCase.java:199)
[task 2019-07-11T11:25:28.118Z] 11:25:28 INFO - at android.test.ActivityInstrumentationTestCase2.runTest(ActivityInstrumentationTestCase2.java:192)
[task 2019-07-11T11:25:28.119Z] 11:25:28 INFO - at org.mozilla.gecko.tests.BaseRobocopTest.runTest(BaseRobocopTest.java:188)
[task 2019-07-11T11:25:28.119Z] 11:25:28 INFO - at junit.framework.TestCase.runBare(TestCase.java:134)
[task 2019-07-11T11:25:28.119Z] 11:25:28 INFO - at junit.framework.TestResult$1.protect(TestResult.java:115)
[task 2019-07-11T11:25:28.120Z] 11:25:28 INFO - at junit.framework.TestResult.runProtected(TestResult.java:133)
[task 2019-07-11T11:25:28.120Z] 11:25:28 INFO - at junit.framework.TestResult.run(TestResult.java:118)
[task 2019-07-11T11:25:28.121Z] 11:25:28 INFO - at junit.framework.TestCase.run(TestCase.java:124)
[task 2019-07-11T11:25:28.121Z] 11:25:28 INFO - at android.test.AndroidTestRunner.runTest(AndroidTestRunner.java:191)
[task 2019-07-11T11:25:28.121Z] 11:25:28 INFO - at android.test.AndroidTestRunner.runTest(AndroidTestRunner.java:176)
[task 2019-07-11T11:25:28.122Z] 11:25:28 INFO - at android.test.InstrumentationTestRunner.onStart(InstrumentationTestRunner.java:554)
[task 2019-07-11T11:25:28.122Z] 11:25:28 INFO - at org.mozilla.gecko.FennecInstrumentationTestRunner.onStart(FennecInstrumentationTestRunner.java:66)
[task 2019-07-11T11:25:28.123Z] 11:25:28 INFO - at android.app.Instrumentation$InstrumentationThread.run(Instrumentation.java:1701)
[task 2019-07-11T11:25:28.123Z] 11:25:28 WARNING - TEST-UNEXPECTED-FAIL | testAssistIntentNewIntent | Exception caught - junit.framework.AssertionFailedError: TEST-UNEXPECTED-FAIL | testAssistIntentNewIntent | Waiting for Toolbar to exit editing mode. -
[task 2019-07-11T11:25:28.123Z] 11:25:28 INFO - TEST-OK | testAssistIntentNewIntent | took 73782ms

Status: RESOLVED → REOPENED
Resolution: INCOMPLETE → ---
Assignee: nobody → apehrson
Keywords: leave-open
Pushed by pehrsons@gmail.com:
https://hg.mozilla.org/integration/autoland/rev/9f6cb22cf3e2
Compare TimeDuration instead of TimeStamp in TestVideoFrameConverter for sensible logs. r=bwc
Pushed by pehrsons@gmail.com:
https://hg.mozilla.org/integration/autoland/rev/c7035d0cf37c
Convert remaining TimeStamp checks to use TimeDuration. r=bwc

That last failure's log says:

[task 2019-10-21T07:44:11.473Z] 07:44:11 WARNING - TEST-UNEXPECTED-FAIL | VideoFrameConverterTest.Duplication | Expected: (TimeStamp::Now() - now) > (TimeDuration::FromMilliseconds(1100)), actual: 1099.98 ms vs 1100 ms @ z:/build/build/src/dom/media/gtest/TestVideoFrameConverter.cpp:135
[task 2019-10-21T07:44:11.473Z] 07:44:11 WARNING - TEST-UNEXPECTED-FAIL | VideoFrameConverterTest.Duplication | Expected: (frames[1].second() - now) > (TimeDuration::FromMilliseconds(1100)), actual: 1099.95 ms vs 1100 ms @ z:/build/build/src/dom/media/gtest/TestVideoFrameConverter.cpp:142
[task 2019-10-21T07:44:11.473Z] 07:44:11 WARNING - TEST-UNEXPECTED-FAIL | VideoFrameConverterTest.Duplication | test completed (time: 1104ms)

The only fuzziness I found in the same-frame 1s timer (i.e., nsTimer) was this: https://searchfox.org/mozilla-central/rev/6566d92dd46417a2f57e75c515135ebe84c9cef5/xpcom/threads/TimerThread.cpp#381-383

I wonder how many microseconds we're talking about for various platforms here.

This is getting fixed in bug 1660174.

Status: REOPENED → RESOLVED
Closed: 5 years ago4 years ago
Component: Audio/Video → WebRTC: Audio/Video
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: