Intermittent testSystemPages | Exception caught - junit.framework.AssertionFailedError: LayerView is not found!

RESOLVED FIXED in Firefox 31

Status

()

defect
RESOLVED FIXED
5 years ago
5 years ago

People

(Reporter: RyanVM, Assigned: liuche)

Tracking

({intermittent-failure})

Trunk
Firefox 31
ARM
Android
Points:
---

Firefox Tracking Flags

(firefox29 unaffected, firefox30 unaffected, firefox31 fixed, firefox-esr24 unaffected)

Details

Attachments

(1 attachment)

Reporter

Description

5 years ago
https://tbpl.mozilla.org/php/getParsedLog.php?id=37514200&tree=Fx-Team

Android 2.2 Tegra fx-team opt test robocop-2 on 2014-04-09 07:22:19 PDT for push 382ebd5e9589
slave: tegra-047

0 INFO SimpleTest START
1 INFO TEST-START | testSystemPages
2 INFO TEST-PASS | testSystemPages | Given message occurred for registered event: {"type":"Gecko:Ready"} - Gecko:Ready should equal Gecko:Ready
EventExpecter: no longer listening for Gecko:Ready
3 INFO TEST-PASS | testSystemPages | waiting for urlbar text to gain focus - urlbar text gained focus
4 INFO TEST-PASS | testSystemPages | URL typed properly - about:firefox should equal about:firefox
5 INFO TEST-PASS | testSystemPages | Given message occurred for registered event: {"errorType":"","bgColor":"rgb(206, 215, 222)","type":"DOMContentLoaded","tabID":0} - DOMContentLoaded should equal DOMContentLoaded
EventExpecter: no longer listening for DOMContentLoaded
PaintExpecter: no longer listening for events
6 INFO TEST-PASS | testSystemPages | The correct number of tabs are opened - 1 should equal 1
7 INFO TEST-PASS | testSystemPages | Browser toolbar URL stayed the same - about:firefox should equal about:firefox
8 INFO TEST-PASS | testSystemPages | waiting for urlbar text to gain focus - urlbar text gained focus
9 INFO TEST-PASS | testSystemPages | URL typed properly - about:rights should equal about:rights
10 INFO TEST-PASS | testSystemPages | Given message occurred for registered event: {"errorType":"","bgColor":"rgb(255, 255, 255)","type":"DOMContentLoaded","tabID":0} - DOMContentLoaded should equal DOMContentLoaded
EventExpecter: no longer listening for DOMContentLoaded
PaintExpecter: no longer listening for events
11 INFO TEST-PASS | testSystemPages | The correct number of tabs are opened - 1 should equal 1
12 INFO TEST-PASS | testSystemPages | Browser toolbar URL stayed the same - about:rights should equal about:rights
13 INFO TEST-PASS | testSystemPages | waiting for urlbar text to gain focus - urlbar text gained focus
14 INFO TEST-PASS | testSystemPages | URL typed properly - about:addons should equal about:addons
15 INFO TEST-PASS | testSystemPages | Given message occurred for registered event: {"errorType":"","bgColor":"transparent","type":"DOMContentLoaded","tabID":0} - DOMContentLoaded should equal DOMContentLoaded
EventExpecter: no longer listening for DOMContentLoaded
PaintExpecter: no longer listening for events
16 INFO TEST-PASS | testSystemPages | The correct number of tabs are opened - 1 should equal 1
17 INFO TEST-PASS | testSystemPages | Browser toolbar URL stayed the same - about:addons should equal about:addons
18 INFO TEST-PASS | testSystemPages | waiting for urlbar text to gain focus - urlbar text gained focus
19 INFO TEST-PASS | testSystemPages | URL typed properly - about:downloads should equal about:downloads
20 INFO TEST-PASS | testSystemPages | Given message occurred for registered event: {"errorType":"","bgColor":"transparent","type":"DOMContentLoaded","tabID":0} - DOMContentLoaded should equal DOMContentLoaded
EventExpecter: no longer listening for DOMContentLoaded
PaintExpecter: no longer listening for events
21 INFO TEST-PASS | testSystemPages | The correct number of tabs are opened - 1 should equal 1
22 INFO TEST-PASS | testSystemPages | Browser toolbar URL stayed the same - about:downloads should equal about:downloads
23 INFO TEST-PASS | testSystemPages | waiting for urlbar text to gain focus - urlbar text gained focus
24 INFO TEST-PASS | testSystemPages | URL typed properly - about:buildconfig should equal about:buildconfig
25 INFO TEST-PASS | testSystemPages | Given message occurred for registered event: {"errorType":"","bgColor":"rgb(255, 255, 255)","type":"DOMContentLoaded","tabID":0} - DOMContentLoaded should equal DOMContentLoaded
EventExpecter: no longer listening for DOMContentLoaded
PaintExpecter: no longer listening for events
26 INFO TEST-PASS | testSystemPages | The correct number of tabs are opened - 1 should equal 1
27 INFO TEST-PASS | testSystemPages | Browser toolbar URL stayed the same - about:buildconfig should equal about:buildconfig
28 INFO TEST-PASS | testSystemPages | waiting for urlbar text to gain focus - urlbar text gained focus
29 INFO TEST-PASS | testSystemPages | URL typed properly - about:feedback should equal about:feedback
30 INFO TEST-PASS | testSystemPages | Given message occurred for registered event: {"errorType":"","bgColor":"rgb(206, 215, 222)","type":"DOMContentLoaded","tabID":0} - DOMContentLoaded should equal DOMContentLoaded
EventExpecter: no longer listening for DOMContentLoaded
PaintExpecter: no longer listening for events
31 INFO TEST-PASS | testSystemPages | The correct number of tabs are opened - 1 should equal 1
32 INFO TEST-PASS | testSystemPages | Browser toolbar URL stayed the same - about:feedback should equal about:feedback
33 INFO TEST-PASS | testSystemPages | waiting for urlbar text to gain focus - urlbar text gained focus
34 INFO TEST-PASS | testSystemPages | URL typed properly - about:healthreport should equal about:healthreport
35 INFO TEST-PASS | testSystemPages | Given message occurred for registered event: {"errorType":"","bgColor":"transparent","type":"DOMContentLoaded","tabID":0} - DOMContentLoaded should equal DOMContentLoaded
EventExpecter: no longer listening for DOMContentLoaded
PaintExpecter: no longer listening for events
36 INFO TEST-PASS | testSystemPages | The correct number of tabs are opened - 1 should equal 1
37 INFO TEST-PASS | testSystemPages | Browser toolbar URL stayed the same - about:healthreport should equal about:healthreport
38 INFO TEST-PASS | testSystemPages | waiting for urlbar text to gain focus - urlbar text gained focus
39 INFO TEST-PASS | testSystemPages | URL typed properly - about: should equal about:
40 INFO TEST-PASS | testSystemPages | Given message occurred for registered event: {"errorType":"","bgColor":"rgb(206, 215, 222)","type":"DOMContentLoaded","tabID":0} - DOMContentLoaded should equal DOMContentLoaded
EventExpecter: no longer listening for DOMContentLoaded
PaintExpecter: no longer listening for events
41 INFO TEST-PASS | testSystemPages | The correct number of tabs are opened - 1 should equal 1
42 INFO TEST-PASS | testSystemPages | Browser toolbar URL stayed the same - about: should equal about:
43 INFO TEST-PASS | testSystemPages | waiting for urlbar text to gain focus - urlbar text gained focus
44 INFO TEST-PASS | testSystemPages | URL typed properly - about:about should equal about:about
45 INFO TEST-PASS | testSystemPages | Given message occurred for registered event: {"errorType":"","bgColor":"rgb(255, 255, 255)","type":"DOMContentLoaded","tabID":0} - DOMContentLoaded should equal DOMContentLoaded
EventExpecter: no longer listening for DOMContentLoaded
PaintExpecter: no longer listening for events
46 INFO TEST-PASS | testSystemPages | waiting for urlbar text to gain focus - urlbar text gained focus
47 INFO TEST-PASS | testSystemPages | URL typed properly - about: should equal about:
48 INFO TEST-PASS | testSystemPages | Given message occurred for registered event: {"errorType":"","bgColor":"rgb(206, 215, 222)","type":"DOMContentLoaded","tabID":0} - DOMContentLoaded should equal DOMContentLoaded
EventExpecter: no longer listening for DOMContentLoaded
PaintExpecter: no longer listening for events
49 INFO TEST-PASS | testSystemPages | Browser toolbar URL stayed the same - about: should equal about:
waitForText timeout on ^Apps$
50 INFO TEST-PASS | testSystemPages | Given message occurred for registered event: {"parentId":0,"delayLoad":false,"title":"about:apps","selected":true,"isPrivate":false,"stub":true,"external":false,"desktopMode":false,"tabID":1,"type":"Tab:Added","uri":"about:apps"} - Tab:Added should equal Tab:Added
51 INFO TEST-PASS | testSystemPages | Given message occurred for registered event: {"errorType":"","bgColor":"transparent","type":"DOMContentLoaded","tabID":1} - DOMContentLoaded should equal DOMContentLoaded
EventExpecter: no longer listening for Tab:Added
EventExpecter: no longer listening for DOMContentLoaded
52 INFO TEST-PASS | testSystemPages | Browser toolbar URL stayed the same - about:apps should equal about:apps
53 INFO TEST-PASS | testSystemPages | The correct number of tabs are opened - 2 should equal 2
waitForText timeout on ^Downloads$
54 INFO TEST-PASS | testSystemPages | Given message occurred for registered event: {"parentId":1,"delayLoad":false,"title":"about:downloads","selected":true,"isPrivate":false,"stub":true,"external":false,"desktopMode":false,"tabID":2,"type":"Tab:Added","uri":"about:downloads"} - Tab:Added should equal Tab:Added
55 INFO TEST-PASS | testSystemPages | Given message occurred for registered event: {"errorType":"","bgColor":"transparent","type":"DOMContentLoaded","tabID":2} - DOMContentLoaded should equal DOMContentLoaded
EventExpecter: no longer listening for Tab:Added
EventExpecter: no longer listening for DOMContentLoaded
56 INFO TEST-PASS | testSystemPages | Browser toolbar URL stayed the same - about:downloads should equal about:downloads
57 INFO TEST-PASS | testSystemPages | The correct number of tabs are opened - 3 should equal 3
waitForText timeout on ^Add-ons$
58 INFO TEST-PASS | testSystemPages | Given message occurred for registered event: {"parentId":2,"delayLoad":false,"title":"about:addons","selected":true,"isPrivate":false,"stub":true,"external":false,"desktopMode":false,"tabID":3,"type":"Tab:Added","uri":"about:addons"} - Tab:Added should equal Tab:Added
59 INFO TEST-PASS | testSystemPages | Given message occurred for registered event: {"errorType":"","bgColor":"transparent","type":"DOMContentLoaded","tabID":3} - DOMContentLoaded should equal DOMContentLoaded
EventExpecter: no longer listening for Tab:Added
EventExpecter: no longer listening for DOMContentLoaded
60 INFO TEST-PASS | testSystemPages | Browser toolbar URL stayed the same - about:addons should equal about:addons
61 INFO TEST-PASS | testSystemPages | The correct number of tabs are opened - 4 should equal 4
waitForText timeout on ^Settings$
Exception caught during test!
junit.framework.AssertionFailedError: LayerView is not found!
	at junit.framework.Assert.fail(Assert.java:47)
	at junit.framework.Assert.assertTrue(Assert.java:20)
	at com.jayway.android.robotium.solo.Waiter.waitForAndGetView(Waiter.java:510)
	at com.jayway.android.robotium.solo.Solo.getView(Solo.java:2039)
	at org.mozilla.gecko.FennecNativeDriver.getSurfaceView(FennecNativeDriver.java:161)
	at org.mozilla.gecko.FennecNativeDriver.getPaintedSurface(FennecNativeDriver.java:173)
	at org.mozilla.gecko.tests.PixelTest.waitForPaint(PixelTest.java:69)
	at org.mozilla.gecko.tests.testSystemPages.loadItemsByLevel(testSystemPages.java:72)
	at org.mozilla.gecko.tests.testSystemPages.testSystemPages(testSystemPages.java:41)
	at java.lang.reflect.Method.invokeNative(Native Method)
	at java.lang.reflect.Method.invoke(Method.java:521)
	at android.test.InstrumentationTestCase.runMethod(InstrumentationTestCase.java:204)
	at android.test.InstrumentationTestCase.runTest(InstrumentationTestCase.java:194)
	at android.test.ActivityInstrumentationTestCase2.runTest(ActivityInstrumentationTestCase2.java:186)
	at org.mozilla.gecko.tests.BaseTest.runTest(BaseTest.java:125)
	at junit.framework.TestCase.runBare(TestCase.java:127)
	at junit.framework.TestResult$1.protect(TestResult.java:106)
	at junit.framework.TestResult.runProtected(TestResult.java:124)
	at junit.framework.TestResult.run(TestResult.java:109)
	at junit.framework.TestCase.run(TestCase.java:118)
	at android.test.AndroidTestRunner.runTest(AndroidTestRunner.java:169)
	at android.test.AndroidTestRunner.runTest(AndroidTestRunner.java:154)
	at android.test.InstrumentationTestRunner.onStart(InstrumentationTestRunner.java:520)
	at android.app.Instrumentation$InstrumentationThread.run(Instrumentation.java:1447)
