OLD | NEW |
1 [ | 1 [ |
2 { | 2 { |
3 "cmd": [ | 3 "cmd": [ |
4 "python", | 4 "python", |
5 "-u", | 5 "-u", |
6 "RECIPE_MODULE[depot_tools::bot_update]/resources/bot_update.py", | 6 "RECIPE_MODULE[depot_tools::bot_update]/resources/bot_update.py", |
7 "--master", | 7 "--master", |
8 "chromium.infra.cron", | 8 "chromium.infra.cron", |
9 "--builder", | 9 "--builder", |
10 "Chromium Linux Codesearch Builder", | 10 "Chromium Linux Codesearch Builder", |
11 "--slave", | 11 "--slave", |
12 "TestSlavename", | 12 "TestSlavename", |
13 "--spec", | 13 "--spec", |
14 "cache_dir = '[ROOT]/b/build/slave/cache_dir'\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', 'webkit_trunk': 'https://chromium.google
source.com/chromium/blink.git'}, 'deps_file': '.DEPS.git', 'managed': True, 'nam
e': 'src', 'url': 'https://chromium.googlesource.com/chromium/src.git'}, {'deps_
file': '.DEPS.git', 'managed': True, 'name': 'tools/chrome-devtools-frontend', '
url': 'https://chromium.googlesource.com/chromium/tools/chrome-devtools-frontend
'}, {'deps_file': '.DEPS.git', 'managed': True, 'name': 'tools/gsd_generate_inde
x', 'url': 'https://chromium.googlesource.com/chromium/tools/gsd_generate_index'
}, {'deps_file': '.DEPS.git', 'managed': True, 'name': 'tools/perf', 'url': 'htt
ps://chromium.googlesource.com/chromium/tools/perf'}, {'deps_file': '.DEPS.git',
'managed': True, 'name': 'tools/command_wrapper/bin', 'url': 'https://chromium.
googlesource.com/chromium/tools/command_wrapper/bin'}, {'deps_file': '.DEPS.git'
, 'managed': True, 'name': 'tools/depot_tools', 'url': 'https://chromium.googles
ource.com/chromium/tools/depot_tools'}, {'deps_file': '.DEPS.git', 'managed': Tr
ue, 'name': 'tools/chromium-jobqueue', 'url': 'https://chromium.googlesource.com
/chromium/tools/chromium-jobqueue'}, {'deps_file': '.DEPS.git', 'managed': True,
'name': 'tools/chromium-shortener', 'url': 'https://chromium.googlesource.com/c
hromium/tools/chromium-shortener'}, {'deps_file': '.DEPS.git', 'managed': True,
'name': 'tools/deps2git', 'url': 'https://chromium.googlesource.com/chromium/too
ls/deps2git'}, {'deps_file': '.DEPS.git', 'managed': True, 'name': 'infra', 'url
': 'https://chromium.googlesource.com/infra/infra'}]", | 14 "cache_dir = '[GIT_CACHE]'\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.chr
omium.org/%(repo)s', 'webkit_trunk': 'https://chromium.googlesource.com/chromium
/blink.git'}, 'deps_file': '.DEPS.git', 'managed': True, 'name': 'src', 'url': '
https://chromium.googlesource.com/chromium/src.git'}, {'deps_file': '.DEPS.git',
'managed': True, 'name': 'tools/chrome-devtools-frontend', 'url': 'https://chro
mium.googlesource.com/chromium/tools/chrome-devtools-frontend'}, {'deps_file': '
.DEPS.git', 'managed': True, 'name': 'tools/gsd_generate_index', 'url': 'https:/
/chromium.googlesource.com/chromium/tools/gsd_generate_index'}, {'deps_file': '.
DEPS.git', 'managed': True, 'name': 'tools/perf', 'url': 'https://chromium.googl
esource.com/chromium/tools/perf'}, {'deps_file': '.DEPS.git', 'managed': True, '
name': 'tools/command_wrapper/bin', 'url': 'https://chromium.googlesource.com/ch
romium/tools/command_wrapper/bin'}, {'deps_file': '.DEPS.git', 'managed': True,
'name': 'tools/depot_tools', 'url': 'https://chromium.googlesource.com/chromium/
tools/depot_tools'}, {'deps_file': '.DEPS.git', 'managed': True, 'name': 'tools/
chromium-jobqueue', 'url': 'https://chromium.googlesource.com/chromium/tools/chr
omium-jobqueue'}, {'deps_file': '.DEPS.git', 'managed': True, 'name': 'tools/chr
omium-shortener', 'url': 'https://chromium.googlesource.com/chromium/tools/chrom
ium-shortener'}, {'deps_file': '.DEPS.git', 'managed': True, 'name': 'tools/deps
2git', 'url': 'https://chromium.googlesource.com/chromium/tools/deps2git'}, {'de
ps_file': '.DEPS.git', 'managed': True, 'name': 'infra', 'url': 'https://chromiu
m.googlesource.com/infra/infra'}]", |
15 "--root", | 15 "--root", |
16 "src", | 16 "src", |
17 "--revision_mapping_file", | 17 "--revision_mapping_file", |
18 "{\"src\": \"got_revision\", \"src/native_client\": \"got_nacl_revision\",
\"src/third_party/angle\": \"got_angle_revision\", \"src/third_party/webrtc\":
\"got_webrtc_revision\", \"src/tools/swarming_client\": \"got_swarming_client_re
vision\", \"src/v8\": \"got_v8_revision\"}", | 18 "{\"src\": \"got_revision\", \"src/native_client\": \"got_nacl_revision\",
\"src/third_party/angle\": \"got_angle_revision\", \"src/third_party/webrtc\":
\"got_webrtc_revision\", \"src/tools/swarming_client\": \"got_swarming_client_re
vision\", \"src/v8\": \"got_v8_revision\"}", |
19 "--git-cache-dir", | 19 "--git-cache-dir", |
20 "[ROOT]/b/build/slave/cache_dir", | 20 "[GIT_CACHE]", |
21 "--output_json", | 21 "--output_json", |
22 "/path/to/tmp/json", | 22 "/path/to/tmp/json", |
23 "--revision", | 23 "--revision", |
24 "src@HEAD", | 24 "src@HEAD", |
25 "--output_manifest" | 25 "--output_manifest" |
26 ], | 26 ], |
| 27 "cwd": "[SLAVE_BUILD]", |
27 "env": { | 28 "env": { |
28 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" | 29 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" |
29 }, | 30 }, |
30 "name": "bot_update", | 31 "name": "bot_update", |
31 "~followup_annotations": [ | 32 "~followup_annotations": [ |
32 "@@@STEP_TEXT@Some step text@@@", | 33 "@@@STEP_TEXT@Some step text@@@", |
33 "@@@STEP_LOG_LINE@json.output@{@@@", | 34 "@@@STEP_LOG_LINE@json.output@{@@@", |
34 "@@@STEP_LOG_LINE@json.output@ \"did_run\": true, @@@", | 35 "@@@STEP_LOG_LINE@json.output@ \"did_run\": true, @@@", |
35 "@@@STEP_LOG_LINE@json.output@ \"fixed_revisions\": {@@@", | 36 "@@@STEP_LOG_LINE@json.output@ \"fixed_revisions\": {@@@", |
36 "@@@STEP_LOG_LINE@json.output@ \"src\": \"HEAD\"@@@", | 37 "@@@STEP_LOG_LINE@json.output@ \"src\": \"HEAD\"@@@", |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
93 "@@@SET_BUILD_PROPERTY@got_webrtc_revision_cp@\"refs/heads/master@{#120644
}\"@@@", | 94 "@@@SET_BUILD_PROPERTY@got_webrtc_revision_cp@\"refs/heads/master@{#120644
}\"@@@", |
94 "@@@SET_BUILD_PROPERTY@got_revision_cp@\"refs/heads/master@{#170242}\"@@@"
, | 95 "@@@SET_BUILD_PROPERTY@got_revision_cp@\"refs/heads/master@{#170242}\"@@@"
, |
95 "@@@SET_BUILD_PROPERTY@got_angle_revision_cp@\"refs/heads/master@{#297276}
\"@@@" | 96 "@@@SET_BUILD_PROPERTY@got_angle_revision_cp@\"refs/heads/master@{#297276}
\"@@@" |
96 ] | 97 ] |
97 }, | 98 }, |
98 { | 99 { |
99 "cmd": [ | 100 "cmd": [ |
100 "python", | 101 "python", |
101 "-u", | 102 "-u", |
102 "\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", | 103 "\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", |
103 "[CWD]/src/third_party/llvm-build" | 104 "[SLAVE_BUILD]/src/third_party/llvm-build" |
104 ], | 105 ], |
| 106 "cwd": "[SLAVE_BUILD]", |
105 "name": "rmtree llvm-build", | 107 "name": "rmtree llvm-build", |
106 "~followup_annotations": [ | 108 "~followup_annotations": [ |
107 "@@@STEP_LOG_LINE@python.inline@@@@", | 109 "@@@STEP_LOG_LINE@python.inline@@@@", |
108 "@@@STEP_LOG_LINE@python.inline@import os, sys@@@", | 110 "@@@STEP_LOG_LINE@python.inline@import os, sys@@@", |
109 "@@@STEP_LOG_LINE@python.inline@from common import chromium_utils # Error?
See https://crbug.com/584783.@@@", | 111 "@@@STEP_LOG_LINE@python.inline@from common import chromium_utils # Error?
See https://crbug.com/584783.@@@", |
110 "@@@STEP_LOG_LINE@python.inline@@@@", | 112 "@@@STEP_LOG_LINE@python.inline@@@@", |
111 "@@@STEP_LOG_LINE@python.inline@@@@", | 113 "@@@STEP_LOG_LINE@python.inline@@@@", |
112 "@@@STEP_LOG_LINE@python.inline@if os.path.exists(sys.argv[1]):@@@", | 114 "@@@STEP_LOG_LINE@python.inline@if os.path.exists(sys.argv[1]):@@@", |
113 "@@@STEP_LOG_LINE@python.inline@ chromium_utils.RemoveDirectory(sys.argv[
1])@@@", | 115 "@@@STEP_LOG_LINE@python.inline@ chromium_utils.RemoveDirectory(sys.argv[
1])@@@", |
114 "@@@STEP_LOG_END@python.inline@@@" | 116 "@@@STEP_LOG_END@python.inline@@@" |
115 ] | 117 ] |
116 }, | 118 }, |
117 { | 119 { |
118 "cmd": [ | 120 "cmd": [ |
119 "python", | 121 "python", |
120 "-u", | 122 "-u", |
121 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", | 123 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", |
122 "runhooks" | 124 "runhooks" |
123 ], | 125 ], |
| 126 "cwd": "[SLAVE_BUILD]", |
124 "env": { | 127 "env": { |
125 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | 128 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
126 "GYP_DEFINES": "clang=1 component=shared_library fastbuild=1 gomadir='[ROO
T]/b/build/goma' target_arch=x64 use_goma=1", | 129 "GYP_DEFINES": "clang=1 component=shared_library fastbuild=1 gomadir='[BUI
LD]/goma' target_arch=x64 use_goma=1", |
127 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" | 130 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" |
128 }, | 131 }, |
129 "name": "gclient runhooks" | 132 "name": "gclient runhooks" |
130 }, | 133 }, |
131 { | 134 { |
132 "cmd": [ | 135 "cmd": [ |
133 "[CWD]/src/buildtools/linux64/gn", | 136 "[SLAVE_BUILD]/src/buildtools/linux64/gn", |
134 "gen", | 137 "gen", |
135 "[CWD]/src/out/Debug", | 138 "[SLAVE_BUILD]/src/out/Debug", |
136 "--args=is_clang=true is_component_build=true is_debug=true goma_dir=\"/b/
build/goma\" symbol_level=1 target_cpu=\"x64\" use_goma=true" | 139 "--args=is_clang=true is_component_build=true is_debug=true goma_dir=\"/b/
build/goma\" symbol_level=1 target_cpu=\"x64\" use_goma=true" |
137 ], | 140 ], |
138 "cwd": "[CWD]/src", | 141 "cwd": "[SLAVE_BUILD]/src", |
139 "name": "generate build files for linux" | 142 "name": "generate build files for linux" |
140 }, | 143 }, |
141 { | 144 { |
142 "cmd": [ | 145 "cmd": [ |
143 "ninja", | 146 "ninja", |
144 "-C", | 147 "-C", |
145 "[CWD]/src/out/Debug", | 148 "[SLAVE_BUILD]/src/out/Debug", |
146 "All", | 149 "All", |
147 "-t", | 150 "-t", |
148 "compdb", | 151 "compdb", |
149 "cc", | 152 "cc", |
150 "cxx", | 153 "cxx", |
151 "objc", | 154 "objc", |
152 "objcxx" | 155 "objcxx" |
153 ], | 156 ], |
| 157 "cwd": "[SLAVE_BUILD]", |
154 "name": "generate compilation database for linux", | 158 "name": "generate compilation database for linux", |
155 "stdout": "/path/to/tmp/" | 159 "stdout": "/path/to/tmp/" |
156 }, | 160 }, |
157 { | 161 { |
158 "allow_subannotations": true, | 162 "allow_subannotations": true, |
159 "cmd": [ | 163 "cmd": [ |
160 "python", | 164 "python", |
161 "-u", | 165 "-u", |
162 "RECIPE_PACKAGE_REPO[build]/scripts/slave/clang_revision.py", | 166 "RECIPE_PACKAGE_REPO[build]/scripts/slave/clang_revision.py", |
163 "--src-dir", | 167 "--src-dir", |
164 "[CWD]/src", | 168 "[SLAVE_BUILD]/src", |
165 "--output-json", | 169 "--output-json", |
166 "/path/to/tmp/json" | 170 "/path/to/tmp/json" |
167 ], | 171 ], |
| 172 "cwd": "[SLAVE_BUILD]", |
168 "env": { | 173 "env": { |
169 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json" | 174 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json" |
170 }, | 175 }, |
171 "name": "clang_revision", | 176 "name": "clang_revision", |
172 "~followup_annotations": [ | 177 "~followup_annotations": [ |
173 "@@@STEP_LOG_LINE@json.output@{@@@", | 178 "@@@STEP_LOG_LINE@json.output@{@@@", |
174 "@@@STEP_LOG_LINE@json.output@ \"clang_revision\": \"123456-7\"@@@", | 179 "@@@STEP_LOG_LINE@json.output@ \"clang_revision\": \"123456-7\"@@@", |
175 "@@@STEP_LOG_LINE@json.output@}@@@", | 180 "@@@STEP_LOG_LINE@json.output@}@@@", |
176 "@@@STEP_LOG_END@json.output@@@" | 181 "@@@STEP_LOG_END@json.output@@@" |
177 ] | 182 ] |
178 }, | 183 }, |
179 { | 184 { |
180 "cmd": [ | 185 "cmd": [ |
181 "python", | 186 "python", |
182 "-u", | 187 "-u", |
183 "RECIPE_PACKAGE_REPO[build]/scripts/tools/runit.py", | 188 "RECIPE_PACKAGE_REPO[build]/scripts/tools/runit.py", |
184 "--show-path", | 189 "--show-path", |
185 "python", | 190 "python", |
186 "RECIPE_PACKAGE_REPO[build]/scripts/slave/compile.py", | 191 "RECIPE_PACKAGE_REPO[build]/scripts/slave/compile.py", |
187 "--gsutil-py-path", | 192 "--gsutil-py-path", |
188 "RECIPE_PACKAGE_REPO[depot_tools]/gsutil.py", | 193 "RECIPE_PACKAGE_REPO[depot_tools]/gsutil.py", |
189 "--ninja-path", | 194 "--ninja-path", |
190 "RECIPE_PACKAGE_REPO[depot_tools]/ninja", | 195 "RECIPE_PACKAGE_REPO[depot_tools]/ninja", |
191 "--target", | 196 "--target", |
192 "Debug", | 197 "Debug", |
193 "--src-dir", | 198 "--src-dir", |
194 "[CWD]/src", | 199 "[SLAVE_BUILD]/src", |
195 "--goma-cache-dir", | 200 "--goma-cache-dir", |
196 "[ROOT]/b/build/slave/goma_cache", | 201 "[GOMA_CACHE]", |
197 "--build-args", | 202 "--build-args", |
198 "-k 0", | 203 "-k 0", |
199 "--build-tool", | 204 "--build-tool", |
200 "ninja", | 205 "ninja", |
201 "--compiler", | 206 "--compiler", |
202 "goma-clang", | 207 "goma-clang", |
203 "--goma-jsonstatus", | 208 "--goma-jsonstatus", |
204 "/path/to/tmp/json", | 209 "/path/to/tmp/json", |
205 "--goma-service-account-json-file", | 210 "--goma-service-account-json-file", |
206 "/creds/service_accounts/service-account-goma-client.json", | 211 "/creds/service_accounts/service-account-goma-client.json", |
207 "--goma-dir", | 212 "--goma-dir", |
208 "[ROOT]/b/build/goma", | 213 "[BUILD]/goma", |
209 "--", | 214 "--", |
210 "All" | 215 "All" |
211 ], | 216 ], |
| 217 "cwd": "[SLAVE_BUILD]", |
212 "env": { | 218 "env": { |
213 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json" | 219 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json" |
214 }, | 220 }, |
215 "name": "compile", | 221 "name": "compile", |
216 "~followup_annotations": [ | 222 "~followup_annotations": [ |
217 "@@@STEP_LOG_LINE@json.output (invalid)@null@@@", | 223 "@@@STEP_LOG_LINE@json.output (invalid)@null@@@", |
218 "@@@STEP_LOG_END@json.output (invalid)@@@" | 224 "@@@STEP_LOG_END@json.output (invalid)@@@" |
219 ] | 225 ] |
220 }, | 226 }, |
221 { | 227 { |
222 "name": "$result", | 228 "name": "$result", |
223 "recipe_result": null, | 229 "recipe_result": null, |
224 "status_code": 0 | 230 "status_code": 0 |
225 } | 231 } |
226 ] | 232 ] |
OLD | NEW |