Bug 45408

Summary: Include detailed test modifiers (e.g. FLAKY) in results.json for non-layout tests
Product: WebKit Reporter: Kinuko Yasuda <kinuko>
Component: Tools / TestsAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: ojan, victorw
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: PC   
OS: OS X 10.5   
Bug Depends on: 46011    
Bug Blocks:    
Attachments:
Description Flags
Patch
none
Patch ojan: review+

Kinuko Yasuda
Reported 2010-09-08 12:34:03 PDT
Include detailed test modifiers (e.g. FLAKY) in results.json for failing non-layout tests. Currently the results.json only includes FAIL or PASS information.
Attachments
Patch (18.55 KB, patch)
2010-09-08 13:50 PDT, Kinuko Yasuda
no flags
Patch (22.53 KB, patch)
2010-09-16 00:30 PDT, Kinuko Yasuda
ojan: review+
Kinuko Yasuda
Comment 1 2010-09-08 13:50:47 PDT
Ojan Vafai
Comment 2 2010-09-09 00:35:14 PDT
Comment on attachment 66935 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=66935&action=prettypatch > WebKitTools/Scripts/webkitpy/layout_tests/layout_package/json_results_generator.py:64 > + # Shouldn't happen If this shouldn't happen, lets just leave out the try/except clause. Otherwise, if this starts happening, we'll never know. I'd be OK with the try/except clause if we logged the error (i.e. a warning level log). But, we shouldn't just silently ignore it. > WebKitTools/Scripts/webkitpy/layout_tests/run_webkit_tests.py:820 > individual_test_timings) Indentation is off by a space.
Kinuko Yasuda
Comment 3 2010-09-16 00:30:57 PDT
Kinuko Yasuda
Comment 4 2010-09-16 00:37:55 PDT
Sorry it took for me so long to update this again. Basically mostly same with the previous patch, except that I changed how to record FIXABLE_COUNT. Now it records 'F' for tests with FAILS modifier, 'X' for disabled tests, 'L' for tests with FLAKY modifier and 'P' for others. (In an assumption that the number of FAILS_ tests is the one we should focus on to reduce failures - as we discussed.) (In reply to comment #2) > (From update of attachment 66935 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=66935&action=prettypatch > > > WebKitTools/Scripts/webkitpy/layout_tests/layout_package/json_results_generator.py:64 > > + # Shouldn't happen > If this shouldn't happen, lets just leave out the try/except clause. Otherwise, if this starts happening, we'll never know. I'd be OK with the try/except clause if we logged the error (i.e. a warning level log). But, we shouldn't just silently ignore it. Added logging.warn in the except part. > > WebKitTools/Scripts/webkitpy/layout_tests/run_webkit_tests.py:820 > > individual_test_timings) > Indentation is off by a space. Fixed.
Ojan Vafai
Comment 5 2010-09-16 14:27:28 PDT
Comment on attachment 67775 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=67775&action=prettypatch > WebKitTools/Scripts/webkitpy/layout_tests/layout_package/json_results_generator.py:65 > + pass don't need the pass anymore.
Kinuko Yasuda
Comment 6 2010-09-16 21:30:42 PDT
Note You need to log in before you can comment on or make changes to this bug.