Bug: Intermittent uriloader/exthandler/tests/mochitest/browser_save_filenames.js | Test timed out | A promise chain failed to handle a rejection: Component returned failure code | Found a tab after previous test timed out
Status: RESOLVED
Priority: P5
Resolution: DUPLICATE
Created: 2022-05-09 12:56:52+00:00
Resolved: 2022-08-08 23:28:26+00:00

**Filed by:** nfay [at] mozilla.com
**Parsed log:** https://treeherder.mozilla.org/logviewer?job_id=377386320&repo=autoland
**Full log:** https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/SwQvxI0FTu-w4DiDlYKENg/runs/1/artifacts/public/logs/live_backing.log

---
```
[task 2022-05-09T12:39:28.158Z] 12:39:28     INFO - TEST-PASS | uriloader/exthandler/tests/mochitest/browser_save_filenames.js | attachmentlink42 script 6.exe.js was saved with the correct name when opened as attachment - 
[task 2022-05-09T12:39:28.160Z] 12:39:28     INFO - TEST-PASS | uriloader/exthandler/tests/mochitest/browser_save_filenames.js | attachmentlink43 readme.txt was saved with the correct name when opened as attachment - 
[task 2022-05-09T12:39:28.161Z] 12:39:28     INFO - TEST-PASS | uriloader/exthandler/tests/mochitest/browser_save_filenames.js | attachmentlink44 main.cpp was saved with the correct name when opened as attachment - 
[task 2022-05-09T12:39:28.161Z] 12:39:28     INFO - TEST-PASS | uriloader/exthandler/tests/mochitest/browser_save_filenames.js | attachmentlink45 readme was saved with the correct name when opened as attachment - 
[task 2022-05-09T12:39:28.161Z] 12:39:28     INFO - TEST-PASS | uriloader/exthandler/tests/mochitest/browser_save_filenames.js | attachmentlink46 info was saved with the correct name when opened as attachment - 
[task 2022-05-09T12:39:28.161Z] 12:39:28     INFO - TEST-PASS | uriloader/exthandler/tests/mochitest/browser_save_filenames.js | attachmentlink47 basetext was saved with the correct name when opened as attachment - 
[task 2022-05-09T12:39:28.162Z] 12:39:28     INFO - TEST-PASS | uriloader/exthandler/tests/mochitest/browser_save_filenames.js | attachmentlink48 text2.txt was saved with the correct name when opened as attachment - 
[task 2022-05-09T12:39:28.162Z] 12:39:28     INFO - TEST-PASS | uriloader/exthandler/tests/mochitest/browser_save_filenames.js | attachmentlink49 text3.gonk was saved with the correct name when opened as attachment - 
[task 2022-05-09T12:39:28.163Z] 12:39:28     INFO - Buffered messages logged at 12:36:17
[task 2022-05-09T12:39:28.165Z] 12:39:28     INFO - TEST-PASS | uriloader/exthandler/tests/mochitest/browser_save_filenames.js | attachmentlink50 text0123456789zztext0123456789zztext0123456789zztext0123456789zztext0123456789zztext0123456789zztext0123456789zztext0123456789zztext0123456789zztext0123456789zztext0123456789zztext0123456789zztext0123456789zztext0123456789zztext0123456789zztext0123456.txt was saved with the correct name when opened as attachment (with long name) - 
[task 2022-05-09T12:39:28.166Z] 12:39:28     INFO - TEST-PASS | uriloader/exthandler/tests/mochitest/browser_save_filenames.js | attachmentlink51 webpimage.webp was saved with the correct name when opened as attachment - 
[task 2022-05-09T12:39:28.166Z] 12:39:28     INFO - Console message: [JavaScript Error: "NS_ERROR_FAILURE: Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIDOMWindowUtils.sendMouseEvent]" {file: "chrome://mochikit/content/tests/SimpleTest/EventUtils.js" line: 648}]
[task 2022-05-09T12:39:28.166Z] 12:39:28     INFO - Buffered messages logged at 12:36:27
[task 2022-05-09T12:39:28.167Z] 12:39:28     INFO - Longer timeout required, waiting longer...  Remaining timeouts: 4
[task 2022-05-09T12:39:28.167Z] 12:39:28     INFO - Buffered messages logged at 12:37:12
[task 2022-05-09T12:39:28.168Z] 12:39:28     INFO - Longer timeout required, waiting longer...  Remaining timeouts: 3
[task 2022-05-09T12:39:28.168Z] 12:39:28     INFO - Buffered messages logged at 12:37:57
[task 2022-05-09T12:39:28.168Z] 12:39:28     INFO - Longer timeout required, waiting longer...  Remaining timeouts: 2
[task 2022-05-09T12:39:28.169Z] 12:39:28     INFO - Buffered messages logged at 12:38:42
[task 2022-05-09T12:39:28.169Z] 12:39:28     INFO - Longer timeout required, waiting longer...  Remaining timeouts: 1
[task 2022-05-09T12:39:28.170Z] 12:39:28     INFO - Buffered messages finished
[task 2022-05-09T12:39:28.171Z] 12:39:28     INFO - TEST-UNEXPECTED-FAIL | uriloader/exthandler/tests/mochitest/browser_save_filenames.js | Test timed out - 
[task 2022-05-09T12:39:28.171Z] 12:39:28     INFO - Not taking screenshot here: see the one that was previously logged
[task 2022-05-09T12:39:28.173Z] 12:39:28     INFO - TEST-UNEXPECTED-FAIL | uriloader/exthandler/tests/mochitest/browser_save_filenames.js | A promise chain failed to handle a rejection: Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIDOMWindowUtils.sendMouseEvent] - stack: synthesizeMouseAtPoint@chrome://mochikit/content/tests/SimpleTest/EventUtils.js:648:13
[task 2022-05-09T12:39:28.173Z] 12:39:28     INFO - synthesizeMouse/<@resource://testing-common/BrowserTestUtilsChild.jsm:334:34
[task 2022-05-09T12:39:28.173Z] 12:39:28     INFO - wrapHandlingUserInput@resource://gre/modules/E10SUtils.jsm:864:7
[task 2022-05-09T12:39:28.174Z] 12:39:28     INFO - synthesizeMouse@resource://testing-common/BrowserTestUtilsChild.jsm:330:15
[task 2022-05-09T12:39:28.174Z] 12:39:28     INFO - receiveMessage@resource://testing-common/BrowserTestUtilsChild.jsm:149:21
[task 2022-05-09T12:39:28.174Z] 12:39:28     INFO - Rejection date: Mon May 09 2022 12:36:17 GMT+0000 (Coordinated Universal Time) - false == true - JS frame :: resource://testing-common/PromiseTestUtils.jsm :: assertNoUncaughtRejections :: line 271
[task 2022-05-09T12:39:28.175Z] 12:39:28     INFO - Stack trace:
[task 2022-05-09T12:39:28.176Z] 12:39:28     INFO - resource://testing-common/PromiseTestUtils.jsm:assertNoUncaughtRejections:271
[task 2022-05-09T12:39:28.176Z] 12:39:28     INFO - chrome://mochikit/content/browser-test.js:nextTest:625
[task 2022-05-09T12:39:28.182Z] 12:39:28     INFO - GECKO(6855) | MEMORY STAT | vsize 3701MB | residentFast 441MB | heapAllocated 268MB
[task 2022-05-09T12:39:28.183Z] 12:39:28     INFO - TEST-OK | uriloader/exthandler/tests/mochitest/browser_save_filenames.js | took 225019ms
[task 2022-05-09T12:39:28.184Z] 12:39:28     INFO - Not taking screenshot here: see the one that was previously logged
[task 2022-05-09T12:39:28.184Z] 12:39:28     INFO - TEST-UNEXPECTED-FAIL | uriloader/exthandler/tests/mochitest/browser_save_filenames.js | Found a tab after previous test timed out: file:///tmp/Temp-281220a9-d540-4495-8a0c-d95cdc1caab1/testsavedir591119960/webpimage.webp - 
[task 2022-05-09T12:39:28.186Z] 12:39:28     INFO - Not taking screenshot here: see the one that was previously logged
[task 2022-05-09T12:39:28.187Z] 12:39:28     INFO - TEST-UNEXPECTED-FAIL | uriloader/exthandler/tests/mochitest/browser_save_filenames.js | Found a tab after previous test timed out: http://localhost:8000/save_filenames.html - 
[task 2022-05-09T12:39:28.187Z] 12:39:28     INFO - checking window state
[task 2022-05-09T12:39:28.190Z] 12:39:28     INFO - TEST-START | uriloader/exthandler/tests/mochitest/browser_shows_where_to_save_dialog.js
```