New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 715069 link

Starred by 2 users

Issue metadata

Status: Fixed
Owner:
Closed: Apr 2017
Cc:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug



Sign in to add a comment

WebRtcMediaRecorderTest's failing on chromium.android

Project Member Reported by perezju@chromium.org, Apr 25 2017

Issue description

The following tests:

WebRtcMediaRecorderTest.StartWithTimeSlice/5
WebRtcMediaRecorderTest.ResumeAndDataAvailable/5
WebRtcMediaRecorderTest.PeerConnection/5
WebRtcMediaRecorderTest.StartAndDataAvailable/5

have been consistently failing since:

https://luci-milo.appspot.com/buildbot/chromium.android/KitKat%20Tablet%20Tester/7409
https://luci-milo.appspot.com/buildbot/chromium.android/Lollipop%20Tablet%20Tester/7678
https://luci-milo.appspot.com/buildbot/chromium.android/Marshmallow%20Tablet%20Tester/8216

Additionally,

WebRtcMediaRecorderTest.PeerConnection/3

has been consistently failing since:

https://luci-milo.appspot.com/buildbot/chromium.android/Marshmallow%2064%20bit%20Tester/11522

Those builds have the CL overlap:
http://test-results.appspot.com/revision_range?start=466761&end=466763
 
Cc: perezju@chromium.org
Owner: yolandyan@chromium.org
Status: Assigned (was: Untriaged)
From the short CL range suspecting:

"Reland of Android: enable H264&VP8 HW accelerator for MediaRecorder"
https://codereview.chromium.org/2834233002

Since the failures are consistent, I'll proceed to revert.
Cc: chcunningham@chromium.org braveyao@chromium.org emir...@chromium.org dalecur...@chromium.org mcasas@chromium.org yolandyan@chromium.org
 Issue 715071  has been merged into this issue.
Example log from  issue 715071 :

Example log:
C  589.625s Main  [ RUN      ] WebRtcMediaRecorderTest.ResumeAndDataAvailable/5
C  589.625s Main  [WARNING:dns_config_service_posix.cc(326)] Failed to read DnsConfig.
C  589.625s Main  [ERROR:devtools_http_handler.cc(221)] Cannot start http server for devtools. Stop devtools.
C  589.625s Main  [ERROR:child_process_launcher_helper_posix.cc(115)] Ignoring invalid file assets/snapshot_blob_32.bin
C  589.625s Main  [WARNING:simple_synchronous_entry.cc(1051)] Could not open platform files for entry.
C  589.625s Main  [ERROR:shell_android.cc(72)] Not implemented reached in void content::Shell::PlatformSetTitle(const string16&): MediaStream Recoder Browser Test (w/ MediaSource)
C  589.625s Main  [INFO:CONSOLE(90)] "Recorder object created, mimeType = video/x-matroska;codecs=AVC1", source: http://127.0.0.1:45033/media/mediarecorder_test.html (90)
C  589.625s Main  [INFO:CONSOLE(22)] "Waiting for", source: http://127.0.0.1:45033/media/mediarecorder_test_utils.js (22)
C  589.625s Main  [INFO:SkFontMgr_android.cpp(163)] Requested font file /system/fonts/NanumGothic.ttf does not exist or cannot be opened.
C  589.625s Main  
C  589.625s Main  [INFO:SkFontMgr_android.cpp(163)] Requested font file /system/fonts/DroidSansFallback.ttf does not exist or cannot be opened.
C  589.625s Main  
C  589.625s Main  [INFO:browser_test_utils.cc(1481)] DOMMessageQueue::RenderProcessGone 5
C  589.625s Main  [ERROR:browser_test_utils.cc(158)] Cannot communicate with DOMMessageQueue.
C  589.625s Main  referenceTable head length=54 1
C  589.625s Main  ../../content/browser/webrtc/webrtc_content_browsertest_base.cc:67: Failure
C  589.625s Main  Value of: ExecuteScriptAndExtractString(shell(), javascript, &result)
C  589.625s Main    Actual: false
C  589.625s Main  Expected: true
C  589.625s Main  Failed to execute javascript testResumeAndDataAvailable("video/x-matroska;codecs=AVC1");.
C  589.625s Main  From javascript: (nothing)
C  589.626s Main  When executing 'testResumeAndDataAvailable("video/x-matroska;codecs=AVC1");'
C  589.626s Main  ../../content/browser/webrtc/webrtc_content_browsertest_base.cc:91: Failure
C  589.626s Main  Failed
C  589.626s Main  [  FAILED  ] WebRtcMediaRecorderTest.ResumeAndDataAvailable/5, where GetParam() = 32-byte object <00-EE 5F-93 7F-00 00-00 21-00 00-00 00-00 00-00 1C-00 00-00 00-00 00-00 E0-44 78-89 55-00 00-00> (2193 ms)

CL from #1 reverted in https://codereview.chromium.org/2844453003/
Cc: -braveyao@chromium.org -dalecur...@chromium.org -chcunningham@chromium.org
Owner: braveyao@chromium.org
The reason is that not all devices supports HW H264 (and no SW H264 fallback on Android), i.e. Nexus7, The recording will silently fail, which kinda works in Chrome. But the failed unittests will fail due to insisting on recording results.

If there is no simple solution to this, we can only enable VP8 HW accelerator for mediaRecorder first and consider adding H264 later.
Status: Fixed (was: Assigned)
The offending cl won't be relanded. Instead new cl will be created in the future with consideration to this situation. From this point of view, this issue is fixed. 

Sign in to add a comment