Bug: Intermittent TEST-UNEXPECTED-TIMEOUT | browser/components/urlbar/tests/browser/browser_retainedResultsOnFocus.js | application timed out after 370 seconds with no output
Status: RESOLVED
Priority: P5
Resolution: INCOMPLETE
Created: 2020-12-02 15:21:21+00:00
Resolved: 2021-05-25 17:02:18+00:00

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

---
```
[task 2020-12-02T13:59:09.048Z] 13:59:09     INFO - TEST-START | browser/components/urlbar/tests/browser/browser_retainedResultsOnFocus.js
[task 2020-12-02T13:59:13.321Z] 13:59:13     INFO - GECKO(1537) | JavaScript error: resource:///actors/ContentSearchParent.jsm, line 625: TypeError: can't access property "addEventListener", browser is null
[task 2020-12-02T13:59:39.078Z] 13:59:38     INFO - GECKO(1537) | JavaScript error: resource:///actors/ContentSearchParent.jsm, line 625: TypeError: can't access property "addEventListener", browser is null
[task 2020-12-02T14:05:56.463Z] 14:05:55     INFO - Buffered messages logged at 13:59:09
[task 2020-12-02T14:05:59.737Z] 14:05:58     INFO - Entering test bound setup
[task 2020-12-02T14:06:03.527Z] 14:06:02     INFO - Leaving test bound setup
[task 2020-12-02T14:06:09.015Z] 14:06:07     INFO - Entering test bound test_normalWindow
[task 2020-12-02T14:06:11.360Z] 14:06:08     INFO - Buffered messages logged at 13:59:11
[task 2020-12-02T14:06:19.500Z] 14:06:18     INFO - Awaiting for the urlbar panel to open
[task 2020-12-02T14:06:25.560Z] 14:06:23     INFO - expected foo 0 3
[task 2020-12-02T14:06:30.026Z] 14:06:28     INFO - The panel should open when there's a search string
[task 2020-12-02T14:06:38.580Z] 14:06:37     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_retainedResultsOnFocus.js | check urlbar panel is not open - true == true - 
[task 2020-12-02T14:06:47.819Z] 14:06:45     INFO - Check the keyboard shortcut.
[task 2020-12-02T14:07:02.638Z] 14:07:01     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_retainedResultsOnFocus.js | 0 == 0 - 
[task 2020-12-02T14:07:10.442Z] 14:07:09     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_retainedResultsOnFocus.js | 3 == 3 - 
[task 2020-12-02T14:07:18.561Z] 14:07:16     INFO - Focus with the mouse.
[task 2020-12-02T14:07:27.714Z] 14:07:26     INFO - Buffered messages logged at 13:59:12
[task 2020-12-02T14:07:37.388Z] 14:07:35     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_retainedResultsOnFocus.js | 0 == 0 - 
[task 2020-12-02T14:07:52.700Z] 14:07:51     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_retainedResultsOnFocus.js | 3 == 3 - 
[task 2020-12-02T14:07:57.191Z] 14:07:56     INFO - Buffered messages logged at 13:59:13
[task 2020-12-02T14:08:07.246Z] 14:08:05     INFO - Console message: [JavaScript Error: "TypeError: can't access property "addEventListener", browser is null" {file: "resource:///actors/ContentSearchParent.jsm" line: 625}]
[task 2020-12-02T14:08:09.962Z] 14:08:06     INFO - receiveMessage@resource:///actors/ContentSearchParent.jsm:625:5
[task 2020-12-02T14:08:12.066Z] 14:08:07     INFO - 
[task 2020-12-02T14:08:17.022Z] 14:08:16     INFO - Awaiting for the urlbar panel to open
[task 2020-12-02T14:08:22.398Z] 14:08:21     INFO - expected foo 0 3
[task 2020-12-02T14:08:31.201Z] 14:08:30     INFO - The panel should open when there's a search string
[task 2020-12-02T14:08:36.245Z] 14:08:34     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_retainedResultsOnFocus.js | check urlbar panel is not open - true == true - 
[task 2020-12-02T14:08:43.132Z] 14:08:41     INFO - Check the keyboard shortcut.
[task 2020-12-02T14:08:46.531Z] 14:08:45     INFO - Buffered messages logged at 13:59:14
[task 2020-12-02T14:08:50.086Z] 14:08:49     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_retainedResultsOnFocus.js | 0 == 0 - 
[task 2020-12-02T14:08:53.698Z] 14:08:53     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_retainedResultsOnFocus.js | 3 == 3 - 
[task 2020-12-02T14:08:59.168Z] 14:08:58     INFO - Focus with the mouse.
[task 2020-12-02T14:09:01.175Z] 14:08:59     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_retainedResultsOnFocus.js | 0 == 0 - 
[task 2020-12-02T14:09:03.774Z] 14:09:02     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_retainedResultsOnFocus.js | 3 == 3 - 
[task 2020-12-02T14:09:07.706Z] 14:09:06     INFO - Buffered messages logged at 13:59:15
[task 2020-12-02T14:09:13.027Z] 14:09:11     INFO - Awaiting for the urlbar panel to open
[task 2020-12-02T14:09:16.406Z] 14:09:15     INFO - expected example.com/ 2 12
[task 2020-12-02T14:09:19.754Z] 14:09:18     INFO - The panel should open when there's a search string
[task 2020-12-02T14:09:23.599Z] 14:09:22     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_retainedResultsOnFocus.js | check urlbar panel is not open - true == true - 
[task 2020-12-02T14:09:28.540Z] 14:09:27     INFO - Check the keyboard shortcut.
[task 2020-12-02T14:09:31.837Z] 14:09:31     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_retainedResultsOnFocus.js | 2 == 2 - 
[task 2020-12-02T14:09:37.685Z] 14:09:36     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_retainedResultsOnFocus.js | 12 == 12 - 
[task 2020-12-02T14:09:41.623Z] 14:09:40     INFO - Focus with the mouse.
[task 2020-12-02T14:09:45.185Z] 14:09:43     INFO - Buffered messages logged at 13:59:16
[task 2020-12-02T14:09:48.606Z] 14:09:47     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_retainedResultsOnFocus.js | 2 == 2 - 
[task 2020-12-02T14:09:52.204Z] 14:09:51     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_retainedResultsOnFocus.js | 12 == 12 - 
[task 2020-12-02T14:09:56.324Z] 14:09:55     INFO - Leaving test bound test_normalWindow
[task 2020-12-02T14:10:01.703Z] 14:10:00     INFO - Entering test bound test_privateWindow
[task 2020-12-02T14:10:07.158Z] 14:10:06     INFO - Buffered messages logged at 13:59:18
[task 2020-12-02T14:10:11.103Z] 14:10:10     INFO - Awaiting for the urlbar panel to open
[task 2020-12-02T14:10:14.152Z] 14:10:12     INFO - Buffered messages logged at 13:59:19
[task 2020-12-02T14:10:18.541Z] 14:10:17     INFO - expected foo 0 3
[task 2020-12-02T14:10:22.307Z] 14:10:21     INFO - The panel should open when there's a search string
[task 2020-12-02T14:10:26.240Z] 14:10:25     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_retainedResultsOnFocus.js | check urlbar panel is not open - true == true - 
[task 2020-12-02T14:10:30.138Z] 14:10:29     INFO - Check the keyboard shortcut.
[task 2020-12-02T14:10:36.522Z] 14:10:34     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_retainedResultsOnFocus.js | 0 == 0 - 
[task 2020-12-02T14:10:41.270Z] 14:10:40     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_retainedResultsOnFocus.js | 3 == 3 - 
[task 2020-12-02T14:10:47.984Z] 14:10:47     INFO - Focus with the mouse.
[task 2020-12-02T14:10:50.632Z] 14:10:49     INFO - Buffered messages logged at 13:59:20
[task 2020-12-02T14:10:54.001Z] 14:10:53     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_retainedResultsOnFocus.js | 0 == 0 - 
[task 2020-12-02T14:10:59.544Z] 14:10:58     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_retainedResultsOnFocus.js | 3 == 3 - 
[task 2020-12-02T14:11:02.621Z] 14:11:01     INFO - Buffered messages logged at 13:59:40
[task 2020-12-02T14:11:07.458Z] 14:11:06     INFO - Console message: [JavaScript Error: "TypeError: can't access property "addEventListener", browser is null" {file: "resource:///actors/ContentSearchParent.jsm" line: 625}]
[task 2020-12-02T14:11:09.446Z] 14:11:07     INFO - receiveMessage@resource:///actors/ContentSearchParent.jsm:625:5
[task 2020-12-02T14:11:11.708Z] 14:11:07     INFO - 
[task 2020-12-02T14:11:15.018Z] 14:11:14     INFO - Awaiting for the urlbar panel to open
[task 2020-12-02T14:11:20.239Z] 14:11:19     INFO - expected foo 0 3
[task 2020-12-02T14:11:24.947Z] 14:11:23     INFO - The panel should open when there's a search string
[task 2020-12-02T14:11:29.577Z] 14:11:28     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_retainedResultsOnFocus.js | check urlbar panel is not open - true == true - 
[task 2020-12-02T14:11:34.488Z] 14:11:33     INFO - Check the keyboard shortcut.
[task 2020-12-02T14:11:38.911Z] 14:11:37     INFO - Buffered messages logged at 13:59:41
[task 2020-12-02T14:11:43.355Z] 14:11:42     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_retainedResultsOnFocus.js | 0 == 0 - 
[task 2020-12-02T14:11:47.996Z] 14:11:46     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_retainedResultsOnFocus.js | 3 == 3 - 
[task 2020-12-02T14:11:52.825Z] 14:11:52     INFO - Focus with the mouse.
[task 2020-12-02T14:11:55.766Z] 14:11:54     INFO - Buffered messages finished
[task 2020-12-02T14:11:59.720Z] 14:11:58    ERROR - TEST-UNEXPECTED-TIMEOUT | browser/components/urlbar/tests/browser/browser_retainedResultsOnFocus.js | application timed out after 370 seconds with no output
[task 2020-12-02T14:12:03.982Z] 14:12:02    ERROR - Force-terminating active process(es).
[task 2020-12-02T14:12:09.695Z] 14:12:08     INFO - Determining child pids from psutil...
[task 2020-12-02T14:12:18.586Z] 14:12:17     INFO - [1635, 1695, 1727, 1809, 1586, 1610, 1784]
[task 2020-12-02T14:12:24.254Z] 14:12:23     INFO - ==> process 1537 launched child process 1552
[task 2020-12-02T14:12:29.352Z] 14:12:28     INFO - ==> process 1537 launched child process 1610
[task 2020-12-02T14:12:32.512Z] 14:12:31     INFO - ==> process 1537 launched child process 1635
[task 2020-12-02T14:12:36.695Z] 14:12:35     INFO - ==> process 1537 launched child process 1695
[task 2020-12-02T14:12:39.255Z] 14:12:36     INFO - ==> process 1537 launched child process 1727
[task 2020-12-02T14:12:43.591Z] 14:12:42     INFO - ==> process 1537 launched child process 1784
[task 2020-12-02T14:12:46.470Z] 14:12:45     INFO - ==> process 1537 launched child process 1809
[task 2020-12-02T14:12:51.128Z] 14:12:50     INFO - Found child pids: set([1635, 1610, 1552, 1809, 1586, 1784, 1695, 1727])
[task 2020-12-02T14:13:07.496Z] 14:13:05     INFO - Failed to get child procs
[task 2020-12-02T14:13:12.233Z] 14:13:10     INFO - Killing process: 1635
[task 2020-12-02T14:13:17.653Z] 14:13:16     INFO - TEST-INFO | started process screentopng
[task 2020-12-02T14:29:56.156Z] 14:29:56     INFO - Automation Error: mozprocess timed out after 1000 seconds running ['/builds/worker/workspace/build/venv/bin/python', '-u', '/builds/worker/workspace/build/tests/mochitest/runtests.py', u'browser/components/urlbar/tests/browser/browser.ini', '--setpref=media.peerconnection.mtransport_process=false', '--setpref=network.process.enabled=false', '--appname=/builds/worker/workspace/build/application/firefox/firefox', '--utility-path=tests/bin', '--extra-profile-file=tests/bin/plugins', u'--symbols-path=https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/bP8jIjPwSwmHRYUAoGjiFA/artifacts/public/build/target.crashreporter-symbols.zip', '--certificate-path=tests/certs', '--setpref=webgl.force-enabled=true', '--quiet', '--log-raw=/builds/worker/workspace/build/blobber_upload_dir/mochitest-browser-chrome_raw.log', '--log-errorsummary=/builds/worker/workspace/build/blobber_upload_dir/mochitest-browser-chrome_errorsummary.log', '--use-test-media-devices', '--screenshot-on-fail', '--cleanup-crashes', '--marionette-startup-timeout=180', '--sandbox-read-whitelist=/builds/worker/workspace/build', '--log-raw=-', '--flavor=browser', '--chunk-by-runtime']
[task 2020-12-02T14:29:56.171Z] 14:29:56    ERROR - timed out after 1000 seconds of no output
[task 2020-12-02T14:29:56.171Z] 14:29:56    ERROR - Return code: -15
[task 2020-12-02T14:29:56.171Z] 14:29:56    ERROR - No suite end message was emitted by this harness.
[task 2020-12-02T14:29:56.171Z] 14:29:56     INFO - TinderboxPrint: mochitest-mochitest-browser-chrome<br/>114/0/0
[task 2020-12-02T14:29:56.171Z] 14:29:56    ERROR - # TBPL FAILURE #
[task 2020-12-02T14:29:56.171Z] 14:29:56  WARNING - setting return code to 2
[task 2020-12-02T14:29:56.171Z] 14:29:56    ERROR - The mochitest suite: mochitest-browser-chrome ran with return status: FAILURE
[task 2020-12-02T14:29:56.171Z] 14:29:56     INFO - Running post-action listener: _package_coverage_data
[task 2020-12-02T14:29:56.171Z] 14:29:56     INFO - Running post-action listener: _resource_record_post_action
[task 2020-12-02T14:29:56.171Z] 14:29:56     INFO - Running post-action listener: process_java_coverage_data
[task 2020-12-02T14:29:56.171Z] 14:29:56     INFO - [mozharness: 2020-12-02 14:29:56.077339Z] Finished run-tests step (success)
[task 2020-12-02T14:29:56.171Z] 14:29:56     INFO - Running post-run listener: _resource_record_post_run
[task 2020-12-02T14:29:56.967Z] 14:29:56     INFO - Validating Perfherder data against /builds/worker/workspace/mozharness/external_tools/performance-artifact-schema.json
[task 2020-12-02T14:29:56.980Z] 14:29:56     INFO - PERFHERDER_DATA: {"framework": {"name": "job_resource_usage"}, "suites": [{"subtests": [{"name": "cpu_percent", "value": 20.402616279069775}, {"name": "io_write_bytes", "value": 2635354112}, {"name": "io.read_bytes", "value": 566216478720}, {"name": "io_write_time", "value": 262236}, {"name": "io_read_time", "value": 69137488}], "extraOptions": ["e10s", "taskcluster-c5.xlarge"], "name": "mochitest.mochitest-browser-chrome.overall"}, {"subtests": [{"name": "time", "value": 0.015186071395874023}], "name": "mochitest.mochitest-browser-chrome.start-pulseaudio"}, {"subtests": [{"name": "time", "value": 30.047455072402954}, {"name": "cpu_percent", "value": 25.17241379310345}], "name": "mochitest.mochitest-browser-chrome.install"}, {"subtests": [{"name": "time", "value": 0.0001709461212158203}], "name": "mochitest.mochitest-browser-chrome.stage-files"}, {"subtests": [{"name": "time", "value": 2401.402140855789}, {"name": "cpu_percent", "value": 20.299007148530585}], "name": "mochitest.mochitest-browser-chrome.run-tests"}]}
[task 2020-12-02T14:29:56.980Z] 14:29:56     INFO - Total resource usage - Wall time: 2431s; CPU: 20.0%; Read bytes: 566216478720; Write bytes: 2635354112; Read time: 69137488; Write time: 262236
[task 2020-12-02T14:29:56.980Z] 14:29:56     INFO - TinderboxPrint: CPU usage<br/>20.3%
[task 2020-12-02T14:29:56.980Z] 14:29:56     INFO - TinderboxPrint: I/O read bytes / time<br/>566,216,478,720 / 69,137,488
[task 2020-12-02T14:29:56.980Z] 14:29:56     INFO - TinderboxPrint: I/O write bytes / time<br/>2,635,354,112 / 262,236
[task 2020-12-02T14:29:56.980Z] 14:29:56     INFO - TinderboxPrint: CPU idle<br/>1,803.6 (18.7%)
[task 2020-12-02T14:29:56.980Z] 14:29:56     INFO - TinderboxPrint: CPU iowait<br/>6,638.9 (68.8%)
[task 2020-12-02T14:29:56.980Z] 14:29:56     INFO - TinderboxPrint: CPU system<br/>289.5 (3.0%)
[task 2020-12-02T14:29:56.980Z] 14:29:56     INFO - TinderboxPrint: CPU user<br/>914.7 (9.5%)
[task 2020-12-02T14:29:56.980Z] 14:29:56     INFO - TinderboxPrint: Swap in / out<br/>0 / 0
[task 2020-12-02T14:29:56.980Z] 14:29:56     INFO - start-pulseaudio - Wall time: 0s; CPU: Can't collect data; Read bytes: 0; Write bytes: 0; Read time: 0; Write time: 0
[task 2020-12-02T14:29:56.980Z] 14:29:56     INFO - install - Wall time: 30s; CPU: 25.0%; Read bytes: 0; Write bytes: 1245188096; Read time: 0; Write time: 107780
[task 2020-12-02T14:29:56.980Z] 14:29:56     INFO - stage-files - Wall time: 0s; CPU: Can't collect data; Read bytes: 0; Write bytes: 0; Read time: 0; Write time: 0
[task 2020-12-02T14:29:56.980Z] 14:29:56     INFO - run-tests - Wall time: 2401s; CPU: 20.0%; Read bytes: 566216183808; Write bytes: 1119256576; Read time: 69135856; Write time: 110568
[task 2020-12-02T14:29:57.258Z] 14:29:57  WARNING - returning nonzero exit status 2
[task 2020-12-02T14:29:57.389Z] cleanup
[task 2020-12-02T14:29:57.390Z] + cleanup
[task 2020-12-02T14:29:57.390Z] + local rv=2
[task 2020-12-02T14:29:57.390Z] + [[ -s /builds/worker/.xsession-errors ]]
[task 2020-12-02T14:29:57.390Z] + cp /builds/worker/.xsession-errors /builds/worker/artifacts/public/xsession-errors.log
[task 2020-12-02T14:29:57.487Z] + '[' ']'
[task 2020-12-02T14:29:57.487Z] + true
[task 2020-12-02T14:29:57.487Z] + cleanup_xvfb
[task 2020-12-02T14:29:57.487Z] ++ pidof Xvfb
[task 2020-12-02T14:29:57.497Z] + local xvfb_pid=50
[task 2020-12-02T14:29:57.498Z] + local vnc=false
[task 2020-12-02T14:29:57.498Z] + local interactive=false
[task 2020-12-02T14:29:57.499Z] + '[' -n 50 ']'
[task 2020-12-02T14:29:57.500Z] + [[ false == false ]]
[task 2020-12-02T14:29:57.501Z] + [[ false == false ]]
[task 2020-12-02T14:29:57.501Z] + kill 50
[task 2020-12-02T14:29:57.502Z] + screen -XS xvfb quit
[task 2020-12-02T14:29:57.744Z] + exit 2
[taskcluster 2020-12-02 14:29:58.829Z] === Task Finished ===
[taskcluster 2020-12-02 14:30:00.526Z] Unsuccessful task run with exit code: 2 completed in 2520.898 seconds```