Bug: Intermittent browser/components/screenshots/tests/browser/browser_screenshots_test_full_page.js | single tracking bug
Status: REOPENED
Priority: P5
Created: 2022-08-19 14:53:06+00:00
Resolved: 2025-03-03 06:14:50+00:00

**Filed by:** imoraru [at] mozilla.com
**Parsed log:** https://treeherder.mozilla.org/logviewer?job_id=387883555&repo=autoland
**Full log:** https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/bt-ojm1mSYWwCG13_4dsaA/runs/0/artifacts/public/logs/live_backing.log
**Reftest URL:** https://hg.mozilla.org/mozilla-central/raw-file/tip/layout/tools/reftest/reftest-analyzer.xhtml#logurl=https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/bt-ojm1mSYWwCG13_4dsaA/runs/0/artifacts/public/logs/live_backing.log&only_show_unexpected=1

---
```
[task 2022-08-19T14:04:02.406Z] 14:04:02     INFO - TEST-PASS | browser/components/screenshots/tests/browser/browser_screenshots_test_full_page.js | Got the copy button - 
[task 2022-08-19T14:04:02.406Z] 14:04:02     INFO - Waiting for clipboard change
[task 2022-08-19T14:04:02.407Z] 14:04:02     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 405"  data: no]
[task 2022-08-19T14:04:02.407Z] 14:04:02     INFO - Buffered messages logged at 14:03:57
[task 2022-08-19T14:04:02.408Z] 14:04:02     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 405"  data: no]
[task 2022-08-19T14:04:02.408Z] 14:04:02     INFO - Console message: [JavaScript Error: "Image corrupt or truncated."]
[task 2022-08-19T14:04:02.410Z] 14:04:02     INFO - Buffered messages logged at 14:03:58
[task 2022-08-19T14:04:02.410Z] 14:04:02     INFO - {
[task 2022-08-19T14:04:02.410Z] 14:04:02     INFO -   "value": {}
[task 2022-08-19T14:04:02.410Z] 14:04:02     INFO - }
[task 2022-08-19T14:04:02.410Z] 14:04:02     INFO - Buffered messages logged at 14:04:02
[task 2022-08-19T14:04:02.411Z] 14:04:02     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 405"  data: no]
[task 2022-08-19T14:04:02.411Z] 14:04:02     INFO - Buffered messages finished
[task 2022-08-19T14:04:02.412Z] 14:04:02     INFO - TEST-UNEXPECTED-FAIL | browser/components/screenshots/tests/browser/browser_screenshots_test_full_page.js | screenshot data exists on the clipboard - 
[task 2022-08-19T14:04:02.412Z] 14:04:02     INFO - Stack trace:
[task 2022-08-19T14:04:02.412Z] 14:04:02     INFO - chrome://mochikit/content/browser-test.js:test_ok:1440
[task 2022-08-19T14:04:02.412Z] 14:04:02     INFO - chrome://mochitests/content/browser/browser/components/screenshots/tests/browser/head.js:getImageSizeAndColorFromClipboard:307
[task 2022-08-19T14:04:02.412Z] 14:04:02     INFO - chrome://mochitests/content/browser/browser/components/screenshots/tests/browser/browser_screenshots_test_full_page.js:test_fullpageScreenshot/<:59
[task 2022-08-19T14:04:02.413Z] 14:04:02     INFO - Not taking screenshot here: see the one that was previously logged
[task 2022-08-19T14:04:02.414Z] 14:04:02     INFO - TEST-UNEXPECTED-FAIL | browser/components/screenshots/tests/browser/browser_screenshots_test_full_page.js | Uncaught exception in test - at chrome://mochitests/content/browser/browser/components/screenshots/tests/browser/head.js:321 - Error: Unable to read image data
[task 2022-08-19T14:04:02.414Z] 14:04:02     INFO - Stack trace:
[task 2022-08-19T14:04:02.414Z] 14:04:02     INFO - getImageSizeAndColorFromClipboard@chrome://mochitests/content/browser/browser/components/screenshots/tests/browser/head.js:321:13
[task 2022-08-19T14:04:02.414Z] 14:04:02     INFO - test_fullpageScreenshot/<@chrome://mochitests/content/browser/browser/components/screenshots/tests/browser/browser_screenshots_test_full_page.js:59:33
[task 2022-08-19T14:04:02.414Z] 14:04:02     INFO - Leaving test bound test_fullpageScreenshot
[task 2022-08-19T14:04:02.414Z] 14:04:02     INFO - Entering test bound test_fullpageScreenshotScrolled
[task 2022-08-19T14:04:02.616Z] 14:04:02     INFO - TEST-PASS | browser/components/screenshots/tests/browser/browser_screenshots_test_full_page.js | Got dimensions back from the content - 
```