Bug: Intermittent TEST-UNEXPECTED-TIMEOUT | browser/components/newtab/test/browser/browser_as_render.js | application timed out after 370 seconds with no output
Status: RESOLVED
Priority: P5
Resolution: INCOMPLETE
Created: 2020-12-03 08:12:57+00:00
Resolved: 2023-10-18 12:00:43+00:00

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

---
```
"TEST-START | browser/components/newtab/test/browser/browser_as_render.js
[task 2020-12-03T07:13:18.608Z] 07:13:18     INFO - Buffered messages logged at 07:07:04
[task 2020-12-03T07:13:18.608Z] 07:13:18     INFO - Entering test bound test_render_search
[task 2020-12-03T07:13:18.608Z] 07:13:18     INFO - Buffered messages logged at 07:07:05
[task 2020-12-03T07:13:18.609Z] 07:13:18     INFO - Console message: [JavaScript Error: "TypeError: can't access property "addEventListener", browser is null" {file: "resource:///actors/ContentSearchParent.jsm" line: 625}]
[task 2020-12-03T07:13:18.609Z] 07:13:18     INFO - receiveMessage@resource:///actors/ContentSearchParent.jsm:625:5
[task 2020-12-03T07:13:18.609Z] 07:13:18     INFO - 
[task 2020-12-03T07:13:18.609Z] 07:13:18     INFO - Buffered messages logged at 07:07:08
[task 2020-12-03T07:13:18.610Z] 07:13:18     INFO - TEST-PASS | browser/components/newtab/test/browser/browser_as_render.js | Got the search box - {} == true - 
[task 2020-12-03T07:13:18.610Z] 07:13:18     INFO - TEST-PASS | browser/components/newtab/test/browser/browser_as_render.js | Search box is localized - "" != "search_web_placeholder" - 
[task 2020-12-03T07:13:18.610Z] 07:13:18     INFO - Leaving test bound test_render_search
[task 2020-12-03T07:13:18.611Z] 07:13:18     INFO - Entering test bound test_render_search_handoff
[task 2020-12-03T07:13:18.611Z] 07:13:18     INFO - Buffered messages finished
[task 2020-12-03T07:13:18.613Z] 07:13:18    ERROR - TEST-UNEXPECTED-TIMEOUT | browser/components/newtab/test/browser/browser_as_render.js | application timed out after 370 seconds with no output
[task 2020-12-03T07:13:18.614Z] 07:13:18    ERROR - Force-terminating active process(es).
[task 2020-12-03T07:13:18.615Z] 07:13:18     INFO - Determining child pids from psutil...
[task 2020-12-03T07:13:18.618Z] 07:13:18     INFO - [2562, 2500, 2443, 2418, 2529, 2387]
[task 2020-12-03T07:13:18.620Z] 07:13:18     INFO - ==> process 2346 launched child process 2361
[task 2020-12-03T07:13:18.622Z] 07:13:18     INFO - ==> process 2346 launched child process 2418
[task 2020-12-03T07:13:18.623Z] 07:13:18     INFO - ==> process 2346 launched child process 2443
[task 2020-12-03T07:13:18.625Z] 07:13:18     INFO - ==> process 2346 launched child process 2500
[task 2020-12-03T07:13:18.625Z] 07:13:18     INFO - ==> process 2346 launched child process 2529
[task 2020-12-03T07:13:18.626Z] 07:13:18     INFO - ==> process 2346 launched child process 2562
[task 2020-12-03T07:13:18.626Z] 07:13:18     INFO - Found child pids: set([2529, 2562, 2500, 2443, 2418, 2387, 2361])
[task 2020-12-03T07:13:18.627Z] 07:13:18     INFO - Failed to get child procs
[task 2020-12-03T07:13:18.627Z] 07:13:18     INFO - Killing process: 2529
[task 2020-12-03T07:13:18.628Z] 07:13:18     INFO - TEST-INFO | started process screentopng
[task 2020-12-03T07:13:18.874Z] 07:13:18     INFO - TEST-INFO | screentopng: exit 0
[task 2020-12-03T07:13:18.874Z] 07:13:18     INFO - Can't trigger Breakpad, just killing process
[task 2020-12-03T07:13:48.905Z] 07:13:48     INFO - failed to kill pid 2529 after 30s
[task 2020-12-03T07:13:48.906Z] 07:13:48     INFO - Killing process: 2562
[task 2020-12-03T07:13:48.906Z] 07:13:48     INFO - Not taking screenshot here: see the one that was previously logged
[task 2020-12-03T07:13:48.906Z] 07:13:48     INFO - Can't trigger Breakpad, just killing process
[task 2020-12-03T07:14:18.941Z] 07:14:18     INFO - failed to kill pid 2562 after 30s
[task 2020-12-03T07:14:18.941Z] 07:14:18     INFO - Killing process: 2500
[task 2020-12-03T07:14:18.941Z] 07:14:18     INFO - Not taking screenshot here: see the one that was previously logged
[task 2020-12-03T07:14:18.941Z] 07:14:18     INFO - Can't trigger Breakpad, just killing process
[task 2020-12-03T07:14:48.977Z] 07:14:48     INFO - failed to kill pid 2500 after 30s
[task 2020-12-03T07:14:48.978Z] 07:14:48     INFO - Killing process: 2443
[task 2020-12-03T07:14:48.978Z] 07:14:48     INFO - Not taking screenshot here: see the one that was previously logged
[task 2020-12-03T07:14:48.978Z] 07:14:48     INFO - Can't trigger Breakpad, just killing process
[task 2020-12-03T07:15:19.011Z] 07:15:19     INFO - failed to kill pid 2443 after 30s
[task 2020-12-03T07:15:19.012Z] 07:15:19     INFO - Killing process: 2418
[task 2020-12-03T07:15:19.014Z] 07:15:19     INFO - Not taking screenshot here: see the one that was previously logged
[task 2020-12-03T07:15:19.015Z] 07:15:19     INFO - Can't trigger Breakpad, just killing process
[task 2020-12-03T07:15:49.046Z] 07:15:49     INFO - failed to kill pid 2418 after 30s
[task 2020-12-03T07:15:49.047Z] 07:15:49     INFO - Killing process: 2387
[task 2020-12-03T07:15:49.050Z] 07:15:49     INFO - Not taking screenshot here: see the one that was previously logged
[task 2020-12-03T07:15:49.052Z] 07:15:49     INFO - Can't trigger Breakpad, just killing process
[task 2020-12-03T07:16:19.095Z] 07:16:19     INFO - failed to kill pid 2387 after 30s
[task 2020-12-03T07:16:19.095Z] 07:16:19     INFO - Killing process: 2361
[task 2020-12-03T07:16:19.095Z] 07:16:19     INFO - Not taking screenshot here: see the one that was previously logged
[task 2020-12-03T07:16:19.095Z] 07:16:19     INFO - Can't trigger Breakpad, just killing process
[task 2020-12-03T07:16:19.095Z] 07:16:19     INFO - Error: Failed to kill process 2361: psutil.NoSuchProcess no process found with pid 2361
[task 2020-12-03T07:16:19.095Z] 07:16:19     INFO - Killing process: 2346
[task 2020-12-03T07:16:19.095Z] 07:16:19     INFO - Not taking screenshot here: see the one that was previously logged
[task 2020-12-03T07:16:19.095Z] 07:16:19     INFO - Can't trigger Breakpad, just killing process
[task 2020-12-03T07:16:49.132Z] 07:16:49     INFO - psutil found pid 2346 dead
[task 2020-12-03T07:16:49.132Z] 07:16:49     INFO - failed to kill pid 2646 after 30s
[task 2020-12-03T07:16:49.133Z] 07:16:49     INFO - failed to kill pid 2623 after 30s
[task 2020-12-03T07:16:49.133Z] 07:16:49     INFO - failed to kill pid 2607 after 30s
[task 2020-12-03T07:16:49.133Z] 07:16:49     INFO - failed to kill pid 2689 after 30s
[task 2020-12-03T07:16:49.133Z] 07:16:49     INFO - failed to kill pid 2387 after 30s
[task 2020-12-03T07:16:49.133Z] 07:16:49     INFO - psutil found pid 2346 dead
[task 2020-12-03T07:16:49.135Z] 07:16:49  WARNING - runtests.py | Failed to get app exit code - running/crashed?
[task 2020-12-03T07:16:49.136Z] 07:16:49     INFO - TEST-INFO | Main app process: exit 0
[task 2020-12-03T07:16:49.137Z] 07:16:49     INFO - runtests.py | Application ran for: 0:10:52.450392
[task 2020-12-03T07:16:49.137Z] 07:16:49     INFO - zombiecheck | Reading PID log: /tmp/tmpSi6o3upidlog
[task 2020-12-03T07:16:49.138Z] 07:16:49     INFO - ==> process 2346 launched child process 2361
[task 2020-12-03T07:16:49.138Z] 07:16:49     INFO - ==> process 2346 launched child process 2418
[task 2020-12-03T07:16:49.139Z] 07:16:49     INFO - ==> process 2346 launched child process 2443
[task 2020-12-03T07:16:49.139Z] 07:16:49     INFO - ==> process 2346 launched child process 2500
[task 2020-12-03T07:16:49.139Z] 07:16:49     INFO - ==> process 2346 launched child process 2529
[task 2020-12-03T07:16:49.140Z] 07:16:49     INFO - ==> process 2346 launched child process 2562
[task 2020-12-03T07:16:49.141Z] 07:16:49     INFO - ==> process 2346 launched child process 2607
[task 2020-12-03T07:16:49.141Z] 07:16:49     INFO - ==> process 2346 launched child process 2623
[task 2020-12-03T07:16:49.142Z] 07:16:49     INFO - ==> process 2346 launched child process 2646
[task 2020-12-03T07:16:49.143Z] 07:16:49     INFO - ==> process 2346 launched child process 2689
[task 2020-12-03T07:16:49.143Z] 07:16:49     INFO - zombiecheck | Checking for orphan process with PID: 2529
[task 2020-12-03T07:16:49.144Z] 07:16:49     INFO - zombiecheck | Checking for orphan process with PID: 2562
[task 2020-12-03T07:16:49.144Z] 07:16:49     INFO - zombiecheck | Checking for orphan process with PID: 2500
[task 2020-12-03T07:16:49.144Z] 07:16:49     INFO - zombiecheck | Checking for orphan process with PID: 2689
[task 2020-12-03T07:16:49.144Z] 07:16:49     INFO - zombiecheck | Checking for orphan process with PID: 2443
[task 2020-12-03T07:16:49.145Z] 07:16:49     INFO - zombiecheck | Checking for orphan process with PID: 2607
[task 2020-12-03T07:16:49.145Z] 07:16:49     INFO - zombiecheck | Checking for orphan process with PID: 2418
[task 2020-12-03T07:16:49.145Z] 07:16:49     INFO - zombiecheck | Checking for orphan process with PID: 2646
[task 2020-12-03T07:16:49.145Z] 07:16:49     INFO - zombiecheck | Checking for orphan process with PID: 2361
[task 2020-12-03T07:16:49.145Z] 07:16:49     INFO - zombiecheck | Checking for orphan process with PID: 2623
[task 2020-12-03T07:16:49.145Z] 07:16:49     INFO - Stopping web server
[task 2020-12-03T07:16:49.160Z] 07:16:49     INFO - Stopping web socket server
[task 2020-12-03T07:16:49.176Z] 07:16:49     INFO - Stopping ssltunnel
[task 2020-12-03T07:16:49.196Z] 07:16:49  WARNING - leakcheck | refcount logging is off, so leaks can't be detected!
[task 2020-12-03T07:16:49.197Z] 07:16:49     INFO - runtests.py | Running tests: end.
[task 2020-12-03T07:16:49.217Z] 07:16:49     INFO - Buffered messages finished
[task 2020-12-03T07:16:49.217Z] 07:16:49     INFO - Running manifest: dom/events/test/browser.ini
[task 2020-12-03T07:16:49.245Z] 07:16:49     INFO -  Setting pipeline to PAUSED ...
[task 2020-12-03T07:16:49.245Z] 07:16:49     INFO -  Pipeline is PREROLLING ...
[task 2020-12-03T07:16:49.245Z] 07:16:49     INFO -  Pipeline is PREROLLED ...
[task 2020-12-03T07:16:49.245Z] 07:16:49     INFO -  Setting pipeline to PLAYING ...
[task 2020-12-03T07:16:49.245Z] 07:16:49     INFO -  New clock: GstSystemClock
[task 2020-12-03T07:16:49.281Z] 07:16:49     INFO -  Got EOS from element "pipeline0".
[task 2020-12-03T07:16:49.281Z] 07:16:49     INFO -  Execution ended after 0:00:00.033468686
[task 2020-12-03T07:16:49.281Z] 07:16:49     INFO -  Setting pipeline to PAUSED ...
[task 2020-12-03T07:16:49.282Z] 07:16:49     INFO -  Setting pipeline to READY ...
[task 2020-12-03T07:16:49.282Z] 07:16:49     INFO -  (gst-launch-1.0:2720): GStreamer-CRITICAL **: 07:16:49.278: gst_object_unref: assertion '((GObject *) object)->ref_count > 0' failed
[task 2020-12-03T07:16:49.282Z] 07:16:49     INFO -  Setting pipeline to NULL ...
[task 2020-12-03T07:16:49.282Z] 07:16:49     INFO -  Freeing pipeline ...
[task 2020-12-03T07:16:49.310Z] 07:16:49     INFO - INFO | runtests.py | TSan using symbolizer at /builds/worker/workspace/build/application/firefox/llvm-symbolizer
[task 2020-12-03T07:16:49.632Z] 07:16:49     INFO - PID 2727 | pk12util: PKCS12 IMPORT SUCCESSFUL
[task 2020-12-03T07:16:50.071Z] 07:16:50     INFO - Increasing default timeout to 120 seconds
[task 2020-12-03T07:16:50.071Z] 07:16:50     INFO - INFO | runtests.py | TSan using symbolizer at /builds/worker/workspace/build/application/firefox/llvm-symbolizer
[task 2020-12-03T07:16:50.071Z] 07:16:50     INFO - INFO | runtests.py | TSan using symbolizer at /builds/worker/workspace/build/application/firefox/llvm-symbolizer
[task 2020-12-03T07:16:50.071Z] 07:16:50     INFO - MochitestServer : launching [u'/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/tmpMkZ_s_.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 2020-12-03T07:16:50.071Z] 07:16:50     INFO - runtests.py | Server pid: 2739
[task 2020-12-03T07:16:50.079Z] 07:16:50     INFO - runtests.py | Websocket server pid: 2742
[task 2020-12-03T07:16:50.079Z] 07:16:50     INFO - INFO | runtests.py | TSan using symbolizer at /builds/worker/workspace/build/application/firefox/llvm-symbolizer
[task 2020-12-03T07:16:50.087Z] 07:16:50     INFO - runtests.py | SSL tunnel pid: 2745
[task 2020-12-03T07:16:50.739Z] 07:16:50     INFO - runtests.py | Running with scheme: http
[task 2020-12-03T07:16:50.740Z] 07:16:50     INFO - runtests.py | Running with e10s: True
[task 2020-12-03T07:16:50.740Z] 07:16:50     INFO - runtests.py | Running with fission: False
[task 2020-12-03T07:16:50.740Z] 07:16:50     INFO - runtests.py | Running with cross-origin iframes: False
[task 2020-12-03T07:16:50.740Z] 07:16:50     INFO - runtests.py | Running with serviceworker_e10s: True
[task 2020-12-03T07:16:50.741Z] 07:16:50     INFO - runtests.py | Running with socketprocess_e10s: False
[task 2020-12-03T07:16:50.741Z] 07:16:50     INFO - runtests.py | Running tests: start.
[task 2020-12-03T07:16:50.741Z] 07:16:50     INFO - 
[task 2020-12-03T07:16:50.761Z] 07:16:50     INFO - Application command: /builds/worker/workspace/build/application/firefox/firefox -marionette -foreground -profile /tmp/tmpMkZ_s_.mozrunner
[task 2020-12-03T07:16:50.767Z] 07:16:50     INFO - runtests.py | Application pid: 2764
[task 2020-12-03T07:16:50.767Z] 07:16:50     INFO - TEST-INFO | started process GECKO(2764)
[task 2020-12-03T07:16:54.403Z] 07:16:54     INFO - GECKO(2764) | error: address range table at offset 0x5b90 has an invalid tuple (length = 0) at offset 0x5bb0
[task 2020-12-03T07:16:56.177Z] 07:16:56     INFO - GECKO(2764) | 1606979816173	Marionette	TRACE	Marionette enabled
[task 2020-12-03T07:16:57.105Z] 07:16:57     INFO - GECKO(2764) | 1606979817101	Marionette	TRACE	Received observer notification toplevel-window-ready
[task 2020-12-03T07:17:05.118Z] 07:17:05     INFO - GECKO(2764) | console.warn: SearchSettings: "get: No settings file exists, new profile?" (new Error("", "(unknown module)"))
[task 2020-12-03T07:17:12.262Z] 07:17:12     INFO - GECKO(2764) | 1606979832254	Marionette	TRACE	Received observer notification marionette-startup-requested
[task 2020-12-03T07:17:12.263Z] 07:17:12     INFO - GECKO(2764) | 1606979832256	Marionette	TRACE	Waiting until startup recorder finished recording startup scripts...
[task 2020-12-03T07:17:12.330Z] 07:17:12     INFO - GECKO(2764) | 1606979832327	Marionette	TRACE	All scripts recorded.
[task 2020-12-03T07:17:12.346Z] 07:17:12     INFO - GECKO(2764) | 1606979832342	Marionette	INFO	Listening on port 2828
[task 2020-12-03T07:17:12.346Z] 07:17:12     INFO - GECKO(2764) | 1606979832344	Marionette	DEBUG	Marionette is listening
[task 2020-12-03T07:17:12.724Z] 07:17:12     INFO - GECKO(2764) | 1606979832714	Marionette	DEBUG	Accepted connection 0 from 127.0.0.1:36746
[task 2020-12-03T07:17:12.765Z] 07:17:12     INFO - GECKO(2764) | 1606979832759	Marionette	DEBUG	Closed connection 0
[task 2020-12-03T07:17:12.765Z] 07:17:12     INFO - GECKO(2764) | 1606979832763	Marionette	DEBUG	Accepted connection 1 from 127.0.0.1:36748
[task 2020-12-03T07:17:12.840Z] 07:17:12     INFO - GECKO(2764) | 1606979832837	Marionette	DEBUG	1 -> [0,1,"WebDriver:NewSession",{"strictFileInteractability":true}]
[task 2020-12-03T07:17:12.937Z] 07:17:12     INFO - GECKO(2764) | 1606979832930	Marionette	TRACE	[17] Frame script loaded
[task 2020-12-03T07:17:13.181Z] 07:17:13     INFO - GECKO(2764) | 1606979833176	Marionette	DEBUG	1 <- [1,1,null,{"sessionId":"c0a4162c-c66e-4222-9148-0afb55d92cde","capabilities":{"browserName":"firefox","browserVersion":"85.0a ... p/tmpMkZ_s_.mozrunner","moz:shutdownTimeout":360000,"moz:useNonSpecCompliantPointerOrigin":false,"moz:webdriverClick":true}}]
[task 2020-12-03T07:17:13.265Z] 07:17:13     INFO - GECKO(2764) | 1606979833256	Marionette	TRACE	[36] Frame script loaded
[task 2020-12-03T07:17:13.301Z] 07:17:13     INFO - GECKO(2764) | 1606979833299	Marionette	DEBUG	1 -> [0,2,"Addon:Install",{"path":"/tmp/tmpBBx5Kq.zip","temporary":false}]
[task 2020-12-03T07:17:14.249Z] 07:17:14     INFO - GECKO(2764) | 1606979834248	Marionette	DEBUG	1 <- [1,2,null,{"value":"special-powers@mozilla.org"}]
[task 2020-12-03T07:17:14.289Z] 07:17:14     INFO - GECKO(2764) | 1606979834284	Marionette	DEBUG	1 -> [0,3,"Addon:Install",{"path":"/tmp/tmpo8IWB6.zip","temporary":false}]
[task 2020-12-03T07:17:14.547Z] 07:17:14     INFO - GECKO(2764) | 1606979834544	Marionette	DEBUG	1 <- [1,3,null,{"value":"mochikit@mozilla.org"}]
[task 2020-12-03T07:17:14.560Z] 07:17:14     INFO - GECKO(2764) | 1606979834554	Marionette	DEBUG	1 -> [0,4,"Marionette:GetContext",{}]
[task 2020-12-03T07:17:14.565Z] 07:17:14     INFO - GECKO(2764) | 1606979834558	Marionette	DEBUG	1 <- [1,4,null,{"value":"content"}]
[task 2020-12-03T07:17:14.578Z] 07:17:14     INFO - GECKO(2764) | 1606979834570	Marionette	DEBUG	1 -> [0,5,"Marionette:SetContext",{"value":"chrome"}]
[task 2020-12-03T07:17:14.582Z] 07:17:14     INFO - GECKO(2764) | 1606979834573	Marionette	DEBUG	1 <- [1,5,null,{"value":null}]
[task 2020-12-03T07:17:14.594Z] 07:17:14     INFO - GECKO(2764) | 1606979834588	Marionette	DEBUG	1 -> [0,6,"WebDriver:ExecuteScript",{"script":"/* This Source Code Form is subject to the terms of the Mozilla Public\n * License, ... testUrl":"about:blank","flavor":"browser-chrome"}],"filename":"tests/mochitest/runtests.py","sandbox":"default","line":1952}]
[task 2020-12-03T07:17:14.642Z] 07:17:14     INFO - GECKO(2764) | 1606979834635	Marionette	TRACE	[6] MarionetteCommands actor created for window id 2
[task 2020-12-03T07:17:14.925Z] 07:17:14     INFO - GECKO(2764) | 1606979834922	Marionette	TRACE	Received observer notification toplevel-window-ready
[task 2020-12-03T07:17:14.926Z] 07:17:14     INFO - GECKO(2764) | 1606979834922	Marionette	TRACE	Received observer notification toplevel-window-ready
[task 2020-12-03T07:17:14.947Z] 07:17:14     INFO - GECKO(2764) | 1606979834938	Marionette	DEBUG	1 <- [1,6,null,{"value":null}]
[task 2020-12-03T07:17:14.982Z] 07:17:14     INFO - GECKO(2764) | 1606979834973	Marionette	DEBUG	1 -> [0,7,"Marionette:SetContext",{"value":"content"}]
[task 2020-12-03T07:17:14.983Z] 07:17:14     INFO - GECKO(2764) | 1606979834976	Marionette	DEBUG	1 <- [1,7,null,{"value":null}]
[task 2020-12-03T07:17:15.190Z] 07:17:15     INFO - GECKO(2764) | 1606979835183	Marionette	DEBUG	1 -> [0,8,"WebDriver:DeleteSession",{}]
[task 2020-12-03T07:17:15.206Z] 07:17:15     INFO - GECKO(2764) | 1606979835196	Marionette	DEBUG	1 <- [1,8,null,{"value":null}]
[task 2020-12-03T07:17:15.288Z] 07:17:15     INFO - runtests.py | Waiting for browser...
[task 2020-12-03T07:17:15.316Z] 07:17:15     INFO - GECKO(2764) | 1606979835311	Marionette	DEBUG	Closed connection 1
[task 2020-12-03T07:17:16.123Z] 07:17:16     INFO - *** Start BrowserChrome Test Results ***
[task 2020-12-03T07:17:16.340Z] 07:17:16     INFO - checking window state
[task 2020-12-03T07:17:16.518Z] 07:17:16     INFO - TEST-START | dom/events/test/browser_alt_keyup_in_content.js"```