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

Side by Side Diff: scripts/slave/recipes/chromium_trybot_legacy.expected/base_unittests_failure_swarming.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
« no previous file with comments | « scripts/slave/recipes/chromium_trybot.expected/too_many_failures_for_retcode.json ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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.linux", 8 "tryserver.chromium.linux",
9 "--builder", 9 "--builder",
10 "linux_chromium_trusty_rel", 10 "linux_chromium_trusty_rel",
(...skipping 415 matching lines...) Expand 10 before | Expand all | Expand 10 after
426 "base_unittests", 426 "base_unittests",
427 "Test.Two" 427 "Test.Two"
428 ], 428 ],
429 "cwd": "[SLAVE_BUILD]", 429 "cwd": "[SLAVE_BUILD]",
430 "name": "base_unittests (without patch)" 430 "name": "base_unittests (without patch)"
431 }, 431 },
432 { 432 {
433 "cmd": [ 433 "cmd": [
434 "python", 434 "python",
435 "-u", 435 "-u",
436 "\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", 436 "import sys; sys.exit(1)"
437 "{\"ignored\": [], \"new\": [\"Test.Two\"]}"
438 ], 437 ],
439 "cwd": "[SLAVE_BUILD]", 438 "cwd": "[SLAVE_BUILD]",
440 "name": "base_unittests", 439 "name": "base_unittests",
441 "~followup_annotations": [ 440 "~followup_annotations": [
441 "step returned non-zero exit code: 1",
442 "@@@STEP_TEXT@<br/>failures:<br/>Test.Two<br/>@@@", 442 "@@@STEP_TEXT@<br/>failures:<br/>Test.Two<br/>@@@",
443 "@@@STEP_LOG_LINE@python.inline@@@@",
444 "@@@STEP_LOG_LINE@python.inline@import sys, json@@@",
445 "@@@STEP_LOG_LINE@python.inline@failures = json.load(open(sys.argv[1], 'rb '))@@@",
446 "@@@STEP_LOG_LINE@python.inline@@@@",
447 "@@@STEP_LOG_LINE@python.inline@success = True@@@",
448 "@@@STEP_LOG_LINE@python.inline@@@@",
449 "@@@STEP_LOG_LINE@python.inline@if failures['new']:@@@",
450 "@@@STEP_LOG_LINE@python.inline@ success = False@@@",
451 "@@@STEP_LOG_LINE@python.inline@ print 'New failures:'@@@",
452 "@@@STEP_LOG_LINE@python.inline@ for f in failures['new']:@@@",
453 "@@@STEP_LOG_LINE@python.inline@ print f@@@",
454 "@@@STEP_LOG_LINE@python.inline@@@@",
455 "@@@STEP_LOG_LINE@python.inline@if failures['ignored']:@@@",
456 "@@@STEP_LOG_LINE@python.inline@ print 'Ignored failures:'@@@",
457 "@@@STEP_LOG_LINE@python.inline@ for f in failures['ignored']:@@@",
458 "@@@STEP_LOG_LINE@python.inline@ print f@@@",
459 "@@@STEP_LOG_LINE@python.inline@@@@",
460 "@@@STEP_LOG_LINE@python.inline@sys.exit(0 if success else 1)@@@",
461 "@@@STEP_LOG_END@python.inline@@@",
462 "@@@STEP_FAILURE@@@", 443 "@@@STEP_FAILURE@@@",
463 "@@@SET_BUILD_PROPERTY@failure_type@\"TEST_FAILURE\"@@@" 444 "@@@SET_BUILD_PROPERTY@failure_type@\"TEST_FAILURE\"@@@",
445 "@@@SET_BUILD_PROPERTY@failure_hash@\"98888bc87e7b61d74971a07ddb552339bd00 7f14\"@@@"
464 ] 446 ]
447 },
448 {
449 "name": "$final_result",
450 "reason": "1 out of 1 aggregated steps failed. Failures: Step('base_unittest s') failed with return_code 1",
451 "status_code": 1
465 } 452 }
466 ] 453 ]
OLDNEW
« no previous file with comments | « scripts/slave/recipes/chromium_trybot.expected/too_many_failures_for_retcode.json ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698