| [ |
| { |
| "cmd": [ |
| "python", |
| "-u", |
| "RECIPE_MODULE[depot_tools::git]/resources/git_setup.py", |
| "--path", |
| "[START_DIR]/flutter", |
| "--url", |
| "https://chromium.googlesource.com/external/github.com/flutter/flutter" |
| ], |
| "name": "git setup" |
| }, |
| { |
| "cmd": [ |
| "git", |
| "fetch", |
| "origin", |
| "master", |
| "--recurse-submodules", |
| "--progress", |
| "--tags" |
| ], |
| "cwd": "[START_DIR]/flutter", |
| "env": { |
| "PATH": "RECIPE_REPO[depot_tools]:<PATH>" |
| }, |
| "infra_step": true, |
| "name": "git fetch" |
| }, |
| { |
| "cmd": [ |
| "git", |
| "checkout", |
| "-f", |
| "FETCH_HEAD" |
| ], |
| "cwd": "[START_DIR]/flutter", |
| "infra_step": true, |
| "name": "git checkout" |
| }, |
| { |
| "cmd": [ |
| "git", |
| "rev-parse", |
| "HEAD" |
| ], |
| "cwd": "[START_DIR]/flutter", |
| "infra_step": true, |
| "name": "read revision", |
| "~followup_annotations": [ |
| "@@@STEP_TEXT@<br/>checked out 'deadbeef'<br/>@@@", |
| "@@@SET_BUILD_PROPERTY@got_revision@\"deadbeef\"@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "clean", |
| "-f", |
| "-d", |
| "-x" |
| ], |
| "cwd": "[START_DIR]/flutter", |
| "infra_step": true, |
| "name": "git clean" |
| }, |
| { |
| "cmd": [ |
| "git", |
| "submodule", |
| "sync" |
| ], |
| "cwd": "[START_DIR]/flutter", |
| "infra_step": true, |
| "name": "submodule sync" |
| }, |
| { |
| "cmd": [ |
| "git", |
| "submodule", |
| "update", |
| "--init", |
| "--recursive" |
| ], |
| "cwd": "[START_DIR]/flutter", |
| "infra_step": true, |
| "name": "submodule update" |
| }, |
| { |
| "cmd": [], |
| "name": "Download goldctl" |
| }, |
| { |
| "cmd": [ |
| "cipd", |
| "ensure", |
| "-root", |
| "[CACHE]/gold", |
| "-ensure-file", |
| "skia/tools/goldctl/${platform} latest", |
| "-max-threads", |
| "0", |
| "-json-output", |
| "/path/to/tmp/json" |
| ], |
| "name": "Download goldctl.ensure_installed", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LOG_LINE@json.output@{@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"result\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"\": [@@@", |
| "@@@STEP_LOG_LINE@json.output@ {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"resolved-instance_id-of-latest----------\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"package\": \"skia/tools/goldctl/resolved-platform\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ }@@@", |
| "@@@STEP_LOG_LINE@json.output@ ]@@@", |
| "@@@STEP_LOG_LINE@json.output@ }@@@", |
| "@@@STEP_LOG_LINE@json.output@}@@@", |
| "@@@STEP_LOG_END@json.output@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "flutter", |
| "doctor" |
| ], |
| "cwd": "[START_DIR]/flutter", |
| "env": { |
| "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", |
| "GOLDCTL": "[CACHE]/gold/goldctl", |
| "PUB_CACHE": "[START_DIR]/flutter/.pub-cache" |
| }, |
| "env_prefixes": { |
| "PATH": [ |
| "[START_DIR]/flutter/bin", |
| "[START_DIR]/flutter/bin/cache/dart-sdk/bin" |
| ] |
| }, |
| "name": "flutter doctor" |
| }, |
| { |
| "cmd": [ |
| "flutter", |
| "update-packages" |
| ], |
| "cwd": "[START_DIR]/flutter", |
| "env": { |
| "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", |
| "GOLDCTL": "[CACHE]/gold/goldctl", |
| "PUB_CACHE": "[START_DIR]/flutter/.pub-cache" |
| }, |
| "env_prefixes": { |
| "PATH": [ |
| "[START_DIR]/flutter/bin", |
| "[START_DIR]/flutter/bin/cache/dart-sdk/bin" |
| ] |
| }, |
| "name": "download dependencies" |
| }, |
| { |
| "cmd": [], |
| "name": "Run Fuchsia Driver Tests" |
| }, |
| { |
| "cmd": [ |
| "flutter", |
| "precache", |
| "--fuchsia", |
| "--no-android", |
| "--no-ios" |
| ], |
| "cwd": "[START_DIR]/flutter", |
| "env": { |
| "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", |
| "GOLDCTL": "[CACHE]/gold/goldctl", |
| "PUB_CACHE": "[START_DIR]/flutter/.pub-cache" |
| }, |
| "env_prefixes": { |
| "PATH": [ |
| "[START_DIR]/flutter/bin", |
| "[START_DIR]/flutter/bin/cache/dart-sdk/bin" |
| ] |
| }, |
| "name": "Run Fuchsia Driver Tests.precache fuchsia artifacts", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "flutter", |
| "precache", |
| "--flutter_runner", |
| "--no-android", |
| "--no-ios" |
| ], |
| "cwd": "[START_DIR]/flutter", |
| "env": { |
| "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", |
| "GOLDCTL": "[CACHE]/gold/goldctl", |
| "PUB_CACHE": "[START_DIR]/flutter/.pub-cache" |
| }, |
| "env_prefixes": { |
| "PATH": [ |
| "[START_DIR]/flutter/bin", |
| "[START_DIR]/flutter/bin/cache/dart-sdk/bin" |
| ] |
| }, |
| "name": "Run Fuchsia Driver Tests.precache flutter runners", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "Run Fuchsia Driver Tests.Create Isolate Archive", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "Run Fuchsia Driver Tests.Create Isolate Archive.Download Fuchsia Archives", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "copy", |
| "[START_DIR]/flutter/bin/cache/artifacts/fuchsia/meta/manifest.json", |
| "/path/to/tmp/" |
| ], |
| "cwd": "[START_DIR]/flutter", |
| "env": { |
| "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", |
| "GOLDCTL": "[CACHE]/gold/goldctl", |
| "PUB_CACHE": "[START_DIR]/flutter/.pub-cache" |
| }, |
| "env_prefixes": { |
| "PATH": [ |
| "[START_DIR]/flutter/bin", |
| "[START_DIR]/flutter/bin/cache/dart-sdk/bin" |
| ] |
| }, |
| "infra_step": true, |
| "name": "Run Fuchsia Driver Tests.Create Isolate Archive.Download Fuchsia Archives.Read fuchsia build manifest", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@3@@@", |
| "@@@STEP_LOG_LINE@manifest.json@{\"id\": 123}@@@", |
| "@@@STEP_LOG_END@manifest.json@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "python", |
| "-u", |
| "RECIPE_MODULE[depot_tools::gsutil]/resources/gsutil_smart_retry.py", |
| "--", |
| "RECIPE_REPO[depot_tools]/gsutil.py", |
| "----", |
| "cp", |
| "gs://fuchsia/development/123/images/generic-x64.tgz", |
| "[CLEANUP]/tmp_tmp_1" |
| ], |
| "cwd": "[START_DIR]/flutter", |
| "env": { |
| "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", |
| "GOLDCTL": "[CACHE]/gold/goldctl", |
| "PUB_CACHE": "[START_DIR]/flutter/.pub-cache" |
| }, |
| "env_prefixes": { |
| "PATH": [ |
| "[START_DIR]/flutter/bin", |
| "[START_DIR]/flutter/bin/cache/dart-sdk/bin" |
| ] |
| }, |
| "infra_step": true, |
| "name": "Run Fuchsia Driver Tests.Create Isolate Archive.Download Fuchsia Archives.gsutil download fuchsia system image", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@3@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "python", |
| "-u", |
| "RECIPE_MODULE[depot_tools::gsutil]/resources/gsutil_smart_retry.py", |
| "--", |
| "RECIPE_REPO[depot_tools]/gsutil.py", |
| "----", |
| "cp", |
| "gs://fuchsia/development/123/packages/generic-x64.tar.gz", |
| "[CLEANUP]/tmp_tmp_1" |
| ], |
| "cwd": "[START_DIR]/flutter", |
| "env": { |
| "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", |
| "GOLDCTL": "[CACHE]/gold/goldctl", |
| "PUB_CACHE": "[START_DIR]/flutter/.pub-cache" |
| }, |
| "env_prefixes": { |
| "PATH": [ |
| "[START_DIR]/flutter/bin", |
| "[START_DIR]/flutter/bin/cache/dart-sdk/bin" |
| ] |
| }, |
| "infra_step": true, |
| "name": "Run Fuchsia Driver Tests.Create Isolate Archive.Download Fuchsia Archives.gsutil download fuchsia companion packages", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@3@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "Run Fuchsia Driver Tests.Create Isolate Archive.Copy Fuchsia CTL Deps", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "copy", |
| "[START_DIR]/flutter/dev/bots/run_fuchsia_tests.sh", |
| "[CLEANUP]/tmp_tmp_1" |
| ], |
| "cwd": "[START_DIR]/flutter", |
| "env": { |
| "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", |
| "GOLDCTL": "[CACHE]/gold/goldctl", |
| "PUB_CACHE": "[START_DIR]/flutter/.pub-cache" |
| }, |
| "env_prefixes": { |
| "PATH": [ |
| "[START_DIR]/flutter/bin", |
| "[START_DIR]/flutter/bin/cache/dart-sdk/bin" |
| ] |
| }, |
| "infra_step": true, |
| "name": "Run Fuchsia Driver Tests.Create Isolate Archive.Copy Fuchsia CTL Deps.Copy test script", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@3@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "copy", |
| "[START_DIR]/flutter/bin/cache/artifacts/fuchsia/tools/dev_finder", |
| "[CLEANUP]/tmp_tmp_1" |
| ], |
| "cwd": "[START_DIR]/flutter", |
| "env": { |
| "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", |
| "GOLDCTL": "[CACHE]/gold/goldctl", |
| "PUB_CACHE": "[START_DIR]/flutter/.pub-cache" |
| }, |
| "env_prefixes": { |
| "PATH": [ |
| "[START_DIR]/flutter/bin", |
| "[START_DIR]/flutter/bin/cache/dart-sdk/bin" |
| ] |
| }, |
| "infra_step": true, |
| "name": "Run Fuchsia Driver Tests.Create Isolate Archive.Copy Fuchsia CTL Deps.Copy dev_finder", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@3@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "copy", |
| "[START_DIR]/flutter/bin/cache/artifacts/fuchsia/tools/pm", |
| "[CLEANUP]/tmp_tmp_1" |
| ], |
| "cwd": "[START_DIR]/flutter", |
| "env": { |
| "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", |
| "GOLDCTL": "[CACHE]/gold/goldctl", |
| "PUB_CACHE": "[START_DIR]/flutter/.pub-cache" |
| }, |
| "env_prefixes": { |
| "PATH": [ |
| "[START_DIR]/flutter/bin", |
| "[START_DIR]/flutter/bin/cache/dart-sdk/bin" |
| ] |
| }, |
| "infra_step": true, |
| "name": "Run Fuchsia Driver Tests.Create Isolate Archive.Copy Fuchsia CTL Deps.Copy pm", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@3@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "copytree", |
| "[START_DIR]/flutter", |
| "[CLEANUP]/tmp_tmp_1/flutter" |
| ], |
| "cwd": "[START_DIR]/flutter", |
| "env": { |
| "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", |
| "GOLDCTL": "[CACHE]/gold/goldctl", |
| "PUB_CACHE": "[START_DIR]/flutter/.pub-cache" |
| }, |
| "env_prefixes": { |
| "PATH": [ |
| "[START_DIR]/flutter/bin", |
| "[START_DIR]/flutter/bin/cache/dart-sdk/bin" |
| ] |
| }, |
| "infra_step": true, |
| "name": "Run Fuchsia Driver Tests.Create Isolate Archive.Copy flutter framework", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "Run Fuchsia Driver Tests.Create Isolate Archive.ensure isolated", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "cipd", |
| "ensure", |
| "-root", |
| "[CACHE]/isolated_client", |
| "-ensure-file", |
| "infra/tools/luci/isolated/${platform} git_revision:305e79001db1846906c7136d90a863bee5bd3bfc", |
| "-max-threads", |
| "0", |
| "-json-output", |
| "/path/to/tmp/json" |
| ], |
| "cwd": "[START_DIR]/flutter", |
| "env": { |
| "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", |
| "GOLDCTL": "[CACHE]/gold/goldctl", |
| "PUB_CACHE": "[START_DIR]/flutter/.pub-cache" |
| }, |
| "env_prefixes": { |
| "PATH": [ |
| "[START_DIR]/flutter/bin", |
| "[START_DIR]/flutter/bin/cache/dart-sdk/bin" |
| ] |
| }, |
| "infra_step": true, |
| "name": "Run Fuchsia Driver Tests.Create Isolate Archive.ensure isolated.ensure_installed", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@3@@@", |
| "@@@STEP_LOG_LINE@json.output@{@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"result\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"\": [@@@", |
| "@@@STEP_LOG_LINE@json.output@ {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"resolved-instance_id-of-git_revision:305\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"package\": \"infra/tools/luci/isolated/resolved-platform\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ }@@@", |
| "@@@STEP_LOG_LINE@json.output@ ]@@@", |
| "@@@STEP_LOG_LINE@json.output@ }@@@", |
| "@@@STEP_LOG_LINE@json.output@}@@@", |
| "@@@STEP_LOG_END@json.output@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "[CACHE]/isolated_client/isolated", |
| "archive", |
| "-verbose", |
| "-isolate-server", |
| "https://example.isolateserver.appspot.com", |
| "-namespace", |
| "default-gzip", |
| "-dump-hash", |
| "/path/to/tmp/", |
| "-dirs", |
| "[CLEANUP]/tmp_tmp_1:." |
| ], |
| "cwd": "[START_DIR]/flutter", |
| "env": { |
| "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", |
| "GOLDCTL": "[CACHE]/gold/goldctl", |
| "PUB_CACHE": "[START_DIR]/flutter/.pub-cache" |
| }, |
| "env_prefixes": { |
| "PATH": [ |
| "[START_DIR]/flutter/bin", |
| "[START_DIR]/flutter/bin/cache/dart-sdk/bin" |
| ] |
| }, |
| "infra_step": true, |
| "name": "Run Fuchsia Driver Tests.Create Isolate Archive.Archive Fuchsia Test Isolate", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@", |
| "@@@STEP_LINK@isolated UI@https://example.isolateserver.appspot.com/browse?namespace=default-gzip&hash=%5Bdummy+hash%5D@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "rmtree", |
| "[CLEANUP]/tmp_tmp_1" |
| ], |
| "cwd": "[START_DIR]/flutter", |
| "env": { |
| "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", |
| "GOLDCTL": "[CACHE]/gold/goldctl", |
| "PUB_CACHE": "[START_DIR]/flutter/.pub-cache" |
| }, |
| "env_prefixes": { |
| "PATH": [ |
| "[START_DIR]/flutter/bin", |
| "[START_DIR]/flutter/bin/cache/dart-sdk/bin" |
| ] |
| }, |
| "infra_step": true, |
| "name": "Run Fuchsia Driver Tests.Create Isolate Archive.temp dir for isolate_dir", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "Run Fuchsia Driver Tests.ensure swarming", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "cipd", |
| "ensure", |
| "-root", |
| "[CACHE]/swarming_client", |
| "-ensure-file", |
| "infra/tools/luci/swarming/${platform} git_revision:62a9c18c7fd447316832d0d768f99cfc9bac7f87", |
| "-max-threads", |
| "0", |
| "-json-output", |
| "/path/to/tmp/json" |
| ], |
| "cwd": "[START_DIR]/flutter", |
| "env": { |
| "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", |
| "GOLDCTL": "[CACHE]/gold/goldctl", |
| "PUB_CACHE": "[START_DIR]/flutter/.pub-cache" |
| }, |
| "env_prefixes": { |
| "PATH": [ |
| "[START_DIR]/flutter/bin", |
| "[START_DIR]/flutter/bin/cache/dart-sdk/bin" |
| ] |
| }, |
| "infra_step": true, |
| "name": "Run Fuchsia Driver Tests.ensure swarming.ensure_installed", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@", |
| "@@@STEP_LOG_LINE@json.output@{@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"result\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"\": [@@@", |
| "@@@STEP_LOG_LINE@json.output@ {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"resolved-instance_id-of-git_revision:62a\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"package\": \"infra/tools/luci/swarming/resolved-platform\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ }@@@", |
| "@@@STEP_LOG_LINE@json.output@ ]@@@", |
| "@@@STEP_LOG_LINE@json.output@ }@@@", |
| "@@@STEP_LOG_LINE@json.output@}@@@", |
| "@@@STEP_LOG_END@json.output@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "[CACHE]/swarming_client/swarming", |
| "spawn-tasks", |
| "-server", |
| "https://example.swarmingserver.appspot.com", |
| "-json-input", |
| "{\"requests\": [{\"name\": \"flutter_fuchsia_driver_tests\", \"priority\": \"100\", \"service_account\": \"\", \"task_slices\": [{\"expiration_secs\": \"3600\", \"properties\": {\"cipd_input\": {\"packages\": [{\"package_name\": \"flutter/fuchsia_ctl/${platform}\", \"path\": \".\", \"version\": \"version:0.0.2\"}]}, \"command\": [\"./run_fuchsia_tests.sh\", \"generic-x64.tgz\"], \"containment\": {\"containment_type\": \"AUTO\", \"limit_processes\": \"0\", \"limit_total_committed_memory\": \"0\", \"lower_priority\": false}, \"dimensions\": [{\"key\": \"pool\", \"value\": \"luci.flutter.tests\"}], \"env\": [], \"env_prefixes\": [], \"execution_timeout_secs\": \"3600\", \"grace_period_secs\": \"30\", \"idempotent\": true, \"inputs_ref\": {\"isolated\": \"[dummy hash]\", \"isolatedserver\": \"https://example.isolateserver.appspot.com\", \"namespace\": \"default-gzip\"}, \"io_timeout_secs\": \"3600\", \"outputs\": []}}]}]}", |
| "-json-output", |
| "/path/to/tmp/json" |
| ], |
| "cwd": "[START_DIR]/flutter", |
| "env": { |
| "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", |
| "GOLDCTL": "[CACHE]/gold/goldctl", |
| "PUB_CACHE": "[START_DIR]/flutter/.pub-cache" |
| }, |
| "env_prefixes": { |
| "PATH": [ |
| "[START_DIR]/flutter/bin", |
| "[START_DIR]/flutter/bin/cache/dart-sdk/bin" |
| ] |
| }, |
| "infra_step": true, |
| "name": "Run Fuchsia Driver Tests.Trigger Fuchsia Driver Tests", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LOG_LINE@json.output@{@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"tasks\": [@@@", |
| "@@@STEP_LOG_LINE@json.output@ {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"request\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"name\": \"flutter_fuchsia_driver_tests\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ }, @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"task_id\": \"0\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ }@@@", |
| "@@@STEP_LOG_LINE@json.output@ ]@@@", |
| "@@@STEP_LOG_LINE@json.output@}@@@", |
| "@@@STEP_LOG_END@json.output@@@", |
| "@@@STEP_LINK@task UI: flutter_fuchsia_driver_tests@https://example.swarmingserver.appspot.com/task?id=0@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "cipd", |
| "ensure", |
| "-root", |
| "[CACHE]/java", |
| "-ensure-file", |
| "flutter_internal/java/openjdk/${platform} version:1.8.0u202-b08", |
| "-max-threads", |
| "0", |
| "-json-output", |
| "/path/to/tmp/json" |
| ], |
| "name": "ensure_installed", |
| "~followup_annotations": [ |
| "@@@STEP_LOG_LINE@json.output@{@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"result\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"\": [@@@", |
| "@@@STEP_LOG_LINE@json.output@ {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"resolved-instance_id-of-version:1.8.0u20\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"package\": \"flutter_internal/java/openjdk/resolved-platform\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ }@@@", |
| "@@@STEP_LOG_LINE@json.output@ ]@@@", |
| "@@@STEP_LOG_LINE@json.output@ }@@@", |
| "@@@STEP_LOG_LINE@json.output@}@@@", |
| "@@@STEP_LOG_END@json.output@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "dart", |
| "[START_DIR]/flutter/dev/bots/test.dart" |
| ], |
| "cwd": "[START_DIR]/flutter", |
| "env": { |
| "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", |
| "GOLDCTL": "[CACHE]/gold/goldctl", |
| "JAVA_HOME": "[CACHE]/java", |
| "PUB_CACHE": "[START_DIR]/flutter/.pub-cache", |
| "SHARD": "tests" |
| }, |
| "env_prefixes": { |
| "PATH": [ |
| "[START_DIR]/flutter/bin", |
| "[START_DIR]/flutter/bin/cache/dart-sdk/bin", |
| "[CACHE]/java/bin" |
| ] |
| }, |
| "name": "run test.dart for tests shard" |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "ensure-directory", |
| "--mode", |
| "0777", |
| "[CLEANUP]/fuchsia_test_output" |
| ], |
| "cwd": "[START_DIR]/flutter", |
| "env": { |
| "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", |
| "GOLDCTL": "[CACHE]/gold/goldctl", |
| "JAVA_HOME": "[CACHE]/java", |
| "PUB_CACHE": "[START_DIR]/flutter/.pub-cache" |
| }, |
| "env_prefixes": { |
| "PATH": [ |
| "[START_DIR]/flutter/bin", |
| "[START_DIR]/flutter/bin/cache/dart-sdk/bin", |
| "[CACHE]/java/bin" |
| ] |
| }, |
| "infra_step": true, |
| "name": "swarming output" |
| }, |
| { |
| "cmd": [ |
| "[CACHE]/swarming_client/swarming", |
| "collect", |
| "-server", |
| "https://example.swarmingserver.appspot.com", |
| "-task-summary-json", |
| "/path/to/tmp/json", |
| "-task-output-stdout", |
| "json", |
| "-output-dir", |
| "[CLEANUP]/fuchsia_test_output", |
| "-timeout", |
| "30m", |
| "0" |
| ], |
| "cwd": "[START_DIR]/flutter", |
| "env": { |
| "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", |
| "GOLDCTL": "[CACHE]/gold/goldctl", |
| "JAVA_HOME": "[CACHE]/java", |
| "PUB_CACHE": "[START_DIR]/flutter/.pub-cache" |
| }, |
| "env_prefixes": { |
| "PATH": [ |
| "[START_DIR]/flutter/bin", |
| "[START_DIR]/flutter/bin/cache/dart-sdk/bin", |
| "[CACHE]/java/bin" |
| ] |
| }, |
| "infra_step": true, |
| "name": "collect", |
| "~followup_annotations": [ |
| "@@@STEP_LOG_LINE@json.output@{@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"0\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"output\": \"hello world!\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"outputs\": [], @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"results\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"bot_id\": \"vm-123\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"duration\": 62.35, @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"exit_code\": 0, @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"name\": \"flutter_fuchsia_driver_tests\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"outputs_ref\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"isolated\": \"abc123\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"isolatedserver\": \"https://isolateserver.appspot.com\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"namespace\": \"default-gzip\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ }, @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"state\": \"COMPLETED\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"task_id\": \"0\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ }@@@", |
| "@@@STEP_LOG_LINE@json.output@ }@@@", |
| "@@@STEP_LOG_LINE@json.output@}@@@", |
| "@@@STEP_LOG_END@json.output@@@", |
| "@@@STEP_LOG_LINE@task stdout+stderr: flutter_fuchsia_driver_tests@hello world!@@@", |
| "@@@STEP_LOG_END@task stdout+stderr: flutter_fuchsia_driver_tests@@@", |
| "@@@STEP_LINK@task isolated outputs: flutter_fuchsia_driver_tests@https://isolateserver.appspot.com/browse?namespace=default-gzip&hash=abc123@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "Result for flutter_fuchsia_driver_tests", |
| "~followup_annotations": [ |
| "@@@STEP_LINK@task UI@https://example.swarmingserver.appspot.com/task?id=0@@@" |
| ] |
| }, |
| { |
| "name": "$result" |
| } |
| ] |