Closed Bug 1600185 Opened 5 years ago Closed 4 years ago

ubuntu1804 - devtools/client/shared/test/browser_inplace-editor_autocomplete_01.js | Test timed out -

Categories

(DevTools :: General, defect, P5)

defect

Tracking

(firefox73 fixed)

RESOLVED FIXED
Firefox 73
Tracking Status
firefox73 --- fixed

People

(Reporter: intermittent-bug-filer, Assigned: jdescottes)

References

Details

Attachments

(1 file)

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


suite: mochitest-devtools-chrome
chunk: 4

context:
[task 2019-11-28T21:26:47.535Z] 21:26:47 INFO - TEST-START | devtools/client/shared/test/browser_inplace-editor_autocomplete_01.js
[task 2019-11-28T21:27:32.562Z] 21:27:32 INFO - TEST-INFO | started process screentopng
[task 2019-11-28T21:27:32.813Z] 21:27:32 INFO - TEST-INFO | screentopng: exit 0
[task 2019-11-28T21:27:32.814Z] 21:27:32 INFO - Buffered messages logged at 21:26:47
[task 2019-11-28T21:27:32.815Z] 21:27:32 INFO - Entering test bound
[task 2019-11-28T21:27:32.815Z] 21:27:32 INFO - Adding a new tab with URL: data:text/html;charset=utf-8,inplace editor CSS property autocomplete
[task 2019-11-28T21:27:32.815Z] 21:27:32 INFO - Tab added and finished loading
[task 2019-11-28T21:27:32.815Z] 21:27:32 INFO - Creating a new span element
[task 2019-11-28T21:27:32.816Z] 21:27:32 INFO - Creating an inplace-editor field
[task 2019-11-28T21:27:32.816Z] 21:27:32 INFO - Clicking on the inplace-editor field to turn to edit mode
[task 2019-11-28T21:27:32.816Z] 21:27:32 INFO - Starting to test for css property completion
[task 2019-11-28T21:27:32.816Z] 21:27:32 INFO - Pressing key b
[task 2019-11-28T21:27:32.816Z] 21:27:32 INFO - Expecting border
[task 2019-11-28T21:27:32.817Z] 21:27:32 INFO - Waiting for after-suggest event on the editor
[task 2019-11-28T21:27:32.818Z] 21:27:32 INFO - Synthesizing key b
[task 2019-11-28T21:27:32.818Z] 21:27:32 INFO - Checking the state
[task 2019-11-28T21:27:32.819Z] 21:27:32 INFO - TEST-PASS | devtools/client/shared/test/browser_inplace-editor_autocomplete_01.js | Correct value is autocompleted -
[task 2019-11-28T21:27:32.819Z] 21:27:32 INFO - TEST-PASS | devtools/client/shared/test/browser_inplace-editor_autocomplete_01.js | Popup is open -
[task 2019-11-28T21:27:32.820Z] 21:27:32 INFO - TEST-PASS | devtools/client/shared/test/browser_inplace-editor_autocomplete_01.js | Number of suggestions match -
[task 2019-11-28T21:27:32.820Z] 21:27:32 INFO - TEST-PASS | devtools/client/shared/test/browser_inplace-editor_autocomplete_01.js | Expected item is selected -
[task 2019-11-28T21:27:32.821Z] 21:27:32 INFO - Pressing key VK_DOWN
[task 2019-11-28T21:27:32.822Z] 21:27:32 INFO - Expecting box-sizing
[task 2019-11-28T21:27:32.822Z] 21:27:32 INFO - Waiting for after-suggest event on the editor
[task 2019-11-28T21:27:32.823Z] 21:27:32 INFO - Synthesizing key VK_DOWN
[task 2019-11-28T21:27:32.823Z] 21:27:32 INFO - Checking the state
[task 2019-11-28T21:27:32.824Z] 21:27:32 INFO - TEST-PASS | devtools/client/shared/test/browser_inplace-editor_autocomplete_01.js | Correct value is autocompleted -
[task 2019-11-28T21:27:32.827Z] 21:27:32 INFO - TEST-PASS | devtools/client/shared/test/browser_inplace-editor_autocomplete_01.js | Popup is open -
[task 2019-11-28T21:27:32.828Z] 21:27:32 INFO - TEST-PASS | devtools/client/shared/test/browser_inplace-editor_autocomplete_01.js | Number of suggestions match -
[task 2019-11-28T21:27:32.828Z] 21:27:32 INFO - TEST-PASS | devtools/client/shared/test/browser_inplace-editor_autocomplete_01.js | Expected item is selected -
[task 2019-11-28T21:27:32.828Z] 21:27:32 INFO - Pressing key VK_DOWN
[task 2019-11-28T21:27:32.829Z] 21:27:32 INFO - Expecting background
[task 2019-11-28T21:27:32.829Z] 21:27:32 INFO - Waiting for after-suggest event on the editor
[task 2019-11-28T21:27:32.829Z] 21:27:32 INFO - Synthesizing key VK_DOWN
[task 2019-11-28T21:27:32.830Z] 21:27:32 INFO - Checking the state
[task 2019-11-28T21:27:32.830Z] 21:27:32 INFO - TEST-PASS | devtools/client/shared/test/browser_inplace-editor_autocomplete_01.js | Correct value is autocompleted -
[task 2019-11-28T21:27:32.830Z] 21:27:32 INFO - TEST-PASS | devtools/client/shared/test/browser_inplace-editor_autocomplete_01.js | Popup is open -
[task 2019-11-28T21:27:32.831Z] 21:27:32 INFO - TEST-PASS | devtools/client/shared/test/browser_inplace-editor_autocomplete_01.js | Number of suggestions match -
[task 2019-11-28T21:27:32.831Z] 21:27:32 INFO - TEST-PASS | devtools/client/shared/test/browser_inplace-editor_autocomplete_01.js | Expected item is selected -
[task 2019-11-28T21:27:32.831Z] 21:27:32 INFO - Pressing key VK_DOWN
[task 2019-11-28T21:27:32.831Z] 21:27:32 INFO - Expecting border
[task 2019-11-28T21:27:32.832Z] 21:27:32 INFO - Waiting for after-suggest event on the editor
[task 2019-11-28T21:27:32.832Z] 21:27:32 INFO - Synthesizing key VK_DOWN
[task 2019-11-28T21:27:32.832Z] 21:27:32 INFO - Checking the state
[task 2019-11-28T21:27:32.834Z] 21:27:32 INFO - TEST-PASS | devtools/client/shared/test/browser_inplace-editor_autocomplete_01.js | Correct value is autocompleted -
[task 2019-11-28T21:27:32.834Z] 21:27:32 INFO - TEST-PASS | devtools/client/shared/test/browser_inplace-editor_autocomplete_01.js | Popup is open -
[task 2019-11-28T21:27:32.835Z] 21:27:32 INFO - TEST-PASS | devtools/client/shared/test/browser_inplace-editor_autocomplete_01.js | Number of suggestions match -
[task 2019-11-28T21:27:32.835Z] 21:27:32 INFO - TEST-PASS | devtools/client/shared/test/browser_inplace-editor_autocomplete_01.js | Expected item is selected -
[task 2019-11-28T21:27:32.835Z] 21:27:32 INFO - Pressing key VK_BACK_SPACE
[task 2019-11-28T21:27:32.836Z] 21:27:32 INFO - Expecting b
[task 2019-11-28T21:27:32.836Z] 21:27:32 INFO - Adding event listener for right|back_space|escape keys
[task 2019-11-28T21:27:32.837Z] 21:27:32 INFO - Waiting for event: 'keypress' on [object HTMLInputElement].
[task 2019-11-28T21:27:32.837Z] 21:27:32 INFO - Synthesizing key VK_BACK_SPACE
[task 2019-11-28T21:27:32.838Z] 21:27:32 INFO - Got event: 'keypress' on [object HTMLInputElement].
[task 2019-11-28T21:27:32.839Z] 21:27:32 INFO - Checking the state
[task 2019-11-28T21:27:32.839Z] 21:27:32 INFO - TEST-PASS | devtools/client/shared/test/browser_inplace-editor_autocomplete_01.js | Correct value is autocompleted -
[task 2019-11-28T21:27:32.840Z] 21:27:32 INFO - TEST-PASS | devtools/client/shared/test/browser_inplace-editor_autocomplete_01.js | Popup is closed -
[task 2019-11-28T21:27:32.841Z] 21:27:32 INFO - Pressing key VK_BACK_SPACE
[task 2019-11-28T21:27:32.841Z] 21:27:32 INFO - Expecting
[task 2019-11-28T21:27:32.841Z] 21:27:32 INFO - Adding event listener for right|back_space|escape keys
[task 2019-11-28T21:27:32.841Z] 21:27:32 INFO - Waiting for event: 'keypress' on [object HTMLInputElement].
[task 2019-11-28T21:27:32.841Z] 21:27:32 INFO - Synthesizing key VK_BACK_SPACE
[task 2019-11-28T21:27:32.842Z] 21:27:32 INFO - Got event: 'keypress' on [object HTMLInputElement].
[task 2019-11-28T21:27:32.843Z] 21:27:32 INFO - Checking the state
[task 2019-11-28T21:27:32.843Z] 21:27:32 INFO - TEST-PASS | devtools/client/shared/test/browser_inplace-editor_autocomplete_01.js | Correct value is autocompleted -
[task 2019-11-28T21:27:32.843Z] 21:27:32 INFO - TEST-PASS | devtools/client/shared/test/browser_inplace-editor_autocomplete_01.js | Popup is closed -
[task 2019-11-28T21:27:32.844Z] 21:27:32 INFO - Pressing key VK_DOWN
[task 2019-11-28T21:27:32.844Z] 21:27:32 INFO - Expecting background
[task 2019-11-28T21:27:32.845Z] 21:27:32 INFO - Waiting for after-suggest event on the editor
[task 2019-11-28T21:27:32.845Z] 21:27:32 INFO - Synthesizing key VK_DOWN
[task 2019-11-28T21:27:32.846Z] 21:27:32 INFO - Buffered messages finished
[task 2019-11-28T21:27:32.847Z] 21:27:32 INFO - TEST-UNEXPECTED-FAIL | devtools/client/shared/test/browser_inplace-editor_autocomplete_01.js | Test timed out -
[task 2019-11-28T21:27:32.847Z] 21:27:32 INFO - Removing tab.
[task 2019-11-28T21:27:32.848Z] 21:27:32 INFO - Waiting for event: 'TabClose' on [object XULElement].
[task 2019-11-28T21:27:32.848Z] 21:27:32 INFO - Got event: 'TabClose' on [object XULElement].
[task 2019-11-28T21:27:32.849Z] 21:27:32 INFO - Tab removed and finished closing
[task 2019-11-28T21:27:32.849Z] 21:27:32 INFO - Leaving test bound
[task 2019-11-28T21:27:32.849Z] 21:27:32 INFO - TEST-PASS | devtools/client/shared/test/browser_inplace-editor_autocomplete_01.js | The main process DebuggerServer has no pending connection when the test ends -
[task 2019-11-28T21:27:32.850Z] 21:27:32 INFO - Not taking screenshot here: see the one that was previously logged
[task 2019-11-28T21:27:32.850Z] 21:27:32 INFO - TEST-UNEXPECTED-FAIL | devtools/client/shared/test/browser_inplace-editor_autocomplete_01.js | test left unexpected property on window: skipNextCanClose -
[task 2019-11-28T21:27:32.851Z] 21:27:32 INFO - GECKO(5379) | JavaScript error: resource://specialpowers/SpecialPowersChild.jsm, line 1043: InvalidStateError: An attempt was made to use an object that is not, or is no longer, usable
[task 2019-11-28T21:27:32.851Z] 21:27:32 INFO - Console message: [JavaScript Error: "InvalidStateError: An attempt was made to use an object that is not, or is no longer, usable" {file: "resource://specialpowers/SpecialPowersChild.jsm" line: 1043}]
[task 2019-11-28T21:27:32.851Z] 21:27:32 INFO - GECKO(5379) | JavaScript error: , line 0: NS_ERROR_NOT_AVAILABLE
[task 2019-11-28T21:27:32.852Z] 21:27:32 INFO - Console message: [JavaScript Error: "NS_ERROR_NOT_AVAILABLE"]
[task 2019-11-28T21:33:42.837Z] 21:33:42 INFO - Buffered messages finished
[task 2019-11-28T21:33:42.838Z] 21:33:42 ERROR - TEST-UNEXPECTED-TIMEOUT | devtools/client/shared/test/browser_inplace-editor_autocomplete_01.js | application timed out after 370 seconds with no output
[task 2019-11-28T21:33:42.838Z] 21:33:42 ERROR - Force-terminating active process(es).
[task 2019-11-28T21:33:42.839Z] 21:33:42 INFO - Determining child pids from psutil...
[task 2019-11-28T21:33:42.857Z] 21:33:42 INFO - [5638, 5651, 5593, 5568, 5692, 5441, 5561, 5456, 5527]
[task 2019-11-28T21:33:42.858Z] 21:33:42 INFO - ==> process 5379 launched child process 5400
[task 2019-11-28T21:33:42.858Z] 21:33:42 INFO - ==> process 5379 launched child process 5441
[task 2019-11-28T21:33:42.859Z] 21:33:42 INFO - ==> process 5379 launched child process 5456
[task 2019-11-28T21:33:42.859Z] 21:33:42 INFO - ==> process 5379 launched child process 5527
[task 2019-11-28T21:33:42.860Z] 21:33:42 INFO - ==> process 5379 launched child process 5561
[task 2019-11-28T21:33:42.860Z] 21:33:42 INFO - ==> process 5379 launched child process 5568
[task 2019-11-28T21:33:42.860Z] 21:33:42 INFO - ==> process 5379 launched child process 5593
[task 2019-11-28T21:33:42.861Z] 21:33:42 INFO - ==> process 5379 launched child process 5638
[task 2019-11-28T21:33:42.861Z] 21:33:42 INFO - ==> process 5379 launched child process 5651
[task 2019-11-28T21:33:42.862Z] 21:33:42 INFO - ==> process 5379 launched child process 5692
[task 2019-11-28T21:33:42.862Z] 21:33:42 INFO - Found child pids: set([5568, 5441, 5638, 5527, 5456, 5651, 5561, 5400, 5593, 5692])
[task 2019-11-28T21:33:42.862Z] 21:33:42 INFO - Failed to get child procs
[task 2019-11-28T21:33:42.863Z] 21:33:42 INFO - Killing process: 5568
[task 2019-11-28T21:33:42.863Z] 21:33:42 INFO - Not taking screenshot here: see the one that was previously logged
[task 2019-11-28T21:33:42.864Z] 21:33:42 INFO - Killing process: 5441
[task 2019-11-28T21:33:42.865Z] 21:33:42 INFO - Not taking screenshot here: see the one that was previously logged
[task 2019-11-28T21:33:42.865Z] 21:33:42 INFO - Killing process: 5638
[task 2019-11-28T21:33:42.866Z] 21:33:42 INFO - Not taking screenshot here: see the one that was previously logged
[task 2019-11-28T21:33:42.867Z] 21:33:42 INFO - Killing process: 5527
[task 2019-11-28T21:33:42.867Z] 21:33:42 INFO - Not taking screenshot here: see the one that was previously logged
[task 2019-11-28T21:33:42.868Z] 21:33:42 INFO - Killing process: 5456
[task 2019-11-28T21:33:42.868Z] 21:33:42 INFO - Not taking screenshot here: see the one that was previously logged
[task 2019-11-28T21:33:42.869Z] 21:33:42 INFO - Killing process: 5651
[task 2019-11-28T21:33:42.871Z] 21:33:42 INFO - Not taking screenshot here: see the one that was previously logged
[task 2019-11-28T21:33:42.872Z] 21:33:42 INFO - Killing process: 5561
[task 2019-11-28T21:33:42.872Z] 21:33:42 INFO - Not taking screenshot here: see the one that was previously logged
[task 2019-11-28T21:33:42.873Z] 21:33:42 INFO - Killing process: 5400
[task 2019-11-28T21:33:42.873Z] 21:33:42 INFO - Not taking screenshot here: see the one that was previously logged
[task 2019-11-28T21:33:42.873Z] 21:33:42 INFO - Can't trigger Breakpad, process no longer exists
[task 2019-11-28T21:33:42.874Z] 21:33:42 INFO - Killing process: 5593
[task 2019-11-28T21:33:42.874Z] 21:33:42 INFO - Not taking screenshot here: see the one that was previously logged
[task 2019-11-28T21:33:42.874Z] 21:33:42 INFO - Killing process: 5692
[task 2019-11-28T21:33:42.875Z] 21:33:42 INFO - Not taking screenshot here: see the one that was previously logged
[task 2019-11-28T21:33:42.876Z] 21:33:42 INFO - Killing process: 5379
[task 2019-11-28T21:33:42.877Z] 21:33:42 INFO - Not taking screenshot here: see the one that was previously logged
[task 2019-11-28T21:33:43.028Z] 21:33:43 INFO - psutil found pid 5379 dead
[task 2019-11-28T21:33:43.064Z] 21:33:43 WARNING - runtests.py | Failed to get app exit code - running/crashed?
[task 2019-11-28T21:33:43.064Z] 21:33:43 INFO - TEST-INFO | Main app process: exit 0
[task 2019-11-28T21:33:43.064Z] 21:33:43 INFO - runtests.py | Application ran for: 0:07:44.782762
[task 2019-11-28T21:33:43.064Z] 21:33:43 INFO - zombiecheck | Reading PID log: /tmp/tmpSrQbWUpidlog
[task 2019-11-28T21:33:43.064Z] 21:33:43 INFO - ==> process 5379 launched child process 5400
[task 2019-11-28T21:33:43.065Z] 21:33:43 INFO - ==> process 5379 launched child process 5441
[task 2019-11-28T21:33:43.065Z] 21:33:43 INFO - ==> process 5379 launched child process 5456
[task 2019-11-28T21:33:43.065Z] 21:33:43 INFO - ==> process 5379 launched child process 5527
[task 2019-11-28T21:33:43.066Z] 21:33:43 INFO - ==> process 5379 launched child process 5561
[task 2019-11-28T21:33:43.066Z] 21:33:43 INFO - ==> process 5379 launched child process 5568
[task 2019-11-28T21:33:43.067Z] 21:33:43 INFO - ==> process 5379 launched child process 5593
[task 2019-11-28T21:33:43.067Z] 21:33:43 INFO - ==> process 5379 launched child process 5638
[task 2019-11-28T21:33:43.067Z] 21:33:43 INFO - ==> process 5379 launched child process 5651
[task 2019-11-28T21:33:43.068Z] 21:33:43 INFO - ==> process 5379 launched child process 5692
[task 2019-11-28T21:33:43.068Z] 21:33:43 INFO - zombiecheck | Checking for orphan process with PID: 5568
[task 2019-11-28T21:33:43.069Z] 21:33:43 INFO - zombiecheck | Checking for orphan process with PID: 5441
[task 2019-11-28T21:33:43.069Z] 21:33:43 INFO - zombiecheck | Checking for orphan process with PID: 5593
[task 2019-11-28T21:33:43.070Z] 21:33:43 INFO - zombiecheck | Checking for orphan process with PID: 5638
[task 2019-11-28T21:33:43.070Z] 21:33:43 INFO - zombiecheck | Checking for orphan process with PID: 5456
[task 2019-11-28T21:33:43.071Z] 21:33:43 INFO - zombiecheck | Checking for orphan process with PID: 5651
[task 2019-11-28T21:33:43.071Z] 21:33:43 INFO - zombiecheck | Checking for orphan process with PID: 5527
[task 2019-11-28T21:33:43.072Z] 21:33:43 INFO - zombiecheck | Checking for orphan process with PID: 5400
[task 2019-11-28T21:33:43.073Z] 21:33:43 INFO - zombiecheck | Checking for orphan process with PID: 5561
[task 2019-11-28T21:33:43.073Z] 21:33:43 INFO - zombiecheck | Checking for orphan process with PID: 5692
[task 2019-11-28T21:33:43.074Z] 21:33:43 INFO - mozcrash Downloading symbols from: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/UHFg1D5jQHSy0cYiwsGzKQ/artifacts/public/build/target.crashreporter-symbols.zip
[task 2019-11-28T21:33:47.164Z] 21:33:47 INFO - mozcrash Copy/paste: /builds/worker/workspace/build/linux64-minidump_stackwalk /tmp/tmpGLL_oz.mozrunner/minidumps/79c1acb0-5d6f-7bd0-6fc9-3665d7930575.dmp /tmp/tmpNmiTJK
[task 2019-11-28T21:33:47.185Z] 21:33:47 INFO - mozcrash Saved minidump as /builds/worker/workspace/build/blobber_upload_dir/79c1acb0-5d6f-7bd0-6fc9-3665d7930575.dmp
[task 2019-11-28T21:33:47.185Z] 21:33:47 INFO - PROCESS-CRASH | Main app process exited normally | application crashed [None]
[task 2019-11-28T21:33:47.185Z] 21:33:47 INFO - Crash dump filename: /tmp/tmpGLL_oz.mozrunner/minidumps/79c1acb0-5d6f-7bd0-6fc9-3665d7930575.dmp
[task 2019-11-28T21:33:47.185Z] 21:33:47 INFO - stderr from minidump_stackwalk:
[task 2019-11-28T21:33:47.186Z] 21:33:47 INFO - 2019-11-28 21:33:47: minidump_processor.cc:158: ERROR: Minidump /tmp/tmpGLL_oz.mozrunner/minidumps/79c1acb0-5d6f-7bd0-6fc9-3665d7930575.dmp has no thread list
[task 2019-11-28T21:33:47.186Z] 21:33:47 INFO - 2019-11-28 21:33:47: minidump_stackwalk.cc:141: ERROR: MinidumpProcessor::Process failed
[task 2019-11-28T21:33:47.187Z] 21:33:47 INFO - mozcrash Copy/paste: /builds/worker/workspace/build/linux64-minidump_stackwalk /tmp/tmpGLL_oz.mozrunner/minidumps/46942225-b51e-f702-9a61-d50a30952d25.dmp /tmp/tmpNmiTJK
[task 2019-11-28T21:33:51.817Z] 21:33:51 INFO - mozcrash Saved minidump as /builds/worker/workspace/build/blobber_upload_dir/46942225-b51e-f702-9a61-d50a30952d25.dmp
[task 2019-11-28T21:33:51.818Z] 21:33:51 INFO - mozcrash Saved app info as /builds/worker/workspace/build/blobber_upload_dir/46942225-b51e-f702-9a61-d50a30952d25.extra
[task 2019-11-28T21:33:51.947Z] 21:33:51 INFO - PROCESS-CRASH | Main app process exited normally | application crashed [@ __poll]
[task 2019-11-28T21:33:51.947Z] 21:33:51 INFO - Crash dump filename: /tmp/tmpGLL_oz.mozrunner/minidumps/46942225-b51e-f702-9a61-d50a30952d25.dmp
[task 2019-11-28T21:33:51.947Z] 21:33:51 INFO - Operating system: Linux
[task 2019-11-28T21:33:51.947Z] 21:33:51 INFO - 0.0.0 Linux 4.4.0-1014-aws #14taskcluster1-Ubuntu SMP Tue Apr 3 10:27:00 UTC 2018 x86_64
[task 2019-11-28T21:33:51.947Z] 21:33:51 INFO - CPU: amd64
[task 2019-11-28T21:33:51.947Z] 21:33:51 INFO - family 6 model 85 stepping 4
[task 2019-11-28T21:33:51.947Z] 21:33:51 INFO - 1 CPU
[task 2019-11-28T21:33:51.947Z] 21:33:51 INFO -
[task 2019-11-28T21:33:51.947Z] 21:33:51 INFO - GPU: UNKNOWN
[task 2019-11-28T21:33:51.947Z] 21:33:51 INFO -
[task 2019-11-28T21:33:51.947Z] 21:33:51 INFO - Crash reason: SIGABRT
[task 2019-11-28T21:33:51.948Z] 21:33:51 INFO - Crash address: 0x3e80000049f
[task 2019-11-28T21:33:51.948Z] 21:33:51 INFO - Process uptime: not available
[task 2019-11-28T21:33:51.948Z] 21:33:51 INFO -
[task 2019-11-28T21:33:51.948Z] 21:33:51 INFO - Thread 0 (crashed)
[task 2019-11-28T21:33:51.948Z] 21:33:51 INFO - 0 libc-2.27.so!__poll [poll.c : 29 + 0x18]
[task 2019-11-28T21:33:51.948Z] 21:33:51 INFO - rax = 0xfffffffffffffffc rdx = 0x00000000ffffffff
[task 2019-11-28T21:33:51.948Z] 21:33:51 INFO - rcx = 0x00007fb003f94bf9 rbx = 0x00007fafea03eba0
[task 2019-11-28T21:33:51.948Z] 21:33:51 INFO - rsi = 0x0000000000000003 rdi = 0x00007fafea03eba0
[task 2019-11-28T21:33:51.948Z] 21:33:51 INFO - rbp = 0x0000000000000003 rsp = 0x00007ffd35955bc0
[task 2019-11-28T21:33:51.948Z] 21:33:51 INFO - r8 = 0x0000000000000000 r9 = 0x00007faff1f5f8e0
[task 2019-11-28T21:33:51.948Z] 21:33:51 INFO - r10 = 0x00007fafeb64ba60 r11 = 0x0000000000000293
[task 2019-11-28T21:33:51.948Z] 21:33:51 INFO - r12 = 0x00000000ffffffff r13 = 0x00007ffd35955bf8
[task 2019-11-28T21:33:51.948Z] 21:33:51 INFO - r14 = 0x00000000ffffffff r15 = 0x0000000000000003
[task 2019-11-28T21:33:51.949Z] 21:33:51 INFO - rip = 0x00007fb003f94bf9
[task 2019-11-28T21:33:51.949Z] 21:33:51 INFO - Found by: given as instruction pointer in context

