Closed Bug 1904961 Opened 3 months ago Closed 3 months ago

Perma OSX TEST-UNEXPECTED-FAIL | browser/components/screenshots/tests/browser/browser_screenshots_test_visible.js | Uncaught exception in test bound test_visibleScreenshotRTL - Waiting for screenshot to copy to clipboard - timed out after 50 tri

Categories

(Firefox :: Screenshots, defect, P5)

defect

Tracking

()

RESOLVED FIXED
129 Branch
Tracking Status
firefox-esr115 --- unaffected
firefox-esr128 --- unaffected
firefox127 --- unaffected
firefox128 --- unaffected
firefox129 --- fixed

People

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

References

(Regression)

Details

(Keywords: intermittent-failure, intermittent-testcase, regression)

Attachments

(1 file)

Filed by: imoraru [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer?job_id=464149200&repo=autoland
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/H_FykwX3T8OIGFFj4K3Cvw/runs/0/artifacts/public/logs/live_backing.log


[task 2024-06-26T19:00:52.116Z] 19:00:52     INFO - TEST-START | browser/components/screenshots/tests/browser/browser_screenshots_test_visible.js
[task 2024-06-26T19:00:54.252Z] 19:00:54     INFO - GECKO(2249) | [Parent 2249, CanvasRenderer] WARNING: Unable to create receive right in TransferMachPorts. (os/kern) invalid task: file /builds/worker/checkouts/gecko/ipc/chromium/src/chrome/common/ipc_channel_posix.cc:1022
[task 2024-06-26T19:01:09.371Z] 19:01:09     INFO - TEST-INFO | started process screencapture
[task 2024-06-26T19:01:09.486Z] 19:01:09     INFO - TEST-INFO | screencapture: exit 0
[task 2024-06-26T19:01:09.486Z] 19:01:09     INFO - <snipped 141 output lines - if you need more context, please use SimpleTest.requestCompleteLog() in your test>
[task 2024-06-26T19:01:09.486Z] 19:01:09     INFO - Buffered messages logged at 19:00:55
[task 2024-06-26T19:01:09.486Z] 19:01:09     INFO - [Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsITransferable.getAnyTransferData]"  nsresult: "0x80004005 (NS_ERROR_FAILURE)"  location: "JS frame :: chrome://mochitests/content/browser/browser/components/screenshots/tests/browser/head.js :: getRawClipboardData :: line 1013"  data: no]
[task 2024-06-26T19:01:09.486Z] 19:01:09     INFO - Got from clipboard: false
[task 2024-06-26T19:01:09.486Z] 19:01:09     INFO - [Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsITransferable.getAnyTransferData]"  nsresult: "0x80004005 (NS_ERROR_FAILURE)"  location: "JS frame :: chrome://mochitests/content/browser/browser/components/screenshots/tests/browser/head.js :: getRawClipboardData :: line 1013"  data: no]
[task 2024-06-26T19:01:09.487Z] 19:01:09     INFO - Got from clipboard: false
[task 2024-06-26T19:01:09.487Z] 19:01:09     INFO - Buffered messages logged at 19:00:56
[task 2024-06-26T19:01:09.487Z] 19:01:09     INFO - [Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsITransferable.getAnyTransferData]"  nsresult: "0x80004005 (NS_ERROR_FAILURE)"  location: "JS frame :: chrome://mochitests/content/browser/browser/components/screenshots/tests/browser/head.js :: getRawClipboardData :: line 1013"  data: no]
[task 2024-06-26T19:01:09.487Z] 19:01:09     INFO - Got from clipboard: false
<...>
[task 2024-06-26T19:01:09.502Z] 19:01:09     INFO - [Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsITransferable.getAnyTransferData]"  nsresult: "0x80004005 (NS_ERROR_FAILURE)"  location: "JS frame :: chrome://mochitests/content/browser/browser/components/screenshots/tests/browser/head.js :: getRawClipboardData :: line 1013"  data: no]
[task 2024-06-26T19:01:09.502Z] 19:01:09     INFO - Got from clipboard: false
[task 2024-06-26T19:01:09.503Z] 19:01:09     INFO - Buffered messages finished
[task 2024-06-26T19:01:09.503Z] 19:01:09     INFO - TEST-UNEXPECTED-FAIL | browser/components/screenshots/tests/browser/browser_screenshots_test_visible.js | Uncaught exception in test bound test_visibleScreenshotRTL - Waiting for screenshot to copy to clipboard - timed out after 50 tries.
[task 2024-06-26T19:01:09.503Z] 19:01:09     INFO - Leaving test bound test_visibleScreenshotRTL
[task 2024-06-26T19:01:09.503Z] 19:01:09     INFO - downloads panel should be visible: false
[task 2024-06-26T19:01:09.503Z] 19:01:09     INFO - GECKO(2249) | JavaScript error: resource:///modules/ScreenshotsUtils.sys.mjs, line 831: TypeError: can't access property "id", browser.browsingContext is null
[task 2024-06-26T19:01:09.503Z] 19:01:09     INFO - Not taking screenshot here: see the one that was previously logged
[task 2024-06-26T19:01:09.504Z] 19:01:09     INFO - TEST-UNEXPECTED-FAIL | browser/components/screenshots/tests/browser/browser_screenshots_test_visible.js | A promise chain failed to handle a rejection: can't access property "id", browser.browsingContext is null - stack: getDialog@resource:///modules/ScreenshotsUtils.sys.mjs:831:28
[task 2024-06-26T19:01:09.504Z] 19:01:09     INFO - attemptToRestoreFocus@resource:///modules/ScreenshotsUtils.sys.mjs:621:23
[task 2024-06-26T19:01:09.504Z] 19:01:09     INFO - exit@resource:///modules/ScreenshotsUtils.sys.mjs:489:10
[task 2024-06-26T19:01:09.504Z] 19:01:09     INFO - onDialogClose@resource:///modules/ScreenshotsUtils.sys.mjs:876:12
[task 2024-06-26T19:01:09.504Z] 19:01:09     INFO - openPreviewDialog/<.closedPromise<@resource:///modules/ScreenshotsUtils.sys.mjs:701:14
[task 2024-06-26T19:01:09.504Z] 19:01:09     INFO - Async*openPreviewDialog@resource:///modules/ScreenshotsUtils.sys.mjs:700:36
[task 2024-06-26T19:01:09.504Z] 19:01:09     INFO - async*takeScreenshot@resource:///modules/ScreenshotsUtils.sys.mjs:1014:29
[task 2024-06-26T19:01:09.504Z] 19:01:09     INFO - async*connectedCallback/visibleButton.onclick@chrome://browser/content/screenshots/screenshots-buttons.js:47:26
[task 2024-06-26T19:01:09.504Z] 19:01:09     INFO - test_visibleScreenshotRTL/<@chrome://mochitests/content/browser/browser/components/screenshots/tests/browser/browser_screenshots_test_visible.js:434:19
[task 2024-06-26T19:01:09.504Z] 19:01:09     INFO - async*withNewTab@resource://testing-common/BrowserTestUtils.sys.mjs:121:22
[task 2024-06-26T19:01:09.504Z] 19:01:09     INFO - async*test_visibleScreenshotRTL@chrome://mochitests/content/browser/browser/components/screenshots/tests/browser/browser_screenshots_test_visible.js:399:26
[task 2024-06-26T19:01:09.504Z] 19:01:09     INFO - handleTask@chrome://mochikit/content/browser-test.js:1145:26
[task 2024-06-26T19:01:09.504Z] 19:01:09     INFO - _runTaskBasedTest@chrome://mochikit/content/browser-test.js:1217:18
[task 2024-06-26T19:01:09.504Z] 19:01:09     INFO - async*Tester_execTest@chrome://mochikit/content/browser-test.js:1358:14
[task 2024-06-26T19:01:09.504Z] 19:01:09     INFO - nextTest/<@chrome://mochikit/content/browser-test.js:1134:14
[task 2024-06-26T19:01:09.504Z] 19:01:09     INFO - SimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1058:13
[task 2024-06-26T19:01:09.504Z] 19:01:09     INFO - Rejection date: Wed Jun 26 2024 19:01:09 GMT+0000 (Greenwich Mean Time) - false == true - 
[task 2024-06-26T19:01:09.504Z] 19:01:09     INFO - Stack trace:
[task 2024-06-26T19:01:09.504Z] 19:01:09     INFO - resource://testing-common/PromiseTestUtils.sys.mjs:assertNoUncaughtRejections:266
[task 2024-06-26T19:01:09.504Z] 19:01:09     INFO - chrome://mochikit/content/browser-test.js:nextTest:780
[task 2024-06-26T19:01:09.504Z] 19:01:09     INFO - chrome://mochikit/content/browser-test.js:testScope/test_finish/<:1811
[task 2024-06-26T19:01:09.504Z] 19:01:09     INFO - chrome://mochikit/content/browser-test.js:run:1731
[task 2024-06-26T19:01:09.505Z] 19:01:09     INFO - Console message: [JavaScript Error: "TypeError: can't access property "id", browser.browsingContext is null" {file: "resource:///modules/ScreenshotsUtils.sys.mjs" line: 831}]
[task 2024-06-26T19:01:09.505Z] 19:01:09     INFO - getDialog@resource:///modules/ScreenshotsUtils.sys.mjs:831:28
[task 2024-06-26T19:01:09.505Z] 19:01:09     INFO - attemptToRestoreFocus@resource:///modules/ScreenshotsUtils.sys.mjs:621:23
[task 2024-06-26T19:01:09.505Z] 19:01:09     INFO - exit@resource:///modules/ScreenshotsUtils.sys.mjs:489:10
[task 2024-06-26T19:01:09.505Z] 19:01:09     INFO - onDialogClose@resource:///modules/ScreenshotsUtils.sys.mjs:876:12
[task 2024-06-26T19:01:09.505Z] 19:01:09     INFO - openPreviewDialog/<.closedPromise<@resource:///modules/ScreenshotsUtils.sys.mjs:701:14
[task 2024-06-26T19:01:09.505Z] 19:01:09     INFO - Async*openPreviewDialog@resource:///modules/ScreenshotsUtils.sys.mjs:700:36
[task 2024-06-26T19:01:09.505Z] 19:01:09     INFO - async*takeScreenshot@resource:///modules/ScreenshotsUtils.sys.mjs:1014:29
[task 2024-06-26T19:01:09.505Z] 19:01:09     INFO - async*connectedCallback/visibleButton.onclick@chrome://browser/content/screenshots/screenshots-buttons.js:47:26
[task 2024-06-26T19:01:09.505Z] 19:01:09     INFO - test_visibleScreenshotRTL/<@chrome://mochitests/content/browser/browser/components/screenshots/tests/browser/browser_screenshots_test_visible.js:434:19
[task 2024-06-26T19:01:09.505Z] 19:01:09     INFO - async*withNewTab@resource://testing-common/BrowserTestUtils.sys.mjs:121:22
[task 2024-06-26T19:01:09.505Z] 19:01:09     INFO - async*test_visibleScreenshotRTL@chrome://mochitests/content/browser/browser/components/screenshots/tests/browser/browser_screenshots_test_visible.js:399:26
[task 2024-06-26T19:01:09.505Z] 19:01:09     INFO - handleTask@chrome://mochikit/content/browser-test.js:1145:26
[task 2024-06-26T19:01:09.505Z] 19:01:09     INFO - _runTaskBasedTest@chrome://mochikit/content/browser-test.js:1217:18
[task 2024-06-26T19:01:09.505Z] 19:01:09     INFO - async*Tester_execTest@chrome://mochikit/content/browser-test.js:1358:14
[task 2024-06-26T19:01:09.505Z] 19:01:09     INFO - nextTest/<@chrome://mochikit/content/browser-test.js:1134:14
[task 2024-06-26T19:01:09.505Z] 19:01:09     INFO - SimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1058:13
[task 2024-06-26T19:01:09.505Z] 19:01:09     INFO - 
[task 2024-06-26T19:01:09.687Z] 19:01:09     INFO - GECKO(2249) | MEMORY STAT | vsize 402662MB | residentFast 477MB | heapAllocated 180MB
[task 2024-06-26T19:01:09.688Z] 19:01:09     INFO - TEST-OK | browser/components/screenshots/tests/browser/browser_screenshots_test_visible.js | took 17571ms
[task 2024-06-26T19:01:09.693Z] 19:01:09     INFO - checking window state
[task 2024-06-26T19:01:09.695Z] 19:01:09     INFO - TEST-START | browser/components/screenshots/tests/browser/browser_test_element_picker.js

Hi Niklas! Please take a look at this when you have the time.
Thank you!

Flags: needinfo?(nbaumgardner)
Summary: Perma osx shippable TEST-UNEXPECTED-FAIL | browser/components/screenshots/tests/browser/browser_screenshots_test_visible.js | Uncaught exception in test bound test_visibleScreenshotRTL - Waiting for screenshot to copy to clipboard - timed out after 50 tri → Perma OSX TEST-UNEXPECTED-FAIL | browser/components/screenshots/tests/browser/browser_screenshots_test_visible.js | Uncaught exception in test bound test_visibleScreenshotRTL - Waiting for screenshot to copy to clipboard - timed out after 50 tri
Assignee: nobody → nbaumgardner
Status: NEW → ASSIGNED

Set release status flags based on info from the regressing bug 1902303

See Also: → 1895106
Pushed by nbaumgardner@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/d88355e1c5cd
Wait for screenshots overlay before clicking panel buttons in test. r=sfoster,kcochrane
Status: ASSIGNED → RESOLVED
Closed: 3 months ago
Resolution: --- → FIXED
Target Milestone: --- → 129 Branch
Flags: needinfo?(nbaumgardner)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: