Bug: Intermittent toolkit/components/thumbnails/test/browser_thumbnails_bg_redirect.js | Thumbnail for final URL should be cached -
Status: RESOLVED
Priority: P5
Resolution: DUPLICATE
Created: 2020-06-12 13:26:07+00:00
Resolved: 2022-07-25 23:13:52+00:00

**Filed by:** ncsoregi [at] mozilla.com
**Parsed log:** https://treeherder.mozilla.org/logviewer.html#?job_id=306093919&repo=mozilla-central
**Full log:** https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/D_OKKxrXTwSQf7yrmniDDQ/runs/0/artifacts/public/logs/live_backing.log

---

>[task 2020-06-12T12:03:58.793Z] 12:03:58     INFO - TEST-START | toolkit/components/thumbnails/test/browser_thumbnails_bg_redirect.js
[task 2020-06-12T12:03:58.932Z] 12:03:58     INFO - TEST-INFO | started process screenshot
[task 2020-06-12T12:03:59.013Z] 12:03:59     INFO - TEST-INFO | screenshot: exit 0
[task 2020-06-12T12:03:59.013Z] 12:03:59     INFO - Buffered messages logged at 12:03:58
[task 2020-06-12T12:03:59.014Z] 12:03:59     INFO - Entering test bound thumbnails_bg_redirect
[task 2020-06-12T12:03:59.014Z] 12:03:59     INFO - TEST-PASS | toolkit/components/thumbnails/test/browser_thumbnails_bg_redirect.js | Thumbnail file for original URL should not exist yet. - 
[task 2020-06-12T12:03:59.015Z] 12:03:59     INFO - TEST-PASS | toolkit/components/thumbnails/test/browser_thumbnails_bg_redirect.js | Thumbnail file for final URL should not exist yet. - 
[task 2020-06-12T12:03:59.015Z] 12:03:59     INFO - Console message: [JavaScript Warning: "An iframe which has both allow-top-navigation and allow-top-navigation-by-user-activation for its sandbox attribute will permit top navigations." {file: "about:blank" line: 0}]
[task 2020-06-12T12:03:59.015Z] 12:03:59     INFO - Console message: [JavaScript Warning: "An iframe which has both allow-top-navigation and allow-top-navigation-by-user-activation for its sandbox attribute will permit top navigations." {file: "http://example.com/redirected" line: 0}]
[task 2020-06-12T12:03:59.016Z] 12:03:59     INFO - TEST-PASS | toolkit/components/thumbnails/test/browser_thumbnails_bg_redirect.js | Captured URL should be URL passed to capture - 
[task 2020-06-12T12:03:59.016Z] 12:03:59     INFO - TEST-PASS | toolkit/components/thumbnails/test/browser_thumbnails_bg_redirect.js | Thumbnail for original URL should be cached - 
[task 2020-06-12T12:03:59.016Z] 12:03:59     INFO - Buffered messages finished
[task 2020-06-12T12:03:59.017Z] 12:03:59     INFO - TEST-UNEXPECTED-FAIL | toolkit/components/thumbnails/test/browser_thumbnails_bg_redirect.js | Thumbnail for final URL should be cached - 
[task 2020-06-12T12:03:59.017Z] 12:03:59     INFO - Stack trace:
[task 2020-06-12T12:03:59.017Z] 12:03:59     INFO - chrome://mochikit/content/browser-test.js:test_ok:1299
[task 2020-06-12T12:03:59.017Z] 12:03:59     INFO - chrome://mochitests/content/browser/toolkit/components/thumbnails/test/browser_thumbnails_bg_redirect.js:thumbnails_bg_redirect:28
[task 2020-06-12T12:03:59.017Z] 12:03:59     INFO - chrome://mochikit/content/browser-test.js:Tester_execTest/<:1064
[task 2020-06-12T12:03:59.017Z] 12:03:59     INFO - chrome://mochikit/content/browser-test.js:Tester_execTest:1104
[task 2020-06-12T12:03:59.017Z] 12:03:59     INFO - chrome://mochikit/content/browser-test.js:nextTest/<:927
[task 2020-06-12T12:03:59.017Z] 12:03:59     INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:SimpleTest.waitForFocus/waitForFocusInner/focusedOrLoaded/<:918
[task 2020-06-12T12:03:59.017Z] 12:03:59     INFO - Not taking screenshot here: see the one that was previously logged
[task 2020-06-12T12:03:59.018Z] 12:03:59     INFO - TEST-UNEXPECTED-FAIL | toolkit/components/thumbnails/test/browser_thumbnails_bg_redirect.js | Uncaught exception - [Exception... "Component returned failure code: 0x80520012 (NS_ERROR_FILE_NOT_FOUND) [nsIFile.remove]"  nsresult: "0x80520012 (NS_ERROR_FILE_NOT_FOUND)"  location: "JS frame :: chrome://mochitests/content/browser/toolkit/components/thumbnails/test/head.js :: removeThumbnail :: line 123"  data: no]
[task 2020-06-12T12:03:59.018Z] 12:03:59     INFO - Stack trace:
[task 2020-06-12T12:03:59.018Z] 12:03:59     INFO - removeThumbnail@chrome://mochitests/content/browser/toolkit/components/thumbnails/test/head.js:123:8
[task 2020-06-12T12:03:59.018Z] 12:03:59     INFO - thumbnails_bg_redirect@chrome://mochitests/content/browser/toolkit/components/thumbnails/test/browser_thumbnails_bg_redirect.js:31:18
[task 2020-06-12T12:03:59.018Z] 12:03:59     INFO - Async*Tester_execTest/<@chrome://mochikit/content/browser-test.js:1064:34
[task 2020-06-12T12:03:59.018Z] 12:03:59     INFO - Tester_execTest@chrome://mochikit/content/browser-test.js:1104:11
[task 2020-06-12T12:03:59.018Z] 12:03:59     INFO - nextTest/<@chrome://mochikit/content/browser-test.js:927:14
[task 2020-06-12T12:03:59.018Z] 12:03:59     INFO - SimpleTest.waitForFocus/waitForFocusInner/focusedOrLoaded/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:918:23
[task 2020-06-12T12:03:59.018Z] 12:03:59     INFO - Leaving test bound thumbnails_bg_redirect
[task 2020-06-12T12:03:59.018Z] 12:03:59     INFO - GECKO(8020) | MEMORY STAT | vsize 2104568MB | vsizeMaxContiguous 66632881MB | residentFast 387MB | heapAllocated 101MB
[task 2020-06-12T12:03:59.018Z] 12:03:59     INFO - TEST-OK | toolkit/components/thumbnails/test/browser_thumbnails_bg_redirect.js | took 185ms