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 "tryserver.client.pdfium", | 8 "tryserver.client.pdfium", |
9 "--builder", | 9 "--builder", |
10 "linux_xfa_asan", | 10 "linux_xfa_asan", |
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
66 "name": "gclient runhooks" | 66 "name": "gclient runhooks" |
67 }, | 67 }, |
68 { | 68 { |
69 "cmd": [ | 69 "cmd": [ |
70 "python", | 70 "python", |
71 "-u", | 71 "-u", |
72 "[DEPOT_TOOLS]/gn.py", | 72 "[DEPOT_TOOLS]/gn.py", |
73 "--root=[SLAVE_BUILD]/pdfium", | 73 "--root=[SLAVE_BUILD]/pdfium", |
74 "gen", | 74 "gen", |
75 "//out/Debug", | 75 "//out/Debug", |
76 "--args=is_debug=true is_component_build=false pdf_enable_v8=true pdf_enab
le_xfa=true pdf_use_skia=false pdf_is_standalone=true use_sysroot=false is_asan=
true" | 76 "--args=is_debug=true is_component_build=false pdf_enable_v8=true pdf_enab
le_xfa=true pdf_use_skia=false pdf_is_standalone=true use_goma=true use_sysroot=
false is_asan=true" |
77 ], | 77 ], |
78 "cwd": "[SLAVE_BUILD]/pdfium", | 78 "cwd": "[SLAVE_BUILD]/pdfium", |
79 "name": "gn gen" | 79 "name": "gn gen" |
80 }, | 80 }, |
81 { | 81 { |
| 82 "cmd": [], |
| 83 "name": "ensure_goma" |
| 84 }, |
| 85 { |
| 86 "cmd": [ |
| 87 "python", |
| 88 "-u", |
| 89 "RECIPE_MODULE[depot_tools::cipd]/resources/bootstrap.py", |
| 90 "--platform", |
| 91 "linux-amd64", |
| 92 "--dest-directory", |
| 93 "[SLAVE_BUILD]/cipd", |
| 94 "--json-output", |
| 95 "/path/to/tmp/json" |
| 96 ], |
| 97 "name": "ensure_goma.install cipd", |
| 98 "~followup_annotations": [ |
| 99 "@@@STEP_NEST_LEVEL@1@@@", |
| 100 "@@@STEP_TEXT@cipd instance_id: 40-chars-fake-of-the-package-instance_id@@
@", |
| 101 "@@@STEP_LOG_LINE@json.output@{@@@", |
| 102 "@@@STEP_LOG_LINE@json.output@ \"executable\": \"[SLAVE_BUILD]/cipd/cipd\
", @@@", |
| 103 "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"40-chars-fake-of-the-pa
ckage-instance_id\"@@@", |
| 104 "@@@STEP_LOG_LINE@json.output@}@@@", |
| 105 "@@@STEP_LOG_END@json.output@@@" |
| 106 ] |
| 107 }, |
| 108 { |
| 109 "cmd": [ |
| 110 "[SLAVE_BUILD]/cipd/cipd", |
| 111 "ensure", |
| 112 "--root", |
| 113 "[CACHE]/cipd/goma", |
| 114 "--list", |
| 115 "infra/tools/cloudtail/linux-amd64 goma_recipe_module\ninfra_internal/goma
/client/linux-amd64 release", |
| 116 "--json-output", |
| 117 "/path/to/tmp/json", |
| 118 "--service-account-json", |
| 119 "/creds/service_accounts/service-account-goma-client.json" |
| 120 ], |
| 121 "name": "ensure_goma.ensure_installed", |
| 122 "~followup_annotations": [ |
| 123 "@@@STEP_NEST_LEVEL@1@@@", |
| 124 "@@@STEP_LOG_LINE@json.output@{@@@", |
| 125 "@@@STEP_LOG_LINE@json.output@ \"result\": [@@@", |
| 126 "@@@STEP_LOG_LINE@json.output@ {@@@", |
| 127 "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"resolved-instance_i
d-of-goma_recipe_modu\", @@@", |
| 128 "@@@STEP_LOG_LINE@json.output@ \"package\": \"infra/tools/cloudtail/l
inux-amd64\"@@@", |
| 129 "@@@STEP_LOG_LINE@json.output@ }, @@@", |
| 130 "@@@STEP_LOG_LINE@json.output@ {@@@", |
| 131 "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"resolved-instance_i
d-of-release---------\", @@@", |
| 132 "@@@STEP_LOG_LINE@json.output@ \"package\": \"infra_internal/goma/cli
ent/linux-amd64\"@@@", |
| 133 "@@@STEP_LOG_LINE@json.output@ }@@@", |
| 134 "@@@STEP_LOG_LINE@json.output@ ]@@@", |
| 135 "@@@STEP_LOG_LINE@json.output@}@@@", |
| 136 "@@@STEP_LOG_END@json.output@@@" |
| 137 ] |
| 138 }, |
| 139 { |
| 140 "cmd": [ |
| 141 "python", |
| 142 "-u", |
| 143 "[CACHE]/cipd/goma/goma_ctl.py", |
| 144 "restart" |
| 145 ], |
| 146 "env": { |
| 147 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json" |
| 148 }, |
| 149 "name": "start_goma" |
| 150 }, |
| 151 { |
| 152 "cmd": [ |
| 153 "python", |
| 154 "-u", |
| 155 "RECIPE_MODULE[build::goma]/resources/cloudtail_utils.py", |
| 156 "start", |
| 157 "--cloudtail-path", |
| 158 "[CACHE]/cipd/goma/cloudtail" |
| 159 ], |
| 160 "env": { |
| 161 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json" |
| 162 }, |
| 163 "name": "start cloudtail", |
| 164 "stdout": "/path/to/tmp/" |
| 165 }, |
| 166 { |
| 167 "cmd": [ |
| 168 "python", |
| 169 "-u", |
| 170 "\nimport multiprocessing\nimport sys\n\njob_limit = 200\nif sys.platform.
startswith('linux'):\n # Use 80 for linux not to load goma backend.\n job_limi
t = 80\n\ntry:\n jobs = min(job_limit, multiprocessing.cpu_count() * 10)\nexcep
t NotImplementedError:\n jobs = 50\n\nprint jobs\n" |
| 171 ], |
| 172 "name": "calculate the number of recommended jobs", |
| 173 "stdout": "/path/to/tmp/", |
| 174 "~followup_annotations": [ |
| 175 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 176 "@@@STEP_LOG_LINE@python.inline@import multiprocessing@@@", |
| 177 "@@@STEP_LOG_LINE@python.inline@import sys@@@", |
| 178 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 179 "@@@STEP_LOG_LINE@python.inline@job_limit = 200@@@", |
| 180 "@@@STEP_LOG_LINE@python.inline@if sys.platform.startswith('linux'):@@@", |
| 181 "@@@STEP_LOG_LINE@python.inline@ # Use 80 for linux not to load goma back
end.@@@", |
| 182 "@@@STEP_LOG_LINE@python.inline@ job_limit = 80@@@", |
| 183 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 184 "@@@STEP_LOG_LINE@python.inline@try:@@@", |
| 185 "@@@STEP_LOG_LINE@python.inline@ jobs = min(job_limit, multiprocessing.cp
u_count() * 10)@@@", |
| 186 "@@@STEP_LOG_LINE@python.inline@except NotImplementedError:@@@", |
| 187 "@@@STEP_LOG_LINE@python.inline@ jobs = 50@@@", |
| 188 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 189 "@@@STEP_LOG_LINE@python.inline@print jobs@@@", |
| 190 "@@@STEP_LOG_END@python.inline@@@" |
| 191 ] |
| 192 }, |
| 193 { |
82 "cmd": [ | 194 "cmd": [ |
83 "ninja", | 195 "ninja", |
84 "-C", | 196 "-C", |
85 "[SLAVE_BUILD]/pdfium/out/Debug" | 197 "[SLAVE_BUILD]/pdfium/out/Debug", |
| 198 "-j", |
| 199 "50" |
86 ], | 200 ], |
87 "name": "compile with ninja" | 201 "name": "compile with ninja" |
88 }, | 202 }, |
89 { | 203 { |
90 "cmd": [ | 204 "cmd": [ |
| 205 "python", |
| 206 "-u", |
| 207 "[CACHE]/cipd/goma/goma_ctl.py", |
| 208 "jsonstatus", |
| 209 "[CACHE]/cipd/goma/jsonstatus" |
| 210 ], |
| 211 "env": { |
| 212 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json" |
| 213 }, |
| 214 "name": "goma_jsonstatus" |
| 215 }, |
| 216 { |
| 217 "cmd": [ |
| 218 "python", |
| 219 "-u", |
| 220 "[CACHE]/cipd/goma/goma_ctl.py", |
| 221 "stat" |
| 222 ], |
| 223 "env": { |
| 224 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json" |
| 225 }, |
| 226 "name": "goma_stat" |
| 227 }, |
| 228 { |
| 229 "cmd": [ |
| 230 "python", |
| 231 "-u", |
| 232 "[CACHE]/cipd/goma/goma_ctl.py", |
| 233 "stop" |
| 234 ], |
| 235 "env": { |
| 236 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json" |
| 237 }, |
| 238 "name": "stop_goma" |
| 239 }, |
| 240 { |
| 241 "cmd": [ |
| 242 "python", |
| 243 "-u", |
| 244 "RECIPE_PACKAGE_REPO[build]/scripts/slave/upload_goma_logs.py", |
| 245 "--upload-compiler-proxy-info", |
| 246 "--json-status", |
| 247 "[CACHE]/cipd/goma/jsonstatus", |
| 248 "--ninja-log-outdir", |
| 249 "[SLAVE_BUILD]/pdfium/out/Debug", |
| 250 "--ninja-log-compiler", |
| 251 "unknown", |
| 252 "--ninja-log-command", |
| 253 "['ninja', '-C', Path('checkout', 'out','Debug'), '-j', 50]", |
| 254 "--ninja-log-exit-status", |
| 255 "0", |
| 256 "--buildbot-buildername", |
| 257 "linux_xfa_asan", |
| 258 "--buildbot-mastername", |
| 259 "tryserver.client.pdfium", |
| 260 "--buildbot-slavename", |
| 261 "TestSlavename" |
| 262 ], |
| 263 "env": { |
| 264 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json" |
| 265 }, |
| 266 "name": "upload_log" |
| 267 }, |
| 268 { |
| 269 "cmd": [ |
| 270 "python", |
| 271 "-u", |
| 272 "RECIPE_MODULE[build::goma]/resources/cloudtail_utils.py", |
| 273 "stop", |
| 274 "--killed-pid", |
| 275 "12345" |
| 276 ], |
| 277 "name": "stop cloudtail" |
| 278 }, |
| 279 { |
| 280 "cmd": [ |
91 "[SLAVE_BUILD]/pdfium/out/Debug/pdfium_unittests" | 281 "[SLAVE_BUILD]/pdfium/out/Debug/pdfium_unittests" |
92 ], | 282 ], |
93 "cwd": "[SLAVE_BUILD]/pdfium", | 283 "cwd": "[SLAVE_BUILD]/pdfium", |
94 "env": { | 284 "env": { |
95 "ASAN_OPTIONS": "detect_leaks=0:allocator_may_return_null=1" | 285 "ASAN_OPTIONS": "detect_leaks=0:allocator_may_return_null=1" |
96 }, | 286 }, |
97 "name": "unittests" | 287 "name": "unittests" |
98 }, | 288 }, |
99 { | 289 { |
100 "cmd": [ | 290 "cmd": [ |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
146 "env": { | 336 "env": { |
147 "ASAN_OPTIONS": "detect_leaks=0:allocator_may_return_null=1" | 337 "ASAN_OPTIONS": "detect_leaks=0:allocator_may_return_null=1" |
148 }, | 338 }, |
149 "name": "corpus tests" | 339 "name": "corpus tests" |
150 }, | 340 }, |
151 { | 341 { |
152 "name": "$result", | 342 "name": "$result", |
153 "recipe_result": null, | 343 "recipe_result": null, |
154 "status_code": 0 | 344 "status_code": 0 |
155 } | 345 } |
156 ] | 346 ] |
OLD | NEW |