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

Side by Side Diff: scripts/slave/recipes/chromium.expected/dynamic_android_cloud_gtest.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, 6 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.fyi", 8 "chromium.fyi",
9 "--builder", 9 "--builder",
10 "Android Cloud Tests", 10 "Android Cloud Tests",
(...skipping 322 matching lines...) Expand 10 before | Expand all | Expand 10 after
333 }, 333 },
334 { 334 {
335 "cmd": [ 335 "cmd": [
336 "python", 336 "python",
337 "-u", 337 "-u",
338 "[SLAVE_BUILD]/src/build/symlink.py", 338 "[SLAVE_BUILD]/src/build/symlink.py",
339 "-f", 339 "-f",
340 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb", 340 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb",
341 "~/adb" 341 "~/adb"
342 ], 342 ],
343 "env": {
344 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json",
345 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
346 },
343 "name": "create adb symlink" 347 "name": "create adb symlink"
344 }, 348 },
345 { 349 {
346 "cmd": [ 350 "cmd": [
347 "python", 351 "python",
348 "-u", 352 "-u",
349 "RECIPE_MODULE[build::chromium_android]/resources/gce_manager.py", 353 "RECIPE_MODULE[build::chromium_android]/resources/gce_manager.py",
350 "TestSlavename", 354 "TestSlavename",
351 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb", 355 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb",
352 "--n", 356 "--n",
353 "6", 357 "6",
354 "launch", 358 "launch",
355 "--snapshot", 359 "--snapshot",
356 "clean-22-l-phone-snapshot" 360 "clean-22-l-phone-snapshot"
357 ], 361 ],
362 "env": {
363 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json",
364 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
365 },
358 "name": "launch_instances" 366 "name": "launch_instances"
359 }, 367 },
360 { 368 {
361 "cmd": [ 369 "cmd": [
362 "RECIPE_PACKAGE_REPO[build]/scripts/slave/daemonizer.py", 370 "RECIPE_PACKAGE_REPO[build]/scripts/slave/daemonizer.py",
363 "--", 371 "--",
364 "[SLAVE_BUILD]/src/build/android/adb_logcat_monitor.py", 372 "[SLAVE_BUILD]/src/build/android/adb_logcat_monitor.py",
365 "[SLAVE_BUILD]/src/out/logcat" 373 "[SLAVE_BUILD]/src/out/logcat"
366 ], 374 ],
367 "env": { 375 "env": {
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
410 }, 418 },
411 { 419 {
412 "cmd": [ 420 "cmd": [
413 "python", 421 "python",
414 "-u", 422 "-u",
415 "[SLAVE_BUILD]/src/build/android/adb_logcat_printer.py", 423 "[SLAVE_BUILD]/src/build/android/adb_logcat_printer.py",
416 "--output-path", 424 "--output-path",
417 "[SLAVE_BUILD]/src/out/Release/full_log", 425 "[SLAVE_BUILD]/src/out/Release/full_log",
418 "[SLAVE_BUILD]/src/out/logcat" 426 "[SLAVE_BUILD]/src/out/logcat"
419 ], 427 ],
428 "env": {
429 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json",
430 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
431 },
420 "name": "logcat_dump" 432 "name": "logcat_dump"
421 }, 433 },
422 { 434 {
423 "cmd": [ 435 "cmd": [
424 "python", 436 "python",
425 "-u", 437 "-u",
426 "RECIPE_MODULE[build::gsutil]/resources/gsutil_wrapper.py", 438 "RECIPE_MODULE[build::gsutil]/resources/gsutil_wrapper.py",
427 "--", 439 "--",
428 "[DEPOT_TOOLS]/gsutil.py", 440 "[DEPOT_TOOLS]/gsutil.py",
429 "--force-version", 441 "--force-version",
430 "4.7", 442 "4.7",
431 "-o", 443 "-o",
432 "GSUtil:parallel_composite_upload_threshold=50M", 444 "GSUtil:parallel_composite_upload_threshold=50M",
433 "----", 445 "----",
434 "cp", 446 "cp",
435 "[SLAVE_BUILD]/src/out/Release/full_log", 447 "[SLAVE_BUILD]/src/out/Release/full_log",
436 "gs://chromium-android/logcat_dumps/Android Cloud Tests/571" 448 "gs://chromium-android/logcat_dumps/Android Cloud Tests/571"
437 ], 449 ],
450 "env": {
451 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json",
452 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
453 },
438 "name": "gsutil upload", 454 "name": "gsutil upload",
439 "~followup_annotations": [ 455 "~followup_annotations": [
440 "@@@STEP_LINK@logcat dump@https://storage.cloud.google.com/chromium-androi d/logcat_dumps/Android Cloud Tests/571@@@" 456 "@@@STEP_LINK@logcat dump@https://storage.cloud.google.com/chromium-androi d/logcat_dumps/Android Cloud Tests/571@@@"
441 ] 457 ]
442 }, 458 },
443 { 459 {
444 "cmd": [ 460 "cmd": [
445 "[SLAVE_BUILD]/src/third_party/android_platform/development/scripts/stack" , 461 "[SLAVE_BUILD]/src/third_party/android_platform/development/scripts/stack" ,
446 "--arch", 462 "--arch",
447 "x86", 463 "x86",
(...skipping 25 matching lines...) Expand all
473 "cmd": [ 489 "cmd": [
474 "python", 490 "python",
475 "-u", 491 "-u",
476 "RECIPE_MODULE[build::chromium_android]/resources/gce_manager.py", 492 "RECIPE_MODULE[build::chromium_android]/resources/gce_manager.py",
477 "TestSlavename", 493 "TestSlavename",
478 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb", 494 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb",
479 "--n", 495 "--n",
480 "6", 496 "6",
481 "shutdown" 497 "shutdown"
482 ], 498 ],
499 "env": {
500 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json",
501 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
502 },
483 "name": "shutdown_instances" 503 "name": "shutdown_instances"
484 }, 504 },
485 { 505 {
486 "cmd": [ 506 "cmd": [
487 "python", 507 "python",
488 "-u", 508 "-u",
489 "\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", 509 "\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",
490 "[SLAVE_BUILD]/src/out/Release/test_logs/*.log" 510 "[SLAVE_BUILD]/src/out/Release/test_logs/*.log"
491 ], 511 ],
512 "env": {
513 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json",
514 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
515 },
492 "name": "test_report", 516 "name": "test_report",
493 "~followup_annotations": [ 517 "~followup_annotations": [
494 "@@@STEP_LOG_LINE@python.inline@@@@", 518 "@@@STEP_LOG_LINE@python.inline@@@@",
495 "@@@STEP_LOG_LINE@python.inline@import glob, os, sys@@@", 519 "@@@STEP_LOG_LINE@python.inline@import glob, os, sys@@@",
496 "@@@STEP_LOG_LINE@python.inline@for report in glob.glob(sys.argv[1]):@@@", 520 "@@@STEP_LOG_LINE@python.inline@for report in glob.glob(sys.argv[1]):@@@",
497 "@@@STEP_LOG_LINE@python.inline@ with open(report, 'r') as f:@@@", 521 "@@@STEP_LOG_LINE@python.inline@ with open(report, 'r') as f:@@@",
498 "@@@STEP_LOG_LINE@python.inline@ for l in f.readlines():@@@", 522 "@@@STEP_LOG_LINE@python.inline@ for l in f.readlines():@@@",
499 "@@@STEP_LOG_LINE@python.inline@ print l@@@", 523 "@@@STEP_LOG_LINE@python.inline@ print l@@@",
500 "@@@STEP_LOG_LINE@python.inline@ os.remove(report)@@@", 524 "@@@STEP_LOG_LINE@python.inline@ os.remove(report)@@@",
501 "@@@STEP_LOG_END@python.inline@@@" 525 "@@@STEP_LOG_END@python.inline@@@"
502 ] 526 ]
503 }, 527 },
504 { 528 {
505 "name": "$result", 529 "name": "$result",
506 "recipe_result": null, 530 "recipe_result": null,
507 "status_code": 0 531 "status_code": 0
508 } 532 }
509 ] 533 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698