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 "[START_DIR]/tmp" 13 ], 14 "infra_step": true, 15 "name": "makedirs tmp_dir" 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 "copy", 25 "[START_DIR]/skia/infra/bots/assets/skp/VERSION", 26 "/path/to/tmp/" 27 ], 28 "infra_step": true, 29 "name": "Get skp VERSION" 30 }, 31 { 32 "cmd": [ 33 "python", 34 "-u", 35 "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", 36 "--json-output", 37 "/path/to/tmp/json", 38 "copy", 39 "42", 40 "[START_DIR]/tmp/SKP_VERSION" 41 ], 42 "infra_step": true, 43 "name": "write SKP_VERSION" 44 }, 45 { 46 "cmd": [ 47 "python", 48 "-u", 49 "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", 50 "--json-output", 51 "/path/to/tmp/json", 52 "copy", 53 "[START_DIR]/skia/infra/bots/assets/skimage/VERSION", 54 "/path/to/tmp/" 55 ], 56 "infra_step": true, 57 "name": "Get skimage VERSION" 58 }, 59 { 60 "cmd": [ 61 "python", 62 "-u", 63 "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", 64 "--json-output", 65 "/path/to/tmp/json", 66 "copy", 67 "42", 68 "[START_DIR]/tmp/SK_IMAGE_VERSION" 69 ], 70 "infra_step": true, 71 "name": "write SK_IMAGE_VERSION" 72 }, 73 { 74 "cmd": [ 75 "python", 76 "-u", 77 "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", 78 "--json-output", 79 "/path/to/tmp/json", 80 "copy", 81 "[START_DIR]/skia/infra/bots/assets/svg/VERSION", 82 "/path/to/tmp/" 83 ], 84 "infra_step": true, 85 "name": "Get svg VERSION" 86 }, 87 { 88 "cmd": [ 89 "python", 90 "-u", 91 "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", 92 "--json-output", 93 "/path/to/tmp/json", 94 "copy", 95 "42", 96 "[START_DIR]/tmp/SVG_VERSION" 97 ], 98 "infra_step": true, 99 "name": "write SVG_VERSION" 100 }, 101 { 102 "cmd": [ 103 "python", 104 "-u", 105 "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", 106 "--json-output", 107 "/path/to/tmp/json", 108 "rmtree", 109 "[START_DIR]/[SWARM_OUT_DIR]" 110 ], 111 "infra_step": true, 112 "name": "rmtree [SWARM_OUT_DIR]" 113 }, 114 { 115 "cmd": [ 116 "python", 117 "-u", 118 "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", 119 "--json-output", 120 "/path/to/tmp/json", 121 "ensure-directory", 122 "--mode", 123 "0777", 124 "[START_DIR]/[SWARM_OUT_DIR]" 125 ], 126 "infra_step": true, 127 "name": "makedirs [SWARM_OUT_DIR]" 128 }, 129 { 130 "cmd": [ 131 "python", 132 "-u", 133 "import os\nprint os.environ.get('SWARMING_BOT_ID', '')\n" 134 ], 135 "name": "get swarming bot id", 136 "stdout": "/path/to/tmp/", 137 "~followup_annotations": [ 138 "@@@STEP_LOG_LINE@python.inline@import os@@@", 139 "@@@STEP_LOG_LINE@python.inline@print os.environ.get('SWARMING_BOT_ID', '')@@@", 140 "@@@STEP_LOG_END@python.inline@@@" 141 ] 142 }, 143 { 144 "cmd": [ 145 "python", 146 "-u", 147 "import os\nprint os.environ.get('SWARMING_TASK_ID', '')\n" 148 ], 149 "name": "get swarming task id", 150 "stdout": "/path/to/tmp/", 151 "~followup_annotations": [ 152 "@@@STEP_LOG_LINE@python.inline@import os@@@", 153 "@@@STEP_LOG_LINE@python.inline@print os.environ.get('SWARMING_TASK_ID', '')@@@", 154 "@@@STEP_LOG_END@python.inline@@@" 155 ] 156 }, 157 { 158 "cmd": [ 159 "[START_DIR]/build/nanobench", 160 "-i", 161 "[START_DIR]/skia/resources", 162 "--skps", 163 "[START_DIR]/skp", 164 "--images", 165 "[START_DIR]/skimage/nanobench", 166 "--svgs", 167 "[START_DIR]/svg", 168 "--pre_log", 169 "--images", 170 "--gpuStatsDump", 171 "true", 172 "--scales", 173 "1.0", 174 "1.1", 175 "--nocpu", 176 "--config", 177 "gl", 178 "glsrgb", 179 "--reduceOpListSplitting", 180 "--match", 181 "~inc0.gif", 182 "~inc1.gif", 183 "~incInterlaced.gif", 184 "~inc0.jpg", 185 "~incGray.jpg", 186 "~inc0.wbmp", 187 "~inc1.wbmp", 188 "~inc0.webp", 189 "~inc1.webp", 190 "~inc0.ico", 191 "~inc1.ico", 192 "~inc0.png", 193 "~inc1.png", 194 "~inc2.png", 195 "~inc12.png", 196 "~inc13.png", 197 "~inc14.png", 198 "~inc0.webp", 199 "~inc1.webp", 200 "--outResultsFile", 201 "[START_DIR]/[SWARM_OUT_DIR]/nanobench_abc123_1337000001.json", 202 "--properties", 203 "gitHash", 204 "abc123", 205 "issue", 206 "456789", 207 "patchset", 208 "12", 209 "patch_storage", 210 "gerrit", 211 "swarming_bot_id", 212 "", 213 "swarming_task_id", 214 "", 215 "--key", 216 "arch", 217 "x86_64", 218 "compiler", 219 "Clang", 220 "cpu_or_gpu", 221 "GPU", 222 "cpu_or_gpu_value", 223 "IntelHD4400", 224 "model", 225 "NUCD34010WYKH", 226 "os", 227 "Win10" 228 ], 229 "env": { 230 "CHROME_HEADLESS": "1", 231 "PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]" 232 }, 233 "name": "nanobench" 234 }, 235 { 236 "cmd": [ 237 "python", 238 "-u", 239 "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", 240 "--json-output", 241 "/path/to/tmp/json", 242 "ensure-directory", 243 "--mode", 244 "0777", 245 "[START_DIR]/[SWARM_OUT_DIR]" 246 ], 247 "infra_step": true, 248 "name": "makedirs perf_dir" 249 }, 250 { 251 "jsonResult": null, 252 "name": "$result" 253 } 254]