Bug: Intermittent 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: can't access property "
Status: RESOLVED
Priority: P5
Resolution: FIXED
Created: 2021-08-04 07:57:06+00:00
Resolved: 2021-09-20 06:00:50+00:00

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

---
```
[task 2021-08-04T06:21:11.261Z] 06:21:11     INFO - TEST-START | browser/components/enterprisepolicies/tests/browser/disable_app_update/browser_policy_disable_app_update.js
[task 2021-08-04T06:21:11.834Z] 06:21:11     INFO - TEST-INFO | started process screentopng
[task 2021-08-04T06:21:12.239Z] 06:21:12     INFO - TEST-INFO | screentopng: exit 0
[task 2021-08-04T06:21:12.239Z] 06:21:12     INFO - Buffered messages logged at 06:21:11
[task 2021-08-04T06:21:12.239Z] 06:21:12     INFO - Entering test bound test_updates_post_policy
[task 2021-08-04T06:21:12.239Z] 06:21:12     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-04T06:21:12.239Z] 06:21:12     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-04T06:21:12.239Z] 06:21:12     INFO - Leaving test bound test_updates_post_policy
[task 2021-08-04T06:21:12.239Z] 06:21:12     INFO - Entering test bound test_update_preferences_ui
[task 2021-08-04T06:21:12.239Z] 06:21:12     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-04T06:21:12.239Z] 06:21:12     INFO - Leaving test bound test_update_preferences_ui
[task 2021-08-04T06:21:12.239Z] 06:21:12     INFO - Entering test bound test_update_about_ui
[task 2021-08-04T06:21:12.239Z] 06:21:12     INFO - TEST-PASS | browser/components/enterprisepolicies/tests/browser/disable_app_update/browser_policy_disable_app_update.js | About dialog appeared - 
[task 2021-08-04T06:21:12.239Z] 06:21:12     INFO - Buffered messages finished
[task 2021-08-04T06:21:12.239Z] 06:21:12     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: can't access property "selectedPanel", aboutDialog.gAppUpdater is undefined
[task 2021-08-04T06:21:12.239Z] 06:21:12     INFO - Leaving test bound test_update_about_ui
[task 2021-08-04T06:21:12.239Z] 06:21:12     INFO - Entering test bound test_no_update_intervention
[task 2021-08-04T06:21:12.239Z] 06:21:12     INFO - GECKO(8565) | must wait for focus
[task 2021-08-04T06:21:12.344Z] 06:21:12     INFO - TEST-PASS | browser/components/enterprisepolicies/tests/browser/disable_app_update/browser_policy_disable_app_update.js | 2 != 7 - 
[task 2021-08-04T06:21:12.356Z] 06:21:12     INFO - Leaving test bound test_no_update_intervention
[task 2021-08-04T06:21:12.373Z] 06:21:12     INFO - GECKO(8565) | MEMORY STAT vsizeMaxContiguous not supported in this build configuration.
[task 2021-08-04T06:21:12.375Z] 06:21:12     INFO - GECKO(8565) | MEMORY STAT | vsize 3025MB | residentFast 355MB | heapAllocated 210MB
[task 2021-08-04T06:21:12.377Z] 06:21:12     INFO - TEST-OK | browser/components/enterprisepolicies/tests/browser/disable_app_update/browser_policy_disable_app_update.js | took 1112ms
[task 2021-08-04T06:21:12.398Z] 06:21:12     INFO - checking window state
[task 2021-08-04T06:21:12.398Z] 06:21:12     INFO - Not taking screenshot here: see the one that was previously logged
[task 2021-08-04T06:21:12.400Z] 06:21:12     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-04T06:21:12.437Z] 06:21:12     INFO - GECKO(8565) | Completed ShutdownLeaks collections in process 8565
[task 2021-08-04T06:21:12.437Z] 06:21:12     INFO - TEST-START | Shutdown
[task 2021-08-04T06:21:12.437Z] 06:21:12     INFO - Browser Chrome Test Summary
[task 2021-08-04T06:21:12.437Z] 06:21:12     INFO - Passed:  5
[task 2021-08-04T06:21:12.437Z] 06:21:12     INFO - Failed:  2
[task 2021-08-04T06:21:12.437Z] 06:21:12     INFO - Todo:    0
[task 2021-08-04T06:21:12.437Z] 06:21:12     INFO - Mode:    e10s
[task 2021-08-04T06:21:12.437Z] 06:21:12     INFO - *** End BrowserChrome Test Results ***
[task 2021-08-04T06:21:12.478Z] 06:21:12     INFO - GECKO(8565) | Exiting due to channel error.
[task 2021-08-04T06:21:12.482Z] 06:21:12     INFO - GECKO(8565) | Exiting due to channel error.
[task 2021-08-04T06:21:12.483Z] 06:21:12     INFO - GECKO(8565) | Exiting due to channel error.
[task 2021-08-04T06:21:12.485Z] 06:21:12     INFO - GECKO(8565) | Exiting due to channel error.
[task 2021-08-04T06:21:12.485Z] 06:21:12     INFO - GECKO(8565) | Exiting due to channel error.
[task 2021-08-04T06:21:12.485Z] 06:21:12     INFO - GECKO(8565) | Exiting due to channel error.
[task 2021-08-04T06:21:12.491Z] 06:21:12     INFO - GECKO(8565) | Exiting due to channel error.
[task 2021-08-04T06:21:12.491Z] 06:21:12     INFO - GECKO(8565) | Exiting due to channel error.
[task 2021-08-04T06:21:12.512Z] 06:21:12     INFO - TEST-INFO | Main app process: exit 0
[task 2021-08-04T06:21:12.512Z] 06:21:12     INFO - runtests.py | Application ran for: 0:00:04.826410
[task 2021-08-04T06:21:12.512Z] 06:21:12     INFO - zombiecheck | Reading PID log: /tmp/tmpxkkb6dwapidlog
[task 2021-08-04T06:21:12.513Z] 06:21:12     INFO - ==> process 8565 launched child process 8585
[task 2021-08-04T06:21:12.514Z] 06:21:12     INFO - ==> process 8565 launched child process 8637
[task 2021-08-04T06:21:12.515Z] 06:21:12     INFO - ==> process 8565 launched child process 8658
[task 2021-08-04T06:21:12.515Z] 06:21:12     INFO - ==> process 8565 launched child process 8720
[task 2021-08-04T06:21:12.517Z] 06:21:12     INFO - ==> process 8565 launched child process 8751
[task 2021-08-04T06:21:12.517Z] 06:21:12     INFO - ==> process 8565 launched child process 8757
[task 2021-08-04T06:21:12.517Z] 06:21:12     INFO - ==> process 8565 launched child process 8781
[task 2021-08-04T06:21:12.517Z] 06:21:12     INFO - ==> process 8565 launched child process 8845
[task 2021-08-04T06:21:12.519Z] 06:21:12     INFO - ==> process 8565 launched child process 8870
[task 2021-08-04T06:21:12.520Z] 06:21:12     INFO - zombiecheck | Checking for orphan process with PID: 8870
[task 2021-08-04T06:21:12.520Z] 06:21:12     INFO - zombiecheck | Checking for orphan process with PID: 8585
[task 2021-08-04T06:21:12.520Z] 06:21:12     INFO - zombiecheck | Checking for orphan process with PID: 8781
[task 2021-08-04T06:21:12.520Z] 06:21:12     INFO - zombiecheck | Checking for orphan process with PID: 8845
[task 2021-08-04T06:21:12.520Z] 06:21:12     INFO - zombiecheck | Checking for orphan process with PID: 8751
[task 2021-08-04T06:21:12.521Z] 06:21:12     INFO - zombiecheck | Checking for orphan process with PID: 8720
[task 2021-08-04T06:21:12.522Z] 06:21:12     INFO - zombiecheck | Checking for orphan process with PID: 8658
[task 2021-08-04T06:21:12.522Z] 06:21:12     INFO - zombiecheck | Checking for orphan process with PID: 8757
[task 2021-08-04T06:21:12.523Z] 06:21:12     INFO - zombiecheck | Checking for orphan process with PID: 8637
[task 2021-08-04T06:21:12.523Z] 06:21:12     INFO - Stopping web server
[task 2021-08-04T06:21:12.524Z] 06:21:12     INFO - Server shut down.
[task 2021-08-04T06:21:12.546Z] 06:21:12     INFO - Web server killed.
[task 2021-08-04T06:21:12.547Z] 06:21:12     INFO - Stopping web socket server
[task 2021-08-04T06:21:12.564Z] 06:21:12     INFO - Stopping ssltunnel
[task 2021-08-04T06:21:12.585Z] 06:21:12  WARNING - leakcheck | refcount logging is off, so leaks can't be detected!
[task 2021-08-04T06:21:12.585Z] 06:21:12     INFO - runtests.py | Running tests: end.
[task 2021-08-04T06:21:12.601Z] 06:21:12     INFO - Buffered messages finished
[task 2021-08-04T06:21:12.601Z] 06:21:12     INFO - Running manifest: browser/components/extensions/test/browser/browser.ini
[task 2021-08-04T06:21:12.601Z] 06:21:12     INFO - The following extra prefs will be set:
[task 2021-08-04T06:21:12.601Z] 06:21:12     INFO -   dom.ipc.keepProcessesAlive.extension=1
[task 2021-08-04T06:21:12.601Z] 06:21:12     INFO -   dom.animations-api.core.enabled=true
[task 2021-08-04T06:21:12.601Z] 06:21:12     INFO -   dom.animations-api.timelines.enabled=true
[task 2021-08-04T06:21:12.601Z] 06:21:12     INFO -   plugin.load_flash_only=false
[task 2021-08-04T06:21:12.620Z] 06:21:12     INFO -  Setting pipeline to PAUSED ...
[task 2021-08-04T06:21:12.620Z] 06:21:12     INFO -  Pipeline is PREROLLING ...
[task 2021-08-04T06:21:12.622Z] 06:21:12     INFO -  Pipeline is PREROLLED ...
[task 2021-08-04T06:21:12.623Z] 06:21:12     INFO -  Setting pipeline to PLAYING ...
[task 2021-08-04T06:21:12.623Z] 06:21:12     INFO -  New clock: GstSystemClock
[task 2021-08-04T06:21:12.656Z] 06:21:12     INFO -  Got EOS from element "pipeline0".
[task 2021-08-04T06:21:12.657Z] 06:21:12     INFO -  Execution ended after 0:00:00.033236836
[task 2021-08-04T06:21:12.657Z] 06:21:12     INFO -  Setting pipeline to PAUSED ...
[task 2021-08-04T06:21:12.658Z] 06:21:12     INFO -  Setting pipeline to READY ...
[task 2021-08-04T06:21:12.659Z] 06:21:12     INFO -  (gst-launch-1.0:8891): GStreamer-CRITICAL **: 06:21:12.656: gst_object_unref: assertion '((GObject *) object)->ref_count > 0' failed
[task 2021-08-04T06:21:12.659Z] 06:21:12     INFO -  Setting pipeline to NULL ...
[task 2021-08-04T06:21:12.659Z] 06:21:12     INFO -  Freeing pipeline ...
[task 2021-08-04T06:21:12.896Z] 06:21:12     INFO - PID 8904 | pk12util: PKCS12 IMPORT SUCCESSFUL
[task 2021-08-04T06:21:12.959Z] 06:21:12     INFO - MochitestServer : launching ['/builds/worker/workspace/build/tests/bin/xpcshell', '-g', '/builds/worker/workspace/build/application/firefox', '-f', '/builds/worker/workspace/build/tests/bin/components/httpd.js', '-e', "const _PROFILE_PATH = '/tmp/tmp72ttavwu.mozrunner'; const _SERVER_PORT = '8888'; const _SERVER_ADDR = '127.0.0.1'; const _TEST_PREFIX = undefined; const _DISPLAY_RESULTS = false;", '-f', '/builds/worker/workspace/build/tests/mochitest/server.js']
[task 2021-08-04T06:21:12.959Z] 06:21:12     INFO - runtests.py | Server pid: 8910
[task 2021-08-04T06:21:12.976Z] 06:21:12     INFO - runtests.py | Websocket server pid: 8913
[task 2021-08-04T06:21:12.988Z] 06:21:12     INFO - runtests.py | SSL tunnel pid: 8918
[task 2021-08-04T06:21:13.041Z] 06:21:13     INFO - runtests.py | Running with scheme: http
[task 2021-08-04T06:21:13.042Z] 06:21:13     INFO - runtests.py | Running with e10s: True
[task 2021-08-04T06:21:13.042Z] 06:21:13     INFO - runtests.py | Running with fission: True
[task 2021-08-04T06:21:13.043Z] 06:21:13     INFO - runtests.py | Running with cross-origin iframes: False
[task 2021-08-04T06:21:13.044Z] 06:21:13     INFO - runtests.py | Running with serviceworker_e10s: True
[task 2021-08-04T06:21:13.045Z] 06:21:13     INFO - runtests.py | Running with socketprocess_e10s: False
[task 2021-08-04T06:21:13.045Z] 06:21:13     INFO - runtests.py | Running tests: start.
[task 2021-08-04T06:21:13.046Z] 06:21:13     INFO - 
[task 2021-08-04T06:21:13.085Z] 06:21:13     INFO - Application command: /builds/worker/workspace/build/application/firefox/firefox -marionette -foreground -profile /tmp/tmp72ttavwu.mozrunner
[task 2021-08-04T06:21:13.095Z] 06:21:13     INFO - runtests.py | Application pid: 8936
[task 2021-08-04T06:21:13.095Z] 06:21:13     INFO - TEST-INFO | started process GECKO(8936)
[task 2021-08-04T06:21:13.651Z] 06:21:13     INFO - GECKO(8936) | 1628058073650	Marionette	INFO	Marionette enabled
[task 2021-08-04T06:21:13.701Z] 06:21:13     INFO - GECKO(8936) | 1628058073700	Marionette	TRACE	Received observer notification toplevel-window-ready
[task 2021-08-04T06:21:15.302Z] 06:21:15     INFO - GECKO(8936) | console.warn: SearchSettings: "get: No settings file exists, new profile?" (new NotFoundError("Could not open the file at /tmp/tmp72ttavwu.mozrunner/search.json.mozlz4", (void 0)))
[task 2021-08-04T06:21:15.968Z] 06:21:15     INFO - GECKO(8936) | 1628058075967	Marionette	TRACE	Received observer notification marionette-startup-requested
[task 2021-08-04T06:21:15.969Z] 06:21:15     INFO - GECKO(8936) | 1628058075967	Marionette	TRACE	Waiting until startup recorder finished recording startup scripts...
[task 2021-08-04T06:21:15.989Z] 06:21:15     INFO - GECKO(8936) | 1628058075988	Marionette	TRACE	All scripts recorded.
[task 2021-08-04T06:21:16.000Z] 06:21:16     INFO - GECKO(8936) | 1628058075999	Marionette	INFO	Listening on port 2828
[task 2021-08-04T06:21:16.004Z] 06:21:16     INFO - GECKO(8936) | 1628058076001	Marionette	DEBUG	Marionette is listening
[task 2021-08-04T06:21:16.053Z] 06:21:16     INFO - GECKO(8936) | 1628058076050	Marionette	DEBUG	Accepted connection 0 from 127.0.0.1:52002
[task 2021-08-04T06:21:16.062Z] 06:21:16     INFO - GECKO(8936) | 1628058076059	Marionette	DEBUG	Accepted connection 1 from 127.0.0.1:52004
[task 2021-08-04T06:21:16.065Z] 06:21:16     INFO - GECKO(8936) | 1628058076059	Marionette	DEBUG	Closed connection 0
[task 2021-08-04T06:21:16.073Z] 06:21:16     INFO - GECKO(8936) | 1628058076068	Marionette	DEBUG	1 -> [0,1,"WebDriver:NewSession",{"strictFileInteractability":true}]
[task 2021-08-04T06:21:16.086Z] 06:21:16     INFO - GECKO(8936) | 1628058076081	Marionette	DEBUG	1 <- [1,1,null,{"sessionId":"0c95761e-b5b9-492b-89eb-97a7cf57f97e","capabilities":{"browserName":"firefox","browserVersion":"92.0a ... u.mozrunner","moz:shutdownTimeout":60000,"moz:useNonSpecCompliantPointerOrigin":false,"moz:webdriverClick":true,"proxy":{}}}]
[task 2021-08-04T06:21:16.133Z] 06:21:16     INFO - GECKO(8936) | 1628058076132	Marionette	DEBUG	1 -> [0,2,"Addon:Install",{"path":"/tmp/tmp5yxp4y4x.zip","temporary":false}]
[task 2021-08-04T06:21:16.255Z] 06:21:16     INFO - GECKO(8936) | 1628058076253	Marionette	DEBUG	1 <- [1,2,null,{"value":"special-powers@mozilla.org"}]
[task 2021-08-04T06:21:16.290Z] 06:21:16     INFO - GECKO(8936) | 1628058076289	Marionette	DEBUG	1 -> [0,3,"Addon:Install",{"path":"/tmp/tmp4vhg2im3.zip","temporary":false}]
[task 2021-08-04T06:21:16.315Z] 06:21:16     INFO - GECKO(8936) | 1628058076314	Marionette	DEBUG	1 <- [1,3,null,{"value":"mochikit@mozilla.org"}]
[task 2021-08-04T06:21:16.318Z] 06:21:16     INFO - GECKO(8936) | 1628058076317	Marionette	DEBUG	1 -> [0,4,"Marionette:GetContext",{}]
[task 2021-08-04T06:21:16.320Z] 06:21:16     INFO - GECKO(8936) | 1628058076319	Marionette	DEBUG	1 <- [1,4,null,{"value":"content"}]
[task 2021-08-04T06:21:16.322Z] 06:21:16     INFO - GECKO(8936) | 1628058076321	Marionette	DEBUG	1 -> [0,5,"Marionette:SetContext",{"value":"chrome"}]
[task 2021-08-04T06:21:16.324Z] 06:21:16     INFO - GECKO(8936) | 1628058076323	Marionette	DEBUG	1 <- [1,5,null,{"value":null}]
[task 2021-08-04T06:21:16.327Z] 06:21:16     INFO - GECKO(8936) | 1628058076325	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":1936,"filename":"tests/mochitest/runtests.py"}]
[task 2021-08-04T06:21:16.331Z] 06:21:16     INFO - GECKO(8936) | 1628058076330	Marionette	TRACE	[7] MarionetteCommands actor created for window id 2
[task 2021-08-04T06:21:16.352Z] 06:21:16     INFO - GECKO(8936) | 1628058076351	Marionette	TRACE	Received observer notification domwindowopened
[task 2021-08-04T06:21:16.357Z] 06:21:16     INFO - GECKO(8936) | 1628058076356	Marionette	DEBUG	1 <- [1,6,null,{"value":null}]
[task 2021-08-04T06:21:16.364Z] 06:21:16     INFO - GECKO(8936) | 1628058076364	Marionette	TRACE	Remoteness change detected. Set new top-level browsing context to 46
[task 2021-08-04T06:21:16.371Z] 06:21:16     INFO - GECKO(8936) | 1628058076369	Marionette	DEBUG	1 -> [0,7,"Marionette:SetContext",{"value":"content"}]
[task 2021-08-04T06:21:16.372Z] 06:21:16     INFO - GECKO(8936) | 1628058076369	Marionette	DEBUG	1 <- [1,7,null,{"value":null}]
[task 2021-08-04T06:21:16.402Z] 06:21:16     INFO - GECKO(8936) | 1628058076400	Marionette	DEBUG	1 -> [0,8,"WebDriver:DeleteSession",{}]
[task 2021-08-04T06:21:16.405Z] 06:21:16     INFO - GECKO(8936) | 1628058076402	Marionette	DEBUG	1 <- [1,8,null,{"value":null}]
[task 2021-08-04T06:21:16.409Z] 06:21:16     INFO - runtests.py | Waiting for browser...
[task 2021-08-04T06:21:16.410Z] 06:21:16     INFO - GECKO(8936) | JavaScript error: , line 0: NotFoundError: No such JSWindowActor 'MarionetteEvents'
[task 2021-08-04T06:21:16.412Z] 06:21:16     INFO - GECKO(8936) | 1628058076411	Marionette	DEBUG	Closed connection 1
[task 2021-08-04T06:21:16.601Z] 06:21:16     INFO - *** Start BrowserChrome Test Results ***
[task 2021-08-04T06:21:16.621Z] 06:21:16     INFO - checking window state
[task 2021-08-04T06:21:16.659Z] 06:21:16     INFO - TEST-START | browser/components/extensions/test/browser/browser_ExtensionControlledPopup.js
```