New issue
Advanced search Search tips

Issue 880057 link

Starred by 1 user

Issue metadata

Status: Duplicate
Merged: issue 789531
Owner:
Closed: Sep 6
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 1
Type: Bug



Sign in to add a comment

Bookmark test failing on android kitkat

Project Member Reported by mattcary@chromium.org, Sep 3

Issue description

mamir@, your recent bookmark changes may be involved.

See bot at https://ci.chromium.org/p/chromium/builders/luci.chromium.ci/KitKat%20Phone%20Tester%20%28dbg%29/9112

The error looks like:

I  264.400s run_tests_on_device(04e17957218cd911)  detected failure in org.chromium.chrome.browser.bookmarks.BookmarkPersonalizedSigninPromoTest#testManualDismissPromo. raw output:
I  264.402s run_tests_on_device(04e17957218cd911)    INSTRUMENTATION_STATUS: numtests=1
I  264.402s run_tests_on_device(04e17957218cd911)    INSTRUMENTATION_STATUS: stream=
I  264.402s run_tests_on_device(04e17957218cd911)    org.chromium.chrome.browser.bookmarks.BookmarkPersonalizedSigninPromoTest:
I  264.402s run_tests_on_device(04e17957218cd911)    INSTRUMENTATION_STATUS: id=AndroidJUnitRunner
I  264.402s run_tests_on_device(04e17957218cd911)    INSTRUMENTATION_STATUS: test=testManualDismissPromo
I  264.403s run_tests_on_device(04e17957218cd911)    INSTRUMENTATION_STATUS: class=org.chromium.chrome.browser.bookmarks.BookmarkPersonalizedSigninPromoTest
I  264.403s run_tests_on_device(04e17957218cd911)    INSTRUMENTATION_STATUS: current=1
I  264.403s run_tests_on_device(04e17957218cd911)    INSTRUMENTATION_STATUS_CODE: 1
I  264.403s run_tests_on_device(04e17957218cd911)    INSTRUMENTATION_STATUS: numtests=1
I  264.403s run_tests_on_device(04e17957218cd911)    INSTRUMENTATION_STATUS: stream=
I  264.403s run_tests_on_device(04e17957218cd911)    Error in testManualDismissPromo(org.chromium.chrome.browser.bookmarks.BookmarkPersonalizedSigninPromoTest):
I  264.403s run_tests_on_device(04e17957218cd911)    android.support.test.espresso.NoMatchingViewException: No views in hierarchy found matching: with id: org.chromium.chrome:id/signin_promo_view_container
I  264.403s run_tests_on_device(04e17957218cd911)    
I  264.403s run_tests_on_device(04e17957218cd911)    View Hierarchy:
I  264.403s run_tests_on_device(04e17957218cd911)    +>DecorView{id=-1, visibility=VISIBLE, width=1080, height=1776, has-focus=true, has-focusable=true, has-window-focus=true, is-clickable=false, is-enabled=true, is-focused=false, is-focusable=false, is-layout-requested=false, is-selected=false, root-is-layout-requested=false, has-input-connection=false, x=0.0, y=0.0, child-count=1} 
I  264.403s run_tests_on_device(04e17957218cd911)    |
I  264.403s run_tests_on_device(04e17957218cd911)    +->LinearLayout{id=-1, visibility=VISIBLE, width=1080, height=1776, has-focus=true, has-focusable=true, has-window-focus=true, is-clickable=false, is-enabled=true, is-focused=false, is-focusable=false, is-layout-requested=false, is-selected=false, root-is-layout-requested=false, has-input-connection=false, x=0.0, y=0.0, child-count=2} 
I  264.403s run_tests_on_device(04e17957218cd911)    |
I  264.403s run_tests_on_device(04e17957218cd911)    +-->ViewStub{id=16909070, visibility=GONE, width=0, height=0, has-focus=false, has-focusable=false, has-window-focus=true, is-clickable=false, is-enabled=true, is-focused=false, is-focusable=false, is-layout-requested=true, is-selected=false, root-is-layout-requested=false, has-input-connection=false, x=0.0, y=0.0} 
I  264.404s run_tests_on_device(04e17957218cd911)    |
I  264.404s run_tests_on_device(04e17957218cd911)    +-->FrameLayout{id=-1, visibility=VISIBLE, width=1080, height=1701, has-focus=true, has-focusable=true, has-window-focus=true, is-clickable=false, is-enabled=true, is-focused=false, is-focusable=false, is-layout-requested=false, is-selected=false, root-is-layout-requested=false, has-input-connection=false, x=0.0, y=75.0, child-count=1} 
I  264.404s run_tests_on_device(04e17957218cd911)    |
I  264.404s run_tests_on_device(04e17957218cd911)    +--->FitWindowsLinearLayout{id=2131361816, res-name=action_bar_root, visibility=VISIBLE, width=1080, height=1701, has-focus=true, has-focusable=true, has-window-focus=true, is-clickable=false, is-enabled=true, is-focused=false, is-focusable=false, is-layout-requested=false, is-selected=false, root-is-layout-requested=false, has-input-connection=false, x=0.0, y=0.0, child-count=2} 
I  264.404s run_tests_on_device(04e17957218cd911)    |
I  264.404s run_tests_on_device(04e17957218cd911)    +---->ViewStubCompat{id=2131361832, res-name=action_mode_bar_stub, visibility=GONE, width=0, height=0, has-focus=false, has-focusable=false, has-window-focus=true, is-clickable=false, is-enabled=true, is-focused=false, is-focusable=false, is-layout-requested=true, is-selected=false, root-is-layout-requested=false, has-input-connection=false, x=0.0, y=0.0} 
I  264.404s run_tests_on_device(04e17957218cd911)    |
I  264.404s run_tests_on_device(04e17957218cd911)    +---->ContentFrameLayout{id=16908290, res-name=content, visibility=VISIBLE, width=1080, height=1701, has-focus=true, has-focusable=true, has-window-focus=true, is-clickable=false, is-enabled=true, is-focused=false, is-focusable=false, is-layout-requested=false, is-selected=false, root-is-layout-requested=false, has-input-connection=false, x=0.0, y=0.0, child-count=1} 
I  264.404s run_tests_on_device(04e17957218cd911)    |
I  264.404s run_tests_on_device(04e17957218cd911)    +----->SelectableListLayout{id=2131362638, res-name=selectable_list, visibility=VISIBLE, width=1080, height=1701, has-focus=true, has-focusable=true, has-window-focus=true, is-clickable=false, is-enabled=true, is-focused=true, is-focusable=true, is-layout-requested=false, is-selected=false, root-is-layout-requested=false, has-input-connection=false, x=0.0, y=0.0, child-count=3} 
I  264.404s run_tests_on_device(04e17957218cd911)    |
I  264.404s run_tests_on_device(04e17957218cd911)    +------>BookmarkActionBar{id=2131361812, res-name=action_bar, visibility=VISIBLE, width=1080, height=168, has-focus=false, has-focusable=true, has-window-focus=true, is-clickable=false, is-enabled=true, is-focused=false, is-focusable=false, is-layout-requested=false, is-selected=false, root-is-layout-requested=false, has-input-connection=false, x=0.0, y=0.0, child-count=3} 
I  264.404s run_tests_on_device(04e17957218cd911)    |
I  264.405s run_tests_on_device(04e17957218cd911)    +------->ActionMenuView{id=-1, visibility=VISIBLE, width=144, height=168, has-focus=false, has-focusable=true, has-window-focus=true, is-clickable=false, is-enabled=true, is-focused=false, is-focusable=false, is-layout-requested=false, is-selected=false, root-is-layout-requested=false, has-input-connection=false, x=924.0, y=0.0, child-count=1} 
I  264.405s run_tests_on_device(04e17957218cd911)    |
I  264.405s run_tests_on_device(04e17957218cd911)    +-------->ActionMenuItemView{id=2131362004, res-name=close_menu_id, desc=Close dialog, visibility=VISIBLE, width=144, height=144, has-focus=false, has-focusable=true, has-window-focus=true, is-clickable=true, is-enabled=true, is-focused=false, is-focusable=true, is-layout-requested=false, is-selected=false, root-is-layout-requested=false, has-input-connection=false, x=0.0, y=12.0, text=, input-type=0, ime-target=false, has-links=false} 
I  264.405s run_tests_on_device(04e17957218cd911)    |
I  264.405s run_tests_on_device(04e17957218cd911)    +------->NumberRollView{id=2131362650, res-name=selection_mode_number, visibility=GONE, width=0, height=0, has-focus=false, has-focusable=false, has-window-focus=true, is-clickable=false, is-enabled=true, is-focused=false, is-focusable=true, is-layout-requested=true, is-selected=false, root-is-layout-requested=false, has-input-connection=false, x=0.0, y=0.0, child-count=2} 
I  264.405s run_tests_on_device(04e17957218cd911)    |
I  264.405s run_tests_on_device(04e17957218cd911)    +-------->AppCompatTextView{id=2131362869, res-name=up, visibility=VISIBLE, width=0, height=0, has-focus=false, has-focusable=false, has-window-focus=true, is-clickable=false, is-enabled=true, is-focused=false, is-focusable=false, is-layout-requested=true, is-selected=false, root-is-layout-requested=false, has-input-connection=false, x=0.0, y=0.0, text=1 selected, input-type=0, ime-target=false, has-links=false} 
I  264.405s run_tests_on_device(04e17957218cd911)    |
I  264.405s run_tests_on_device(04e17957218cd911)    +-------->AppCompatTextView{id=2131362140, res-name=down, visibility=VISIBLE, width=0, height=0, has-focus=false, has-focusable=false, has-window-focus=true, is-clickable=false, is-enabled=true, is-focused=false, is-focusable=false, is-layout-requested=true, is-selected=false, root-is-layout-requested=false, has-input-connection=false, x=0.0, y=0.0, text=0 selected, input-type=0, ime-target=false, has-links=false} 
I  264.405s run_tests_on_device(04e17957218cd911)    |
I  264.405s run_tests_on_device(04e17957218cd911)    +------->LinearLayout{id=2131362614, res-name=search_view, visibility=GONE, width=0, height=0, has-focus=false, has-focusable=false, has-window-focus=true, is-clickable=false, is-enabled=true, is-focused=false, is-focusable=false, is-layout-requested=true, is-selected=false, root-is-layout-requested=false, has-input-connection=false, x=0.0, y=0.0, child-count=2} 
I  264.405s run_tests_on_device(04e17957218cd911)    |
I  264.405s run_tests_on_device(04e17957218cd911)    +-------->AppCompatEditText{id=2131362613, res-name=search_text, visibility=VISIBLE, width=0, height=0, has-focus=false, has-focusable=true, has-window-focus=true, is-clickable=true, is-enabled=true, is-focused=false, is-focusable=true, is-layout-requested=true, is-selected=false, root-is-layout-requested=false, has-input-connection=true, editor-info=[inputType=0x1 imeOptions=0x18000003 privateImeOptions=null actionLabel=null actionId=0 initialSelStart=0 initialSelEnd=0 initialCapsMode=0x0 hintText=Search your bookmarks label=null packageName=null fieldId=0 fieldName=null extras=null ], x=0.0, y=0.0, text=, hint=Search your bookmarks, input-type=1, ime-target=false, has-links=false} 
I  264.406s run_tests_on_device(04e17957218cd911)    |
I  264.406s run_tests_on_device(04e17957218cd911)    +-------->TintedImageButton{id=2131361994, res-name=clear_text_button, desc=Clear input, visibility=INVISIBLE, width=0, height=0, has-focus=false, has-focusable=false, has-window-focus=true, is-clickable=true, is-enabled=true, is-focused=false, is-focusable=true, is-layout-requested=true, is-selected=false, root-is-layout-requested=false, has-input-connection=false, x=0.0, y=0.0} 
I  264.406s run_tests_on_device(04e17957218cd911)    |
I  264.406s run_tests_on_device(04e17957218cd911)    +------>FrameLayout{id=2131362313, res-name=list_content, visibility=VISIBLE, width=1080, height=1533, has-focus=false, has-focusable=false, has-window-focus=true, is-clickable=false, is-enabled=true, is-focused=false, is-focusable=false, is-layout-requested=false, is-selected=false, root-is-layout-requested=false, has-input-connection=false, x=0.0, y=168.0, child-count=3} 
I  264.406s run_tests_on_device(04e17957218cd911)    |
I  264.406s run_tests_on_device(04e17957218cd911)    +------->RecyclerView{id=2131362562, res-name=recycler_view, visibility=GONE, width=0, height=0, has-focus=false, has-focusable=false, has-window-focus=true, is-clickable=false, is-enabled=true, is-focused=false, is-focusable=true, is-layout-requested=true, is-selected=false, root-is-layout-requested=false, has-input-connection=false, x=0.0, y=0.0, child-count=0} 
I  264.406s run_tests_on_device(04e17957218cd911)    |
I  264.406s run_tests_on_device(04e17957218cd911)    +------->AppCompatTextView{id=2131362161, res-name=empty_view, visibility=GONE, width=0, height=0, has-focus=false, has-focusable=false, has-window-focus=true, is-clickable=false, is-enabled=true, is-focused=false, is-focusable=false, is-layout-requested=true, is-selected=false, root-is-layout-requested=false, has-input-connection=false, x=0.0, y=0.0, text=No bookmarks here, input-type=0, ime-target=false, has-links=false} 
I  264.406s run_tests_on_device(04e17957218cd911)    |
I  264.406s run_tests_on_device(04e17957218cd911)    +------->LoadingView{id=2131362322, res-name=loading_view, visibility=GONE, width=0, height=0, has-focus=false, has-focusable=false, has-window-focus=true, is-clickable=false, is-enabled=true, is-focused=false, is-focusable=false, is-layout-requested=true, is-selected=false, root-is-layout-requested=false, has-input-connection=false, x=0.0, y=0.0} 
I  264.406s run_tests_on_device(04e17957218cd911)    |
I  264.406s run_tests_on_device(04e17957218cd911)    +------>FadingShadowView{id=2131362660, res-name=shadow, visibility=GONE, width=0, height=0, has-focus=false, has-focusable=false, has-window-focus=true, is-clickable=false, is-enabled=true, is-focused=false, is-focusable=false, is-layout-requested=true, is-selected=false, root-is-layout-requested=false, has-input-connection=false, x=0.0, y=0.0} 
I  264.406s run_tests_on_device(04e17957218cd911)    |
I  264.406s run_tests_on_device(04e17957218cd911)    	at dalvik.system.VMStack.getThreadStackTrace(Native Method)
I  264.407s run_tests_on_device(04e17957218cd911)    	at java.lang.Thread.getStackTrace(Thread.java:579)
I  264.407s run_tests_on_device(04e17957218cd911)    	at android.support.test.espresso.base.DefaultFailureHandler.getUserFriendlyError(DefaultFailureHandler.java:82)
I  264.407s run_tests_on_device(04e17957218cd911)    	at android.support.test.espresso.base.DefaultFailureHandler.handle(DefaultFailureHandler.java:53)
I  264.407s run_tests_on_device(04e17957218cd911)    	at android.support.test.espresso.ViewInteraction.runSynchronouslyOnUiThread(ViewInteraction.java:184)
I  264.407s run_tests_on_device(04e17957218cd911)    	at android.support.test.espresso.ViewInteraction.check(ViewInteraction.java:158)
I  264.407s run_tests_on_device(04e17957218cd911)    	at org.chromium.chrome.browser.bookmarks.BookmarkPersonalizedSigninPromoTest.testManualDismissPromo(BookmarkPersonalizedSigninPromoTest.java:80)
I  264.407s run_tests_on_device(04e17957218cd911)    	at java.lang.reflect.Method.invokeNative(Native Method)
I  264.407s run_tests_on_device(04e17957218cd911)    	at java.lang.reflect.Method.invoke(Method.java:515)
I  264.407s run_tests_on_device(04e17957218cd911)    	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
I  264.407s run_tests_on_device(04e17957218cd911)    	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
I  264.407s run_tests_on_device(04e17957218cd911)    	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:52)
I  264.407s run_tests_on_device(04e17957218cd911)    	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
I  264.407s run_tests_on_device(04e17957218cd911)    	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
I  264.407s run_tests_on_device(04e17957218cd911)    	at org.chromium.base.test.ScreenshotOnFailureStatement.evaluate(ScreenshotOnFailureStatement.java:37)
I  264.407s run_tests_on_device(04e17957218cd911)    	at org.chromium.chrome.test.ChromeActivityTestRule$1.evaluate(ChromeActivityTestRule.java:116)
I  264.408s run_tests_on_device(04e17957218cd911)    	at android.support.test.internal.statement.UiThreadStatement.evaluate(UiThreadStatement.java:55)
I  264.408s run_tests_on_device(04e17957218cd911)    	at android.support.test.rule.ActivityTestRule$ActivityStatement.evaluate(ActivityTestRule.java:270)
I  264.408s run_tests_on_device(04e17957218cd911)    	at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:48)
I  264.408s run_tests_on_device(04e17957218cd911)    	at org.junit.rules.RunRules.evaluate(RunRules.java:20)
I  264.408s run_tests_on_device(04e17957218cd911)    	at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
I  264.408s run_tests_on_device(04e17957218cd911)    	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
I  264.408s run_tests_on_device(04e17957218cd911)    	at org.chromium.base.test.BaseJUnit4ClassRunner.runChild(BaseJUnit4ClassRunner.java:237)
I  264.408s run_tests_on_device(04e17957218cd911)    	at org.chromium.base.test.BaseJUnit4ClassRunner.runChild(BaseJUnit4ClassRunner.java:48)
I  264.408s run_tests_on_device(04e17957218cd911)    	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
I  264.408s run_tests_on_device(04e17957218cd911)    	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
I  264.408s run_tests_on_device(04e17957218cd911)    	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
I  264.408s run_tests_on_device(04e17957218cd911)    	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
I  264.408s run_tests_on_device(04e17957218cd911)    	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
I  264.408s run_tests_on_device(04e17957218cd911)    	at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
I  264.408s run_tests_on_device(04e17957218cd911)    	at org.chromium.base.test.BaseJUnit4ClassRunner.run(BaseJUnit4ClassRunner.java:220)
I  264.409s run_tests_on_device(04e17957218cd911)    	at org.junit.runners.Suite.runChild(Suite.java:128)
I  264.409s run_tests_on_device(04e17957218cd911)    	at org.junit.runners.Suite.runChild(Suite.java:27)
I  264.409s run_tests_on_device(04e17957218cd911)    	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
I  264.409s run_tests_on_device(04e17957218cd911)    	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
I  264.409s run_tests_on_device(04e17957218cd911)    	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
I  264.409s run_tests_on_device(04e17957218cd911)    	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
I  264.409s run_tests_on_device(04e17957218cd911)    	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
I  264.409s run_tests_on_device(04e17957218cd911)    	at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
I  264.409s run_tests_on_device(04e17957218cd911)    	at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
I  264.409s run_tests_on_device(04e17957218cd911)    	at org.junit.runner.JUnitCore.run(JUnitCore.java:115)
I  264.409s run_tests_on_device(04e17957218cd911)    	at android.support.test.internal.runner.TestExecutor.execute(TestExecutor.java:59)
I  264.409s run_tests_on_device(04e17957218cd911)    	at android.support.test.runner.AndroidJUnitRunner.onStart(AndroidJUnitRunner.java:262)
I  264.409s run_tests_on_device(04e17957218cd911)    	at org.chromium.base.test.BaseChromiumAndroidJUnitRunner.onStart(BaseChromiumAndroidJUnitRunner.java:125)
I  264.409s run_tests_on_device(04e17957218cd911)    	at android.app.Instrumentation$InstrumentationThread.run(Instrumentation.java:1701)
I  264.409s run_tests_on_device(04e17957218cd911)    
 
Labels: -Pri-3 Pri-1
Labels: sheriff-android
Cc: mamir@chromium.org
Components: UI>SignIn
Labels: OS-Android
Owner: bsazonov@chromium.org
Status: Assigned (was: Untriaged)
Hm... BookmarkPersonalizedSigninPromoTest.openBookmarkManager() starts the BookmarkActivity, but the signin promo is in a RecyclerView, and potentially not created yet by the time the test looks for it.

Boris, can I assign this bug to you?
Mergedinto: 789531
Status: Duplicate (was: Assigned)
Sure. Actually, this is looks like a duplicate of issue 789531, which I've been looking into recently.

Sign in to add a comment