Bug: Intermittent browser/components/enterprisepolicies/tests/browser/browser_policy_block_set_desktop_background.js | application terminated with exit code 1
Status: RESOLVED
Priority: P5
Resolution: FIXED
Created: 2021-02-11 00:53:34+00:00
Resolved: 2021-07-23 03:45:21+00:00

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

---
```
[task 2021-02-10T23:31:41.110Z] 23:31:41     INFO - TEST-START | browser/components/enterprisepolicies/tests/browser/browser_policy_block_set_desktop_background.js
[task 2021-02-10T23:31:41.497Z] 23:31:41     INFO - GECKO(4553) | Gdk-Message: 23:31:41.492: firefox: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.
[task 2021-02-10T23:31:41.539Z] 23:31:41     INFO - GECKO(4553) | Exiting due to channel error.
[task 2021-02-10T23:31:41.539Z] 23:31:41     INFO - GECKO(4553) | Exiting due to channel error.
[task 2021-02-10T23:31:41.539Z] 23:31:41     INFO - GECKO(4553) | Exiting due to channel error.
[task 2021-02-10T23:31:41.539Z] 23:31:41     INFO - GECKO(4553) | Exiting due to channel error.
[task 2021-02-10T23:31:41.539Z] 23:31:41     INFO - GECKO(4553) | Exiting due to channel error.
[task 2021-02-10T23:31:41.540Z] 23:31:41     INFO - GECKO(4553) | Exiting due to channel error.
[task 2021-02-10T23:31:41.577Z] 23:31:41     INFO - TEST-INFO | Main app process: exit 1
[task 2021-02-10T23:31:41.577Z] 23:31:41     INFO - Buffered messages logged at 23:31:41
[task 2021-02-10T23:31:41.577Z] 23:31:41     INFO - Entering test bound policies_headjs_startWithCleanSlate
[task 2021-02-10T23:31:41.577Z] 23:31:41     INFO - TEST-PASS | browser/components/enterprisepolicies/tests/browser/browser_policy_block_set_desktop_background.js | Engine is inactive at the start of the test - 
[task 2021-02-10T23:31:41.577Z] 23:31:41     INFO - Leaving test bound policies_headjs_startWithCleanSlate
[task 2021-02-10T23:31:41.577Z] 23:31:41     INFO - Entering test bound setup
[task 2021-02-10T23:31:41.577Z] 23:31:41     INFO - TEST-PASS | browser/components/enterprisepolicies/tests/browser/browser_policy_block_set_desktop_background.js | Sanity check the temporary file doesn't exist. - true == true - 
[task 2021-02-10T23:31:41.577Z] 23:31:41     INFO - Leaving test bound setup
[task 2021-02-10T23:31:41.577Z] 23:31:41     INFO - Entering test bound test_check_set_desktop_background
[task 2021-02-10T23:31:41.577Z] 23:31:41     INFO - Context Menu Shown
[task 2021-02-10T23:31:41.578Z] 23:31:41     INFO - TEST-PASS | browser/components/enterprisepolicies/tests/browser/browser_policy_block_set_desktop_background.js | The "Set Desktop Background" context menu element should be hidden - 
[task 2021-02-10T23:31:41.578Z] 23:31:41     INFO - Buffered messages finished
[task 2021-02-10T23:31:41.579Z] 23:31:41    ERROR - TEST-UNEXPECTED-FAIL | browser/components/enterprisepolicies/tests/browser/browser_policy_block_set_desktop_background.js | application terminated with exit code 1
[task 2021-02-10T23:31:41.579Z] 23:31:41     INFO - runtests.py | Application ran for: 0:00:18.731328
[task 2021-02-10T23:31:41.579Z] 23:31:41     INFO - zombiecheck | Reading PID log: /tmp/tmp5DCDCKpidlog
[task 2021-02-10T23:31:41.580Z] 23:31:41     INFO - ==> process 4553 launched child process 4575
[task 2021-02-10T23:31:41.581Z] 23:31:41     INFO - ==> process 4553 launched child process 4611
[task 2021-02-10T23:31:41.581Z] 23:31:41     INFO - ==> process 4553 launched child process 4619
[task 2021-02-10T23:31:41.582Z] 23:31:41     INFO - ==> process 4553 launched child process 4716
[task 2021-02-10T23:31:41.582Z] 23:31:41     INFO - ==> process 4553 launched child process 4746
[task 2021-02-10T23:31:41.582Z] 23:31:41     INFO - ==> process 4553 launched child process 4779
[task 2021-02-10T23:31:41.582Z] 23:31:41     INFO - ==> process 4553 launched child process 4824
[task 2021-02-10T23:31:41.584Z] 23:31:41     INFO - zombiecheck | Checking for orphan process with PID: 4611
[task 2021-02-10T23:31:41.584Z] 23:31:41     INFO - zombiecheck | Checking for orphan process with PID: 4779
[task 2021-02-10T23:31:41.585Z] 23:31:41     INFO - zombiecheck | Checking for orphan process with PID: 4746
[task 2021-02-10T23:31:41.585Z] 23:31:41     INFO - zombiecheck | Checking for orphan process with PID: 4619
[task 2021-02-10T23:31:41.586Z] 23:31:41     INFO - zombiecheck | Checking for orphan process with PID: 4716
[task 2021-02-10T23:31:41.586Z] 23:31:41     INFO - zombiecheck | Checking for orphan process with PID: 4824
[task 2021-02-10T23:31:41.586Z] 23:31:41     INFO - zombiecheck | Checking for orphan process with PID: 4575
[task 2021-02-10T23:31:41.587Z] 23:31:41     INFO - Stopping web server
[task 2021-02-10T23:31:41.597Z] 23:31:41     INFO - Stopping web socket server
[task 2021-02-10T23:31:41.617Z] 23:31:41     INFO - Stopping ssltunnel
[task 2021-02-10T23:31:41.638Z] 23:31:41  WARNING - leakcheck | refcount logging is off, so leaks can't be detected!
[task 2021-02-10T23:31:41.638Z] 23:31:41     INFO - runtests.py | Running tests: end.
[task 2021-02-10T23:31:41.658Z] 23:31:41     INFO - Buffered messages finished
[task 2021-02-10T23:31:41.659Z] 23:31:41     INFO - Running manifest: browser/components/enterprisepolicies/tests/browser/disable_developer_tools/browser.ini
[task 2021-02-10T23:31:41.659Z] 23:31:41     INFO - The following extra prefs will be set:
[task 2021-02-10T23:31:41.660Z] 23:31:41     INFO -   browser.policies.alternatePath='<test-root>/browser/components/enterprisepolicies/tests/browser/disable_developer_tools/config_disable_developer_tools.json'
[task 2021-02-10T23:31:41.680Z] 23:31:41     INFO -  Setting pipeline to PAUSED ...
[task 2021-02-10T23:31:41.680Z] 23:31:41     INFO -  Pipeline is PREROLLING ...
[task 2021-02-10T23:31:41.681Z] 23:31:41     INFO -  Pipeline is PREROLLED ...
[task 2021-02-10T23:31:41.681Z] 23:31:41     INFO -  Setting pipeline to PLAYING ...
[task 2021-02-10T23:31:41.682Z] 23:31:41     INFO -  New clock: GstSystemClock
[task 2021-02-10T23:31:41.717Z] 23:31:41     INFO -  Got EOS from element "pipeline0".
[task 2021-02-10T23:31:41.718Z] 23:31:41     INFO -  Execution ended after 0:00:00.033170577
[task 2021-02-10T23:31:41.719Z] 23:31:41     INFO -  Setting pipeline to PAUSED ...
[task 2021-02-10T23:31:41.719Z] 23:31:41     INFO -  Setting pipeline to READY ...
[task 2021-02-10T23:31:41.720Z] 23:31:41     INFO -  (gst-launch-1.0:4897): GStreamer-CRITICAL **: 23:31:41.714: gst_object_unref: assertion '((GObject *) object)->ref_count > 0' failed
[task 2021-02-10T23:31:41.720Z] 23:31:41     INFO -  Setting pipeline to NULL ...
[task 2021-02-10T23:31:41.721Z] 23:31:41     INFO -  Freeing pipeline ...
[task 2021-02-10T23:31:42.030Z] 23:31:42     INFO - PID 4910 | pk12util: PKCS12 IMPORT SUCCESSFUL
```