Bug: Intermittent [tier 2] */tests/browser/disable_app_update/browser_policy_disable_app_update.js | Uncaught exception - Waiting for expected panel ID - expected "policyDisabled" - threw exception: TypeError: aboutDialog.gAppUpdater is undefined
Status: RESOLVED
Priority: P5
Resolution: INCOMPLETE
Created: 2021-08-14 22:01:23+00:00
Resolved: 2021-10-12 17:01:04+00:00

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

---
```
[task 2021-08-14T21:04:44.442Z] 21:04:44     INFO - TEST-START | browser/components/enterprisepolicies/tests/browser/disable_app_update/browser_policy_disable_app_update.js
[task 2021-08-14T21:04:44.846Z] 21:04:44     INFO - TEST-INFO | started process screencapture
[task 2021-08-14T21:04:44.965Z] 21:04:44     INFO - TEST-INFO | screencapture: exit 0
[task 2021-08-14T21:04:44.965Z] 21:04:44     INFO - Buffered messages logged at 21:04:44
[task 2021-08-14T21:04:44.965Z] 21:04:44     INFO - Entering test bound test_updates_post_policy
[task 2021-08-14T21:04:44.965Z] 21:04:44     INFO - TEST-PASS | browser/components/enterprisepolicies/tests/browser/disable_app_update/browser_policy_disable_app_update.js | appUpdate should be disabled by policy. - 
[task 2021-08-14T21:04:44.966Z] 21:04:44     INFO - TEST-PASS | browser/components/enterprisepolicies/tests/browser/disable_app_update/browser_policy_disable_app_update.js | Should not be able to check for updates with DisableAppUpdate enabled. - 
[task 2021-08-14T21:04:44.966Z] 21:04:44     INFO - Leaving test bound test_updates_post_policy
[task 2021-08-14T21:04:44.966Z] 21:04:44     INFO - Entering test bound test_update_preferences_ui
[task 2021-08-14T21:04:44.966Z] 21:04:44     INFO - TEST-PASS | browser/components/enterprisepolicies/tests/browser/disable_app_update/browser_policy_disable_app_update.js | Update choices should be disabled when app update is locked by policy - true == true - 
[task 2021-08-14T21:04:44.966Z] 21:04:44     INFO - Leaving test bound test_update_preferences_ui
[task 2021-08-14T21:04:44.966Z] 21:04:44     INFO - Entering test bound test_update_about_ui
[task 2021-08-14T21:04:44.966Z] 21:04:44     INFO - Console message: [JavaScript Error: "Attempt to override an existing term: "brand-shorter-name"." {file: "branding/brand.ftl" line: 0}]
[task 2021-08-14T21:04:44.966Z] 21:04:44     INFO - Console message: [JavaScript Error: "Attempt to override an existing term: "brand-short-name"." {file: "branding/brand.ftl" line: 0}]
[task 2021-08-14T21:04:44.967Z] 21:04:44     INFO - Console message: [JavaScript Error: "Attempt to override an existing term: "brand-full-name"." {file: "branding/brand.ftl" line: 0}]
[task 2021-08-14T21:04:44.967Z] 21:04:44     INFO - Console message: [JavaScript Error: "Attempt to override an existing term: "brand-product-name"." {file: "branding/brand.ftl" line: 0}]
[task 2021-08-14T21:04:44.967Z] 21:04:44     INFO - Console message: [JavaScript Error: "Attempt to override an existing term: "vendor-short-name"." {file: "branding/brand.ftl" line: 0}]
[task 2021-08-14T21:04:44.967Z] 21:04:44     INFO - Console message: [JavaScript Error: "Attempt to override an existing message: "trademarkInfo"." {file: "branding/brand.ftl" line: 0}]
[task 2021-08-14T21:04:44.967Z] 21:04:44     INFO - TEST-PASS | browser/components/enterprisepolicies/tests/browser/disable_app_update/browser_policy_disable_app_update.js | About dialog appeared - 
[task 2021-08-14T21:04:44.967Z] 21:04:44     INFO - Buffered messages finished
[task 2021-08-14T21:04:44.968Z] 21:04:44     INFO - TEST-UNEXPECTED-FAIL | browser/components/enterprisepolicies/tests/browser/disable_app_update/browser_policy_disable_app_update.js | Uncaught exception - Waiting for expected panel ID - expected "policyDisabled" - threw exception: TypeError: aboutDialog.gAppUpdater is undefined
[task 2021-08-14T21:04:44.968Z] 21:04:44     INFO - Leaving test bound test_update_about_ui
[task 2021-08-14T21:04:44.968Z] 21:04:44     INFO - Entering test bound test_no_update_intervention
[task 2021-08-14T21:04:45.200Z] 21:04:45     INFO - GECKO(1674) | must wait for focus
[task 2021-08-14T21:04:45.391Z] 21:04:45     INFO - TEST-PASS | browser/components/enterprisepolicies/tests/browser/disable_app_update/browser_policy_disable_app_update.js | 2 != 7 - 
[task 2021-08-14T21:04:45.403Z] 21:04:45     INFO - Leaving test bound test_no_update_intervention
[task 2021-08-14T21:04:45.408Z] 21:04:45     INFO - GECKO(1674) | MEMORY STAT vsizeMaxContiguous not supported in this build configuration.
[task 2021-08-14T21:04:45.408Z] 21:04:45     INFO - GECKO(1674) | MEMORY STAT | vsize 401741MB | residentFast 354MB | heapAllocated 159MB
[task 2021-08-14T21:04:45.409Z] 21:04:45     INFO - TEST-OK | browser/components/enterprisepolicies/tests/browser/disable_app_update/browser_policy_disable_app_update.js | took 967ms
[task 2021-08-14T21:04:45.416Z] 21:04:45     INFO - checking window state
[task 2021-08-14T21:04:45.417Z] 21:04:45     INFO - Not taking screenshot here: see the one that was previously logged
[task 2021-08-14T21:04:45.417Z] 21:04:45     INFO - TEST-UNEXPECTED-FAIL | browser/components/enterprisepolicies/tests/browser/disable_app_update/browser_policy_disable_app_update.js | Found an unexpected Browser:About at the end of test run - 
[task 2021-08-14T21:04:46.547Z] 21:04:46     INFO - GECKO(1674) | Completed ShutdownLeaks collections in process 1682
[task 2021-08-14T21:04:46.552Z] 21:04:46     INFO - GECKO(1674) | Completed ShutdownLeaks collections in process 1683
[task 2021-08-14T21:04:46.607Z] 21:04:46     INFO - GECKO(1674) | Completed ShutdownLeaks collections in process 1680
[task 2021-08-14T21:04:46.622Z] 21:04:46     INFO - GECKO(1674) | Completed ShutdownLeaks collections in process 1679
[task 2021-08-14T21:04:46.790Z] 21:04:46     INFO - GECKO(1674) | Completed ShutdownLeaks collections in process 1674
[task 2021-08-14T21:04:46.790Z] 21:04:46     INFO - TEST-START | Shutdown
[task 2021-08-14T21:04:46.790Z] 21:04:46     INFO - Browser Chrome Test Summary
[task 2021-08-14T21:04:46.791Z] 21:04:46     INFO - Passed:  5
[task 2021-08-14T21:04:46.791Z] 21:04:46     INFO - Failed:  2
[task 2021-08-14T21:04:46.791Z] 21:04:46     INFO - Todo:    0
[task 2021-08-14T21:04:46.791Z] 21:04:46     INFO - Mode:    e10s
[task 2021-08-14T21:04:46.791Z] 21:04:46     INFO - *** End BrowserChrome Test Results ***
[task 2021-08-14T21:04:46.791Z] 21:04:46     INFO - *** End BrowserChrome Test Results ***
[task 2021-08-14T21:04:46.804Z] 21:04:46     INFO - GECKO(1674) | 1628975086804	Marionette	TRACE	Received observer notification quit-application
[task 2021-08-14T21:04:46.805Z] 21:04:46     INFO - GECKO(1674) | 1628975086804	Marionette	INFO	Stopped listening on port 2828
[task 2021-08-14T21:04:46.805Z] 21:04:46     INFO - GECKO(1674) | 1628975086804	Marionette	DEBUG	Marionette stopped listening
[task 2021-08-14T21:04:46.819Z] 21:04:46     INFO - GECKO(1674) | JavaScript error: resource:///modules/Interactions.jsm, line 230: NS_ERROR_FAILURE: Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIUserIdleService.removeIdleObserver]
[task 2021-08-14T21:04:47.104Z] 21:04:47     INFO - TEST-INFO | Main app process: exit 0
[task 2021-08-14T21:04:47.104Z] 21:04:47     INFO - runtests.py | Application ran for: 0:00:03.967981
[task 2021-08-14T21:04:47.105Z] 21:04:47     INFO - zombiecheck | Reading PID log: /var/folders/lv/bfkd4m2160b7r2wc_tm3kwsr000014/T/tmpgg_zd0i5pidlog
[task 2021-08-14T21:04:47.105Z] 21:04:47     INFO - ==> process 1674 launched child process 1679
[task 2021-08-14T21:04:47.105Z] 21:04:47     INFO - ==> process 1674 launched child process 1680
[task 2021-08-14T21:04:47.105Z] 21:04:47     INFO - ==> process 1674 launched child process 1682
[task 2021-08-14T21:04:47.105Z] 21:04:47     INFO - ==> process 1674 launched child process 1683
[task 2021-08-14T21:04:47.105Z] 21:04:47     INFO - ==> process 1674 launched child process 1684
[task 2021-08-14T21:04:47.106Z] 21:04:47     INFO - ==> process 1674 launched child process 1687
[task 2021-08-14T21:04:47.106Z] 21:04:47     INFO - zombiecheck | Checking for orphan process with PID: 1679
[task 2021-08-14T21:04:47.106Z] 21:04:47     INFO - zombiecheck | Checking for orphan process with PID: 1680
[task 2021-08-14T21:04:47.106Z] 21:04:47     INFO - zombiecheck | Checking for orphan process with PID: 1682
[task 2021-08-14T21:04:47.106Z] 21:04:47     INFO - zombiecheck | Checking for orphan process with PID: 1683
[task 2021-08-14T21:04:47.106Z] 21:04:47     INFO - zombiecheck | Checking for orphan process with PID: 1684
[task 2021-08-14T21:04:47.107Z] 21:04:47     INFO - zombiecheck | Checking for orphan process with PID: 1687
[task 2021-08-14T21:04:47.107Z] 21:04:47     INFO - Stopping web server
[task 2021-08-14T21:04:47.107Z] 21:04:47     INFO - Server shut down.
[task 2021-08-14T21:04:47.202Z] 21:04:47     INFO - Web server killed.
[task 2021-08-14T21:04:47.202Z] 21:04:47     INFO - Stopping web socket server
[task 2021-08-14T21:04:47.281Z] 21:04:47     INFO - Stopping ssltunnel
[task 2021-08-14T21:04:47.375Z] 21:04:47  WARNING - leakcheck | refcount logging is off, so leaks can't be detected!
[task 2021-08-14T21:04:47.376Z] 21:04:47     INFO - runtests.py | Running tests: end.
[task 2021-08-14T21:04:47.414Z] 21:04:47     INFO - Buffered messages finished
[task 2021-08-14T21:04:47.414Z] 21:04:47     INFO - Running manifest: browser/components/enterprisepolicies/tests/browser/hardware_acceleration/browser.ini
[task 2021-08-14T21:04:47.415Z] 21:04:47     INFO - The following extra prefs will be set:
[task 2021-08-14T21:04:47.415Z] 21:04:47     INFO -   browser.policies.alternatePath='<test-root>/browser/components/enterprisepolicies/tests/browser/hardware_acceleration/disable_hardware_acceleration.json'
[task 2021-08-14T21:04:47.788Z] 21:04:47     INFO - PID 1694 | pk12util: PKCS12 IMPORT SUCCESSFUL
[task 2021-08-14T21:04:47.906Z] 21:04:47     INFO - MochitestServer : launching ['/opt/worker/tasks/task_1628974791/build/tests/bin/xpcshell', '-g', '/opt/worker/tasks/task_1628974791/build/application/Firefox.app/Contents/Resources', '-f', '/opt/worker/tasks/task_1628974791/build/tests/bin/components/httpd.js', '-e', "const _PROFILE_PATH = '/var/folders/lv/bfkd4m2160b7r2wc_tm3kwsr000014/T/tmpe1xeomi4.mozrunner'; const _SERVER_PORT = '8888'; const _SERVER_ADDR = '127.0.0.1'; const _TEST_PREFIX = undefined; const _DISPLAY_RESULTS = false;", '-f', '/opt/worker/tasks/task_1628974791/build/tests/mochitest/server.js']
[task 2021-08-14T21:04:47.906Z] 21:04:47     INFO - runtests.py | Server pid: 1695
[task 2021-08-14T21:04:47.909Z] 21:04:47     INFO - runtests.py | Websocket server pid: 1696
[task 2021-08-14T21:04:47.913Z] 21:04:47     INFO - runtests.py | SSL tunnel pid: 1697
[task 2021-08-14T21:04:48.008Z] 21:04:48     INFO - runtests.py | Running with scheme: http
[task 2021-08-14T21:04:48.008Z] 21:04:48     INFO - runtests.py | Running with e10s: True
[task 2021-08-14T21:04:48.008Z] 21:04:48     INFO - runtests.py | Running with fission: False
[task 2021-08-14T21:04:48.008Z] 21:04:48     INFO - runtests.py | Running with cross-origin iframes: False
[task 2021-08-14T21:04:48.008Z] 21:04:48     INFO - runtests.py | Running with serviceworker_e10s: True
[task 2021-08-14T21:04:48.008Z] 21:04:48     INFO - runtests.py | Running with socketprocess_e10s: False
[task 2021-08-14T21:04:48.009Z] 21:04:48     INFO - runtests.py | Running tests: start.
[task 2021-08-14T21:04:48.009Z] 21:04:48     INFO - 
[task 2021-08-14T21:04:48.012Z] 21:04:48     INFO - Application command: /opt/worker/tasks/task_1628974791/build/application/Firefox.app/Contents/MacOS/firefox -marionette -foreground -profile /var/folders/lv/bfkd4m2160b7r2wc_tm3kwsr000014/T/tmpe1xeomi4.mozrunner
[task 2021-08-14T21:04:48.014Z] 21:04:48     INFO - runtests.py | Application pid: 1698
[task 2021-08-14T21:04:48.014Z] 21:04:48     INFO - TEST-INFO | started process GECKO(1698)
[task 2021-08-14T21:04:48.207Z] 21:04:48     INFO - GECKO(1698) | 1628975088207	Marionette	INFO	Marionette enabled
[task 2021-08-14T21:04:48.289Z] 21:04:48     INFO - GECKO(1698) | 1628975088288	Marionette	TRACE	Received observer notification toplevel-window-ready
[task 2021-08-14T21:04:48.631Z] 21:04:48     INFO - GECKO(1698) | console.warn: SearchSettings: "get: No settings file exists, new profile?" (new NotFoundError("Could not open the file at /var/folders/lv/bfkd4m2160b7r2wc_tm3kwsr000014/T/tmpe1xeomi4.mozrunner/search.json.mozlz4", (void 0)))
[task 2021-08-14T21:04:48.925Z] 21:04:48     INFO - GECKO(1698) | 1628975088925	Marionette	TRACE	Received observer notification marionette-startup-requested
[task 2021-08-14T21:04:48.925Z] 21:04:48     INFO - GECKO(1698) | 1628975088925	Marionette	TRACE	Waiting until startup recorder finished recording startup scripts...
[task 2021-08-14T21:04:48.929Z] 21:04:48     INFO - GECKO(1698) | 1628975088929	Marionette	TRACE	All scripts recorded.
[task 2021-08-14T21:04:48.930Z] 21:04:48     INFO - GECKO(1698) | 1628975088929	Marionette	INFO	Listening on port 2828
[task 2021-08-14T21:04:48.930Z] 21:04:48     INFO - GECKO(1698) | 1628975088930	Marionette	DEBUG	Marionette is listening
[task 2021-08-14T21:04:49.023Z] 21:04:49     INFO - GECKO(1698) | 1628975089022	Marionette	DEBUG	Accepted connection 0 from 127.0.0.1:49837
[task 2021-08-14T21:04:49.023Z] 21:04:49     INFO - GECKO(1698) | 1628975089023	Marionette	DEBUG	Closed connection 0
[task 2021-08-14T21:04:49.024Z] 21:04:49     INFO - GECKO(1698) | 1628975089023	Marionette	DEBUG	Accepted connection 1 from 127.0.0.1:49838
[task 2021-08-14T21:04:49.025Z] 21:04:49     INFO - GECKO(1698) | 1628975089025	Marionette	DEBUG	1 -> [0,1,"WebDriver:NewSession",{"strictFileInteractability":true}]
[task 2021-08-14T21:04:49.029Z] 21:04:49     INFO - GECKO(1698) | 1628975089029	Marionette	DEBUG	1 <- [1,1,null,{"sessionId":"adab601e-a096-894a-9759-511eaf8a1197","capabilities":{"browserName":"firefox","browserVersion":"92.0" ... 4.mozrunner","moz:shutdownTimeout":60000,"moz:useNonSpecCompliantPointerOrigin":false,"moz:webdriverClick":true,"proxy":{}}}]
[task 2021-08-14T21:04:49.035Z] 21:04:49     INFO - GECKO(1698) | 1628975089035	Marionette	DEBUG	1 -> [0,2,"Addon:Install",{"path":"/var/folders/lv/bfkd4m2160b7r2wc_tm3kwsr000014/T/tmpdayk3zr3.zip","temporary":false}]
[task 2021-08-14T21:04:49.050Z] 21:04:49     INFO - GECKO(1698) | 1628975089050	Marionette	DEBUG	1 <- [1,2,null,{"value":"special-powers@mozilla.org"}]
[task 2021-08-14T21:04:49.062Z] 21:04:49     INFO - GECKO(1698) | 1628975089061	Marionette	DEBUG	1 -> [0,3,"Addon:Install",{"path":"/var/folders/lv/bfkd4m2160b7r2wc_tm3kwsr000014/T/tmpa1q7q4pw.zip","temporary":false}]
[task 2021-08-14T21:04:49.068Z] 21:04:49     INFO - GECKO(1698) | 1628975089068	Marionette	DEBUG	1 <- [1,3,null,{"value":"mochikit@mozilla.org"}]
[task 2021-08-14T21:04:49.069Z] 21:04:49     INFO - GECKO(1698) | 1628975089068	Marionette	DEBUG	1 -> [0,4,"Marionette:GetContext",{}]
[task 2021-08-14T21:04:49.069Z] 21:04:49     INFO - GECKO(1698) | 1628975089068	Marionette	DEBUG	1 <- [1,4,null,{"value":"content"}]
[task 2021-08-14T21:04:49.069Z] 21:04:49     INFO - GECKO(1698) | 1628975089069	Marionette	DEBUG	1 -> [0,5,"Marionette:SetContext",{"value":"chrome"}]
[task 2021-08-14T21:04:49.069Z] 21:04:49     INFO - GECKO(1698) | 1628975089069	Marionette	DEBUG	1 <- [1,5,null,{"value":null}]
[task 2021-08-14T21:04:49.070Z] 21:04:49     INFO - GECKO(1698) | 1628975089070	Marionette	DEBUG	1 -> [0,6,"WebDriver:ExecuteScript",{"script":"/* This Source Code Form is subject to the terms of the Mozilla Public\n * License, ... hrome","testUrl":"about:blank"}],"newSandbox":true,"sandbox":"default","line":1935,"filename":"tests/mochitest/runtests.py"}]
[task 2021-08-14T21:04:49.071Z] 21:04:49     INFO - GECKO(1698) | 1628975089071	Marionette	TRACE	[9] MarionetteCommands actor created for window id 4
[task 2021-08-14T21:04:49.080Z] 21:04:49     INFO - GECKO(1698) | 1628975089080	Marionette	TRACE	Received observer notification domwindowopened
[task 2021-08-14T21:04:49.082Z] 21:04:49     INFO - GECKO(1698) | 1628975089082	Marionette	DEBUG	1 <- [1,6,null,{"value":null}]
[task 2021-08-14T21:04:49.086Z] 21:04:49     INFO - GECKO(1698) | 1628975089086	Marionette	DEBUG	1 -> [0,7,"Marionette:SetContext",{"value":"content"}]
[task 2021-08-14T21:04:49.086Z] 21:04:49     INFO - GECKO(1698) | 1628975089086	Marionette	DEBUG	1 <- [1,7,null,{"value":null}]
[task 2021-08-14T21:04:49.091Z] 21:04:49     INFO - GECKO(1698) | 1628975089090	Marionette	DEBUG	1 -> [0,8,"WebDriver:DeleteSession",{}]
[task 2021-08-14T21:04:49.091Z] 21:04:49     INFO - GECKO(1698) | 1628975089091	Marionette	DEBUG	1 <- [1,8,null,{"value":null}]
[task 2021-08-14T21:04:49.091Z] 21:04:49     INFO - runtests.py | Waiting for browser...
[task 2021-08-14T21:04:49.092Z] 21:04:49     INFO - GECKO(1698) | 1628975089091	Marionette	DEBUG	Closed connection 1
[task 2021-08-14T21:04:49.104Z] 21:04:49     INFO - GECKO(1698) | JavaScript error: , line 0: NotFoundError: No such JSWindowActor 'MarionetteEvents'
[task 2021-08-14T21:04:49.143Z] 21:04:49     INFO - *** Start BrowserChrome Test Results ***
[task 2021-08-14T21:04:49.171Z] 21:04:49     INFO - checking window state
[task 2021-08-14T21:04:49.189Z] 21:04:49     INFO - TEST-START | browser/components/enterprisepolicies/tests/browser/hardware_acceleration/browser_policy_hardware_acceleration.js
```