Closed Bug 1833142 Opened 1 year ago Closed 3 months ago

Intermittent dom/tests/mochitest/pointerlock/test_pointerlock-api.html | single tracking bug

Categories

(Core :: DOM: Core & HTML, defect)

defect

Tracking

()

RESOLVED FIXED

People

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

References

Details

(Keywords: intermittent-failure, intermittent-testcase, Whiteboard: [stockwell disabled])

Attachments

(2 files)

Filed by: nfay [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer?job_id=415798857&repo=mozilla-central
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/YhWVpQM6Rk-80mRIBT1DZQ/runs/0/artifacts/public/logs/live_backing.log


[task 2023-05-15T12:25:31.190Z] 12:25:31     INFO - TEST-PASS | dom/tests/mochitest/pointerlock/test_pointerlock-api.html | file_pointerlock-api-with-shadow.html: Element should have requestPointerLock. 
[task 2023-05-15T12:25:31.190Z] 12:25:31     INFO - TEST-PASS | dom/tests/mochitest/pointerlock/test_pointerlock-api.html | file_pointerlock-api-with-shadow.html: pointerlockchange event should fire. 
[task 2023-05-15T12:25:31.190Z] 12:25:31     INFO - TEST-PASS | dom/tests/mochitest/pointerlock/test_pointerlock-api.html | file_pointerlock-api-with-shadow.html: Should be able to unlock pointer locked element. 
[task 2023-05-15T12:25:31.191Z] 12:25:31     INFO - TEST-PASS | dom/tests/mochitest/pointerlock/test_pointerlock-api.html | file_pointerlock-api-with-shadow.html: Requested element should be able to lock. 
[task 2023-05-15T12:25:31.191Z] 12:25:31     INFO - TEST-PASS | dom/tests/mochitest/pointerlock/test_pointerlock-api.html | file_pointerlock-api-with-shadow.html: Document should have exitPointerLock 
[task 2023-05-15T12:25:31.192Z] 12:25:31     INFO - TEST-PASS | dom/tests/mochitest/pointerlock/test_pointerlock-api.html | file_pointerlock-api-with-shadow.html: Document should keep track of correct pointer locked element 
[task 2023-05-15T12:25:31.192Z] 12:25:31     INFO - TEST-PASS | dom/tests/mochitest/pointerlock/test_pointerlock-api.html | file_pointerlock-api-with-shadow.html: Mouse Event should have movementX. 
[task 2023-05-15T12:25:31.193Z] 12:25:31     INFO - TEST-PASS | dom/tests/mochitest/pointerlock/test_pointerlock-api.html | file_pointerlock-api-with-shadow.html: Mouse Event should have movementY. 
[task 2023-05-15T12:25:31.193Z] 12:25:31     INFO - TEST-PASS | dom/tests/mochitest/pointerlock/test_pointerlock-api.html | file_pointerlock-api-with-shadow.html: Shouldn't have got a contextmenu event. 
[task 2023-05-15T12:25:31.193Z] 12:25:31     INFO - must wait for focus
[task 2023-05-15T12:25:31.194Z] 12:25:31     INFO - Testing file_pointerlockerror.html
[task 2023-05-15T12:25:31.194Z] 12:25:31     INFO - file_pointerlockerror.html: Resetting fullscreen enter count.
[task 2023-05-15T12:25:31.195Z] 12:25:31     INFO - TEST-PASS | dom/tests/mochitest/pointerlock/test_pointerlock-api.html | file_pointerlockerror.html: pointerlockerror event should fire. 
[task 2023-05-15T12:25:31.195Z] 12:25:31     INFO - must wait for focus
[task 2023-05-15T12:25:31.195Z] 12:25:31     INFO - Testing file_pointerLockPref.html
[task 2023-05-15T12:25:31.196Z] 12:25:31     INFO - Buffered messages logged at 12:20:06
[task 2023-05-15T12:25:31.196Z] 12:25:31     INFO - file_pointerLockPref.html: Resetting fullscreen enter count.
[task 2023-05-15T12:25:31.196Z] 12:25:31     INFO - Buffered messages finished
[task 2023-05-15T12:25:31.197Z] 12:25:31     INFO - TEST-UNEXPECTED-FAIL | dom/tests/mochitest/pointerlock/test_pointerlock-api.html | Test timed out. - 
[task 2023-05-15T12:25:31.908Z] 12:25:31     INFO - GECKO(2125) | MEMORY STAT | vsize 6692MB | residentFast 121MB | heapAllocated 7MB
[task 2023-05-15T12:25:31.914Z] 12:25:31     INFO - TEST-OK | dom/tests/mochitest/pointerlock/test_pointerlock-api.html | took 330602ms
[task 2023-05-15T12:25:35.308Z] 12:25:35     INFO - Error: Unable to restore focus, expect failures and timeouts.
[task 2023-05-15T12:25:35.335Z] 12:25:35     INFO - TEST-START | dom/tests/mochitest/pointerlock/test_pointerlock_focus.html
Duplicate of this bug: 1357082

There have been 40 total failures in the last 7 days.
There are:

  • 1 failure on linux1804-64-asan-qr opt
  • 7 failures on linux1804-64-qr opt
  • 16 failure on linux1804-64-shippable-qr opt
  • 2 failures on macosx1015-64-qr opt and debug
  • 1 failure on macosx1015-64-shippable-qr opt
  • 2 failure on windows10-64-2009-qr opt
  • 3 failures on windows11-32-2009-qr opt
  • 1 failure on windows11-32-2009-shippable-qr opt
  • 5 failures on windows11-64-2009-qr opt and debug
  • 2 failures on windows11-64-2009-shippable-qr opt

Recent failure log.

Sean, as the owner of this component, can you help us assign the bug to someone? Thank you.

Flags: needinfo?(sefeng)

Edgar, are you familiar with pointerlock?

Flags: needinfo?(sefeng) → needinfo?(echen)

Update

There have been 44 total failures within the last 7 days:

  • 1 failure on Linux 18.04 x64 WebRender asan opt
  • 4 failures on Linux 18.04 x64 WebRender opt/debug
  • 29 failures on Linux 18.04 x64 WebRender Shippable opt
  • 1 failure on OS X 10.15 WebRender opt
  • 2 failures on OS X 10.15 WebRender Shippable opt
  • 1 failure on windows10-64-2009-qr debug
  • 2 failures on Windows 11 x64 22H2 WebRender debug
  • 4 failures on Windows 11 x64 22H2 WebRender Shippable opt

Recent failure log: https://treeherder.mozilla.org/logviewer?job_id=430129539&repo=autoland&lineNumber=12080

Update:
There have been 32 total failures in the last 7 days.
There are:

  • 3 failures on linux1804-64-qr opt
  • 24 failures on linux1804-64-shippable-qr opt
  • 2 failures on macosx1015-64-qr opt and debug
  • 2 failures on macosx1015-64-shippable-qr opt
  • 1 failure on windows11-64-2009-shippable-qr opt

Recent failure log.

Adam has been looking into other pointerlock issues so redirecting the NI to Adam.

Flags: needinfo?(echen) → needinfo?(avandolder)
Whiteboard: [stockwell unknown][stockwell unknown][stockwell needswork:owner] → [stockwell needswork:owner]
Flags: needinfo?(avandolder)

Update

There have been 36 total failures within the last 7 days:

  • 3 failures on Linux 18.04 x64 WebRender opt
  • 8 failures on Linux 18.04 x64 WebRender Shippable opt
  • 4 failures on OS X 10.15 WebRender opt
  • 3 failures on OS X 10.15 WebRender Shippable opt
  • 2 failures on Windows 11 x86 22H2 WebRender opt
  • 4 failures on Windows 11 x86 22H2 WebRender Shippable opt
  • 7 failures on Windows 11 x64 22H2 WebRender opt
  • 5 failures on Windows 11 x64 22H2 WebRender Shippable opt

Recent failure log: https://treeherder.mozilla.org/logviewer?job_id=441312418&repo=autoland&lineNumber=15230

[task 2023-12-24T19:51:30.802Z] 19:51:30     INFO - TEST-PASS | dom/tests/mochitest/pointerlock/test_pointerlock-api.html | file_pointerlockerror.html: pointerlockerror event should fire. 
[task 2023-12-24T19:51:30.802Z] 19:51:30     INFO - must wait for focus
[task 2023-12-24T19:51:30.803Z] 19:51:30     INFO - Testing file_pointerLockPref.html
[task 2023-12-24T19:51:30.803Z] 19:51:30     INFO - file_pointerLockPref.html: Resetting fullscreen enter count.
[task 2023-12-24T19:51:30.803Z] 19:51:30     INFO - Buffered messages finished
[task 2023-12-24T19:51:30.804Z] 19:51:30     INFO - TEST-UNEXPECTED-FAIL | dom/tests/mochitest/pointerlock/test_pointerlock-api.html | Test timed out. - 
[task 2023-12-24T19:51:31.422Z] 19:51:31     INFO - GECKO(6712) | MEMORY STAT | vsize 521MB | vsizeMaxContiguous 1293MB | residentFast 47MB | heapAllocated 4MB
[task 2023-12-24T19:51:34.437Z] 19:51:34     INFO - Error: Unable to restore focus, expect failures and timeouts.
[task 2023-12-24T19:51:34.462Z] 19:51:34     INFO - TEST-OK | dom/tests/mochitest/pointerlock/test_pointerlock-api.html | took 332573ms

Adam, can you take a look at this?
Thank you.

Flags: needinfo?(avandolder)

Update

There have been 48 total failures within the last 7 days:

  • 2 failures on Linux 18.04 x64 WebRender opt
  • 9 failures on Linux 18.04 x64 WebRender Shippable opt
  • 12 failures on OS X 10.15 WebRender opt
  • 3 failures on Windows 11 x86 22H2 WebRender opt
  • 7 failures on Windows 11 x86 22H2 WebRender Shippable opt
  • 7 failures on Windows 11 x64 22H2 WebRender opt
  • 8 failures on Windows 11 x64 22H2 WebRender Shippable opt

Recent log: https://treeherder.mozilla.org/logviewer?job_id=442603040&repo=mozilla-central&lineNumber=13727

Flags: needinfo?(avandolder)

Update

There have been 52 total failures within the last 7 days:

  • 6 failures on Linux 18.04 x64 WebRender opt
  • 14 failures on Linux 18.04 x64 WebRender Shippable opt
  • 2 failures on OS X 10.15 WebRender opt
  • 5 failures on OS X 10.15 WebRender Shippable opt
  • 4 failures on Windows 11 x86 22H2 WebRender opt
  • 5 failures on Windows 11 x86 22H2 WebRender Shippable opt
  • 7 failures on Windows 11 x64 22H2 WebRender opt
  • 9 failures on Windows 11 x64 22H2 WebRender Shippable opt

Recent failure log: https://treeherder.mozilla.org/logviewer?job_id=443871546&repo=autoland&lineNumber=9673

Adam, this is soon going to reach our disable-recommended queue.
Can you please take a look at this?
Thank you.

Flags: needinfo?(avandolder)
Keywords: leave-open
Whiteboard: [stockwell disable-recommended] → [stockwell disabled]
Pushed by csabou@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/296f1b67a475
Disable test_pointerlock-api.html on !debug for frequent failures. r=intermittent-reviewers,jmaher

I think the core issue here is that pointerlockchange events can't be fired when the BrowsingContext is inactive. It's likely that adding a BrowserTestUtils.waitForCondition promise in the fullscreenchange event listeners would solve these problems.

Since pointerlockchange events will be silently dropped on an inactive
browsingContext, it is useful to wait for the browsingContext to become
active in addFullscreenChangeContinuation. The most likely behavior of
the callback is to trigger a pointerlockchange event, so we should
guarantee that we're ready for it, and error if we know that we'll fail.

Assignee: nobody → bwerth
Blocks: 1865372
Pushed by bwerth@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/57a27d8b6d2a
Make pointerlock_utils.addFullscreenChangeContinuation wait for active browsingContext. r=smaug
No longer blocks: 1865372
See Also: → 1865372
Flags: needinfo?(avandolder)

Nothing since Jan 23. This is fixed.

Status: NEW → RESOLVED
Closed: 3 months ago
Keywords: leave-open
Resolution: --- → FIXED
See Also: → 1886190
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: