blob: fe0a92708f706385323b1878bb3e4e905fb63078 [file] [log] [blame]
[
{
"cmd": [],
"name": "ios_debug_symbol_doctor",
"~followup_annotations": [
"@@@STEP_EXCEPTION@@@"
]
},
{
"cmd": [],
"name": "ios_debug_symbol_doctor.Checkout flutter/cocoon",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"python3",
"-u",
"RECIPE_MODULE[depot_tools::git]/resources/git_setup.py",
"--path",
"[CACHE]/cocoon",
"--url",
"https://flutter.googlesource.com/mirrors/cocoon"
],
"name": "ios_debug_symbol_doctor.Checkout flutter/cocoon.git setup",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"git",
"fetch",
"origin",
"main",
"--recurse-submodules",
"--progress",
"--tags"
],
"cwd": "[CACHE]/cocoon",
"env": {
"PATH": "RECIPE_REPO[depot_tools]:<PATH>"
},
"infra_step": true,
"name": "ios_debug_symbol_doctor.Checkout flutter/cocoon.git fetch",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"git",
"checkout",
"-f",
"FETCH_HEAD"
],
"cwd": "[CACHE]/cocoon",
"infra_step": true,
"name": "ios_debug_symbol_doctor.Checkout flutter/cocoon.git checkout",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"git",
"rev-parse",
"HEAD"
],
"cwd": "[CACHE]/cocoon",
"infra_step": true,
"name": "ios_debug_symbol_doctor.Checkout flutter/cocoon.read revision",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@",
"@@@STEP_TEXT@<br/>checked out 'deadbeef'<br/>@@@",
"@@@SET_BUILD_PROPERTY@got_revision@\"deadbeef\"@@@"
]
},
{
"cmd": [
"git",
"clean",
"-f",
"-d",
"-x"
],
"cwd": "[CACHE]/cocoon",
"infra_step": true,
"name": "ios_debug_symbol_doctor.Checkout flutter/cocoon.git clean",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"git",
"submodule",
"sync"
],
"cwd": "[CACHE]/cocoon",
"infra_step": true,
"name": "ios_debug_symbol_doctor.Checkout flutter/cocoon.submodule sync",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"git",
"submodule",
"update",
"--init",
"--recursive"
],
"cwd": "[CACHE]/cocoon",
"infra_step": true,
"name": "ios_debug_symbol_doctor.Checkout flutter/cocoon.submodule update",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"dart",
"pub",
"get"
],
"cwd": "[CACHE]/cocoon/cipd_packages/device_doctor",
"infra_step": true,
"name": "ios_debug_symbol_doctor.pub get device_doctor",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"dart",
"[CACHE]/cocoon/cipd_packages/device_doctor/bin/ios_debug_symbol_doctor.dart",
"diagnose"
],
"cwd": "[CACHE]/cocoon/cipd_packages/device_doctor",
"infra_step": true,
"name": "ios_debug_symbol_doctor.diagnose",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@",
"@@@STEP_EXCEPTION@@@"
]
},
{
"cmd": [
"dart",
"[CACHE]/cocoon/cipd_packages/device_doctor/bin/ios_debug_symbol_doctor.dart",
"recover",
"--cocoon-root",
"[CACHE]/cocoon",
"--timeout",
"120"
],
"cwd": "[CACHE]/cocoon/cipd_packages/device_doctor",
"infra_step": true,
"name": "ios_debug_symbol_doctor.recover with 120 second timeout",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"dart",
"[CACHE]/cocoon/cipd_packages/device_doctor/bin/ios_debug_symbol_doctor.dart",
"diagnose"
],
"cwd": "[CACHE]/cocoon/cipd_packages/device_doctor",
"infra_step": true,
"name": "ios_debug_symbol_doctor.diagnose (2)",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [],
"name": "Killing Processes"
},
{
"cmd": [
"killall",
"-9",
"dart"
],
"infra_step": true,
"name": "Killing Processes.kill dart",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"killall",
"-9",
"flutter"
],
"infra_step": true,
"name": "Killing Processes.kill flutter",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"killall",
"-9",
"Chrome"
],
"infra_step": true,
"name": "Killing Processes.kill Chrome",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"killall",
"-9",
"Safari"
],
"infra_step": true,
"name": "Killing Processes.kill Safari",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"killall",
"-9",
"java"
],
"infra_step": true,
"name": "Killing Processes.kill Safari (2)",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"killall",
"-9",
"adb"
],
"infra_step": true,
"name": "Killing Processes.kill Safari (3)",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"killall",
"-9",
"Xcode"
],
"infra_step": true,
"name": "Killing Processes.kill Xcode",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"top",
"-l",
"3",
"-o",
"mem"
],
"infra_step": true,
"name": "OS info"
},
{
"cmd": [
"xattr",
"/opt/s/w/ir/cipd_bin_packages/python3"
],
"infra_step": true,
"name": "python3 xattr info"
},
{
"cmd": [
"xattr",
"/opt/s/w/ir/cipd_bin_packages/git"
],
"infra_step": true,
"name": "git xattr info"
},
{
"cmd": [
"vpython3",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"rmtree",
"[CLEANUP]/tmp_tmp_1"
],
"infra_step": true,
"name": "temp dir for Create temp directory"
},
{
"cmd": [
"rm",
"-rf",
"[HOME]/Library/Developer/Xcode/DerivedData"
],
"infra_step": true,
"name": "Delete mac deriveddata"
},
{
"cmd": [],
"name": "Shutdown simulators"
},
{
"cmd": [
"sudo",
"xcrun",
"simctl",
"shutdown",
"all"
],
"name": "Shutdown simulators.Shutdown simulators",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"sudo",
"xcrun",
"simctl",
"erase",
"all"
],
"name": "Shutdown simulators.Erase simulators",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [],
"name": "Dismiss dialogs"
},
{
"cmd": [],
"name": "Dismiss dialogs.Dismiss iOS dialogs",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [],
"name": "Dismiss dialogs.Dismiss iOS dialogs.Checkout flutter/cocoon",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"python3",
"-u",
"RECIPE_MODULE[depot_tools::git]/resources/git_setup.py",
"--path",
"[CACHE]/cocoon",
"--url",
"https://flutter.googlesource.com/mirrors/cocoon"
],
"name": "Dismiss dialogs.Dismiss iOS dialogs.Checkout flutter/cocoon.git setup",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@3@@@"
]
},
{
"cmd": [
"git",
"fetch",
"origin",
"main",
"--recurse-submodules",
"--progress",
"--tags"
],
"cwd": "[CACHE]/cocoon",
"env": {
"PATH": "RECIPE_REPO[depot_tools]:<PATH>"
},
"infra_step": true,
"name": "Dismiss dialogs.Dismiss iOS dialogs.Checkout flutter/cocoon.git fetch",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@3@@@"
]
},
{
"cmd": [
"git",
"checkout",
"-f",
"FETCH_HEAD"
],
"cwd": "[CACHE]/cocoon",
"infra_step": true,
"name": "Dismiss dialogs.Dismiss iOS dialogs.Checkout flutter/cocoon.git checkout",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@3@@@"
]
},
{
"cmd": [
"git",
"rev-parse",
"HEAD"
],
"cwd": "[CACHE]/cocoon",
"infra_step": true,
"name": "Dismiss dialogs.Dismiss iOS dialogs.Checkout flutter/cocoon.read revision",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@3@@@",
"@@@STEP_TEXT@<br/>checked out 'deadbeef'<br/>@@@",
"@@@SET_BUILD_PROPERTY@got_revision@\"deadbeef\"@@@"
]
},
{
"cmd": [
"git",
"clean",
"-f",
"-d",
"-x"
],
"cwd": "[CACHE]/cocoon",
"infra_step": true,
"name": "Dismiss dialogs.Dismiss iOS dialogs.Checkout flutter/cocoon.git clean",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@3@@@"
]
},
{
"cmd": [
"git",
"submodule",
"sync"
],
"cwd": "[CACHE]/cocoon",
"infra_step": true,
"name": "Dismiss dialogs.Dismiss iOS dialogs.Checkout flutter/cocoon.submodule sync",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@3@@@"
]
},
{
"cmd": [
"git",
"submodule",
"update",
"--init",
"--recursive"
],
"cwd": "[CACHE]/cocoon",
"infra_step": true,
"name": "Dismiss dialogs.Dismiss iOS dialogs.Checkout flutter/cocoon.submodule update",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@3@@@"
]
},
{
"cmd": [
"chmod",
"755",
"RECIPE_MODULE[flutter::os_utils]/resources/dismiss_dialogs.sh"
],
"infra_step": true,
"name": "Dismiss dialogs.Dismiss iOS dialogs.Set execute permission",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"idevice_id",
"-l"
],
"cwd": "[CACHE]/cocoon/cipd_packages/device_doctor/tool/infra-dialog",
"infra_step": true,
"name": "Dismiss dialogs.Dismiss iOS dialogs.Find device id",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"RECIPE_MODULE[flutter::os_utils]/resources/dismiss_dialogs.sh",
""
],
"cwd": "[CACHE]/cocoon/cipd_packages/device_doctor/tool/infra-dialog",
"infra_step": true,
"name": "Dismiss dialogs.Dismiss iOS dialogs.Run app to dismiss dialogs",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [],
"name": "Dismiss dialogs.Dismiss Xcode automation dialogs",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"xcrun",
"devicectl",
"list",
"devices",
"-v"
],
"infra_step": true,
"name": "Dismiss dialogs.Dismiss Xcode automation dialogs.List CoreDevices",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"xcrun",
"devicectl",
"list",
"devices",
"--filter",
"connectionProperties.transportType CONTAINS 'wired'",
"-v"
],
"infra_step": true,
"name": "Dismiss dialogs.Dismiss Xcode automation dialogs.Find wired CoreDevices",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [],
"name": "Dismiss dialogs.Dismiss Xcode automation dialogs.Get buildername",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"ls",
"Users/fakeuser/Library/Application Support/com.apple.TCC"
],
"infra_step": true,
"name": "Dismiss dialogs.Dismiss Xcode automation dialogs.List TCC directory",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"ls",
"Users/fakeuser/Library/Application Support/com.apple.TCC"
],
"infra_step": true,
"name": "Dismiss dialogs.Dismiss Xcode automation dialogs.Find TCC directory",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"sqlite3",
"Users/fakeuser/Library/Application Support/com.apple.TCC/TCC.db",
"SELECT service, client, client_type, auth_value, auth_reason, indirect_object_identifier_type, indirect_object_identifier, flags, last_modified FROM access WHERE service = \"kTCCServiceAppleEvents\""
],
"infra_step": true,
"name": "Dismiss dialogs.Dismiss Xcode automation dialogs.Query TCC db",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"cp",
"Users/fakeuser/Library/Application Support/com.apple.TCC/TCC.db",
"Users/fakeuser/Library/Application Support/com.apple.TCC/TCC.db.backup"
],
"infra_step": true,
"name": "Dismiss dialogs.Dismiss Xcode automation dialogs.Create backup db",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"osascript",
"-e",
"tell app \"Xcode\"",
"-e",
"launch",
"-e",
"count window",
"-e",
"end tell"
],
"infra_step": true,
"name": "Dismiss dialogs.Dismiss Xcode automation dialogs.Trigger dialog",
"timeout": 2,
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"killall",
"-9",
"UserNotificationCenter"
],
"infra_step": true,
"name": "Dismiss dialogs.Dismiss Xcode automation dialogs.Dismiss dialog",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"sqlite3",
"Users/fakeuser/Library/Application Support/com.apple.TCC/TCC.db",
"SELECT service, client, client_type, auth_value, auth_reason, indirect_object_identifier_type, indirect_object_identifier, flags, last_modified FROM access WHERE service = \"kTCCServiceAppleEvents\""
],
"infra_step": true,
"name": "Dismiss dialogs.Dismiss Xcode automation dialogs.Query TCC db (2)",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"sqlite3",
"Users/fakeuser/Library/Application Support/com.apple.TCC/TCC.db",
"UPDATE access SET auth_value = 2, auth_reason = 3, flags = NULL WHERE service = 'kTCCServiceAppleEvents' AND indirect_object_identifier = 'com.apple.dt.Xcode'"
],
"infra_step": true,
"name": "Dismiss dialogs.Dismiss Xcode automation dialogs.Update db",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"sqlite3",
"Users/fakeuser/Library/Application Support/com.apple.TCC/TCC.db",
"SELECT service, client, client_type, auth_value, auth_reason, indirect_object_identifier_type, indirect_object_identifier, flags, last_modified FROM access WHERE service = \"kTCCServiceAppleEvents\""
],
"infra_step": true,
"name": "Dismiss dialogs.Dismiss Xcode automation dialogs.Query TCC db (3)",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"killall",
"-9",
"Xcode"
],
"infra_step": true,
"name": "Dismiss dialogs.Dismiss Xcode automation dialogs.Kill Xcode",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [],
"name": "Reset Xcode automation dialogs"
},
{
"cmd": [
"ls",
"Users/fakeuser/Library/Application Support/com.apple.TCC"
],
"infra_step": true,
"name": "Reset Xcode automation dialogs.Find TCC directory",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"ln",
"-s",
"/a/file",
"/a/b/c/simlink"
],
"infra_step": true,
"name": "Link /a/b/c/simlink to /a/file"
},
{
"cmd": [
"killall",
"-9",
"com.apple.CoreSimulator.CoreSimulatorDevice"
],
"infra_step": true,
"name": "kill dart"
},
{
"name": "$result"
}
]