Bug: Intermittent TV browser/extensions/newtab/test/browser/browser_customize_menu_content.js | Uncaught exception in test bound test_render_customizeMenuWeather - at resource://testing-common/sinon-7.2.7.js:3605 - TypeError: Attempted to wrap MerinoClient whi
Status: NEW
Priority: P5
Created: 2025-02-11 00:58:51+00:00
Resolved: 2025-03-04 14:43:53+00:00

**Filed by:** nfay [at] mozilla.com
**Parsed log:** https://treeherder.mozilla.org/logviewer?job_id=494278546&repo=autoland
**Full log:** https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/QZG7szgVT9GGj-5Bc148yg/runs/0/artifacts/public/logs/live_backing.log
**Reftest URL:** https://hg.mozilla.org/mozilla-central/raw-file/tip/layout/tools/reftest/reftest-analyzer.xhtml#logurl=https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/QZG7szgVT9GGj-5Bc148yg/runs/0/artifacts/public/logs/live_backing.log&only_show_unexpected=1

---
```
[task 2025-02-10T23:54:02.250Z] 23:54:02     INFO - TEST-START | browser/extensions/newtab/test/browser/browser_customize_menu_content.js
[task 2025-02-10T23:54:02.299Z] 23:54:02     INFO - GECKO(13951) | console.debug: ASRouter:
[task 2025-02-10T23:54:02.300Z] 23:54:02     INFO - GECKO(13951) |   Skipping message FXA_ACCOUNTS_BADGE_REVISED because covered by browser_asrouter_toolbarbadge.js
[task 2025-02-10T23:54:03.049Z] 23:54:03     INFO - GECKO(13951) | console.debug: ASRouter:
[task 2025-02-10T23:54:03.052Z] 23:54:03     INFO - GECKO(13951) |   Skipping message FXA_ACCOUNTS_BADGE_REVISED because covered by browser_asrouter_toolbarbadge.js
[task 2025-02-10T23:54:03.371Z] 23:54:03     INFO - TEST-INFO | started process screentopng
[task 2025-02-10T23:54:03.603Z] 23:54:03     INFO - TEST-INFO | screentopng: exit 0
[task 2025-02-10T23:54:03.604Z] 23:54:03     INFO - Buffered messages logged at 23:54:02
[task 2025-02-10T23:54:03.604Z] 23:54:03     INFO - Entering test bound test_render_customizeMenu
[task 2025-02-10T23:54:03.604Z] 23:54:03     INFO - TEST-PASS | browser/extensions/newtab/test/browser/browser_customize_menu_content.js | Topsites are turned off - true == true - 
[task 2025-02-10T23:54:03.604Z] 23:54:03     INFO - TEST-PASS | browser/extensions/newtab/test/browser/browser_customize_menu_content.js | Shortcuts section is not rendered - true == true - 
[task 2025-02-10T23:54:03.604Z] 23:54:03     INFO - TEST-PASS | browser/extensions/newtab/test/browser/browser_customize_menu_content.js | Shortcuts section is rendered - {} == true - 
[task 2025-02-10T23:54:03.604Z] 23:54:03     INFO - TEST-PASS | browser/extensions/newtab/test/browser/browser_customize_menu_content.js | Pocket pref is turned off - true == true - 
[task 2025-02-10T23:54:03.607Z] 23:54:03     INFO - TEST-PASS | browser/extensions/newtab/test/browser/browser_customize_menu_content.js | Pocket section is not rendered - true == true - 
[task 2025-02-10T23:54:03.608Z] 23:54:03     INFO - TEST-PASS | browser/extensions/newtab/test/browser/browser_customize_menu_content.js | Pocket section is rendered - {} == true - 
[task 2025-02-10T23:54:03.608Z] 23:54:03     INFO - TEST-PASS | browser/extensions/newtab/test/browser/browser_customize_menu_content.js | Highlights pref is turned off - true == true - 
[task 2025-02-10T23:54:03.608Z] 23:54:03     INFO - TEST-PASS | browser/extensions/newtab/test/browser/browser_customize_menu_content.js | Highlights section is not rendered - true == true - 
[task 2025-02-10T23:54:03.621Z] 23:54:03     INFO - TEST-PASS | browser/extensions/newtab/test/browser/browser_customize_menu_content.js | Highlights section is rendered - {} == true - 
[task 2025-02-10T23:54:03.622Z] 23:54:03     INFO - Leaving test bound test_render_customizeMenu
[task 2025-02-10T23:54:03.622Z] 23:54:03     INFO - Entering test bound test_render_customizeMenuWeather
[task 2025-02-10T23:54:03.622Z] 23:54:03     INFO - Buffered messages finished
[task 2025-02-10T23:54:03.622Z] 23:54:03     INFO - TEST-UNEXPECTED-FAIL | browser/extensions/newtab/test/browser/browser_customize_menu_content.js | Uncaught exception in test bound test_render_customizeMenuWeather - at resource://testing-common/sinon-7.2.7.js:3605 - TypeError: Attempted to wrap MerinoClient which is already wrapped
[task 2025-02-10T23:54:03.622Z] 23:54:03     INFO - Stack trace:
[task 2025-02-10T23:54:03.622Z] 23:54:03     INFO - checkWrappedMethod@resource://testing-common/sinon-7.2.7.js:3605:21
[task 2025-02-10T23:54:03.622Z] 23:54:03     INFO - wrapMethod@resource://testing-common/sinon-7.2.7.js:3653:31
[task 2025-02-10T23:54:03.622Z] 23:54:03     INFO - stub@resource://testing-common/sinon-7.2.7.js:3002:44
[task 2025-02-10T23:54:03.622Z] 23:54:03     INFO - stub@resource://testing-common/sinon-7.2.7.js:2099:33
[task 2025-02-10T23:54:03.622Z] 23:54:03     INFO - before@chrome://mochitests/content/browser/browser/extensions/newtab/test/browser/browser_customize_menu_content.js:132:11
[task 2025-02-10T23:54:03.623Z] 23:54:03     INFO - testTask@chrome://mochitests/content/browser/browser/extensions/newtab/test/browser/head.js:216:30
[task 2025-02-10T23:54:03.623Z] 23:54:03     INFO - async*handleTask@chrome://mochikit/content/browser-test.js:1147:26
[task 2025-02-10T23:54:03.623Z] 23:54:03     INFO - _runTaskBasedTest@chrome://mochikit/content/browser-test.js:1219:18
[task 2025-02-10T23:54:03.623Z] 23:54:03     INFO - async*Tester_execTest@chrome://mochikit/content/browser-test.js:1360:14
[task 2025-02-10T23:54:03.623Z] 23:54:03     INFO - nextTest/<@chrome://mochikit/content/browser-test.js:1130:14
[task 2025-02-10T23:54:03.623Z] 23:54:03     INFO - SimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1058:13
[task 2025-02-10T23:54:03.623Z] 23:54:03     INFO - 
[task 2025-02-10T23:54:03.623Z] 23:54:03     INFO - --------------
[task 2025-02-10T23:54:03.623Z] 23:54:03     INFO - wrapMethod@resource://testing-common/sinon-7.2.7.js:3679:26
[task 2025-02-10T23:54:03.623Z] 23:54:03     INFO - stub@resource://testing-common/sinon-7.2.7.js:3002:44
[task 2025-02-10T23:54:03.623Z] 23:54:03     INFO - stub@resource://testing-common/sinon-7.2.7.js:2099:33
[task 2025-02-10T23:54:03.624Z] 23:54:03     INFO - before@chrome://mochitests/content/browser/browser/extensions/newtab/test/browser/browser_customize_menu_content.js:132:11
[task 2025-02-10T23:54:03.624Z] 23:54:03     INFO - testTask@chrome://mochitests/content/browser/browser/extensions/newtab/test/browser/head.js:216:30
[task 2025-02-10T23:54:03.624Z] 23:54:03     INFO - async*handleTask@chrome://mochikit/content/browser-test.js:1147:26
[task 2025-02-10T23:54:03.624Z] 23:54:03     INFO - _runTaskBasedTest@chrome://mochikit/content/browser-test.js:1219:18
[task 2025-02-10T23:54:03.624Z] 23:54:03     INFO - async*Tester_execTest@chrome://mochikit/content/browser-test.js:1360:14
[task 2025-02-10T23:54:03.624Z] 23:54:03     INFO - nextTest/<@chrome://mochikit/content/browser-test.js:1130:14
[task 2025-02-10T23:54:03.624Z] 23:54:03     INFO - SimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1058:13
[task 2025-02-10T23:54:03.624Z] 23:54:03     INFO - Leaving test bound test_render_customizeMenuWeather
[task 2025-02-10T23:54:03.624Z] 23:54:03     INFO - Entering test bound test_open_close_customizeMenu
[task 2025-02-10T23:54:03.624Z] 23:54:03     INFO - GECKO(13951) | console.debug: ASRouter:
[task 2025-02-10T23:54:03.624Z] 23:54:03     INFO - GECKO(13951) |   Skipping message FXA_ACCOUNTS_BADGE_REVISED because covered by browser_asrouter_toolbarbadge.js
[task 2025-02-10T23:54:05.076Z] 23:54:05     INFO - Leaving test bound test_open_close_customizeMenu
[task 2025-02-10T23:54:05.304Z] 23:54:05     INFO - GECKO(13951) | MEMORY STAT | vsize 11671MB | residentFast 546MB | heapAllocated 278MB
[task 2025-02-10T23:54:05.305Z] 23:54:05     INFO - TEST-OK | browser/extensions/newtab/test/browser/browser_customize_menu_content.js | took 3054ms
[task 2025-02-10T23:54:05.321Z] 23:54:05     INFO - checking window state
[task 2025-02-10T23:54:05.338Z] 23:54:05     INFO - GECKO(13951) | Completed ShutdownLeaks collections in process 13951
[task 2025-02-10T23:54:05.344Z] 23:54:05     INFO - TEST-START | Shutdown
[task 2025-02-10T23:54:05.344Z] 23:54:05     INFO - Browser Chrome Test Summary
[task 2025-02-10T23:54:05.345Z] 23:54:05     INFO - Passed:  21
[task 2025-02-10T23:54:05.345Z] 23:54:05     INFO - Failed:  1
[task 2025-02-10T23:54:05.345Z] 23:54:05     INFO - Todo:    0
[task 2025-02-10T23:54:05.345Z] 23:54:05     INFO - Mode:    e10s
[task 2025-02-10T23:54:05.345Z] 23:54:05     INFO - *** End BrowserChrome Test Results ***
```