| OLD | NEW |
| 1 [ | 1 [ |
| 2 { | 2 { |
| 3 "cmd": [ | 3 "cmd": [ |
| 4 "python", | 4 "python", |
| 5 "-u", | 5 "-u", |
| 6 "\nimport os, sys\n\nbuild_path = sys.argv[1]\nif os.path.exists(build_pat
h):\n for (path, dir, files) in os.walk(build_path):\n for cur_file in files
:\n if cur_file.endswith('index.lock'):\n path_to_file = os.path.joi
n(path, cur_file)\n print 'deleting %s' % path_to_file\n os.remove
(path_to_file)\n", | 6 "\nimport os, sys\n\nbuild_path = sys.argv[1]\nif os.path.exists(build_pat
h):\n for (path, dir, files) in os.walk(build_path):\n for cur_file in files
:\n if cur_file.endswith('index.lock'):\n path_to_file = os.path.joi
n(path, cur_file)\n print 'deleting %s' % path_to_file\n os.remove
(path_to_file)\n", |
| 7 "[SLAVE_BUILD]" | 7 "[CWD]" |
| 8 ], | 8 ], |
| 9 "cwd": "[SLAVE_BUILD]", | |
| 10 "name": "cleanup index.lock", | 9 "name": "cleanup index.lock", |
| 11 "~followup_annotations": [ | 10 "~followup_annotations": [ |
| 12 "@@@STEP_LOG_LINE@python.inline@@@@", | 11 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 13 "@@@STEP_LOG_LINE@python.inline@import os, sys@@@", | 12 "@@@STEP_LOG_LINE@python.inline@import os, sys@@@", |
| 14 "@@@STEP_LOG_LINE@python.inline@@@@", | 13 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 15 "@@@STEP_LOG_LINE@python.inline@build_path = sys.argv[1]@@@", | 14 "@@@STEP_LOG_LINE@python.inline@build_path = sys.argv[1]@@@", |
| 16 "@@@STEP_LOG_LINE@python.inline@if os.path.exists(build_path):@@@", | 15 "@@@STEP_LOG_LINE@python.inline@if os.path.exists(build_path):@@@", |
| 17 "@@@STEP_LOG_LINE@python.inline@ for (path, dir, files) in os.walk(build_
path):@@@", | 16 "@@@STEP_LOG_LINE@python.inline@ for (path, dir, files) in os.walk(build_
path):@@@", |
| 18 "@@@STEP_LOG_LINE@python.inline@ for cur_file in files:@@@", | 17 "@@@STEP_LOG_LINE@python.inline@ for cur_file in files:@@@", |
| 19 "@@@STEP_LOG_LINE@python.inline@ if cur_file.endswith('index.lock'):@
@@", | 18 "@@@STEP_LOG_LINE@python.inline@ if cur_file.endswith('index.lock'):@
@@", |
| 20 "@@@STEP_LOG_LINE@python.inline@ path_to_file = os.path.join(path,
cur_file)@@@", | 19 "@@@STEP_LOG_LINE@python.inline@ path_to_file = os.path.join(path,
cur_file)@@@", |
| 21 "@@@STEP_LOG_LINE@python.inline@ print 'deleting %s' % path_to_file
@@@", | 20 "@@@STEP_LOG_LINE@python.inline@ print 'deleting %s' % path_to_file
@@@", |
| 22 "@@@STEP_LOG_LINE@python.inline@ os.remove(path_to_file)@@@", | 21 "@@@STEP_LOG_LINE@python.inline@ os.remove(path_to_file)@@@", |
| 23 "@@@STEP_LOG_END@python.inline@@@" | 22 "@@@STEP_LOG_END@python.inline@@@" |
| 24 ] | 23 ] |
| 25 }, | 24 }, |
| 26 { | 25 { |
| 27 "cmd": [ | 26 "cmd": [ |
| 28 "python", | 27 "python", |
| 29 "-u", | 28 "-u", |
| 30 "RECIPE_MODULE[depot_tools::bot_update]/resources/bot_update.py", | 29 "RECIPE_MODULE[depot_tools::bot_update]/resources/bot_update.py", |
| 31 "--master", | 30 "--master", |
| 32 "chromium.testing.master", | 31 "chromium.testing.master", |
| 33 "--builder", | 32 "--builder", |
| 34 "Android Cronet Builder (dbg)", | 33 "Android Cronet Builder (dbg)", |
| 35 "--slave", | 34 "--slave", |
| 36 "TestSlavename", | 35 "TestSlavename", |
| 37 "--spec", | 36 "--spec", |
| 38 "cache_dir = '[GIT_CACHE]'\nsolutions = [{'deps_file': '.DEPS.git', 'manag
ed': True, 'name': 'src', 'url': 'https://chromium.googlesource.com/chromium/src
'}]\ntarget_os = ['android']", | 37 "cache_dir = '[ROOT]/b/build/slave/cache_dir'\nsolutions = [{'deps_file':
'.DEPS.git', 'managed': True, 'name': 'src', 'url': 'https://chromium.googlesour
ce.com/chromium/src'}]\ntarget_os = ['android']", |
| 39 "--root", | 38 "--root", |
| 40 "src", | 39 "src", |
| 41 "--revision_mapping_file", | 40 "--revision_mapping_file", |
| 42 "{\"src\": \"got_src_revision\", \"src/native_client\": \"got_nacl_revisio
n\", \"src/third_party/angle\": \"got_angle_revision\", \"src/third_party/webrtc
\": \"got_webrtc_revision\", \"src/tools/swarming_client\": \"got_swarming_clien
t_revision\", \"src/v8\": \"got_v8_revision\"}", | 41 "{\"src\": \"got_src_revision\", \"src/native_client\": \"got_nacl_revisio
n\", \"src/third_party/angle\": \"got_angle_revision\", \"src/third_party/webrtc
\": \"got_webrtc_revision\", \"src/tools/swarming_client\": \"got_swarming_clien
t_revision\", \"src/v8\": \"got_v8_revision\"}", |
| 43 "--git-cache-dir", | 42 "--git-cache-dir", |
| 44 "[GIT_CACHE]", | 43 "[ROOT]/b/build/slave/cache_dir", |
| 45 "--output_json", | 44 "--output_json", |
| 46 "/path/to/tmp/json", | 45 "/path/to/tmp/json", |
| 47 "--revision", | 46 "--revision", |
| 48 "src@4f4b02f6b7fa20a3a25682c457bbc8ad589c8a00", | 47 "src@4f4b02f6b7fa20a3a25682c457bbc8ad589c8a00", |
| 49 "--force", | 48 "--force", |
| 50 "--output_manifest" | 49 "--output_manifest" |
| 51 ], | 50 ], |
| 52 "cwd": "[SLAVE_BUILD]", | |
| 53 "env": { | 51 "env": { |
| 54 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" | 52 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" |
| 55 }, | 53 }, |
| 56 "name": "bot_update", | 54 "name": "bot_update", |
| 57 "~followup_annotations": [ | 55 "~followup_annotations": [ |
| 58 "@@@STEP_TEXT@Some step text@@@", | 56 "@@@STEP_TEXT@Some step text@@@", |
| 59 "@@@STEP_LOG_LINE@json.output@{@@@", | 57 "@@@STEP_LOG_LINE@json.output@{@@@", |
| 60 "@@@STEP_LOG_LINE@json.output@ \"did_run\": true, @@@", | 58 "@@@STEP_LOG_LINE@json.output@ \"did_run\": true, @@@", |
| 61 "@@@STEP_LOG_LINE@json.output@ \"fixed_revisions\": {@@@", | 59 "@@@STEP_LOG_LINE@json.output@ \"fixed_revisions\": {@@@", |
| 62 "@@@STEP_LOG_LINE@json.output@ \"src\": \"4f4b02f6b7fa20a3a25682c457bbc
8ad589c8a00\"@@@", | 60 "@@@STEP_LOG_LINE@json.output@ \"src\": \"4f4b02f6b7fa20a3a25682c457bbc
8ad589c8a00\"@@@", |
| (...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 119 "@@@SET_BUILD_PROPERTY@got_webrtc_revision_cp@\"refs/heads/master@{#120644
}\"@@@", | 117 "@@@SET_BUILD_PROPERTY@got_webrtc_revision_cp@\"refs/heads/master@{#120644
}\"@@@", |
| 120 "@@@SET_BUILD_PROPERTY@got_src_revision_cp@\"refs/heads/master@{#170242}\"
@@@", | 118 "@@@SET_BUILD_PROPERTY@got_src_revision_cp@\"refs/heads/master@{#170242}\"
@@@", |
| 121 "@@@SET_BUILD_PROPERTY@got_angle_revision_cp@\"refs/heads/master@{#297276}
\"@@@" | 119 "@@@SET_BUILD_PROPERTY@got_angle_revision_cp@\"refs/heads/master@{#297276}
\"@@@" |
| 122 ] | 120 ] |
| 123 }, | 121 }, |
| 124 { | 122 { |
| 125 "cmd": [ | 123 "cmd": [ |
| 126 "python", | 124 "python", |
| 127 "-u", | 125 "-u", |
| 128 "\nimport shutil, sys, os\nshutil.rmtree(sys.argv[1], True)\nshutil.rmtree
(sys.argv[2], True)\ntry:\n os.remove(sys.argv[3])\nexcept OSError:\n pass\nfo
r base, _dirs, files in os.walk(sys.argv[4]):\n for f in files:\n if f.endsw
ith('.pyc'):\n os.remove(os.path.join(base, f))\n", | 126 "\nimport shutil, sys, os\nshutil.rmtree(sys.argv[1], True)\nshutil.rmtree
(sys.argv[2], True)\ntry:\n os.remove(sys.argv[3])\nexcept OSError:\n pass\nfo
r base, _dirs, files in os.walk(sys.argv[4]):\n for f in files:\n if f.endsw
ith('.pyc'):\n os.remove(os.path.join(base, f))\n", |
| 129 "[SLAVE_BUILD]/src/out/Debug/debug_info_dumps", | 127 "[CWD]/src/out/Debug/debug_info_dumps", |
| 130 "[SLAVE_BUILD]/src/out/Debug/test_logs", | 128 "[CWD]/src/out/Debug/test_logs", |
| 131 "[SLAVE_BUILD]/src/out/build_product.zip", | 129 "[CWD]/src/out/build_product.zip", |
| 132 "[SLAVE_BUILD]/src" | 130 "[CWD]/src" |
| 133 ], | 131 ], |
| 134 "cwd": "[SLAVE_BUILD]", | |
| 135 "name": "clean local files", | 132 "name": "clean local files", |
| 136 "~followup_annotations": [ | 133 "~followup_annotations": [ |
| 137 "@@@STEP_LOG_LINE@python.inline@@@@", | 134 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 138 "@@@STEP_LOG_LINE@python.inline@import shutil, sys, os@@@", | 135 "@@@STEP_LOG_LINE@python.inline@import shutil, sys, os@@@", |
| 139 "@@@STEP_LOG_LINE@python.inline@shutil.rmtree(sys.argv[1], True)@@@", | 136 "@@@STEP_LOG_LINE@python.inline@shutil.rmtree(sys.argv[1], True)@@@", |
| 140 "@@@STEP_LOG_LINE@python.inline@shutil.rmtree(sys.argv[2], True)@@@", | 137 "@@@STEP_LOG_LINE@python.inline@shutil.rmtree(sys.argv[2], True)@@@", |
| 141 "@@@STEP_LOG_LINE@python.inline@try:@@@", | 138 "@@@STEP_LOG_LINE@python.inline@try:@@@", |
| 142 "@@@STEP_LOG_LINE@python.inline@ os.remove(sys.argv[3])@@@", | 139 "@@@STEP_LOG_LINE@python.inline@ os.remove(sys.argv[3])@@@", |
| 143 "@@@STEP_LOG_LINE@python.inline@except OSError:@@@", | 140 "@@@STEP_LOG_LINE@python.inline@except OSError:@@@", |
| 144 "@@@STEP_LOG_LINE@python.inline@ pass@@@", | 141 "@@@STEP_LOG_LINE@python.inline@ pass@@@", |
| 145 "@@@STEP_LOG_LINE@python.inline@for base, _dirs, files in os.walk(sys.argv
[4]):@@@", | 142 "@@@STEP_LOG_LINE@python.inline@for base, _dirs, files in os.walk(sys.argv
[4]):@@@", |
| 146 "@@@STEP_LOG_LINE@python.inline@ for f in files:@@@", | 143 "@@@STEP_LOG_LINE@python.inline@ for f in files:@@@", |
| 147 "@@@STEP_LOG_LINE@python.inline@ if f.endswith('.pyc'):@@@", | 144 "@@@STEP_LOG_LINE@python.inline@ if f.endswith('.pyc'):@@@", |
| 148 "@@@STEP_LOG_LINE@python.inline@ os.remove(os.path.join(base, f))@@@"
, | 145 "@@@STEP_LOG_LINE@python.inline@ os.remove(os.path.join(base, f))@@@"
, |
| 149 "@@@STEP_LOG_END@python.inline@@@" | 146 "@@@STEP_LOG_END@python.inline@@@" |
| 150 ] | 147 ] |
| 151 }, | 148 }, |
| 152 { | 149 { |
| 153 "cmd": [ | 150 "cmd": [ |
| 154 "python", | 151 "python", |
| 155 "-u", | 152 "-u", |
| 156 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", | 153 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", |
| 157 "runhooks" | 154 "runhooks" |
| 158 ], | 155 ], |
| 159 "cwd": "[SLAVE_BUILD]", | |
| 160 "env": { | 156 "env": { |
| 161 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | 157 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
| 162 "GYP_CHROMIUM_NO_ACTION": "1", | 158 "GYP_CHROMIUM_NO_ACTION": "1", |
| 163 "GYP_CROSSCOMPILE": "1", | 159 "GYP_CROSSCOMPILE": "1", |
| 164 "GYP_DEFINES": "OS=android component=static_library disable_brotli_filter=
1 disable_file_support=1 disable_ftp_support=1 enable_bidirectional_stream=1 ena
ble_websockets=0 fastbuild=1 gomadir='[BUILD]/goma' target_arch=arm use_goma=1 u
se_platform_icu_alternatives=1", | 160 "GYP_DEFINES": "OS=android component=static_library disable_brotli_filter=
1 disable_file_support=1 disable_ftp_support=1 enable_bidirectional_stream=1 ena
ble_websockets=0 fastbuild=1 gomadir='[ROOT]/b/build/goma' target_arch=arm use_g
oma=1 use_platform_icu_alternatives=1", |
| 165 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" | 161 "PATH": "[CWD]/src/third_party/android_tools/sdk/platform-tools:[CWD]/src/
build/android:%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" |
| 166 }, | 162 }, |
| 167 "name": "gclient runhooks" | 163 "name": "gclient runhooks" |
| 168 }, | 164 }, |
| 169 { | 165 { |
| 170 "cmd": [ | 166 "cmd": [ |
| 171 "python", | 167 "python", |
| 172 "-u", | 168 "-u", |
| 173 "[SLAVE_BUILD]/src/tools/mb/mb.py", | 169 "[CWD]/src/tools/mb/mb.py", |
| 174 "gen", | 170 "gen", |
| 175 "-m", | 171 "-m", |
| 176 "chromium.testing.master", | 172 "chromium.testing.master", |
| 177 "-b", | 173 "-b", |
| 178 "Android Cronet Builder (dbg)", | 174 "Android Cronet Builder (dbg)", |
| 179 "--config-file", | 175 "--config-file", |
| 180 "[SLAVE_BUILD]/src/tools/mb/mb_config.pyl", | 176 "[CWD]/src/tools/mb/mb_config.pyl", |
| 181 "--goma-dir", | 177 "--goma-dir", |
| 182 "[BUILD]/goma", | 178 "[ROOT]/b/build/goma", |
| 183 "//out/Debug" | 179 "//out/Debug" |
| 184 ], | 180 ], |
| 185 "cwd": "[SLAVE_BUILD]", | |
| 186 "name": "generate_build_files" | 181 "name": "generate_build_files" |
| 187 }, | 182 }, |
| 188 { | 183 { |
| 189 "cmd": [ | 184 "cmd": [ |
| 190 "python", | 185 "python", |
| 191 "-u", | 186 "-u", |
| 192 "RECIPE_PACKAGE_REPO[build]/scripts/tools/runit.py", | 187 "RECIPE_PACKAGE_REPO[build]/scripts/tools/runit.py", |
| 193 "--show-path", | 188 "--show-path", |
| 194 "python", | 189 "python", |
| 195 "RECIPE_PACKAGE_REPO[build]/scripts/slave/compile.py", | 190 "RECIPE_PACKAGE_REPO[build]/scripts/slave/compile.py", |
| 196 "--gsutil-py-path", | 191 "--gsutil-py-path", |
| 197 "RECIPE_PACKAGE_REPO[depot_tools]/gsutil.py", | 192 "RECIPE_PACKAGE_REPO[depot_tools]/gsutil.py", |
| 198 "--ninja-path", | 193 "--ninja-path", |
| 199 "RECIPE_PACKAGE_REPO[depot_tools]/ninja", | 194 "RECIPE_PACKAGE_REPO[depot_tools]/ninja", |
| 200 "--target", | 195 "--target", |
| 201 "Debug", | 196 "Debug", |
| 202 "--src-dir", | 197 "--src-dir", |
| 203 "[SLAVE_BUILD]/src", | 198 "[CWD]/src", |
| 204 "--goma-cache-dir", | 199 "--goma-cache-dir", |
| 205 "[GOMA_CACHE]", | 200 "[ROOT]/b/build/slave/goma_cache", |
| 206 "--build-tool", | 201 "--build-tool", |
| 207 "ninja", | 202 "ninja", |
| 208 "--compiler", | 203 "--compiler", |
| 209 "goma", | 204 "goma", |
| 210 "--goma-jsonstatus", | 205 "--goma-jsonstatus", |
| 211 "/path/to/tmp/json", | 206 "/path/to/tmp/json", |
| 212 "--goma-service-account-json-file", | 207 "--goma-service-account-json-file", |
| 213 "/creds/service_accounts/service-account-goma-client.json", | 208 "/creds/service_accounts/service-account-goma-client.json", |
| 214 "--goma-dir", | 209 "--goma-dir", |
| 215 "[BUILD]/goma", | 210 "[ROOT]/b/build/goma", |
| 216 "--clobber", | 211 "--clobber", |
| 217 "--", | 212 "--", |
| 218 "cronet_package", | 213 "cronet_package", |
| 219 "cronet_sample_test_apk", | 214 "cronet_sample_test_apk", |
| 220 "cronet_test_instrumentation_apk", | 215 "cronet_test_instrumentation_apk", |
| 221 "cronet_unittests", | 216 "cronet_unittests", |
| 222 "cronet_unittests_apk", | 217 "cronet_unittests_apk", |
| 223 "net_unittests", | 218 "net_unittests", |
| 224 "net_unittests_apk" | 219 "net_unittests_apk" |
| 225 ], | 220 ], |
| 226 "cwd": "[SLAVE_BUILD]", | |
| 227 "env": { | 221 "env": { |
| 228 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | 222 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
| 229 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | 223 "PATH": "[CWD]/src/third_party/android_tools/sdk/platform-tools:[CWD]/src/
build/android:%(PATH)s" |
| 230 }, | 224 }, |
| 231 "name": "compile", | 225 "name": "compile", |
| 232 "~followup_annotations": [ | 226 "~followup_annotations": [ |
| 233 "@@@STEP_LOG_LINE@json.output (invalid)@null@@@", | 227 "@@@STEP_LOG_LINE@json.output (invalid)@null@@@", |
| 234 "@@@STEP_LOG_END@json.output (invalid)@@@" | 228 "@@@STEP_LOG_END@json.output (invalid)@@@" |
| 235 ] | 229 ] |
| 236 }, | 230 }, |
| 237 { | 231 { |
| 238 "allow_subannotations": true, | 232 "allow_subannotations": true, |
| 239 "cmd": [ | 233 "cmd": [ |
| (...skipping 15 matching lines...) Expand all Loading... |
| 255 "--annotate=graphing", | 249 "--annotate=graphing", |
| 256 "--results-url=https://chromeperf.appspot.com", | 250 "--results-url=https://chromeperf.appspot.com", |
| 257 "--perf-dashboard-id=sizes", | 251 "--perf-dashboard-id=sizes", |
| 258 "--perf-id=android_cronet_builder_dbg", | 252 "--perf-id=android_cronet_builder_dbg", |
| 259 "RECIPE_PACKAGE_REPO[build]/scripts/slave/chromium/sizes.py", | 253 "RECIPE_PACKAGE_REPO[build]/scripts/slave/chromium/sizes.py", |
| 260 "--target", | 254 "--target", |
| 261 "Debug", | 255 "Debug", |
| 262 "--platform", | 256 "--platform", |
| 263 "android-cronet" | 257 "android-cronet" |
| 264 ], | 258 ], |
| 265 "cwd": "[SLAVE_BUILD]", | |
| 266 "name": "sizes" | 259 "name": "sizes" |
| 267 }, | 260 }, |
| 268 { | 261 { |
| 269 "cmd": [ | 262 "cmd": [ |
| 270 "python", | 263 "python", |
| 271 "-u", | 264 "-u", |
| 272 "[SLAVE_BUILD]/src/build/symlink.py", | 265 "[CWD]/src/build/symlink.py", |
| 273 "-f", | 266 "-f", |
| 274 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb", | 267 "[CWD]/src/third_party/android_tools/sdk/platform-tools/adb", |
| 275 "~/adb" | 268 "~/adb" |
| 276 ], | 269 ], |
| 277 "cwd": "[SLAVE_BUILD]", | |
| 278 "name": "create adb symlink" | 270 "name": "create adb symlink" |
| 279 }, | 271 }, |
| 280 { | 272 { |
| 281 "cmd": [ | 273 "cmd": [ |
| 282 "RECIPE_PACKAGE_REPO[build]/scripts/slave/daemonizer.py", | 274 "RECIPE_PACKAGE_REPO[build]/scripts/slave/daemonizer.py", |
| 283 "--", | 275 "--", |
| 284 "[SLAVE_BUILD]/src/build/android/adb_logcat_monitor.py", | 276 "[CWD]/src/build/android/adb_logcat_monitor.py", |
| 285 "[SLAVE_BUILD]/src/out/logcat" | 277 "[CWD]/src/out/logcat" |
| 286 ], | 278 ], |
| 287 "cwd": "[SLAVE_BUILD]", | |
| 288 "env": { | 279 "env": { |
| 289 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | 280 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
| 290 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | 281 "PATH": "[CWD]/src/third_party/android_tools/sdk/platform-tools:[CWD]/src/
build/android:%(PATH)s" |
| 291 }, | 282 }, |
| 292 "name": "spawn_logcat_monitor" | 283 "name": "spawn_logcat_monitor" |
| 293 }, | 284 }, |
| 294 { | 285 { |
| 295 "cmd": [ | 286 "cmd": [ |
| 296 "python", | 287 "python", |
| 297 "-u", | 288 "-u", |
| 298 "RECIPE_PACKAGE_REPO[build]/scripts/slave/android/authorize_adb_devices.py
", | 289 "RECIPE_PACKAGE_REPO[build]/scripts/slave/android/authorize_adb_devices.py
", |
| 299 "--verbose", | 290 "--verbose", |
| 300 "--adb-path", | 291 "--adb-path", |
| 301 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb" | 292 "[CWD]/src/third_party/android_tools/sdk/platform-tools/adb" |
| 302 ], | 293 ], |
| 303 "cwd": "[SLAVE_BUILD]", | |
| 304 "env": { | 294 "env": { |
| 305 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | 295 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
| 306 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | 296 "PATH": "[CWD]/src/third_party/android_tools/sdk/platform-tools:[CWD]/src/
build/android:%(PATH)s" |
| 307 }, | 297 }, |
| 308 "name": "authorize_adb_devices" | 298 "name": "authorize_adb_devices" |
| 309 }, | 299 }, |
| 310 { | 300 { |
| 311 "cmd": [ | 301 "cmd": [ |
| 312 "[SLAVE_BUILD]/src/build/android/buildbot/bb_device_status_check.py", | 302 "[CWD]/src/build/android/buildbot/bb_device_status_check.py", |
| 313 "--json-output", | 303 "--json-output", |
| 314 "/path/to/tmp/json", | 304 "/path/to/tmp/json", |
| 315 "--blacklist-file", | 305 "--blacklist-file", |
| 316 "[SLAVE_BUILD]/src/out/bad_devices.json", | 306 "[CWD]/src/out/bad_devices.json", |
| 317 "--known-devices-file", | 307 "--known-devices-file", |
| 318 "[BUILD]/site_config/.known_devices" | 308 "[ROOT]/b/build/site_config/.known_devices" |
| 319 ], | 309 ], |
| 320 "cwd": "[SLAVE_BUILD]", | |
| 321 "env": { | 310 "env": { |
| 322 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | 311 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
| 323 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | 312 "PATH": "[CWD]/src/third_party/android_tools/sdk/platform-tools:[CWD]/src/
build/android:%(PATH)s" |
| 324 }, | 313 }, |
| 325 "name": "device_status_check", | 314 "name": "device_status_check", |
| 326 "~followup_annotations": [ | 315 "~followup_annotations": [ |
| 327 "@@@STEP_TEXT@Online devices: 1@@@", | 316 "@@@STEP_TEXT@Online devices: 1@@@", |
| 328 "@@@STEP_LOG_LINE@json.output@[@@@", | 317 "@@@STEP_LOG_LINE@json.output@[@@@", |
| 329 "@@@STEP_LOG_LINE@json.output@ {@@@", | 318 "@@@STEP_LOG_LINE@json.output@ {@@@", |
| 330 "@@@STEP_LOG_LINE@json.output@ \"adb_status\": \"device\", @@@", | 319 "@@@STEP_LOG_LINE@json.output@ \"adb_status\": \"device\", @@@", |
| 331 "@@@STEP_LOG_LINE@json.output@ \"battery\": {@@@", | 320 "@@@STEP_LOG_LINE@json.output@ \"battery\": {@@@", |
| 332 "@@@STEP_LOG_LINE@json.output@ \"AC powered\": \"false\", @@@", | 321 "@@@STEP_LOG_LINE@json.output@ \"AC powered\": \"false\", @@@", |
| 333 "@@@STEP_LOG_LINE@json.output@ \"USB powered\": \"true\", @@@", | 322 "@@@STEP_LOG_LINE@json.output@ \"USB powered\": \"true\", @@@", |
| (...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 415 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@ \"serial\": \"03e0363a00
3c6ad6\", @@@", | 404 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@ \"serial\": \"03e0363a00
3c6ad6\", @@@", |
| 416 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@ \"usb_status\": true@@@"
, | 405 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@ \"usb_status\": true@@@"
, |
| 417 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@}@@@", | 406 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@}@@@", |
| 418 "@@@STEP_LOG_END@03e0363a003c6ad6: blacklisted@@@" | 407 "@@@STEP_LOG_END@03e0363a003c6ad6: blacklisted@@@" |
| 419 ] | 408 ] |
| 420 }, | 409 }, |
| 421 { | 410 { |
| 422 "cmd": [ | 411 "cmd": [ |
| 423 "python", | 412 "python", |
| 424 "-u", | 413 "-u", |
| 425 "[SLAVE_BUILD]/src/build/android/provision_devices.py", | 414 "[CWD]/src/build/android/provision_devices.py", |
| 426 "-t", | 415 "-t", |
| 427 "Debug", | 416 "Debug", |
| 428 "--blacklist-file", | 417 "--blacklist-file", |
| 429 "[SLAVE_BUILD]/src/out/bad_devices.json", | 418 "[CWD]/src/out/bad_devices.json", |
| 430 "--output-device-blacklist", | 419 "--output-device-blacklist", |
| 431 "/path/to/tmp/json" | 420 "/path/to/tmp/json" |
| 432 ], | 421 ], |
| 433 "cwd": "[SLAVE_BUILD]", | |
| 434 "env": { | 422 "env": { |
| 435 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | 423 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
| 436 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | 424 "PATH": "[CWD]/src/third_party/android_tools/sdk/platform-tools:[CWD]/src/
build/android:%(PATH)s" |
| 437 }, | 425 }, |
| 438 "name": "provision_devices" | 426 "name": "provision_devices" |
| 439 }, | 427 }, |
| 440 { | 428 { |
| 441 "cmd": [ | 429 "cmd": [ |
| 442 "python", | 430 "python", |
| 443 "-u", | 431 "-u", |
| 444 "RECIPE_PACKAGE_REPO[build]/scripts/slave/daemonizer.py", | 432 "RECIPE_PACKAGE_REPO[build]/scripts/slave/daemonizer.py", |
| 445 "--action", | 433 "--action", |
| 446 "restart", | 434 "restart", |
| 447 "--pid-file-path", | 435 "--pid-file-path", |
| 448 "/tmp/device_monitor.pid", | 436 "/tmp/device_monitor.pid", |
| 449 "--", | 437 "--", |
| 450 "RECIPE_MODULE[build::chromium_android]/resources/spawn_device_monitor.py"
, | 438 "RECIPE_MODULE[build::chromium_android]/resources/spawn_device_monitor.py"
, |
| 451 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb", | 439 "[CWD]/src/third_party/android_tools/sdk/platform-tools/adb", |
| 452 "[\"07a00ca4\"]", | 440 "[\"07a00ca4\"]", |
| 453 "chromium.testing.master", | 441 "chromium.testing.master", |
| 454 "Android Cronet Builder (dbg)", | 442 "Android Cronet Builder (dbg)", |
| 455 "--blacklist-file", | 443 "--blacklist-file", |
| 456 "[SLAVE_BUILD]/src/out/bad_devices.json" | 444 "[CWD]/src/out/bad_devices.json" |
| 457 ], | 445 ], |
| 458 "cwd": "[SLAVE_BUILD]", | |
| 459 "name": "spawn_device_monitor" | 446 "name": "spawn_device_monitor" |
| 460 }, | 447 }, |
| 461 { | 448 { |
| 462 "cmd": [ | 449 "cmd": [ |
| 463 "python", | 450 "python", |
| 464 "-u", | 451 "-u", |
| 465 "[SLAVE_BUILD]/src/out/Debug/bin/run_cronet_unittests", | 452 "[CWD]/src/out/Debug/bin/run_cronet_unittests", |
| 466 "--blacklist-file", | 453 "--blacklist-file", |
| 467 "[SLAVE_BUILD]/src/out/bad_devices.json", | 454 "[CWD]/src/out/bad_devices.json", |
| 468 "--verbose", | 455 "--verbose", |
| 469 "-t", | 456 "-t", |
| 470 "180" | 457 "180" |
| 471 ], | 458 ], |
| 472 "cwd": "[SLAVE_BUILD]", | |
| 473 "env": { | 459 "env": { |
| 474 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | 460 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
| 475 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | 461 "PATH": "[CWD]/src/third_party/android_tools/sdk/platform-tools:[CWD]/src/
build/android:%(PATH)s" |
| 476 }, | 462 }, |
| 477 "name": "cronet_unittests" | 463 "name": "cronet_unittests" |
| 478 }, | 464 }, |
| 479 { | 465 { |
| 480 "cmd": [ | 466 "cmd": [ |
| 481 "python", | 467 "python", |
| 482 "-u", | 468 "-u", |
| 483 "[SLAVE_BUILD]/src/out/Debug/bin/run_net_unittests", | 469 "[CWD]/src/out/Debug/bin/run_net_unittests", |
| 484 "--blacklist-file", | 470 "--blacklist-file", |
| 485 "[SLAVE_BUILD]/src/out/bad_devices.json", | 471 "[CWD]/src/out/bad_devices.json", |
| 486 "--verbose", | 472 "--verbose", |
| 487 "-t", | 473 "-t", |
| 488 "180" | 474 "180" |
| 489 ], | 475 ], |
| 490 "cwd": "[SLAVE_BUILD]", | |
| 491 "env": { | 476 "env": { |
| 492 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | 477 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
| 493 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | 478 "PATH": "[CWD]/src/third_party/android_tools/sdk/platform-tools:[CWD]/src/
build/android:%(PATH)s" |
| 494 }, | 479 }, |
| 495 "name": "net_unittests" | 480 "name": "net_unittests" |
| 496 }, | 481 }, |
| 497 { | 482 { |
| 498 "cmd": [ | 483 "cmd": [ |
| 499 "python", | 484 "python", |
| 500 "-u", | 485 "-u", |
| 501 "[SLAVE_BUILD]/src/out/Debug/bin/run_cronet_sample_test_apk", | 486 "[CWD]/src/out/Debug/bin/run_cronet_sample_test_apk", |
| 502 "--blacklist-file", | 487 "--blacklist-file", |
| 503 "[SLAVE_BUILD]/src/out/bad_devices.json", | 488 "[CWD]/src/out/bad_devices.json", |
| 504 "--verbose", | 489 "--verbose", |
| 505 "--num-retries", | 490 "--num-retries", |
| 506 "0" | 491 "0" |
| 507 ], | 492 ], |
| 508 "cwd": "[SLAVE_BUILD]", | |
| 509 "name": "Instrumentation test cronet_sample_test_apk" | 493 "name": "Instrumentation test cronet_sample_test_apk" |
| 510 }, | 494 }, |
| 511 { | 495 { |
| 512 "cmd": [ | 496 "cmd": [ |
| 513 "python", | 497 "python", |
| 514 "-u", | 498 "-u", |
| 515 "[SLAVE_BUILD]/src/out/Debug/bin/run_cronet_test_instrumentation_apk", | 499 "[CWD]/src/out/Debug/bin/run_cronet_test_instrumentation_apk", |
| 516 "--blacklist-file", | 500 "--blacklist-file", |
| 517 "[SLAVE_BUILD]/src/out/bad_devices.json", | 501 "[CWD]/src/out/bad_devices.json", |
| 518 "--verbose", | 502 "--verbose", |
| 519 "--num-retries", | 503 "--num-retries", |
| 520 "0" | 504 "0" |
| 521 ], | 505 ], |
| 522 "cwd": "[SLAVE_BUILD]", | |
| 523 "name": "Instrumentation test cronet_test_instrumentation_apk" | 506 "name": "Instrumentation test cronet_test_instrumentation_apk" |
| 524 }, | 507 }, |
| 525 { | 508 { |
| 526 "cmd": [ | 509 "cmd": [ |
| 527 "python", | 510 "python", |
| 528 "-u", | 511 "-u", |
| 529 "RECIPE_PACKAGE_REPO[build]/scripts/slave/daemonizer.py", | 512 "RECIPE_PACKAGE_REPO[build]/scripts/slave/daemonizer.py", |
| 530 "--action", | 513 "--action", |
| 531 "stop", | 514 "stop", |
| 532 "--pid-file-path", | 515 "--pid-file-path", |
| 533 "/tmp/device_monitor.pid" | 516 "/tmp/device_monitor.pid" |
| 534 ], | 517 ], |
| 535 "cwd": "[SLAVE_BUILD]", | |
| 536 "name": "shutdown_device_monitor" | 518 "name": "shutdown_device_monitor" |
| 537 }, | 519 }, |
| 538 { | 520 { |
| 539 "cmd": [ | 521 "cmd": [ |
| 540 "python", | 522 "python", |
| 541 "-u", | 523 "-u", |
| 542 "[SLAVE_BUILD]/src/build/android/adb_logcat_printer.py", | 524 "[CWD]/src/build/android/adb_logcat_printer.py", |
| 543 "--output-path", | 525 "--output-path", |
| 544 "[SLAVE_BUILD]/src/out/Debug/full_log", | 526 "[CWD]/src/out/Debug/full_log", |
| 545 "[SLAVE_BUILD]/src/out/logcat" | 527 "[CWD]/src/out/logcat" |
| 546 ], | 528 ], |
| 547 "cwd": "[SLAVE_BUILD]", | |
| 548 "name": "logcat_dump" | 529 "name": "logcat_dump" |
| 549 }, | 530 }, |
| 550 { | 531 { |
| 551 "cmd": [ | 532 "cmd": [ |
| 552 "python", | 533 "python", |
| 553 "-u", | 534 "-u", |
| 554 "RECIPE_MODULE[build::gsutil]/resources/gsutil_wrapper.py", | 535 "RECIPE_MODULE[build::gsutil]/resources/gsutil_wrapper.py", |
| 555 "--", | 536 "--", |
| 556 "[DEPOT_TOOLS]/gsutil.py", | 537 "[ROOT]/b/depot_tools/gsutil.py", |
| 557 "--force-version", | 538 "--force-version", |
| 558 "4.7", | 539 "4.7", |
| 559 "-o", | 540 "-o", |
| 560 "GSUtil:parallel_composite_upload_threshold=50M", | 541 "GSUtil:parallel_composite_upload_threshold=50M", |
| 561 "----", | 542 "----", |
| 562 "cp", | 543 "cp", |
| 563 "[SLAVE_BUILD]/src/out/Debug/full_log", | 544 "[CWD]/src/out/Debug/full_log", |
| 564 "gs://chromium-android/logcat_dumps/Android Cronet Builder (dbg)/571" | 545 "gs://chromium-android/logcat_dumps/Android Cronet Builder (dbg)/571" |
| 565 ], | 546 ], |
| 566 "cwd": "[SLAVE_BUILD]", | |
| 567 "name": "gsutil upload", | 547 "name": "gsutil upload", |
| 568 "~followup_annotations": [ | 548 "~followup_annotations": [ |
| 569 "@@@STEP_LINK@logcat dump@https://storage.cloud.google.com/chromium-androi
d/logcat_dumps/Android Cronet Builder (dbg)/571@@@" | 549 "@@@STEP_LINK@logcat dump@https://storage.cloud.google.com/chromium-androi
d/logcat_dumps/Android Cronet Builder (dbg)/571@@@" |
| 570 ] | 550 ] |
| 571 }, | 551 }, |
| 572 { | 552 { |
| 573 "cmd": [ | 553 "cmd": [ |
| 574 "[SLAVE_BUILD]/src/third_party/android_platform/development/scripts/stack"
, | 554 "[CWD]/src/third_party/android_platform/development/scripts/stack", |
| 575 "--arch", | 555 "--arch", |
| 576 "arm", | 556 "arm", |
| 577 "--more-info", | 557 "--more-info", |
| 578 "[SLAVE_BUILD]/src/out/Debug/full_log" | 558 "[CWD]/src/out/Debug/full_log" |
| 579 ], | 559 ], |
| 580 "cwd": "[SLAVE_BUILD]", | |
| 581 "env": { | 560 "env": { |
| 582 "CHROMIUM_OUTPUT_DIR": "[SLAVE_BUILD]/src/out/Debug", | 561 "CHROMIUM_OUTPUT_DIR": "[CWD]/src/out/Debug", |
| 583 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | 562 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
| 584 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | 563 "PATH": "[CWD]/src/third_party/android_tools/sdk/platform-tools:[CWD]/src/
build/android:%(PATH)s" |
| 585 }, | 564 }, |
| 586 "name": "stack_tool_with_logcat_dump" | 565 "name": "stack_tool_with_logcat_dump" |
| 587 }, | 566 }, |
| 588 { | 567 { |
| 589 "cmd": [ | 568 "cmd": [ |
| 590 "[SLAVE_BUILD]/src/build/android/tombstones.py", | 569 "[CWD]/src/build/android/tombstones.py", |
| 591 "-a", | 570 "-a", |
| 592 "-s", | 571 "-s", |
| 593 "-w" | 572 "-w" |
| 594 ], | 573 ], |
| 595 "cwd": "[SLAVE_BUILD]", | |
| 596 "env": { | 574 "env": { |
| 597 "CHROMIUM_OUTPUT_DIR": "[SLAVE_BUILD]/src/out/Debug", | 575 "CHROMIUM_OUTPUT_DIR": "[CWD]/src/out/Debug", |
| 598 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | 576 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
| 599 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | 577 "PATH": "[CWD]/src/third_party/android_tools/sdk/platform-tools:[CWD]/src/
build/android:%(PATH)s" |
| 600 }, | 578 }, |
| 601 "name": "stack_tool_for_tombstones" | 579 "name": "stack_tool_for_tombstones" |
| 602 }, | 580 }, |
| 603 { | 581 { |
| 604 "cmd": [ | 582 "cmd": [ |
| 605 "python", | 583 "python", |
| 606 "-u", | 584 "-u", |
| 607 "\nimport glob, os, sys\nfor report in glob.glob(sys.argv[1]):\n with ope
n(report, 'r') as f:\n for l in f.readlines():\n print l\n os.remove(re
port)\n", | 585 "\nimport glob, os, sys\nfor report in glob.glob(sys.argv[1]):\n with ope
n(report, 'r') as f:\n for l in f.readlines():\n print l\n os.remove(re
port)\n", |
| 608 "[SLAVE_BUILD]/src/out/Debug/test_logs/*.log" | 586 "[CWD]/src/out/Debug/test_logs/*.log" |
| 609 ], | 587 ], |
| 610 "cwd": "[SLAVE_BUILD]", | |
| 611 "name": "test_report", | 588 "name": "test_report", |
| 612 "~followup_annotations": [ | 589 "~followup_annotations": [ |
| 613 "@@@STEP_LOG_LINE@python.inline@@@@", | 590 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 614 "@@@STEP_LOG_LINE@python.inline@import glob, os, sys@@@", | 591 "@@@STEP_LOG_LINE@python.inline@import glob, os, sys@@@", |
| 615 "@@@STEP_LOG_LINE@python.inline@for report in glob.glob(sys.argv[1]):@@@", | 592 "@@@STEP_LOG_LINE@python.inline@for report in glob.glob(sys.argv[1]):@@@", |
| 616 "@@@STEP_LOG_LINE@python.inline@ with open(report, 'r') as f:@@@", | 593 "@@@STEP_LOG_LINE@python.inline@ with open(report, 'r') as f:@@@", |
| 617 "@@@STEP_LOG_LINE@python.inline@ for l in f.readlines():@@@", | 594 "@@@STEP_LOG_LINE@python.inline@ for l in f.readlines():@@@", |
| 618 "@@@STEP_LOG_LINE@python.inline@ print l@@@", | 595 "@@@STEP_LOG_LINE@python.inline@ print l@@@", |
| 619 "@@@STEP_LOG_LINE@python.inline@ os.remove(report)@@@", | 596 "@@@STEP_LOG_LINE@python.inline@ os.remove(report)@@@", |
| 620 "@@@STEP_LOG_END@python.inline@@@" | 597 "@@@STEP_LOG_END@python.inline@@@" |
| 621 ] | 598 ] |
| 622 }, | 599 }, |
| 623 { | 600 { |
| 624 "name": "$result", | 601 "name": "$result", |
| 625 "recipe_result": null, | 602 "recipe_result": null, |
| 626 "status_code": 0 | 603 "status_code": 0 |
| 627 } | 604 } |
| 628 ] | 605 ] |
| OLD | NEW |