Closed Bug 766445 Opened 8 years ago Closed 8 years ago

Intermittent testAwesomebar | Exception caught - java.lang.SecurityException: Injecting to another application requires INJECT_EVENTS permission

Categories

(Firefox for Android :: General, defect)

ARM
Android
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: philor, Unassigned)

References

Details

(Keywords: intermittent-failure)

https://tbpl.mozilla.org/php/getParsedLog.php?id=12809392&tree=Mozilla-Inbound
Android Tegra 250 mozilla-inbound opt test robocop on 2012-06-19 17:51:44 PDT for push e5969cfec442
slave: tegra-159

1 INFO TEST-START | testAwesomebar
Exception caught during test!
java.lang.SecurityException: Injecting to another application requires INJECT_EVENTS permission
	at android.os.Parcel.readException(Parcel.java:1247)
	at android.os.Parcel.readException(Parcel.java:1235)
	at android.view.IWindowManager$Stub$Proxy.injectKeyEvent(IWindowManager.java:819)
	at android.app.Instrumentation.sendKeySync(Instrumentation.java:859)
	at android.app.Instrumentation.sendStringSync(Instrumentation.java:842)
	at org.mozilla.fennec.FennecNativeActions.sendKeys(FennecNativeActions.java:335)
	at org.mozilla.fennec.tests.BaseTest.enterUrl(BaseTest.java:169)
	at org.mozilla.fennec.tests.BaseTest.loadUrl(BaseTest.java:185)
	at org.mozilla.fennec.tests.testAwesomebar.testAwesomebar(testAwesomebar.java:13)
	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.fennec.tests.BaseTest.runTest(BaseTest.java:80)
	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)
2 INFO TEST-UNEXPECTED-FAIL | testAwesomebar | Exception caught - java.lang.SecurityException: Injecting to another application requires INJECT_EVENTS permission
3 INFO TEST-END | testAwesomebar | finished in 19430ms

https://tbpl.mozilla.org/php/getParsedLog.php?id=12812009&tree=Mozilla-Inbound
Android Tegra 250 mozilla-inbound opt test robocop on 2012-06-19 19:32:14 PDT for push 9823460492f1
slave: tegra-181
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → WORKSFORME
Whiteboard: [orange]
You need to log in before you can comment on or make changes to this bug.