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

Issue 620890 link

Starred by 5 users

Issue metadata

Status: Assigned
Owner:
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 3
Type: Bug



Sign in to add a comment

org.chromium.android_webview.test.PlatformMediaCodecTest#testCanPlayPlatformMediaCodecs is flaking android_webview_test_apk suite

Project Member Reported by dfalcant...@chromium.org, Jun 16 2016

Issue description

Earliest failure I could reach is on May 30th, but I can't repro locally:

https://uberchromegw.corp.google.com/i/chromium.android/builders/Marshmallow%20Tablet%20Tester/builds/4093
C 1020.930s Main  [FAIL] org.chromium.android_webview.test.PlatformMediaCodecTest#testCanPlayPlatformMediaCodecs with {--webview-sandboxed-renderer}:
C 1020.930s Main  junit.framework.AssertionFailedError: Criteria not met in allotted time.
C 1020.930s Main  	at org.chromium.content.browser.test.util.CriteriaHelper.pollInstrumentationThread(CriteriaHelper.java:74)
C 1020.930s Main  	at org.chromium.content.browser.test.util.DOMUtils.waitForMediaPlay(DOMUtils.java:105)
C 1020.930s Main  	at org.chromium.android_webview.test.PlatformMediaCodecTest.testCanPlayPlatformMediaCodecs(PlatformMediaCodecTest.java:39)
C 1020.930s Main  	at android.test.InstrumentationTestCase.runMethod(InstrumentationTestCase.java:214)
C 1020.930s Main  	at android.test.InstrumentationTestCase.runTest(InstrumentationTestCase.java:199)
C 1020.930s Main  	at android.test.ActivityInstrumentationTestCase2.runTest(ActivityInstrumentationTestCase2.java:192)
C 1020.930s Main  	at org.chromium.base.test.BaseTestResult.runParameterized(BaseTestResult.java:161)
C 1020.930s Main  	at org.chromium.base.test.BaseTestResult.run(BaseTestResult.java:124)
C 1020.930s Main  	at android.test.AndroidTestRunner.runTest(AndroidTestRunner.java:191)
C 1020.930s Main  	at android.test.AndroidTestRunner.runTest(AndroidTestRunner.java:176)
C 1020.930s Main  	at android.test.InstrumentationTestRunner.onStart(InstrumentationTestRunner.java:555)
C 1020.930s Main  	at android.app.Instrumentation$InstrumentationThread.run(Instrumentation.java:1879)


https://uberchromegw.corp.google.com/i/chromium.android/builders/Marshmallow%20Tablet%20Tester/builds/4290
C 1005.792s Main  [FAIL] org.chromium.android_webview.test.PlatformMediaCodecTest#testCanPlayPlatformMediaCodecs with {--webview-sandboxed-renderer}:
C 1005.792s Main  junit.framework.AssertionFailedError: Criteria not met in allotted time.
C 1005.792s Main  	at org.chromium.content.browser.test.util.CriteriaHelper.pollInstrumentationThread(CriteriaHelper.java:74)
C 1005.792s Main  	at org.chromium.content.browser.test.util.DOMUtils.waitForMediaPlay(DOMUtils.java:105)
C 1005.792s Main  	at org.chromium.android_webview.test.PlatformMediaCodecTest.testCanPlayPlatformMediaCodecs(PlatformMediaCodecTest.java:39)
C 1005.792s Main  	at android.test.InstrumentationTestCase.runMethod(InstrumentationTestCase.java:214)
C 1005.792s Main  	at android.test.InstrumentationTestCase.runTest(InstrumentationTestCase.java:199)
C 1005.792s Main  	at android.test.ActivityInstrumentationTestCase2.runTest(ActivityInstrumentationTestCase2.java:192)
C 1005.792s Main  	at org.chromium.base.test.BaseTestResult.runParameterized(BaseTestResult.java:161)
C 1005.792s Main  	at org.chromium.base.test.BaseTestResult.run(BaseTestResult.java:124)
C 1005.792s Main  	at android.test.AndroidTestRunner.runTest(AndroidTestRunner.java:191)
C 1005.792s Main  	at android.test.AndroidTestRunner.runTest(AndroidTestRunner.java:176)
C 1005.793s Main  	at android.test.InstrumentationTestRunner.onStart(InstrumentationTestRunner.java:555)
C 1005.793s Main  	at android.app.Instrumentation$InstrumentationThread.run(Instrumentation.java:1879)
 
