Eric Boren | 7e97dc0 | 2017-02-02 09:02:37 -0500 | [diff] [blame] | 1 | [ |
| 2 | { |
| 3 | "cmd": [ |
| 4 | "python", |
| 5 | "-u", |
Eric Boren | 3e2ffd7 | 2017-06-16 13:10:22 -0400 | [diff] [blame] | 6 | "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| 7 | "--json-output", |
| 8 | "/path/to/tmp/json", |
Eric Boren | b702316 | 2018-05-04 13:46:15 -0400 | [diff] [blame] | 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", |
Eric Boren | 3e2ffd7 | 2017-06-16 13:10:22 -0400 | [diff] [blame] | 24 | "copy", |
Eric Boren | 7e97dc0 | 2017-02-02 09:02:37 -0500 | [diff] [blame] | 25 | "[START_DIR]/skia/infra/bots/assets/skp/VERSION", |
| 26 | "/path/to/tmp/" |
| 27 | ], |
Eric Boren | a159085 | 2017-03-20 12:48:31 -0400 | [diff] [blame] | 28 | "infra_step": true, |
Ben Wagner | f20710e | 2018-03-19 16:52:37 -0400 | [diff] [blame] | 29 | "name": "Get skp VERSION" |
Eric Boren | 7e97dc0 | 2017-02-02 09:02:37 -0500 | [diff] [blame] | 30 | }, |
| 31 | { |
| 32 | "cmd": [ |
| 33 | "python", |
| 34 | "-u", |
Eric Boren | 3e2ffd7 | 2017-06-16 13:10:22 -0400 | [diff] [blame] | 35 | "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| 36 | "--json-output", |
| 37 | "/path/to/tmp/json", |
| 38 | "copy", |
Eric Boren | 7e97dc0 | 2017-02-02 09:02:37 -0500 | [diff] [blame] | 39 | "42", |
| 40 | "[START_DIR]/tmp/SKP_VERSION" |
| 41 | ], |
Eric Boren | a159085 | 2017-03-20 12:48:31 -0400 | [diff] [blame] | 42 | "infra_step": true, |
Eric Boren | 7e97dc0 | 2017-02-02 09:02:37 -0500 | [diff] [blame] | 43 | "name": "write SKP_VERSION" |
| 44 | }, |
| 45 | { |
| 46 | "cmd": [ |
| 47 | "python", |
| 48 | "-u", |
Eric Boren | 3e2ffd7 | 2017-06-16 13:10:22 -0400 | [diff] [blame] | 49 | "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| 50 | "--json-output", |
| 51 | "/path/to/tmp/json", |
| 52 | "copy", |
Eric Boren | 7e97dc0 | 2017-02-02 09:02:37 -0500 | [diff] [blame] | 53 | "[START_DIR]/skia/infra/bots/assets/skimage/VERSION", |
| 54 | "/path/to/tmp/" |
| 55 | ], |
Eric Boren | a159085 | 2017-03-20 12:48:31 -0400 | [diff] [blame] | 56 | "infra_step": true, |
Ben Wagner | f20710e | 2018-03-19 16:52:37 -0400 | [diff] [blame] | 57 | "name": "Get skimage VERSION" |
Eric Boren | 7e97dc0 | 2017-02-02 09:02:37 -0500 | [diff] [blame] | 58 | }, |
| 59 | { |
| 60 | "cmd": [ |
| 61 | "python", |
| 62 | "-u", |
Eric Boren | 3e2ffd7 | 2017-06-16 13:10:22 -0400 | [diff] [blame] | 63 | "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| 64 | "--json-output", |
| 65 | "/path/to/tmp/json", |
| 66 | "copy", |
Eric Boren | 7e97dc0 | 2017-02-02 09:02:37 -0500 | [diff] [blame] | 67 | "42", |
| 68 | "[START_DIR]/tmp/SK_IMAGE_VERSION" |
| 69 | ], |
Eric Boren | a159085 | 2017-03-20 12:48:31 -0400 | [diff] [blame] | 70 | "infra_step": true, |
Eric Boren | 7e97dc0 | 2017-02-02 09:02:37 -0500 | [diff] [blame] | 71 | "name": "write SK_IMAGE_VERSION" |
| 72 | }, |
| 73 | { |
| 74 | "cmd": [ |
| 75 | "python", |
| 76 | "-u", |
Eric Boren | 3e2ffd7 | 2017-06-16 13:10:22 -0400 | [diff] [blame] | 77 | "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| 78 | "--json-output", |
| 79 | "/path/to/tmp/json", |
| 80 | "copy", |
Eric Boren | 7e97dc0 | 2017-02-02 09:02:37 -0500 | [diff] [blame] | 81 | "[START_DIR]/skia/infra/bots/assets/svg/VERSION", |
| 82 | "/path/to/tmp/" |
| 83 | ], |
Eric Boren | a159085 | 2017-03-20 12:48:31 -0400 | [diff] [blame] | 84 | "infra_step": true, |
Ben Wagner | f20710e | 2018-03-19 16:52:37 -0400 | [diff] [blame] | 85 | "name": "Get svg VERSION" |
Eric Boren | 7e97dc0 | 2017-02-02 09:02:37 -0500 | [diff] [blame] | 86 | }, |
| 87 | { |
| 88 | "cmd": [ |
| 89 | "python", |
| 90 | "-u", |
Eric Boren | 3e2ffd7 | 2017-06-16 13:10:22 -0400 | [diff] [blame] | 91 | "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| 92 | "--json-output", |
| 93 | "/path/to/tmp/json", |
| 94 | "copy", |
Eric Boren | 7e97dc0 | 2017-02-02 09:02:37 -0500 | [diff] [blame] | 95 | "42", |
| 96 | "[START_DIR]/tmp/SVG_VERSION" |
| 97 | ], |
Eric Boren | a159085 | 2017-03-20 12:48:31 -0400 | [diff] [blame] | 98 | "infra_step": true, |
Eric Boren | 7e97dc0 | 2017-02-02 09:02:37 -0500 | [diff] [blame] | 99 | "name": "write SVG_VERSION" |
| 100 | }, |
| 101 | { |
| 102 | "cmd": [ |
| 103 | "python", |
| 104 | "-u", |
Eric Boren | 3e2ffd7 | 2017-06-16 13:10:22 -0400 | [diff] [blame] | 105 | "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| 106 | "--json-output", |
| 107 | "/path/to/tmp/json", |
Eric Boren | 5128bd4 | 2017-03-06 08:06:16 -0500 | [diff] [blame] | 108 | "rmtree", |
Eric Boren | cd0a98c | 2018-06-20 13:23:16 -0400 | [diff] [blame] | 109 | "[START_DIR]/[SWARM_OUT_DIR]" |
Eric Boren | 7e97dc0 | 2017-02-02 09:02:37 -0500 | [diff] [blame] | 110 | ], |
Eric Boren | a159085 | 2017-03-20 12:48:31 -0400 | [diff] [blame] | 111 | "infra_step": true, |
Eric Boren | cd0a98c | 2018-06-20 13:23:16 -0400 | [diff] [blame] | 112 | "name": "rmtree [SWARM_OUT_DIR]" |
Eric Boren | 7e97dc0 | 2017-02-02 09:02:37 -0500 | [diff] [blame] | 113 | }, |
| 114 | { |
| 115 | "cmd": [ |
| 116 | "python", |
| 117 | "-u", |
Robert Iannucci | 8cd5041 | 2017-07-07 14:36:58 -0700 | [diff] [blame] | 118 | "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| 119 | "--json-output", |
| 120 | "/path/to/tmp/json", |
| 121 | "ensure-directory", |
| 122 | "--mode", |
| 123 | "0777", |
Eric Boren | cd0a98c | 2018-06-20 13:23:16 -0400 | [diff] [blame] | 124 | "[START_DIR]/[SWARM_OUT_DIR]" |
Eric Boren | 7e97dc0 | 2017-02-02 09:02:37 -0500 | [diff] [blame] | 125 | ], |
Eric Boren | a159085 | 2017-03-20 12:48:31 -0400 | [diff] [blame] | 126 | "infra_step": true, |
Eric Boren | cd0a98c | 2018-06-20 13:23:16 -0400 | [diff] [blame] | 127 | "name": "makedirs [SWARM_OUT_DIR]" |
Eric Boren | 7e97dc0 | 2017-02-02 09:02:37 -0500 | [diff] [blame] | 128 | }, |
| 129 | { |
| 130 | "cmd": [ |
Eric Boren | f9aa9e5 | 2017-04-10 09:56:10 -0400 | [diff] [blame] | 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": [ |
Eric Boren | 322a859 | 2018-06-01 10:08:53 -0400 | [diff] [blame] | 159 | "[START_DIR]/build/nanobench", |
Eric Boren | 7e97dc0 | 2017-02-02 09:02:37 -0500 | [diff] [blame] | 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", |
Eric Boren | 7e97dc0 | 2017-02-02 09:02:37 -0500 | [diff] [blame] | 168 | "--pre_log", |
Kevin Lubick | fe079d4 | 2017-04-12 08:31:48 -0400 | [diff] [blame] | 169 | "--images", |
| 170 | "--gpuStatsDump", |
| 171 | "true", |
Eric Boren | 7e97dc0 | 2017-02-02 09:02:37 -0500 | [diff] [blame] | 172 | "--scales", |
| 173 | "1.0", |
| 174 | "1.1", |
Ben Wagner | 32fa510 | 2017-08-10 21:25:55 -0400 | [diff] [blame] | 175 | "--nocpu", |
Eric Boren | 7e97dc0 | 2017-02-02 09:02:37 -0500 | [diff] [blame] | 176 | "--config", |
Brian Salomon | 980fb36 | 2017-03-17 14:39:27 -0400 | [diff] [blame] | 177 | "gl", |
Ben Wagner | 769faa2 | 2017-08-11 15:32:50 -0400 | [diff] [blame] | 178 | "glsrgb", |
Brian Osman | 5e11777 | 2018-06-20 14:53:06 -0400 | [diff] [blame^] | 179 | "glesrgb", |
Eric Boren | 7e97dc0 | 2017-02-02 09:02:37 -0500 | [diff] [blame] | 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", |
Eric Boren | cd0a98c | 2018-06-20 13:23:16 -0400 | [diff] [blame] | 201 | "[START_DIR]/[SWARM_OUT_DIR]/nanobench_abc123_1337000001.json", |
Eric Boren | 7e97dc0 | 2017-02-02 09:02:37 -0500 | [diff] [blame] | 202 | "--properties", |
| 203 | "gitHash", |
| 204 | "abc123", |
Kevin Lubick | fe079d4 | 2017-04-12 08:31:48 -0400 | [diff] [blame] | 205 | "issue", |
| 206 | "456789", |
| 207 | "patchset", |
| 208 | "12", |
| 209 | "patch_storage", |
| 210 | "gerrit", |
Eric Boren | f9aa9e5 | 2017-04-10 09:56:10 -0400 | [diff] [blame] | 211 | "swarming_bot_id", |
| 212 | "", |
| 213 | "swarming_task_id", |
| 214 | "", |
Eric Boren | 7e97dc0 | 2017-02-02 09:02:37 -0500 | [diff] [blame] | 215 | "--key", |
| 216 | "arch", |
| 217 | "x86_64", |
| 218 | "compiler", |
Ben Wagner | 9fb285e | 2017-10-02 16:53:07 -0400 | [diff] [blame] | 219 | "Clang", |
Eric Boren | 7e97dc0 | 2017-02-02 09:02:37 -0500 | [diff] [blame] | 220 | "cpu_or_gpu", |
Kevin Lubick | fe079d4 | 2017-04-12 08:31:48 -0400 | [diff] [blame] | 221 | "GPU", |
Eric Boren | 7e97dc0 | 2017-02-02 09:02:37 -0500 | [diff] [blame] | 222 | "cpu_or_gpu_value", |
Ben Wagner | 7cf2fd6 | 2017-10-09 14:27:26 -0400 | [diff] [blame] | 223 | "IntelHD4400", |
Eric Boren | 7e97dc0 | 2017-02-02 09:02:37 -0500 | [diff] [blame] | 224 | "model", |
Ben Wagner | 7cf2fd6 | 2017-10-09 14:27:26 -0400 | [diff] [blame] | 225 | "NUCD34010WYKH", |
Eric Boren | 7e97dc0 | 2017-02-02 09:02:37 -0500 | [diff] [blame] | 226 | "os", |
Kevin Lubick | fe079d4 | 2017-04-12 08:31:48 -0400 | [diff] [blame] | 227 | "Win10" |
Eric Boren | 7e97dc0 | 2017-02-02 09:02:37 -0500 | [diff] [blame] | 228 | ], |
Kevin Lubick | 0a51b48 | 2017-02-06 12:45:29 -0500 | [diff] [blame] | 229 | "env": { |
Kevin Lubick | 0a51b48 | 2017-02-06 12:45:29 -0500 | [diff] [blame] | 230 | "CHROME_HEADLESS": "1", |
Eric Boren | 0f69010 | 2018-05-15 15:04:58 -0400 | [diff] [blame] | 231 | "PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]" |
Kevin Lubick | 0a51b48 | 2017-02-06 12:45:29 -0500 | [diff] [blame] | 232 | }, |
Eric Boren | 7e97dc0 | 2017-02-02 09:02:37 -0500 | [diff] [blame] | 233 | "name": "nanobench" |
| 234 | }, |
| 235 | { |
| 236 | "cmd": [ |
| 237 | "python", |
| 238 | "-u", |
Robert Iannucci | 8cd5041 | 2017-07-07 14:36:58 -0700 | [diff] [blame] | 239 | "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| 240 | "--json-output", |
| 241 | "/path/to/tmp/json", |
| 242 | "ensure-directory", |
| 243 | "--mode", |
| 244 | "0777", |
Eric Boren | cd0a98c | 2018-06-20 13:23:16 -0400 | [diff] [blame] | 245 | "[START_DIR]/[SWARM_OUT_DIR]" |
Eric Boren | 7e97dc0 | 2017-02-02 09:02:37 -0500 | [diff] [blame] | 246 | ], |
Eric Boren | 3e2ffd7 | 2017-06-16 13:10:22 -0400 | [diff] [blame] | 247 | "infra_step": true, |
Robert Iannucci | 8cd5041 | 2017-07-07 14:36:58 -0700 | [diff] [blame] | 248 | "name": "makedirs perf_dir" |
Eric Boren | 7e97dc0 | 2017-02-02 09:02:37 -0500 | [diff] [blame] | 249 | }, |
| 250 | { |
| 251 | "name": "$result", |
| 252 | "recipe_result": null, |
| 253 | "status_code": 0 |
| 254 | } |
| 255 | ] |