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', 'managed': False, 'name': 'skia', 'url': 'https://skia.googlesource.com/
skia.git'}, {'deps_file': 'DEPS', 'managed': False, 'name': 'src', 'url': 'https
://chromium.googlesource.com/chromium/src.git'}]" | 9 "cache_dir = '[GIT_CACHE]'\nsolutions = [{'deps_file': 'DEPS', 'managed':
False, 'name': 'skia', 'url': 'https://skia.googlesource.com/skia.git'}, {'deps_
file': 'DEPS', 'managed': False, 'name': 'src', 'url': 'https://chromium.googles
ource.com/chromium/src.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 "[ROOT]/b/build/scripts/slave/gclient_safe_revert.py", | 21 "[BUILD]/scripts/slave/gclient_safe_revert.py", |
21 ".", | 22 ".", |
22 "[ROOT]/b/depot_tools/gclient" | 23 "[DEPOT_TOOLS]/gclient" |
23 ], | 24 ], |
| 25 "cwd": "[SLAVE_BUILD]", |
24 "name": "gclient revert" | 26 "name": "gclient revert" |
25 }, | 27 }, |
26 { | 28 { |
27 "cmd": [ | 29 "cmd": [ |
28 "python", | 30 "python", |
29 "-u", | 31 "-u", |
30 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", | 32 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", |
31 "sync", | 33 "sync", |
32 "--nohooks", | 34 "--nohooks", |
33 "--force", | 35 "--force", |
34 "--verbose", | 36 "--verbose", |
35 "--delete_unversioned_trees", | 37 "--delete_unversioned_trees", |
36 "--revision", | 38 "--revision", |
37 "skia@origin/master", | 39 "skia@origin/master", |
38 "--revision", | 40 "--revision", |
39 "src@origin/master", | 41 "src@origin/master", |
40 "--output-json", | 42 "--output-json", |
41 "/path/to/tmp/json" | 43 "/path/to/tmp/json" |
42 ], | 44 ], |
| 45 "cwd": "[SLAVE_BUILD]", |
43 "env": { | 46 "env": { |
44 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" | 47 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" |
45 }, | 48 }, |
46 "name": "gclient sync", | 49 "name": "gclient sync", |
47 "~followup_annotations": [ | 50 "~followup_annotations": [ |
48 "@@@STEP_LOG_LINE@json.output@{@@@", | 51 "@@@STEP_LOG_LINE@json.output@{@@@", |
49 "@@@STEP_LOG_LINE@json.output@ \"solutions\": {@@@", | 52 "@@@STEP_LOG_LINE@json.output@ \"solutions\": {@@@", |
50 "@@@STEP_LOG_LINE@json.output@ \"skia/\": {@@@", | 53 "@@@STEP_LOG_LINE@json.output@ \"skia/\": {@@@", |
51 "@@@STEP_LOG_LINE@json.output@ \"revision\": 164710@@@", | 54 "@@@STEP_LOG_LINE@json.output@ \"revision\": 164710@@@", |
52 "@@@STEP_LOG_LINE@json.output@ }, @@@", | 55 "@@@STEP_LOG_LINE@json.output@ }, @@@", |
53 "@@@STEP_LOG_LINE@json.output@ \"src/\": {@@@", | 56 "@@@STEP_LOG_LINE@json.output@ \"src/\": {@@@", |
54 "@@@STEP_LOG_LINE@json.output@ \"revision\": 170242@@@", | 57 "@@@STEP_LOG_LINE@json.output@ \"revision\": 170242@@@", |
55 "@@@STEP_LOG_LINE@json.output@ }@@@", | 58 "@@@STEP_LOG_LINE@json.output@ }@@@", |
56 "@@@STEP_LOG_LINE@json.output@ }@@@", | 59 "@@@STEP_LOG_LINE@json.output@ }@@@", |
57 "@@@STEP_LOG_LINE@json.output@}@@@", | 60 "@@@STEP_LOG_LINE@json.output@}@@@", |
58 "@@@STEP_LOG_END@json.output@@@", | 61 "@@@STEP_LOG_END@json.output@@@", |
59 "@@@SET_BUILD_PROPERTY@got_revision@164710@@@" | 62 "@@@SET_BUILD_PROPERTY@got_revision@164710@@@" |
60 ] | 63 ] |
61 }, | 64 }, |
62 { | 65 { |
63 "cmd": [ | 66 "cmd": [ |
64 "python", | 67 "python", |
65 "-u", | 68 "-u", |
66 "RECIPE_MODULE[depot_tools::git]/resources/git_setup.py", | 69 "RECIPE_MODULE[depot_tools::git]/resources/git_setup.py", |
67 "--path", | 70 "--path", |
68 "[CWD]/swarming.client", | 71 "[SLAVE_BUILD]/swarming.client", |
69 "--url", | 72 "--url", |
70 "https://chromium.googlesource.com/external/swarming.client.git" | 73 "https://chromium.googlesource.com/external/swarming.client.git" |
71 ], | 74 ], |
| 75 "cwd": "[SLAVE_BUILD]", |
72 "name": "git setup (swarming_client)" | 76 "name": "git setup (swarming_client)" |
73 }, | 77 }, |
74 { | 78 { |
75 "cmd": [ | 79 "cmd": [ |
76 "git", | 80 "git", |
77 "retry", | 81 "retry", |
78 "fetch", | 82 "fetch", |
79 "origin", | 83 "origin", |
80 "master" | 84 "master" |
81 ], | 85 ], |
82 "cwd": "[CWD]/swarming.client", | 86 "cwd": "[SLAVE_BUILD]/swarming.client", |
83 "name": "git fetch (swarming_client)" | 87 "name": "git fetch (swarming_client)" |
84 }, | 88 }, |
85 { | 89 { |
86 "cmd": [ | 90 "cmd": [ |
87 "git", | 91 "git", |
88 "checkout", | 92 "checkout", |
89 "-f", | 93 "-f", |
90 "FETCH_HEAD" | 94 "FETCH_HEAD" |
91 ], | 95 ], |
92 "cwd": "[CWD]/swarming.client", | 96 "cwd": "[SLAVE_BUILD]/swarming.client", |
93 "name": "git checkout (swarming_client)" | 97 "name": "git checkout (swarming_client)" |
94 }, | 98 }, |
95 { | 99 { |
96 "cmd": [ | 100 "cmd": [ |
97 "git", | 101 "git", |
98 "rev-parse", | 102 "rev-parse", |
99 "HEAD" | 103 "HEAD" |
100 ], | 104 ], |
101 "cwd": "[CWD]/swarming.client", | 105 "cwd": "[SLAVE_BUILD]/swarming.client", |
102 "name": "read revision", | 106 "name": "read revision", |
103 "stdout": "/path/to/tmp/", | 107 "stdout": "/path/to/tmp/", |
104 "~followup_annotations": [ | 108 "~followup_annotations": [ |
105 "@@@STEP_TEXT@<br/>checked out 'deadbeef'<br/>@@@" | 109 "@@@STEP_TEXT@<br/>checked out 'deadbeef'<br/>@@@" |
106 ] | 110 ] |
107 }, | 111 }, |
108 { | 112 { |
109 "cmd": [ | 113 "cmd": [ |
110 "git", | 114 "git", |
111 "clean", | 115 "clean", |
112 "-f", | 116 "-f", |
113 "-d", | 117 "-d", |
114 "-x" | 118 "-x" |
115 ], | 119 ], |
116 "cwd": "[CWD]/swarming.client", | 120 "cwd": "[SLAVE_BUILD]/swarming.client", |
117 "name": "git clean (swarming_client)" | 121 "name": "git clean (swarming_client)" |
118 }, | 122 }, |
119 { | 123 { |
120 "cmd": [ | 124 "cmd": [ |
121 "git", | 125 "git", |
122 "submodule", | 126 "submodule", |
123 "sync" | 127 "sync" |
124 ], | 128 ], |
125 "cwd": "[CWD]/swarming.client", | 129 "cwd": "[SLAVE_BUILD]/swarming.client", |
126 "name": "submodule sync (swarming_client)" | 130 "name": "submodule sync (swarming_client)" |
127 }, | 131 }, |
128 { | 132 { |
129 "cmd": [ | 133 "cmd": [ |
130 "git", | 134 "git", |
131 "submodule", | 135 "submodule", |
132 "update", | 136 "update", |
133 "--init", | 137 "--init", |
134 "--recursive" | 138 "--recursive" |
135 ], | 139 ], |
136 "cwd": "[CWD]/swarming.client", | 140 "cwd": "[SLAVE_BUILD]/swarming.client", |
137 "name": "submodule update (swarming_client)" | 141 "name": "submodule update (swarming_client)" |
138 }, | 142 }, |
139 { | 143 { |
140 "cmd": [ | 144 "cmd": [ |
141 "python", | 145 "python", |
142 "-u", | 146 "-u", |
143 "[CWD]/swarming.client/swarming.py", | 147 "[SLAVE_BUILD]/swarming.client/swarming.py", |
144 "--version" | 148 "--version" |
145 ], | 149 ], |
| 150 "cwd": "[SLAVE_BUILD]", |
146 "name": "swarming.py --version", | 151 "name": "swarming.py --version", |
147 "stdout": "/path/to/tmp/", | 152 "stdout": "/path/to/tmp/", |
148 "~followup_annotations": [ | 153 "~followup_annotations": [ |
149 "@@@STEP_TEXT@0.4.10@@@" | 154 "@@@STEP_TEXT@0.4.10@@@" |
150 ] | 155 ] |
151 }, | 156 }, |
152 { | 157 { |
153 "cmd": [ | 158 "cmd": [ |
154 "download_from_google_storage", | 159 "download_from_google_storage", |
155 "--no_resume", | 160 "--no_resume", |
156 "--platform=linux*", | 161 "--platform=linux*", |
157 "--no_auth", | 162 "--no_auth", |
158 "--bucket", | 163 "--bucket", |
159 "chromium-luci", | 164 "chromium-luci", |
160 "-d", | 165 "-d", |
161 "[CWD]/src/tools/luci-go/linux64" | 166 "[SLAVE_BUILD]/src/tools/luci-go/linux64" |
162 ], | 167 ], |
| 168 "cwd": "[SLAVE_BUILD]", |
163 "name": "download luci-go linux" | 169 "name": "download luci-go linux" |
164 }, | 170 }, |
165 { | 171 { |
166 "cmd": [ | 172 "cmd": [ |
167 "download_from_google_storage", | 173 "download_from_google_storage", |
168 "--no_resume", | 174 "--no_resume", |
169 "--platform=darwin", | 175 "--platform=darwin", |
170 "--no_auth", | 176 "--no_auth", |
171 "--bucket", | 177 "--bucket", |
172 "chromium-luci", | 178 "chromium-luci", |
173 "-d", | 179 "-d", |
174 "[CWD]/src/tools/luci-go/mac64" | 180 "[SLAVE_BUILD]/src/tools/luci-go/mac64" |
175 ], | 181 ], |
| 182 "cwd": "[SLAVE_BUILD]", |
176 "name": "download luci-go mac" | 183 "name": "download luci-go mac" |
177 }, | 184 }, |
178 { | 185 { |
179 "cmd": [ | 186 "cmd": [ |
180 "download_from_google_storage", | 187 "download_from_google_storage", |
181 "--no_resume", | 188 "--no_resume", |
182 "--platform=win32", | 189 "--platform=win32", |
183 "--no_auth", | 190 "--no_auth", |
184 "--bucket", | 191 "--bucket", |
185 "chromium-luci", | 192 "chromium-luci", |
186 "-d", | 193 "-d", |
187 "[CWD]/src/tools/luci-go/win64" | 194 "[SLAVE_BUILD]/src/tools/luci-go/win64" |
188 ], | 195 ], |
| 196 "cwd": "[SLAVE_BUILD]", |
189 "name": "download luci-go win" | 197 "name": "download luci-go win" |
190 }, | 198 }, |
191 { | 199 { |
192 "cmd": [ | 200 "cmd": [ |
193 "python", | 201 "python", |
194 "-u", | 202 "-u", |
195 "\nimport os, sys\nfrom common import chromium_utils # Error? See https://
crbug.com/584783.\n\n\nif os.path.exists(sys.argv[1]):\n chromium_utils.RemoveD
irectory(sys.argv[1])\n", | 203 "\nimport os, sys\nfrom common import chromium_utils # Error? See https://
crbug.com/584783.\n\n\nif os.path.exists(sys.argv[1]):\n chromium_utils.RemoveD
irectory(sys.argv[1])\n", |
196 "[CWD]/luci-go" | 204 "[SLAVE_BUILD]/luci-go" |
197 ], | 205 ], |
| 206 "cwd": "[SLAVE_BUILD]", |
198 "name": "rmtree Go binary dir", | 207 "name": "rmtree Go binary dir", |
199 "~followup_annotations": [ | 208 "~followup_annotations": [ |
200 "@@@STEP_LOG_LINE@python.inline@@@@", | 209 "@@@STEP_LOG_LINE@python.inline@@@@", |
201 "@@@STEP_LOG_LINE@python.inline@import os, sys@@@", | 210 "@@@STEP_LOG_LINE@python.inline@import os, sys@@@", |
202 "@@@STEP_LOG_LINE@python.inline@from common import chromium_utils # Error?
See https://crbug.com/584783.@@@", | 211 "@@@STEP_LOG_LINE@python.inline@from common import chromium_utils # Error?
See https://crbug.com/584783.@@@", |
203 "@@@STEP_LOG_LINE@python.inline@@@@", | 212 "@@@STEP_LOG_LINE@python.inline@@@@", |
204 "@@@STEP_LOG_LINE@python.inline@@@@", | 213 "@@@STEP_LOG_LINE@python.inline@@@@", |
205 "@@@STEP_LOG_LINE@python.inline@if os.path.exists(sys.argv[1]):@@@", | 214 "@@@STEP_LOG_LINE@python.inline@if os.path.exists(sys.argv[1]):@@@", |
206 "@@@STEP_LOG_LINE@python.inline@ chromium_utils.RemoveDirectory(sys.argv[
1])@@@", | 215 "@@@STEP_LOG_LINE@python.inline@ chromium_utils.RemoveDirectory(sys.argv[
1])@@@", |
207 "@@@STEP_LOG_END@python.inline@@@" | 216 "@@@STEP_LOG_END@python.inline@@@" |
208 ] | 217 ] |
209 }, | 218 }, |
210 { | 219 { |
211 "cmd": [ | 220 "cmd": [ |
212 "python", | 221 "python", |
213 "-u", | 222 "-u", |
214 "\nimport shutil\nimport sys\nshutil.copytree(sys.argv[1], sys.argv[2], sy
mlinks=bool(sys.argv[3]))\n", | 223 "\nimport shutil\nimport sys\nshutil.copytree(sys.argv[1], sys.argv[2], sy
mlinks=bool(sys.argv[3]))\n", |
215 "[CWD]/src/tools/luci-go", | 224 "[SLAVE_BUILD]/src/tools/luci-go", |
216 "[CWD]/luci-go", | 225 "[SLAVE_BUILD]/luci-go", |
217 "0" | 226 "0" |
218 ], | 227 ], |
| 228 "cwd": "[SLAVE_BUILD]", |
219 "name": "Copy Go binary" | 229 "name": "Copy Go binary" |
220 }, | 230 }, |
221 { | 231 { |
222 "cmd": [ | 232 "cmd": [ |
223 "python", | 233 "python", |
224 "-u", | 234 "-u", |
225 "[ROOT]/b/depot_tools/apply_issue.py", | 235 "[DEPOT_TOOLS]/apply_issue.py", |
226 "-r", | 236 "-r", |
227 "[CWD]/skia", | 237 "[SLAVE_BUILD]/skia", |
228 "-i", | 238 "-i", |
229 "1499623002", | 239 "1499623002", |
230 "-p", | 240 "-p", |
231 "1", | 241 "1", |
232 "-s", | 242 "-s", |
233 "codereview.chromium.org", | 243 "codereview.chromium.org", |
234 "--no-auth" | 244 "--no-auth" |
235 ], | 245 ], |
| 246 "cwd": "[SLAVE_BUILD]", |
236 "name": "apply_issue", | 247 "name": "apply_issue", |
237 "~followup_annotations": [ | 248 "~followup_annotations": [ |
238 "@@@STEP_LINK@Applied issue 1499623002@1499623002@@@" | 249 "@@@STEP_LINK@Applied issue 1499623002@1499623002@@@" |
239 ] | 250 ] |
240 }, | 251 }, |
241 { | 252 { |
242 "cmd": [ | 253 "cmd": [ |
243 "make", | 254 "make", |
244 "dm", | 255 "dm", |
245 "BUILDTYPE=Debug" | 256 "BUILDTYPE=Debug" |
246 ], | 257 ], |
247 "cwd": "[CWD]/skia", | 258 "cwd": "[SLAVE_BUILD]/skia", |
248 "name": "build dm", | 259 "name": "build dm", |
249 "~followup_annotations": [ | 260 "~followup_annotations": [ |
250 "@@@SET_BUILD_PROPERTY@Location of SKPs@\"https://pantheon.corp.google.com
/storage/browser/cluster-telemetry/skps/All/57259e0-05dcb4c/\"@@@" | 261 "@@@SET_BUILD_PROPERTY@Location of SKPs@\"https://pantheon.corp.google.com
/storage/browser/cluster-telemetry/skps/All/57259e0-05dcb4c/\"@@@" |
251 ] | 262 ] |
252 }, | 263 }, |
253 { | 264 { |
254 "cmd": [ | 265 "cmd": [ |
255 "python", | 266 "python", |
256 "-u", | 267 "-u", |
257 "\nimport os, sys\nfrom common import chromium_utils # Error? See https://
crbug.com/584783.\n\n\nif os.path.exists(sys.argv[1]):\n chromium_utils.RemoveD
irectory(sys.argv[1])\n", | 268 "\nimport os, sys\nfrom common import chromium_utils # Error? See https://
crbug.com/584783.\n\n\nif os.path.exists(sys.argv[1]):\n chromium_utils.RemoveD
irectory(sys.argv[1])\n", |
258 "[CWD]/swarming_temp_dir" | 269 "[SLAVE_BUILD]/swarming_temp_dir" |
259 ], | 270 ], |
| 271 "cwd": "[SLAVE_BUILD]", |
260 "name": "rmtree swarming temp dir", | 272 "name": "rmtree swarming temp dir", |
261 "~followup_annotations": [ | 273 "~followup_annotations": [ |
262 "@@@STEP_LOG_LINE@python.inline@@@@", | 274 "@@@STEP_LOG_LINE@python.inline@@@@", |
263 "@@@STEP_LOG_LINE@python.inline@import os, sys@@@", | 275 "@@@STEP_LOG_LINE@python.inline@import os, sys@@@", |
264 "@@@STEP_LOG_LINE@python.inline@from common import chromium_utils # Error?
See https://crbug.com/584783.@@@", | 276 "@@@STEP_LOG_LINE@python.inline@from common import chromium_utils # Error?
See https://crbug.com/584783.@@@", |
265 "@@@STEP_LOG_LINE@python.inline@@@@", | 277 "@@@STEP_LOG_LINE@python.inline@@@@", |
266 "@@@STEP_LOG_LINE@python.inline@@@@", | 278 "@@@STEP_LOG_LINE@python.inline@@@@", |
267 "@@@STEP_LOG_LINE@python.inline@if os.path.exists(sys.argv[1]):@@@", | 279 "@@@STEP_LOG_LINE@python.inline@if os.path.exists(sys.argv[1]):@@@", |
268 "@@@STEP_LOG_LINE@python.inline@ chromium_utils.RemoveDirectory(sys.argv[
1])@@@", | 280 "@@@STEP_LOG_LINE@python.inline@ chromium_utils.RemoveDirectory(sys.argv[
1])@@@", |
269 "@@@STEP_LOG_END@python.inline@@@" | 281 "@@@STEP_LOG_END@python.inline@@@" |
270 ] | 282 ] |
271 }, | 283 }, |
272 { | 284 { |
273 "cmd": [ | 285 "cmd": [ |
274 "python", | 286 "python", |
275 "-u", | 287 "-u", |
276 "\nimport sys, os\npath = sys.argv[1]\nmode = int(sys.argv[2])\nif not os.
path.isdir(path):\n if os.path.exists(path):\n print \"%s exists but is not
a dir\" % path\n sys.exit(1)\n os.makedirs(path, mode)\n", | 288 "\nimport sys, os\npath = sys.argv[1]\nmode = int(sys.argv[2])\nif not os.
path.isdir(path):\n if os.path.exists(path):\n print \"%s exists but is not
a dir\" % path\n sys.exit(1)\n os.makedirs(path, mode)\n", |
277 "[CWD]/skps/slave1", | 289 "[SLAVE_BUILD]/skps/slave1", |
278 "511" | 290 "511" |
279 ], | 291 ], |
| 292 "cwd": "[SLAVE_BUILD]", |
280 "name": "makedirs SKPs dir", | 293 "name": "makedirs SKPs dir", |
281 "~followup_annotations": [ | 294 "~followup_annotations": [ |
282 "@@@STEP_LOG_LINE@python.inline@@@@", | 295 "@@@STEP_LOG_LINE@python.inline@@@@", |
283 "@@@STEP_LOG_LINE@python.inline@import sys, os@@@", | 296 "@@@STEP_LOG_LINE@python.inline@import sys, os@@@", |
284 "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@", | 297 "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@", |
285 "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@", | 298 "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@", |
286 "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@", | 299 "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@", |
287 "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@", | 300 "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@", |
288 "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" %
path@@@", | 301 "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" %
path@@@", |
289 "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@", | 302 "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@", |
290 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@", | 303 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@", |
291 "@@@STEP_LOG_END@python.inline@@@" | 304 "@@@STEP_LOG_END@python.inline@@@" |
292 ] | 305 ] |
293 }, | 306 }, |
294 { | 307 { |
295 "cmd": [ | 308 "cmd": [ |
296 "python", | 309 "python", |
297 "-u", | 310 "-u", |
298 "RECIPE_MODULE[build::gsutil]/resources/gsutil_wrapper.py", | 311 "RECIPE_MODULE[build::gsutil]/resources/gsutil_wrapper.py", |
299 "--", | 312 "--", |
300 "[ROOT]/b/depot_tools/gsutil.py", | 313 "[DEPOT_TOOLS]/gsutil.py", |
301 "----", | 314 "----", |
302 "-m", | 315 "-m", |
303 "rsync", | 316 "rsync", |
304 "-d", | 317 "-d", |
305 "-r", | 318 "-r", |
306 "gs://cluster-telemetry/skps/All/57259e0-05dcb4c/slave1", | 319 "gs://cluster-telemetry/skps/All/57259e0-05dcb4c/slave1", |
307 "[CWD]/skps/slave1" | 320 "[SLAVE_BUILD]/skps/slave1" |
308 ], | 321 ], |
| 322 "cwd": "[SLAVE_BUILD]", |
309 "name": "gsutil rsync" | 323 "name": "gsutil rsync" |
310 }, | 324 }, |
311 { | 325 { |
312 "cmd": [ | 326 "cmd": [ |
313 "python", | 327 "python", |
314 "-u", | 328 "-u", |
315 "\nimport sys, os\npath = sys.argv[1]\nmode = int(sys.argv[2])\nif not os.
path.isdir(path):\n if os.path.exists(path):\n print \"%s exists but is not
a dir\" % path\n sys.exit(1)\n os.makedirs(path, mode)\n", | 329 "\nimport sys, os\npath = sys.argv[1]\nmode = int(sys.argv[2])\nif not os.
path.isdir(path):\n if os.path.exists(path):\n print \"%s exists but is not
a dir\" % path\n sys.exit(1)\n os.makedirs(path, mode)\n", |
316 "[CWD]/swarming_temp_dir", | 330 "[SLAVE_BUILD]/swarming_temp_dir", |
317 "511" | 331 "511" |
318 ], | 332 ], |
| 333 "cwd": "[SLAVE_BUILD]", |
319 "name": "makedirs swarming tmp dir", | 334 "name": "makedirs swarming tmp dir", |
320 "~followup_annotations": [ | 335 "~followup_annotations": [ |
321 "@@@STEP_LOG_LINE@python.inline@@@@", | 336 "@@@STEP_LOG_LINE@python.inline@@@@", |
322 "@@@STEP_LOG_LINE@python.inline@import sys, os@@@", | 337 "@@@STEP_LOG_LINE@python.inline@import sys, os@@@", |
323 "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@", | 338 "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@", |
324 "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@", | 339 "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@", |
325 "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@", | 340 "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@", |
326 "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@", | 341 "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@", |
327 "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" %
path@@@", | 342 "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" %
path@@@", |
328 "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@", | 343 "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@", |
329 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@", | 344 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@", |
330 "@@@STEP_LOG_END@python.inline@@@" | 345 "@@@STEP_LOG_END@python.inline@@@" |
331 ] | 346 ] |
332 }, | 347 }, |
333 { | 348 { |
334 "cmd": [ | 349 "cmd": [ |
335 "python", | 350 "python", |
336 "-u", | 351 "-u", |
337 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", | 352 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", |
338 "{\n \"args\": [\n \"--isolate\", \n \"[CWD]/src/chrome/c
t_skps.isolate\", \n \"--isolated\", \n \"[CWD]/swarming_temp_dir/
skia-task-ct-dm-1.isolated\", \n \"--config-variable\", \n \"OS\",
\n \"linux\", \n \"--extra-variable\", \n \"CONFIGURATION\
", \n \"Debug\", \n \"--extra-variable\", \n \"GIT_HASH\",
\n 164710, \n \"--extra-variable\", \n \"SLAVE_NUM\", \n
\"1\", \n \"--extra-variable\", \n \"TOOL_NAME\", \n \
"dm\"\n ], \n \"dir\": \"[CWD]/src/chrome\", \n \"version\": 1\n}", | 353 "{\n \"args\": [\n \"--isolate\", \n \"[SLAVE_BUILD]/src/
chrome/ct_skps.isolate\", \n \"--isolated\", \n \"[SLAVE_BUILD]/sw
arming_temp_dir/skia-task-ct-dm-1.isolated\", \n \"--config-variable\", \
n \"OS\", \n \"linux\", \n \"--extra-variable\", \n
\"CONFIGURATION\", \n \"Debug\", \n \"--extra-variable\", \n
\"GIT_HASH\", \n 164710, \n \"--extra-variable\", \n \"SL
AVE_NUM\", \n \"1\", \n \"--extra-variable\", \n \"TOOL_NAM
E\", \n \"dm\"\n ], \n \"dir\": \"[SLAVE_BUILD]/src/chrome\", \n
\"version\": 1\n}", |
339 "[CWD]/swarming_temp_dir/ct-dm-1.isolated.gen.json" | 354 "[SLAVE_BUILD]/swarming_temp_dir/ct-dm-1.isolated.gen.json" |
340 ], | 355 ], |
| 356 "cwd": "[SLAVE_BUILD]", |
341 "name": "Write ct-dm-1.isolated.gen.json" | 357 "name": "Write ct-dm-1.isolated.gen.json" |
342 }, | 358 }, |
343 { | 359 { |
344 "cmd": [ | 360 "cmd": [ |
345 "python", | 361 "python", |
346 "-u", | 362 "-u", |
347 "RECIPE_MODULE[build::isolate]/resources/isolate.py", | 363 "RECIPE_MODULE[build::isolate]/resources/isolate.py", |
348 "[CWD]/swarming.client", | 364 "[SLAVE_BUILD]/swarming.client", |
349 "batcharchive", | 365 "batcharchive", |
350 "--dump-json", | 366 "--dump-json", |
351 "/path/to/tmp/json", | 367 "/path/to/tmp/json", |
352 "--isolate-server", | 368 "--isolate-server", |
353 "https://isolateserver.appspot.com", | 369 "https://isolateserver.appspot.com", |
354 "--verbose", | 370 "--verbose", |
355 "[CWD]/swarming_temp_dir/ct-dm-1.isolated.gen.json" | 371 "[SLAVE_BUILD]/swarming_temp_dir/ct-dm-1.isolated.gen.json" |
356 ], | 372 ], |
| 373 "cwd": "[SLAVE_BUILD]", |
357 "name": "isolate tests", | 374 "name": "isolate tests", |
358 "~followup_annotations": [ | 375 "~followup_annotations": [ |
359 "@@@STEP_LOG_LINE@json.output@{@@@", | 376 "@@@STEP_LOG_LINE@json.output@{@@@", |
360 "@@@STEP_LOG_LINE@json.output@ \"ct-dm-1\": \"[dummy hash for ct-dm-1]\"@
@@", | 377 "@@@STEP_LOG_LINE@json.output@ \"ct-dm-1\": \"[dummy hash for ct-dm-1]\"@
@@", |
361 "@@@STEP_LOG_LINE@json.output@}@@@", | 378 "@@@STEP_LOG_LINE@json.output@}@@@", |
362 "@@@STEP_LOG_END@json.output@@@", | 379 "@@@STEP_LOG_END@json.output@@@", |
363 "@@@SET_BUILD_PROPERTY@swarm_hashes@{\"ct-dm-1\": \"[dummy hash for ct-dm-
1]\"}@@@" | 380 "@@@SET_BUILD_PROPERTY@swarm_hashes@{\"ct-dm-1\": \"[dummy hash for ct-dm-
1]\"}@@@" |
364 ] | 381 ] |
365 }, | 382 }, |
366 { | 383 { |
367 "cmd": [ | 384 "cmd": [ |
368 "python", | 385 "python", |
369 "-u", | 386 "-u", |
370 "[CWD]/swarming.client/swarming.py", | 387 "[SLAVE_BUILD]/swarming.client/swarming.py", |
371 "trigger", | 388 "trigger", |
372 "--swarming", | 389 "--swarming", |
373 "https://chromium-swarm.appspot.com", | 390 "https://chromium-swarm.appspot.com", |
374 "--isolate-server", | 391 "--isolate-server", |
375 "https://isolateserver.appspot.com", | 392 "https://isolateserver.appspot.com", |
376 "--priority", | 393 "--priority", |
377 "90", | 394 "90", |
378 "--shards", | 395 "--shards", |
379 "1", | 396 "1", |
380 "--task-name", | 397 "--task-name", |
(...skipping 22 matching lines...) Loading... |
403 "--tag", | 420 "--tag", |
404 "name:ct-dm-1", | 421 "name:ct-dm-1", |
405 "--tag", | 422 "--tag", |
406 "os:Ubuntu-14.04", | 423 "os:Ubuntu-14.04", |
407 "--tag", | 424 "--tag", |
408 "rietveld:codereview.chromium.org/1499623002/#ps1", | 425 "rietveld:codereview.chromium.org/1499623002/#ps1", |
409 "--tag", | 426 "--tag", |
410 "stepname:ct-dm-1 on Ubuntu-14.04", | 427 "stepname:ct-dm-1 on Ubuntu-14.04", |
411 "[dummy hash for ct-dm-1]" | 428 "[dummy hash for ct-dm-1]" |
412 ], | 429 ], |
| 430 "cwd": "[SLAVE_BUILD]", |
413 "name": "[trigger] ct-dm-1 on Ubuntu-14.04", | 431 "name": "[trigger] ct-dm-1 on Ubuntu-14.04", |
414 "~followup_annotations": [ | 432 "~followup_annotations": [ |
415 "@@@STEP_LOG_LINE@json.output@{@@@", | 433 "@@@STEP_LOG_LINE@json.output@{@@@", |
416 "@@@STEP_LOG_LINE@json.output@ \"base_task_name\": \"ct-dm-1/Ubuntu-14.04
/[dummy has/Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug-CT_DM_10k_SKPs-Trybot/-1\"
, @@@", | 434 "@@@STEP_LOG_LINE@json.output@ \"base_task_name\": \"ct-dm-1/Ubuntu-14.04
/[dummy has/Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug-CT_DM_10k_SKPs-Trybot/-1\"
, @@@", |
417 "@@@STEP_LOG_LINE@json.output@ \"tasks\": {@@@", | 435 "@@@STEP_LOG_LINE@json.output@ \"tasks\": {@@@", |
418 "@@@STEP_LOG_LINE@json.output@ \"ct-dm-1/Ubuntu-14.04/[dummy has/Test-U
buntu-GCC-GCE-CPU-AVX2-x86_64-Debug-CT_DM_10k_SKPs-Trybot/-1\": {@@@", | 436 "@@@STEP_LOG_LINE@json.output@ \"ct-dm-1/Ubuntu-14.04/[dummy has/Test-U
buntu-GCC-GCE-CPU-AVX2-x86_64-Debug-CT_DM_10k_SKPs-Trybot/-1\": {@@@", |
419 "@@@STEP_LOG_LINE@json.output@ \"shard_index\": 0, @@@", | 437 "@@@STEP_LOG_LINE@json.output@ \"shard_index\": 0, @@@", |
420 "@@@STEP_LOG_LINE@json.output@ \"task_id\": \"10000\", @@@", | 438 "@@@STEP_LOG_LINE@json.output@ \"task_id\": \"10000\", @@@", |
421 "@@@STEP_LOG_LINE@json.output@ \"view_url\": \"https://chromium-swarm
.appspot.com/user/task/10000\"@@@", | 439 "@@@STEP_LOG_LINE@json.output@ \"view_url\": \"https://chromium-swarm
.appspot.com/user/task/10000\"@@@", |
422 "@@@STEP_LOG_LINE@json.output@ }@@@", | 440 "@@@STEP_LOG_LINE@json.output@ }@@@", |
423 "@@@STEP_LOG_LINE@json.output@ }@@@", | 441 "@@@STEP_LOG_LINE@json.output@ }@@@", |
424 "@@@STEP_LOG_LINE@json.output@}@@@", | 442 "@@@STEP_LOG_LINE@json.output@}@@@", |
425 "@@@STEP_LOG_END@json.output@@@", | 443 "@@@STEP_LOG_END@json.output@@@", |
426 "@@@STEP_LINK@shard #0@https://chromium-swarm.appspot.com/user/task/10000@
@@" | 444 "@@@STEP_LINK@shard #0@https://chromium-swarm.appspot.com/user/task/10000@
@@" |
427 ] | 445 ] |
428 }, | 446 }, |
429 { | 447 { |
430 "cmd": [ | 448 "cmd": [ |
431 "python", | 449 "python", |
432 "-u", | 450 "-u", |
433 "[CWD]/swarming.client/swarming.py", | 451 "[SLAVE_BUILD]/swarming.client/swarming.py", |
434 "collect", | 452 "collect", |
435 "--swarming", | 453 "--swarming", |
436 "https://chromium-swarm.appspot.com", | 454 "https://chromium-swarm.appspot.com", |
437 "--decorate", | 455 "--decorate", |
438 "--print-status-updates", | 456 "--print-status-updates", |
439 "--shards", | 457 "--shards", |
440 "1", | 458 "1", |
441 "ct-dm-1/Ubuntu-14.04/[dummy has/Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug
-CT_DM_10k_SKPs-Trybot/-1", | 459 "ct-dm-1/Ubuntu-14.04/[dummy has/Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug
-CT_DM_10k_SKPs-Trybot/-1", |
442 "--task-summary-json", | 460 "--task-summary-json", |
443 "/path/to/tmp/json", | 461 "/path/to/tmp/json", |
444 "--task-output-dir", | 462 "--task-output-dir", |
445 "[CWD]/swarming_temp_dir/outputs/ct-dm-1" | 463 "[SLAVE_BUILD]/swarming_temp_dir/outputs/ct-dm-1" |
446 ], | 464 ], |
| 465 "cwd": "[SLAVE_BUILD]", |
447 "name": "ct-dm-1 on Ubuntu-14.04", | 466 "name": "ct-dm-1 on Ubuntu-14.04", |
448 "~followup_annotations": [ | 467 "~followup_annotations": [ |
449 "@@@STEP_TEXT@swarming pending 71s@@@", | 468 "@@@STEP_TEXT@swarming pending 71s@@@", |
450 "@@@STEP_LOG_LINE@json.output@{@@@", | 469 "@@@STEP_LOG_LINE@json.output@{@@@", |
451 "@@@STEP_LOG_LINE@json.output@ \"shards\": [@@@", | 470 "@@@STEP_LOG_LINE@json.output@ \"shards\": [@@@", |
452 "@@@STEP_LOG_LINE@json.output@ {@@@", | 471 "@@@STEP_LOG_LINE@json.output@ {@@@", |
453 "@@@STEP_LOG_LINE@json.output@ \"abandoned_ts\": null, @@@", | 472 "@@@STEP_LOG_LINE@json.output@ \"abandoned_ts\": null, @@@", |
454 "@@@STEP_LOG_LINE@json.output@ \"bot_id\": \"vm30\", @@@", | 473 "@@@STEP_LOG_LINE@json.output@ \"bot_id\": \"vm30\", @@@", |
455 "@@@STEP_LOG_LINE@json.output@ \"completed_ts\": \"2014-09-25T01:42:0
0.123\", @@@", | 474 "@@@STEP_LOG_LINE@json.output@ \"completed_ts\": \"2014-09-25T01:42:0
0.123\", @@@", |
456 "@@@STEP_LOG_LINE@json.output@ \"created_ts\": \"2014-09-25T01:41:00.
123\", @@@", | 475 "@@@STEP_LOG_LINE@json.output@ \"created_ts\": \"2014-09-25T01:41:00.
123\", @@@", |
(...skipping 30 matching lines...) Loading... |
487 "@@@STEP_LOG_END@json.output@@@", | 506 "@@@STEP_LOG_END@json.output@@@", |
488 "@@@STEP_LINK@shard #0 isolated out@blah@@@" | 507 "@@@STEP_LINK@shard #0 isolated out@blah@@@" |
489 ] | 508 ] |
490 }, | 509 }, |
491 { | 510 { |
492 "name": "$result", | 511 "name": "$result", |
493 "recipe_result": null, | 512 "recipe_result": null, |
494 "status_code": 0 | 513 "status_code": 0 |
495 } | 514 } |
496 ] | 515 ] |
OLD | NEW |