| OLD | NEW |
| 1 [ | 1 [ |
| 2 { | 2 { |
| 3 "cmd": [ | 3 "cmd": [ |
| 4 "python", | 4 "python", |
| 5 "-u", | 5 "-u", |
| 6 "\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", | 6 "\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", |
| 7 "[BUILDER_CACHE]/Linux_ChromiumOS_Builder", | 7 "[BUILDER_CACHE]/Linux_ChromiumOS_Builder", |
| 8 "511" | 8 "511" |
| 9 ], | 9 ], |
| 10 "name": "makedirs checkout path", | 10 "name": "makedirs checkout path", |
| (...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 187 "@@@STEP_LOG_LINE@json.output@ }@@@", | 187 "@@@STEP_LOG_LINE@json.output@ }@@@", |
| 188 "@@@STEP_LOG_LINE@json.output@ ]@@@", | 188 "@@@STEP_LOG_LINE@json.output@ ]@@@", |
| 189 "@@@STEP_LOG_LINE@json.output@}@@@", | 189 "@@@STEP_LOG_LINE@json.output@}@@@", |
| 190 "@@@STEP_LOG_END@json.output@@@" | 190 "@@@STEP_LOG_END@json.output@@@" |
| 191 ] | 191 ] |
| 192 }, | 192 }, |
| 193 { | 193 { |
| 194 "cmd": [ | 194 "cmd": [ |
| 195 "python", | 195 "python", |
| 196 "-u", | 196 "-u", |
| 197 "\nimport multiprocessing\n\ntry:\n jobs = min(200, multiprocessing.cpu_c
ount() * 10)\nexcept NotImplementedError:\n jobs = 50\n\nprint jobs\n" |
| 198 ], |
| 199 "name": "ensure_goma.get the number of cpus", |
| 200 "stdout": "/path/to/tmp/", |
| 201 "~followup_annotations": [ |
| 202 "@@@STEP_NEST_LEVEL@1@@@", |
| 203 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 204 "@@@STEP_LOG_LINE@python.inline@import multiprocessing@@@", |
| 205 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 206 "@@@STEP_LOG_LINE@python.inline@try:@@@", |
| 207 "@@@STEP_LOG_LINE@python.inline@ jobs = min(200, multiprocessing.cpu_coun
t() * 10)@@@", |
| 208 "@@@STEP_LOG_LINE@python.inline@except NotImplementedError:@@@", |
| 209 "@@@STEP_LOG_LINE@python.inline@ jobs = 50@@@", |
| 210 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 211 "@@@STEP_LOG_LINE@python.inline@print jobs@@@", |
| 212 "@@@STEP_LOG_END@python.inline@@@" |
| 213 ] |
| 214 }, |
| 215 { |
| 216 "cmd": [ |
| 217 "python", |
| 218 "-u", |
| 197 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", | 219 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", |
| 198 "runhooks" | 220 "runhooks" |
| 199 ], | 221 ], |
| 200 "cwd": "[BUILDER_CACHE]/Linux_ChromiumOS_Builder/src", | 222 "cwd": "[BUILDER_CACHE]/Linux_ChromiumOS_Builder/src", |
| 201 "env": { | 223 "env": { |
| 202 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | 224 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
| 203 "GYP_CHROMIUM_NO_ACTION": "1", | 225 "GYP_CHROMIUM_NO_ACTION": "1", |
| 204 "GYP_DEFINES": "archive_gpu_tests=1 chromeos=1 component=static_library ff
mpeg_branding=ChromeOS gomadir='[CACHE]/cipd/goma' internal_gles2_conform_tests=
1 proprietary_codecs=1 target_arch=x64 test_isolation_mode=prepare use_goma=1", | 226 "GYP_DEFINES": "archive_gpu_tests=1 chromeos=1 component=static_library ff
mpeg_branding=ChromeOS gomadir='[CACHE]/cipd/goma' internal_gles2_conform_tests=
1 proprietary_codecs=1 target_arch=x64 test_isolation_mode=prepare use_goma=1", |
| 205 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" | 227 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" |
| 206 }, | 228 }, |
| (...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 346 "{\"blamelist\": [\"cool_dev1337@chromium.org\", \"hax@chromium.org\"], \"
build_data_dir\": \"[ROOT]/build_data_dir\", \"buildername\": \"Linux ChromiumOS
Builder\", \"buildnumber\": 571, \"mastername\": \"chromium.gpu.fyi\", \"parent
_buildername\": null, \"path_config\": \"kitchen\", \"recipe\": \"chromium\", \"
slavename\": \"TestSlavename\", \"workdir\": \"/path/to/workdir/TestSlavename\"}
" | 368 "{\"blamelist\": [\"cool_dev1337@chromium.org\", \"hax@chromium.org\"], \"
build_data_dir\": \"[ROOT]/build_data_dir\", \"buildername\": \"Linux ChromiumOS
Builder\", \"buildnumber\": 571, \"mastername\": \"chromium.gpu.fyi\", \"parent
_buildername\": null, \"path_config\": \"kitchen\", \"recipe\": \"chromium\", \"
slavename\": \"TestSlavename\", \"workdir\": \"/path/to/workdir/TestSlavename\"}
" |
| 347 ], | 369 ], |
| 348 "name": "package build" | 370 "name": "package build" |
| 349 }, | 371 }, |
| 350 { | 372 { |
| 351 "name": "$result", | 373 "name": "$result", |
| 352 "recipe_result": null, | 374 "recipe_result": null, |
| 353 "status_code": 0 | 375 "status_code": 0 |
| 354 } | 376 } |
| 355 ] | 377 ] |
| OLD | NEW |