| 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 175 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 186 "@@@STEP_LOG_LINE@json.output@ }@@@", | 186 "@@@STEP_LOG_LINE@json.output@ }@@@", |
| 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_END@json.output@@@" | 189 "@@@STEP_LOG_END@json.output@@@" |
| 190 ] | 190 ] |
| 191 }, | 191 }, |
| 192 { | 192 { |
| 193 "cmd": [ | 193 "cmd": [ |
| 194 "python", | 194 "python", |
| 195 "-u", | 195 "-u", |
| 196 "\nimport multiprocessing\nprint min(200, multiprocessing.cpu_count() * 10
)\n" |
| 197 ], |
| 198 "name": "ensure_goma.get the number of cpus", |
| 199 "stdout": "/path/to/tmp/", |
| 200 "~followup_annotations": [ |
| 201 "@@@STEP_NEST_LEVEL@1@@@", |
| 202 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 203 "@@@STEP_LOG_LINE@python.inline@import multiprocessing@@@", |
| 204 "@@@STEP_LOG_LINE@python.inline@print min(200, multiprocessing.cpu_count()
* 10)@@@", |
| 205 "@@@STEP_LOG_END@python.inline@@@" |
| 206 ] |
| 207 }, |
| 208 { |
| 209 "cmd": [ |
| 210 "python", |
| 211 "-u", |
| 196 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", | 212 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", |
| 197 "runhooks" | 213 "runhooks" |
| 198 ], | 214 ], |
| 199 "cwd": "[BUILDER_CACHE]/Linux_ChromiumOS_Builder/src", | 215 "cwd": "[BUILDER_CACHE]/Linux_ChromiumOS_Builder/src", |
| 200 "env": { | 216 "env": { |
| 201 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | 217 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
| 202 "GYP_CHROMIUM_NO_ACTION": "1", | 218 "GYP_CHROMIUM_NO_ACTION": "1", |
| 203 "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", | 219 "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", |
| 204 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" | 220 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" |
| 205 }, | 221 }, |
| (...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 345 "{\"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\"}
" | 361 "{\"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\"}
" |
| 346 ], | 362 ], |
| 347 "name": "package build" | 363 "name": "package build" |
| 348 }, | 364 }, |
| 349 { | 365 { |
| 350 "name": "$result", | 366 "name": "$result", |
| 351 "recipe_result": null, | 367 "recipe_result": null, |
| 352 "status_code": 0 | 368 "status_code": 0 |
| 353 } | 369 } |
| 354 ] | 370 ] |
| OLD | NEW |