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