blob: f3608ae1ff823560d44ec191c0904e5bead72fc9 [file] [log] [blame]
[
{
"cmd": [],
"name": "Checkout flutter/flutter"
},
{
"cmd": [
"python3",
"-u",
"RECIPE_MODULE[depot_tools::git]/resources/git_setup.py",
"--path",
"[START_DIR]/flutter",
"--url",
"https://github.com/flutter/flutter"
],
"name": "Checkout flutter/flutter.git setup",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"git",
"fetch",
"origin",
"refs/pull/1/head",
"--recurse-submodules",
"--progress",
"--tags"
],
"cwd": "[START_DIR]/flutter",
"env": {
"PATH": "RECIPE_REPO[depot_tools]:<PATH>"
},
"infra_step": true,
"name": "Checkout flutter/flutter.git fetch",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"git",
"checkout",
"-f",
"FETCH_HEAD"
],
"cwd": "[START_DIR]/flutter",
"infra_step": true,
"name": "Checkout flutter/flutter.git checkout",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"git",
"rev-parse",
"HEAD"
],
"cwd": "[START_DIR]/flutter",
"infra_step": true,
"name": "Checkout flutter/flutter.read revision",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@",
"@@@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": "Checkout flutter/flutter.git clean",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"git",
"submodule",
"sync"
],
"cwd": "[START_DIR]/flutter",
"infra_step": true,
"name": "Checkout flutter/flutter.submodule sync",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"git",
"submodule",
"update",
"--init",
"--recursive"
],
"cwd": "[START_DIR]/flutter",
"infra_step": true,
"name": "Checkout flutter/flutter.submodule update",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"git",
"rev-parse",
"HEAD"
],
"cwd": "[START_DIR]/flutter",
"infra_step": true,
"name": "git rev-parse"
},
{
"cmd": [],
"name": "Fuchsia Tests"
},
{
"cmd": [
"flutter",
"config",
"--enable-fuchsia"
],
"cwd": "[START_DIR]/flutter",
"env": {
"DEPOT_TOOLS": "RECIPE_REPO[depot_tools]",
"GIT_BRANCH": "",
"LUCI_BRANCH": "",
"LUCI_CI": "True",
"LUCI_PR": "1",
"OS": "linux",
"PUB_CACHE": "[START_DIR]/.pub-cache",
"REVISION": "",
"SDK_CHECKOUT_PATH": "[START_DIR]/flutter"
},
"env_prefixes": {
"PATH": [
"[START_DIR]/flutter/bin",
"[START_DIR]/flutter/bin/cache/dart-sdk/bin"
]
},
"name": "Fuchsia Tests.Flutter Config Enable Fuchsia",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"flutter",
"precache",
"--fuchsia",
"--no-android",
"--no-ios",
"--force"
],
"cwd": "[START_DIR]/flutter",
"env": {
"DEPOT_TOOLS": "RECIPE_REPO[depot_tools]",
"GIT_BRANCH": "",
"LUCI_BRANCH": "",
"LUCI_CI": "True",
"LUCI_PR": "1",
"OS": "linux",
"PUB_CACHE": "[START_DIR]/.pub-cache",
"REVISION": "",
"SDK_CHECKOUT_PATH": "[START_DIR]/flutter"
},
"env_prefixes": {
"PATH": [
"[START_DIR]/flutter/bin",
"[START_DIR]/flutter/bin/cache/dart-sdk/bin"
]
},
"name": "Fuchsia Tests.Precache Flutter 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]",
"GIT_BRANCH": "",
"LUCI_BRANCH": "",
"LUCI_CI": "True",
"LUCI_PR": "1",
"OS": "linux",
"PUB_CACHE": "[START_DIR]/.pub-cache",
"REVISION": "",
"SDK_CHECKOUT_PATH": "[START_DIR]/flutter"
},
"env_prefixes": {
"PATH": [
"[START_DIR]/flutter/bin",
"[START_DIR]/flutter/bin/cache/dart-sdk/bin"
]
},
"name": "Fuchsia Tests.Precache Flutter Runners",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [],
"name": "Fuchsia Tests.Create CAS Archive",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [],
"name": "Fuchsia Tests.Create CAS Archive.Download Fuchsia Dependencies",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"vpython3",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"copy",
"[START_DIR]/flutter/bin/internal/fuchsia-linux.version",
"/path/to/tmp/"
],
"cwd": "[START_DIR]/flutter",
"env": {
"DEPOT_TOOLS": "RECIPE_REPO[depot_tools]",
"GIT_BRANCH": "",
"LUCI_BRANCH": "",
"LUCI_CI": "True",
"LUCI_PR": "1",
"OS": "linux",
"PUB_CACHE": "[START_DIR]/.pub-cache",
"REVISION": "",
"SDK_CHECKOUT_PATH": "[START_DIR]/flutter"
},
"env_prefixes": {
"PATH": [
"[START_DIR]/flutter/bin",
"[START_DIR]/flutter/bin/cache/dart-sdk/bin"
]
},
"infra_step": true,
"name": "Fuchsia Tests.Create CAS Archive.Download Fuchsia Dependencies.Read fuchsia cipd version",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@3@@@",
"@@@STEP_LOG_LINE@fuchsia-linux.version@FuchsiaSdkCipdVersion@@@",
"@@@STEP_LOG_END@fuchsia-linux.version@@@"
]
},
{
"cmd": [
"cipd",
"describe",
"fuchsia/sdk/core/linux-amd64",
"-version",
"FuchsiaSdkCipdVersion",
"-json-output",
"/path/to/tmp/json"
],
"cwd": "[START_DIR]/flutter",
"env": {
"DEPOT_TOOLS": "RECIPE_REPO[depot_tools]",
"GIT_BRANCH": "",
"LUCI_BRANCH": "",
"LUCI_CI": "True",
"LUCI_PR": "1",
"OS": "linux",
"PUB_CACHE": "[START_DIR]/.pub-cache",
"REVISION": "",
"SDK_CHECKOUT_PATH": "[START_DIR]/flutter"
},
"env_prefixes": {
"PATH": [
"[START_DIR]/flutter/bin",
"[START_DIR]/flutter/bin/cache/dart-sdk/bin"
]
},
"name": "Fuchsia Tests.Create CAS Archive.Download Fuchsia Dependencies.cipd describe fuchsia/sdk/core/linux-amd64",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@3@@@",
"@@@STEP_LOG_LINE@json.output@{@@@",
"@@@STEP_LOG_LINE@json.output@ \"result\": {@@@",
"@@@STEP_LOG_LINE@json.output@ \"pin\": {@@@",
"@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"resolved-instance_id-of-FuchsiaSdkCipdVe\", @@@",
"@@@STEP_LOG_LINE@json.output@ \"package\": \"fuchsia/sdk/core/linux-amd64\"@@@",
"@@@STEP_LOG_LINE@json.output@ }, @@@",
"@@@STEP_LOG_LINE@json.output@ \"refs\": [@@@",
"@@@STEP_LOG_LINE@json.output@ {@@@",
"@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"resolved-instance_id-of-latest----------\", @@@",
"@@@STEP_LOG_LINE@json.output@ \"modified_by\": \"user:44-blablbla@developer.gserviceaccount.com\", @@@",
"@@@STEP_LOG_LINE@json.output@ \"modified_ts\": 1446574210, @@@",
"@@@STEP_LOG_LINE@json.output@ \"ref\": \"latest\"@@@",
"@@@STEP_LOG_LINE@json.output@ }@@@",
"@@@STEP_LOG_LINE@json.output@ ], @@@",
"@@@STEP_LOG_LINE@json.output@ \"registered_by\": \"user:44-blablbla@developer.gserviceaccount.com\", @@@",
"@@@STEP_LOG_LINE@json.output@ \"registered_ts\": 1446574210, @@@",
"@@@STEP_LOG_LINE@json.output@ \"tags\": [@@@",
"@@@STEP_LOG_LINE@json.output@ {@@@",
"@@@STEP_LOG_LINE@json.output@ \"registered_by\": \"user:44-blablbla@developer.gserviceaccount.com\", @@@",
"@@@STEP_LOG_LINE@json.output@ \"registered_ts\": 1446574210, @@@",
"@@@STEP_LOG_LINE@json.output@ \"tag\": \"git_revision:GIT_REVISION\"@@@",
"@@@STEP_LOG_LINE@json.output@ }, @@@",
"@@@STEP_LOG_LINE@json.output@ {@@@",
"@@@STEP_LOG_LINE@json.output@ \"registered_by\": \"user:44-blablbla@developer.gserviceaccount.com\", @@@",
"@@@STEP_LOG_LINE@json.output@ \"registered_ts\": 1446574210, @@@",
"@@@STEP_LOG_LINE@json.output@ \"tag\": \"jiri:JIRI_VERSION\"@@@",
"@@@STEP_LOG_LINE@json.output@ }, @@@",
"@@@STEP_LOG_LINE@json.output@ {@@@",
"@@@STEP_LOG_LINE@json.output@ \"registered_by\": \"user:44-blablbla@developer.gserviceaccount.com\", @@@",
"@@@STEP_LOG_LINE@json.output@ \"registered_ts\": 1446574210, @@@",
"@@@STEP_LOG_LINE@json.output@ \"tag\": \"version:FUCHSIA_VERSION\"@@@",
"@@@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": [
"python3",
"-u",
"RECIPE_MODULE[depot_tools::gsutil]/resources/gsutil_smart_retry.py",
"--",
"RECIPE_REPO[depot_tools]/gsutil.py",
"----",
"cp",
"gs://fuchsia/development/FUCHSIA_VERSION/images/generic-x64.tgz",
"[CLEANUP]/tmp_tmp_1"
],
"cwd": "[START_DIR]/flutter",
"env": {
"DEPOT_TOOLS": "RECIPE_REPO[depot_tools]",
"GIT_BRANCH": "",
"LUCI_BRANCH": "",
"LUCI_CI": "True",
"LUCI_PR": "1",
"OS": "linux",
"PUB_CACHE": "[START_DIR]/.pub-cache",
"REVISION": "",
"SDK_CHECKOUT_PATH": "[START_DIR]/flutter"
},
"env_prefixes": {
"PATH": [
"[START_DIR]/flutter/bin",
"[START_DIR]/flutter/bin/cache/dart-sdk/bin"
]
},
"infra_step": true,
"name": "Fuchsia Tests.Create CAS Archive.Download Fuchsia Dependencies.gsutil download fuchsia system image",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@3@@@"
]
},
{
"cmd": [
"python3",
"-u",
"RECIPE_MODULE[depot_tools::gsutil]/resources/gsutil_smart_retry.py",
"--",
"RECIPE_REPO[depot_tools]/gsutil.py",
"----",
"cp",
"gs://fuchsia/development/FUCHSIA_VERSION/packages/generic-x64.tar.gz",
"[CLEANUP]/tmp_tmp_1"
],
"cwd": "[START_DIR]/flutter",
"env": {
"DEPOT_TOOLS": "RECIPE_REPO[depot_tools]",
"GIT_BRANCH": "",
"LUCI_BRANCH": "",
"LUCI_CI": "True",
"LUCI_PR": "1",
"OS": "linux",
"PUB_CACHE": "[START_DIR]/.pub-cache",
"REVISION": "",
"SDK_CHECKOUT_PATH": "[START_DIR]/flutter"
},
"env_prefixes": {
"PATH": [
"[START_DIR]/flutter/bin",
"[START_DIR]/flutter/bin/cache/dart-sdk/bin"
]
},
"infra_step": true,
"name": "Fuchsia Tests.Create CAS Archive.Download Fuchsia Dependencies.gsutil download fuchsia companion packages",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@3@@@"
]
},
{
"cmd": [],
"name": "Fuchsia Tests.Create CAS Archive.Collect tool deps",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"vpython3",
"-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]",
"GIT_BRANCH": "",
"LUCI_BRANCH": "",
"LUCI_CI": "True",
"LUCI_PR": "1",
"OS": "linux",
"PUB_CACHE": "[START_DIR]/.pub-cache",
"REVISION": "",
"SDK_CHECKOUT_PATH": "[START_DIR]/flutter"
},
"env_prefixes": {
"PATH": [
"[START_DIR]/flutter/bin",
"[START_DIR]/flutter/bin/cache/dart-sdk/bin"
]
},
"infra_step": true,
"name": "Fuchsia Tests.Create CAS Archive.Collect tool deps.Copy test script",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@3@@@"
]
},
{
"cmd": [
"vpython3",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"copy",
"[START_DIR]/flutter/bin/cache/artifacts/fuchsia/tools/x64/device-finder",
"[CLEANUP]/tmp_tmp_1"
],
"cwd": "[START_DIR]/flutter",
"env": {
"DEPOT_TOOLS": "RECIPE_REPO[depot_tools]",
"GIT_BRANCH": "",
"LUCI_BRANCH": "",
"LUCI_CI": "True",
"LUCI_PR": "1",
"OS": "linux",
"PUB_CACHE": "[START_DIR]/.pub-cache",
"REVISION": "",
"SDK_CHECKOUT_PATH": "[START_DIR]/flutter"
},
"env_prefixes": {
"PATH": [
"[START_DIR]/flutter/bin",
"[START_DIR]/flutter/bin/cache/dart-sdk/bin"
]
},
"infra_step": true,
"name": "Fuchsia Tests.Create CAS Archive.Collect tool deps.Copy device-finder",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@3@@@"
]
},
{
"cmd": [
"vpython3",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"copy",
"[START_DIR]/flutter/bin/cache/artifacts/fuchsia/tools/x64/pm",
"[CLEANUP]/tmp_tmp_1"
],
"cwd": "[START_DIR]/flutter",
"env": {
"DEPOT_TOOLS": "RECIPE_REPO[depot_tools]",
"GIT_BRANCH": "",
"LUCI_BRANCH": "",
"LUCI_CI": "True",
"LUCI_PR": "1",
"OS": "linux",
"PUB_CACHE": "[START_DIR]/.pub-cache",
"REVISION": "",
"SDK_CHECKOUT_PATH": "[START_DIR]/flutter"
},
"env_prefixes": {
"PATH": [
"[START_DIR]/flutter/bin",
"[START_DIR]/flutter/bin/cache/dart-sdk/bin"
]
},
"infra_step": true,
"name": "Fuchsia Tests.Create CAS Archive.Collect tool deps.Copy pm",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@3@@@"
]
},
{
"cmd": [
"vpython3",
"-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]",
"GIT_BRANCH": "",
"LUCI_BRANCH": "",
"LUCI_CI": "True",
"LUCI_PR": "1",
"OS": "linux",
"PUB_CACHE": "[START_DIR]/.pub-cache",
"REVISION": "",
"SDK_CHECKOUT_PATH": "[START_DIR]/flutter"
},
"env_prefixes": {
"PATH": [
"[START_DIR]/flutter/bin",
"[START_DIR]/flutter/bin/cache/dart-sdk/bin"
]
},
"infra_step": true,
"name": "Fuchsia Tests.Create CAS Archive.Copy flutter framework",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"vpython3",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"copy",
"RECIPE_MODULE[recipe_engine::cas]/resources/infra.sha1",
"/path/to/tmp/"
],
"cwd": "[START_DIR]/flutter",
"env": {
"DEPOT_TOOLS": "RECIPE_REPO[depot_tools]",
"GIT_BRANCH": "",
"LUCI_BRANCH": "",
"LUCI_CI": "True",
"LUCI_PR": "1",
"OS": "linux",
"PUB_CACHE": "[START_DIR]/.pub-cache",
"REVISION": "",
"SDK_CHECKOUT_PATH": "[START_DIR]/flutter"
},
"env_prefixes": {
"PATH": [
"[START_DIR]/flutter/bin",
"[START_DIR]/flutter/bin/cache/dart-sdk/bin"
]
},
"infra_step": true,
"name": "Fuchsia Tests.Create CAS Archive.read infra revision",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@",
"@@@STEP_LOG_LINE@infra.sha1@git_revision:mock_infra_git_revision@@@",
"@@@STEP_LOG_END@infra.sha1@@@"
]
},
{
"cmd": [],
"name": "Fuchsia Tests.Create CAS Archive.install infra/tools/luci/cas",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"vpython3",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"ensure-directory",
"--mode",
"0777",
"[START_DIR]/cipd_tool/infra/tools/luci/cas/git_revision%3Amock_infra_git_revision"
],
"cwd": "[START_DIR]/flutter",
"env": {
"DEPOT_TOOLS": "RECIPE_REPO[depot_tools]",
"GIT_BRANCH": "",
"LUCI_BRANCH": "",
"LUCI_CI": "True",
"LUCI_PR": "1",
"OS": "linux",
"PUB_CACHE": "[START_DIR]/.pub-cache",
"REVISION": "",
"SDK_CHECKOUT_PATH": "[START_DIR]/flutter"
},
"env_prefixes": {
"PATH": [
"[START_DIR]/flutter/bin",
"[START_DIR]/flutter/bin/cache/dart-sdk/bin"
]
},
"infra_step": true,
"name": "Fuchsia Tests.Create CAS Archive.install infra/tools/luci/cas.ensure package directory",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@3@@@"
]
},
{
"cmd": [
"cipd",
"ensure",
"-root",
"[START_DIR]/cipd_tool/infra/tools/luci/cas/git_revision%3Amock_infra_git_revision",
"-ensure-file",
"infra/tools/luci/cas/${platform} git_revision:mock_infra_git_revision",
"-max-threads",
"0",
"-json-output",
"/path/to/tmp/json"
],
"cwd": "[START_DIR]/flutter",
"env": {
"DEPOT_TOOLS": "RECIPE_REPO[depot_tools]",
"GIT_BRANCH": "",
"LUCI_BRANCH": "",
"LUCI_CI": "True",
"LUCI_PR": "1",
"OS": "linux",
"PUB_CACHE": "[START_DIR]/.pub-cache",
"REVISION": "",
"SDK_CHECKOUT_PATH": "[START_DIR]/flutter"
},
"env_prefixes": {
"PATH": [
"[START_DIR]/flutter/bin",
"[START_DIR]/flutter/bin/cache/dart-sdk/bin"
]
},
"infra_step": true,
"name": "Fuchsia Tests.Create CAS Archive.install infra/tools/luci/cas.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:moc\", @@@",
"@@@STEP_LOG_LINE@json.output@ \"package\": \"infra/tools/luci/cas/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": [
"[START_DIR]/cipd_tool/infra/tools/luci/cas/git_revision%3Amock_infra_git_revision/cas",
"archive",
"-cas-instance",
"projects/example-cas-server/instances/default_instance",
"-dump-digest",
"/path/to/tmp/",
"-log-level",
"debug",
"-paths",
"[CLEANUP]/tmp_tmp_1:."
],
"cwd": "[START_DIR]/flutter",
"env": {
"DEPOT_TOOLS": "RECIPE_REPO[depot_tools]",
"GIT_BRANCH": "",
"LUCI_BRANCH": "",
"LUCI_CI": "True",
"LUCI_PR": "1",
"OS": "linux",
"PUB_CACHE": "[START_DIR]/.pub-cache",
"REVISION": "",
"SDK_CHECKOUT_PATH": "[START_DIR]/flutter"
},
"env_prefixes": {
"PATH": [
"[START_DIR]/flutter/bin",
"[START_DIR]/flutter/bin/cache/dart-sdk/bin"
]
},
"infra_step": true,
"name": "Fuchsia Tests.Create CAS Archive.Archive Fuchsia Test CAS",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@",
"@@@STEP_LINK@CAS UI@https://cas-viewer.appspot.com/projects/example-cas-server/instances/default_instance/blobs/e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855/0/tree@@@"
]
},
{
"cmd": [
"vpython3",
"-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]",
"GIT_BRANCH": "",
"LUCI_BRANCH": "",
"LUCI_CI": "True",
"LUCI_PR": "1",
"OS": "linux",
"PUB_CACHE": "[START_DIR]/.pub-cache",
"REVISION": "",
"SDK_CHECKOUT_PATH": "[START_DIR]/flutter"
},
"env_prefixes": {
"PATH": [
"[START_DIR]/flutter/bin",
"[START_DIR]/flutter/bin/cache/dart-sdk/bin"
]
},
"infra_step": true,
"name": "Fuchsia Tests.Create CAS Archive.temp dir for cas_dir",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [],
"name": "Fuchsia Tests.install infra/tools/luci/swarming",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"vpython3",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"ensure-directory",
"--mode",
"0777",
"[START_DIR]/cipd_tool/infra/tools/luci/swarming/swarming_module_pin"
],
"cwd": "[START_DIR]/flutter",
"env": {
"DEPOT_TOOLS": "RECIPE_REPO[depot_tools]",
"GIT_BRANCH": "",
"LUCI_BRANCH": "",
"LUCI_CI": "True",
"LUCI_PR": "1",
"OS": "linux",
"PUB_CACHE": "[START_DIR]/.pub-cache",
"REVISION": "",
"SDK_CHECKOUT_PATH": "[START_DIR]/flutter"
},
"env_prefixes": {
"PATH": [
"[START_DIR]/flutter/bin",
"[START_DIR]/flutter/bin/cache/dart-sdk/bin"
]
},
"infra_step": true,
"name": "Fuchsia Tests.install infra/tools/luci/swarming.ensure package directory",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"cipd",
"ensure",
"-root",
"[START_DIR]/cipd_tool/infra/tools/luci/swarming/swarming_module_pin",
"-ensure-file",
"infra/tools/luci/swarming/${platform} swarming_module_pin",
"-max-threads",
"0",
"-json-output",
"/path/to/tmp/json"
],
"cwd": "[START_DIR]/flutter",
"env": {
"DEPOT_TOOLS": "RECIPE_REPO[depot_tools]",
"GIT_BRANCH": "",
"LUCI_BRANCH": "",
"LUCI_CI": "True",
"LUCI_PR": "1",
"OS": "linux",
"PUB_CACHE": "[START_DIR]/.pub-cache",
"REVISION": "",
"SDK_CHECKOUT_PATH": "[START_DIR]/flutter"
},
"env_prefixes": {
"PATH": [
"[START_DIR]/flutter/bin",
"[START_DIR]/flutter/bin/cache/dart-sdk/bin"
]
},
"infra_step": true,
"name": "Fuchsia Tests.install infra/tools/luci/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-swarming_module_\", @@@",
"@@@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": [
"[START_DIR]/cipd_tool/infra/tools/luci/swarming/swarming_module_pin/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\": {\"cas_input_root\": {\"cas_instance\": \"projects/example-cas-server/instances/default_instance\", \"digest\": {\"hash\": \"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855\", \"size_bytes\": \"0\"}}, \"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\"}, \"dimensions\": [{\"key\": \"pool\", \"value\": \"luci.flutter.tests\"}], \"env\": [], \"env_prefixes\": [], \"execution_timeout_secs\": \"3600\", \"grace_period_secs\": \"30\", \"idempotent\": true, \"io_timeout_secs\": \"3600\", \"outputs\": [], \"relative_cwd\": \"\"}, \"wait_for_capacity\": false}]}]}",
"-json-output",
"/path/to/tmp/json"
],
"cwd": "[START_DIR]/flutter",
"env": {
"DEPOT_TOOLS": "RECIPE_REPO[depot_tools]",
"GIT_BRANCH": "",
"LUCI_BRANCH": "",
"LUCI_CI": "True",
"LUCI_PR": "1",
"OS": "linux",
"PUB_CACHE": "[START_DIR]/.pub-cache",
"REVISION": "",
"SDK_CHECKOUT_PATH": "[START_DIR]/flutter"
},
"env_prefixes": {
"PATH": [
"[START_DIR]/flutter/bin",
"[START_DIR]/flutter/bin/cache/dart-sdk/bin"
]
},
"infra_step": true,
"name": "Fuchsia 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\": \"task1\"@@@",
"@@@STEP_LOG_LINE@json.output@ }, @@@",
"@@@STEP_LOG_LINE@json.output@ \"task_id\": \"0\", @@@",
"@@@STEP_LOG_LINE@json.output@ \"task_result\": {@@@",
"@@@STEP_LOG_LINE@json.output@ \"resultdb_info\": {@@@",
"@@@STEP_LOG_LINE@json.output@ \"invocation\": \"invocations/0\"@@@",
"@@@STEP_LOG_LINE@json.output@ }@@@",
"@@@STEP_LOG_LINE@json.output@ }@@@",
"@@@STEP_LOG_LINE@json.output@ }, @@@",
"@@@STEP_LOG_LINE@json.output@ {@@@",
"@@@STEP_LOG_LINE@json.output@ \"request\": {@@@",
"@@@STEP_LOG_LINE@json.output@ \"name\": \"task2\"@@@",
"@@@STEP_LOG_LINE@json.output@ }, @@@",
"@@@STEP_LOG_LINE@json.output@ \"task_id\": \"1\", @@@",
"@@@STEP_LOG_LINE@json.output@ \"task_result\": {@@@",
"@@@STEP_LOG_LINE@json.output@ \"resultdb_info\": {@@@",
"@@@STEP_LOG_LINE@json.output@ \"invocation\": \"invocations/1\"@@@",
"@@@STEP_LOG_LINE@json.output@ }@@@",
"@@@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@@@",
"@@@STEP_LOG_LINE@json.input@{@@@",
"@@@STEP_LOG_LINE@json.input@ \"requests\": [@@@",
"@@@STEP_LOG_LINE@json.input@ {@@@",
"@@@STEP_LOG_LINE@json.input@ \"name\": \"flutter_fuchsia_driver_tests\", @@@",
"@@@STEP_LOG_LINE@json.input@ \"priority\": \"100\", @@@",
"@@@STEP_LOG_LINE@json.input@ \"service_account\": \"\", @@@",
"@@@STEP_LOG_LINE@json.input@ \"task_slices\": [@@@",
"@@@STEP_LOG_LINE@json.input@ {@@@",
"@@@STEP_LOG_LINE@json.input@ \"expiration_secs\": \"3600\", @@@",
"@@@STEP_LOG_LINE@json.input@ \"properties\": {@@@",
"@@@STEP_LOG_LINE@json.input@ \"cas_input_root\": {@@@",
"@@@STEP_LOG_LINE@json.input@ \"cas_instance\": \"projects/example-cas-server/instances/default_instance\", @@@",
"@@@STEP_LOG_LINE@json.input@ \"digest\": {@@@",
"@@@STEP_LOG_LINE@json.input@ \"hash\": \"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855\", @@@",
"@@@STEP_LOG_LINE@json.input@ \"size_bytes\": \"0\"@@@",
"@@@STEP_LOG_LINE@json.input@ }@@@",
"@@@STEP_LOG_LINE@json.input@ }, @@@",
"@@@STEP_LOG_LINE@json.input@ \"cipd_input\": {@@@",
"@@@STEP_LOG_LINE@json.input@ \"packages\": [@@@",
"@@@STEP_LOG_LINE@json.input@ {@@@",
"@@@STEP_LOG_LINE@json.input@ \"package_name\": \"flutter/fuchsia_ctl/${platform}\", @@@",
"@@@STEP_LOG_LINE@json.input@ \"path\": \".\", @@@",
"@@@STEP_LOG_LINE@json.input@ \"version\": \"version:0.0.2\"@@@",
"@@@STEP_LOG_LINE@json.input@ }@@@",
"@@@STEP_LOG_LINE@json.input@ ]@@@",
"@@@STEP_LOG_LINE@json.input@ }, @@@",
"@@@STEP_LOG_LINE@json.input@ \"command\": [@@@",
"@@@STEP_LOG_LINE@json.input@ \"./run_fuchsia_tests.sh\", @@@",
"@@@STEP_LOG_LINE@json.input@ \"generic-x64.tgz\"@@@",
"@@@STEP_LOG_LINE@json.input@ ], @@@",
"@@@STEP_LOG_LINE@json.input@ \"containment\": {@@@",
"@@@STEP_LOG_LINE@json.input@ \"containment_type\": \"AUTO\"@@@",
"@@@STEP_LOG_LINE@json.input@ }, @@@",
"@@@STEP_LOG_LINE@json.input@ \"dimensions\": [@@@",
"@@@STEP_LOG_LINE@json.input@ {@@@",
"@@@STEP_LOG_LINE@json.input@ \"key\": \"pool\", @@@",
"@@@STEP_LOG_LINE@json.input@ \"value\": \"luci.flutter.tests\"@@@",
"@@@STEP_LOG_LINE@json.input@ }@@@",
"@@@STEP_LOG_LINE@json.input@ ], @@@",
"@@@STEP_LOG_LINE@json.input@ \"env\": [], @@@",
"@@@STEP_LOG_LINE@json.input@ \"env_prefixes\": [], @@@",
"@@@STEP_LOG_LINE@json.input@ \"execution_timeout_secs\": \"3600\", @@@",
"@@@STEP_LOG_LINE@json.input@ \"grace_period_secs\": \"30\", @@@",
"@@@STEP_LOG_LINE@json.input@ \"idempotent\": true, @@@",
"@@@STEP_LOG_LINE@json.input@ \"io_timeout_secs\": \"3600\", @@@",
"@@@STEP_LOG_LINE@json.input@ \"outputs\": [], @@@",
"@@@STEP_LOG_LINE@json.input@ \"relative_cwd\": \"\"@@@",
"@@@STEP_LOG_LINE@json.input@ }, @@@",
"@@@STEP_LOG_LINE@json.input@ \"wait_for_capacity\": false@@@",
"@@@STEP_LOG_LINE@json.input@ }@@@",
"@@@STEP_LOG_LINE@json.input@ ]@@@",
"@@@STEP_LOG_LINE@json.input@ }@@@",
"@@@STEP_LOG_LINE@json.input@ ]@@@",
"@@@STEP_LOG_LINE@json.input@}@@@",
"@@@STEP_LOG_END@json.input@@@",
"@@@STEP_LINK@task UI: task1@https://example.swarmingserver.appspot.com/task?id=0@@@",
"@@@STEP_LINK@task UI: task2@https://example.swarmingserver.appspot.com/task?id=1@@@"
]
},
{
"cmd": [
"vpython3",
"-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]",
"GIT_BRANCH": "",
"LUCI_BRANCH": "",
"LUCI_CI": "True",
"LUCI_PR": "1",
"OS": "linux",
"PUB_CACHE": "[START_DIR]/.pub-cache",
"REVISION": "",
"SDK_CHECKOUT_PATH": "[START_DIR]/flutter"
},
"env_prefixes": {
"PATH": [
"[START_DIR]/flutter/bin",
"[START_DIR]/flutter/bin/cache/dart-sdk/bin"
]
},
"infra_step": true,
"name": "swarming output"
},
{
"cmd": [
"[START_DIR]/cipd_tool/infra/tools/luci/swarming/swarming_module_pin/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",
"1"
],
"cost": {
"cpu": 100,
"disk": 0,
"memory": 50,
"net": 0
},
"cwd": "[START_DIR]/flutter",
"env": {
"DEPOT_TOOLS": "RECIPE_REPO[depot_tools]",
"GIT_BRANCH": "",
"LUCI_BRANCH": "",
"LUCI_CI": "True",
"LUCI_PR": "1",
"OS": "linux",
"PUB_CACHE": "[START_DIR]/.pub-cache",
"REVISION": "",
"SDK_CHECKOUT_PATH": "[START_DIR]/flutter"
},
"env_prefixes": {
"PATH": [
"[START_DIR]/flutter/bin",
"[START_DIR]/flutter/bin/cache/dart-sdk/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@ \"cas_output_root\": {@@@",
"@@@STEP_LOG_LINE@json.output@ \"cas_instance\": \"projects/example-project/instances/default_instance\", @@@",
"@@@STEP_LOG_LINE@json.output@ \"digest\": {@@@",
"@@@STEP_LOG_LINE@json.output@ \"hash\": \"24b2420bc49d8b8fdc1d011a163708927532b37dc9f91d7d8d6877e3a86559ca\", @@@",
"@@@STEP_LOG_LINE@json.output@ \"size_bytes\": \"73\"@@@",
"@@@STEP_LOG_LINE@json.output@ }@@@",
"@@@STEP_LOG_LINE@json.output@ }, @@@",
"@@@STEP_LOG_LINE@json.output@ \"duration\": 62.35, @@@",
"@@@STEP_LOG_LINE@json.output@ \"exit_code\": \"0\", @@@",
"@@@STEP_LOG_LINE@json.output@ \"name\": \"task1\", @@@",
"@@@STEP_LOG_LINE@json.output@ \"resultdb_info\": {@@@",
"@@@STEP_LOG_LINE@json.output@ \"invocation\": \"invocations/some-inv-name\"@@@",
"@@@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@ \"1\": {@@@",
"@@@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@ \"cas_output_root\": {@@@",
"@@@STEP_LOG_LINE@json.output@ \"cas_instance\": \"projects/example-project/instances/default_instance\", @@@",
"@@@STEP_LOG_LINE@json.output@ \"digest\": {@@@",
"@@@STEP_LOG_LINE@json.output@ \"hash\": \"24b2420bc49d8b8fdc1d011a163708927532b37dc9f91d7d8d6877e3a86559ca\", @@@",
"@@@STEP_LOG_LINE@json.output@ \"size_bytes\": \"73\"@@@",
"@@@STEP_LOG_LINE@json.output@ }@@@",
"@@@STEP_LOG_LINE@json.output@ }, @@@",
"@@@STEP_LOG_LINE@json.output@ \"duration\": 62.35, @@@",
"@@@STEP_LOG_LINE@json.output@ \"exit_code\": \"0\", @@@",
"@@@STEP_LOG_LINE@json.output@ \"name\": \"task2\", @@@",
"@@@STEP_LOG_LINE@json.output@ \"resultdb_info\": {@@@",
"@@@STEP_LOG_LINE@json.output@ \"invocation\": \"invocations/some-inv-name\"@@@",
"@@@STEP_LOG_LINE@json.output@ }, @@@",
"@@@STEP_LOG_LINE@json.output@ \"state\": \"COMPLETED\", @@@",
"@@@STEP_LOG_LINE@json.output@ \"task_id\": \"1\"@@@",
"@@@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: task1@hello world!@@@",
"@@@STEP_LOG_END@task stdout+stderr: task1@@@",
"@@@STEP_LOG_LINE@task stdout+stderr: task2@hello world!@@@",
"@@@STEP_LOG_END@task stdout+stderr: task2@@@",
"@@@STEP_LINK@task cas outputs: task1@https://cas-viewer.appspot.com/projects/example-project/instances/default_instance/blobs/24b2420bc49d8b8fdc1d011a163708927532b37dc9f91d7d8d6877e3a86559ca/73/tree@@@",
"@@@STEP_LINK@task cas outputs: task2@https://cas-viewer.appspot.com/projects/example-project/instances/default_instance/blobs/24b2420bc49d8b8fdc1d011a163708927532b37dc9f91d7d8d6877e3a86559ca/73/tree@@@"
]
},
{
"cmd": [],
"name": "Display builds",
"~followup_annotations": [
"@@@STEP_WARNINGS@@@"
]
},
{
"cmd": [],
"name": "Display builds.task1",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@",
"@@@STEP_LINK@0@https://example.swarmingserver.appspot.com/task?id=0@@@",
"@@@STEP_WARNINGS@@@"
]
},
{
"cmd": [],
"name": "Display builds.task2",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@",
"@@@STEP_LINK@1@https://example.swarmingserver.appspot.com/task?id=1@@@",
"@@@STEP_WARNINGS@@@"
]
},
{
"name": "$result"
}
]