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 "--master", | 7 "--master", |
8 "chromium.linux", | 8 "chromium.linux", |
9 "--builder", | 9 "--builder", |
10 "Android Tests", | 10 "Android Tests", |
(...skipping 205 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
216 "-u", | 216 "-u", |
217 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", | 217 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", |
218 "[SLAVE_BUILD]/src/testing/buildbot/chromium.linux.json", | 218 "[SLAVE_BUILD]/src/testing/buildbot/chromium.linux.json", |
219 "/path/to/tmp/json" | 219 "/path/to/tmp/json" |
220 ], | 220 ], |
221 "name": "read test spec (chromium.linux.json)", | 221 "name": "read test spec (chromium.linux.json)", |
222 "~followup_annotations": [ | 222 "~followup_annotations": [ |
223 "@@@STEP_TEXT@path: [SLAVE_BUILD]/src/testing/buildbot/chromium.linux.json
@@@", | 223 "@@@STEP_TEXT@path: [SLAVE_BUILD]/src/testing/buildbot/chromium.linux.json
@@@", |
224 "@@@STEP_LOG_LINE@json.output@{@@@", | 224 "@@@STEP_LOG_LINE@json.output@{@@@", |
225 "@@@STEP_LOG_LINE@json.output@ \"Android Tests\": {@@@", | 225 "@@@STEP_LOG_LINE@json.output@ \"Android Tests\": {@@@", |
226 "@@@STEP_LOG_LINE@json.output@ \"junit_tests\": [@@@", | 226 "@@@STEP_LOG_LINE@json.output@ \"gtest_tests\": [@@@", |
227 "@@@STEP_LOG_LINE@json.output@ {@@@", | 227 "@@@STEP_LOG_LINE@json.output@ {@@@", |
228 "@@@STEP_LOG_LINE@json.output@ \"test\": \"base_junit_tests\"@@@", | 228 "@@@STEP_LOG_LINE@json.output@ \"override_compile_targets\": [@@@", |
| 229 "@@@STEP_LOG_LINE@json.output@ \"chrome_public_test_apk\"@@@", |
| 230 "@@@STEP_LOG_LINE@json.output@ ], @@@", |
| 231 "@@@STEP_LOG_LINE@json.output@ \"override_isolate_target\": \"chrom
e_public_test_apk\", @@@", |
| 232 "@@@STEP_LOG_LINE@json.output@ \"swarming\": {@@@", |
| 233 "@@@STEP_LOG_LINE@json.output@ \"can_use_on_swarming_builders\":
true, @@@", |
| 234 "@@@STEP_LOG_LINE@json.output@ \"cipd_packages\": [@@@", |
| 235 "@@@STEP_LOG_LINE@json.output@ {@@@", |
| 236 "@@@STEP_LOG_LINE@json.output@ \"cipd_package\": \"infra/logd
og/linux-386\", @@@", |
| 237 "@@@STEP_LOG_LINE@json.output@ \"location\": \"{$HOME}/logdog
\", @@@", |
| 238 "@@@STEP_LOG_LINE@json.output@ \"revision\": \"git_revision:d
eadbeef\"@@@", |
| 239 "@@@STEP_LOG_LINE@json.output@ }@@@", |
| 240 "@@@STEP_LOG_LINE@json.output@ ], @@@", |
| 241 "@@@STEP_LOG_LINE@json.output@ \"dimension_sets\": [@@@", |
| 242 "@@@STEP_LOG_LINE@json.output@ {@@@", |
| 243 "@@@STEP_LOG_LINE@json.output@ \"build.id\": \"KTU84P\", @@@"
, |
| 244 "@@@STEP_LOG_LINE@json.output@ \"product.board\": \"hammerhea
d\"@@@", |
| 245 "@@@STEP_LOG_LINE@json.output@ }@@@", |
| 246 "@@@STEP_LOG_LINE@json.output@ ]@@@", |
| 247 "@@@STEP_LOG_LINE@json.output@ }, @@@", |
| 248 "@@@STEP_LOG_LINE@json.output@ \"test\": \"chrome_public_test_apk\"
@@@", |
229 "@@@STEP_LOG_LINE@json.output@ }@@@", | 249 "@@@STEP_LOG_LINE@json.output@ }@@@", |
230 "@@@STEP_LOG_LINE@json.output@ ]@@@", | 250 "@@@STEP_LOG_LINE@json.output@ ]@@@", |
231 "@@@STEP_LOG_LINE@json.output@ }@@@", | 251 "@@@STEP_LOG_LINE@json.output@ }@@@", |
232 "@@@STEP_LOG_LINE@json.output@}@@@", | 252 "@@@STEP_LOG_LINE@json.output@}@@@", |
233 "@@@STEP_LOG_END@json.output@@@" | 253 "@@@STEP_LOG_END@json.output@@@" |
234 ] | 254 ] |
235 }, | 255 }, |
236 { | 256 { |
237 "cmd": [ | 257 "cmd": [ |
238 "python", | 258 "python", |
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
321 "chromium.linux", | 341 "chromium.linux", |
322 "--build-number", | 342 "--build-number", |
323 "571" | 343 "571" |
324 ], | 344 ], |
325 "name": "extract build" | 345 "name": "extract build" |
326 }, | 346 }, |
327 { | 347 { |
328 "cmd": [ | 348 "cmd": [ |
329 "python", | 349 "python", |
330 "-u", | 350 "-u", |
| 351 "RECIPE_MODULE[build::isolate]/resources/find_isolated_tests.py", |
| 352 "--build-dir", |
| 353 "[SLAVE_BUILD]/src/out/Release", |
| 354 "--output-json", |
| 355 "/path/to/tmp/json" |
| 356 ], |
| 357 "env": { |
| 358 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
| 359 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
| 360 }, |
| 361 "name": "find isolated tests", |
| 362 "~followup_annotations": [ |
| 363 "@@@STEP_LOG_LINE@json.output@{@@@", |
| 364 "@@@STEP_LOG_LINE@json.output@ \"dummy_target_1\": \"[dummy hash for dumm
y_target_1]\", @@@", |
| 365 "@@@STEP_LOG_LINE@json.output@ \"dummy_target_2\": \"[dummy hash for dumm
y_target_2]\"@@@", |
| 366 "@@@STEP_LOG_LINE@json.output@}@@@", |
| 367 "@@@STEP_LOG_END@json.output@@@", |
| 368 "@@@SET_BUILD_PROPERTY@swarm_hashes@{\"dummy_target_1\": \"[dummy hash for
dummy_target_1]\", \"dummy_target_2\": \"[dummy hash for dummy_target_2]\"}@@@" |
| 369 ] |
| 370 }, |
| 371 { |
| 372 "cmd": [ |
| 373 "python", |
| 374 "-u", |
331 "RECIPE_MODULE[build::adb]/resources/list_devices.py", | 375 "RECIPE_MODULE[build::adb]/resources/list_devices.py", |
332 "['[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb', 'd
evices']", | 376 "['[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb', 'd
evices']", |
333 "/path/to/tmp/json" | 377 "/path/to/tmp/json" |
334 ], | 378 ], |
335 "env": { | 379 "env": { |
336 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | 380 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
337 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | 381 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
338 }, | 382 }, |
339 "name": "List adb devices", | 383 "name": "List adb devices", |
340 "~followup_annotations": [ | 384 "~followup_annotations": [ |
(...skipping 26 matching lines...) Expand all Loading... |
367 "@@@STEP_LOG_LINE@python.inline@ subprocess.check_call([adb_path, '-s', d
evice, 'root'])@@@", | 411 "@@@STEP_LOG_LINE@python.inline@ subprocess.check_call([adb_path, '-s', d
evice, 'root'])@@@", |
368 "@@@STEP_LOG_LINE@python.inline@ subprocess.check_call([adb_path, '-s', d
evice, 'wait-for-device'])@@@", | 412 "@@@STEP_LOG_LINE@python.inline@ subprocess.check_call([adb_path, '-s', d
evice, 'wait-for-device'])@@@", |
369 "@@@STEP_LOG_LINE@python.inline@ print 'Finished rooting device %s' % (de
vice)@@@", | 413 "@@@STEP_LOG_LINE@python.inline@ print 'Finished rooting device %s' % (de
vice)@@@", |
370 "@@@STEP_LOG_END@python.inline@@@" | 414 "@@@STEP_LOG_END@python.inline@@@" |
371 ] | 415 ] |
372 }, | 416 }, |
373 { | 417 { |
374 "cmd": [ | 418 "cmd": [ |
375 "python", | 419 "python", |
376 "-u", | 420 "-u", |
377 "[SLAVE_BUILD]/src/build/android/test_runner.py", | 421 "[SLAVE_BUILD]/src/tools/swarming_client/swarming.py", |
378 "junit", | 422 "trigger", |
379 "-s", | 423 "--swarming", |
380 "base_junit_tests", | 424 "https://chromium-swarm.appspot.com", |
381 "--verbose", | 425 "--isolate-server", |
382 "--release", | 426 "https://isolateserver.appspot.com", |
383 "--json-results-file", | 427 "--priority", |
| 428 "25", |
| 429 "--shards", |
| 430 "1", |
| 431 "--task-name", |
| 432 "chrome_public_test_apk/Android/llllllllll/Android Tests/571", |
| 433 "--dump-json", |
384 "/path/to/tmp/json", | 434 "/path/to/tmp/json", |
385 "--adb-path", | 435 "--expiration", |
386 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb" | 436 "3600", |
| 437 "--io-timeout", |
| 438 "1200", |
| 439 "--hard-timeout", |
| 440 "3600", |
| 441 "--dimension", |
| 442 "android_devices", |
| 443 "6", |
| 444 "--dimension", |
| 445 "build.id", |
| 446 "KTU84P", |
| 447 "--dimension", |
| 448 "os", |
| 449 "Android", |
| 450 "--dimension", |
| 451 "pool", |
| 452 "Chrome", |
| 453 "--dimension", |
| 454 "product.board", |
| 455 "hammerhead", |
| 456 "--tag", |
| 457 "buildername:Android Tests", |
| 458 "--tag", |
| 459 "buildnumber:571", |
| 460 "--tag", |
| 461 "data:llllllllllllllllll", |
| 462 "--tag", |
| 463 "master:chromium.linux", |
| 464 "--tag", |
| 465 "name:chrome_public_test_apk", |
| 466 "--tag", |
| 467 "os:Android", |
| 468 "--tag", |
| 469 "project:chromium", |
| 470 "--tag", |
| 471 "purpose:CI", |
| 472 "--tag", |
| 473 "purpose:post-commit", |
| 474 "--tag", |
| 475 "slavename:TestSlavename", |
| 476 "--tag", |
| 477 "stepname:chrome_public_test_apk on Android", |
| 478 "--idempotent", |
| 479 "--cipd-package", |
| 480 "{$HOME}/logdog:infra/logdog/linux-386:git_revision:deadbeef", |
| 481 "llllllllllllllllll", |
| 482 "--", |
| 483 "--test-launcher-summary-output=${ISOLATED_OUTDIR}/output.json" |
387 ], | 484 ], |
388 "env": { | 485 "env": { |
389 "CHROMIUM_OUTPUT_DIR": "[SLAVE_BUILD]/src/out/Release", | |
390 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | 486 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
391 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | 487 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
392 }, | 488 }, |
393 "name": "base_junit_tests", | 489 "name": "[trigger] chrome_public_test_apk on Android", |
394 "~followup_annotations": [ | 490 "~followup_annotations": [ |
395 "step returned non-zero exit code: 1", | 491 "@@@STEP_LOG_LINE@json.output@{@@@", |
396 "@@@STEP_TEXT@<br/>failures:<br/>Test.Two<br/>@@@", | 492 "@@@STEP_LOG_LINE@json.output@ \"base_task_name\": \"chrome_public_test_a
pk/Android/llllllllll/Android Tests/571\", @@@", |
397 "@@@STEP_FAILURE@@@" | 493 "@@@STEP_LOG_LINE@json.output@ \"tasks\": {@@@", |
| 494 "@@@STEP_LOG_LINE@json.output@ \"chrome_public_test_apk/Android/lllllll
lll/Android Tests/571\": {@@@", |
| 495 "@@@STEP_LOG_LINE@json.output@ \"shard_index\": 0, @@@", |
| 496 "@@@STEP_LOG_LINE@json.output@ \"task_id\": \"10000\", @@@", |
| 497 "@@@STEP_LOG_LINE@json.output@ \"view_url\": \"https://chromium-swarm
.appspot.com/user/task/10000\"@@@", |
| 498 "@@@STEP_LOG_LINE@json.output@ }@@@", |
| 499 "@@@STEP_LOG_LINE@json.output@ }@@@", |
| 500 "@@@STEP_LOG_LINE@json.output@}@@@", |
| 501 "@@@STEP_LOG_END@json.output@@@", |
| 502 "@@@STEP_LINK@shard #0@https://chromium-swarm.appspot.com/user/task/10000@
@@" |
398 ] | 503 ] |
399 }, | 504 }, |
400 { | 505 { |
| 506 "allow_subannotations": true, |
| 507 "cmd": [ |
| 508 "python", |
| 509 "-u", |
| 510 "RECIPE_PACKAGE_REPO[build]/scripts/tools/runit.py", |
| 511 "python", |
| 512 "RECIPE_MODULE[build::swarming]/resources/collect_gtest_task.py", |
| 513 "--swarming-client-dir", |
| 514 "[SLAVE_BUILD]/src/tools/swarming_client", |
| 515 "--temp-root-dir", |
| 516 "[TMP_BASE]", |
| 517 "--merged-test-output", |
| 518 "/path/to/tmp/json", |
| 519 "--", |
| 520 "collect", |
| 521 "--swarming", |
| 522 "https://chromium-swarm.appspot.com", |
| 523 "--decorate", |
| 524 "--print-status-updates", |
| 525 "--json", |
| 526 "{\"base_task_name\": \"chrome_public_test_apk/Android/llllllllll/Android
Tests/571\", \"tasks\": {\"chrome_public_test_apk/Android/llllllllll/Android Tes
ts/571\": {\"shard_index\": 0, \"task_id\": \"10000\", \"view_url\": \"https://c
hromium-swarm.appspot.com/user/task/10000\"}}}" |
| 527 ], |
| 528 "env": { |
| 529 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
| 530 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
| 531 }, |
| 532 "name": "chrome_public_test_apk on Android", |
| 533 "~followup_annotations": [ |
| 534 "@@@STEP_LINK@shard #0 isolated out@blah@@@", |
| 535 "@@@STEP_LINK@shard_index: 0 logcats@https://luci-logdog.appspot.com/v/?s=
android%2Fswarming%2Flogcats%2F10000%2F%2B%2Funified_logcats@@@" |
| 536 ] |
| 537 }, |
| 538 { |
401 "cmd": [ | 539 "cmd": [ |
402 "python", | 540 "python", |
403 "-u", | 541 "-u", |
404 "RECIPE_MODULE[build::test_results]/resources/upload_gtest_test_results.py
", | 542 "RECIPE_MODULE[build::test_results]/resources/upload_gtest_test_results.py
", |
405 "--input-gtest-json", | 543 "--input-gtest-json", |
406 "{\"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\"}]}]}", | 544 "{\"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\": \"SUCCESS\"}]}], \"s
warming_summary\": {\"shards\": [{\"outputs_ref\": {\"view_url\": \"blah\"}}]}}"
, |
407 "--master-name", | 545 "--master-name", |
408 "chromium.linux", | 546 "chromium.linux", |
409 "--builder-name", | 547 "--builder-name", |
410 "Android Tests", | 548 "Android Tests", |
411 "--build-number", | 549 "--build-number", |
412 "571", | 550 "571", |
413 "--test-type", | 551 "--test-type", |
414 "base_junit_tests", | 552 "chrome_public_test_apk on Android", |
415 "--test-results-server", | 553 "--test-results-server", |
416 "test-results.appspot.com", | 554 "test-results.appspot.com", |
417 "--chrome-revision", | 555 "--chrome-revision", |
418 "refs/heads/master@{#170242}" | 556 "170242" |
419 ], | 557 ], |
420 "env": { | 558 "env": { |
421 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | 559 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
422 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | 560 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
423 }, | 561 }, |
424 "name": "Upload to test-results [base_junit_tests]" | 562 "name": "Upload to test-results [chrome_public_test_apk on Android]" |
425 }, | 563 }, |
426 { | 564 { |
427 "cmd": [ | 565 "cmd": [ |
428 "python", | 566 "python", |
429 "-u", | 567 "-u", |
430 "\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", | 568 "\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", |
431 "[SLAVE_BUILD]/src/out/Release/test_logs/*.log" | 569 "[SLAVE_BUILD]/src/out/Release/test_logs/*.log" |
432 ], | 570 ], |
433 "env": { | 571 "env": { |
434 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | 572 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
435 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | 573 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
436 }, | 574 }, |
437 "name": "test_report", | 575 "name": "test_report", |
438 "~followup_annotations": [ | 576 "~followup_annotations": [ |
439 "@@@STEP_LOG_LINE@python.inline@@@@", | 577 "@@@STEP_LOG_LINE@python.inline@@@@", |
440 "@@@STEP_LOG_LINE@python.inline@import glob, os, sys@@@", | 578 "@@@STEP_LOG_LINE@python.inline@import glob, os, sys@@@", |
441 "@@@STEP_LOG_LINE@python.inline@for report in glob.glob(sys.argv[1]):@@@", | 579 "@@@STEP_LOG_LINE@python.inline@for report in glob.glob(sys.argv[1]):@@@", |
442 "@@@STEP_LOG_LINE@python.inline@ with open(report, 'r') as f:@@@", | 580 "@@@STEP_LOG_LINE@python.inline@ with open(report, 'r') as f:@@@", |
443 "@@@STEP_LOG_LINE@python.inline@ for l in f.readlines():@@@", | 581 "@@@STEP_LOG_LINE@python.inline@ for l in f.readlines():@@@", |
444 "@@@STEP_LOG_LINE@python.inline@ print l@@@", | 582 "@@@STEP_LOG_LINE@python.inline@ print l@@@", |
445 "@@@STEP_LOG_LINE@python.inline@ os.remove(report)@@@", | 583 "@@@STEP_LOG_LINE@python.inline@ os.remove(report)@@@", |
446 "@@@STEP_LOG_END@python.inline@@@" | 584 "@@@STEP_LOG_END@python.inline@@@" |
447 ] | 585 ] |
448 }, | 586 }, |
449 { | 587 { |
450 "name": "$result", | 588 "name": "$result", |
451 "reason": "1 tests failed: ['base_junit_tests']", | |
452 "recipe_result": null, | 589 "recipe_result": null, |
453 "status_code": 1 | 590 "status_code": 0 |
454 } | 591 } |
455 ] | 592 ] |
OLD | NEW |