OLD | NEW |
1 [ | 1 [ |
2 { | 2 { |
3 "cmd": [ | 3 "cmd": [ |
4 "python", | 4 "python", |
5 "-u", | 5 "-u", |
6 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", | 6 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", |
7 "config", | 7 "config", |
8 "--spec", | 8 "--spec", |
9 "cache_dir = '[ROOT]/b/build/slave/cache_dir'\nsolutions = [{'deps_file':
'.DEPS.git', 'managed': True, 'name': 'infra', 'url': 'https://chromium.googleso
urce.com/infra/infra.git'}]" | 9 "cache_dir = '[GIT_CACHE]'\nsolutions = [{'deps_file': '.DEPS.git', 'manag
ed': True, 'name': 'infra', 'url': 'https://chromium.googlesource.com/infra/infr
a.git'}]" |
10 ], | 10 ], |
| 11 "cwd": "[SLAVE_BUILD]", |
11 "env": { | 12 "env": { |
12 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" | 13 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" |
13 }, | 14 }, |
14 "name": "gclient setup" | 15 "name": "gclient setup" |
15 }, | 16 }, |
16 { | 17 { |
17 "cmd": [ | 18 "cmd": [ |
18 "python", | 19 "python", |
19 "-u", | 20 "-u", |
20 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", | 21 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", |
21 "sync", | 22 "sync", |
22 "--verbose", | 23 "--verbose", |
23 "--with_branch_heads", | 24 "--with_branch_heads", |
24 "--nohooks", | 25 "--nohooks", |
25 "-j8", | 26 "-j8", |
26 "--reset", | 27 "--reset", |
27 "--force", | 28 "--force", |
28 "--upstream", | 29 "--upstream", |
29 "--no-nag-max", | 30 "--no-nag-max", |
30 "--delete_unversioned_trees", | 31 "--delete_unversioned_trees", |
31 "--revision", | 32 "--revision", |
32 "infra@origin/master", | 33 "infra@origin/master", |
33 "--revision", | 34 "--revision", |
34 "infra/recipes-py@origin/master", | 35 "infra/recipes-py@origin/master", |
35 "--output-json", | 36 "--output-json", |
36 "/path/to/tmp/json" | 37 "/path/to/tmp/json" |
37 ], | 38 ], |
| 39 "cwd": "[SLAVE_BUILD]", |
38 "env": { | 40 "env": { |
39 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" | 41 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" |
40 }, | 42 }, |
41 "name": "gclient sync", | 43 "name": "gclient sync", |
42 "~followup_annotations": [ | 44 "~followup_annotations": [ |
43 "@@@STEP_LOG_LINE@json.output@{@@@", | 45 "@@@STEP_LOG_LINE@json.output@{@@@", |
44 "@@@STEP_LOG_LINE@json.output@ \"solutions\": {@@@", | 46 "@@@STEP_LOG_LINE@json.output@ \"solutions\": {@@@", |
45 "@@@STEP_LOG_LINE@json.output@ \"infra/\": {@@@", | 47 "@@@STEP_LOG_LINE@json.output@ \"infra/\": {@@@", |
46 "@@@STEP_LOG_LINE@json.output@ \"revision\": \"5e03a58dc0850e5137a8eb
bce29610670c756aed\"@@@", | 48 "@@@STEP_LOG_LINE@json.output@ \"revision\": \"5e03a58dc0850e5137a8eb
bce29610670c756aed\"@@@", |
47 "@@@STEP_LOG_LINE@json.output@ }, @@@", | 49 "@@@STEP_LOG_LINE@json.output@ }, @@@", |
(...skipping 10 matching lines...) Expand all Loading... |
58 "cmd": [ | 60 "cmd": [ |
59 "python", | 61 "python", |
60 "-u", | 62 "-u", |
61 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", | 63 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", |
62 "recurse", | 64 "recurse", |
63 "git", | 65 "git", |
64 "config", | 66 "config", |
65 "user.name", | 67 "user.name", |
66 "local_bot" | 68 "local_bot" |
67 ], | 69 ], |
| 70 "cwd": "[SLAVE_BUILD]", |
68 "env": { | 71 "env": { |
69 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" | 72 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" |
70 }, | 73 }, |
71 "name": "gclient recurse (git config user.name)" | 74 "name": "gclient recurse (git config user.name)" |
72 }, | 75 }, |
73 { | 76 { |
74 "cmd": [ | 77 "cmd": [ |
75 "python", | 78 "python", |
76 "-u", | 79 "-u", |
77 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", | 80 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", |
78 "recurse", | 81 "recurse", |
79 "git", | 82 "git", |
80 "config", | 83 "config", |
81 "user.email", | 84 "user.email", |
82 "local_bot@example.com" | 85 "local_bot@example.com" |
83 ], | 86 ], |
| 87 "cwd": "[SLAVE_BUILD]", |
84 "env": { | 88 "env": { |
85 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" | 89 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" |
86 }, | 90 }, |
87 "name": "gclient recurse (git config user.email)" | 91 "name": "gclient recurse (git config user.email)" |
88 }, | 92 }, |
89 { | 93 { |
90 "cmd": [ | 94 "cmd": [ |
91 "python", | 95 "python", |
92 "-u", | 96 "-u", |
93 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", | 97 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", |
94 "runhooks" | 98 "runhooks" |
95 ], | 99 ], |
| 100 "cwd": "[SLAVE_BUILD]", |
96 "env": { | 101 "env": { |
97 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" | 102 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" |
98 }, | 103 }, |
99 "name": "gclient runhooks" | 104 "name": "gclient runhooks" |
100 }, | 105 }, |
101 { | 106 { |
102 "cmd": [ | 107 "cmd": [ |
103 "python", | 108 "python", |
104 "-u", | 109 "-u", |
105 "RECIPE_PACKAGE_REPO[build]/scripts/tools/pycurl.py", | 110 "RECIPE_PACKAGE_REPO[build]/scripts/tools/pycurl.py", |
106 "https://luci-config.appspot.com/_ah/api/config/v1/projects", | 111 "https://luci-config.appspot.com/_ah/api/config/v1/projects", |
107 "--outfile", | 112 "--outfile", |
108 "/path/to/tmp/" | 113 "/path/to/tmp/" |
109 ], | 114 ], |
| 115 "cwd": "[SLAVE_BUILD]", |
110 "name": "Get luci-config projects" | 116 "name": "Get luci-config projects" |
111 }, | 117 }, |
112 { | 118 { |
113 "cmd": [], | 119 "cmd": [], |
| 120 "cwd": "[SLAVE_BUILD]", |
114 "name": "build" | 121 "name": "build" |
115 }, | 122 }, |
116 { | 123 { |
117 "cmd": [ | 124 "cmd": [ |
118 "python", | 125 "python", |
119 "-u", | 126 "-u", |
120 "RECIPE_MODULE[depot_tools::git]/resources/git_setup.py", | 127 "RECIPE_MODULE[depot_tools::git]/resources/git_setup.py", |
121 "--path", | 128 "--path", |
122 "[TMP]/roll_build_tmp_1", | 129 "[TMP_BASE]/roll_build_tmp_1", |
123 "--url", | 130 "--url", |
124 "https://repo.repo/build" | 131 "https://repo.repo/build" |
125 ], | 132 ], |
| 133 "cwd": "[SLAVE_BUILD]", |
126 "name": "build.git setup", | 134 "name": "build.git setup", |
127 "~followup_annotations": [ | 135 "~followup_annotations": [ |
128 "@@@STEP_NEST_LEVEL@1@@@" | 136 "@@@STEP_NEST_LEVEL@1@@@" |
129 ] | 137 ] |
130 }, | 138 }, |
131 { | 139 { |
132 "cmd": [ | 140 "cmd": [ |
133 "git", | 141 "git", |
134 "retry", | 142 "retry", |
135 "fetch", | 143 "fetch", |
136 "origin", | 144 "origin", |
137 "master" | 145 "master" |
138 ], | 146 ], |
139 "cwd": "[TMP]/roll_build_tmp_1", | 147 "cwd": "[TMP_BASE]/roll_build_tmp_1", |
140 "name": "build.git fetch", | 148 "name": "build.git fetch", |
141 "~followup_annotations": [ | 149 "~followup_annotations": [ |
142 "@@@STEP_NEST_LEVEL@1@@@" | 150 "@@@STEP_NEST_LEVEL@1@@@" |
143 ] | 151 ] |
144 }, | 152 }, |
145 { | 153 { |
146 "cmd": [ | 154 "cmd": [ |
147 "git", | 155 "git", |
148 "checkout", | 156 "checkout", |
149 "-f", | 157 "-f", |
150 "FETCH_HEAD" | 158 "FETCH_HEAD" |
151 ], | 159 ], |
152 "cwd": "[TMP]/roll_build_tmp_1", | 160 "cwd": "[TMP_BASE]/roll_build_tmp_1", |
153 "name": "build.git checkout", | 161 "name": "build.git checkout", |
154 "~followup_annotations": [ | 162 "~followup_annotations": [ |
155 "@@@STEP_NEST_LEVEL@1@@@" | 163 "@@@STEP_NEST_LEVEL@1@@@" |
156 ] | 164 ] |
157 }, | 165 }, |
158 { | 166 { |
159 "cmd": [ | 167 "cmd": [ |
160 "git", | 168 "git", |
161 "rev-parse", | 169 "rev-parse", |
162 "HEAD" | 170 "HEAD" |
163 ], | 171 ], |
164 "cwd": "[TMP]/roll_build_tmp_1", | 172 "cwd": "[TMP_BASE]/roll_build_tmp_1", |
165 "name": "build.read revision", | 173 "name": "build.read revision", |
166 "stdout": "/path/to/tmp/", | 174 "stdout": "/path/to/tmp/", |
167 "~followup_annotations": [ | 175 "~followup_annotations": [ |
168 "@@@STEP_NEST_LEVEL@1@@@", | 176 "@@@STEP_NEST_LEVEL@1@@@", |
169 "@@@STEP_TEXT@<br/>checked out 'deadbeef'<br/>@@@" | 177 "@@@STEP_TEXT@<br/>checked out 'deadbeef'<br/>@@@" |
170 ] | 178 ] |
171 }, | 179 }, |
172 { | 180 { |
173 "cmd": [ | 181 "cmd": [ |
174 "git", | 182 "git", |
175 "clean", | 183 "clean", |
176 "-f", | 184 "-f", |
177 "-d", | 185 "-d", |
178 "-x" | 186 "-x" |
179 ], | 187 ], |
180 "cwd": "[TMP]/roll_build_tmp_1", | 188 "cwd": "[TMP_BASE]/roll_build_tmp_1", |
181 "name": "build.git clean", | 189 "name": "build.git clean", |
182 "~followup_annotations": [ | 190 "~followup_annotations": [ |
183 "@@@STEP_NEST_LEVEL@1@@@" | 191 "@@@STEP_NEST_LEVEL@1@@@" |
184 ] | 192 ] |
185 }, | 193 }, |
186 { | 194 { |
187 "cmd": [ | 195 "cmd": [ |
188 "git", | 196 "git", |
189 "config", | 197 "config", |
190 "user.email", | 198 "user.email", |
191 "recipe-roller@chromium.org" | 199 "recipe-roller@chromium.org" |
192 ], | 200 ], |
193 "cwd": "[TMP]/roll_build_tmp_1", | 201 "cwd": "[TMP_BASE]/roll_build_tmp_1", |
194 "name": "build.git config", | 202 "name": "build.git config", |
195 "~followup_annotations": [ | 203 "~followup_annotations": [ |
196 "@@@STEP_NEST_LEVEL@1@@@" | 204 "@@@STEP_NEST_LEVEL@1@@@" |
197 ] | 205 ] |
198 }, | 206 }, |
199 { | 207 { |
200 "cmd": [ | 208 "cmd": [ |
201 "git", | 209 "git", |
202 "config", | 210 "config", |
203 "user.name", | 211 "user.name", |
204 "recipe-roller" | 212 "recipe-roller" |
205 ], | 213 ], |
206 "cwd": "[TMP]/roll_build_tmp_1", | 214 "cwd": "[TMP_BASE]/roll_build_tmp_1", |
207 "name": "build.git config (2)", | 215 "name": "build.git config (2)", |
208 "~followup_annotations": [ | 216 "~followup_annotations": [ |
209 "@@@STEP_NEST_LEVEL@1@@@" | 217 "@@@STEP_NEST_LEVEL@1@@@" |
210 ] | 218 ] |
211 }, | 219 }, |
212 { | 220 { |
213 "cmd": [ | 221 "cmd": [ |
214 "git", | 222 "git", |
215 "checkout", | 223 "checkout", |
216 "-t", | 224 "-t", |
217 "-b", | 225 "-b", |
218 "roll", | 226 "roll", |
219 "origin/master" | 227 "origin/master" |
220 ], | 228 ], |
221 "cwd": "[TMP]/roll_build_tmp_1", | 229 "cwd": "[TMP_BASE]/roll_build_tmp_1", |
222 "name": "build.git checkout (2)", | 230 "name": "build.git checkout (2)", |
223 "~followup_annotations": [ | 231 "~followup_annotations": [ |
224 "@@@STEP_NEST_LEVEL@1@@@" | 232 "@@@STEP_NEST_LEVEL@1@@@" |
225 ] | 233 ] |
226 }, | 234 }, |
227 { | 235 { |
228 "cmd": [ | 236 "cmd": [ |
229 "[CWD]/infra/ENV/bin/python", | 237 "[SLAVE_BUILD]/infra/ENV/bin/python", |
230 "-u", | 238 "-u", |
231 "[CWD]/infra/recipes-py/recipes.py", | 239 "[SLAVE_BUILD]/infra/recipes-py/recipes.py", |
232 "--package", | 240 "--package", |
233 "[TMP]/roll_build_tmp_1/infra/config/recipes.cfg", | 241 "[TMP_BASE]/roll_build_tmp_1/infra/config/recipes.cfg", |
234 "autoroll", | 242 "autoroll", |
235 "--output-json", | 243 "--output-json", |
236 "/path/to/tmp/json" | 244 "/path/to/tmp/json" |
237 ], | 245 ], |
| 246 "cwd": "[SLAVE_BUILD]", |
238 "name": "build.roll", | 247 "name": "build.roll", |
239 "~followup_annotations": [ | 248 "~followup_annotations": [ |
240 "@@@STEP_NEST_LEVEL@1@@@", | 249 "@@@STEP_NEST_LEVEL@1@@@", |
241 "@@@STEP_LOG_LINE@json.output@{@@@", | 250 "@@@STEP_LOG_LINE@json.output@{@@@", |
242 "@@@STEP_LOG_LINE@json.output@ \"picked_roll_details\": null, @@@", | 251 "@@@STEP_LOG_LINE@json.output@ \"picked_roll_details\": null, @@@", |
243 "@@@STEP_LOG_LINE@json.output@ \"rejected_candidates_details\": [@@@", | 252 "@@@STEP_LOG_LINE@json.output@ \"rejected_candidates_details\": [@@@", |
244 "@@@STEP_LOG_LINE@json.output@ {@@@", | 253 "@@@STEP_LOG_LINE@json.output@ {@@@", |
245 "@@@STEP_LOG_LINE@json.output@ \"commit_infos\": {}, @@@", | 254 "@@@STEP_LOG_LINE@json.output@ \"commit_infos\": {}, @@@", |
246 "@@@STEP_LOG_LINE@json.output@ \"spec\": \"some_spec\"@@@", | 255 "@@@STEP_LOG_LINE@json.output@ \"spec\": \"some_spec\"@@@", |
247 "@@@STEP_LOG_LINE@json.output@ }@@@", | 256 "@@@STEP_LOG_LINE@json.output@ }@@@", |
(...skipping 16 matching lines...) Expand all Loading... |
264 "@@@STEP_LOG_LINE@json.output@ \"trivial\": null@@@", | 273 "@@@STEP_LOG_LINE@json.output@ \"trivial\": null@@@", |
265 "@@@STEP_LOG_LINE@json.output@}@@@", | 274 "@@@STEP_LOG_LINE@json.output@}@@@", |
266 "@@@STEP_LOG_END@json.output@@@" | 275 "@@@STEP_LOG_END@json.output@@@" |
267 ] | 276 ] |
268 }, | 277 }, |
269 { | 278 { |
270 "cmd": [ | 279 "cmd": [ |
271 "python", | 280 "python", |
272 "-u", | 281 "-u", |
273 "\nimport shutil, sys\nshutil.rmtree(sys.argv[1])\n", | 282 "\nimport shutil, sys\nshutil.rmtree(sys.argv[1])\n", |
274 "[TMP]/roll_build_tmp_1" | 283 "[TMP_BASE]/roll_build_tmp_1" |
275 ], | 284 ], |
276 "name": "build.rmtree [TMP]/roll_build_tmp_1", | 285 "cwd": "[SLAVE_BUILD]", |
| 286 "name": "build.rmtree [TMP_BASE]/roll_build_tmp_1", |
277 "~followup_annotations": [ | 287 "~followup_annotations": [ |
278 "@@@STEP_NEST_LEVEL@1@@@", | 288 "@@@STEP_NEST_LEVEL@1@@@", |
279 "@@@STEP_LOG_LINE@python.inline@@@@", | 289 "@@@STEP_LOG_LINE@python.inline@@@@", |
280 "@@@STEP_LOG_LINE@python.inline@import shutil, sys@@@", | 290 "@@@STEP_LOG_LINE@python.inline@import shutil, sys@@@", |
281 "@@@STEP_LOG_LINE@python.inline@shutil.rmtree(sys.argv[1])@@@", | 291 "@@@STEP_LOG_LINE@python.inline@shutil.rmtree(sys.argv[1])@@@", |
282 "@@@STEP_LOG_END@python.inline@@@" | 292 "@@@STEP_LOG_END@python.inline@@@" |
283 ] | 293 ] |
284 }, | 294 }, |
285 { | 295 { |
286 "cmd": [ | 296 "cmd": [ |
287 "python", | 297 "python", |
288 "-u", | 298 "-u", |
289 "import sys; sys.exit(1)" | 299 "import sys; sys.exit(1)" |
290 ], | 300 ], |
| 301 "cwd": "[SLAVE_BUILD]", |
291 "name": "roll result", | 302 "name": "roll result", |
292 "~followup_annotations": [ | 303 "~followup_annotations": [ |
293 "step returned non-zero exit code: 1", | 304 "step returned non-zero exit code: 1", |
294 "@@@STEP_TEXT@manual intervention needed: automated roll attempt failed@@@
", | 305 "@@@STEP_TEXT@manual intervention needed: automated roll attempt failed@@@
", |
295 "@@@STEP_FAILURE@@@" | 306 "@@@STEP_FAILURE@@@" |
296 ] | 307 ] |
297 }, | 308 }, |
298 { | 309 { |
299 "name": "$result", | 310 "name": "$result", |
300 "reason": "Step('roll result') failed with return_code 1", | 311 "reason": "Step('roll result') failed with return_code 1", |
301 "status_code": 1 | 312 "status_code": 1 |
302 } | 313 } |
303 ] | 314 ] |
OLD | NEW |