Closed Bug 1180351 Opened 9 years ago Closed 9 years ago

test_pointerlock-api.html fails on linux with --run-by-dir enabled

Categories

(Core :: DOM: Events, defect)

42 Branch
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla46
Tracking Status
firefox46 --- fixed

People

(Reporter: kaustabh93, Assigned: xidorn)

References

Details

Attachments

(1 file)

User Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:38.0) Gecko/20100101 Firefox/38.0 Build ID: 20150525141253
We want to make run-by-dir run reliably i.e. to minimize oranges. But as seen on try : https://treeherder.mozilla.org/#/jobs?repo=try&revision=cdbdecb24efa we are getting oranges due to test_pointerlock-api.html. This problem is specific to linux & does not occur in windows or mac. From the try : 264 INFO SimpleTest START 22:56:19 INFO - 265 INFO must wait for focus 22:56:19 INFO - 266 INFO TEST-PASS | dom/tests/mochitest/pointerlock/test_pointerlock-api.html | file_approval.html: Should only receive mozpointerlockchange when we've been approved for fullscreen. 22:56:19 INFO - 267 INFO TEST-PASS | dom/tests/mochitest/pointerlock/test_pointerlock-api.html | file_approval.html: Should only receive mozpointerlockchange when we've been approved for fullscreen. 22:56:19 INFO - 268 INFO must wait for focus 22:56:19 INFO - 269 INFO must wait for focus 22:56:19 INFO - 270 INFO TEST-PASS | dom/tests/mochitest/pointerlock/test_pointerlock-api.html | file_screenClientXYConst.html: Pointer should be unlocked 22:56:19 INFO - 271 INFO TEST-PASS | dom/tests/mochitest/pointerlock/test_pointerlock-api.html | file_screenClientXYConst.html: Pointer should be locked 22:56:19 INFO - 272 INFO TEST-UNEXPECTED-FAIL | dom/tests/mochitest/pointerlock/test_pointerlock-api.html | file_screenClientXYConst.html: clientX should be equal to where the mouse was originaly locked - got 250, expected 800 22:56:19 INFO - 273 INFO TEST-UNEXPECTED-FAIL | dom/tests/mochitest/pointerlock/test_pointerlock-api.html | file_screenClientXYConst.html: clientY should be equal to where the mouse was originaly locked - got 265, expected 600 22:56:19 INFO - 274 INFO TEST-UNEXPECTED-FAIL | dom/tests/mochitest/pointerlock/test_pointerlock-api.html | file_screenClientXYConst.html: screenX should be equal to where the mouse was originaly locked - got 250, expected 866 22:56:19 INFO - 275 INFO TEST-UNEXPECTED-FAIL | dom/tests/mochitest/pointerlock/test_pointerlock-api.html | file_screenClientXYConst.html: screenY should be equal to where the mouse was originaly locked - got 265, expected 652 22:56:19 INFO - [POINTERLOCK] Finishing file_screenClientXYConst.html 22:56:19 INFO - 276 INFO must wait for focus
Blocks: 1162003
Status: UNCONFIRMED → NEW
Ever confirmed: true
David, you are the original author of this, any tips for what might be causing this failure? I believe this is a solo test when it is run-by-dir.
Flags: needinfo?(david.humphrey)
clearing the needinfo here
Flags: needinfo?(david.humphrey)
Can anyone explain why the test is also disabled on Windows?
we should have updated the title of this, we did have frequent failures with this test on windows (and perma failures on linux) when run-by-dir is used (which is the case for our automation).
It looks pretty good for Linux now: https://treeherder.mozilla.org/#/jobs?repo=try&revision=c78a159bd996 Most of the oranges are just "Test attempted to use a flaky timeout value 250" which is fairly simple to suppress. There is one true intermittent, though, which is "file_infiniteMovement.html: Should have moved more than one screen's worth in width.TotalX: 625 Screensize X: 1584". But it happens only once for 200 runs there, so I think it is acceptable. I'll see whether it is also good for Windows now.
It looks like there is a high frequent intermittent failure on Win8 x64 opt build. That is the same intermittent as bug 1174323 which is observed on OS X. We probably can disable this specific subtest on Windows build as well. Or alternatively we can make the subtest more reliable and enable it everywhere.
Assignee: nobody → quanxunzhen
Comment on attachment 8702798 [details] MozReview Request: Bug 1180351 - Enable pointerlock tests on Windows and Linux. https://reviewboard.mozilla.org/r/29185/#review26005 ::: dom/tests/mochitest/pointerlock/file_screenClientXYConst.html:27 (Diff revision 1) > + SimpleTest.requestFlakyTimeout("We may need to wait for window's moving"); I don't understand requestFlakyTimeout usage when no setTimeout calls are added ::: dom/tests/mochitest/pointerlock/test_pointerlock-api.html:30 (Diff revision 1) > + SimpleTest.requestCompleteLog(); We don't want requestCompleteLog(), right? Is that some debugging only leftover? ::: dom/tests/mochitest/pointerlock/test_pointerlock-api.html:30 (Diff revision 1) > + SimpleTest.requestCompleteLog(); We don't want requestCompleteLog(), right? Is that some debugging only leftover?
(In reply to Olli Pettay [:smaug] from comment #12) > Comment on attachment 8702798 [details] > MozReview Request: Bug 1180351 - Enable pointerlock tests on Windows and > Linux. > > https://reviewboard.mozilla.org/r/29185/#review26005 > > ::: dom/tests/mochitest/pointerlock/file_screenClientXYConst.html:27 > (Diff revision 1) > > + SimpleTest.requestFlakyTimeout("We may need to wait for window's moving"); > > I don't understand requestFlakyTimeout usage when no setTimeout calls are > added > There is an existing setTimeout call in the test which is called intermittently. This requestFlakyTimeout is added for that. You can view the complete file in MozReview. > ::: dom/tests/mochitest/pointerlock/test_pointerlock-api.html:30 > (Diff revision 1) > > + SimpleTest.requestCompleteLog(); > > We don't want requestCompleteLog(), right? Is that some debugging only > leftover? I've removed debugging messages... If you don't think we should keep this, I can remove it.
Attachment #8702798 - Flags: review?(bugs)
Isn't requestCompleteLog going to create larger logs? I think we should use whatever default we have.
Attachment #8702798 - Flags: review?(bugs) → review+
Comment on attachment 8702798 [details] MozReview Request: Bug 1180351 - Enable pointerlock tests on Windows and Linux. https://reviewboard.mozilla.org/r/29185/#review26009 ::: dom/tests/mochitest/pointerlock/test_pointerlock-api.html:30 (Diff revision 1) > + SimpleTest.requestCompleteLog(); So I don't see any need for this.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla46
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: