RESOLVED FIXED94865
[Chromium-Android] Many 'Unexpected EOF ...' when a test crashes
https://bugs.webkit.org/show_bug.cgi?id=94865
Summary [Chromium-Android] Many 'Unexpected EOF ...' when a test crashes
Xianzhu Wang
Reported 2012-08-23 15:18:57 PDT
After patch of https://bugs.webkit.org/show_bug.cgi?id=94387, NRWT chromium-android can't detect crashes, but quickly prints many 'Unexpected EOF ...' when a test crashes until timeout, and will treat it a timeout. On Android we depend on read() return None to detect crashes, so when the test crashes, the process (adb shell) is still alive.
Attachments
Patch (6.44 KB, patch)
2012-08-23 16:00 PDT, Xianzhu Wang
no flags
Patch (6.63 KB, patch)
2012-08-24 10:45 PDT, Xianzhu Wang
no flags
Xianzhu Wang
Comment 1 2012-08-23 16:00:50 PDT
Adam Barth
Comment 2 2012-08-23 16:09:38 PDT
dpranke is your best reviewer here.
Dirk Pranke
Comment 3 2012-08-23 21:10:49 PDT
Comment on attachment 160271 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=160271&action=review Ah, I knew the android port depended on this somehow but I didn't connect the dots to realize that adb was still running. Sorry about that! > Tools/Scripts/webkitpy/layout_tests/port/chromium_android.py:143 > + universal_newlines=True, treat_no_data_as_crash=True) why not just make this a method on the port class?
Xianzhu Wang
Comment 4 2012-08-24 10:45:17 PDT
Xianzhu Wang
Comment 5 2012-08-24 10:46:05 PDT
Comment on attachment 160271 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=160271&action=review >> Tools/Scripts/webkitpy/layout_tests/port/chromium_android.py:143 >> + universal_newlines=True, treat_no_data_as_crash=True) > > why not just make this a method on the port class? Done.
WebKit Review Bot
Comment 6 2012-08-24 11:55:29 PDT
Comment on attachment 160449 [details] Patch Clearing flags on attachment: 160449 Committed r126607: <http://trac.webkit.org/changeset/126607>
WebKit Review Bot
Comment 7 2012-08-24 11:55:32 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.