Labels: -Pri-3 OS-Android Pri-1
Owner: dalecur...@chromium.org
Barring objections, I'm planning on disabling this test because it's been flaking so long on this bot.

Assigning to the person who wrote the test.
Sounds like there are a lot of tests flaking on this bot (or at least I've seen a few bugs go by today), maybe it should get a longer timeout instead?
Cc: dfalcant...@chromium.org
Unsure... seems like the same tests have been flaking for longer than just today.  Marshmallow on 7 isn't really a slow device, though.  Any idea why this would be failing to meet the criteria on time?
Not off the top of my head, I can take a look tomorrow though.
Cc: ti...@chromium.org dalecur...@chromium.org
 Issue 622109  has been merged into this issue.
Not sure what has changed here recently. logcat is unavailable unless I'm missing something.

Comment 8 by boliu@chromium.org, Jun 22 2016

I included logcat in  issue 622109 
Ah, sorry missed that. Nothing seems amiss in there, we can see that WMPA is started up correctly, but the playback never starts for some reason. MediaPlayer/MediaCodec may be hung for some reason.

Comment 10 by boliu@chromium.org, Jun 22 2016

cq is using nexus 5 on some kitkat build, without wifi, not sure if any of that matters

Comment 11 by boliu@chromium.org, Jun 22 2016

Components: Tests>Flaky Mobile>WebView
Project Member

Comment 12 by bugdroid1@chromium.org, Jun 22 2016

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/355585715cb19b5fea8cd1db2c2682e4867617c3

commit 355585715cb19b5fea8cd1db2c2682e4867617c3
Author: boliu <boliu@chromium.org>
Date: Wed Jun 22 01:57:20 2016

aw: Disable testCanPlayPlatformMediaCodecs

Test is flaky. See bug for details.

BUG=620890
TBR=dalecurtis

Review-Url: https://codereview.chromium.org/2086173002
Cr-Commit-Position: refs/heads/master@{#401158}

[modify] https://crrev.com/355585715cb19b5fea8cd1db2c2682e4867617c3/android_webview/javatests/src/org/chromium/android_webview/test/PlatformMediaCodecTest.java

Owner: tguilbert@chromium.org
Status: Assigned (was: Untriaged)
Again over to tguilbert@ for when we're no longer using WMPA.
Status: Fixed (was: Assigned)
This landed here:
https://chromium.googlesource.com/chromium/src/+/55b7fff6cf7b3e70e03a6237e30ea60684acece9

Please re-open if ever it starts flaking again.

Cc: tguilbert@chromium.org
 Issue 687769  has been merged into this issue.
Status: Assigned (was: Fixed)
Re-opening as requested :( I'll disable the test again.

See  crbug.com/687769  for recent flakes.
Project Member

Comment 17 by bugdroid1@chromium.org, Feb 2 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/fb5f56bd9f05cbe7b8fed9e060c72bb38aa172d8

commit fb5f56bd9f05cbe7b8fed9e060c72bb38aa172d8
Author: iclelland <iclelland@chromium.org>
Date: Thu Feb 02 15:10:12 2017

Disable flaky test PlatformMediaCodecTest#testCanPlayPlatformMediaCodecs

This has started flaking again, after being re-enabled in December. Root
cause is still uncertain.

BUG=620890
TBR=tguilbert@chromium.org

Review-Url: https://codereview.chromium.org/2671733002
Cr-Commit-Position: refs/heads/master@{#447768}

[modify] https://crrev.com/fb5f56bd9f05cbe7b8fed9e060c72bb38aa172d8/android_webview/javatests/src/org/chromium/android_webview/test/PlatformMediaCodecTest.java

Labels: -Pri-1 Pri-3
Labels: WebView-Disabled-Test

Sign in to add a comment