Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(76)

Side by Side Diff: scripts/slave/recipes/chromium_trybot.expected/gpu_tests.json

Issue 1366353002: Change test_util summarize_retried_test not to use inline python (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 [ 1 [
2 { 2 {
3 "cmd": [ 3 "cmd": [
4 "python", 4 "python",
5 "-u", 5 "-u",
6 "[BUILD]/scripts/slave/bot_update.py", 6 "[BUILD]/scripts/slave/bot_update.py",
7 "--master", 7 "--master",
8 "tryserver.chromium.mac", 8 "tryserver.chromium.mac",
9 "--builder", 9 "--builder",
10 "mac_chromium_rel_ng", 10 "mac_chromium_rel_ng",
(...skipping 4271 matching lines...) Expand 10 before | Expand all | Expand 10 after
4282 "@@@STEP_LOG_LINE@outdir_json@ \"0/results.json\": \"{\\\"per_page_values \\\": [{\\\"page_id\\\": 0, \\\"type\\\": \\\"failure\\\"}, {\\\"page_id\\\": 1, \\\"type\\\": \\\"success\\\"}], \\\"pages\\\": {\\\"1\\\": {\\\"name\\\": \\\" Test.Test2\\\"}, \\\"0\\\": {\\\"name\\\": \\\"Test.Test1\\\"}}}\", @@@", 4282 "@@@STEP_LOG_LINE@outdir_json@ \"0/results.json\": \"{\\\"per_page_values \\\": [{\\\"page_id\\\": 0, \\\"type\\\": \\\"failure\\\"}, {\\\"page_id\\\": 1, \\\"type\\\": \\\"success\\\"}], \\\"pages\\\": {\\\"1\\\": {\\\"name\\\": \\\" Test.Test2\\\"}, \\\"0\\\": {\\\"name\\\": \\\"Test.Test1\\\"}}}\", @@@",
4283 "@@@STEP_LOG_LINE@outdir_json@ \"summary.json\": \"{\\\"shards\\\": [{\\\ "internal_failure\\\": false, \\\"failure\\\": true}]}\"@@@", 4283 "@@@STEP_LOG_LINE@outdir_json@ \"summary.json\": \"{\\\"shards\\\": [{\\\ "internal_failure\\\": false, \\\"failure\\\": true}]}\"@@@",
4284 "@@@STEP_LOG_LINE@outdir_json@}@@@", 4284 "@@@STEP_LOG_LINE@outdir_json@}@@@",
4285 "@@@STEP_LOG_END@outdir_json@@@" 4285 "@@@STEP_LOG_END@outdir_json@@@"
4286 ] 4286 ]
4287 }, 4287 },
4288 { 4288 {
4289 "cmd": [ 4289 "cmd": [
4290 "python", 4290 "python",
4291 "-u", 4291 "-u",
4292 "\nimport sys, json\nfailures = json.load(open(sys.argv[1], 'rb'))\n\nsucc ess = True\n\nif failures['new']:\n success = False\n print 'New failures:'\n for f in failures['new']:\n print f\n\nif failures['ignored']:\n print 'Ign ored failures:'\n for f in failures['ignored']:\n print f\n\nsys.exit(0 if s uccess else 1)\n", 4292 "import sys; sys.exit(0)"
4293 "{\"ignored\": [\"Test.Test1\"], \"new\": []}"
4294 ], 4293 ],
4295 "cwd": "[SLAVE_BUILD]", 4294 "cwd": "[SLAVE_BUILD]",
4296 "name": "pixel_test on Intel GPU on Mac", 4295 "name": "pixel_test on Intel GPU on Mac",
4297 "~followup_annotations": [ 4296 "~followup_annotations": [
4298 "@@@STEP_TEXT@<br/>ignored:<br/>Test.Test1<br/>@@@", 4297 "@@@STEP_TEXT@<br/>ignored:<br/>Test.Test1<br/>@@@",
4299 "@@@STEP_LOG_LINE@python.inline@@@@",
4300 "@@@STEP_LOG_LINE@python.inline@import sys, json@@@",
4301 "@@@STEP_LOG_LINE@python.inline@failures = json.load(open(sys.argv[1], 'rb '))@@@",
4302 "@@@STEP_LOG_LINE@python.inline@@@@",
4303 "@@@STEP_LOG_LINE@python.inline@success = True@@@",
4304 "@@@STEP_LOG_LINE@python.inline@@@@",
4305 "@@@STEP_LOG_LINE@python.inline@if failures['new']:@@@",
4306 "@@@STEP_LOG_LINE@python.inline@ success = False@@@",
4307 "@@@STEP_LOG_LINE@python.inline@ print 'New failures:'@@@",
4308 "@@@STEP_LOG_LINE@python.inline@ for f in failures['new']:@@@",
4309 "@@@STEP_LOG_LINE@python.inline@ print f@@@",
4310 "@@@STEP_LOG_LINE@python.inline@@@@",
4311 "@@@STEP_LOG_LINE@python.inline@if failures['ignored']:@@@",
4312 "@@@STEP_LOG_LINE@python.inline@ print 'Ignored failures:'@@@",
4313 "@@@STEP_LOG_LINE@python.inline@ for f in failures['ignored']:@@@",
4314 "@@@STEP_LOG_LINE@python.inline@ print f@@@",
4315 "@@@STEP_LOG_LINE@python.inline@@@@",
4316 "@@@STEP_LOG_LINE@python.inline@sys.exit(0 if success else 1)@@@",
4317 "@@@STEP_LOG_END@python.inline@@@",
4318 "@@@STEP_WARNINGS@@@" 4298 "@@@STEP_WARNINGS@@@"
4319 ] 4299 ]
4320 } 4300 }
4321 ] 4301 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698