Bug 1744372 Comment 5 Edit History

Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.

From the reports https://treeherder.mozilla.org/intermittent-failures/bugdetails?startday=2021-12-01&endday=2021-12-08&tree=trunk&bug=1744372 it looks like this is happening pretty much anywhere, so I wouldn't think it's related to the platform.

Have you tried running `./mach geckoview-junit org.mozilla.geckoview.OrientationDelegateTest --run-until-failure` ? that's usually a good way to reproduce intermittents like this one.

From the stacktrace:

```
org.mozilla.geckoview.test.util.UiThreadUtils$TimeoutException: Timed out after 30000ms
        at org.mozilla.geckoview.test.util.UiThreadUtils$TimeoutRunnable.run(UiThreadUtils.java:49)
        at android.os.Handler.handleCallback(Handler.java:751)
        at android.os.Handler.dispatchMessage(Handler.java:95)
        at org.mozilla.geckoview.test.util.UiThreadUtils.waitForCondition(UiThreadUtils.java:158)
        at org.mozilla.geckoview.test.rule.GeckoSessionTestRule.waitForMessage(GeckoSessionTestRule.java:2183)
        at org.mozilla.geckoview.test.rule.GeckoSessionTestRule.evaluateJS(GeckoSessionTestRule.java:2143)
        at org.mozilla.geckoview.test.rule.GeckoSessionTestRule$ExtensionPromise.getValue(GeckoSessionTestRule.java:2110)
        at org.mozilla.geckoview.test.OrientationDelegateTest.orientationLockedAlready(OrientationDelegateTest.kt:57)
        at java.lang.reflect.Method.invoke(Native Method)
```

it looks like the test is timing out here: https://searchfox.org/mozilla-central/rev/1674b86019a96f076e0f98f1d0f5f3ab9d4e9020/mobile/android/geckoview/src/androidTest/java/org/mozilla/geckoview/test/OrientationDelegateTest.kt#57 so maybe the promise is not resolving in this case? There could be a JavaScript error somewhere in the logs too.
From the reports https://treeherder.mozilla.org/intermittent-failures/bugdetails?startday=2021-12-01&endday=2021-12-08&tree=trunk&bug=1744372 it looks like this is happening pretty much anywhere, so I wouldn't think it's related to the platform.

Have you tried running `./mach geckoview-junit org.mozilla.geckoview.test.OrientationDelegateTest --run-until-failure` ? that's usually a good way to reproduce intermittents like this one.

From the stacktrace:

```
org.mozilla.geckoview.test.util.UiThreadUtils$TimeoutException: Timed out after 30000ms
        at org.mozilla.geckoview.test.util.UiThreadUtils$TimeoutRunnable.run(UiThreadUtils.java:49)
        at android.os.Handler.handleCallback(Handler.java:751)
        at android.os.Handler.dispatchMessage(Handler.java:95)
        at org.mozilla.geckoview.test.util.UiThreadUtils.waitForCondition(UiThreadUtils.java:158)
        at org.mozilla.geckoview.test.rule.GeckoSessionTestRule.waitForMessage(GeckoSessionTestRule.java:2183)
        at org.mozilla.geckoview.test.rule.GeckoSessionTestRule.evaluateJS(GeckoSessionTestRule.java:2143)
        at org.mozilla.geckoview.test.rule.GeckoSessionTestRule$ExtensionPromise.getValue(GeckoSessionTestRule.java:2110)
        at org.mozilla.geckoview.test.OrientationDelegateTest.orientationLockedAlready(OrientationDelegateTest.kt:57)
        at java.lang.reflect.Method.invoke(Native Method)
```

it looks like the test is timing out here: https://searchfox.org/mozilla-central/rev/1674b86019a96f076e0f98f1d0f5f3ab9d4e9020/mobile/android/geckoview/src/androidTest/java/org/mozilla/geckoview/test/OrientationDelegateTest.kt#57 so maybe the promise is not resolving in this case? There could be a JavaScript error somewhere in the logs too.

Back to Bug 1744372 Comment 5