| OLD | NEW |
| 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 "--spec", | 7 "--spec", |
| 8 "cache_dir = '[CACHE]/git'\nsolutions = [{'deps_file': '.DEPS.git', 'manag
ed': True, 'name': 'src', 'url': 'https://chromium.googlesource.com/chromium/src
.git'}]\ntarget_os = ['android']", | 8 "cache_dir = '[CACHE]/git'\nsolutions = [{'deps_file': '.DEPS.git', 'manag
ed': True, 'name': 'src', 'url': 'https://chromium.googlesource.com/chromium/src
.git'}]\ntarget_os = ['android']", |
| 9 "--patch_root", | 9 "--patch_root", |
| 10 "src", | 10 "src", |
| (...skipping 351 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 362 "@@@STEP_LOG_LINE@python.inline@adb_path = sys.argv[1]@@@", | 362 "@@@STEP_LOG_LINE@python.inline@adb_path = sys.argv[1]@@@", |
| 363 "@@@STEP_LOG_LINE@python.inline@for device in sys.argv[2:]:@@@", | 363 "@@@STEP_LOG_LINE@python.inline@for device in sys.argv[2:]:@@@", |
| 364 "@@@STEP_LOG_LINE@python.inline@ print 'Attempting to root device %s ...'
% (device)@@@", | 364 "@@@STEP_LOG_LINE@python.inline@ print 'Attempting to root device %s ...'
% (device)@@@", |
| 365 "@@@STEP_LOG_LINE@python.inline@ subprocess.check_call([adb_path, '-s', d
evice, 'root'])@@@", | 365 "@@@STEP_LOG_LINE@python.inline@ subprocess.check_call([adb_path, '-s', d
evice, 'root'])@@@", |
| 366 "@@@STEP_LOG_LINE@python.inline@ subprocess.check_call([adb_path, '-s', d
evice, 'wait-for-device'])@@@", | 366 "@@@STEP_LOG_LINE@python.inline@ subprocess.check_call([adb_path, '-s', d
evice, 'wait-for-device'])@@@", |
| 367 "@@@STEP_LOG_LINE@python.inline@ print 'Finished rooting device %s' % (de
vice)@@@", | 367 "@@@STEP_LOG_LINE@python.inline@ print 'Finished rooting device %s' % (de
vice)@@@", |
| 368 "@@@STEP_LOG_END@python.inline@@@" | 368 "@@@STEP_LOG_END@python.inline@@@" |
| 369 ] | 369 ] |
| 370 }, | 370 }, |
| 371 { | 371 { |
| 372 "cmd": [], |
| 373 "env": { |
| 374 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
| 375 "PATH": "[START_DIR]/src/third_party/android_tools/sdk/platform-tools:[STA
RT_DIR]/src/build/android:%(PATH)s" |
| 376 }, |
| 377 "name": "base_junit_tests", |
| 378 "~followup_annotations": [ |
| 379 "@@@STEP_TEXT@<br/>failures:<br/>Test.Two<br/>@@@", |
| 380 "@@@STEP_FAILURE@@@" |
| 381 ] |
| 382 }, |
| 383 { |
| 372 "cmd": [ | 384 "cmd": [ |
| 373 "python", | 385 "python", |
| 374 "-u", | 386 "-u", |
| 375 "[START_DIR]/src/build/android/test_runner.py", | 387 "[START_DIR]/src/build/android/test_runner.py", |
| 376 "junit", | 388 "junit", |
| 377 "-s", | 389 "-s", |
| 378 "base_junit_tests", | 390 "base_junit_tests", |
| 379 "--verbose", | 391 "--verbose", |
| 380 "--release", | 392 "--release", |
| 381 "--json-results-file", | 393 "--json-results-file", |
| 382 "/path/to/tmp/json", | 394 "/path/to/tmp/json", |
| 383 "--adb-path", | 395 "--adb-path", |
| 384 "[START_DIR]/src/third_party/android_tools/sdk/platform-tools/adb" | 396 "[START_DIR]/src/third_party/android_tools/sdk/platform-tools/adb" |
| 385 ], | 397 ], |
| 386 "env": { | 398 "env": { |
| 387 "CHROMIUM_OUTPUT_DIR": "[START_DIR]/src/out/Release", | 399 "CHROMIUM_OUTPUT_DIR": "[START_DIR]/src/out/Release", |
| 388 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | 400 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
| 389 "PATH": "[START_DIR]/src/third_party/android_tools/sdk/platform-tools:[STA
RT_DIR]/src/build/android:%(PATH)s" | 401 "PATH": "[START_DIR]/src/third_party/android_tools/sdk/platform-tools:[STA
RT_DIR]/src/build/android:%(PATH)s" |
| 390 }, | 402 }, |
| 391 "name": "base_junit_tests", | 403 "name": "base_junit_tests.base_junit_tests", |
| 392 "~followup_annotations": [ | 404 "~followup_annotations": [ |
| 405 "@@@STEP_NEST_LEVEL@1@@@", |
| 393 "step returned non-zero exit code: 1", | 406 "step returned non-zero exit code: 1", |
| 394 "@@@STEP_TEXT@<br/>failures:<br/>Test.Two<br/>@@@", | |
| 395 "@@@STEP_FAILURE@@@" | 407 "@@@STEP_FAILURE@@@" |
| 396 ] | 408 ] |
| 397 }, | 409 }, |
| 398 { | 410 { |
| 399 "cmd": [ | 411 "cmd": [ |
| 400 "python", | 412 "python", |
| 401 "-u", | 413 "-u", |
| 402 "RECIPE_MODULE[build::test_results]/resources/upload_test_results.py", | 414 "RECIPE_MODULE[build::test_results]/resources/upload_test_results.py", |
| 403 "--input-json", | 415 "--input-json", |
| 404 "{\"per_iteration_data\": [{\"Test.One\": [{\"elapsed_time_ms\": 0, \"outp
ut_snippet\": \"\", \"status\": \"SUCCESS\"}], \"Test.Three\": [{\"elapsed_time_
ms\": 0, \"output_snippet\": \"\", \"status\": \"SUCCESS\"}], \"Test.Two\": [{\"
elapsed_time_ms\": 0, \"output_snippet\": \"\", \"status\": \"FAILURE\"}]}]}", | 416 "{\"per_iteration_data\": [{\"Test.One\": [{\"elapsed_time_ms\": 0, \"outp
ut_snippet\": \"\", \"status\": \"SUCCESS\"}], \"Test.Three\": [{\"elapsed_time_
ms\": 0, \"output_snippet\": \"\", \"status\": \"SUCCESS\"}], \"Test.Two\": [{\"
elapsed_time_ms\": 0, \"output_snippet\": \"\", \"status\": \"FAILURE\"}]}]}", |
| 405 "--master-name", | 417 "--master-name", |
| 406 "chromium.linux", | 418 "chromium.linux", |
| 407 "--builder-name", | 419 "--builder-name", |
| 408 "Android Tests", | 420 "Android Tests", |
| 409 "--build-number", | 421 "--build-number", |
| 410 "571", | 422 "571", |
| 411 "--test-type", | 423 "--test-type", |
| 412 "base_junit_tests", | 424 "base_junit_tests", |
| 413 "--test-results-server", | 425 "--test-results-server", |
| 414 "test-results.appspot.com", | 426 "test-results.appspot.com", |
| 415 "--chrome-revision", | 427 "--chrome-revision", |
| 416 "refs/heads/master@{#170242}" | 428 "refs/heads/master@{#170242}" |
| 417 ], | 429 ], |
| 418 "env": { | 430 "env": { |
| 419 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | 431 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
| 420 "PATH": "[START_DIR]/src/third_party/android_tools/sdk/platform-tools:[STA
RT_DIR]/src/build/android:%(PATH)s" | 432 "PATH": "[START_DIR]/src/third_party/android_tools/sdk/platform-tools:[STA
RT_DIR]/src/build/android:%(PATH)s" |
| 421 }, | 433 }, |
| 422 "name": "Upload to test-results [base_junit_tests]" | 434 "name": "base_junit_tests.Upload to test-results [base_junit_tests]", |
| 435 "~followup_annotations": [ |
| 436 "@@@STEP_NEST_LEVEL@1@@@" |
| 437 ] |
| 423 }, | 438 }, |
| 424 { | 439 { |
| 425 "cmd": [ | 440 "cmd": [ |
| 426 "python", | 441 "python", |
| 427 "-u", | 442 "-u", |
| 428 "\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", | 443 "\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", |
| 429 "[START_DIR]/src/out/Release/test_logs/*.log" | 444 "[START_DIR]/src/out/Release/test_logs/*.log" |
| 430 ], | 445 ], |
| 431 "env": { | 446 "env": { |
| 432 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | 447 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
| (...skipping 11 matching lines...) Expand all Loading... |
| 444 "@@@STEP_LOG_END@python.inline@@@" | 459 "@@@STEP_LOG_END@python.inline@@@" |
| 445 ] | 460 ] |
| 446 }, | 461 }, |
| 447 { | 462 { |
| 448 "name": "$result", | 463 "name": "$result", |
| 449 "reason": "1 tests failed: ['base_junit_tests']", | 464 "reason": "1 tests failed: ['base_junit_tests']", |
| 450 "recipe_result": null, | 465 "recipe_result": null, |
| 451 "status_code": 1 | 466 "status_code": 1 |
| 452 } | 467 } |
| 453 ] | 468 ] |
| OLD | NEW |