:pbro - I am seeing this test case fail in a consistent manner, with a process crash when run inside the work in progress ubuntu1804 test image. Could you please redirect the ni to someone who may be able to take a look, thanks!

Flags: needinfo?(pbrosset)

I think Julian worked on this test quite a bit, so redirecting to him for now. Feel free to pass on if there's someone else who should look at this.

Flags: needinfo?(pbrosset) → needinfo?(jdescottes)

Thanks for the ni redirect.

In order to use ubuntu1804 image for testing in try, please use the flag --ubuntu-bionic, like this:

./mach try fuzzy --ubuntu-bionic

So far I can't repro on a ubuntu 1804 VM.
Pushing to try with more logs + longer timeout. Right now the test seems to hang in testCompletion (https://searchfox.org/mozilla-central/rev/8bc24752246aeac8a9aed566cf1caccf88d97d11/devtools/client/shared/test/helper_inplace_editor.js#81) but I'm not sure on which event it is blocked.

Flags: needinfo?(jdescottes)

Looks like we are blocked waiting for the "after-suggest" event https://searchfox.org/mozilla-central/rev/8bc24752246aeac8a9aed566cf1caccf88d97d11/devtools/client/shared/test/helper_inplace_editor.js#108

Still no idea what could trigger this. I'll try to slightly wait between each input in the test, to see if it helps.

A bit more progress, it seems at the end of the test, the inplace editor thinks it is in multiline mode, which means that pressing DOWN no longer shows suggestions.

Our logic to detect that might be brittle?

  _isSingleLine: function() {
    const inputRect = this.input.getBoundingClientRect();
    return inputRect.height < 2 * this.inputCharDimensions.height;
  },

inputCharDimensions are the dimensions of the x character. Will add more logs.

Got a few more logs. _isSingleLine is simply not working on the try ubuntu1804 environment:

  • inputRect.height = 34px
  • this.inputCharDimensions.height = 16px

With those figures it always considers the input as multiline. But in this case the input is empty so it can't be on 2 lines. I guess this is just an issue with the default size of this input on this platform. Also the inputs we use in those tests are not styled in the same way as the ones used in the real devtools. So it can explain why they are so big (and why it's platform dependant). Not sure why I didn't repro on my local ubuntu but there might be an additional setting that tweaks this.

