Intermittent gfx/layers/apz/test/mochitest/test_group_touchevents-2.html | helper_bug1162771.html | Got unexpected touchstart on [object HTMLParagraphElement]
Categories
(Core :: Panning and Zooming, defect, P3)
Tracking
()
Tracking | Status | |
---|---|---|
firefox67 | --- | fixed |
People
(Reporter: intermittent-bug-filer, Assigned: eeejay)
References
Details
(Keywords: intermittent-failure)
Attachments
(1 file)
#[markdown(off)]
Filed by: cbrindusan [at] mozilla.com
https://treeherder.mozilla.org/logviewer.html#?job_id=225372806&repo=mozilla-inbound
[task 2019-02-01T04:58:33.345Z] 04:58:33 INFO - 69 INFO TEST-START | gfx/layers/apz/test/mochitest/test_group_touchevents-2.html
[task 2019-02-01T04:58:33.345Z] 04:58:33 INFO - Buffered messages logged at 04:58:24
[task 2019-02-01T04:58:33.345Z] 04:58:33 INFO - 70 INFO TEST-PASS | gfx/layers/apz/test/mochitest/test_group_touchevents-2.html | Check if TouchEvent is supported (it should be, the test harness forces it on everywhere)
[task 2019-02-01T04:58:33.346Z] 04:58:33 INFO - 71 INFO TEST-PASS | gfx/layers/apz/test/mochitest/test_group_touchevents-2.html | Starting subtest helper_bug1162771.html
[task 2019-02-01T04:58:33.346Z] 04:58:33 INFO - Buffered messages logged at 04:58:28
[task 2019-02-01T04:58:33.350Z] 04:58:33 INFO - 72 INFO must wait for load
[task 2019-02-01T04:58:33.350Z] 04:58:33 INFO - Buffered messages logged at 04:58:30
[task 2019-02-01T04:58:33.350Z] 04:58:33 INFO - 73 INFO TEST-PASS | gfx/layers/apz/test/mochitest/test_group_touchevents-2.html | helper_bug1162771.html | Set display to none on #video
[task 2019-02-01T04:58:33.350Z] 04:58:33 INFO - 74 INFO TEST-PASS | gfx/layers/apz/test/mochitest/test_group_touchevents-2.html | helper_bug1162771.html | Got touchend event on #video
[task 2019-02-01T04:58:33.350Z] 04:58:33 INFO - Buffered messages logged at 04:58:31
[task 2019-02-01T04:58:33.350Z] 04:58:33 INFO - 75 INFO TEST-PASS | gfx/layers/apz/test/mochitest/test_group_touchevents-2.html | helper_bug1162771.html | Touchend was received on video element
[task 2019-02-01T04:58:33.350Z] 04:58:33 INFO - Buffered messages finished
[task 2019-02-01T04:58:33.351Z] 04:58:33 INFO - 76 INFO TEST-UNEXPECTED-FAIL | gfx/layers/apz/test/mochitest/test_group_touchevents-2.html | helper_bug1162771.html | Got unexpected touchstart on [object HTMLParagraphElement]
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment 3•5 years ago
|
||
Seems like a relatively recent regression, started sometime around Jan 31 or so. I'm doing some retriggers to see if I can narrow it down.
Comment 4•5 years ago
|
||
So far the oldest instance of this failure I've found is here:
(Note that much of the orange you see here is from some unrelated failure).
This is just after bug 1515774 landed, and that seems like it could be a likely culprit since it does touch the codepaths that this test is exercising (android touch events). Eitan, do you have cycles to take a quick look and see if there's something in your patches that might have caused this?
Comment 5•5 years ago
|
||
In particular it might be that the motion events we synthesize for testing purposes at https://searchfox.org/mozilla-central/rev/01b4b3830ea3cae2e9e431019afa6391b471c6da/mobile/android/geckoview/src/main/java/org/mozilla/geckoview/PanZoomController.java#505 don't have proper getRawX()/getRawY() values and so the external pixel offset is garbage or intermittently wrong or something.
Comment 6•5 years ago
|
||
https://hg.mozilla.org/integration/autoland/rev/2e07c678817986f6d87cc6e441a60e7523044c54#l1.35 also sounds a bit sketchy. Where does this get sent to the gecko thread, and is it possible there's a race being introduced here?
Comment 7•5 years ago
|
||
Base revision: https://treeherder.mozilla.org/#/jobs?repo=mozilla-central&searchStr=android%2Cmochi&revision=2bf86657a4482f75eef4469686d2eb246ee55dd2 shows the failures
Base revision plus backout of the last two patches from bug 1515774: https://treeherder.mozilla.org/#/jobs?repo=try&group_state=expanded&revision=fd70c2e229c7c1abc4ac2dd71fa49d53a457b9ad shows no failures.
Might just be insufficient retriggers but more likely the problem is in one of those two patches.
Comment 8•5 years ago
|
||
Started one with same base revision plus backout of just the last patch from bug 1515774: https://treeherder.mozilla.org/#/jobs?repo=try&group_state=expanded&revision=8be40102bf993caa9217c0c47497c1d3f18b11a3
Comment hidden (Intermittent Failures Robot) |
Assignee | ||
Comment 11•5 years ago
|
||
OK, sorry this took me a bit to look into.
It looks like the problem is not garbage offsets, but a false offset of 0. When you synthesize MotionEvents you can't set the offset. So the test waffles back and fourth between its true offset that is set by draws or whatever, and a false zero offset that is set by this patch.
Assignee | ||
Comment 12•5 years ago
|
||
Comment hidden (Intermittent Failures Robot) |
Comment 14•5 years ago
|
||
Pushed by eisaacson@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/eb2c42e0c6cb Don't set the screen origin from synthesized MotionEvents. r=geckoview-reviewers,esawin
Comment 15•5 years ago
|
||
bugherder |
Comment hidden (Intermittent Failures Robot) |
Description
•