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

Side by Side Diff: scripts/slave/recipes/chromium.expected/full_chromium_android_Android_N5X_Swarm_Builder.json

Issue 2014373002: chromium_tests: apply chromium.get_env() when running tests (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: Created 4 years, 7 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 "RECIPE_MODULE[depot_tools::bot_update]/resources/bot_update.py", 6 "RECIPE_MODULE[depot_tools::bot_update]/resources/bot_update.py",
7 "--master", 7 "--master",
8 "chromium.android", 8 "chromium.android",
9 "--builder", 9 "--builder",
10 "Android N5X Swarm Builder", 10 "Android N5X Swarm Builder",
(...skipping 390 matching lines...) Expand 10 before | Expand all | Expand 10 after
401 { 401 {
402 "cmd": [ 402 "cmd": [
403 "python", 403 "python",
404 "-u", 404 "-u",
405 "RECIPE_MODULE[build::isolate]/resources/find_isolated_tests.py", 405 "RECIPE_MODULE[build::isolate]/resources/find_isolated_tests.py",
406 "--build-dir", 406 "--build-dir",
407 "[SLAVE_BUILD]/src/out/Release", 407 "[SLAVE_BUILD]/src/out/Release",
408 "--output-json", 408 "--output-json",
409 "/path/to/tmp/json" 409 "/path/to/tmp/json"
410 ], 410 ],
411 "env": {
412 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json",
413 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
414 },
411 "name": "find isolated tests", 415 "name": "find isolated tests",
412 "~followup_annotations": [ 416 "~followup_annotations": [
413 "@@@STEP_LOG_LINE@json.output@{@@@", 417 "@@@STEP_LOG_LINE@json.output@{@@@",
414 "@@@STEP_LOG_LINE@json.output@ \"dummy_target_1\": \"[dummy hash for dumm y_target_1]\", @@@", 418 "@@@STEP_LOG_LINE@json.output@ \"dummy_target_1\": \"[dummy hash for dumm y_target_1]\", @@@",
415 "@@@STEP_LOG_LINE@json.output@ \"dummy_target_2\": \"[dummy hash for dumm y_target_2]\"@@@", 419 "@@@STEP_LOG_LINE@json.output@ \"dummy_target_2\": \"[dummy hash for dumm y_target_2]\"@@@",
416 "@@@STEP_LOG_LINE@json.output@}@@@", 420 "@@@STEP_LOG_LINE@json.output@}@@@",
417 "@@@STEP_LOG_END@json.output@@@", 421 "@@@STEP_LOG_END@json.output@@@",
418 "@@@SET_BUILD_PROPERTY@swarm_hashes@{\"dummy_target_1\": \"[dummy hash for dummy_target_1]\", \"dummy_target_2\": \"[dummy hash for dummy_target_2]\"}@@@" 422 "@@@SET_BUILD_PROPERTY@swarm_hashes@{\"dummy_target_1\": \"[dummy hash for dummy_target_1]\", \"dummy_target_2\": \"[dummy hash for dummy_target_2]\"}@@@"
419 ] 423 ]
420 }, 424 },
421 { 425 {
422 "cmd": [ 426 "cmd": [
423 "python", 427 "python",
424 "-u", 428 "-u",
425 "\nimport sys\nprint '*.isolated file for target %s is missing' % sys.argv [1]\nsys.exit(1)\n", 429 "\nimport sys\nprint '*.isolated file for target %s is missing' % sys.argv [1]\nsys.exit(1)\n",
426 "browser_tests_apk" 430 "browser_tests_apk"
427 ], 431 ],
432 "env": {
433 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json",
434 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
435 },
428 "name": "[error] browser_tests", 436 "name": "[error] browser_tests",
429 "~followup_annotations": [ 437 "~followup_annotations": [
430 "@@@STEP_LOG_LINE@python.inline@@@@", 438 "@@@STEP_LOG_LINE@python.inline@@@@",
431 "@@@STEP_LOG_LINE@python.inline@import sys@@@", 439 "@@@STEP_LOG_LINE@python.inline@import sys@@@",
432 "@@@STEP_LOG_LINE@python.inline@print '*.isolated file for target %s is mi ssing' % sys.argv[1]@@@", 440 "@@@STEP_LOG_LINE@python.inline@print '*.isolated file for target %s is mi ssing' % sys.argv[1]@@@",
433 "@@@STEP_LOG_LINE@python.inline@sys.exit(1)@@@", 441 "@@@STEP_LOG_LINE@python.inline@sys.exit(1)@@@",
434 "@@@STEP_LOG_END@python.inline@@@" 442 "@@@STEP_LOG_END@python.inline@@@"
435 ] 443 ]
436 }, 444 },
437 { 445 {
438 "cmd": [ 446 "cmd": [
439 "python", 447 "python",
440 "-u", 448 "-u",
441 "\nimport sys\nprint '%s wasn\\'t triggered' % sys.argv[1]\nsys.exit(1)\n" , 449 "\nimport sys\nprint '%s wasn\\'t triggered' % sys.argv[1]\nsys.exit(1)\n" ,
442 "browser_tests" 450 "browser_tests"
443 ], 451 ],
452 "env": {
453 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json",
454 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
455 },
444 "name": "[collect error] browser_tests", 456 "name": "[collect error] browser_tests",
445 "~followup_annotations": [ 457 "~followup_annotations": [
446 "@@@STEP_LOG_LINE@python.inline@@@@", 458 "@@@STEP_LOG_LINE@python.inline@@@@",
447 "@@@STEP_LOG_LINE@python.inline@import sys@@@", 459 "@@@STEP_LOG_LINE@python.inline@import sys@@@",
448 "@@@STEP_LOG_LINE@python.inline@print '%s wasn\\'t triggered' % sys.argv[1 ]@@@", 460 "@@@STEP_LOG_LINE@python.inline@print '%s wasn\\'t triggered' % sys.argv[1 ]@@@",
449 "@@@STEP_LOG_LINE@python.inline@sys.exit(1)@@@", 461 "@@@STEP_LOG_LINE@python.inline@sys.exit(1)@@@",
450 "@@@STEP_LOG_END@python.inline@@@" 462 "@@@STEP_LOG_END@python.inline@@@"
451 ] 463 ]
452 }, 464 },
453 { 465 {
454 "cmd": [ 466 "cmd": [
455 "python", 467 "python",
456 "-u", 468 "-u",
457 "\nimport glob, os, sys\nfor report in glob.glob(sys.argv[1]):\n with ope n(report, 'r') as f:\n for l in f.readlines():\n print l\n os.remove(re port)\n", 469 "\nimport glob, os, sys\nfor report in glob.glob(sys.argv[1]):\n with ope n(report, 'r') as f:\n for l in f.readlines():\n print l\n os.remove(re port)\n",
458 "[SLAVE_BUILD]/src/out/Release/test_logs/*.log" 470 "[SLAVE_BUILD]/src/out/Release/test_logs/*.log"
459 ], 471 ],
472 "env": {
473 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json",
474 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
475 },
460 "name": "test_report", 476 "name": "test_report",
461 "~followup_annotations": [ 477 "~followup_annotations": [
462 "@@@STEP_LOG_LINE@python.inline@@@@", 478 "@@@STEP_LOG_LINE@python.inline@@@@",
463 "@@@STEP_LOG_LINE@python.inline@import glob, os, sys@@@", 479 "@@@STEP_LOG_LINE@python.inline@import glob, os, sys@@@",
464 "@@@STEP_LOG_LINE@python.inline@for report in glob.glob(sys.argv[1]):@@@", 480 "@@@STEP_LOG_LINE@python.inline@for report in glob.glob(sys.argv[1]):@@@",
465 "@@@STEP_LOG_LINE@python.inline@ with open(report, 'r') as f:@@@", 481 "@@@STEP_LOG_LINE@python.inline@ with open(report, 'r') as f:@@@",
466 "@@@STEP_LOG_LINE@python.inline@ for l in f.readlines():@@@", 482 "@@@STEP_LOG_LINE@python.inline@ for l in f.readlines():@@@",
467 "@@@STEP_LOG_LINE@python.inline@ print l@@@", 483 "@@@STEP_LOG_LINE@python.inline@ print l@@@",
468 "@@@STEP_LOG_LINE@python.inline@ os.remove(report)@@@", 484 "@@@STEP_LOG_LINE@python.inline@ os.remove(report)@@@",
469 "@@@STEP_LOG_END@python.inline@@@" 485 "@@@STEP_LOG_END@python.inline@@@"
470 ] 486 ]
471 }, 487 },
472 { 488 {
473 "name": "$result", 489 "name": "$result",
474 "recipe_result": null, 490 "recipe_result": null,
475 "status_code": 0 491 "status_code": 0
476 } 492 }
477 ] 493 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698