Closed Bug 1574361 Opened 4 months ago Closed 3 months ago

Perma org.mozilla.geckoview.test.WebNotificationTest.onShowNotification | status -2 when Gecko 70 merges to Beta on 2019-08-26

Categories

(GeckoView :: General, defect, P5)

Unspecified
All
defect

Tracking

(firefox-esr60 unaffected, firefox-esr68 unaffected, firefox68 unaffected, firefox69 unaffected, firefox70- fixed, firefox71+ verified)

VERIFIED FIXED
mozilla71
Tracking Status
firefox-esr60 --- unaffected
firefox-esr68 --- unaffected
firefox68 --- unaffected
firefox69 --- unaffected
firefox70 - fixed
firefox71 + verified

People

(Reporter: intermittent-bug-filer, Assigned: Agi)

References

(Blocks 1 open bug, Regression)

Details

(Keywords: intermittent-failure, regression)

Attachments

(1 file)

Filed by: opoprus [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer.html#?job_id=261893679&repo=autoland
Full log: https://queue.taskcluster.net/v1/task/RNNkd7wYSQa9TtQD6qlIkg/runs/0/artifacts/public/logs/live_backing.log


[task 2019-08-16T00:14:08.448Z] 00:14:08 INFO - TEST-START | org.mozilla.geckoview.test.WebNotificationTest.onShowNotification
[task 2019-08-16T00:14:09.052Z] 00:14:09 INFO - org.mozilla.geckoview.test | INSTRUMENTATION_STATUS: numtests=497
[task 2019-08-16T00:14:09.052Z] 00:14:09 INFO - org.mozilla.geckoview.test | INSTRUMENTATION_STATUS: stream=
[task 2019-08-16T00:14:09.052Z] 00:14:09 INFO - org.mozilla.geckoview.test | Error in onShowNotification(org.mozilla.geckoview.test.WebNotificationTest):
[task 2019-08-16T00:14:09.052Z] 00:14:09 INFO - org.mozilla.geckoview.test | java.lang.AssertionError: Permission should be granted
[task 2019-08-16T00:14:09.052Z] 00:14:09 INFO - org.mozilla.geckoview.test | Expected: "granted"
[task 2019-08-16T00:14:09.052Z] 00:14:09 INFO - org.mozilla.geckoview.test | but: was "default"
[task 2019-08-16T00:14:09.052Z] 00:14:09 INFO - org.mozilla.geckoview.test | at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20)
[task 2019-08-16T00:14:09.052Z] 00:14:09 INFO - org.mozilla.geckoview.test | at org.junit.Assert.assertThat(Assert.java:956)
[task 2019-08-16T00:14:09.052Z] 00:14:09 INFO - org.mozilla.geckoview.test | at org.junit.rules.ErrorCollector$1.call(ErrorCollector.java:65)
[task 2019-08-16T00:14:09.052Z] 00:14:09 INFO - org.mozilla.geckoview.test | at org.junit.rules.ErrorCollector.checkSucceeds(ErrorCollector.java:78)
[task 2019-08-16T00:14:09.052Z] 00:14:09 INFO - org.mozilla.geckoview.test | at org.junit.rules.ErrorCollector.checkThat(ErrorCollector.java:63)
[task 2019-08-16T00:14:09.052Z] 00:14:09 INFO - org.mozilla.geckoview.test | at org.mozilla.geckoview.test.rule.GeckoSessionTestRule.checkThat(GeckoSessionTestRule.java:806)
[task 2019-08-16T00:14:09.052Z] 00:14:09 INFO - org.mozilla.geckoview.test | at org.mozilla.geckoview.test.BaseSessionTest.assertThat(BaseSessionTest.kt:70)
[task 2019-08-16T00:14:09.052Z] 00:14:09 INFO - org.mozilla.geckoview.test | at org.mozilla.geckoview.test.WebNotificationTest.setup(WebNotificationTest.kt:23)
[task 2019-08-16T00:14:09.052Z] 00:14:09 INFO - org.mozilla.geckoview.test | at java.lang.reflect.Method.invoke(Native Method)
[task 2019-08-16T00:14:09.052Z] 00:14:09 INFO - org.mozilla.geckoview.test | at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
[task 2019-08-16T00:14:09.052Z] 00:14:09 INFO - org.mozilla.geckoview.test | at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
[task 2019-08-16T00:14:09.052Z] 00:14:09 INFO - org.mozilla.geckoview.test | at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
[task 2019-08-16T00:14:09.052Z] 00:14:09 INFO - org.mozilla.geckoview.test | at android.support.test.internal.runner.junit4.statement.RunBefores.evaluate(RunBefores.java:76)
[task 2019-08-16T00:14:09.052Z] 00:14:09 INFO - org.mozilla.geckoview.test | at org.mozilla.geckoview.test.rule.GeckoSessionTestRule$2.lambda$evaluate$0$GeckoSessionTestRule$2(GeckoSessionTestRule.java:1267)
[task 2019-08-16T00:14:09.052Z] 00:14:09 INFO - org.mozilla.geckoview.test | at org.mozilla.geckoview.test.rule.-$$Lambda$GeckoSessionTestRule$2$mzZNnl5Bu5F2_4xGxj0DHU4J33I.run(lambda)
[task 2019-08-16T00:14:09.052Z] 00:14:09 INFO - org.mozilla.geckoview.test | at android.app.Instrumentation$SyncRunnable.run(Instrumentation.java:1950)
[task 2019-08-16T00:14:09.052Z] 00:14:09 INFO - org.mozilla.geckoview.test | at android.os.Handler.handleCallback(Handler.java:751)
[task 2019-08-16T00:14:09.052Z] 00:14:09 INFO - org.mozilla.geckoview.test | at android.os.Handler.dispatchMessage(Handler.java:95)
[task 2019-08-16T00:14:09.052Z] 00:14:09 INFO - org.mozilla.geckoview.test | at android.os.Looper.loop(Looper.java:154)
[task 2019-08-16T00:14:09.052Z] 00:14:09 INFO - org.mozilla.geckoview.test | at android.app.ActivityThread.main(ActivityThread.java:6077)
[task 2019-08-16T00:14:09.052Z] 00:14:09 INFO - org.mozilla.geckoview.test | at java.lang.reflect.Method.invoke(Native Method)
[task 2019-08-16T00:14:09.052Z] 00:14:09 INFO - org.mozilla.geckoview.test | at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:866)
[task 2019-08-16T00:14:09.052Z] 00:14:09 INFO - org.mozilla.geckoview.test | at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:756)
[task 2019-08-16T00:14:09.052Z] 00:14:09 INFO - org.mozilla.geckoview.test |
[task 2019-08-16T00:14:09.052Z] 00:14:09 INFO - org.mozilla.geckoview.test | INSTRUMENTATION_STATUS: id=AndroidJUnitRunner
[task 2019-08-16T00:14:09.052Z] 00:14:09 INFO - org.mozilla.geckoview.test | INSTRUMENTATION_STATUS: test=onShowNotification
[task 2019-08-16T00:14:09.052Z] 00:14:09 INFO - org.mozilla.geckoview.test | INSTRUMENTATION_STATUS: class=org.mozilla.geckoview.test.WebNotificationTest
[task 2019-08-16T00:14:09.052Z] 00:14:09 INFO - org.mozilla.geckoview.test | INSTRUMENTATION_STATUS: stack=java.lang.AssertionError: Permission should be granted
[task 2019-08-16T00:14:09.052Z] 00:14:09 INFO - org.mozilla.geckoview.test | Expected: "granted"
[task 2019-08-16T00:14:09.052Z] 00:14:09 INFO - org.mozilla.geckoview.test | but: was "default"
[task 2019-08-16T00:14:09.052Z] 00:14:09 INFO - org.mozilla.geckoview.test | at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20)
[task 2019-08-16T00:14:09.052Z] 00:14:09 INFO - org.mozilla.geckoview.test | at org.junit.Assert.assertThat(Assert.java:956)
[task 2019-08-16T00:14:09.052Z] 00:14:09 INFO - org.mozilla.geckoview.test | at org.junit.rules.ErrorCollector$1.call(ErrorCollector.java:65)
[task 2019-08-16T00:14:09.052Z] 00:14:09 INFO - org.mozilla.geckoview.test | at org.junit.rules.ErrorCollector.checkSucceeds(ErrorCollector.java:78)
[task 2019-08-16T00:14:09.052Z] 00:14:09 INFO - org.mozilla.geckoview.test | at org.junit.rules.ErrorCollector.checkThat(ErrorCollector.java:63)
[task 2019-08-16T00:14:09.053Z] 00:14:09 INFO - org.mozilla.geckoview.test | at org.mozilla.geckoview.test.rule.GeckoSessionTestRule.checkThat(GeckoSessionTestRule.java:806)
[task 2019-08-16T00:14:09.053Z] 00:14:09 INFO - org.mozilla.geckoview.test | at org.mozilla.geckoview.test.BaseSessionTest.assertThat(BaseSessionTest.kt:70)
[task 2019-08-16T00:14:09.053Z] 00:14:09 INFO - org.mozilla.geckoview.test | at org.mozilla.geckoview.test.WebNotificationTest.setup(WebNotificationTest.kt:23)
[task 2019-08-16T00:14:09.053Z] 00:14:09 INFO - org.mozilla.geckoview.test | at java.lang.reflect.Method.invoke(Native Method)
[task 2019-08-16T00:14:09.053Z] 00:14:09 INFO - org.mozilla.geckoview.test | at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
[task 2019-08-16T00:14:09.053Z] 00:14:09 INFO - org.mozilla.geckoview.test | at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
[task 2019-08-16T00:14:09.054Z] 00:14:09 INFO - org.mozilla.geckoview.test | at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
[task 2019-08-16T00:14:09.054Z] 00:14:09 INFO - org.mozilla.geckoview.test | at android.support.test.internal.runner.junit4.statement.RunBefores.evaluate(RunBefores.java:76)
[task 2019-08-16T00:14:09.055Z] 00:14:09 INFO - org.mozilla.geckoview.test | at org.mozilla.geckoview.test.rule.GeckoSessionTestRule$2.lambda$evaluate$0$GeckoSessionTestRule$2(GeckoSessionTestRule.java:1267)
[task 2019-08-16T00:14:09.055Z] 00:14:09 INFO - org.mozilla.geckoview.test | at org.mozilla.geckoview.test.rule.-$$Lambda$GeckoSessionTestRule$2$mzZNnl5Bu5F2_4xGxj0DHU4J33I.run(lambda)
[task 2019-08-16T00:14:09.055Z] 00:14:09 INFO - org.mozilla.geckoview.test | at android.app.Instrumentation$SyncRunnable.run(Instrumentation.java:1950)
[task 2019-08-16T00:14:09.055Z] 00:14:09 INFO - org.mozilla.geckoview.test | at android.os.Handler.handleCallback(Handler.java:751)
[task 2019-08-16T00:14:09.055Z] 00:14:09 INFO - org.mozilla.geckoview.test | at android.os.Handler.dispatchMessage(Handler.java:95)
[task 2019-08-16T00:14:09.055Z] 00:14:09 INFO - org.mozilla.geckoview.test | at android.os.Looper.loop(Looper.java:154)
[task 2019-08-16T00:14:09.055Z] 00:14:09 INFO - org.mozilla.geckoview.test | at android.app.ActivityThread.main(ActivityThread.java:6077)
[task 2019-08-16T00:14:09.056Z] 00:14:09 INFO - org.mozilla.geckoview.test | at java.lang.reflect.Method.invoke(Native Method)
[task 2019-08-16T00:14:09.056Z] 00:14:09 INFO - org.mozilla.geckoview.test | at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:866)
[task 2019-08-16T00:14:09.056Z] 00:14:09 INFO - org.mozilla.geckoview.test | at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:756)
[task 2019-08-16T00:14:09.056Z] 00:14:09 INFO - org.mozilla.geckoview.test |
[task 2019-08-16T00:14:09.056Z] 00:14:09 INFO - org.mozilla.geckoview.test | INSTRUMENTATION_STATUS: current=468
[task 2019-08-16T00:14:09.056Z] 00:14:09 INFO - org.mozilla.geckoview.test | INSTRUMENTATION_STATUS_CODE: -2
[task 2019-08-16T00:14:09.056Z] 00:14:09 WARNING - TEST-UNEXPECTED-FAIL | org.mozilla.geckoview.test.WebNotificationTest.onShowNotification | status -2
[task 2019-08-16T00:14:09.056Z] 00:14:09 INFO - TEST-INFO took 606ms
[task 2019-08-16T00:14:09.056Z] 00:14:09 INFO - org.mozilla.geckoview.test | INSTRUMENTATION_STATUS: numtests=497
[task 2019-08-16T00:14:09.057Z] 00:14:09 INFO - org.mozilla.geckoview.test | INSTRUMENTATION_STATUS: stream=
[task 2019-08-16T00:14:09.057Z] 00:14:09 INFO - org.mozilla.geckoview.test | INSTRUMENTATION_STATUS: id=AndroidJUnitRunner
[task 2019-08-16T00:14:09.057Z] 00:14:09 INFO - org.mozilla.geckoview.test | INSTRUMENTATION_STATUS: test=onCloseNotification
[task 2019-08-16T00:14:09.057Z] 00:14:09 INFO - org.mozilla.geckoview.test | INSTRUMENTATION_STATUS: class=org.mozilla.geckoview.test.WebNotificationTest
[task 2019-08-16T00:14:09.059Z] 00:14:09 INFO - org.mozilla.geckoview.test | INSTRUMENTATION_STATUS: current=469
[task 2019-08-16T00:14:09.059Z] 00:14:09 INFO - org.mozilla.geckoview.test | INSTRUMENTATION_STATUS_CODE: 1

Agi, can you check why this is failing on beta, please?

Flags: needinfo?(chrispetersen) → needinfo?(agi)
Regressed by: 1533057
Summary: Intermittent org.mozilla.geckoview.test.WebNotificationTest.onShowNotification | status -2 → Perma org.mozilla.geckoview.test.WebNotificationTest.onShowNotification | status -2 when Gecko 70 merges to Beta on 2019-08-26

Sounds like an easy fix, thanks for looking at it aryx. I'll send a patch soon.

Flags: needinfo?(agi)
Pushed by asferro@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/ee3c8a5445ff
Don't assume value of requireInteraction in tests. r=snorp
Assignee: nobody → agi
Status: NEW → RESOLVED
Closed: 3 months ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla71
You need to log in before you can comment on or make changes to this bug.