blob: 272d9b682b353c79ef7ffee0be034b1db3021631 [file] [log] [blame] [edit]
[
{
"cmd": [
"sw_vers",
"-productVersion"
],
"name": "find macOS version"
},
{
"cmd": [
"rm",
"-rf",
"[CACHE]/osx_sdk/xcode_deadbeef"
],
"infra_step": true,
"name": "Cleaning up Xcode cache"
},
{
"cmd": [
"echo",
"[CACHE]/osx_sdk/xcode_deadbeef"
],
"infra_step": true,
"name": "show app_dir"
},
{
"cmd": [
"ls",
"-al",
"[CACHE]/osx_sdk"
],
"infra_step": true,
"name": "Show xcode cache"
},
{
"cmd": [],
"name": "Running Cache Micro Manager on [CACHE]/osx_sdk."
},
{
"cmd": [],
"name": "Running Cache Micro Manager on [CACHE]/osx_sdk..Cache Micro Manager, cache directory exists check",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@",
"@@@STEP_TEXT@Cache dir does not exist, skipping.@@@"
]
},
{
"cmd": [
"ls",
"-al",
"[CACHE]/osx_sdk"
],
"infra_step": true,
"name": "Show xcode cache (2)"
},
{
"cmd": [],
"name": "install xcode"
},
{
"cmd": [
"cipd",
"ensure",
"-root",
"[CACHE]/osx_sdk/xcode_deadbeef",
"-ensure-file",
"infra/tools/mac_toolchain/${platform} 123abc",
"-max-threads",
"0",
"-json-output",
"/path/to/tmp/json"
],
"infra_step": true,
"name": "install xcode.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-123abc----------\",@@@",
"@@@STEP_LOG_LINE@json.output@ \"package\": \"infra/tools/mac_toolchain/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": [
"ls",
"-al",
"[CACHE]/osx_sdk/xcode_deadbeef"
],
"infra_step": true,
"name": "install xcode.Show tool_dir cache",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"[CACHE]/osx_sdk/xcode_deadbeef/mac_toolchain",
"install",
"-kind",
"mac",
"-xcode-version",
"deadbeef",
"-output-dir",
"[CACHE]/osx_sdk/xcode_deadbeef/XCode.app",
"-cipd-package-prefix",
"infra_internal/ios/xcode",
"-with-runtime=False",
"-verbose"
],
"infra_step": true,
"name": "install xcode.install xcode from cipd",
"timeout": 1800,
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [],
"name": "Cleaning up runtimes cache"
},
{
"cmd": [
"sudo",
"xcode-select",
"--switch",
"[CACHE]/osx_sdk/xcode_deadbeef/XCode.app"
],
"infra_step": true,
"name": "Cleaning up runtimes cache.select xcode",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"xcrun",
"simctl",
"runtime",
"delete",
"all"
],
"infra_step": true,
"name": "Cleaning up runtimes cache.Cleaning up mounted simulator runtimes",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@",
"@@@STEP_LOG_LINE@raw_io.output_text@No matching images found to delete@@@",
"@@@STEP_LOG_END@raw_io.output_text@@@"
]
},
{
"cmd": [
"xcrun",
"xcodebuild",
"-version"
],
"infra_step": true,
"name": "Cleaning up runtimes cache.check xcode version",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@",
"@@@STEP_LOG_LINE@raw_io.output_text@Xcode 15.0@@@",
"@@@STEP_LOG_LINE@raw_io.output_text@Build version 15C500b@@@",
"@@@STEP_LOG_END@raw_io.output_text@@@"
]
},
{
"cmd": [
"xcrun",
"simctl",
"list",
"runtimes"
],
"infra_step": true,
"name": "Cleaning up runtimes cache.list runtimes",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@",
"@@@STEP_LOG_LINE@raw_io.output_text@== Runtimes ==@@@",
"@@@STEP_LOG_LINE@raw_io.output_text@iOS 16.4 (16.2 - 20E247) - com.apple.CoreSimulator.SimRuntime.iOS-16-4@@@",
"@@@STEP_LOG_LINE@raw_io.output_text@iOS 16.2 (16.2 - 20C52) - com.apple.CoreSimulator.SimRuntime.iOS-16-2@@@",
"@@@STEP_LOG_END@raw_io.output_text@@@"
]
},
{
"cmd": [
"xcrun",
"simctl",
"list",
"runtimes"
],
"infra_step": true,
"name": "Cleaning up runtimes cache.list runtimes (2)",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@",
"@@@STEP_LOG_LINE@raw_io.output_text@== Runtimes ==@@@",
"@@@STEP_LOG_LINE@raw_io.output_text@iOS 16.4 (16.2 - 20E247) - com.apple.CoreSimulator.SimRuntime.iOS-16-4@@@",
"@@@STEP_LOG_END@raw_io.output_text@@@"
]
},
{
"cmd": [
"xcrun",
"simctl",
"list",
"runtimes"
],
"infra_step": true,
"name": "Cleaning up runtimes cache.list runtimes (3)",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@",
"@@@STEP_LOG_END@raw_io.output_text@@@"
]
},
{
"cmd": [
"vpython3",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"rmtree",
"[CACHE]/osx_sdk/xcode_runtime_dmg_ios-16-4_14e300c"
],
"infra_step": true,
"name": "Cleaning up runtimes cache.Cleaning up runtime cache ios-16-4_14e300c",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [],
"name": "install runtimes"
},
{
"cmd": [
"sudo",
"xcode-select",
"--switch",
"[CACHE]/osx_sdk/xcode_deadbeef/XCode.app"
],
"infra_step": true,
"name": "install runtimes.select xcode",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"xcrun",
"simctl",
"list",
"runtimes"
],
"infra_step": true,
"name": "install runtimes.list runtimes",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@",
"@@@STEP_LOG_END@raw_io.output_text@@@"
]
},
{
"cmd": [
"[CACHE]/osx_sdk/xcode_deadbeef/mac_toolchain",
"install-runtime-dmg",
"-cipd-package-prefix",
"infra_internal/ios/xcode",
"-runtime-version",
"ios-16-4",
"-xcode-version",
"14e300c",
"-output-dir",
"[CACHE]/osx_sdk/xcode_runtime_dmg_ios-16-4_14e300c"
],
"infra_step": true,
"name": "install runtimes.install xcode runtime ios-16-4_14e300c",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"vpython3",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"listdir",
"[CACHE]/osx_sdk/xcode_runtime_dmg_ios-16-4_14e300c"
],
"infra_step": true,
"name": "install runtimes.list xcode runtime dmg ios-16-4_14e300c",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@",
"@@@STEP_LOG_LINE@listdir@[CACHE]/osx_sdk/xcode_runtime_dmg_ios-16-4_14e300c/[CACHE]/osx_sdk/xcode_runtime_dmg_ios-16-4_14e300c/.cipd@@@",
"@@@STEP_LOG_LINE@listdir@[CACHE]/osx_sdk/xcode_runtime_dmg_ios-16-4_14e300c/[CACHE]/osx_sdk/xcode_runtime_dmg_ios-16-4_14e300c/iOS_17_Simulator_Runtime.dmg@@@",
"@@@STEP_LOG_END@listdir@@@"
]
},
{
"cmd": [],
"name": "install runtimes.cipd describe ios-16-4_14e300c",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"cipd",
"describe",
"infra_internal/ios/xcode/ios_runtime_dmg",
"-version",
"14e300c",
"-json-output",
"/path/to/tmp/json"
],
"infra_step": true,
"name": "install runtimes.cipd describe ios-16-4_14e300c.cipd describe infra_internal/ios/xcode/ios_runtime_dmg",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@",
"@@@STEP_LOG_LINE@json.output@{@@@",
"@@@STEP_LOG_LINE@json.output@ \"result\": {@@@",
"@@@STEP_LOG_LINE@json.output@ \"pin\": {@@@",
"@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"xxx\",@@@",
"@@@STEP_LOG_LINE@json.output@ \"package\": \"xxx\"@@@",
"@@@STEP_LOG_LINE@json.output@ },@@@",
"@@@STEP_LOG_LINE@json.output@ \"registered_by\": \"xxx\",@@@",
"@@@STEP_LOG_LINE@json.output@ \"registered_ts\": \"xxx\",@@@",
"@@@STEP_LOG_LINE@json.output@ \"tags\": [@@@",
"@@@STEP_LOG_LINE@json.output@ {@@@",
"@@@STEP_LOG_LINE@json.output@ \"registered_by\": \"xxx\",@@@",
"@@@STEP_LOG_LINE@json.output@ \"registered_ts\": \"xxx\",@@@",
"@@@STEP_LOG_LINE@json.output@ \"tag\": \"ios_runtime_build:20e247\"@@@",
"@@@STEP_LOG_LINE@json.output@ },@@@",
"@@@STEP_LOG_LINE@json.output@ {@@@",
"@@@STEP_LOG_LINE@json.output@ \"registered_by\": \"xxx\",@@@",
"@@@STEP_LOG_LINE@json.output@ \"registered_ts\": \"xxx\",@@@",
"@@@STEP_LOG_LINE@json.output@ \"tag\": \"ios_runtime_version:ios-16-4\"@@@",
"@@@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": "install runtimes.cipd describe ios-16-4_14e300c.runtime build version",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@",
"@@@STEP_TEXT@20e247@@@"
]
},
{
"cmd": [
"xcrun",
"simctl",
"runtime",
"add",
"[CACHE]/osx_sdk/xcode_runtime_dmg_ios-16-4_14e300c/[CACHE]/osx_sdk/xcode_runtime_dmg_ios-16-4_14e300c/iOS_17_Simulator_Runtime.dmg"
],
"infra_step": true,
"name": "install runtimes.verify and mount runtime ios-16-4_14e300c",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"killall",
"-9",
"-v",
"com.apple.CoreSimulator.CoreSimulatorDevice"
],
"infra_step": true,
"name": "kill dart"
},
{
"cmd": [
"sudo",
"xcode-select",
"--switch",
"[CACHE]/osx_sdk/xcode_deadbeef/XCode.app"
],
"infra_step": true,
"name": "select xcode"
},
{
"cmd": [
"xcrun",
"simctl",
"list"
],
"infra_step": true,
"name": "list simulators"
},
{
"cmd": [
"xcrun",
"simctl",
"list",
"runtimes"
],
"infra_step": true,
"name": "list runtimes"
},
{
"cmd": [
"gn",
"gen",
"out/Release"
],
"name": "gn"
},
{
"cmd": [
"ninja",
"-C",
"out/Release"
],
"name": "ninja"
},
{
"cmd": [
"sudo",
"xcode-select",
"--reset"
],
"infra_step": true,
"name": "reset XCode"
},
{
"cmd": [
"vpython3",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"rmtree",
"/opt/flutter/xcode/deadbeef"
],
"infra_step": true,
"name": "Cleaning up Xcode cache (2)"
},
{
"cmd": [],
"name": "install xcode (2)"
},
{
"cmd": [
"cipd",
"ensure",
"-root",
"[CLEANUP]/tmp_tmp_1/osx_sdk",
"-ensure-file",
"infra/tools/mac_toolchain/${platform} 123abc",
"-max-threads",
"0",
"-json-output",
"/path/to/tmp/json"
],
"infra_step": true,
"name": "install xcode (2).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-123abc----------\",@@@",
"@@@STEP_LOG_LINE@json.output@ \"package\": \"infra/tools/mac_toolchain/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": [
"ls",
"-al",
"[CLEANUP]/tmp_tmp_1/osx_sdk"
],
"infra_step": true,
"name": "install xcode (2).Show tool_dir cache",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"[CLEANUP]/tmp_tmp_1/osx_sdk/mac_toolchain",
"install",
"-kind",
"mac",
"-xcode-version",
"deadbeef",
"-output-dir",
"/opt/flutter/xcode/deadbeef/XCode.app",
"-cipd-package-prefix",
"infra_internal/ios/xcode",
"-with-runtime=False",
"-verbose"
],
"infra_step": true,
"name": "install xcode (2).install xcode from cipd",
"timeout": 1800,
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [],
"name": "Cleaning up runtimes cache (2)"
},
{
"cmd": [
"sudo",
"xcode-select",
"--switch",
"/opt/flutter/xcode/deadbeef/XCode.app"
],
"infra_step": true,
"name": "Cleaning up runtimes cache (2).select xcode",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"xcrun",
"simctl",
"runtime",
"delete",
"all"
],
"infra_step": true,
"name": "Cleaning up runtimes cache (2).Cleaning up mounted simulator runtimes",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@",
"@@@STEP_LOG_END@raw_io.output_text@@@"
]
},
{
"cmd": [
"xcrun",
"xcodebuild",
"-version"
],
"infra_step": true,
"name": "Cleaning up runtimes cache (2).check xcode version",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@",
"@@@STEP_LOG_END@raw_io.output_text@@@"
]
},
{
"cmd": [
"xcrun",
"simctl",
"list",
"runtimes"
],
"infra_step": true,
"name": "Cleaning up runtimes cache (2).list runtimes",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@",
"@@@STEP_LOG_END@raw_io.output_text@@@"
]
},
{
"cmd": [
"vpython3",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"rmtree",
"[CACHE]/osx_sdk/xcode_runtime_dmg_ios-16-4_14e300c"
],
"infra_step": true,
"name": "Cleaning up runtimes cache (2).Cleaning up runtime cache ios-16-4_14e300c",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"killall",
"-9",
"-v",
"com.apple.CoreSimulator.CoreSimulatorDevice"
],
"infra_step": true,
"name": "kill dart (2)"
},
{
"cmd": [
"sudo",
"xcode-select",
"--switch",
"/opt/flutter/xcode/deadbeef/XCode.app"
],
"infra_step": true,
"name": "select xcode (2)"
},
{
"cmd": [
"xcrun",
"simctl",
"list"
],
"infra_step": true,
"name": "list simulators (2)"
},
{
"cmd": [
"xcrun",
"simctl",
"list",
"runtimes"
],
"infra_step": true,
"name": "list runtimes (2)"
},
{
"cmd": [
"vpython3",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"rmtree",
"/opt/flutter/xcode/deadbeef"
],
"infra_step": true,
"name": "Cleaning up Xcode cache (3)"
},
{
"cmd": [],
"name": "install xcode (3)"
},
{
"cmd": [
"cipd",
"ensure",
"-root",
"[CLEANUP]/tmp_tmp_2/osx_sdk",
"-ensure-file",
"infra/tools/mac_toolchain/${platform} 123abc",
"-max-threads",
"0",
"-json-output",
"/path/to/tmp/json"
],
"infra_step": true,
"name": "install xcode (3).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-123abc----------\",@@@",
"@@@STEP_LOG_LINE@json.output@ \"package\": \"infra/tools/mac_toolchain/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": [
"ls",
"-al",
"[CLEANUP]/tmp_tmp_2/osx_sdk"
],
"infra_step": true,
"name": "install xcode (3).Show tool_dir cache",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"[CLEANUP]/tmp_tmp_2/osx_sdk/mac_toolchain",
"install",
"-kind",
"mac",
"-xcode-version",
"deadbeef",
"-output-dir",
"/opt/flutter/xcode/deadbeef/XCode.app",
"-cipd-package-prefix",
"infra_internal/ios/xcode",
"-with-runtime=False",
"-verbose"
],
"infra_step": true,
"name": "install xcode (3).install xcode from cipd",
"timeout": 1800,
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [],
"name": "Cleaning up runtimes cache (3)"
},
{
"cmd": [
"sudo",
"xcode-select",
"--switch",
"/opt/flutter/xcode/deadbeef/XCode.app"
],
"infra_step": true,
"name": "Cleaning up runtimes cache (3).select xcode",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"xcrun",
"simctl",
"runtime",
"delete",
"all"
],
"infra_step": true,
"name": "Cleaning up runtimes cache (3).Cleaning up mounted simulator runtimes",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@",
"@@@STEP_LOG_END@raw_io.output_text@@@"
]
},
{
"cmd": [
"xcrun",
"xcodebuild",
"-version"
],
"infra_step": true,
"name": "Cleaning up runtimes cache (3).check xcode version",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@",
"@@@STEP_LOG_END@raw_io.output_text@@@"
]
},
{
"cmd": [
"xcrun",
"simctl",
"list",
"runtimes"
],
"infra_step": true,
"name": "Cleaning up runtimes cache (3).list runtimes",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@",
"@@@STEP_LOG_END@raw_io.output_text@@@"
]
},
{
"cmd": [
"vpython3",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"rmtree",
"[CACHE]/osx_sdk/xcode_runtime_dmg_ios-16-4_14e300c"
],
"infra_step": true,
"name": "Cleaning up runtimes cache (3).Cleaning up runtime cache ios-16-4_14e300c",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"killall",
"-9",
"-v",
"com.apple.CoreSimulator.CoreSimulatorDevice"
],
"infra_step": true,
"name": "kill dart (3)"
},
{
"cmd": [
"sudo",
"xcode-select",
"--switch",
"/opt/flutter/xcode/deadbeef/XCode.app"
],
"infra_step": true,
"name": "select xcode (3)"
},
{
"cmd": [
"xcrun",
"simctl",
"list"
],
"infra_step": true,
"name": "list simulators (3)"
},
{
"cmd": [
"gn",
"gen",
"out/Release"
],
"name": "gn (2)"
},
{
"cmd": [
"ninja",
"-C",
"out/Release"
],
"name": "ninja (2)"
},
{
"cmd": [
"sudo",
"xcode-select",
"--reset"
],
"infra_step": true,
"name": "reset XCode (2)"
},
{
"cmd": [
"sudo",
"xcode-select",
"--reset"
],
"infra_step": true,
"name": "reset XCode (3)"
},
{
"name": "$result"
}
]