1 [ 2 { 3 "cmd": [ 4 "python", 5 "-u", 6 "RECIPE_MODULE[recipe_engine::file]\\resources\\fileutil.py", 7 "--json-output", 8 "/path/to/tmp/json", 9 "ensure-directory", 10 "--mode", 11 "0777", 12 "[CUSTOM_C:\\_B_WORK]" 13 ], 14 "infra_step": true, 15 "name": "makedirs checkout_path" 16 }, 17 { 18 "cmd": [ 19 "python", 20 "-u", 21 "RECIPE_MODULE[recipe_engine::file]\\resources\\fileutil.py", 22 "--json-output", 23 "/path/to/tmp/json", 24 "remove", 25 "[CUSTOM_C:\\_B_WORK]\\.gclient_entries" 26 ], 27 "infra_step": true, 28 "name": "remove [CUSTOM_C:\\_B_WORK]\\.gclient_entries" 29 }, 30 { 31 "cmd": [ 32 "python", 33 "-u", 34 "RECIPE_MODULE[depot_tools::bot_update]\\resources\\bot_update.py", 35 "--spec-path", 36 "cache_dir = '[CUSTOM_C:\\\\_B_CACHE]'\nsolutions = [{'deps_file': '.DEPS.git', 'managed': False, 'name': 'skia', 'url': 'https://skia.googlesource.com/skia.git'}]", 37 "--patch_root", 38 "skia", 39 "--revision_mapping_file", 40 "{\"got_revision\": \"skia\"}", 41 "--git-cache-dir", 42 "[CUSTOM_C:\\_B_CACHE]", 43 "--cleanup-dir", 44 "[CLEANUP]\\bot_update", 45 "--output_json", 46 "/path/to/tmp/json", 47 "--revision", 48 "skia@abc123" 49 ], 50 "cwd": "[CUSTOM_C:\\_B_WORK]", 51 "env_prefixes": { 52 "PATH": [ 53 "RECIPE_PACKAGE_REPO[depot_tools]" 54 ] 55 }, 56 "infra_step": true, 57 "name": "bot_update", 58 "~followup_annotations": [ 59 "@@@STEP_TEXT@Some step text@@@", 60 "@@@STEP_LOG_LINE (a] json.output@{@@@", 61 "@@@STEP_LOG_LINE (a] json.output@ \"did_run\": true, @@@", 62 "@@@STEP_LOG_LINE (a] json.output@ \"fixed_revisions\": {@@@", 63 "@@@STEP_LOG_LINE (a] json.output@ \"skia\": \"abc123\"@@@", 64 "@@@STEP_LOG_LINE (a] json.output@ }, @@@", 65 "@@@STEP_LOG_LINE (a] json.output@ \"manifest\": {@@@", 66 "@@@STEP_LOG_LINE (a] json.output@ \"skia\": {@@@", 67 "@@@STEP_LOG_LINE (a] json.output@ \"repository\": \"https://fake.org/skia.git\", @@@", 68 "@@@STEP_LOG_LINE (a] json.output@ \"revision\": \"9046e2e693bb92a76e972b694580e5d17ad10748\"@@@", 69 "@@@STEP_LOG_LINE (a] json.output@ }@@@", 70 "@@@STEP_LOG_LINE (a] json.output@ }, @@@", 71 "@@@STEP_LOG_LINE (a] json.output@ \"patch_failure\": false, @@@", 72 "@@@STEP_LOG_LINE (a] json.output@ \"patch_root\": \"skia\", @@@", 73 "@@@STEP_LOG_LINE (a] json.output@ \"properties\": {@@@", 74 "@@@STEP_LOG_LINE (a] json.output@ \"got_revision\": \"9046e2e693bb92a76e972b694580e5d17ad10748\", @@@", 75 "@@@STEP_LOG_LINE (a] json.output@ \"got_revision_cp\": \"refs/heads/master@{#164710}\"@@@", 76 "@@@STEP_LOG_LINE (a] json.output@ }, @@@", 77 "@@@STEP_LOG_LINE (a] json.output@ \"root\": \"skia\", @@@", 78 "@@@STEP_LOG_LINE (a] json.output@ \"source_manifest\": {@@@", 79 "@@@STEP_LOG_LINE (a] json.output@ \"directories\": {@@@", 80 "@@@STEP_LOG_LINE (a] json.output@ \"skia\": {@@@", 81 "@@@STEP_LOG_LINE (a] json.output@ \"git_checkout\": {@@@", 82 "@@@STEP_LOG_LINE (a] json.output@ \"repo_url\": \"https://fake.org/skia.git\", @@@", 83 "@@@STEP_LOG_LINE (a] json.output@ \"revision\": \"9046e2e693bb92a76e972b694580e5d17ad10748\"@@@", 84 "@@@STEP_LOG_LINE (a] json.output@ }@@@", 85 "@@@STEP_LOG_LINE (a] json.output@ }@@@", 86 "@@@STEP_LOG_LINE (a] json.output@ }, @@@", 87 "@@@STEP_LOG_LINE (a] json.output@ \"version\": 0@@@", 88 "@@@STEP_LOG_LINE (a] json.output@ }, @@@", 89 "@@@STEP_LOG_LINE (a] json.output@ \"step_text\": \"Some step text\"@@@", 90 "@@@STEP_LOG_LINE (a] json.output@}@@@", 91 "@@@STEP_LOG_END (a] json.output@@@", 92 "@@@SET_BUILD_PROPERTY@got_revision@\"9046e2e693bb92a76e972b694580e5d17ad10748\"@@@", 93 "@@@SET_BUILD_PROPERTY@got_revision_cp@\"refs/heads/master@{#164710}\"@@@" 94 ] 95 }, 96 { 97 "cmd": [ 98 "python", 99 "-u", 100 "[CUSTOM_C:\\_B_WORK]\\skia\\bin\\fetch-gn" 101 ], 102 "cwd": "[CUSTOM_C:\\_B_WORK]\\skia", 103 "env": { 104 "BUILDTYPE": "Release_x64", 105 "CC": "/usr/bin/clang", 106 "CHROME_HEADLESS": "1", 107 "CXX": "/usr/bin/clang++", 108 "PATH": "<PATH>;RECIPE_PACKAGE_REPO[depot_tools]", 109 "SKIA_OUT": "[CUSTOM_C:\\_B_WORK]\\skia\\out\\Build-Win-Clang-x86_64-Release-Vulkan" 110 }, 111 "infra_step": true, 112 "name": "fetch-gn" 113 }, 114 { 115 "cmd": [ 116 "[CUSTOM_C:\\_B_WORK]\\skia\\bin\\gn.exe", 117 "gen", 118 "[CUSTOM_C:\\_B_WORK]\\skia\\out\\Build-Win-Clang-x86_64-Release-Vulkan\\Release_x64", 119 "--args=cc=\"clang\" clang_win=\"[START_DIR]\\clang_win\" cxx=\"clang++\" is_debug=false skia_enable_vulkan_debug_layers=false skia_vulkan_sdk=\"[START_DIR]\\win_vulkan_sdk\" target_cpu=\"x86_64\" win_sdk=\"[START_DIR]\\t\\depot_tools\\win_toolchain\\vs_files\\a9e1098bba66d2acccc377d5ee81265910f29272/win_sdk\" win_vc=\"[START_DIR]\\t\\depot_tools\\win_toolchain\\vs_files\\a9e1098bba66d2acccc377d5ee81265910f29272/VC\"" 120 ], 121 "cwd": "[CUSTOM_C:\\_B_WORK]\\skia", 122 "env": { 123 "BUILDTYPE": "Release_x64", 124 "CC": "/usr/bin/clang", 125 "CHROME_HEADLESS": "1", 126 "CXX": "/usr/bin/clang++", 127 "PATH": "<PATH>;RECIPE_PACKAGE_REPO[depot_tools]", 128 "SKIA_OUT": "[CUSTOM_C:\\_B_WORK]\\skia\\out\\Build-Win-Clang-x86_64-Release-Vulkan" 129 }, 130 "name": "gn gen" 131 }, 132 { 133 "cmd": [ 134 "ninja.exe", 135 "-k", 136 "0", 137 "-C", 138 "[CUSTOM_C:\\_B_WORK]\\skia\\out\\Build-Win-Clang-x86_64-Release-Vulkan\\Release_x64" 139 ], 140 "cwd": "[CUSTOM_C:\\_B_WORK]\\skia", 141 "env": { 142 "BUILDTYPE": "Release_x64", 143 "CC": "/usr/bin/clang", 144 "CHROME_HEADLESS": "1", 145 "CXX": "/usr/bin/clang++", 146 "PATH": "<PATH>;RECIPE_PACKAGE_REPO[depot_tools]", 147 "SKIA_OUT": "[CUSTOM_C:\\_B_WORK]\\skia\\out\\Build-Win-Clang-x86_64-Release-Vulkan" 148 }, 149 "name": "ninja" 150 }, 151 { 152 "cmd": [ 153 "python", 154 "-u", 155 "import errno\nimport glob\nimport os\nimport shutil\nimport sys\n\nsrc = sys.argv[1]\ndst = sys.argv[2]\nbuild_products_whitelist = ['bookmaker', 'dm', 'dm.exe', 'dm.app', 'nanobench.app', 'get_images_from_skps', 'get_images_from_skps.exe', 'nanobench', 'nanobench.exe', 'skpbench', '*.so', '*.dll', '*.dylib', 'skia_launcher', 'skiaserve', 'lib/*.so', 'vulkan-1.dll']\n\ntry:\n os.makedirs(dst)\nexcept OSError as e:\n if e.errno != errno.EEXIST:\n raise\n\nfor pattern in build_products_whitelist:\n path = os.path.join(src, pattern)\n for f in glob.glob(path):\n dst_path = os.path.join(dst, os.path.relpath(f, src))\n if not os.path.isdir(os.path.dirname(dst_path)):\n os.makedirs(os.path.dirname(dst_path))\n print 'Copying build product %s to %s' % (f, dst_path)\n shutil.move(f, dst_path)\n", 156 "[CUSTOM_C:\\_B_WORK]\\skia\\out\\Build-Win-Clang-x86_64-Release-Vulkan\\Release_x64", 157 "[CUSTOM_[SWARM_OUT_DIR]]\\out\\Release_x64" 158 ], 159 "infra_step": true, 160 "name": "copy build products", 161 "~followup_annotations": [ 162 "@@@STEP_LOG_LINE (a] python.inline@import errno@@@", 163 "@@@STEP_LOG_LINE (a] python.inline@import glob@@@", 164 "@@@STEP_LOG_LINE (a] python.inline@import os@@@", 165 "@@@STEP_LOG_LINE (a] python.inline@import shutil@@@", 166 "@@@STEP_LOG_LINE (a] python.inline@import sys@@@", 167 "@@@STEP_LOG_LINE (a] python.inline@@@@", 168 "@@@STEP_LOG_LINE (a] python.inline@src = sys.argv[1]@@@", 169 "@@@STEP_LOG_LINE (a] python.inline@dst = sys.argv[2]@@@", 170 "@@@STEP_LOG_LINE (a] python.inline@build_products_whitelist = ['bookmaker', 'dm', 'dm.exe', 'dm.app', 'nanobench.app', 'get_images_from_skps', 'get_images_from_skps.exe', 'nanobench', 'nanobench.exe', 'skpbench', '*.so', '*.dll', '*.dylib', 'skia_launcher', 'skiaserve', 'lib/*.so', 'vulkan-1.dll']@@@", 171 "@@@STEP_LOG_LINE (a] python.inline@@@@", 172 "@@@STEP_LOG_LINE (a] python.inline@try:@@@", 173 "@@@STEP_LOG_LINE (a] python.inline@ os.makedirs(dst)@@@", 174 "@@@STEP_LOG_LINE (a] python.inline@except OSError as e:@@@", 175 "@@@STEP_LOG_LINE (a] python.inline@ if e.errno != errno.EEXIST:@@@", 176 "@@@STEP_LOG_LINE (a] python.inline@ raise@@@", 177 "@@@STEP_LOG_LINE (a] python.inline@@@@", 178 "@@@STEP_LOG_LINE (a] python.inline@for pattern in build_products_whitelist:@@@", 179 "@@@STEP_LOG_LINE (a] python.inline@ path = os.path.join(src, pattern)@@@", 180 "@@@STEP_LOG_LINE (a] python.inline@ for f in glob.glob(path):@@@", 181 "@@@STEP_LOG_LINE (a] python.inline@ dst_path = os.path.join(dst, os.path.relpath(f, src))@@@", 182 "@@@STEP_LOG_LINE (a] python.inline@ if not os.path.isdir(os.path.dirname(dst_path)):@@@", 183 "@@@STEP_LOG_LINE (a] python.inline@ os.makedirs(os.path.dirname(dst_path))@@@", 184 "@@@STEP_LOG_LINE (a] python.inline@ print 'Copying build product %s to %s' % (f, dst_path)@@@", 185 "@@@STEP_LOG_LINE (a] python.inline@ shutil.move(f, dst_path)@@@", 186 "@@@STEP_LOG_END (a] python.inline@@@" 187 ] 188 }, 189 { 190 "cmd": [ 191 "python", 192 "-u", 193 "import errno\nimport glob\nimport os\nimport shutil\nimport sys\n\nsrc = sys.argv[1]\ndst = sys.argv[2]\nbuild_products_whitelist = ['bookmaker', 'dm', 'dm.exe', 'dm.app', 'nanobench.app', 'get_images_from_skps', 'get_images_from_skps.exe', 'nanobench', 'nanobench.exe', 'skpbench', '*.so', '*.dll', '*.dylib', 'skia_launcher', 'skiaserve', 'lib/*.so', 'vulkan-1.dll']\n\ntry:\n os.makedirs(dst)\nexcept OSError as e:\n if e.errno != errno.EEXIST:\n raise\n\nfor pattern in build_products_whitelist:\n path = os.path.join(src, pattern)\n for f in glob.glob(path):\n dst_path = os.path.join(dst, os.path.relpath(f, src))\n if not os.path.isdir(os.path.dirname(dst_path)):\n os.makedirs(os.path.dirname(dst_path))\n print 'Copying build product %s to %s' % (f, dst_path)\n shutil.move(f, dst_path)\n", 194 "[START_DIR]\\win_vulkan_sdk", 195 "[CUSTOM_[SWARM_OUT_DIR]]\\out\\Release_x64" 196 ], 197 "infra_step": true, 198 "name": "copy build products (2)", 199 "~followup_annotations": [ 200 "@@@STEP_LOG_LINE (a] python.inline@import errno@@@", 201 "@@@STEP_LOG_LINE (a] python.inline@import glob@@@", 202 "@@@STEP_LOG_LINE (a] python.inline@import os@@@", 203 "@@@STEP_LOG_LINE (a] python.inline@import shutil@@@", 204 "@@@STEP_LOG_LINE (a] python.inline@import sys@@@", 205 "@@@STEP_LOG_LINE (a] python.inline@@@@", 206 "@@@STEP_LOG_LINE (a] python.inline@src = sys.argv[1]@@@", 207 "@@@STEP_LOG_LINE (a] python.inline@dst = sys.argv[2]@@@", 208 "@@@STEP_LOG_LINE (a] python.inline@build_products_whitelist = ['bookmaker', 'dm', 'dm.exe', 'dm.app', 'nanobench.app', 'get_images_from_skps', 'get_images_from_skps.exe', 'nanobench', 'nanobench.exe', 'skpbench', '*.so', '*.dll', '*.dylib', 'skia_launcher', 'skiaserve', 'lib/*.so', 'vulkan-1.dll']@@@", 209 "@@@STEP_LOG_LINE (a] python.inline@@@@", 210 "@@@STEP_LOG_LINE (a] python.inline@try:@@@", 211 "@@@STEP_LOG_LINE (a] python.inline@ os.makedirs(dst)@@@", 212 "@@@STEP_LOG_LINE (a] python.inline@except OSError as e:@@@", 213 "@@@STEP_LOG_LINE (a] python.inline@ if e.errno != errno.EEXIST:@@@", 214 "@@@STEP_LOG_LINE (a] python.inline@ raise@@@", 215 "@@@STEP_LOG_LINE (a] python.inline@@@@", 216 "@@@STEP_LOG_LINE (a] python.inline@for pattern in build_products_whitelist:@@@", 217 "@@@STEP_LOG_LINE (a] python.inline@ path = os.path.join(src, pattern)@@@", 218 "@@@STEP_LOG_LINE (a] python.inline@ for f in glob.glob(path):@@@", 219 "@@@STEP_LOG_LINE (a] python.inline@ dst_path = os.path.join(dst, os.path.relpath(f, src))@@@", 220 "@@@STEP_LOG_LINE (a] python.inline@ if not os.path.isdir(os.path.dirname(dst_path)):@@@", 221 "@@@STEP_LOG_LINE (a] python.inline@ os.makedirs(os.path.dirname(dst_path))@@@", 222 "@@@STEP_LOG_LINE (a] python.inline@ print 'Copying build product %s to %s' % (f, dst_path)@@@", 223 "@@@STEP_LOG_LINE (a] python.inline@ shutil.move(f, dst_path)@@@", 224 "@@@STEP_LOG_END (a] python.inline@@@" 225 ] 226 }, 227 { 228 "cmd": [ 229 "python", 230 "-u", 231 "import psutil\nfor p in psutil.process_iter():\n try:\n if p.name in ('mspdbsrv.exe', 'vctip.exe', 'cl.exe', 'link.exe'):\n p.kill()\n except psutil._error.AccessDenied:\n pass\n" 232 ], 233 "infra_step": true, 234 "name": "cleanup", 235 "~followup_annotations": [ 236 "@@@STEP_LOG_LINE (a] python.inline@import psutil@@@", 237 "@@@STEP_LOG_LINE (a] python.inline@for p in psutil.process_iter():@@@", 238 "@@@STEP_LOG_LINE (a] python.inline@ try:@@@", 239 "@@@STEP_LOG_LINE (a] python.inline@ if p.name in ('mspdbsrv.exe', 'vctip.exe', 'cl.exe', 'link.exe'):@@@", 240 "@@@STEP_LOG_LINE (a] python.inline@ p.kill()@@@", 241 "@@@STEP_LOG_LINE (a] python.inline@ except psutil._error.AccessDenied:@@@", 242 "@@@STEP_LOG_LINE (a] python.inline@ pass@@@", 243 "@@@STEP_LOG_END (a] python.inline@@@" 244 ] 245 }, 246 { 247 "name": "$result", 248 "recipe_result": null, 249 "status_code": 0 250 } 251 ]