Bug: Intermittent browser/components/newtab/test/browser/browser_context_menu_item.js | single tracking bug
Status: RESOLVED
Priority: P5
Resolution: INCOMPLETE
Created: 2023-08-16 08:47:06+00:00
Resolved: 2024-04-15 12:01:47+00:00

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

---
```
[task 2023-08-16T08:05:57.875Z] 08:05:57     INFO - TEST-START | browser/components/newtab/test/browser/browser_context_menu_item.js
[task 2023-08-16T08:05:59.767Z] 08:05:59     INFO - TEST-INFO | started process screentopng
[task 2023-08-16T08:05:59.998Z] 08:05:59     INFO - TEST-INFO | screentopng: exit 0
[task 2023-08-16T08:05:59.998Z] 08:05:59     INFO - Buffered messages logged at 08:05:57
[task 2023-08-16T08:05:59.998Z] 08:05:59     INFO - Entering test bound test_contextMenuIcons
[task 2023-08-16T08:05:59.998Z] 08:05:59     INFO - Buffered messages finished
[task 2023-08-16T08:06:00.000Z] 08:06:00     INFO - TEST-UNEXPECTED-FAIL | browser/components/newtab/test/browser/browser_context_menu_item.js | Uncaught exception in test bound test_contextMenuIcons - at chrome://mochitests/content/browser/browser/components/newtab/test/browser/head.js:281 - TypeError: can't access property "querySelector", contextMenu is null
[task 2023-08-16T08:06:00.000Z] 08:06:00     INFO - Stack trace:
[task 2023-08-16T08:06:00.000Z] 08:06:00     INFO - openContextMenuAndGetOptions@chrome://mochitests/content/browser/browser/components/newtab/test/browser/head.js:281:31
[task 2023-08-16T08:06:00.000Z] 08:06:00     INFO - async*test_contextMenuIcons@chrome://mochitests/content/browser/browser/components/newtab/test/browser/browser_context_menu_item.js:13:44
[task 2023-08-16T08:06:00.000Z] 08:06:00     INFO - async*execute@resource://testing-common/SpecialPowersSandbox.sys.mjs:139:12
[task 2023-08-16T08:06:00.000Z] 08:06:00     INFO - _spawnTask@resource://testing-common/SpecialPowersChild.sys.mjs:1640:15
[task 2023-08-16T08:06:00.000Z] 08:06:00     INFO - receiveMessage@resource://testing-common/SpecialPowersChild.sys.mjs:257:21
[task 2023-08-16T08:06:00.000Z] 08:06:00     INFO - JSActor query*receiveMessage@resource://testing-common/SpecialPowersParent.sys.mjs:1385:14
[task 2023-08-16T08:06:00.000Z] 08:06:00     INFO - JSActor query*spawn@resource://testing-common/SpecialPowersChild.sys.mjs:1569:17
[task 2023-08-16T08:06:00.001Z] 08:06:00     INFO - testTask@chrome://mochitests/content/browser/browser/components/newtab/test/browser/head.js:356:47
[task 2023-08-16T08:06:00.001Z] 08:06:00     INFO - async*handleTask@chrome://mochikit/content/browser-test.js:1131:26
[task 2023-08-16T08:06:00.001Z] 08:06:00     INFO - _runTaskBasedTest@chrome://mochikit/content/browser-test.js:1203:18
[task 2023-08-16T08:06:00.001Z] 08:06:00     INFO - Tester_execTest@chrome://mochikit/content/browser-test.js:1345:14
[task 2023-08-16T08:06:00.001Z] 08:06:00     INFO - nextTest/<@chrome://mochikit/content/browser-test.js:1120:14
[task 2023-08-16T08:06:00.001Z] 08:06:00     INFO - SimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1056:13
[task 2023-08-16T08:06:00.001Z] 08:06:00     INFO - Leaving test bound test_contextMenuIcons
[task 2023-08-16T08:06:00.183Z] 08:06:00     INFO - GECKO(1989) | MEMORY STAT | vsize 130560155MB | residentFast 1708MB
[task 2023-08-16T08:06:00.184Z] 08:06:00     INFO - TEST-OK | browser/components/newtab/test/browser/browser_context_menu_item.js | took 2309ms
```