[Webkit-unassigned] [Bug 56852] build.webkit.org bots using old-run-webkit-tests should upload results to Chromium's test dashboards

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Mar 22 23:49:52 PDT 2011


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





--- Comment #2 from Ojan Vafai <ojan at chromium.org>  2011-03-22 23:49:52 PST ---
Sorry if this is information overload.

We need to upload 3 JSON files (incremental_results.json, full_results.json and expectations.json) to test-results.appspot.com and then update the html for the dashboard to know about the new bots. The hard part is generating the JSON. Once that's done, I'm happy to modify the HTML appropriately.

You're probably best off just working backwards from the actual files at http://test-results.appspot.com/testfile?testtype=layout-tests.

Here's a somewhat outdated guide on the JSON format for incremental_results.json and expectations.json: https://sites.google.com/a/chromium.org/dev/developers/design-documents/layout-tests-results-dashboard


full_results.json: This is the simplest of the JSON files. This is generated by new-run-webkit-tests. The server does not modify it.

a simple mapping from test-name to {"expected":"PASS","time_ms":14,"actual":"PASS"}
For non-chromium ports, expected is always "PASS". Actual is dependent on the type of failure. Possible values are TEXT, IMAGE, IMAGE+TEXT, CRASH, TIMEOUT.

If you want a somewhat incremental way of approaching this, the treemap dashboard only needs this JSON file.


expectations.json: This is generated by new-run-webkit-tests. The server does not modify it.

See the dev.chromium.org link above for info on the format. For the sake of non-chromium ports though, this file just consistent of aggregating the data from all the Skipped lists and listing SKIP and the platform as the modifiers for each of those tests. The expectation is always PASS. Tests that are not in a Skipped list don't need to be included in this file.


incremental_results.json: This is the most complicated of the JSON files. Here's the python code that generates the incremental_results.json file: http://trac.webkit.org/browser/trunk/Tools/Scripts/webkitpy/layout_tests/layout_package/json_layout_results_generator.py

results.json and results-small.json contain data on the history of runs. new-run-webkit-tests only uploads incremental_results.json which is the same format, but with only one run's data. One the server-side, this data is merged into results.json and results-small.json.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list