Bug: Intermittent browser/components/pocket/test/browser_pocket_context_menu_action.js | Test timed out -
Status: RESOLVED
Priority: P5
Resolution: DUPLICATE
Created: 2022-06-17 09:26:55+00:00
Resolved: 2022-07-26 00:16:57+00:00

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

---
```
[task 2022-06-17T08:31:10.592Z] 08:31:10     INFO - TEST-START | browser/components/pocket/test/browser_pocket_context_menu_action.js
[task 2022-06-17T08:31:11.031Z] 08:31:11     INFO - GECKO(20416) | JavaScript error: resource:///actors/ContextMenuChild.jsm, line 583: TypeError: doc is null
[task 2022-06-17T08:31:55.637Z] 08:31:55     INFO - TEST-INFO | started process screentopng
[task 2022-06-17T08:31:56.021Z] 08:31:56     INFO - TEST-INFO | screentopng: exit 0
[task 2022-06-17T08:31:56.022Z] 08:31:56     INFO - Buffered messages logged at 08:31:10
[task 2022-06-17T08:31:56.022Z] 08:31:56     INFO - Entering test bound 
[task 2022-06-17T08:31:56.023Z] 08:31:56     INFO - opening context menu
[task 2022-06-17T08:31:56.023Z] 08:31:56     INFO - Buffered messages logged at 08:31:11
[task 2022-06-17T08:31:56.023Z] 08:31:56     INFO - Console message: [JavaScript Error: "TypeError: doc is null" {file: "resource:///actors/ContextMenuChild.jsm" line: 583}]
[task 2022-06-17T08:31:56.024Z] 08:31:56     INFO - Buffered messages finished
[task 2022-06-17T08:31:56.024Z] 08:31:56     INFO - TEST-UNEXPECTED-FAIL | browser/components/pocket/test/browser_pocket_context_menu_action.js | Test timed out - 
[task 2022-06-17T08:31:56.025Z] 08:31:56     INFO - Not taking screenshot here: see the one that was previously logged
[task 2022-06-17T08:31:56.026Z] 08:31:56     INFO - TEST-UNEXPECTED-FAIL | browser/components/pocket/test/browser_pocket_context_menu_action.js | Uncaught exception received from previously timed out test - popupshown listener on #contentAreaContextMenu not removed before the end of test
[task 2022-06-17T08:31:56.032Z] 08:31:56     INFO - Not taking screenshot here: see the one that was previously logged
[task 2022-06-17T08:31:56.032Z] 08:31:56     INFO - TEST-UNEXPECTED-FAIL | browser/components/pocket/test/browser_pocket_context_menu_action.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 2022-06-17T08:31:56.032Z] 08:31:56     INFO - Rejection date: Fri Jun 17 2022 08:31:55 GMT+0000 (Coordinated Universal Time) - false == true - JS frame :: resource://testing-common/PromiseTestUtils.jsm :: assertNoUncaughtRejections :: line 271
[task 2022-06-17T08:31:56.032Z] 08:31:56     INFO - Stack trace:
[task 2022-06-17T08:31:56.032Z] 08:31:56     INFO - resource://testing-common/PromiseTestUtils.jsm:assertNoUncaughtRejections:271
[task 2022-06-17T08:31:56.032Z] 08:31:56     INFO - chrome://mochikit/content/browser-test.js:nextTest:625
[task 2022-06-17T08:31:56.032Z] 08:31:56     INFO - chrome://mochikit/content/browser-test.js:timeoutFn:1289
[task 2022-06-17T08:31:56.032Z] 08:31:56     INFO - GECKO(20416) | JavaScript error: resource://testing-common/PromiseTestUtils.jsm, line 120: uncaught exception: popuphidden listener on #contentAreaContextMenu not removed before the end of test
[task 2022-06-17T08:31:56.032Z] 08:31:56     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: 120}]
[task 2022-06-17T08:31:56.032Z] 08:31:56     INFO - GECKO(20416) | MEMORY STAT | vsize 3318MB | residentFast 461MB | heapAllocated 213MB
[task 2022-06-17T08:31:56.032Z] 08:31:56     INFO - TEST-OK | browser/components/pocket/test/browser_pocket_context_menu_action.js | took 45050ms
[task 2022-06-17T08:31:56.032Z] 08:31:56     INFO - Not taking screenshot here: see the one that was previously logged
[task 2022-06-17T08:31:56.032Z] 08:31:56     INFO - TEST-UNEXPECTED-FAIL | browser/components/pocket/test/browser_pocket_context_menu_action.js | Found a tab after previous test timed out: https://example.com/browser/browser/components/pocket/test/test.html - 
[task 2022-06-17T08:31:56.033Z] 08:31:56     INFO - checking window state
[task 2022-06-17T08:31:56.034Z] 08:31:56     INFO - TEST-START | browser/components/pocket/test/browser_pocket_home_panel.js
```