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

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

Issue 2357343004: chromium_tests: automatically set up test genrators (Closed)
Patch Set: rebase Created 4 years, 2 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
OLDNEW
1 [ 1 [
2 { 2 {
3 "cmd": [ 3 "cmd": [
4 "python", 4 "python",
5 "-u", 5 "-u",
6 "\nimport sys, os\npath = sys.argv[1]\nmode = int(sys.argv[2])\nif not os. path.isdir(path):\n if os.path.exists(path):\n print \"%s exists but is not a dir\" % path\n sys.exit(1)\n os.makedirs(path, mode)\n", 6 "\nimport sys, os\npath = sys.argv[1]\nmode = int(sys.argv[2])\nif not os. path.isdir(path):\n if os.path.exists(path):\n print \"%s exists but is not a dir\" % path\n sys.exit(1)\n os.makedirs(path, mode)\n",
7 "[BUILDER_CACHE]/Blimp_Android_Client", 7 "[BUILDER_CACHE]/Blimp_Android_Client",
8 "511" 8 "511"
9 ], 9 ],
10 "name": "makedirs checkout path", 10 "name": "makedirs checkout path",
(...skipping 288 matching lines...) Expand 10 before | Expand all | Expand 10 after
299 "[BUILDER_CACHE]/Blimp_Android_Client/src/build/tree_truth.sh", 299 "[BUILDER_CACHE]/Blimp_Android_Client/src/build/tree_truth.sh",
300 "[BUILDER_CACHE]/Blimp_Android_Client/src", 300 "[BUILDER_CACHE]/Blimp_Android_Client/src",
301 "src" 301 "src"
302 ], 302 ],
303 "name": "tree truth steps" 303 "name": "tree truth steps"
304 }, 304 },
305 { 305 {
306 "cmd": [ 306 "cmd": [
307 "python", 307 "python",
308 "-u", 308 "-u",
309 "RECIPE_MODULE[build::isolate]/resources/find_isolated_tests.py",
310 "--build-dir",
311 "[BUILDER_CACHE]/Blimp_Android_Client/src/out/Release",
312 "--clean-isolated-files"
313 ],
314 "name": "clean isolated files"
315 },
316 {
317 "cmd": [
318 "python",
319 "-u",
309 "[BUILDER_CACHE]/Blimp_Android_Client/src/tools/mb/mb.py", 320 "[BUILDER_CACHE]/Blimp_Android_Client/src/tools/mb/mb.py",
310 "gen", 321 "gen",
311 "-m", 322 "-m",
312 "chromium.fyi", 323 "chromium.fyi",
313 "-b", 324 "-b",
314 "Blimp Android Client", 325 "Blimp Android Client",
315 "--config-file", 326 "--config-file",
316 "[BUILDER_CACHE]/Blimp_Android_Client/src/tools/mb/mb_config.pyl", 327 "[BUILDER_CACHE]/Blimp_Android_Client/src/tools/mb/mb_config.pyl",
317 "--goma-dir", 328 "--goma-dir",
318 "[CACHE]/cipd/goma", 329 "[CACHE]/cipd/goma",
330 "--swarming-targets-file",
331 "browser_tests_apk\n",
319 "//out/Release" 332 "//out/Release"
320 ], 333 ],
321 "cwd": "[BUILDER_CACHE]/Blimp_Android_Client/src", 334 "cwd": "[BUILDER_CACHE]/Blimp_Android_Client/src",
322 "env": { 335 "env": {
323 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json" 336 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json"
324 }, 337 },
325 "name": "generate_build_files" 338 "name": "generate_build_files",
339 "~followup_annotations": [
340 "@@@STEP_LOG_LINE@swarming-targets-file.txt@browser_tests_apk@@@",
341 "@@@STEP_LOG_END@swarming-targets-file.txt@@@"
342 ]
326 }, 343 },
327 { 344 {
328 "cmd": [ 345 "cmd": [
329 "python", 346 "python",
330 "-u", 347 "-u",
331 "RECIPE_PACKAGE_REPO[build]/scripts/tools/runit.py", 348 "RECIPE_PACKAGE_REPO[build]/scripts/tools/runit.py",
332 "--show-path", 349 "--show-path",
333 "python", 350 "python",
334 "RECIPE_PACKAGE_REPO[build]/scripts/slave/compile.py", 351 "RECIPE_PACKAGE_REPO[build]/scripts/slave/compile.py",
335 "--gsutil-py-path", 352 "--gsutil-py-path",
(...skipping 17 matching lines...) Expand all
353 "--build-data-dir", 370 "--build-data-dir",
354 "[ROOT]/build_data_dir", 371 "[ROOT]/build_data_dir",
355 "--compiler", 372 "--compiler",
356 "goma", 373 "goma",
357 "--goma-jsonstatus", 374 "--goma-jsonstatus",
358 "/path/to/tmp/json", 375 "/path/to/tmp/json",
359 "--goma-service-account-json-file", 376 "--goma-service-account-json-file",
360 "/creds/service_accounts/service-account-goma-client.json", 377 "/creds/service_accounts/service-account-goma-client.json",
361 "--goma-dir", 378 "--goma-dir",
362 "[CACHE]/cipd/goma", 379 "[CACHE]/cipd/goma",
363 "--" 380 "--",
381 "browser_tests_apk_run"
364 ], 382 ],
365 "env": { 383 "env": {
366 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json", 384 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json",
367 "PATH": "[BUILDER_CACHE]/Blimp_Android_Client/src/third_party/android_tool s/sdk/platform-tools:[BUILDER_CACHE]/Blimp_Android_Client/src/build/android:%(PA TH)s" 385 "PATH": "[BUILDER_CACHE]/Blimp_Android_Client/src/third_party/android_tool s/sdk/platform-tools:[BUILDER_CACHE]/Blimp_Android_Client/src/build/android:%(PA TH)s"
368 }, 386 },
369 "name": "compile", 387 "name": "compile",
370 "~followup_annotations": [ 388 "~followup_annotations": [
371 "@@@STEP_LOG_LINE@json.output (invalid)@null@@@", 389 "@@@STEP_LOG_LINE@json.output (invalid)@null@@@",
372 "@@@STEP_LOG_END@json.output (invalid)@@@" 390 "@@@STEP_LOG_END@json.output (invalid)@@@"
373 ] 391 ]
374 }, 392 },
375 { 393 {
394 "cmd": [
395 "python",
396 "-u",
397 "[BUILDER_CACHE]/Blimp_Android_Client/src/tools/determinism/remove_build_m etadata.py",
398 "--build-dir",
399 "[BUILDER_CACHE]/Blimp_Android_Client/src/out/Release"
400 ],
401 "cwd": "[SLAVE_BUILD]",
402 "name": "remove_build_metadata"
403 },
404 {
405 "cmd": [
406 "python",
407 "-u",
408 "RECIPE_MODULE[build::isolate]/resources/isolate.py",
409 "[BUILDER_CACHE]/Blimp_Android_Client/src/tools/swarming_client",
410 "batcharchive",
411 "--dump-json",
412 "/path/to/tmp/json",
413 "--isolate-server",
414 "https://isolateserver.appspot.com",
415 "--verbose",
416 "[BUILDER_CACHE]/Blimp_Android_Client/src/out/Release/browser_tests_apk.is olated.gen.json"
417 ],
418 "name": "isolate tests",
419 "~followup_annotations": [
420 "@@@STEP_LOG_LINE@json.output@{@@@",
421 "@@@STEP_LOG_LINE@json.output@ \"browser_tests_apk\": \"[dummy hash for b rowser_tests_apk]\"@@@",
422 "@@@STEP_LOG_LINE@json.output@}@@@",
423 "@@@STEP_LOG_END@json.output@@@"
424 ]
425 },
426 {
427 "cmd": [
428 "python",
429 "-u",
430 "RECIPE_MODULE[build::isolate]/resources/find_isolated_tests.py",
431 "--build-dir",
432 "[BUILDER_CACHE]/Blimp_Android_Client/src/out/Release",
433 "--output-json",
434 "/path/to/tmp/json"
435 ],
436 "cwd": "[BUILDER_CACHE]/Blimp_Android_Client",
437 "env": {
438 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json",
439 "PATH": "[BUILDER_CACHE]/Blimp_Android_Client/src/third_party/android_tool s/sdk/platform-tools:[BUILDER_CACHE]/Blimp_Android_Client/src/build/android:%(PA TH)s"
440 },
441 "name": "find isolated tests",
442 "~followup_annotations": [
443 "@@@STEP_LOG_LINE@json.output@{@@@",
444 "@@@STEP_LOG_LINE@json.output@ \"dummy_target_1\": \"[dummy hash for dumm y_target_1]\", @@@",
445 "@@@STEP_LOG_LINE@json.output@ \"dummy_target_2\": \"[dummy hash for dumm y_target_2]\"@@@",
446 "@@@STEP_LOG_LINE@json.output@}@@@",
447 "@@@STEP_LOG_END@json.output@@@",
448 "@@@SET_BUILD_PROPERTY@swarm_hashes@{\"dummy_target_1\": \"[dummy hash for dummy_target_1]\", \"dummy_target_2\": \"[dummy hash for dummy_target_2]\"}@@@"
449 ]
450 },
451 {
452 "cmd": [
453 "python",
454 "-u",
455 "\nimport sys\nprint '*.isolated file for target %s is missing' % sys.argv [1]\nsys.exit(1)\n",
456 "browser_tests_apk"
457 ],
458 "cwd": "[BUILDER_CACHE]/Blimp_Android_Client",
459 "env": {
460 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json",
461 "PATH": "[BUILDER_CACHE]/Blimp_Android_Client/src/third_party/android_tool s/sdk/platform-tools:[BUILDER_CACHE]/Blimp_Android_Client/src/build/android:%(PA TH)s"
462 },
463 "name": "[error] browser_tests",
464 "~followup_annotations": [
465 "@@@STEP_LOG_LINE@python.inline@@@@",
466 "@@@STEP_LOG_LINE@python.inline@import sys@@@",
467 "@@@STEP_LOG_LINE@python.inline@print '*.isolated file for target %s is mi ssing' % sys.argv[1]@@@",
468 "@@@STEP_LOG_LINE@python.inline@sys.exit(1)@@@",
469 "@@@STEP_LOG_END@python.inline@@@"
470 ]
471 },
472 {
473 "cmd": [
474 "python",
475 "-u",
476 "\nimport sys\nprint '%s wasn\\'t triggered' % sys.argv[1]\nsys.exit(1)\n" ,
477 "browser_tests"
478 ],
479 "cwd": "[BUILDER_CACHE]/Blimp_Android_Client",
480 "env": {
481 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json",
482 "PATH": "[BUILDER_CACHE]/Blimp_Android_Client/src/third_party/android_tool s/sdk/platform-tools:[BUILDER_CACHE]/Blimp_Android_Client/src/build/android:%(PA TH)s"
483 },
484 "name": "[collect error] browser_tests",
485 "~followup_annotations": [
486 "@@@STEP_LOG_LINE@python.inline@@@@",
487 "@@@STEP_LOG_LINE@python.inline@import sys@@@",
488 "@@@STEP_LOG_LINE@python.inline@print '%s wasn\\'t triggered' % sys.argv[1 ]@@@",
489 "@@@STEP_LOG_LINE@python.inline@sys.exit(1)@@@",
490 "@@@STEP_LOG_END@python.inline@@@"
491 ]
492 },
493 {
494 "cmd": [
495 "python",
496 "-u",
497 "\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",
498 "[BUILDER_CACHE]/Blimp_Android_Client/src/out/Release/test_logs/*.log"
499 ],
500 "cwd": "[BUILDER_CACHE]/Blimp_Android_Client",
501 "env": {
502 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json",
503 "PATH": "[BUILDER_CACHE]/Blimp_Android_Client/src/third_party/android_tool s/sdk/platform-tools:[BUILDER_CACHE]/Blimp_Android_Client/src/build/android:%(PA TH)s"
504 },
505 "name": "test_report",
506 "~followup_annotations": [
507 "@@@STEP_LOG_LINE@python.inline@@@@",
508 "@@@STEP_LOG_LINE@python.inline@import glob, os, sys@@@",
509 "@@@STEP_LOG_LINE@python.inline@for report in glob.glob(sys.argv[1]):@@@",
510 "@@@STEP_LOG_LINE@python.inline@ with open(report, 'r') as f:@@@",
511 "@@@STEP_LOG_LINE@python.inline@ for l in f.readlines():@@@",
512 "@@@STEP_LOG_LINE@python.inline@ print l@@@",
513 "@@@STEP_LOG_LINE@python.inline@ os.remove(report)@@@",
514 "@@@STEP_LOG_END@python.inline@@@"
515 ]
516 },
517 {
376 "name": "$result", 518 "name": "$result",
377 "recipe_result": null, 519 "recipe_result": null,
378 "status_code": 0 520 "status_code": 0
379 } 521 }
380 ] 522 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698