Either we style the inputs or we can replace this with method with something that checks quads. I'll try the second approach for now:
https://treeherder.mozilla.org/#/jobs?repo=try&revision=37c00578757831b7bc69ed8740d8a408c7de0a90

Assignee: nobody → jdescottes
Status: NEW → ASSIGNED

In case this fixes it, here is a DAMP push as well: https://treeherder.mozilla.org/#/jobs?repo=try&revision=13ea7853d3c94ee7b774d4066b2e5c2a24cd2318

Wonder if we'll see an impact on console typing tests.

Previous approach was a bad idea, we can't easily get the anonymous text nodes in those elements.
I think I understood a bit more the issue. Most devtools inplace-editor use the "multiline" mode (which uses a textarea). In multiline mode, the textarea itself is sized using the "_measurement" element, which means that the code in _isSingleLine makes sense.

But when we are not in multiline mode, we are using an input instead of a textarea, and we are not setting the height of this input at all. Which means _isSingleLine no longer makes sense. On the flipside, if we are not in multiline mode, then _isSingleLine should always return true.

As a follow up we might remove single line mode, I don't think we need it anymore, since multiline mode adapts itself.

Attachment #9113546 - Attachment description: Bug 1600185 - Check if DevTools inplace editor is multiline by checking number of quads → Bug 1600185 - Fix DevTools inplace editor single line mode detection
Pushed by jdescottes@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/4ff029ce1bfc
Fix DevTools inplace editor single line mode detection r=pbro
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 73
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: