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

Side by Side Diff: scripts/slave/recipes/chromium_trybot.expected/swarming_test_failure.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.linux", 8 "tryserver.chromium.linux",
9 "--builder", 9 "--builder",
10 "linux_chromium_rel_ng", 10 "linux_chromium_rel_ng",
(...skipping 2533 matching lines...) Expand 10 before | Expand all | Expand 10 after
2544 "--chrome-revision", 2544 "--chrome-revision",
2545 "170242" 2545 "170242"
2546 ], 2546 ],
2547 "cwd": "[SLAVE_BUILD]", 2547 "cwd": "[SLAVE_BUILD]",
2548 "name": "Upload to test-results [gl_tests (without patch)]" 2548 "name": "Upload to test-results [gl_tests (without patch)]"
2549 }, 2549 },
2550 { 2550 {
2551 "cmd": [ 2551 "cmd": [
2552 "python", 2552 "python",
2553 "-u", 2553 "-u",
2554 "\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", 2554 "import sys; sys.exit(1)"
2555 "{\"ignored\": [], \"new\": [\"Test.Two\"]}"
2556 ], 2555 ],
2557 "cwd": "[SLAVE_BUILD]", 2556 "cwd": "[SLAVE_BUILD]",
2558 "name": "gl_tests", 2557 "name": "gl_tests",
2559 "~followup_annotations": [ 2558 "~followup_annotations": [
2559 "step returned non-zero exit code: 1",
2560 "@@@STEP_TEXT@<br/>failures:<br/>Test.Two<br/>@@@", 2560 "@@@STEP_TEXT@<br/>failures:<br/>Test.Two<br/>@@@",
2561 "@@@STEP_LOG_LINE@python.inline@@@@",
2562 "@@@STEP_LOG_LINE@python.inline@import sys, json@@@",
2563 "@@@STEP_LOG_LINE@python.inline@failures = json.load(open(sys.argv[1], 'rb '))@@@",
2564 "@@@STEP_LOG_LINE@python.inline@@@@",
2565 "@@@STEP_LOG_LINE@python.inline@success = True@@@",
2566 "@@@STEP_LOG_LINE@python.inline@@@@",
2567 "@@@STEP_LOG_LINE@python.inline@if failures['new']:@@@",
2568 "@@@STEP_LOG_LINE@python.inline@ success = False@@@",
2569 "@@@STEP_LOG_LINE@python.inline@ print 'New failures:'@@@",
2570 "@@@STEP_LOG_LINE@python.inline@ for f in failures['new']:@@@",
2571 "@@@STEP_LOG_LINE@python.inline@ print f@@@",
2572 "@@@STEP_LOG_LINE@python.inline@@@@",
2573 "@@@STEP_LOG_LINE@python.inline@if failures['ignored']:@@@",
2574 "@@@STEP_LOG_LINE@python.inline@ print 'Ignored failures:'@@@",
2575 "@@@STEP_LOG_LINE@python.inline@ for f in failures['ignored']:@@@",
2576 "@@@STEP_LOG_LINE@python.inline@ print f@@@",
2577 "@@@STEP_LOG_LINE@python.inline@@@@",
2578 "@@@STEP_LOG_LINE@python.inline@sys.exit(0 if success else 1)@@@",
2579 "@@@STEP_LOG_END@python.inline@@@",
2580 "@@@STEP_FAILURE@@@", 2561 "@@@STEP_FAILURE@@@",
2581 "@@@SET_BUILD_PROPERTY@failure_type@\"TEST_FAILURE\"@@@" 2562 "@@@SET_BUILD_PROPERTY@failure_type@\"TEST_FAILURE\"@@@",
2563 "@@@SET_BUILD_PROPERTY@failure_hash@\"219632d5cbb4c4bca9faaa20654f18f250ab 3f81\"@@@"
2582 ] 2564 ]
2565 },
2566 {
2567 "name": "$final_result",
2568 "reason": "1 out of 1 aggregated steps failed. Failures: Step('gl_tests') fa iled with return_code 1",
2569 "status_code": 1
2583 } 2570 }
2584 ] 2571 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698