Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(154)

Side by Side Diff: scripts/slave/recipes/swarming/canary.expected/mac_Release.json

Issue 1115453002: Recipes: make cwd default to slave_build (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: rebase Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 [ 1 [
2 { 2 {
3 "cmd": [ 3 "cmd": [
4 "python", 4 "python",
5 "-u", 5 "-u",
6 "[BUILD]/scripts/slave/cleanup_temp.py" 6 "[BUILD]/scripts/slave/cleanup_temp.py"
7 ], 7 ],
8 "cwd": "[SLAVE_BUILD]",
8 "name": "cleanup_temp" 9 "name": "cleanup_temp"
9 }, 10 },
10 { 11 {
11 "cmd": [ 12 "cmd": [
12 "python", 13 "python",
13 "-u", 14 "-u",
14 "[BUILD]/scripts/slave/bot_update.py", 15 "[BUILD]/scripts/slave/bot_update.py",
15 "--master", 16 "--master",
16 "chromium.testing.master", 17 "chromium.testing.master",
17 "--builder", 18 "--builder",
18 "TestBuilder", 19 "TestBuilder",
19 "--slave", 20 "--slave",
20 "TestSlavename", 21 "TestSlavename",
21 "--spec", 22 "--spec",
22 "cache_dir = None\nsolutions = [{'custom_vars': {'googlecode_url': 'svn:// svn-mirror.golo.chromium.org/%s', 'nacl_trunk': 'svn://svn-mirror.golo.chromium. org/native_client/trunk', 'sourceforge_url': 'svn://svn-mirror.golo.chromium.org /%(repo)s', 'swarming_revision': '', 'webkit_trunk': 'svn://svn-mirror.golo.chro mium.org/blink/trunk'}, 'deps_file': 'DEPS', 'managed': True, 'name': 'src', 'ur l': 'svn://svn-mirror.golo.chromium.org/chrome/trunk/src'}]", 23 "cache_dir = None\nsolutions = [{'custom_vars': {'googlecode_url': 'svn:// svn-mirror.golo.chromium.org/%s', 'nacl_trunk': 'svn://svn-mirror.golo.chromium. org/native_client/trunk', 'sourceforge_url': 'svn://svn-mirror.golo.chromium.org /%(repo)s', 'swarming_revision': '', 'webkit_trunk': 'svn://svn-mirror.golo.chro mium.org/blink/trunk'}, 'deps_file': 'DEPS', 'managed': True, 'name': 'src', 'ur l': 'svn://svn-mirror.golo.chromium.org/chrome/trunk/src'}]",
23 "--root", 24 "--root",
24 "src", 25 "src",
25 "--revision_mapping_file", 26 "--revision_mapping_file",
26 "{\"src\": \"got_revision\", \"src/native_client\": \"got_nacl_revision\", \"src/third_party/WebKit\": \"got_webkit_revision\", \"src/third_party/webrtc\" : \"got_webrtc_revision\", \"src/tools/swarming_client\": \"got_swarming_client_ revision\", \"src/v8\": \"got_v8_revision\"}", 27 "{\"src\": \"got_revision\", \"src/native_client\": \"got_nacl_revision\", \"src/third_party/WebKit\": \"got_webkit_revision\", \"src/third_party/webrtc\" : \"got_webrtc_revision\", \"src/tools/swarming_client\": \"got_swarming_client_ revision\", \"src/v8\": \"got_v8_revision\"}",
27 "--output_json", 28 "--output_json",
28 "/path/to/tmp/json", 29 "/path/to/tmp/json",
29 "--revision", 30 "--revision",
30 "src@204787", 31 "src@204787",
31 "--revision", 32 "--revision",
32 "src/tools/swarming_client@HEAD" 33 "src/tools/swarming_client@HEAD"
33 ], 34 ],
35 "cwd": "[SLAVE_BUILD]",
34 "name": "bot_update", 36 "name": "bot_update",
35 "~followup_annotations": [ 37 "~followup_annotations": [
36 "@@@STEP_LOG_LINE@json.output@{@@@", 38 "@@@STEP_LOG_LINE@json.output@{@@@",
37 "@@@STEP_LOG_LINE@json.output@ \"did_run\": false, @@@", 39 "@@@STEP_LOG_LINE@json.output@ \"did_run\": false, @@@",
38 "@@@STEP_LOG_LINE@json.output@ \"patch_failure\": false@@@", 40 "@@@STEP_LOG_LINE@json.output@ \"patch_failure\": false@@@",
39 "@@@STEP_LOG_LINE@json.output@}@@@", 41 "@@@STEP_LOG_LINE@json.output@}@@@",
40 "@@@STEP_LOG_END@json.output@@@" 42 "@@@STEP_LOG_END@json.output@@@"
41 ] 43 ]
42 }, 44 },
43 { 45 {
44 "cmd": [ 46 "cmd": [
45 "python", 47 "python",
46 "-u", 48 "-u",
47 "[DEPOT_TOOLS]/gclient.py", 49 "[DEPOT_TOOLS]/gclient.py",
48 "config", 50 "config",
49 "--spec", 51 "--spec",
50 "cache_dir = None\nsolutions = [{'custom_vars': {'googlecode_url': 'svn:// svn-mirror.golo.chromium.org/%s', 'nacl_trunk': 'svn://svn-mirror.golo.chromium. org/native_client/trunk', 'sourceforge_url': 'svn://svn-mirror.golo.chromium.org /%(repo)s', 'swarming_revision': '', 'webkit_trunk': 'svn://svn-mirror.golo.chro mium.org/blink/trunk'}, 'deps_file': 'DEPS', 'managed': True, 'name': 'src', 'ur l': 'svn://svn-mirror.golo.chromium.org/chrome/trunk/src'}]" 52 "cache_dir = None\nsolutions = [{'custom_vars': {'googlecode_url': 'svn:// svn-mirror.golo.chromium.org/%s', 'nacl_trunk': 'svn://svn-mirror.golo.chromium. org/native_client/trunk', 'sourceforge_url': 'svn://svn-mirror.golo.chromium.org /%(repo)s', 'swarming_revision': '', 'webkit_trunk': 'svn://svn-mirror.golo.chro mium.org/blink/trunk'}, 'deps_file': 'DEPS', 'managed': True, 'name': 'src', 'ur l': 'svn://svn-mirror.golo.chromium.org/chrome/trunk/src'}]"
51 ], 53 ],
54 "cwd": "[SLAVE_BUILD]",
52 "name": "gclient setup" 55 "name": "gclient setup"
53 }, 56 },
54 { 57 {
55 "cmd": [ 58 "cmd": [
56 "python", 59 "python",
57 "-u", 60 "-u",
58 "[DEPOT_TOOLS]/gclient.py", 61 "[DEPOT_TOOLS]/gclient.py",
59 "sync", 62 "sync",
60 "--nohooks", 63 "--nohooks",
61 "--force", 64 "--force",
62 "--verbose", 65 "--verbose",
63 "--delete_unversioned_trees", 66 "--delete_unversioned_trees",
64 "--revision", 67 "--revision",
65 "src@204787", 68 "src@204787",
66 "--revision", 69 "--revision",
67 "src/tools/swarming_client@HEAD", 70 "src/tools/swarming_client@HEAD",
68 "--output-json", 71 "--output-json",
69 "/path/to/tmp/json" 72 "/path/to/tmp/json"
70 ], 73 ],
74 "cwd": "[SLAVE_BUILD]",
71 "name": "gclient sync", 75 "name": "gclient sync",
72 "~followup_annotations": [ 76 "~followup_annotations": [
73 "@@@STEP_LOG_LINE@json.output@{@@@", 77 "@@@STEP_LOG_LINE@json.output@{@@@",
74 "@@@STEP_LOG_LINE@json.output@ \"solutions\": {@@@", 78 "@@@STEP_LOG_LINE@json.output@ \"solutions\": {@@@",
75 "@@@STEP_LOG_LINE@json.output@ \"src/\": {@@@", 79 "@@@STEP_LOG_LINE@json.output@ \"src/\": {@@@",
76 "@@@STEP_LOG_LINE@json.output@ \"revision\": 170242@@@", 80 "@@@STEP_LOG_LINE@json.output@ \"revision\": 170242@@@",
77 "@@@STEP_LOG_LINE@json.output@ }, @@@", 81 "@@@STEP_LOG_LINE@json.output@ }, @@@",
78 "@@@STEP_LOG_LINE@json.output@ \"src/native_client/\": {@@@", 82 "@@@STEP_LOG_LINE@json.output@ \"src/native_client/\": {@@@",
79 "@@@STEP_LOG_LINE@json.output@ \"revision\": 274981@@@", 83 "@@@STEP_LOG_LINE@json.output@ \"revision\": 274981@@@",
80 "@@@STEP_LOG_LINE@json.output@ }, @@@", 84 "@@@STEP_LOG_LINE@json.output@ }, @@@",
(...skipping 20 matching lines...) Expand all
101 "@@@SET_BUILD_PROPERTY@got_v8_revision@43426@@@" 105 "@@@SET_BUILD_PROPERTY@got_v8_revision@43426@@@"
102 ] 106 ]
103 }, 107 },
104 { 108 {
105 "cmd": [ 109 "cmd": [
106 "python", 110 "python",
107 "-u", 111 "-u",
108 "[SLAVE_BUILD]/src/tools/swarming_client/swarming.py", 112 "[SLAVE_BUILD]/src/tools/swarming_client/swarming.py",
109 "--version" 113 "--version"
110 ], 114 ],
115 "cwd": "[SLAVE_BUILD]",
111 "name": "swarming.py --version", 116 "name": "swarming.py --version",
112 "stdout": "/path/to/tmp/", 117 "stdout": "/path/to/tmp/",
113 "~followup_annotations": [ 118 "~followup_annotations": [
114 "@@@STEP_TEXT@0.4.10@@@" 119 "@@@STEP_TEXT@0.4.10@@@"
115 ] 120 ]
116 }, 121 },
117 { 122 {
118 "cmd": [ 123 "cmd": [
119 "python", 124 "python",
120 "-u", 125 "-u",
121 "[DEPOT_TOOLS]/gclient.py", 126 "[DEPOT_TOOLS]/gclient.py",
122 "runhooks" 127 "runhooks"
123 ], 128 ],
129 "cwd": "[SLAVE_BUILD]",
124 "env": { 130 "env": {
125 "GYP_DEFINES": "clang=1 component=static_library gomadir='[BUILD]/goma' ta rget_arch=x64 test_isolation_mode=prepare use_goma=1" 131 "GYP_DEFINES": "clang=1 component=static_library gomadir='[BUILD]/goma' ta rget_arch=x64 test_isolation_mode=prepare use_goma=1"
126 }, 132 },
127 "name": "gclient runhooks" 133 "name": "gclient runhooks"
128 }, 134 },
129 { 135 {
130 "cmd": [ 136 "cmd": [
131 "python", 137 "python",
132 "-u", 138 "-u",
133 "RECIPE_MODULE[isolate]/resources/find_isolated_tests.py", 139 "RECIPE_MODULE[isolate]/resources/find_isolated_tests.py",
134 "--build-dir", 140 "--build-dir",
135 "[SLAVE_BUILD]/src/out/Release", 141 "[SLAVE_BUILD]/src/out/Release",
136 "--clean-isolated-files" 142 "--clean-isolated-files"
137 ], 143 ],
144 "cwd": "[SLAVE_BUILD]",
138 "name": "clean isolated files" 145 "name": "clean isolated files"
139 }, 146 },
140 { 147 {
141 "cmd": [ 148 "cmd": [
142 "python", 149 "python",
143 "-u", 150 "-u",
144 "[BUILD]/scripts/slave/compile.py", 151 "[BUILD]/scripts/slave/compile.py",
145 "--target", 152 "--target",
146 "Release", 153 "Release",
147 "--src-dir", 154 "--src-dir",
148 "[SLAVE_BUILD]/src", 155 "[SLAVE_BUILD]/src",
149 "--build-tool", 156 "--build-tool",
150 "ninja", 157 "ninja",
151 "--compiler", 158 "--compiler",
152 "goma-clang", 159 "goma-clang",
153 "--goma-dir", 160 "--goma-dir",
154 "[BUILD]/goma", 161 "[BUILD]/goma",
155 "--", 162 "--",
156 "chromium_swarm_tests" 163 "chromium_swarm_tests"
157 ], 164 ],
165 "cwd": "[SLAVE_BUILD]",
158 "name": "compile" 166 "name": "compile"
159 }, 167 },
160 { 168 {
161 "cmd": [ 169 "cmd": [
162 "python", 170 "python",
163 "-u", 171 "-u",
164 "RECIPE_MODULE[isolate]/resources/remove_build_metadata.py", 172 "RECIPE_MODULE[isolate]/resources/remove_build_metadata.py",
165 "--build-dir", 173 "--build-dir",
166 "[SLAVE_BUILD]/src/out/Release", 174 "[SLAVE_BUILD]/src/out/Release",
167 "--src-dir", 175 "--src-dir",
168 "[SLAVE_BUILD]/src" 176 "[SLAVE_BUILD]/src"
169 ], 177 ],
170 "cwd": "[SLAVE_BUILD]", 178 "cwd": "[SLAVE_BUILD]",
171 "name": "remove_build_metadata" 179 "name": "remove_build_metadata"
172 }, 180 },
173 { 181 {
174 "cmd": [ 182 "cmd": [
175 "python", 183 "python",
176 "-u", 184 "-u",
177 "\nimport glob\nimport sys\nwith open(sys.argv[1], 'w') as f:\n f.write(' \\n'.join(glob.glob(sys.argv[2])))\n", 185 "\nimport glob\nimport sys\nwith open(sys.argv[1], 'w') as f:\n f.write(' \\n'.join(glob.glob(sys.argv[2])))\n",
178 "/path/to/tmp/", 186 "/path/to/tmp/",
179 "[SLAVE_BUILD]/src/out/Release/*.isolated.gen.json" 187 "[SLAVE_BUILD]/src/out/Release/*.isolated.gen.json"
180 ], 188 ],
189 "cwd": "[SLAVE_BUILD]",
181 "name": "find isolated targets" 190 "name": "find isolated targets"
182 }, 191 },
183 { 192 {
184 "cmd": [ 193 "cmd": [
185 "python", 194 "python",
186 "-u", 195 "-u",
187 "[SLAVE_BUILD]/src/tools/swarming_client/isolate.py", 196 "[SLAVE_BUILD]/src/tools/swarming_client/isolate.py",
188 "batcharchive", 197 "batcharchive",
189 "--dump-json", 198 "--dump-json",
190 "/path/to/tmp/json", 199 "/path/to/tmp/json",
191 "--isolate-server", 200 "--isolate-server",
192 "https://isolateserver-dev.appspot.com", 201 "https://isolateserver-dev.appspot.com",
193 "--verbose", 202 "--verbose",
194 "[SLAVE_BUILD]/src/out/Release/dummy_target_1.isolated.gen.json", 203 "[SLAVE_BUILD]/src/out/Release/dummy_target_1.isolated.gen.json",
195 "[SLAVE_BUILD]/src/out/Release/dummy_target_2.isolated.gen.json" 204 "[SLAVE_BUILD]/src/out/Release/dummy_target_2.isolated.gen.json"
196 ], 205 ],
206 "cwd": "[SLAVE_BUILD]",
197 "env": { 207 "env": {
198 "SWARMING_PROFILE": "1" 208 "SWARMING_PROFILE": "1"
199 }, 209 },
200 "name": "isolate tests", 210 "name": "isolate tests",
201 "~followup_annotations": [ 211 "~followup_annotations": [
202 "@@@STEP_LOG_LINE@json.output@{@@@", 212 "@@@STEP_LOG_LINE@json.output@{@@@",
203 "@@@STEP_LOG_LINE@json.output@ \"dummy_target_1\": \"[dummy hash for dumm y_target_1]\", @@@", 213 "@@@STEP_LOG_LINE@json.output@ \"dummy_target_1\": \"[dummy hash for dumm y_target_1]\", @@@",
204 "@@@STEP_LOG_LINE@json.output@ \"dummy_target_2\": \"[dummy hash for dumm y_target_2]\"@@@", 214 "@@@STEP_LOG_LINE@json.output@ \"dummy_target_2\": \"[dummy hash for dumm y_target_2]\"@@@",
205 "@@@STEP_LOG_LINE@json.output@}@@@", 215 "@@@STEP_LOG_LINE@json.output@}@@@",
206 "@@@STEP_LOG_END@json.output@@@", 216 "@@@STEP_LOG_END@json.output@@@",
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
258 "--tag", 268 "--tag",
259 "project:chromium", 269 "project:chromium",
260 "--tag", 270 "--tag",
261 "purpose:staging", 271 "purpose:staging",
262 "--verbose", 272 "--verbose",
263 "--idempotent", 273 "--idempotent",
264 "[dummy hash for dummy_target_1]", 274 "[dummy hash for dummy_target_1]",
265 "--", 275 "--",
266 "--test-launcher-summary-output=${ISOLATED_OUTDIR}/output.json" 276 "--test-launcher-summary-output=${ISOLATED_OUTDIR}/output.json"
267 ], 277 ],
278 "cwd": "[SLAVE_BUILD]",
268 "name": "[trigger] dummy_target_1 on Mac", 279 "name": "[trigger] dummy_target_1 on Mac",
269 "~followup_annotations": [ 280 "~followup_annotations": [
270 "@@@STEP_LOG_LINE@json.output@{@@@", 281 "@@@STEP_LOG_LINE@json.output@{@@@",
271 "@@@STEP_LOG_LINE@json.output@ \"base_task_name\": \"dummy_target_1/Mac/[ dummy has/TestBuilder/571\", @@@", 282 "@@@STEP_LOG_LINE@json.output@ \"base_task_name\": \"dummy_target_1/Mac/[ dummy has/TestBuilder/571\", @@@",
272 "@@@STEP_LOG_LINE@json.output@ \"tasks\": {@@@", 283 "@@@STEP_LOG_LINE@json.output@ \"tasks\": {@@@",
273 "@@@STEP_LOG_LINE@json.output@ \"dummy_target_1/Mac/[dummy has/TestBuil der/571:2:0\": {@@@", 284 "@@@STEP_LOG_LINE@json.output@ \"dummy_target_1/Mac/[dummy has/TestBuil der/571:2:0\": {@@@",
274 "@@@STEP_LOG_LINE@json.output@ \"shard_index\": 0, @@@", 285 "@@@STEP_LOG_LINE@json.output@ \"shard_index\": 0, @@@",
275 "@@@STEP_LOG_LINE@json.output@ \"task_id\": \"10000\", @@@", 286 "@@@STEP_LOG_LINE@json.output@ \"task_id\": \"10000\", @@@",
276 "@@@STEP_LOG_LINE@json.output@ \"view_url\": \"https://chromium-swarm -dev.appspot.com/user/task/10000\"@@@", 287 "@@@STEP_LOG_LINE@json.output@ \"view_url\": \"https://chromium-swarm -dev.appspot.com/user/task/10000\"@@@",
277 "@@@STEP_LOG_LINE@json.output@ }, @@@", 288 "@@@STEP_LOG_LINE@json.output@ }, @@@",
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
338 "--tag", 349 "--tag",
339 "project:chromium", 350 "project:chromium",
340 "--tag", 351 "--tag",
341 "purpose:staging", 352 "purpose:staging",
342 "--verbose", 353 "--verbose",
343 "--idempotent", 354 "--idempotent",
344 "[dummy hash for dummy_target_2]", 355 "[dummy hash for dummy_target_2]",
345 "--", 356 "--",
346 "--test-launcher-summary-output=${ISOLATED_OUTDIR}/output.json" 357 "--test-launcher-summary-output=${ISOLATED_OUTDIR}/output.json"
347 ], 358 ],
359 "cwd": "[SLAVE_BUILD]",
348 "name": "[trigger] dummy_target_2 on Mac", 360 "name": "[trigger] dummy_target_2 on Mac",
349 "~followup_annotations": [ 361 "~followup_annotations": [
350 "@@@STEP_LOG_LINE@json.output@{@@@", 362 "@@@STEP_LOG_LINE@json.output@{@@@",
351 "@@@STEP_LOG_LINE@json.output@ \"base_task_name\": \"dummy_target_2/Mac/[ dummy has/TestBuilder/571\", @@@", 363 "@@@STEP_LOG_LINE@json.output@ \"base_task_name\": \"dummy_target_2/Mac/[ dummy has/TestBuilder/571\", @@@",
352 "@@@STEP_LOG_LINE@json.output@ \"tasks\": {@@@", 364 "@@@STEP_LOG_LINE@json.output@ \"tasks\": {@@@",
353 "@@@STEP_LOG_LINE@json.output@ \"dummy_target_2/Mac/[dummy has/TestBuil der/571:2:0\": {@@@", 365 "@@@STEP_LOG_LINE@json.output@ \"dummy_target_2/Mac/[dummy has/TestBuil der/571:2:0\": {@@@",
354 "@@@STEP_LOG_LINE@json.output@ \"shard_index\": 0, @@@", 366 "@@@STEP_LOG_LINE@json.output@ \"shard_index\": 0, @@@",
355 "@@@STEP_LOG_LINE@json.output@ \"task_id\": \"10000\", @@@", 367 "@@@STEP_LOG_LINE@json.output@ \"task_id\": \"10000\", @@@",
356 "@@@STEP_LOG_LINE@json.output@ \"view_url\": \"https://chromium-swarm -dev.appspot.com/user/task/10000\"@@@", 368 "@@@STEP_LOG_LINE@json.output@ \"view_url\": \"https://chromium-swarm -dev.appspot.com/user/task/10000\"@@@",
357 "@@@STEP_LOG_LINE@json.output@ }, @@@", 369 "@@@STEP_LOG_LINE@json.output@ }, @@@",
(...skipping 25 matching lines...) Expand all
383 "collect", 395 "collect",
384 "--swarming", 396 "--swarming",
385 "https://chromium-swarm-dev.appspot.com", 397 "https://chromium-swarm-dev.appspot.com",
386 "--decorate", 398 "--decorate",
387 "--print-status-updates", 399 "--print-status-updates",
388 "--verbose", 400 "--verbose",
389 "--shards", 401 "--shards",
390 "2", 402 "2",
391 "dummy_target_1/Mac/[dummy has/TestBuilder/571" 403 "dummy_target_1/Mac/[dummy has/TestBuilder/571"
392 ], 404 ],
405 "cwd": "[SLAVE_BUILD]",
393 "name": "dummy_target_1 on Mac" 406 "name": "dummy_target_1 on Mac"
394 }, 407 },
395 { 408 {
396 "allow_subannotations": true, 409 "allow_subannotations": true,
397 "cmd": [ 410 "cmd": [
398 "python", 411 "python",
399 "-u", 412 "-u",
400 "RECIPE_MODULE[swarming]/resources/collect_gtest_task.py", 413 "RECIPE_MODULE[swarming]/resources/collect_gtest_task.py",
401 "--swarming-client-dir", 414 "--swarming-client-dir",
402 "[SLAVE_BUILD]/src/tools/swarming_client", 415 "[SLAVE_BUILD]/src/tools/swarming_client",
403 "--temp-root-dir", 416 "--temp-root-dir",
404 "[TMP_BASE]", 417 "[TMP_BASE]",
405 "--merged-test-output", 418 "--merged-test-output",
406 "/path/to/tmp/json", 419 "/path/to/tmp/json",
407 "--", 420 "--",
408 "collect", 421 "collect",
409 "--swarming", 422 "--swarming",
410 "https://chromium-swarm-dev.appspot.com", 423 "https://chromium-swarm-dev.appspot.com",
411 "--decorate", 424 "--decorate",
412 "--print-status-updates", 425 "--print-status-updates",
413 "--verbose", 426 "--verbose",
414 "--shards", 427 "--shards",
415 "2", 428 "2",
416 "dummy_target_2/Mac/[dummy has/TestBuilder/571" 429 "dummy_target_2/Mac/[dummy has/TestBuilder/571"
417 ], 430 ],
431 "cwd": "[SLAVE_BUILD]",
418 "name": "dummy_target_2 on Mac" 432 "name": "dummy_target_2 on Mac"
419 } 433 }
420 ] 434 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698