62 INFO TEST-UNEXPECTED-FAIL | testSystemPages | Exception caught - junit.framework.AssertionFailedError: LayerView is not found!
63 INFO TEST-END | testSystemPages | finished in 295590ms
64 INFO TEST-START | Shutdown
65 INFO Passed: 60
66 INFO Failed: 1
67 INFO Todo: 0
68 INFO SimpleTest FINISHED
Comment hidden (Legacy TBPL/Treeherder Robot)
Comment hidden (Legacy TBPL/Treeherder Robot)
Comment hidden (Legacy TBPL/Treeherder Robot)
Comment hidden (Legacy TBPL/Treeherder Robot)
I found an earlier instance of this failure: https://tbpl.mozilla.org/php/getParsedLog.php?id=37482696&tree=Fx-Team&full=1, corresponding to the check-in for bug 903535. 

I do not understand how this is failing, but I note that the failure occurs shortly after a call to selectMenuItemByPath, which was changed in bug 903535.

:liuche -- Any ideas?
Flags: needinfo?(liuche)
Comment hidden (Legacy TBPL/Treeherder Robot)
Comment hidden (Legacy TBPL/Treeherder Robot)
Comment hidden (Legacy TBPL/Treeherder Robot)
Comment hidden (Legacy TBPL/Treeherder Robot)
Comment hidden (Legacy TBPL/Treeherder Robot)
Comment hidden (Legacy TBPL/Treeherder Robot)
Comment hidden (Legacy TBPL/Treeherder Robot)
Comment hidden (Legacy TBPL/Treeherder Robot)
Comment hidden (Legacy TBPL/Treeherder Robot)
Comment hidden (Legacy TBPL/Treeherder Robot)
Comment hidden (Legacy TBPL/Treeherder Robot)
Comment hidden (Legacy TBPL/Treeherder Robot)
Comment hidden (Legacy TBPL/Treeherder Robot)
Comment hidden (Legacy TBPL/Treeherder Robot)
Comment hidden (Legacy TBPL/Treeherder Robot)
Comment hidden (Legacy TBPL/Treeherder Robot)
Comment hidden (Legacy TBPL/Treeherder Robot)
Comment hidden (Legacy TBPL/Treeherder Robot)
Comment hidden (Legacy TBPL/Treeherder Robot)
Comment hidden (Legacy TBPL/Treeherder Robot)
Comment hidden (Legacy TBPL/Treeherder Robot)
Comment hidden (Legacy TBPL/Treeherder Robot)
Comment hidden (Legacy TBPL/Treeherder Robot)
Comment hidden (Legacy TBPL/Treeherder Robot)
Comment hidden (Legacy TBPL/Treeherder Robot)
Comment hidden (Legacy TBPL/Treeherder Robot)
Comment hidden (Legacy TBPL/Treeherder Robot)
Comment hidden (Legacy TBPL/Treeherder Robot)
Comment hidden (Legacy TBPL/Treeherder Robot)
Comment hidden (Legacy TBPL/Treeherder Robot)
Comment hidden (Legacy TBPL/Treeherder Robot)
Comment hidden (Legacy TBPL/Treeherder Robot)
Comment hidden (Legacy TBPL/Treeherder Robot)
Comment hidden (Legacy TBPL/Treeherder Robot)
Comment hidden (Legacy TBPL/Treeherder Robot)
Comment hidden (Legacy TBPL/Treeherder Robot)
Comment hidden (Legacy TBPL/Treeherder Robot)
Comment hidden (Legacy TBPL/Treeherder Robot)
Comment hidden (Legacy TBPL/Treeherder Robot)
Comment hidden (Legacy TBPL/Treeherder Robot)
Comment hidden (Legacy TBPL/Treeherder Robot)
Comment hidden (Legacy TBPL/Treeherder Robot)
Comment hidden (Legacy TBPL/Treeherder Robot)
Comment hidden (Legacy TBPL/Treeherder Robot)
Comment hidden (Legacy TBPL/Treeherder Robot)
Comment hidden (Legacy TBPL/Treeherder Robot)
Comment hidden (Legacy TBPL/Treeherder Robot)
Comment hidden (Legacy TBPL/Treeherder Robot)
Comment hidden (Legacy TBPL/Treeherder Robot)
Comment hidden (Legacy TBPL/Treeherder Robot)
Comment hidden (Legacy TBPL/Treeherder Robot)
Assignee

