[Webkit-unassigned] [Bug 159827] run-webkit-tests should trigger a spindump when WebContent process is unresponsive

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jul 19 19:49:11 PDT 2016


https://bugs.webkit.org/show_bug.cgi?id=159827

--- Comment #14 from Daniel Bates <dbates at webkit.org> ---
Comment on attachment 284062
  --> https://bugs.webkit.org/attachment.cgi?id=284062
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=284062&action=review

> Tools/Scripts/webkitpy/port/ios.py:434
> +        spindump_process = subprocess.Popen(['sudo', '-A', 'spindump', str(pid), '10', '-file', self.results_directory() + '/' + parsed_filename + '.spindump.txt'], stdout=subprocess.PIPE, stderr=subprocess.STDOUT)

Can we make use of option -n instead of -A to have sudo exit with an error if the command requires a password?


More information about the webkit-unassigned mailing list