Closed Bug 1683028 Opened 4 years ago Closed 2 years ago

Intermittent org.mozilla.geckoview.test.TextInputDelegateTest#restartInput_temporaryFocus[#input] | java.lang.AssertionError: restartInput should be called specified number of times

Categories

(GeckoView :: IME, defect, P5)

Unspecified
All
defect

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1532202

People

(Reporter: intermittent-bug-filer, Unassigned)

References

(Blocks 1 open bug)

Details

(Keywords: assertion, intermittent-failure)

Filed by: ncsoregi [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer?job_id=324780540&repo=autoland
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/d0GCUyazQcCIRSBOgMKuYQ/runs/0/artifacts/public/logs/live_backing.log


[task 2020-12-17T04:10:22.743Z] 04:10:22     INFO -  TEST-START | org.mozilla.geckoview.test.TextInputDelegateTest.restartInput_temporaryFocus[#input]
[task 2020-12-17T04:10:24.502Z] 04:10:24     INFO -  org.mozilla.geckoview.test | INSTRUMENTATION_STATUS: numtests=770
[task 2020-12-17T04:10:24.502Z] 04:10:24     INFO -  org.mozilla.geckoview.test | INSTRUMENTATION_STATUS: stream=
[task 2020-12-17T04:10:24.502Z] 04:10:24     INFO -  org.mozilla.geckoview.test | Error in restartInput_temporaryFocus[#input](org.mozilla.geckoview.test.TextInputDelegateTest):
[task 2020-12-17T04:10:24.502Z] 04:10:24     INFO -  org.mozilla.geckoview.test | java.lang.AssertionError: restartInput should be called specified number of times
[task 2020-12-17T04:10:24.502Z] 04:10:24     INFO -  org.mozilla.geckoview.test | Expected: <1>
[task 2020-12-17T04:10:24.502Z] 04:10:24     INFO -  org.mozilla.geckoview.test |      but: was <3>
[task 2020-12-17T04:10:24.503Z] 04:10:24     INFO -  org.mozilla.geckoview.test | 	at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20)
[task 2020-12-17T04:10:24.503Z] 04:10:24     INFO -  org.mozilla.geckoview.test | 	at org.junit.Assert.assertThat(Assert.java:956)
[task 2020-12-17T04:10:24.503Z] 04:10:24     INFO -  org.mozilla.geckoview.test | 	at org.junit.rules.ErrorCollector$1.call(ErrorCollector.java:65)
[task 2020-12-17T04:10:24.503Z] 04:10:24     INFO -  org.mozilla.geckoview.test | 	at org.junit.rules.ErrorCollector.checkSucceeds(ErrorCollector.java:78)
[task 2020-12-17T04:10:24.503Z] 04:10:24     INFO -  org.mozilla.geckoview.test | 	at org.junit.rules.ErrorCollector.checkThat(ErrorCollector.java:63)
[task 2020-12-17T04:10:24.503Z] 04:10:24     INFO -  org.mozilla.geckoview.test | 	at org.mozilla.geckoview.test.rule.GeckoSessionTestRule.checkThat(GeckoSessionTestRule.java:826)
[task 2020-12-17T04:10:24.503Z] 04:10:24     INFO -  org.mozilla.geckoview.test | 	at org.mozilla.geckoview.test.rule.GeckoSessionTestRule.assertMatchesCount(GeckoSessionTestRule.java:860)
[task 2020-12-17T04:10:24.504Z] 04:10:24     INFO -  org.mozilla.geckoview.test | 	at org.mozilla.geckoview.test.rule.GeckoSessionTestRule.forCallbacksDuringWait(GeckoSessionTestRule.java:1725)
[task 2020-12-17T04:10:24.504Z] 04:10:24     INFO -  org.mozilla.geckoview.test | 	at org.mozilla.geckoview.test.rule.GeckoSessionTestRule.waitUntilCalled(GeckoSessionTestRule.java:1530)
[task 2020-12-17T04:10:24.504Z] 04:10:24     INFO -  org.mozilla.geckoview.test | 	at org.mozilla.geckoview.test.BaseSessionTest.waitUntilCalled(BaseSessionTest.kt:156)
[task 2020-12-17T04:10:24.504Z] 04:10:24     INFO -  org.mozilla.geckoview.test | 	at org.mozilla.geckoview.test.TextInputDelegateTest.restartInput_temporaryFocus(TextInputDelegateTest.kt:243)
[task 2020-12-17T04:10:24.504Z] 04:10:24     INFO -  org.mozilla.geckoview.test | 	at java.lang.reflect.Method.invoke(Native Method)
[task 2020-12-17T04:10:24.504Z] 04:10:24     INFO -  org.mozilla.geckoview.test | 	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
[task 2020-12-17T04:10:24.504Z] 04:10:24     INFO -  org.mozilla.geckoview.test | 	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
[task 2020-12-17T04:10:24.504Z] 04:10:24     INFO -  org.mozilla.geckoview.test | 	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
[task 2020-12-17T04:10:24.504Z] 04:10:24     INFO -  org.mozilla.geckoview.test | 	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
[task 2020-12-17T04:10:24.504Z] 04:10:24     INFO -  org.mozilla.geckoview.test | 	at org.mozilla.geckoview.test.rule.GeckoSessionTestRule$2.lambda$evaluate$0$GeckoSessionTestRule$2(GeckoSessionTestRule.java:1313)
[task 2020-12-17T04:10:24.505Z] 04:10:24     INFO -  org.mozilla.geckoview.test | 	at org.mozilla.geckoview.test.rule.-$$Lambda$GeckoSessionTestRule$2$sIbRNaZJgAu-QrUVWSGD8JbPSWM.run(lambda)
[task 2020-12-17T04:10:24.505Z] 04:10:24     INFO -  org.mozilla.geckoview.test | 	at android.app.Instrumentation$SyncRunnable.run(Instrumentation.java:1950)
[task 2020-12-17T04:10:24.505Z] 04:10:24     INFO -  org.mozilla.geckoview.test | 	at android.os.Handler.handleCallback(Handler.java:751)
[task 2020-12-17T04:10:24.506Z] 04:10:24     INFO -  org.mozilla.geckoview.test | 	at android.os.Handler.dispatchMessage(Handler.java:95)
[task 2020-12-17T04:10:24.506Z] 04:10:24     INFO -  org.mozilla.geckoview.test | 	at android.os.Looper.loop(Looper.java:154)
[task 2020-12-17T04:10:24.506Z] 04:10:24     INFO -  org.mozilla.geckoview.test | 	at android.app.ActivityThread.main(ActivityThread.java:6077)
[task 2020-12-17T04:10:24.506Z] 04:10:24     INFO -  org.mozilla.geckoview.test | 	at java.lang.reflect.Method.invoke(Native Method)
[task 2020-12-17T04:10:24.506Z] 04:10:24     INFO -  org.mozilla.geckoview.test | 	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:866)
[task 2020-12-17T04:10:24.506Z] 04:10:24     INFO -  org.mozilla.geckoview.test | 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:756)
[task 2020-12-17T04:10:24.506Z] 04:10:24     INFO -  org.mozilla.geckoview.test |
[task 2020-12-17T04:10:24.506Z] 04:10:24     INFO -  org.mozilla.geckoview.test | INSTRUMENTATION_STATUS: id=AndroidJUnitRunner
[task 2020-12-17T04:10:24.506Z] 04:10:24     INFO -  org.mozilla.geckoview.test | INSTRUMENTATION_STATUS: test=restartInput_temporaryFocus[#input]
[task 2020-12-17T04:10:24.506Z] 04:10:24     INFO -  org.mozilla.geckoview.test | INSTRUMENTATION_STATUS: class=org.mozilla.geckoview.test.TextInputDelegateTest
[task 2020-12-17T04:10:24.506Z] 04:10:24     INFO -  org.mozilla.geckoview.test | INSTRUMENTATION_STATUS: stack=java.lang.AssertionError: restartInput should be called specified number of times
[task 2020-12-17T04:10:24.506Z] 04:10:24     INFO -  org.mozilla.geckoview.test | Expected: <1>
[task 2020-12-17T04:10:24.506Z] 04:10:24     INFO -  org.mozilla.geckoview.test |      but: was <3>
[task 2020-12-17T04:10:24.506Z] 04:10:24     INFO -  org.mozilla.geckoview.test | 	at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20)
[task 2020-12-17T04:10:24.506Z] 04:10:24     INFO -  org.mozilla.geckoview.test | 	at org.junit.Assert.assertThat(Assert.java:956)
[task 2020-12-17T04:10:24.506Z] 04:10:24     INFO -  org.mozilla.geckoview.test | 	at org.junit.rules.ErrorCollector$1.call(ErrorCollector.java:65)
[task 2020-12-17T04:10:24.506Z] 04:10:24     INFO -  org.mozilla.geckoview.test | 	at org.junit.rules.ErrorCollector.checkSucceeds(ErrorCollector.java:78)
[task 2020-12-17T04:10:24.506Z] 04:10:24     INFO -  org.mozilla.geckoview.test | 	at org.junit.rules.ErrorCollector.checkThat(ErrorCollector.java:63)
[task 2020-12-17T04:10:24.506Z] 04:10:24     INFO -  org.mozilla.geckoview.test | 	at org.mozilla.geckoview.test.rule.GeckoSessionTestRule.checkThat(GeckoSessionTestRule.java:826)
[task 2020-12-17T04:10:24.506Z] 04:10:24     INFO -  org.mozilla.geckoview.test | 	at org.mozilla.geckoview.test.rule.GeckoSessionTestRule.assertMatchesCount(GeckoSessionTestRule.java:860)
[task 2020-12-17T04:10:24.506Z] 04:10:24     INFO -  org.mozilla.geckoview.test | 	at org.mozilla.geckoview.test.rule.GeckoSessionTestRule.forCallbacksDuringWait(GeckoSessionTestRule.java:1725)
[task 2020-12-17T04:10:24.506Z] 04:10:24     INFO -  org.mozilla.geckoview.test | 	at org.mozilla.geckoview.test.rule.GeckoSessionTestRule.waitUntilCalled(GeckoSessionTestRule.java:1530)
[task 2020-12-17T04:10:24.506Z] 04:10:24     INFO -  org.mozilla.geckoview.test | 	at org.mozilla.geckoview.test.BaseSessionTest.waitUntilCalled(BaseSessionTest.kt:156)
[task 2020-12-17T04:10:24.507Z] 04:10:24     INFO -  org.mozilla.geckoview.test | 	at org.mozilla.geckoview.test.TextInputDelegateTest.restartInput_temporaryFocus(TextInputDelegateTest.kt:243)
[task 2020-12-17T04:10:24.507Z] 04:10:24     INFO -  org.mozilla.geckoview.test | 	at java.lang.reflect.Method.invoke(Native Method)
[task 2020-12-17T04:10:24.507Z] 04:10:24     INFO -  org.mozilla.geckoview.test | 	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
[task 2020-12-17T04:10:24.507Z] 04:10:24     INFO -  org.mozilla.geckoview.test | 	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
[task 2020-12-17T04:10:24.507Z] 04:10:24     INFO -  org.mozilla.geckoview.test | 	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
[task 2020-12-17T04:10:24.507Z] 04:10:24     INFO -  org.mozilla.geckoview.test | 	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
[task 2020-12-17T04:10:24.507Z] 04:10:24     INFO -  org.mozilla.geckoview.test | 	at org.mozilla.geckoview.test.rule.GeckoSessionTestRule$2.lambda$evaluate$0$GeckoSessionTestRule$2(GeckoSessionTestRule.java:1313)
[task 2020-12-17T04:10:24.507Z] 04:10:24     INFO -  org.mozilla.geckoview.test | 	at org.mozilla.geckoview.test.rule.-$$Lambda$GeckoSessionTestRule$2$sIbRNaZJgAu-QrUVWSGD8JbPSWM.run(lambda)
[task 2020-12-17T04:10:24.507Z] 04:10:24     INFO -  org.mozilla.geckoview.test | 	at android.app.Instrumentation$SyncRunnable.run(Instrumentation.java:1950)
[task 2020-12-17T04:10:24.507Z] 04:10:24     INFO -  org.mozilla.geckoview.test | 	at android.os.Handler.handleCallback(Handler.java:751)
[task 2020-12-17T04:10:24.507Z] 04:10:24     INFO -  org.mozilla.geckoview.test | 	at android.os.Handler.dispatchMessage(Handler.java:95)
[task 2020-12-17T04:10:24.507Z] 04:10:24     INFO -  org.mozilla.geckoview.test | 	at android.os.Looper.loop(Looper.java:154)
[task 2020-12-17T04:10:24.507Z] 04:10:24     INFO -  org.mozilla.geckoview.test | 	at android.app.ActivityThread.main(ActivityThread.java:6077)
[task 2020-12-17T04:10:24.508Z] 04:10:24     INFO -  org.mozilla.geckoview.test | 	at java.lang.reflect.Method.invoke(Native Method)
[task 2020-12-17T04:10:24.508Z] 04:10:24     INFO -  org.mozilla.geckoview.test | 	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:866)
[task 2020-12-17T04:10:24.508Z] 04:10:24     INFO -  org.mozilla.geckoview.test | 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:756)
[task 2020-12-17T04:10:24.508Z] 04:10:24     INFO -  org.mozilla.geckoview.test |
[task 2020-12-17T04:10:24.508Z] 04:10:24     INFO -  org.mozilla.geckoview.test | INSTRUMENTATION_STATUS: current=596
[task 2020-12-17T04:10:24.508Z] 04:10:24     INFO -  org.mozilla.geckoview.test | INSTRUMENTATION_STATUS_CODE: -2
[task 2020-12-17T04:10:24.508Z] 04:10:24  WARNING -  TEST-UNEXPECTED-FAIL | org.mozilla.geckoview.test.TextInputDelegateTest.restartInput_temporaryFocus[#input] | java.lang.AssertionError: restartInput should be called specified number of times
[task 2020-12-17T04:10:24.508Z] 04:10:24     INFO -  TEST-INFO took 1762ms```

6c6f5da9-bf33-4082-a19d-7d99e8083d97 Mass rename intermittents due to Bug 1723034.

Summary: Intermittent org.mozilla.geckoview.test.TextInputDelegateTest.restartInput_temporaryFocus[#input] | java.lang.AssertionError: restartInput should be called specified number of times → Intermittent org.mozilla.geckoview.test.TextInputDelegateTest#restartInput_temporaryFocus[#input] | java.lang.AssertionError: restartInput should be called specified number of times

Moving some input bugs to the new GeckoView::IME component.

Component: General → IME
Status: NEW → RESOLVED
Closed: 2 years ago
Duplicate of bug: 1532202
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.