Comment 57

5 years ago
I noticed that I missed checking for "enabled" text in testSystemPages.

https://tbpl.mozilla.org/?tree=Try&rev=55cd083f5095
Assignee: nobody → liuche
Status: NEW → ASSIGNED
Flags: needinfo?(liuche)
Comment hidden (Legacy TBPL/Treeherder Robot)
Comment hidden (Legacy TBPL/Treeherder Robot)
Assignee

Comment 60

5 years ago
Comment on attachment 8409889 [details] [diff] [review]
Patch: Check for enabled text

Try run looks pretty green.
Attachment #8409889 - Flags: review?(gbrown)
Comment hidden (Legacy TBPL/Treeherder Robot)
Comment hidden (Legacy TBPL/Treeherder Robot)
Comment hidden (Legacy TBPL/Treeherder Robot)
Attachment #8409889 - Flags: review?(gbrown) → review+
Assignee

Comment 64

5 years ago
https://hg.mozilla.org/integration/fx-team/rev/980272b33c24
Target Milestone: --- → Firefox 31
Comment hidden (Legacy TBPL/Treeherder Robot)
Comment hidden (Legacy TBPL/Treeherder Robot)
https://hg.mozilla.org/mozilla-central/rev/980272b33c24
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Comment hidden (Legacy TBPL/Treeherder Robot)
Comment hidden (Legacy TBPL/Treeherder Robot)
Comment hidden (Legacy TBPL/Treeherder Robot)
Comment hidden (Legacy TBPL/Treeherder Robot)
Comment hidden (Legacy TBPL/Treeherder Robot)
You need to log in before you can comment on or make changes to this bug.