Bug: Intermittent browser/base/content/test/contextMenu/browser_contextmenu_inspect.js | Test timed out -
Status: RESOLVED
Priority: P5
Resolution: INCOMPLETE
Created: 2021-06-18 09:26:36+00:00
Resolved: 2023-02-07 17:02:41+00:00

**Filed by:** smolnar [at] mozilla.com
**Parsed log:** https://treeherder.mozilla.org/logviewer?job_id=343197200&repo=mozilla-beta
**Full log:** https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/FGoRER-6SvG69e5m14zZOw/runs/0/artifacts/public/logs/live_backing.log

---
```
INFO - TEST-START | browser/base/content/test/contextMenu/browser_contextmenu_inspect.js
[task 2021-06-18T08:32:24.955Z] 08:32:24     INFO - GECKO(3991) | 2021-06-18 08:32:24.954 firefox[3991:55128] Persistent UI failed to open file file:///Users/cltbld/Library/Saved%20Application%20State/org.mozilla.firefox.savedState/window_1.data: No such file or directory (2)
[task 2021-06-18T08:32:58.712Z] 08:32:58     INFO - TEST-INFO | started process screencapture
[task 2021-06-18T08:32:58.828Z] 08:32:58     INFO - TEST-INFO | screencapture: exit 0
[task 2021-06-18T08:32:58.829Z] 08:32:58     INFO - Buffered messages logged at 08:32:13
[task 2021-06-18T08:32:58.829Z] 08:32:58     INFO - Entering test bound test_contextmenu_inspect
[task 2021-06-18T08:32:58.829Z] 08:32:58     INFO - Buffered messages logged at 08:32:14
[task 2021-06-18T08:32:58.829Z] 08:32:58     INFO - TEST-PASS | browser/base/content/test/contextMenu/browser_contextmenu_inspect.js | checking if popup is closed - 
[task 2021-06-18T08:32:58.830Z] 08:32:58     INFO - TEST-PASS | browser/base/content/test/contextMenu/browser_contextmenu_inspect.js | Inspect should be shown (pref devtools.selfxss.count is 10). - 
[task 2021-06-18T08:32:58.830Z] 08:32:58     INFO - TEST-PASS | browser/base/content/test/contextMenu/browser_contextmenu_inspect.js | A11y should be visible (pref devtools.selfxss.count is 10). - 
[task 2021-06-18T08:32:58.830Z] 08:32:58     INFO - TEST-PASS | browser/base/content/test/contextMenu/browser_contextmenu_inspect.js | checking if popup is closed - 
[task 2021-06-18T08:32:58.831Z] 08:32:58     INFO - TEST-PASS | browser/base/content/test/contextMenu/browser_contextmenu_inspect.js | Inspect should be shown (pref devtools.selfxss.count is 0). - 
[task 2021-06-18T08:32:58.831Z] 08:32:58     INFO - TEST-PASS | browser/base/content/test/contextMenu/browser_contextmenu_inspect.js | A11y should be hidden (pref devtools.selfxss.count is 0). - 
[task 2021-06-18T08:32:58.831Z] 08:32:58     INFO - TEST-PASS | browser/base/content/test/contextMenu/browser_contextmenu_inspect.js | checking if popup is closed - 
[task 2021-06-18T08:32:58.832Z] 08:32:58     INFO - TEST-PASS | browser/base/content/test/contextMenu/browser_contextmenu_inspect.js | Inspect should be shown (pref devtools.everOpened is false). - 
[task 2021-06-18T08:32:58.832Z] 08:32:58     INFO - TEST-PASS | browser/base/content/test/contextMenu/browser_contextmenu_inspect.js | A11y should be hidden (pref devtools.everOpened is false). - 
[task 2021-06-18T08:32:58.833Z] 08:32:58     INFO - TEST-PASS | browser/base/content/test/contextMenu/browser_contextmenu_inspect.js | checking if popup is closed - 
[task 2021-06-18T08:32:58.833Z] 08:32:58     INFO - Buffered messages finished
[task 2021-06-18T08:32:58.833Z] 08:32:58     INFO - TEST-UNEXPECTED-FAIL | browser/base/content/test/contextMenu/browser_contextmenu_inspect.js | Test timed out - 
[task 2021-06-18T08:32:58.834Z] 08:32:58     INFO - Not taking screenshot here: see the one that was previously logged
[task 2021-06-18T08:32:58.834Z] 08:32:58     INFO - TEST-UNEXPECTED-FAIL | browser/base/content/test/contextMenu/browser_contextmenu_inspect.js | Uncaught exception received from previously timed out test - popupshown listener on #contentAreaContextMenu not removed before the end of test
[task 2021-06-18T08:32:58.834Z] 08:32:58     INFO - Not taking screenshot here: see the one that was previously logged
[task 2021-06-18T08:32:58.835Z] 08:32:58     INFO - TEST-UNEXPECTED-FAIL | browser/base/content/test/contextMenu/browser_contextmenu_inspect.js | A promise chain failed to handle a rejection: popuphidden listener on #contentAreaContextMenu not removed before the end of test - stack: (No stack available.)
[task 2021-06-18T08:32:58.835Z] 08:32:58     INFO - Rejection date: Fri Jun 18 2021 08:32:58 GMT+0000 (Greenwich Mean Time) - false == true - JS frame :: resource://testing-common/PromiseTestUtils.jsm :: assertNoUncaughtRejections :: line 285
[task 2021-06-18T08:32:58.835Z] 08:32:58     INFO - Stack trace:
[task 2021-06-18T08:32:58.835Z] 08:32:58     INFO - resource://testing-common/PromiseTestUtils.jsm:assertNoUncaughtRejections:285
[task 2021-06-18T08:32:58.835Z] 08:32:58     INFO - chrome://mochikit/content/browser-test.js:nextTest:628
[task 2021-06-18T08:32:58.835Z] 08:32:58     INFO - chrome://mochikit/content/browser-test.js:timeoutFn:1222
[task 2021-06-18T08:32:58.836Z] 08:32:58     INFO - GECKO(3991) | JavaScript error: resource://testing-common/PromiseTestUtils.jsm, line 131: uncaught exception: popuphidden listener on #contentAreaContextMenu not removed before the end of test
[task 2021-06-18T08:32:58.836Z] 08:32:58     INFO - Console message: [JavaScript Error: "uncaught exception: popuphidden listener on #contentAreaContextMenu not removed before the end of test" {file: "resource://testing-common/PromiseTestUtils.jsm" line: 131}]
[task 2021-06-18T08:32:58.837Z] 08:32:58     INFO - GECKO(3991) | MEMORY STAT | vsize 7833MB | residentFast 273MB | heapAllocated 100MB
[task 2021-06-18T08:32:58.837Z] 08:32:58     INFO - TEST-OK | browser/base/content/test/contextMenu/browser_contextmenu_inspect.js | took 45009ms
[task 2021-06-18T08:32:58.838Z] 08:32:58     INFO - Not taking screenshot here: see the one that was previously logged
[task 2021-06-18T08:32:58.838Z] 08:32:58     INFO - TEST-UNEXPECTED-FAIL | browser/base/content/test/contextMenu/browser_contextmenu_inspect.js | Found a tab after previous test timed out: about:blank - 
[task 2021-06-18T08:32:58.838Z] 08:32:58     INFO - checking window state
[task 2021-06-18T08:32:58.839Z] 08:32:58     INFO - TEST-START | browser/base/content/test/contextMenu/browser_contextmenu_keyword.js
```