Bug: Intermittent browser/components/uitour/test/browser_UITour_availableTargets.js | Targets should be as expected - Got "addons,appMenu,backForward,devtools,help,home,library,logins,pageAction-bookmark,pocket,privateWindow,quit,readerMode-urlBar,urlbar",
Status: RESOLVED
Priority: P5
Resolution: WORKSFORME
Created: 2021-02-25 06:48:50+00:00
Resolved: 2021-05-10 09:54:50+00:00

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

---
```
[task 2021-02-25T06:29:11.030Z] 06:29:11     INFO - TEST-START | browser/components/uitour/test/browser_UITour_availableTargets.js
[task 2021-02-25T06:29:11.889Z] 06:29:11     INFO - TEST-INFO | started process screenshot
[task 2021-02-25T06:29:11.976Z] 06:29:11     INFO - TEST-INFO | screenshot: exit 0
[task 2021-02-25T06:29:11.976Z] 06:29:11     INFO - Buffered messages logged at 06:29:11
[task 2021-02-25T06:29:11.977Z] 06:29:11     INFO - Entering test bound setup_UITourTest
[task 2021-02-25T06:29:11.978Z] 06:29:11     INFO - Leaving test bound setup_UITourTest
[task 2021-02-25T06:29:11.979Z] 06:29:11     INFO - Entering test bound test_availableTargets
[task 2021-02-25T06:29:11.979Z] 06:29:11     INFO - Console message: [JavaScript Error: "Unknown Collection "main/partitioning-exempt-urls"" {file: "resource://services-settings/RemoteSettingsClient.jsm" line: 160}]
[task 2021-02-25T06:29:11.979Z] 06:29:11     INFO - UnknownCollectionError@resource://services-settings/RemoteSettingsClient.jsm:160:5
[task 2021-02-25T06:29:11.980Z] 06:29:11     INFO - sync@resource://services-settings/RemoteSettingsClient.jsm:470:13
[task 2021-02-25T06:29:11.980Z] 06:29:11     INFO - 
[task 2021-02-25T06:29:11.980Z] 06:29:11     INFO - TEST-PASS | browser/components/uitour/test/browser_UITour_availableTargets.js | data.targets should be an array - 
[task 2021-02-25T06:29:11.980Z] 06:29:11     INFO - Buffered messages finished
[task 2021-02-25T06:29:11.980Z] 06:29:11     INFO - TEST-UNEXPECTED-FAIL | browser/components/uitour/test/browser_UITour_availableTargets.js | Targets should be as expected - Got "addons,appMenu,backForward,devtools,help,home,library,logins,pageAction-bookmark,pocket,privateWindow,quit,readerMode-urlBar,urlbar", expected "accountStatus,addons,appMenu,backForward,devtools,help,home,library,logins,pageAction-bookmark,pageAction-copyURL,pageAction-emailLink,pageAction-sendToDevice,pocket,privateWindow,quit,readerMode-urlBar,screenshots,urlbar"
[task 2021-02-25T06:29:11.980Z] 06:29:11     INFO - Stack trace:
[task 2021-02-25T06:29:11.980Z] 06:29:11     INFO - chrome://mochikit/content/browser-test.js:test_is:1359
[task 2021-02-25T06:29:11.981Z] 06:29:11     INFO - chrome://mochitests/content/browser/browser/components/uitour/test/browser_UITour_availableTargets.js:ok_targets:136
[task 2021-02-25T06:29:11.981Z] 06:29:11     INFO - chrome://mochitests/content/browser/browser/components/uitour/test/browser_UITour_availableTargets.js:test_availableTargets:42
[task 2021-02-25T06:29:11.981Z] 06:29:11     INFO - TEST-PASS | browser/components/uitour/test/browser_UITour_availableTargets.js | Targets should now be cached - 
[task 2021-02-25T06:29:11.981Z] 06:29:11     INFO - == Done test, doing shared checks before teardown ==
[task 2021-02-25T06:29:11.981Z] 06:29:11     INFO - TEST-PASS | browser/components/uitour/test/browser_UITour_availableTargets.js | Element should not be null, when checking visibility - 
[task 2021-02-25T06:29:11.981Z] 06:29:11     INFO - TEST-PASS | browser/components/uitour/test/browser_UITour_availableTargets.js | Highlight should be closed/hidden after UITour tab is closed - 
[task 2021-02-25T06:29:11.981Z] 06:29:11     INFO - TEST-PASS | browser/components/uitour/test/browser_UITour_availableTargets.js | Element should not be null, when checking visibility - 
[task 2021-02-25T06:29:11.981Z] 06:29:11     INFO - TEST-PASS | browser/components/uitour/test/browser_UITour_availableTargets.js | Tooltip should be closed/hidden after UITour tab is closed - 
[task 2021-02-25T06:29:11.982Z] 06:29:11     INFO - TEST-PASS | browser/components/uitour/test/browser_UITour_availableTargets.js | @noautohide on the menu panel should have been cleaned up - 
[task 2021-02-25T06:29:11.982Z] 06:29:11     INFO - TEST-PASS | browser/components/uitour/test/browser_UITour_availableTargets.js | The panel shouldn't have @panelopen - 
[task 2021-02-25T06:29:11.982Z] 06:29:11     INFO - TEST-PASS | browser/components/uitour/test/browser_UITour_availableTargets.js | The panel shouldn't be open - 
[task 2021-02-25T06:29:11.982Z] 06:29:11     INFO - TEST-PASS | browser/components/uitour/test/browser_UITour_availableTargets.js | Menu button should know that the menu is closed - 
[task 2021-02-25T06:29:11.982Z] 06:29:11     INFO - Done shared checks
[task 2021-02-25T06:29:12.001Z] 06:29:12     INFO - Leaving test bound test_availableTargets
[task 2021-02-25T06:29:12.001Z] 06:29:12     INFO - Entering test bound test_availableTargets_changeWidgets
[task 2021-02-25T06:29:12.264Z] 06:29:12     INFO - TEST-PASS | browser/components/uitour/test/browser_UITour_availableTargets.js | Targets should be evicted from cache after widget change - 
[task 2021-02-25T06:29:12.303Z] 06:29:12     INFO - TEST-PASS | browser/components/uitour/test/browser_UITour_availableTargets.js | data.targets should be an array - 
[task 2021-02-25T06:29:12.303Z] 06:29:12     INFO - Not taking screenshot here: see the one that was previously logged
[task 2021-02-25T06:29:12.303Z] 06:29:12     INFO - TEST-UNEXPECTED-FAIL | browser/components/uitour/test/browser_UITour_availableTargets.js | Targets should be as expected - Got "addons,appMenu,backForward,bookmarks,devtools,help,home,library,logins,pageAction-bookmark,pocket,privateWindow,quit,readerMode-urlBar,urlbar", expected "accountStatus,addons,appMenu,backForward,bookmarks,devtools,help,home,library,logins,pageAction-bookmark,pageAction-copyURL,pageAction-emailLink,pageAction-sendToDevice,pocket,privateWindow,quit,readerMode-urlBar,screenshots,urlbar"
[task 2021-02-25T06:29:12.303Z] 06:29:12     INFO - Stack trace:
[task 2021-02-25T06:29:12.304Z] 06:29:12     INFO - chrome://mochikit/content/browser-test.js:test_is:1359
[task 2021-02-25T06:29:12.304Z] 06:29:12     INFO - chrome://mochitests/content/browser/browser/components/uitour/test/browser_UITour_availableTargets.js:ok_targets:136
[task 2021-02-25T06:29:12.304Z] 06:29:12     INFO - chrome://mochitests/content/browser/browser/components/uitour/test/browser_UITour_availableTargets.js:test_availableTargets_changeWidgets:59
[task 2021-02-25T06:29:12.304Z] 06:29:12     INFO - TEST-PASS | browser/components/uitour/test/browser_UITour_availableTargets.js | Targets should now be cached again - 
[task 2021-02-25T06:29:12.324Z] 06:29:12     INFO - TEST-PASS | browser/components/uitour/test/browser_UITour_availableTargets.js | Targets should not be cached after reset - 
[task 2021-02-25T06:29:12.324Z] 06:29:12     INFO - == Done test, doing shared checks before teardown ==```