WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
Bug 95710
[nrwt] Harden against empty stdout/stderr after stopping a crashed/timed out driver
https://bugs.webkit.org/show_bug.cgi?id=95710
Summary
[nrwt] Harden against empty stdout/stderr after stopping a crashed/timed out ...
Balazs Kelemen
Reported
2012-09-03 23:02:05 PDT
It has been revealed when I tested a patch that makes a lot of tests failing. In driver.run_test an exception can raise here: if stop_when_done or crashed or timed_out: # We call stop() even if we crashed or timed out in order to get any remaining stdout/stderr output. # In the timeout case, we kill the hung process as well. out, err = self._server_process.stop(self._port.driver_stop_timeout() if stop_when_done else 0.0) text += out self.error_from_test += err at the += if out or err is None. Although it probably not shown on trunk we should make sure the harness can handle a driver in a bad state.
Attachments
Patch
(1.69 KB, patch)
2012-09-03 23:06 PDT
,
Balazs Kelemen
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Balazs Kelemen
Comment 1
2012-09-03 23:06:13 PDT
Created
attachment 161968
[details]
Patch
Balazs Kelemen
Comment 2
2012-09-06 06:20:50 PDT
Comment on
attachment 161968
[details]
Patch Clearing flags on attachment: 161968 Committed
r127734
: <
http://trac.webkit.org/changeset/127734
>
Balazs Kelemen
Comment 3
2012-09-06 06:20:54 PDT
All reviewed patches have been landed. Closing bug.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug