New issue
Advanced search Search tips

Issue 659315 link

Starred by 1 user

Issue metadata

Status: Duplicate
Merged: issue 656231
Owner:
Closed: Oct 2016
Components:
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 2
Type: Bug



Sign in to add a comment

MediaSessionTest#testDontStopEachOther become crashy

Project Member Reported by wychen@chromium.org, Oct 25 2016

Issue description

According to the flakiness dashboard, MediaSessionTest in content_shell_test_apk started to crash recently.

https://test-results.appspot.com/dashboards/flakiness_dashboard.html#testType=content_shell_test_apk&tests=org.chromium.content.browser.MediaSessionTest

Some example output:

I  498.487s run_tests_on_device(AG860440IAG8AGC)  detected failure in org.chromium.content.browser.MediaSessionTest#testLongVideoAfterShortGainsFocus. raw output:
I  498.487s run_tests_on_device(AG860440IAG8AGC)    INSTRUMENTATION_STATUS: numtests=1
I  498.487s run_tests_on_device(AG860440IAG8AGC)    INSTRUMENTATION_STATUS: stream=
I  498.487s run_tests_on_device(AG860440IAG8AGC)    org.chromium.content.browser.MediaSessionTest:
I  498.487s run_tests_on_device(AG860440IAG8AGC)    INSTRUMENTATION_STATUS: id=InstrumentationTestRunner
I  498.487s run_tests_on_device(AG860440IAG8AGC)    INSTRUMENTATION_STATUS: test=testLongVideoAfterShortGainsFocus
I  498.487s run_tests_on_device(AG860440IAG8AGC)    INSTRUMENTATION_STATUS: class=org.chromium.content.browser.MediaSessionTest
I  498.487s run_tests_on_device(AG860440IAG8AGC)    INSTRUMENTATION_STATUS: current=1
I  498.488s run_tests_on_device(AG860440IAG8AGC)    INSTRUMENTATION_STATUS_CODE: 1
I  498.488s run_tests_on_device(AG860440IAG8AGC)    INSTRUMENTATION_RESULT: shortMsg=Native crash
I  498.488s run_tests_on_device(AG860440IAG8AGC)    INSTRUMENTATION_RESULT: longMsg=Native crash: Segmentation fault
I  498.488s run_tests_on_device(AG860440IAG8AGC)    INSTRUMENTATION_CODE: 0
I  498.489s TimeoutThread-1-for-run_tests_on_device(AG860440IAG8AGC)  [host]> /b/c/b/Lollipop_Low_end_Tester/src/third_party/android_tools/sdk/platform-tools/adb -s AG860440IAG8AGC shell '( pm clear org.chromium.content_shell_apk );echo %$?'
I  498.492s run_tests_on_device(AG860440II6EAGC)  detected failure in org.chromium.content.browser.MediaSessionTest#testShortVideoStopsIfLostFocus. raw output:
I  498.493s TimeoutThread-1-for-run_tests_on_device(AG860440GG0AAGC)  [host]> /b/c/b/Lollipop_Low_end_Tester/src/third_party/android_tools/sdk/platform-tools/adb -s AG860440GG0AAGC shell '( input keyevent 66 );echo %$?'
I  498.495s run_tests_on_device(AG860440II6EAGC)    INSTRUMENTATION_STATUS: numtests=1
I  498.496s run_tests_on_device(AG860440II6EAGC)    INSTRUMENTATION_STATUS: stream=
I  498.496s run_tests_on_device(AG860440II6EAGC)    org.chromium.content.browser.MediaSessionTest:
I  498.496s run_tests_on_device(AG860440II6EAGC)    INSTRUMENTATION_STATUS: id=InstrumentationTestRunner
I  498.496s run_tests_on_device(AG860440II6EAGC)    INSTRUMENTATION_STATUS: test=testShortVideoStopsIfLostFocus
I  498.497s run_tests_on_device(AG860440II6EAGC)    INSTRUMENTATION_STATUS: class=org.chromium.content.browser.MediaSessionTest
I  498.497s run_tests_on_device(AG860440II6EAGC)    INSTRUMENTATION_STATUS: current=1
I  498.497s run_tests_on_device(AG860440II6EAGC)    INSTRUMENTATION_STATUS_CODE: 1
I  498.497s run_tests_on_device(AG860440II6EAGC)    INSTRUMENTATION_RESULT: shortMsg=Native crash
I  498.497s run_tests_on_device(AG860440II6EAGC)    INSTRUMENTATION_RESULT: longMsg=Native crash: Segmentation fault
I  498.497s run_tests_on_device(AG860440II6EAGC)    INSTRUMENTATION_CODE: 0
I  498.498s TimeoutThread-1-for-run_tests_on_device(AG860440II6EAGC)  [host]> /b/c/b/Lollipop_Low_end_Tester/src/third_party/android_tools/sdk/platform-tools/adb -s AG860440II6EAGC shell '( pm clear org.chromium.content_shell_apk );echo %$?'
I  498.523s TimeoutThread-1-for-delete_temporary_file(AG86044202E68GC)  [host]> /b/c/b/Lollipop_Low_end_Tester/src/third_party/android_tools/sdk/platform-tools/adb -s AG86044202E68GC shell 'rm -f /data/local/tmp/temp_file-86b888eb52850'
I  498.528s run_tests_on_device(AG86044202E68GC)  detected failure in org.chromium.content.browser.MediaSessionTest#testVideoStopsIfLostFocus. raw output:
I  498.528s run_tests_on_device(AG86044202E68GC)    INSTRUMENTATION_STATUS: numtests=1
I  498.528s run_tests_on_device(AG86044202E68GC)    INSTRUMENTATION_STATUS: stream=
I  498.528s run_tests_on_device(AG86044202E68GC)    org.chromium.content.browser.MediaSessionTest:
I  498.528s run_tests_on_device(AG86044202E68GC)    INSTRUMENTATION_STATUS: id=InstrumentationTestRunner
I  498.529s run_tests_on_device(AG86044202E68GC)    INSTRUMENTATION_STATUS: test=testVideoStopsIfLostFocus
I  498.529s run_tests_on_device(AG86044202E68GC)    INSTRUMENTATION_STATUS: class=org.chromium.content.browser.MediaSessionTest
I  498.529s run_tests_on_device(AG86044202E68GC)    INSTRUMENTATION_STATUS: current=1
I  498.529s run_tests_on_device(AG86044202E68GC)    INSTRUMENTATION_STATUS_CODE: 1
I  498.529s run_tests_on_device(AG86044202E68GC)    INSTRUMENTATION_RESULT: shortMsg=Native crash
I  498.529s run_tests_on_device(AG86044202E68GC)    INSTRUMENTATION_RESULT: longMsg=Native crash: Segmentation fault
I  498.529s run_tests_on_device(AG86044202E68GC)    INSTRUMENTATION_CODE: 0
 
Components: -Internals>Media>Session Internals>Media
Labels: OS-Android
Owner: dalecur...@chromium.org
I saw the tests hit a DCHECK() in VideoRendererAlgorithm:

C42GC:  10-25 17:29:36.748 21449 21476 F chromium: [21449:21476:1025/172936:3026859401:FATAL:video_renderer_algorithm.cc(318)] Check failed: frame_queue_[last_frame_index_].drop_count <= frame_queue_[last_frame_index_].render_count (2 vs. 1)

Sending to Dale for triaging.
Hmm, thought I just fixed this, not sure why it's suddenly started flaking.

Comment 3 by w...@chromium.org, Oct 25 2016

Btw, an EME test needs to be reenabled when this is fixed  http://crbug.com/655630 
Mergedinto: 656231
Status: Duplicate (was: Untriaged)

Sign in to add a comment