Open Bug 1856971 Opened 1 year ago Updated 7 months ago

Perma dom/events/test/pointerevents failures on new Ubuntu 22.04 Wayland pool

Categories

(Core :: Widget: Gtk, defect)

defect

Tracking

()

People

(Reporter: ahal, Unassigned)

References

(Blocks 2 open bugs)

Details

This is happening on a new Ubuntu 22.04 Wayland enabled pool we're in the process of standing up.

Example failure log:
https://treeherder.mozilla.org/logviewer?job_id=431033475&repo=try&lineNumber=4013

There are two test failures here.

dom/events/test/pointerevents/test_getCoalescedEvents.html

[task 2023-10-02T16:15:48.058Z] 16:15:48     INFO - TEST-START | dom/events/test/pointerevents/test_getCoalescedEvents.html
[task 2023-10-02T16:15:48.403Z] 16:15:48     INFO - TEST-INFO | started process screentopng
[task 2023-10-02T16:15:52.426Z] 16:15:52     INFO - TEST-INFO | screentopng: exit 0
[task 2023-10-02T16:15:52.426Z] 16:15:52     INFO - Buffered messages logged at 16:15:48
[task 2023-10-02T16:15:52.426Z] 16:15:52     INFO - must wait for load
[task 2023-10-02T16:15:52.426Z] 16:15:52     INFO - Buffered messages finished
[task 2023-10-02T16:15:52.431Z] 16:15:52     INFO - TEST-UNEXPECTED-FAIL | dom/events/test/pointerevents/test_getCoalescedEvents.html | [SimpleTest.finish()] No checks actually run. (You need to call ok(), is(), or similar functions at least once.  Make sure you use SimpleTest.waitForExplicitFinish() if you need it.) 
[task 2023-10-02T16:15:52.431Z] 16:15:52     INFO -     SimpleTest.ok@SimpleTest/SimpleTest.js:426:16
[task 2023-10-02T16:15:52.434Z] 16:15:52     INFO -     afterCleanup@SimpleTest/SimpleTest.js:1477:18
[task 2023-10-02T16:15:52.434Z] 16:15:52     INFO -     executeCleanupFunction@SimpleTest/SimpleTest.js:1562:7
[task 2023-10-02T16:15:52.434Z] 16:15:52     INFO -     SimpleTest.finish@SimpleTest/SimpleTest.js:1582:3
[task 2023-10-02T16:15:52.434Z] 16:15:52     INFO -     runTests/</<@dom/events/test/pointerevents/test_getCoalescedEvents.html:71:18
[task 2023-10-02T16:15:52.434Z] 16:15:52     INFO -     EventListener.handleEvent*runTests/<@dom/events/test/pointerevents/test_getCoalescedEvents.html:69:13
[task 2023-10-02T16:15:52.435Z] 16:15:52     INFO - GECKO(6496) | MEMORY STAT | vsize 2397MB | residentFast 98MB | heapAllocated 10MB
[task 2023-10-02T16:15:52.435Z] 16:15:52    ERROR - TEST-UNEXPECTED-FAIL | /tests/dom/events/test/pointerevents/test_getCoalescedEvents.html logged result after SimpleTest.finish(): [SimpleTest.finish()] No checks actually run. (You need to call ok(), is(), or similar functions at least once.  Make sure you use SimpleTest.waitForExplicitFinish() if you need it.)

dom/events/test/pointerevents/test_pointercapture_xorigin_iframe.html

