Bug: Intermittent browser/components/customizableui/test/browser_970511_undo_restore_default.js | Should be in default state at start of test -
Status: RESOLVED
Priority: P5
Resolution: INCOMPLETE
Created: 2021-06-03 03:24:45+00:00
Resolved: 2021-10-05 17:05:36+00:00

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

---
```
[task 2021-06-03T02:40:02.969Z] 02:40:02     INFO - checking window state
[task 2021-06-03T02:40:02.976Z] 02:40:02     INFO - TEST-START | browser/components/customizableui/test/browser_970511_undo_restore_default.js
[task 2021-06-03T02:40:03.305Z] 02:40:03     INFO - TEST-INFO | started process screencapture
[task 2021-06-03T02:40:03.419Z] 02:40:03     INFO - TEST-INFO | screencapture: exit 0
[task 2021-06-03T02:40:03.420Z] 02:40:03     INFO - Buffered messages logged at 02:40:02
[task 2021-06-03T02:40:03.420Z] 02:40:03     INFO - Entering test bound 
[task 2021-06-03T02:40:03.421Z] 02:40:03     INFO - Buffered messages logged at 02:40:03
[task 2021-06-03T02:40:03.421Z] 02:40:03     INFO - TEST-PASS | browser/components/customizableui/test/browser_970511_undo_restore_default.js | Not in default state to begin with - 
[task 2021-06-03T02:40:03.421Z] 02:40:03     INFO - TEST-PASS | browser/components/customizableui/test/browser_970511_undo_restore_default.js | Stop/reload button is in palette - 
[task 2021-06-03T02:40:03.422Z] 02:40:03     INFO - TEST-PASS | browser/components/customizableui/test/browser_970511_undo_restore_default.js | The undo button is hidden before reset - 
[task 2021-06-03T02:40:03.422Z] 02:40:03     INFO - Clicked on themes button
[task 2021-06-03T02:40:03.423Z] 02:40:03     INFO - Clicked on first theme
[task 2021-06-03T02:40:03.423Z] 02:40:03     INFO - TEST-PASS | browser/components/customizableui/test/browser_970511_undo_restore_default.js | Theme changed to first option - 
[task 2021-06-03T02:40:03.424Z] 02:40:03     INFO - TEST-PASS | browser/components/customizableui/test/browser_970511_undo_restore_default.js | In default state after reset - 
[task 2021-06-03T02:40:03.424Z] 02:40:03     INFO - TEST-PASS | browser/components/customizableui/test/browser_970511_undo_restore_default.js | The undo button is visible after reset - 
[task 2021-06-03T02:40:03.425Z] 02:40:03     INFO - TEST-PASS | browser/components/customizableui/test/browser_970511_undo_restore_default.js | Theme reset to default - 
[task 2021-06-03T02:40:03.425Z] 02:40:03     INFO - TEST-PASS | browser/components/customizableui/test/browser_970511_undo_restore_default.js | Theme has been reset from default to original choice - 
[task 2021-06-03T02:40:03.425Z] 02:40:03     INFO - TEST-PASS | browser/components/customizableui/test/browser_970511_undo_restore_default.js | Not in default state after undo-reset - 
[task 2021-06-03T02:40:03.426Z] 02:40:03     INFO - TEST-PASS | browser/components/customizableui/test/browser_970511_undo_restore_default.js | The undo button is hidden after clicking on the undo button - 
[task 2021-06-03T02:40:03.426Z] 02:40:03     INFO - TEST-PASS | browser/components/customizableui/test/browser_970511_undo_restore_default.js | Stop/reload button is in palette - 
[task 2021-06-03T02:40:03.427Z] 02:40:03     INFO - Leaving test bound 
[task 2021-06-03T02:40:03.427Z] 02:40:03     INFO - Entering test bound action_after_reset_hides_undo
[task 2021-06-03T02:40:03.428Z] 02:40:03     INFO - TEST-PASS | browser/components/customizableui/test/browser_970511_undo_restore_default.js | Not in default state to begin with - 
[task 2021-06-03T02:40:03.429Z] 02:40:03     INFO - TEST-PASS | browser/components/customizableui/test/browser_970511_undo_restore_default.js | Stop/reload button is in palette - 
[task 2021-06-03T02:40:03.430Z] 02:40:03     INFO - TEST-PASS | browser/components/customizableui/test/browser_970511_undo_restore_default.js | The undo button is hidden before reset - 
[task 2021-06-03T02:40:03.430Z] 02:40:03     INFO - TEST-PASS | browser/components/customizableui/test/browser_970511_undo_restore_default.js | In default state after reset - 
[task 2021-06-03T02:40:03.431Z] 02:40:03     INFO - TEST-PASS | browser/components/customizableui/test/browser_970511_undo_restore_default.js | The undo button is visible after reset - 
[task 2021-06-03T02:40:03.431Z] 02:40:03     INFO - TEST-PASS | browser/components/customizableui/test/browser_970511_undo_restore_default.js | The undo button is hidden after another change - 
[task 2021-06-03T02:40:03.431Z] 02:40:03     INFO - Leaving test bound action_after_reset_hides_undo
[task 2021-06-03T02:40:03.432Z] 02:40:03     INFO - Entering test bound 
[task 2021-06-03T02:40:03.432Z] 02:40:03     INFO - TEST-PASS | browser/components/customizableui/test/browser_970511_undo_restore_default.js | The undo button is hidden before a reset - 
[task 2021-06-03T02:40:03.433Z] 02:40:03     INFO - TEST-PASS | browser/components/customizableui/test/browser_970511_undo_restore_default.js | The browser should not be in default state - 
[task 2021-06-03T02:40:03.433Z] 02:40:03     INFO - TEST-PASS | browser/components/customizableui/test/browser_970511_undo_restore_default.js | The undo button is visible after a reset - 
[task 2021-06-03T02:40:03.434Z] 02:40:03     INFO - TEST-PASS | browser/components/customizableui/test/browser_970511_undo_restore_default.js | The undo reset button should be hidden after entering customization mode - 
[task 2021-06-03T02:40:03.434Z] 02:40:03     INFO - Leaving test bound 
[task 2021-06-03T02:40:03.435Z] 02:40:03     INFO - Entering test bound 
[task 2021-06-03T02:40:03.435Z] 02:40:03     INFO - Buffered messages finished
[task 2021-06-03T02:40:03.436Z] 02:40:03     INFO - TEST-UNEXPECTED-FAIL | browser/components/customizableui/test/browser_970511_undo_restore_default.js | Should be in default state at start of test - 
[task 2021-06-03T02:40:03.436Z] 02:40:03     INFO - Stack trace:
[task 2021-06-03T02:40:03.436Z] 02:40:03     INFO - chrome://mochikit/content/browser-test.js:test_ok:1334
[task 2021-06-03T02:40:03.436Z] 02:40:03     INFO - chrome://mochitests/content/browser/browser/components/customizableui/test/browser_970511_undo_restore_default.js:null:144
[task 2021-06-03T02:40:03.436Z] 02:40:03     INFO - chrome://mochikit/content/browser-test.js:Tester_execTest/<:1089
[task 2021-06-03T02:40:03.436Z] 02:40:03     INFO - Not taking screenshot here: see the one that was previously logged
[task 2021-06-03T02:40:03.437Z] 02:40:03     INFO - TEST-UNEXPECTED-FAIL | browser/components/customizableui/test/browser_970511_undo_restore_default.js | Restore defaults button should be disabled when in default state - 
[task 2021-06-03T02:40:03.437Z] 02:40:03     INFO - Stack trace:
[task 2021-06-03T02:40:03.437Z] 02:40:03     INFO - chrome://mochikit/content/browser-test.js:test_ok:1334
[task 2021-06-03T02:40:03.437Z] 02:40:03     INFO - chrome://mochitests/content/browser/browser/components/customizableui/test/browser_970511_undo_restore_default.js:null:148
[task 2021-06-03T02:40:03.437Z] 02:40:03     INFO - chrome://mochikit/content/browser-test.js:Tester_execTest/<:1089
[task 2021-06-03T02:40:03.438Z] 02:40:03     INFO - TEST-PASS | browser/components/customizableui/test/browser_970511_undo_restore_default.js | Title bar checkbox should reflect pref value - 
[task 2021-06-03T02:40:03.438Z] 02:40:03     INFO - TEST-PASS | browser/components/customizableui/test/browser_970511_undo_restore_default.js | Undo reset button should be hidden at start of test - 
[task 2021-06-03T02:40:03.438Z] 02:40:03     INFO - TEST-PASS | browser/components/customizableui/test/browser_970511_undo_restore_default.js | Restore defaults button should be enabled when pref changed - 
[task 2021-06-03T02:40:03.439Z] 02:40:03     INFO - TEST-PASS | browser/components/customizableui/test/browser_970511_undo_restore_default.js | Title bar checkbox should reflect changed pref value - 
[task 2021-06-03T02:40:03.439Z] 02:40:03     INFO - TEST-PASS | browser/components/customizableui/test/browser_970511_undo_restore_default.js | With titlebar flipped, no longer default - 
[task 2021-06-03T02:40:03.440Z] 02:40:03     INFO - TEST-PASS | browser/components/customizableui/test/browser_970511_undo_restore_default.js | Undo reset button should be hidden after pref change - 
[task 2021-06-03T02:40:03.440Z] 02:40:03     INFO - TEST-PASS | browser/components/customizableui/test/browser_970511_undo_restore_default.js | Restore defaults button should be disabled after reset - 
[task 2021-06-03T02:40:03.441Z] 02:40:03     INFO - TEST-PASS | browser/components/customizableui/test/browser_970511_undo_restore_default.js | Title bar checkbox should reflect default value after reset - 
[task 2021-06-03T02:40:03.441Z] 02:40:03     INFO - TEST-PASS | browser/components/customizableui/test/browser_970511_undo_restore_default.js | Reset should reset drawInTitlebar - 
[task 2021-06-03T02:40:03.442Z] 02:40:03     INFO - TEST-PASS | browser/components/customizableui/test/browser_970511_undo_restore_default.js | In default state after titlebar reset - 
[task 2021-06-03T02:40:03.442Z] 02:40:03     INFO - TEST-PASS | browser/components/customizableui/test/browser_970511_undo_restore_default.js | Undo reset button should be visible after reset - 
[task 2021-06-03T02:40:03.443Z] 02:40:03     INFO - TEST-PASS | browser/components/customizableui/test/browser_970511_undo_restore_default.js | Undo reset button should be enabled after reset - 
[task 2021-06-03T02:40:03.449Z] 02:40:03     INFO - TEST-PASS | browser/components/customizableui/test/browser_970511_undo_restore_default.js | Restore defaults button should be enabled after undo-reset - 
[task 2021-06-03T02:40:03.449Z] 02:40:03     INFO - TEST-PASS | browser/components/customizableui/test/browser_970511_undo_restore_default.js | Title bar checkbox should reflect undo-reset value - 
[task 2021-06-03T02:40:03.450Z] 02:40:03     INFO - TEST-PASS | browser/components/customizableui/test/browser_970511_undo_restore_default.js | No longer in default state after undo - 
[task 2021-06-03T02:40:03.450Z] 02:40:03     INFO - TEST-PASS | browser/components/customizableui/test/browser_970511_undo_restore_default.js | Undo-reset goes back to previous pref value - 
[task 2021-06-03T02:40:03.451Z] 02:40:03     INFO - TEST-PASS | browser/components/customizableui/test/browser_970511_undo_restore_default.js | Undo reset button should be hidden after undo-reset clicked - 
[task 2021-06-03T02:40:03.460Z] 02:40:03     INFO - Not taking screenshot here: see the one that was previously logged
[task 2021-06-03T02:40:03.460Z] 02:40:03     INFO - TEST-UNEXPECTED-FAIL | browser/components/customizableui/test/browser_970511_undo_restore_default.js | In default state after pref cleared - 
[task 2021-06-03T02:40:03.461Z] 02:40:03     INFO - Stack trace:
[task 2021-06-03T02:40:03.461Z] 02:40:03     INFO - chrome://mochikit/content/browser-test.js:test_ok:1334
[task 2021-06-03T02:40:03.461Z] 02:40:03     INFO - chrome://mochitests/content/browser/browser/components/customizableui/test/browser_970511_undo_restore_default.js:null:232
[task 2021-06-03T02:40:03.461Z] 02:40:03     INFO - TEST-PASS | browser/components/customizableui/test/browser_970511_undo_restore_default.js | Undo reset button should be hidden at end of test - 
[task 2021-06-03T02:40:03.461Z] 02:40:03     INFO - Leaving test bound 
[task 2021-06-03T02:40:03.462Z] 02:40:03     INFO - Entering test bound asyncCleanup
[task 2021-06-03T02:40:03.536Z] 02:40:03     INFO - Leaving test bound asyncCleanup
[task 2021-06-03T02:40:03.541Z] 02:40:03     INFO - GECKO(1961) | MEMORY STAT | vsize 8263MB | residentFast 478MB | heapAllocated 232MB
[task 2021-06-03T02:40:03.542Z] 02:40:03     INFO - TEST-OK | browser/components/customizableui/test/browser_970511_undo_restore_default.js | took 565ms
[task 2021-06-03T02:40:03.549Z] 02:40:03     INFO - checking window state
[task 2021-06-03T02:40:03.557Z] 02:40:03     INFO - TEST-START | browser/components/customizableui/test/browser_972267_customizationchange_events.js
```