Bug: Intermittent browser_autoFill_typed.js | Cleanup function threw an exception - [Exception... "no engine passed to removeEngine!"  nsresult: "0x80070057 (NS_ERROR_ILLEGAL_VALUE)"  location: "JS frame :: resource://gre/modules/SearchService.jsm :: removeEng
Status: RESOLVED
Priority: P5
Resolution: INCOMPLETE
Created: 2021-02-15 22:13:49+00:00
Resolved: 2021-03-16 17:00:10+00:00

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

---
```
[task 2021-02-15T21:27:29.334Z] 21:27:29     INFO - TEST-START | browser/components/urlbar/tests/browser/browser_autoFill_typed.js
[task 2021-02-15T21:27:35.393Z] 21:27:35     INFO - TEST-INFO | started process screenshot
[task 2021-02-15T21:27:35.468Z] 21:27:35     INFO - TEST-INFO | screenshot: exit 0
[task 2021-02-15T21:27:35.468Z] 21:27:35     INFO - <snipped 303 output lines - if you need more context, please use SimpleTest.requestCompleteLog() in your test>
[task 2021-02-15T21:27:35.468Z] 21:27:35     INFO - Buffered messages logged at 21:27:34
[task 2021-02-15T21:27:35.469Z] 21:27:35     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_autoFill_typed.js | 19 == 19 - 
[task 2021-02-15T21:27:35.469Z] 21:27:35     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_autoFill_typed.js | true == true - 
[task 2021-02-15T21:27:35.469Z] 21:27:35     INFO - Typing: i=18 char=r substring="ExAmPLe.CoM/foo/bar"
[task 2021-02-15T21:27:35.470Z] 21:27:35     INFO - Buffered messages logged at 21:27:35
[task 2021-02-15T21:27:35.470Z] 21:27:35     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_autoFill_typed.js | "ExAmPLe.CoM/foo/bar" == "ExAmPLe.CoM/foo/bar" - 
[task 2021-02-15T21:27:35.471Z] 21:27:35     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_autoFill_typed.js | 19 == 19 - 
[task 2021-02-15T21:27:35.471Z] 21:27:35     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_autoFill_typed.js | 19 == 19 - 
[task 2021-02-15T21:27:35.472Z] 21:27:35     INFO - Leaving test bound url
[task 2021-02-15T21:27:35.472Z] 21:27:35     INFO - Entering test bound tokenAlias
[task 2021-02-15T21:27:35.473Z] 21:27:35     INFO - Typing: i=0 char=@ substring="@"
[task 2021-02-15T21:27:35.473Z] 21:27:35     INFO - Typing: i=1 char=_ substring="@_"
[task 2021-02-15T21:27:35.474Z] 21:27:35     INFO - Awaiting for the urlbar panel to open
[task 2021-02-15T21:27:35.474Z] 21:27:35     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_autoFill_typed.js | "@__example " == "@__example " - 
[task 2021-02-15T21:27:35.475Z] 21:27:35     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_autoFill_typed.js | 2 == 2 - 
[task 2021-02-15T21:27:35.475Z] 21:27:35     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_autoFill_typed.js | 11 == 11 - 
[task 2021-02-15T21:27:35.476Z] 21:27:35     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_autoFill_typed.js | true == true - 
[task 2021-02-15T21:27:35.476Z] 21:27:35     INFO - Typing: i=2 char=_ substring="@__"
[task 2021-02-15T21:27:35.476Z] 21:27:35     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_autoFill_typed.js | "@__example " == "@__example " - 
[task 2021-02-15T21:27:35.477Z] 21:27:35     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_autoFill_typed.js | 3 == 3 - 
[task 2021-02-15T21:27:35.477Z] 21:27:35     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_autoFill_typed.js | 11 == 11 - 
[task 2021-02-15T21:27:35.478Z] 21:27:35     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_autoFill_typed.js | true == true - 
[task 2021-02-15T21:27:35.478Z] 21:27:35     INFO - Typing: i=3 char=e substring="@__e"
[task 2021-02-15T21:27:35.479Z] 21:27:35     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_autoFill_typed.js | "@__example " == "@__example " - 
[task 2021-02-15T21:27:35.479Z] 21:27:35     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_autoFill_typed.js | 4 == 4 - 
[task 2021-02-15T21:27:35.480Z] 21:27:35     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_autoFill_typed.js | 11 == 11 - 
[task 2021-02-15T21:27:35.480Z] 21:27:35     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_autoFill_typed.js | true == true - 
[task 2021-02-15T21:27:35.480Z] 21:27:35     INFO - Typing: i=4 char=x substring="@__ex"
[task 2021-02-15T21:27:35.480Z] 21:27:35     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_autoFill_typed.js | "@__example " == "@__example " - 
[task 2021-02-15T21:27:35.481Z] 21:27:35     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_autoFill_typed.js | 5 == 5 - 
[task 2021-02-15T21:27:35.481Z] 21:27:35     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_autoFill_typed.js | 11 == 11 - 
[task 2021-02-15T21:27:35.481Z] 21:27:35     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_autoFill_typed.js | true == true - 
[task 2021-02-15T21:27:35.482Z] 21:27:35     INFO - Typing: i=5 char=a substring="@__exa"
[task 2021-02-15T21:27:35.482Z] 21:27:35     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_autoFill_typed.js | "@__example " == "@__example " - 
[task 2021-02-15T21:27:35.483Z] 21:27:35     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_autoFill_typed.js | 6 == 6 - 
[task 2021-02-15T21:27:35.483Z] 21:27:35     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_autoFill_typed.js | 11 == 11 - 
[task 2021-02-15T21:27:35.483Z] 21:27:35     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_autoFill_typed.js | true == true - 
[task 2021-02-15T21:27:35.483Z] 21:27:35     INFO - Typing: i=6 char=m substring="@__exam"
[task 2021-02-15T21:27:35.484Z] 21:27:35     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_autoFill_typed.js | "@__example " == "@__example " - 
[task 2021-02-15T21:27:35.484Z] 21:27:35     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_autoFill_typed.js | 7 == 7 - 
[task 2021-02-15T21:27:35.484Z] 21:27:35     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_autoFill_typed.js | 11 == 11 - 
[task 2021-02-15T21:27:35.484Z] 21:27:35     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_autoFill_typed.js | true == true - 
[task 2021-02-15T21:27:35.485Z] 21:27:35     INFO - Typing: i=7 char=p substring="@__examp"
[task 2021-02-15T21:27:35.485Z] 21:27:35     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_autoFill_typed.js | "@__example " == "@__example " - 
[task 2021-02-15T21:27:35.485Z] 21:27:35     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_autoFill_typed.js | 8 == 8 - 
[task 2021-02-15T21:27:35.485Z] 21:27:35     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_autoFill_typed.js | 11 == 11 - 
[task 2021-02-15T21:27:35.485Z] 21:27:35     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_autoFill_typed.js | true == true - 
[task 2021-02-15T21:27:35.485Z] 21:27:35     INFO - Typing: i=8 char=l substring="@__exampl"
[task 2021-02-15T21:27:35.486Z] 21:27:35     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_autoFill_typed.js | "@__example " == "@__example " - 
[task 2021-02-15T21:27:35.486Z] 21:27:35     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_autoFill_typed.js | 9 == 9 - 
[task 2021-02-15T21:27:35.486Z] 21:27:35     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_autoFill_typed.js | 11 == 11 - 
[task 2021-02-15T21:27:35.486Z] 21:27:35     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_autoFill_typed.js | true == true - 
[task 2021-02-15T21:27:35.486Z] 21:27:35     INFO - Typing: i=9 char=e substring="@__example"
[task 2021-02-15T21:27:35.486Z] 21:27:35     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_autoFill_typed.js | "@__example " == "@__example " - 
[task 2021-02-15T21:27:35.486Z] 21:27:35     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_autoFill_typed.js | 10 == 10 - 
[task 2021-02-15T21:27:35.486Z] 21:27:35     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_autoFill_typed.js | 11 == 11 - 
[task 2021-02-15T21:27:35.486Z] 21:27:35     INFO - Typing: i=0 char=@ substring="@"
[task 2021-02-15T21:27:35.486Z] 21:27:35     INFO - Typing: i=1 char=_ substring="@_"
[task 2021-02-15T21:27:35.486Z] 21:27:35     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_autoFill_typed.js | "@__example " == "@__example " - 
[task 2021-02-15T21:27:35.486Z] 21:27:35     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_autoFill_typed.js | 2 == 2 - 
[task 2021-02-15T21:27:35.486Z] 21:27:35     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_autoFill_typed.js | 11 == 11 - 
[task 2021-02-15T21:27:35.487Z] 21:27:35     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_autoFill_typed.js | true == true - 
[task 2021-02-15T21:27:35.487Z] 21:27:35     INFO - Typing: i=2 char=_ substring="@__"
[task 2021-02-15T21:27:35.487Z] 21:27:35     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_autoFill_typed.js | "@__example " == "@__example " - 
[task 2021-02-15T21:27:35.487Z] 21:27:35     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_autoFill_typed.js | 3 == 3 - 
[task 2021-02-15T21:27:35.487Z] 21:27:35     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_autoFill_typed.js | 11 == 11 - 
[task 2021-02-15T21:27:35.487Z] 21:27:35     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_autoFill_typed.js | true == true - 
[task 2021-02-15T21:27:35.487Z] 21:27:35     INFO - Typing: i=3 char=E substring="@__E"
[task 2021-02-15T21:27:35.487Z] 21:27:35     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_autoFill_typed.js | "@__Example " == "@__Example " - 
[task 2021-02-15T21:27:35.487Z] 21:27:35     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_autoFill_typed.js | 4 == 4 - 
[task 2021-02-15T21:27:35.487Z] 21:27:35     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_autoFill_typed.js | 11 == 11 - 
[task 2021-02-15T21:27:35.488Z] 21:27:35     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_autoFill_typed.js | true == true - 
[task 2021-02-15T21:27:35.488Z] 21:27:35     INFO - Typing: i=4 char=x substring="@__Ex"
[task 2021-02-15T21:27:35.488Z] 21:27:35     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_autoFill_typed.js | "@__Example " == "@__Example " - 
[task 2021-02-15T21:27:35.488Z] 21:27:35     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_autoFill_typed.js | 5 == 5 - 
[task 2021-02-15T21:27:35.488Z] 21:27:35     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_autoFill_typed.js | 11 == 11 - 
[task 2021-02-15T21:27:35.488Z] 21:27:35     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_autoFill_typed.js | true == true - 
[task 2021-02-15T21:27:35.488Z] 21:27:35     INFO - Typing: i=5 char=A substring="@__ExA"
[task 2021-02-15T21:27:35.488Z] 21:27:35     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_autoFill_typed.js | "@__ExAmple " == "@__ExAmple " - 
[task 2021-02-15T21:27:35.488Z] 21:27:35     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_autoFill_typed.js | 6 == 6 - 
[task 2021-02-15T21:27:35.489Z] 21:27:35     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_autoFill_typed.js | 11 == 11 - 
[task 2021-02-15T21:27:35.489Z] 21:27:35     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_autoFill_typed.js | true == true - 
[task 2021-02-15T21:27:35.489Z] 21:27:35     INFO - Typing: i=6 char=m substring="@__ExAm"
[task 2021-02-15T21:27:35.489Z] 21:27:35     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_autoFill_typed.js | "@__ExAmple " == "@__ExAmple " - 
[task 2021-02-15T21:27:35.489Z] 21:27:35     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_autoFill_typed.js | 7 == 7 - 
[task 2021-02-15T21:27:35.489Z] 21:27:35     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_autoFill_typed.js | 11 == 11 - 
[task 2021-02-15T21:27:35.489Z] 21:27:35     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_autoFill_typed.js | true == true - 
[task 2021-02-15T21:27:35.490Z] 21:27:35     INFO - Typing: i=7 char=P substring="@__ExAmP"
[task 2021-02-15T21:27:35.490Z] 21:27:35     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_autoFill_typed.js | "@__ExAmPle " == "@__ExAmPle " - 
[task 2021-02-15T21:27:35.490Z] 21:27:35     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_autoFill_typed.js | 8 == 8 - 
[task 2021-02-15T21:27:35.490Z] 21:27:35     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_autoFill_typed.js | 11 == 11 - 
[task 2021-02-15T21:27:35.490Z] 21:27:35     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_autoFill_typed.js | true == true - 
[task 2021-02-15T21:27:35.490Z] 21:27:35     INFO - Typing: i=8 char=L substring="@__ExAmPL"
[task 2021-02-15T21:27:35.490Z] 21:27:35     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_autoFill_typed.js | "@__ExAmPLe " == "@__ExAmPLe " - 
[task 2021-02-15T21:27:35.491Z] 21:27:35     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_autoFill_typed.js | 9 == 9 - 
[task 2021-02-15T21:27:35.491Z] 21:27:35     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_autoFill_typed.js | 11 == 11 - 
[task 2021-02-15T21:27:35.491Z] 21:27:35     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_autoFill_typed.js | true == true - 
[task 2021-02-15T21:27:35.491Z] 21:27:35     INFO - Typing: i=9 char=e substring="@__ExAmPLe"
[task 2021-02-15T21:27:35.491Z] 21:27:35     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_autoFill_typed.js | "@__ExAmPLe " == "@__ExAmPLe " - 
[task 2021-02-15T21:27:35.491Z] 21:27:35     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_autoFill_typed.js | 10 == 10 - 
[task 2021-02-15T21:27:35.491Z] 21:27:35     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_autoFill_typed.js | 11 == 11 - 
[task 2021-02-15T21:27:35.491Z] 21:27:35     INFO - Leaving test bound tokenAlias
[task 2021-02-15T21:27:35.491Z] 21:27:35     INFO - Buffered messages finished
[task 2021-02-15T21:27:35.491Z] 21:27:35     INFO - TEST-UNEXPECTED-FAIL | browser/components/urlbar/tests/browser/browser_autoFill_typed.js | Cleanup function threw an exception - [Exception... "no engine passed to removeEngine!"  nsresult: "0x80070057 (NS_ERROR_ILLEGAL_VALUE)"  location: "JS frame :: resource://gre/modules/SearchService.jsm :: removeEngine :: line 1922"  data: no]
[task 2021-02-15T21:27:35.492Z] 21:27:35     INFO - GECKO(4716) | MEMORY STAT | vsize 2104340MB | vsizeMaxContiguous 66279921MB | residentFast 350MB | heapAllocated 112MB
[task 2021-02-15T21:27:35.492Z] 21:27:35     INFO - TEST-OK | browser/components/urlbar/tests/browser/browser_autoFill_typed.js | took 6112ms```