[task 2023-10-02T16:15:52.455Z] 16:15:52     INFO - TEST-START | dom/events/test/pointerevents/test_pointercapture_xorigin_iframe.html
[task 2023-10-02T16:15:52.456Z] 16:15:52     INFO - GECKO(6496) | [POINTEREVENT] Starting file_pointercapture_xorigin_iframe.html
[task 2023-10-02T16:15:52.463Z] 16:15:52     INFO - GECKO(6496) | 1696263352262	Marionette	TRACE	Received observer notification browser-delayed-startup-finished
[task 2023-10-02T16:15:52.464Z] 16:15:52     INFO - GECKO(6496) | [POINTEREVENT] Finishing file_pointercapture_xorigin_iframe.html
[task 2023-10-02T16:15:52.469Z] 16:15:52     INFO - GECKO(6496) | console.error: (new TypeError("error loading dynamically imported module: chrome://global/content/elements/moz-button-group.mjs", ""))
[task 2023-10-02T16:15:53.469Z] 16:15:53     INFO - GECKO(6496) | [POINTEREVENT] Starting file_pointercapture_xorigin_iframe_pointerlock.html
[task 2023-10-02T16:15:53.618Z] 16:15:53     INFO - GECKO(6496) | 1696263353617	Marionette	TRACE	Received observer notification browser-delayed-startup-finished
[task 2023-10-02T16:16:06.204Z] 16:16:06     INFO - GECKO(6496) | console.error: (new Error("Polling for changes failed: Unexpected content-type \"text/plain;charset=US-ASCII\".", "resource://services-settings/remote-settings.sys.mjs", 321))
[task 2023-10-02T16:20:57.522Z] 16:20:57     INFO - Not taking screenshot here: see the one that was previously logged
[task 2023-10-02T16:20:57.522Z] 16:20:57     INFO - Buffered messages logged at 16:15:50
[task 2023-10-02T16:20:57.522Z] 16:20:57     INFO - Testing file_pointercapture_xorigin_iframe.html
[task 2023-10-02T16:20:57.525Z] 16:20:57     INFO - Buffered messages logged at 16:15:51
[task 2023-10-02T16:20:57.526Z] 16:20:57     INFO - file_pointercapture_xorigin_iframe.html: add_task | Entering test_pointer_capture_xorigin_iframe
[task 2023-10-02T16:20:57.528Z] 16:20:57     INFO - TEST-PASS | dom/events/test/pointerevents/test_pointercapture_xorigin_iframe.html | file_pointercapture_xorigin_iframe.html: got pointerdown event on target 
[task 2023-10-02T16:20:57.529Z] 16:20:57     INFO - Buffered messages logged at 16:15:52
[task 2023-10-02T16:20:57.530Z] 16:20:57     INFO - TEST-PASS | dom/events/test/pointerevents/test_pointercapture_xorigin_iframe.html | file_pointercapture_xorigin_iframe.html: got gotpointercapture event on target 
[task 2023-10-02T16:20:57.531Z] 16:20:57     INFO - TEST-PASS | dom/events/test/pointerevents/test_pointercapture_xorigin_iframe.html | file_pointercapture_xorigin_iframe.html: got pointermove event on target 
[task 2023-10-02T16:20:57.532Z] 16:20:57     INFO - TEST-PASS | dom/events/test/pointerevents/test_pointercapture_xorigin_iframe.html | file_pointercapture_xorigin_iframe.html: got pointerup event on target 
[task 2023-10-02T16:20:57.533Z] 16:20:57     INFO - TEST-PASS | dom/events/test/pointerevents/test_pointercapture_xorigin_iframe.html | file_pointercapture_xorigin_iframe.html: got lostpointercapture event on target 
[task 2023-10-02T16:20:57.535Z] 16:20:57     INFO - file_pointercapture_xorigin_iframe.html: add_task | Leaving test_pointer_capture_xorigin_iframe
[task 2023-10-02T16:20:57.535Z] 16:20:57     INFO - must wait for focus
[task 2023-10-02T16:20:57.535Z] 16:20:57     INFO - Testing file_pointercapture_xorigin_iframe_pointerlock.html
[task 2023-10-02T16:20:57.537Z] 16:20:57     INFO - Buffered messages logged at 16:15:53
[task 2023-10-02T16:20:57.537Z] 16:20:57     INFO - file_pointercapture_xorigin_iframe_pointerlock.html: add_task | Entering test_pointer_capture_xorigin_iframe_pointer_lock
[task 2023-10-02T16:20:57.537Z] 16:20:57     INFO - TEST-PASS | dom/events/test/pointerevents/test_pointercapture_xorigin_iframe.html | file_pointercapture_xorigin_iframe_pointerlock.html: got pointerdown event on target 
[task 2023-10-02T16:20:57.537Z] 16:20:57     INFO - TEST-PASS | dom/events/test/pointerevents/test_pointercapture_xorigin_iframe.html | file_pointercapture_xorigin_iframe_pointerlock.html: got gotpointercapture event on target 
[task 2023-10-02T16:20:57.538Z] 16:20:57     INFO - TEST-PASS | dom/events/test/pointerevents/test_pointercapture_xorigin_iframe.html | file_pointercapture_xorigin_iframe_pointerlock.html: got pointermove event on target 
[task 2023-10-02T16:20:57.540Z] 16:20:57     INFO - TEST-PASS | dom/events/test/pointerevents/test_pointercapture_xorigin_iframe.html | Got pointerlockchange on iframe - "pointerlockchange" == "pointerlockchange" 
[task 2023-10-02T16:20:57.540Z] 16:20:57     INFO - TEST-PASS | dom/events/test/pointerevents/test_pointercapture_xorigin_iframe.html | pointer lock element - {} == {} 
[task 2023-10-02T16:20:57.540Z] 16:20:57     INFO - Buffered messages finished
[task 2023-10-02T16:20:57.540Z] 16:20:57     INFO - TEST-UNEXPECTED-FAIL | dom/events/test/pointerevents/test_pointercapture_xorigin_iframe.html | Test timed out. -

It's unclear whether this is a result of Wayland, upgrading to Ubuntu 22.04 or hardware characteristics of the new workers. These tests will be skipped on this new platform.

Severity: -- → S3

Wayland specific failures. MOZ_ENABLE_WAYLAND=0 ./mach test ... works fine.

Flags: needinfo?(stransky)
Component: DOM: UI Events & Focus Handling → Widget: Win32
Flags: needinfo?(stransky)
Component: Widget: Win32 → Widget: Gtk
You need to log in before you can comment on or make changes to this bug.