Bug: Intermittent TEST-UNEXPECTED-TIMEOUT | toolkit/components/thumbnails/test/browser_thumbnails_bg_crash_during_capture.js | application timed out after 370 seconds with no output
Status: RESOLVED
Priority: P5
Resolution: INCOMPLETE
Created: 2020-01-13 22:02:11+00:00
Resolved: 2023-10-11 12:03:21+00:00

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

---

[task 2020-01-13T21:19:56.978Z] 21:19:56     INFO - TEST-START | toolkit/components/thumbnails/test/browser_thumbnails_bg_crash_during_capture.js
[task 2020-01-13T21:19:57.023Z] 21:19:57     INFO - GECKO(5192) | Et tu, Brute?
[task 2020-01-13T21:19:57.203Z] 21:19:57     INFO - GECKO(5192) | [Parent 1612, Gecko_IOThread] WARNING: file z:/task_1578938172/build/src/ipc/chromium/src/base/process_util_win.cc, line 160
[task 2020-01-13T21:26:07.602Z] 21:26:07     INFO - Buffered messages logged at 21:19:56
[task 2020-01-13T21:26:07.602Z] 21:26:07     INFO - Entering test bound thumbnails_bg_crash_during_capture
[task 2020-01-13T21:26:07.603Z] 21:26:07     INFO - Buffered messages logged at 21:19:57
[task 2020-01-13T21:26:07.603Z] 21:26:07     INFO - TEST-PASS | toolkit/components/thumbnails/test/browser_thumbnails_bg_crash_during_capture.js | Thumbnail should be cached after capture - 
[task 2020-01-13T21:26:07.603Z] 21:26:07     INFO - Crashing the thumbnail content process.
[task 2020-01-13T21:26:07.604Z] 21:26:07     INFO - Console message: [JavaScript Error: "BackgroundThumbnails remote process crashed - recovering" {file: "resource://gre/modules/BackgroundPageThumbs.jsm" line: 344}]
[task 2020-01-13T21:26:07.604Z] 21:26:07     INFO - _ensureBrowser/<@resource://gre/modules/BackgroundPageThumbs.jsm:344:10
[task 2020-01-13T21:26:07.604Z] 21:26:07     INFO - EventListener.handleEvent*_ensureBrowser@resource://gre/modules/BackgroundPageThumbs.jsm:338:13
[task 2020-01-13T21:26:07.604Z] 21:26:07     INFO - _processCaptureQueue@resource://gre/modules/BackgroundPageThumbs.jsm:398:10
[task 2020-01-13T21:26:07.604Z] 21:26:07     INFO - _ensureParentWindowReady/this._listener.onStateChange@resource://gre/modules/BackgroundPageThumbs.jsm:243:14
[task 2020-01-13T21:26:07.604Z] 21:26:07     INFO - 
[task 2020-01-13T21:26:07.605Z] 21:26:07     INFO - Console message: [JavaScript Error: "[Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIControllers.removeController]"  nsresult: "0x80004005 (NS_ERROR_FAILURE)"  location: "JS frame :: chrome://global/content/elements/browser-custom-element.js :: destroy :: line 1374"  data: no]"]
[task 2020-01-13T21:26:07.605Z] 21:26:07     INFO - destroy@chrome://global/content/elements/browser-custom-element.js:1374:28
[task 2020-01-13T21:26:07.605Z] 21:26:07     INFO - disconnectedCallback@chrome://global/content/elements/browser-custom-element.js:408:12
[task 2020-01-13T21:26:07.605Z] 21:26:07     INFO - _destroyBrowser@resource://gre/modules/BackgroundPageThumbs.jsm:380:24
[task 2020-01-13T21:26:07.605Z] 21:26:07     INFO - _ensureBrowser/<@resource://gre/modules/BackgroundPageThumbs.jsm:347:12
[task 2020-01-13T21:26:07.606Z] 21:26:07     INFO - EventListener.handleEvent*_ensureBrowser@resource://gre/modules/BackgroundPageThumbs.jsm:338:13
[task 2020-01-13T21:26:07.606Z] 21:26:07     INFO - _processCaptureQueue@resource://gre/modules/BackgroundPageThumbs.jsm:398:10
[task 2020-01-13T21:26:07.606Z] 21:26:07     INFO - _ensureParentWindowReady/this._listener.onStateChange@resource://gre/modules/BackgroundPageThumbs.jsm:243:14
[task 2020-01-13T21:26:07.606Z] 21:26:07     INFO - 
[task 2020-01-13T21:26:07.607Z] 21:26:07     INFO - TEST-PASS | toolkit/components/thumbnails/test/browser_thumbnails_bg_crash_during_capture.js | Got the right kind of error - 
[task 2020-01-13T21:26:07.607Z] 21:26:07     INFO - TEST-PASS | toolkit/components/thumbnails/test/browser_thumbnails_bg_crash_during_capture.js | Thumbnail should not have been saved due to the crash - 
[task 2020-01-13T21:26:07.607Z] 21:26:07     INFO - TEST-PASS | toolkit/components/thumbnails/test/browser_thumbnails_bg_crash_during_capture.js | waitUrl capture should have finished first - 
[task 2020-01-13T21:26:07.607Z] 21:26:07     INFO - TEST-PASS | toolkit/components/thumbnails/test/browser_thumbnails_bg_crash_during_capture.js | We should have recovered and completed the 2nd capture after the crash - 
[task 2020-01-13T21:26:07.608Z] 21:26:07     INFO - Buffered messages finished
[task 2020-01-13T21:26:07.608Z] 21:26:07    ERROR - TEST-UNEXPECTED-TIMEOUT | toolkit/components/thumbnails/test/browser_thumbnails_bg_crash_during_capture.js | application timed out after 370 seconds with no output
[task 2020-01-13T21:26:07.608Z] 21:26:07    ERROR - Force-terminating active process(es).
[task 2020-01-13T21:26:07.608Z] 21:26:07     INFO - Determining child pids from psutil...
[task 2020-01-13T21:26:07.609Z] 21:26:07     INFO - [1612]
[task 2020-01-13T21:26:07.609Z] 21:26:07     INFO - ==> process 1612 launched child process 3604 ("Z:\task_1578947450\build\application\firefox\firefox.exe" -contentproc --channel="1612.0.376220594\394695470" -childID 1 -isForBrowser -prefsHandle 2160 -prefMapHandle 2152 -prefsLen 1 -prefMapSize 226723 -parentBuildID 20200113183311 -greomni "Z:\task_1578947450\build\application\firefox\omni.ja" -appomni "Z:\task_1578947450\build\application\firefox\browser\omni.ja" -appdir "Z:\task_1578947450\build\application\firefox\browser" - 1612 "\\.\pipe\gecko-crash-server-pipe.1612" 2204 tab)
[task 2020-01-13T21:26:07.609Z] 21:26:07     INFO - ==> process 1612 launched child process 2288 ("Z:\task_1578947450\build\application\firefox\firefox.exe" -contentproc --channel="1612.6.724760346\211782895" -childID 2 -isForBrowser -prefsHandle 2408 -prefMapHandle 2404 -prefsLen 463 -prefMapSize 226723 -parentBuildID 20200113183311 -greomni "Z:\task_1578947450\build\application\firefox\omni.ja" -appomni "Z:\task_1578947450\build\application\firefox\browser\omni.ja" -appdir "Z:\task_1578947450\build\application\firefox\browser" - 1612 "\\.\pipe\gecko-crash-server-pipe.1612" 2420 tab)
[task 2020-01-13T21:26:07.610Z] 21:26:07     INFO - ==> process 1612 launched child process 5784 ("Z:\task_1578947450\build\application\firefox\firefox.exe" -contentproc --channel="1612.12.1940825254\1440301477" -childID 3 -isForBrowser -prefsHandle 2584 -prefMapHandle 2580 -prefsLen 524 -prefMapSize 226723 -parentBuildID 20200113183311 -greomni "Z:\task_1578947450\build\application\firefox\omni.ja" -appomni "Z:\task_1578947450\build\application\firefox\browser\omni.ja" -appdir "Z:\task_1578947450\build\application\firefox\browser" - 1612 "\\.\pipe\gecko-crash-server-pipe.1612" 2596 tab)
[task 2020-01-13T21:26:07.610Z] 21:26:07     INFO - ==> process 1612 launched child process 5080 ("Z:\task_1578947450\build\application\firefox\firefox.exe" -contentproc --channel="1612.18.1873498131\1989541878" -childID 4 -isForBrowser -prefsHandle 3400 -prefMapHandle 3380 -prefsLen 9910 -prefMapSize 226723 -parentBuildID 20200113183311 -greomni "Z:\task_1578947450\build\application\firefox\omni.ja" -appomni "Z:\task_1578947450\build\application\firefox\browser\omni.ja" -appdir "Z:\task_1578947450\build\application\firefox\browser" - 1612 "\\.\pipe\gecko-crash-server-pipe.1612" 3504 tab)
[task 2020-01-13T21:26:07.610Z] 21:26:07     INFO - ==> process 1612 launched child process 6016 ("Z:\task_1578947450\build\application\firefox\firefox.exe" -contentproc --channel="1612.24.738475376\2067605407" -childID 5 -isForBrowser -prefsHandle 2776 -prefMapHandle 3688 -prefsLen 9910 -prefMapSize 226723 -parentBuildID 20200113183311 -greomni "Z:\task_1578947450\build\application\firefox\omni.ja" -appomni "Z:\task_1578947450\build\application\firefox\browser\omni.ja" -appdir "Z:\task_1578947450\build\application\firefox\browser" - 1612 "\\.\pipe\gecko-crash-server-pipe.1612" 3700 tab)
[task 2020-01-13T21:26:07.611Z] 21:26:07     INFO - ==> process 1612 launched child process 1696 ("Z:\task_1578947450\build\application\firefox\firefox.exe" -contentproc --channel="1612.30.1400483995\1478231278" -childID 6 -isForBrowser -prefsHandle 3380 -prefMapHandle 3484 -prefsLen 9910 -prefMapSize 226723 -parentBuildID 20200113183311 -greomni "Z:\task_1578947450\build\application\firefox\omni.ja" -appomni "Z:\task_1578947450\build\application\firefox\browser\omni.ja" -appdir "Z:\task_1578947450\build\application\firefox\browser" - 1612 "\\.\pipe\gecko-crash-server-pipe.1612" 1648 tab)
[task 2020-01-13T21:26:07.611Z] 21:26:07     INFO - ==> process 1612 launched child process 3628 ("Z:\task_1578947450\build\application\firefox\firefox.exe" -contentproc --channel="1612.36.1018939424\830584184" -childID 7 -isForBrowser -prefsHandle 4072 -prefMapHandle 4068 -prefsLen 9910 -prefMapSize 226723 -parentBuildID 20200113183311 -greomni "Z:\task_1578947450\build\application\firefox\omni.ja" -appomni "Z:\task_1578947450\build\application\firefox\browser\omni.ja" -appdir "Z:\task_1578947450\build\application\firefox\browser" - 1612 "\\.\pipe\gecko-crash-server-pipe.1612" 4084 tab)
[task 2020-01-13T21:26:07.612Z] 21:26:07     INFO - ==> process 1612 launched child process 5136 ("Z:\task_1578947450\build\application\firefox\firefox.exe" -contentproc --channel="1612.42.2109634358\1085335119" -childID 8 -isForBrowser -prefsHandle 4232 -prefMapHandle 4240 -prefsLen 9910 -prefMapSize 226723 -parentBuildID 20200113183311 -greomni "Z:\task_1578947450\build\application\firefox\omni.ja" -appomni "Z:\task_1578947450\build\application\firefox\browser\omni.ja" -appdir "Z:\task_1578947450\build\application\firefox\browser" - 1612 "\\.\pipe\gecko-crash-server-pipe.1612" 4256 tab)
[task 2020-01-13T21:26:07.612Z] 21:26:07     INFO - ==> process 1612 launched child process 5024 ("Z:\task_1578947450\build\application\firefox\firefox.exe" -contentproc --channel="1612.48.1395803328\147967667" -childID 9 -isForBrowser -prefsHandle 3652 -prefMapHandle 3664 -prefsLen 9910 -prefMapSize 226723 -parentBuildID 20200113183311 -greomni "Z:\task_1578947450\build\application\firefox\omni.ja" -appomni "Z:\task_1578947450\build\application\firefox\browser\omni.ja" -appdir "Z:\task_1578947450\build\application\firefox\browser" - 1612 "\\.\pipe\gecko-crash-server-pipe.1612" 3588 tab)
[task 2020-01-13T21:26:07.612Z] 21:26:07     INFO - Found child pids: set([6016, 1696, 5024, 5136, 3628, 1612, 2288, 5080, 3604, 5784])
[task 2020-01-13T21:26:07.612Z] 21:26:07     INFO - Failed to get child procs
[task 2020-01-13T21:26:07.613Z] 21:26:07     INFO - Killing process: 6016
[task 2020-01-13T21:26:07.613Z] 21:26:07     INFO - TEST-INFO | started process screenshot
[task 2020-01-13T21:26:07.674Z] 21:26:07     INFO - TEST-INFO | screenshot: exit 0