blob: 183a7aee301ac5426757b3f89f5844208f9c2daa [file] [log] [blame] [edit]
[
{
"cmd": [
"vpython3",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"rmtree",
"[CLEANUP]/builder/src/out"
],
"infra_step": true,
"name": "Clobber build output: Linux"
},
{
"cmd": [
"vpython3",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"ensure-directory",
"--mode",
"0777",
"[CLEANUP]/builder"
],
"infra_step": true,
"name": "Ensure checkout cache"
},
{
"cmd": [],
"name": "ensure goma"
},
{
"cmd": [
"cipd",
"ensure",
"-root",
"[CACHE]/goma/client",
"-ensure-file",
"fuchsia/third_party/goma/client/${platform} integration",
"-max-threads",
"0",
"-json-output",
"/path/to/tmp/json"
],
"infra_step": true,
"name": "ensure goma.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-integration-----\", @@@",
"@@@STEP_LOG_LINE@json.output@ \"package\": \"fuchsia/third_party/goma/client/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": [],
"name": "Checkout source code"
},
{
"cmd": [
"vpython3",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"rmcontents",
"[CLEANUP]/builder"
],
"env_suffixes": {
"DEPOT_TOOLS_UPDATE": [
"0"
],
"PATH": [
"RECIPE_REPO[depot_tools]"
]
},
"infra_step": true,
"name": "Checkout source code.Clobber cache",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"vpython3",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"rmtree",
"[CACHE]/git"
],
"env_suffixes": {
"DEPOT_TOOLS_UPDATE": [
"0"
],
"PATH": [
"RECIPE_REPO[depot_tools]"
]
},
"infra_step": true,
"name": "Checkout source code.Clobber git cache",
"~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",
"[CLEANUP]/builder"
],
"env_suffixes": {
"DEPOT_TOOLS_UPDATE": [
"0"
],
"PATH": [
"RECIPE_REPO[depot_tools]"
]
},
"infra_step": true,
"name": "Checkout source code.Ensure checkout cache",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"vpython3",
"-u",
"RECIPE_MODULE[depot_tools::bot_update]/resources/bot_update.py",
"--spec-path",
"cache_dir = '[CACHE]/git'\nsolutions = [{'deps_file': '.DEPS.git', 'managed': False, 'name': 'src/flutter', 'url': 'https://flutter.googlesource.com/mirrors/engine'}]",
"--revision_mapping_file",
"{\"got_engine_revision\": \"src/flutter\"}",
"--git-cache-dir",
"[CACHE]/git",
"--cleanup-dir",
"[CLEANUP]/bot_update",
"--output_json",
"/path/to/tmp/json",
"--revision",
"src/flutter@HEAD"
],
"cwd": "[CLEANUP]/builder",
"env": {
"DEPOT_TOOLS_COLLECT_METRICS": "0",
"GIT_HTTP_LOW_SPEED_LIMIT": "102400",
"GIT_HTTP_LOW_SPEED_TIME": "1800"
},
"env_suffixes": {
"DEPOT_TOOLS_UPDATE": [
"0",
"0"
],
"PATH": [
"RECIPE_REPO[depot_tools]",
"RECIPE_REPO[depot_tools]"
]
},
"infra_step": true,
"name": "Checkout source code.bot_update",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@",
"@@@STEP_TEXT@Some step text@@@",
"@@@STEP_LOG_LINE@json.output@{@@@",
"@@@STEP_LOG_LINE@json.output@ \"did_run\": true, @@@",
"@@@STEP_LOG_LINE@json.output@ \"fixed_revisions\": {@@@",
"@@@STEP_LOG_LINE@json.output@ \"src/flutter\": \"HEAD\"@@@",
"@@@STEP_LOG_LINE@json.output@ }, @@@",
"@@@STEP_LOG_LINE@json.output@ \"manifest\": {@@@",
"@@@STEP_LOG_LINE@json.output@ \"src/flutter\": {@@@",
"@@@STEP_LOG_LINE@json.output@ \"repository\": \"https://fake.org/src/flutter.git\", @@@",
"@@@STEP_LOG_LINE@json.output@ \"revision\": \"9221bca00ddbd888260084def81f09543281b952\"@@@",
"@@@STEP_LOG_LINE@json.output@ }@@@",
"@@@STEP_LOG_LINE@json.output@ }, @@@",
"@@@STEP_LOG_LINE@json.output@ \"patch_failure\": false, @@@",
"@@@STEP_LOG_LINE@json.output@ \"patch_root\": \"src/flutter\", @@@",
"@@@STEP_LOG_LINE@json.output@ \"properties\": {@@@",
"@@@STEP_LOG_LINE@json.output@ \"got_engine_revision\": \"9221bca00ddbd888260084def81f09543281b952\", @@@",
"@@@STEP_LOG_LINE@json.output@ \"got_engine_revision_cp\": \"refs/heads/main@{#84512}\", @@@",
"@@@STEP_LOG_LINE@json.output@ \"got_revision\": \"9221bca00ddbd888260084def81f09543281b952\"@@@",
"@@@STEP_LOG_LINE@json.output@ }, @@@",
"@@@STEP_LOG_LINE@json.output@ \"root\": \"src/flutter\", @@@",
"@@@STEP_LOG_LINE@json.output@ \"source_manifest\": {@@@",
"@@@STEP_LOG_LINE@json.output@ \"directories\": {@@@",
"@@@STEP_LOG_LINE@json.output@ \"src/flutter\": {@@@",
"@@@STEP_LOG_LINE@json.output@ \"git_checkout\": {@@@",
"@@@STEP_LOG_LINE@json.output@ \"repo_url\": \"https://fake.org/src/flutter.git\", @@@",
"@@@STEP_LOG_LINE@json.output@ \"revision\": \"9221bca00ddbd888260084def81f09543281b952\"@@@",
"@@@STEP_LOG_LINE@json.output@ }@@@",
"@@@STEP_LOG_LINE@json.output@ }@@@",
"@@@STEP_LOG_LINE@json.output@ }, @@@",
"@@@STEP_LOG_LINE@json.output@ \"version\": 0@@@",
"@@@STEP_LOG_LINE@json.output@ }, @@@",
"@@@STEP_LOG_LINE@json.output@ \"step_text\": \"Some step text\"@@@",
"@@@STEP_LOG_LINE@json.output@}@@@",
"@@@STEP_LOG_END@json.output@@@",
"@@@SET_BUILD_PROPERTY@got_engine_revision@\"9221bca00ddbd888260084def81f09543281b952\"@@@",
"@@@SET_BUILD_PROPERTY@got_engine_revision_cp@\"refs/heads/main@{#84512}\"@@@",
"@@@SET_BUILD_PROPERTY@got_revision@\"9221bca00ddbd888260084def81f09543281b952\"@@@"
]
},
{
"cmd": [
"vpython3",
"-u",
"RECIPE_REPO[depot_tools]/gclient.py",
"runhooks"
],
"cwd": "[CLEANUP]/builder",
"env_suffixes": {
"DEPOT_TOOLS_UPDATE": [
"0"
],
"PATH": [
"RECIPE_REPO[depot_tools]",
"RECIPE_REPO[depot_tools]"
]
},
"name": "Checkout source code.gclient runhooks",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"cipd",
"ensure",
"-root",
"[CLEANUP]/builder/src/flutter/lib/web_ui/.dart_tool/drivers/firefox",
"-ensure-file",
"flutter_internal/browser-drivers/firefoxdriver-linux latest",
"-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-latest----------\", @@@",
"@@@STEP_LOG_LINE@json.output@ \"package\": \"flutter_internal/browser-drivers/firefoxdriver-linux\"@@@",
"@@@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": [
"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": "[CLEANUP]/builder",
"env_suffixes": {
"DEPOT_TOOLS_UPDATE": [
"0"
],
"PATH": [
"RECIPE_REPO[depot_tools]"
]
},
"infra_step": true,
"name": "read infra revision",
"~followup_annotations": [
"@@@STEP_LOG_LINE@infra.sha1@git_revision:mock_infra_git_revision@@@",
"@@@STEP_LOG_END@infra.sha1@@@"
]
},
{
"cmd": [],
"name": "install infra/tools/luci/cas"
},
{
"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": "[CLEANUP]/builder",
"env_suffixes": {
"DEPOT_TOOLS_UPDATE": [
"0"
],
"PATH": [
"RECIPE_REPO[depot_tools]"
]
},
"infra_step": true,
"name": "install infra/tools/luci/cas.ensure package directory",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"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": "[CLEANUP]/builder",
"env_suffixes": {
"DEPOT_TOOLS_UPDATE": [
"0"
],
"PATH": [
"RECIPE_REPO[depot_tools]"
]
},
"infra_step": true,
"name": "install infra/tools/luci/cas.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-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",
"download",
"-cas-instance",
"projects/example-cas-server/instances/default_instance",
"-digest",
"abceqwe",
"-dir",
"[CLEANUP]/builder/src/out"
],
"cwd": "[CLEANUP]/builder",
"env_suffixes": {
"DEPOT_TOOLS_UPDATE": [
"0"
],
"PATH": [
"RECIPE_REPO[depot_tools]"
]
},
"infra_step": true,
"name": "Download engine from CAS"
},
{
"cmd": [
"[CLEANUP]/builder/src/out/host_debug_unopt/dart-sdk/bin/dart",
"pub",
"get"
],
"cwd": "[CLEANUP]/builder/src/flutter/web_sdk/web_engine_tester",
"env": {
"ANDROID_HOME": "[CLEANUP]/builder/src/third_party/android_tools/sdk",
"CHROME_NO_SANDBOX": "true",
"ENGINE_PATH": "[CLEANUP]/builder",
"GOMA_DIR": "[CACHE]/goma/client",
"LOCAL_ENGINE": "[CLEANUP]/builder/src/out/host_debug_unopt"
},
"env_prefixes": {
"PATH": [
"[CLEANUP]/builder/src/third_party/dart/tools/sdks/dart-sdk/bin",
"[CLEANUP]/builder/src/out/host_debug_unopt/dart-sdk/bin"
]
},
"env_suffixes": {
"DEPOT_TOOLS_UPDATE": [
"0",
"0"
],
"PATH": [
"RECIPE_REPO[depot_tools]",
"RECIPE_REPO[depot_tools]"
]
},
"infra_step": true,
"name": "dart pub get in web_engine_tester"
},
{
"cmd": [
"[CLEANUP]/builder/src/out/host_debug_unopt/dart-sdk/bin/dart",
"pub",
"get"
],
"cwd": "[CLEANUP]/builder/src/flutter/lib/web_ui",
"env": {
"ANDROID_HOME": "[CLEANUP]/builder/src/third_party/android_tools/sdk",
"CHROME_NO_SANDBOX": "true",
"ENGINE_PATH": "[CLEANUP]/builder",
"GOMA_DIR": "[CACHE]/goma/client",
"LOCAL_ENGINE": "[CLEANUP]/builder/src/out/host_debug_unopt"
},
"env_prefixes": {
"PATH": [
"[CLEANUP]/builder/src/third_party/dart/tools/sdks/dart-sdk/bin",
"[CLEANUP]/builder/src/out/host_debug_unopt/dart-sdk/bin"
]
},
"env_suffixes": {
"DEPOT_TOOLS_UPDATE": [
"0",
"0"
],
"PATH": [
"RECIPE_REPO[depot_tools]",
"RECIPE_REPO[depot_tools]"
]
},
"infra_step": true,
"name": "pub get in web_ui"
},
{
"cmd": [
"[CLEANUP]/builder/src/out/host_debug_unopt/dart-sdk/bin/dart",
"dev/felt.dart",
"test",
"--browser=firefox"
],
"cwd": "[CLEANUP]/builder/src/flutter/lib/web_ui",
"env": {
"ANDROID_HOME": "[CLEANUP]/builder/src/third_party/android_tools/sdk",
"CHROME_NO_SANDBOX": "true",
"ENGINE_PATH": "[CLEANUP]/builder",
"GOMA_DIR": "[CACHE]/goma/client",
"LOCAL_ENGINE": "[CLEANUP]/builder/src/out/host_debug_unopt"
},
"env_prefixes": {
"PATH": [
"[CLEANUP]/builder/src/third_party/dart/tools/sdks/dart-sdk/bin",
"[CLEANUP]/builder/src/out/host_debug_unopt/dart-sdk/bin"
]
},
"env_suffixes": {
"DEPOT_TOOLS_UPDATE": [
"0",
"0"
],
"PATH": [
"RECIPE_REPO[depot_tools]",
"RECIPE_REPO[depot_tools]"
]
},
"name": "felt test: firefox-tests"
},
{
"cmd": [],
"name": "Killing Processes"
},
{
"cmd": [
"pkill",
"chrome"
],
"cwd": "[CLEANUP]/builder/src/flutter/lib/web_ui",
"env": {
"ANDROID_HOME": "[CLEANUP]/builder/src/third_party/android_tools/sdk",
"CHROME_NO_SANDBOX": "true",
"ENGINE_PATH": "[CLEANUP]/builder",
"GOMA_DIR": "[CACHE]/goma/client",
"LOCAL_ENGINE": "[CLEANUP]/builder/src/out/host_debug_unopt"
},
"env_prefixes": {
"PATH": [
"[CLEANUP]/builder/src/third_party/dart/tools/sdks/dart-sdk/bin",
"[CLEANUP]/builder/src/out/host_debug_unopt/dart-sdk/bin"
]
},
"env_suffixes": {
"DEPOT_TOOLS_UPDATE": [
"0",
"0"
],
"PATH": [
"RECIPE_REPO[depot_tools]",
"RECIPE_REPO[depot_tools]"
]
},
"infra_step": true,
"name": "Killing Processes.kill chrome",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"pkill",
"dart"
],
"cwd": "[CLEANUP]/builder/src/flutter/lib/web_ui",
"env": {
"ANDROID_HOME": "[CLEANUP]/builder/src/third_party/android_tools/sdk",
"CHROME_NO_SANDBOX": "true",
"ENGINE_PATH": "[CLEANUP]/builder",
"GOMA_DIR": "[CACHE]/goma/client",
"LOCAL_ENGINE": "[CLEANUP]/builder/src/out/host_debug_unopt"
},
"env_prefixes": {
"PATH": [
"[CLEANUP]/builder/src/third_party/dart/tools/sdks/dart-sdk/bin",
"[CLEANUP]/builder/src/out/host_debug_unopt/dart-sdk/bin"
]
},
"env_suffixes": {
"DEPOT_TOOLS_UPDATE": [
"0",
"0"
],
"PATH": [
"RECIPE_REPO[depot_tools]",
"RECIPE_REPO[depot_tools]"
]
},
"infra_step": true,
"name": "Killing Processes.kill dart",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"pkill",
"flutter"
],
"cwd": "[CLEANUP]/builder/src/flutter/lib/web_ui",
"env": {
"ANDROID_HOME": "[CLEANUP]/builder/src/third_party/android_tools/sdk",
"CHROME_NO_SANDBOX": "true",
"ENGINE_PATH": "[CLEANUP]/builder",
"GOMA_DIR": "[CACHE]/goma/client",
"LOCAL_ENGINE": "[CLEANUP]/builder/src/out/host_debug_unopt"
},
"env_prefixes": {
"PATH": [
"[CLEANUP]/builder/src/third_party/dart/tools/sdks/dart-sdk/bin",
"[CLEANUP]/builder/src/out/host_debug_unopt/dart-sdk/bin"
]
},
"env_suffixes": {
"DEPOT_TOOLS_UPDATE": [
"0",
"0"
],
"PATH": [
"RECIPE_REPO[depot_tools]",
"RECIPE_REPO[depot_tools]"
]
},
"infra_step": true,
"name": "Killing Processes.kill flutter",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"pkill",
"java"
],
"cwd": "[CLEANUP]/builder/src/flutter/lib/web_ui",
"env": {
"ANDROID_HOME": "[CLEANUP]/builder/src/third_party/android_tools/sdk",
"CHROME_NO_SANDBOX": "true",
"ENGINE_PATH": "[CLEANUP]/builder",
"GOMA_DIR": "[CACHE]/goma/client",
"LOCAL_ENGINE": "[CLEANUP]/builder/src/out/host_debug_unopt"
},
"env_prefixes": {
"PATH": [
"[CLEANUP]/builder/src/third_party/dart/tools/sdks/dart-sdk/bin",
"[CLEANUP]/builder/src/out/host_debug_unopt/dart-sdk/bin"
]
},
"env_suffixes": {
"DEPOT_TOOLS_UPDATE": [
"0",
"0"
],
"PATH": [
"RECIPE_REPO[depot_tools]",
"RECIPE_REPO[depot_tools]"
]
},
"infra_step": true,
"name": "Killing Processes.kill java",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"pkill",
"adb"
],
"cwd": "[CLEANUP]/builder/src/flutter/lib/web_ui",
"env": {
"ANDROID_HOME": "[CLEANUP]/builder/src/third_party/android_tools/sdk",
"CHROME_NO_SANDBOX": "true",
"ENGINE_PATH": "[CLEANUP]/builder",
"GOMA_DIR": "[CACHE]/goma/client",
"LOCAL_ENGINE": "[CLEANUP]/builder/src/out/host_debug_unopt"
},
"env_prefixes": {
"PATH": [
"[CLEANUP]/builder/src/third_party/dart/tools/sdks/dart-sdk/bin",
"[CLEANUP]/builder/src/out/host_debug_unopt/dart-sdk/bin"
]
},
"env_suffixes": {
"DEPOT_TOOLS_UPDATE": [
"0",
"0"
],
"PATH": [
"RECIPE_REPO[depot_tools]",
"RECIPE_REPO[depot_tools]"
]
},
"infra_step": true,
"name": "Killing Processes.kill adb",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"top",
"-b",
"-n",
"3",
"-o",
"%MEM"
],
"cwd": "[CLEANUP]/builder/src/flutter/lib/web_ui",
"env": {
"ANDROID_HOME": "[CLEANUP]/builder/src/third_party/android_tools/sdk",
"CHROME_NO_SANDBOX": "true",
"ENGINE_PATH": "[CLEANUP]/builder",
"GOMA_DIR": "[CACHE]/goma/client",
"LOCAL_ENGINE": "[CLEANUP]/builder/src/out/host_debug_unopt"
},
"env_prefixes": {
"PATH": [
"[CLEANUP]/builder/src/third_party/dart/tools/sdks/dart-sdk/bin",
"[CLEANUP]/builder/src/out/host_debug_unopt/dart-sdk/bin"
]
},
"env_suffixes": {
"DEPOT_TOOLS_UPDATE": [
"0",
"0"
],
"PATH": [
"RECIPE_REPO[depot_tools]",
"RECIPE_REPO[depot_tools]"
]
},
"infra_step": true,
"name": "OS info"
},
{
"name": "$result"
}
]