1[ 2 { 3 "cmd": [ 4 "vpython", 5 "-u", 6 "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", 7 "--json-output", 8 "/path/to/tmp/json", 9 "copy", 10 "file.txt", 11 "/path/to/tmp/" 12 ], 13 "infra_step": true, 14 "name": "read file.txt", 15 "~followup_annotations": [ 16 "@@@STEP_LOG_END@file.txt@@@" 17 ] 18 }, 19 { 20 "cmd": [ 21 "vpython", 22 "-u", 23 "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", 24 "--json-output", 25 "/path/to/tmp/json", 26 "remove", 27 "file.txt" 28 ], 29 "infra_step": true, 30 "name": "remove file.txt" 31 }, 32 { 33 "cmd": [ 34 "vpython", 35 "-u", 36 "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", 37 "--json-output", 38 "/path/to/tmp/json", 39 "rmtree", 40 "results_dir" 41 ], 42 "infra_step": true, 43 "name": "rmtree results_dir" 44 }, 45 { 46 "cmd": [ 47 "vpython", 48 "-u", 49 "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", 50 "--json-output", 51 "/path/to/tmp/json", 52 "ensure-directory", 53 "--mode", 54 "0777", 55 "results_dir" 56 ], 57 "infra_step": true, 58 "name": "makedirs results_dir" 59 }, 60 { 61 "cmd": [ 62 "vpython", 63 "-u", 64 "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", 65 "--json-output", 66 "/path/to/tmp/json", 67 "rmtree", 68 "device_results_dir" 69 ], 70 "infra_step": true, 71 "name": "rmtree device_results_dir" 72 }, 73 { 74 "cmd": [ 75 "vpython", 76 "-u", 77 "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", 78 "--json-output", 79 "/path/to/tmp/json", 80 "ensure-directory", 81 "--mode", 82 "0777", 83 "device_results_dir" 84 ], 85 "infra_step": true, 86 "name": "makedirs device_results_dir" 87 }, 88 { 89 "cmd": [ 90 "vpython", 91 "-u", 92 "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", 93 "--json-output", 94 "/path/to/tmp/json", 95 "copy", 96 "[START_DIR]/skia/infra/bots/assets/skp/VERSION", 97 "/path/to/tmp/" 98 ], 99 "infra_step": true, 100 "name": "Get skp VERSION", 101 "~followup_annotations": [ 102 "@@@STEP_LOG_LINE@VERSION@42@@@", 103 "@@@STEP_LOG_END@VERSION@@@" 104 ] 105 }, 106 { 107 "cmd": [ 108 "vpython", 109 "-u", 110 "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", 111 "--json-output", 112 "/path/to/tmp/json", 113 "copy", 114 "42", 115 "[START_DIR]/tmp/SKP_VERSION" 116 ], 117 "infra_step": true, 118 "name": "write SKP_VERSION", 119 "~followup_annotations": [ 120 "@@@STEP_LOG_LINE@SKP_VERSION@42@@@", 121 "@@@STEP_LOG_END@SKP_VERSION@@@" 122 ] 123 }, 124 { 125 "cmd": [ 126 "vpython", 127 "-u", 128 "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", 129 "--json-output", 130 "/path/to/tmp/json", 131 "copy", 132 "[START_DIR]/skia/infra/bots/assets/skimage/VERSION", 133 "/path/to/tmp/" 134 ], 135 "infra_step": true, 136 "name": "Get skimage VERSION", 137 "~followup_annotations": [ 138 "@@@STEP_LOG_LINE@VERSION@42@@@", 139 "@@@STEP_LOG_END@VERSION@@@" 140 ] 141 }, 142 { 143 "cmd": [ 144 "vpython", 145 "-u", 146 "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", 147 "--json-output", 148 "/path/to/tmp/json", 149 "copy", 150 "42", 151 "[START_DIR]/tmp/SK_IMAGE_VERSION" 152 ], 153 "infra_step": true, 154 "name": "write SK_IMAGE_VERSION", 155 "~followup_annotations": [ 156 "@@@STEP_LOG_LINE@SK_IMAGE_VERSION@42@@@", 157 "@@@STEP_LOG_END@SK_IMAGE_VERSION@@@" 158 ] 159 }, 160 { 161 "cmd": [ 162 "vpython", 163 "-u", 164 "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", 165 "--json-output", 166 "/path/to/tmp/json", 167 "copy", 168 "[START_DIR]/skia/infra/bots/assets/svg/VERSION", 169 "/path/to/tmp/" 170 ], 171 "infra_step": true, 172 "name": "Get svg VERSION", 173 "~followup_annotations": [ 174 "@@@STEP_LOG_LINE@VERSION@42@@@", 175 "@@@STEP_LOG_END@VERSION@@@" 176 ] 177 }, 178 { 179 "cmd": [ 180 "vpython", 181 "-u", 182 "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", 183 "--json-output", 184 "/path/to/tmp/json", 185 "copy", 186 "42", 187 "[START_DIR]/tmp/SVG_VERSION" 188 ], 189 "infra_step": true, 190 "name": "write SVG_VERSION", 191 "~followup_annotations": [ 192 "@@@STEP_LOG_LINE@SVG_VERSION@42@@@", 193 "@@@STEP_LOG_END@SVG_VERSION@@@" 194 ] 195 }, 196 { 197 "cmd": [], 198 "name": "Docker setup" 199 }, 200 { 201 "cmd": [ 202 "python", 203 "-u", 204 "import os\nprint '%d:%d' % (os.getuid(), os.getgid())\n" 205 ], 206 "name": "Docker setup.Get uid and gid", 207 "~followup_annotations": [ 208 "@@@STEP_NEST_LEVEL@1@@@", 209 "@@@STEP_LOG_LINE@python.inline@import os@@@", 210 "@@@STEP_LOG_LINE@python.inline@print '%d:%d' % (os.getuid(), os.getgid())@@@", 211 "@@@STEP_LOG_END@python.inline@@@" 212 ] 213 }, 214 { 215 "cmd": [ 216 "vpython", 217 "-u", 218 "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", 219 "--json-output", 220 "/path/to/tmp/json", 221 "ensure-directory", 222 "--mode", 223 "0777", 224 "[START_DIR]/[SWARM_OUT_DIR]" 225 ], 226 "infra_step": true, 227 "name": "Docker setup.mkdirs out_dir", 228 "~followup_annotations": [ 229 "@@@STEP_NEST_LEVEL@1@@@" 230 ] 231 }, 232 { 233 "cmd": [ 234 "chmod", 235 "777", 236 "[START_DIR]/[SWARM_OUT_DIR]" 237 ], 238 "infra_step": true, 239 "name": "Docker setup.chmod 777 [START_DIR]/[SWARM_OUT_DIR]", 240 "~followup_annotations": [ 241 "@@@STEP_NEST_LEVEL@1@@@" 242 ] 243 }, 244 { 245 "cmd": [ 246 "chmod", 247 "755", 248 "[START_DIR]" 249 ], 250 "infra_step": true, 251 "name": "Docker setup.chmod 755 [START_DIR]", 252 "~followup_annotations": [ 253 "@@@STEP_NEST_LEVEL@1@@@" 254 ] 255 }, 256 { 257 "cmd": [ 258 "chmod", 259 "0755", 260 "RECIPE_MODULE[skia::flavor]/resources/symbolize_stack_trace.py" 261 ], 262 "infra_step": true, 263 "name": "Docker setup.chmod 0755 RECIPE_MODULE[skia::flavor]/resources/symbolize_stack_trace.py", 264 "~followup_annotations": [ 265 "@@@STEP_NEST_LEVEL@1@@@" 266 ] 267 }, 268 { 269 "cmd": [ 270 "docker", 271 "run", 272 "--shm-size=2gb", 273 "--rm", 274 "--user", 275 "13:17", 276 "--mount", 277 "type=bind,source=[START_DIR],target=/SRC", 278 "--mount", 279 "type=bind,source=[START_DIR]/[SWARM_OUT_DIR],target=/OUT", 280 "gcr.io/skia-public/gcc-debian10-x86@sha256:b1ec55403ac66d9500d033d6ffd7663894d32335711fbbb0fb4c67dfce812203", 281 "/SRC/../RECIPE_MODULE[skia::flavor]/resources/symbolize_stack_trace.py", 282 "/SRC", 283 "catchsegv", 284 "/SRC/build/dm", 285 "--some-flag" 286 ], 287 "env": { 288 "CHROME_HEADLESS": "1", 289 "DOCKER_CONFIG": "/home/chrome-bot/.docker", 290 "PATH": "<PATH>:RECIPE_REPO[depot_tools]" 291 }, 292 "name": "symbolized dm in Docker" 293 }, 294 { 295 "name": "$result" 296 } 297]