Open Bug 1857067 Opened 2 years ago Updated 2 years ago

Perma toolkit/components/extensions/test/mochitest/test_ext_async_clipboard.html failures on new Ubuntu 22.04 Wayland pool

Categories

(WebExtensions :: General, defect, P3)

defect

Tracking

(Not tracked)

People

(Reporter: ahal, Unassigned)

References

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=431033476&repo=try&lineNumber=16383

[task 2023-10-02T17:07:57.169Z] 17:07:57     INFO - TEST-PASS | toolkit/components/extensions/test/mochitest/test_ext_async_clipboard.html | Clipboard has the given value: '' 
[task 2023-10-02T17:07:57.170Z] 17:07:57     INFO - Extension loaded
[task 2023-10-02T17:07:57.170Z] 17:07:57     INFO - Buffered messages finished
[task 2023-10-02T17:07:57.173Z] 17:07:57     INFO - TEST-UNEXPECTED-FAIL | toolkit/components/extensions/test/mochitest/test_ext_async_clipboard.html | ReadText should have read an empty string, but read:waitForClipboard-known-value-0.985759959928707 
[task 2023-10-02T17:07:57.173Z] 17:07:57     INFO -     SimpleTest.ok@SimpleTest/SimpleTest.js:426:16
[task 2023-10-02T17:07:57.174Z] 17:07:57     INFO -     testHandler@SimpleTest/ExtensionTestUtils.js:87:18
[task 2023-10-02T17:07:57.174Z] 17:07:57     INFO -     testResult@SimpleTest/ExtensionTestUtils.js:97:18
[task 2023-10-02T17:07:57.174Z] 17:07:57     INFO -     Async*ExtensionTestUtils.loadExtension@SimpleTest/ExtensionTestUtils.js:128:33
[task 2023-10-02T17:07:57.175Z] 17:07:57     INFO -     test_contentscript_clipboard_nocontents_readtext@toolkit/components/extensions/test/mochitest/test_ext_async_clipboard.html:349:38
[task 2023-10-02T17:07:57.177Z] 17:07:57     INFO -     async*add_task/nextTick/<@SimpleTest/SimpleTest.js:2189:34
[task 2023-10-02T17:07:57.177Z] 17:07:57     INFO -     async*nextTick@SimpleTest/SimpleTest.js:2233:11
[task 2023-10-02T17:07:57.177Z] 17:07:57     INFO -     setTimeout handler*SimpleTest_setTimeoutShim@SimpleTest/SimpleTest.js:922:41
[task 2023-10-02T17:07:57.177Z] 17:07:57     INFO -     add_task@SimpleTest/SimpleTest.js:2137:17
[task 2023-10-02T17:07:57.177Z] 17:07:57     INFO -     @toolkit/components/extensions/test/mochitest/test_ext_async_clipboard.html:59:9
[task 2023-10-02T17:07:57.232Z] 17:07:57     INFO - add_task | Leaving test_contentscript_clipboard_nocontents_readtext
[task 2023-10-02T17:07:57.236Z] 17:07:57     INFO - add_task | Entering test_contentscript_clipboard_nocontents_read
[task 2023-10-02T17:07:57.238Z] 17:07:57     INFO - Initializing clipboard with "waitForClipboard-known-value-0.3601192436564423"...
[task 2023-10-02T17:07:57.241Z] 17:07:57     INFO - Succeeded initializing clipboard, start requested things...
[task 2023-10-02T17:07:57.245Z] 17:07:57     INFO - TEST-PASS | toolkit/components/extensions/test/mochitest/test_ext_async_clipboard.html | Clipboard has the given value: '' 
[task 2023-10-02T17:07:57.252Z] 17:07:57     INFO - Extension loaded
[task 2023-10-02T17:07:57.465Z] 17:07:57     INFO - GECKO(22045) | Console message: [JavaScript Warning: "Storage access automatically granted for origin “https://example.com” on “http://mochi.test:8888”."]
[task 2023-10-02T17:07:57.859Z] 17:07:57     INFO - Not taking screenshot here: see the one that was previously logged
[task 2023-10-02T17:07:57.860Z] 17:07:57     INFO - TEST-UNEXPECTED-FAIL | toolkit/components/extensions/test/mochitest/test_ext_async_clipboard.html | Read read the wrong thing from clipboard, ClipboardItem has this many entries: 1 
[task 2023-10-02T17:07:57.860Z] 17:07:57     INFO -     SimpleTest.ok@SimpleTest/SimpleTest.js:426:16
[task 2023-10-02T17:07:57.860Z] 17:07:57     INFO -     testHandler@SimpleTest/ExtensionTestUtils.js:87:18
[task 2023-10-02T17:07:57.860Z] 17:07:57     INFO -     testResult@SimpleTest/ExtensionTestUtils.js:97:18
[task 2023-10-02T17:07:57.860Z] 17:07:57     INFO -     Async*ExtensionTestUtils.loadExtension@SimpleTest/ExtensionTestUtils.js:128:33
[task 2023-10-02T17:07:57.860Z] 17:07:57     INFO -     test_contentscript_clipboard_nocontents_read@toolkit/components/extensions/test/mochitest/test_ext_async_clipboard.html:392:38
[task 2023-10-02T17:07:57.860Z] 17:07:57     INFO -     async*add_task/nextTick/<@SimpleTest/SimpleTest.js:2189:34
[task 2023-10-02T17:07:57.860Z] 17:07:57     INFO -     async*nextTick@SimpleTest/SimpleTest.js:2233:11
[task 2023-10-02T17:07:57.860Z] 17:07:57     INFO -     setTimeout handler*SimpleTest_setTimeoutShim@SimpleTest/SimpleTest.js:922:41
[task 2023-10-02T17:07:57.860Z] 17:07:57     INFO -     add_task@SimpleTest/SimpleTest.js:2137:17
[task 2023-10-02T17:07:57.860Z] 17:07:57     INFO -     @toolkit/components/extensions/test/mochitest/test_ext_async_clipboard.html:59:9
[task 2023-10-02T17:07:58.023Z] 17:07:58     INFO - add_task | Leaving test_contentscript_clipboard_nocontents_read
[task 2023-10-02T17:07:58.037Z] 17:07:58     INFO - GECKO(22045) | MEMORY STAT | vsize 2400MB | residentFast 96MB | heapAllocated 10MB
[task 2023-10-02T17:07:58.079Z] 17:07:58     INFO - TEST-OK | toolkit/components/extensions/test/mochitest/test_ext_async_clipboard.html | took 8218ms

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

Severity: -- → S4
Priority: -- → P3
You need to log in before you can comment on or make changes to this bug.