Bug: Intermittent  browser/components/customizableui/test/browser_976792_insertNodeInWindow.js | insertNodeInWindow should have placed new XUL widget in correct place in DOM according to placements - Got "fxa-toolbar-menu-button", expected "test-widget
Status: RESOLVED
Priority: P5
Resolution: INCOMPLETE
Created: 2021-08-30 00:03:11+00:00
Resolved: 2022-05-10 17:02:14+00:00

**Filed by:** imoraru [at] mozilla.com
**Parsed log:** https://treeherder.mozilla.org/logviewer?job_id=349894843&repo=mozilla-central
**Full log:** https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/QZVMpB-eSL2Xv3JxTKzSQw/runs/0/artifacts/public/logs/live_backing.log

---
```
[task 2021-08-29T22:46:39.402Z] 22:46:39     INFO - TEST-START | browser/components/customizableui/test/browser_976792_insertNodeInWindow.js
[task 2021-08-29T22:46:39.420Z] 22:46:39     INFO - GECKO(3325) | console.info: CustomizableUI: Widget test-widget-for-insertNodeInWindow-placements-0 not found, unable to remove from test-insertNodeInWindow-placements-toolbar
[task 2021-08-29T22:46:39.421Z] 22:46:39     INFO - GECKO(3325) | console.info: CustomizableUI: Widget test-widget-for-insertNodeInWindow-placements-1 not found, unable to remove from test-insertNodeInWindow-placements-toolbar
[task 2021-08-29T22:46:39.421Z] 22:46:39     INFO - GECKO(3325) | console.info: CustomizableUI: Widget test-widget-for-insertNodeInWindow-placements-2 not found, unable to remove from test-insertNodeInWindow-placements-toolbar
[task 2021-08-29T22:46:39.422Z] 22:46:39     INFO - GECKO(3325) | console.info: CustomizableUI: Widget test-widget-for-insertNodeInWindow-placements-3 not found, unable to remove from test-insertNodeInWindow-placements-toolbar
[task 2021-08-29T22:46:39.459Z] 22:46:39     INFO - GECKO(3325) | [Child 3332, Main Thread] WARNING: Scrolled rect smaller than scrollport?: file /builds/worker/checkouts/gecko/layout/generic/nsGfxScrollFrame.cpp:7066
[task 2021-08-29T22:46:39.735Z] 22:46:39     INFO - GECKO(3325) | [Child 3332, Main Thread] WARNING: Scrolled rect smaller than scrollport?: file /builds/worker/checkouts/gecko/layout/generic/nsGfxScrollFrame.cpp:7066
[task 2021-08-29T22:46:39.986Z] 22:46:39     INFO - GECKO(3325) | [Child 3332, Main Thread] WARNING: Scrolled rect smaller than scrollport?: file /builds/worker/checkouts/gecko/layout/generic/nsGfxScrollFrame.cpp:7066
[task 2021-08-29T22:46:40.298Z] 22:46:40     INFO - TEST-INFO | started process screencapture
[task 2021-08-29T22:46:40.568Z] 22:46:40     INFO - TEST-INFO | screencapture: exit 0
[task 2021-08-29T22:46:40.569Z] 22:46:40     INFO - Buffered messages logged at 22:46:39
[task 2021-08-29T22:46:40.569Z] 22:46:40     INFO - Entering test bound 
[task 2021-08-29T22:46:40.570Z] 22:46:40     INFO - Actual placements: test-widget-for-insertNodeInWindow-placements-0, test-widget-for-insertNodeInWindow-placements-1, test-widget-for-insertNodeInWindow-placements-2, test-widget-for-insertNodeInWindow-placements-3
[task 2021-08-29T22:46:40.570Z] 22:46:40     INFO - Expected placements: test-widget-for-insertNodeInWindow-placements-0, test-widget-for-insertNodeInWindow-placements-1, test-widget-for-insertNodeInWindow-placements-2, test-widget-for-insertNodeInWindow-placements-3
[task 2021-08-29T22:46:40.571Z] 22:46:40     INFO - TEST-PASS | browser/components/customizableui/test/browser_976792_insertNodeInWindow.js | Area test-insertNodeInWindow-placements-toolbar should have 4 items. - 
[task 2021-08-29T22:46:40.571Z] 22:46:40     INFO - TEST-PASS | browser/components/customizableui/test/browser_976792_insertNodeInWindow.js | Item 0 in test-insertNodeInWindow-placements-toolbar should match expectations. - 
[task 2021-08-29T22:46:40.572Z] 22:46:40     INFO - TEST-PASS | browser/components/customizableui/test/browser_976792_insertNodeInWindow.js | Item 1 in test-insertNodeInWindow-placements-toolbar should match expectations. - 
[task 2021-08-29T22:46:40.572Z] 22:46:40     INFO - TEST-PASS | browser/components/customizableui/test/browser_976792_insertNodeInWindow.js | Item 2 in test-insertNodeInWindow-placements-toolbar should match expectations. - 
[task 2021-08-29T22:46:40.573Z] 22:46:40     INFO - TEST-PASS | browser/components/customizableui/test/browser_976792_insertNodeInWindow.js | Item 3 in test-insertNodeInWindow-placements-toolbar should match expectations. - 
[task 2021-08-29T22:46:40.573Z] 22:46:40     INFO - TEST-PASS | browser/components/customizableui/test/browser_976792_insertNodeInWindow.js | New XUL widget should be placed inside new toolbar - 
[task 2021-08-29T22:46:40.574Z] 22:46:40     INFO - TEST-PASS | browser/components/customizableui/test/browser_976792_insertNodeInWindow.js | insertNodeInWindow should have placed new XUL widget in correct place in DOM according to placements - 
[task 2021-08-29T22:46:40.574Z] 22:46:40     INFO - Leaving test bound 
[task 2021-08-29T22:46:40.574Z] 22:46:40     INFO - Entering test bound 
[task 2021-08-29T22:46:40.575Z] 22:46:40     INFO - TEST-PASS | browser/components/customizableui/test/browser_976792_insertNodeInWindow.js | New XUL widget should be placed inside overflow of toolbar - 
[task 2021-08-29T22:46:40.575Z] 22:46:40     INFO - TEST-PASS | browser/components/customizableui/test/browser_976792_insertNodeInWindow.js | insertNodeInWindow should have placed new XUL widget in correct place in DOM according to placements - 
[task 2021-08-29T22:46:40.576Z] 22:46:40     INFO - TEST-PASS | browser/components/customizableui/test/browser_976792_insertNodeInWindow.js | insertNodeInWindow should have placed new XUL widget in correct place in DOM according to placements - 
[task 2021-08-29T22:46:40.576Z] 22:46:40     INFO - Leaving test bound 
[task 2021-08-29T22:46:40.576Z] 22:46:40     INFO - Entering test bound 
[task 2021-08-29T22:46:40.577Z] 22:46:40     INFO - TEST-PASS | browser/components/customizableui/test/browser_976792_insertNodeInWindow.js | New XUL widget should be placed inside overflow of toolbar - 
[task 2021-08-29T22:46:40.578Z] 22:46:40     INFO - TEST-PASS | browser/components/customizableui/test/browser_976792_insertNodeInWindow.js | insertNodeInWindow should have placed new XUL widget in correct place in DOM according to placements - 
[task 2021-08-29T22:46:40.578Z] 22:46:40     INFO - TEST-PASS | browser/components/customizableui/test/browser_976792_insertNodeInWindow.js | insertNodeInWindow should have placed new XUL widget in correct place in DOM according to placements - 
[task 2021-08-29T22:46:40.579Z] 22:46:40     INFO - Leaving test bound 
[task 2021-08-29T22:46:40.579Z] 22:46:40     INFO - Entering test bound 
[task 2021-08-29T22:46:40.579Z] 22:46:40     INFO - Buffered messages logged at 22:46:40
[task 2021-08-29T22:46:40.580Z] 22:46:40     INFO - TEST-PASS | browser/components/customizableui/test/browser_976792_insertNodeInWindow.js | New XUL widget should be placed inside overflow of toolbar - 
[task 2021-08-29T22:46:40.580Z] 22:46:40     INFO - Buffered messages finished
[task 2021-08-29T22:46:40.581Z] 22:46:40     INFO - TEST-UNEXPECTED-FAIL | browser/components/customizableui/test/browser_976792_insertNodeInWindow.js | insertNodeInWindow should have placed new XUL widget in correct place in DOM according to placements - Got "fxa-toolbar-menu-button", expected "test-widget-for-insertNodeInWindow-placements-1"
[task 2021-08-29T22:46:40.581Z] 22:46:40     INFO - Stack trace:
[task 2021-08-29T22:46:40.581Z] 22:46:40     INFO - chrome://mochikit/content/browser-test.js:test_is:1364
[task 2021-08-29T22:46:40.581Z] 22:46:40     INFO - chrome://mochitests/content/browser/browser/components/customizableui/test/browser_976792_insertNodeInWindow.js:null:245
[task 2021-08-29T22:46:40.582Z] 22:46:40     INFO - TEST-PASS | browser/components/customizableui/test/browser_976792_insertNodeInWindow.js | insertNodeInWindow should have placed new XUL widget in correct place in DOM according to placements - 
[task 2021-08-29T22:46:40.582Z] 22:46:40     INFO - Leaving test bound 
[task 2021-08-29T22:46:40.582Z] 22:46:40     INFO - Entering test bound 
<...>
[task 2021-08-29T22:46:41.405Z] 22:46:41     INFO - Entering test bound asyncCleanUp
[task 2021-08-29T22:46:41.408Z] 22:46:41     INFO - Leaving test bound asyncCleanUp
[task 2021-08-29T22:46:41.425Z] 22:46:41     INFO - GECKO(3325) | MEMORY STAT | vsize 8332MB | residentFast 504MB | heapAllocated 177MB
[task 2021-08-29T22:46:41.425Z] 22:46:41     INFO - TEST-OK | browser/components/customizableui/test/browser_976792_insertNodeInWindow.js | took 2023ms
[task 2021-08-29T22:46:41.432Z] 22:46:41     INFO - GECKO(3325) | [Child 3327: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 10f00a400 == 3 [pid = 3327] [id = 42]
[task 2021-08-29T22:46:41.432Z] 22:46:41     INFO - GECKO(3325) | [Child 3327: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 11 (10efa8040) [pid = 3327] [serial = 93] [outer = 0]
[task 2021-08-29T22:46:41.433Z] 22:46:41     INFO - GECKO(3325) | [Child 3327: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 12 (10f015800) [pid = 3327] [serial = 94] [outer = 10efa8040]
[task 2021-08-29T22:46:41.447Z] 22:46:41     INFO - checking window state
[task 2021-08-29T22:46:41.466Z] 22:46:41     INFO - TEST-START | browser/components/customizableui/test/browser_978084_dragEnd_after_move.js
```