hardware_acceleration.ToastHWATest#testOpenedInBackgroundToast failing on Lollipop Tablet |
|||
Issue descriptionThis is a pretty consistent failure since build https://build.chromium.org/p/chromium.android/builders/Lollipop%20Tablet%20Tester/builds/6109 Example error message: junit.framework.AssertionFailedError: '2131690247' is not visible at org.chromium.chrome.test.util.browser.contextmenu.ContextMenuUtils.selectOpenContextMenuItem(ContextMenuUtils.java:154) at org.chromium.chrome.test.util.browser.contextmenu.ContextMenuUtils.selectContextMenuItemByJs(ContextMenuUtils.java:118) at org.chromium.chrome.test.util.browser.contextmenu.ContextMenuUtils.selectContextMenuItem(ContextMenuUtils.java:99) at org.chromium.chrome.browser.hardware_acceleration.ToastHWATest.testOpenedInBackgroundToast(ToastHWATest.java:103) at android.test.InstrumentationTestCase.runMethod(InstrumentationTestCase.java:214) at android.test.InstrumentationTestCase.runTest(InstrumentationTestCase.java:199) at android.test.ActivityInstrumentationTestCase2.runTest(ActivityInstrumentationTestCase2.java:192) at org.chromium.chrome.test.ChromeActivityTestCaseBase.runTest(ChromeActivityTestCaseBase.java:726) at org.chromium.base.test.BaseTestResult.runParameterized(BaseTestResult.java:161) at org.chromium.base.test.BaseTestResult.run(BaseTestResult.java:124) at android.test.AndroidTestRunner.runTest(AndroidTestRunner.java:191) at android.test.AndroidTestRunner.runTest(AndroidTestRunner.java:176) at android.test.InstrumentationTestRunner.onStart(InstrumentationTestRunner.java:555) at android.app.Instrumentation$InstrumentationThread.run(Instrumentation.java:1853) Revision range: http://test-results.appspot.com/revision_range?start=437627&end=437673 Maybe related to issue 668217?
,
Dec 12 2016
Ted, can you take a look if it's related to your CL that changes visibility of context menu items: https://codereview.chromium.org/2559573002
,
Dec 13 2016
This appears to have been fixed by something in the range: http://test-results.appspot.com/revision_range?start=437838&end=437849 First build in M without the failure on this test: https://luci-milo.appspot.com/buildbot/chromium.android/Marshmallow%20Tablet%20Tester/6718
,
Dec 14 2016
The "fix" in this range is that Ted's CL got reverted. So definitely https://codereview.chromium.org/2559573002 is the culprit.
,
Dec 14 2016
Indeed. My change made the context menu needed in the test rely on going through FRE before becoming available. Tests disable FRE but do not mark it completed, so I had to work around that. I updated my patch with a fix for the failing test.
,
Dec 16 2016
Relanded that patch (with fixes for this test) and haven't seen any failures. |
|||
►
Sign in to add a comment |
|||
Comment 1 by perezju@chromium.org
, Dec 12 2016