| 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 "[CWD]" | 7 "[SLAVE_BUILD]" |
| 8 ], | 8 ], |
| 9 "cwd": "[SLAVE_BUILD]", |
| 9 "name": "cleanup index.lock", | 10 "name": "cleanup index.lock", |
| 10 "~followup_annotations": [ | 11 "~followup_annotations": [ |
| 11 "@@@STEP_LOG_LINE@python.inline@@@@", | 12 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 12 "@@@STEP_LOG_LINE@python.inline@import os, sys@@@", | 13 "@@@STEP_LOG_LINE@python.inline@import os, sys@@@", |
| 13 "@@@STEP_LOG_LINE@python.inline@@@@", | 14 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 14 "@@@STEP_LOG_LINE@python.inline@build_path = sys.argv[1]@@@", | 15 "@@@STEP_LOG_LINE@python.inline@build_path = sys.argv[1]@@@", |
| 15 "@@@STEP_LOG_LINE@python.inline@if os.path.exists(build_path):@@@", | 16 "@@@STEP_LOG_LINE@python.inline@if os.path.exists(build_path):@@@", |
| 16 "@@@STEP_LOG_LINE@python.inline@ for (path, dir, files) in os.walk(build_
path):@@@", | 17 "@@@STEP_LOG_LINE@python.inline@ for (path, dir, files) in os.walk(build_
path):@@@", |
| 17 "@@@STEP_LOG_LINE@python.inline@ for cur_file in files:@@@", | 18 "@@@STEP_LOG_LINE@python.inline@ for cur_file in files:@@@", |
| 18 "@@@STEP_LOG_LINE@python.inline@ if cur_file.endswith('index.lock'):@
@@", | 19 "@@@STEP_LOG_LINE@python.inline@ if cur_file.endswith('index.lock'):@
@@", |
| 19 "@@@STEP_LOG_LINE@python.inline@ path_to_file = os.path.join(path,
cur_file)@@@", | 20 "@@@STEP_LOG_LINE@python.inline@ path_to_file = os.path.join(path,
cur_file)@@@", |
| 20 "@@@STEP_LOG_LINE@python.inline@ print 'deleting %s' % path_to_file
@@@", | 21 "@@@STEP_LOG_LINE@python.inline@ print 'deleting %s' % path_to_file
@@@", |
| 21 "@@@STEP_LOG_LINE@python.inline@ os.remove(path_to_file)@@@", | 22 "@@@STEP_LOG_LINE@python.inline@ os.remove(path_to_file)@@@", |
| 22 "@@@STEP_LOG_END@python.inline@@@" | 23 "@@@STEP_LOG_END@python.inline@@@" |
| 23 ] | 24 ] |
| 24 }, | 25 }, |
| 25 { | 26 { |
| 26 "cmd": [ | 27 "cmd": [ |
| 27 "python", | 28 "python", |
| 28 "-u", | 29 "-u", |
| 29 "RECIPE_MODULE[depot_tools::bot_update]/resources/bot_update.py", | 30 "RECIPE_MODULE[depot_tools::bot_update]/resources/bot_update.py", |
| 30 "--master", | 31 "--master", |
| 31 "chromium.testing.master", | 32 "chromium.testing.master", |
| 32 "--builder", | 33 "--builder", |
| 33 "android_cronet_tester", | 34 "android_cronet_tester", |
| 34 "--slave", | 35 "--slave", |
| 35 "TestSlavename", | 36 "TestSlavename", |
| 36 "--spec", | 37 "--spec", |
| 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']", | 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']", |
| 38 "--root", | 39 "--root", |
| 39 "src", | 40 "src", |
| 40 "--revision_mapping_file", | 41 "--revision_mapping_file", |
| 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\"}", | 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\"}", |
| 42 "--git-cache-dir", | 43 "--git-cache-dir", |
| 43 "[ROOT]/b/build/slave/cache_dir", | 44 "[GIT_CACHE]", |
| 44 "--output_json", | 45 "--output_json", |
| 45 "/path/to/tmp/json", | 46 "/path/to/tmp/json", |
| 46 "--revision", | 47 "--revision", |
| 47 "src@4f4b02f6b7fa20a3a25682c457bbc8ad589c8a00", | 48 "src@4f4b02f6b7fa20a3a25682c457bbc8ad589c8a00", |
| 48 "--force", | 49 "--force", |
| 49 "--output_manifest" | 50 "--output_manifest" |
| 50 ], | 51 ], |
| 52 "cwd": "[SLAVE_BUILD]", |
| 51 "env": { | 53 "env": { |
| 52 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" | 54 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" |
| 53 }, | 55 }, |
| 54 "name": "bot_update", | 56 "name": "bot_update", |
| 55 "~followup_annotations": [ | 57 "~followup_annotations": [ |
| 56 "@@@STEP_TEXT@Some step text@@@", | 58 "@@@STEP_TEXT@Some step text@@@", |
| 57 "@@@STEP_LOG_LINE@json.output@{@@@", | 59 "@@@STEP_LOG_LINE@json.output@{@@@", |
| 58 "@@@STEP_LOG_LINE@json.output@ \"did_run\": true, @@@", | 60 "@@@STEP_LOG_LINE@json.output@ \"did_run\": true, @@@", |
| 59 "@@@STEP_LOG_LINE@json.output@ \"fixed_revisions\": {@@@", | 61 "@@@STEP_LOG_LINE@json.output@ \"fixed_revisions\": {@@@", |
| 60 "@@@STEP_LOG_LINE@json.output@ \"src\": \"4f4b02f6b7fa20a3a25682c457bbc
8ad589c8a00\"@@@", | 62 "@@@STEP_LOG_LINE@json.output@ \"src\": \"4f4b02f6b7fa20a3a25682c457bbc
8ad589c8a00\"@@@", |
| (...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 117 "@@@SET_BUILD_PROPERTY@got_webrtc_revision_cp@\"refs/heads/master@{#120644
}\"@@@", | 119 "@@@SET_BUILD_PROPERTY@got_webrtc_revision_cp@\"refs/heads/master@{#120644
}\"@@@", |
| 118 "@@@SET_BUILD_PROPERTY@got_src_revision_cp@\"refs/heads/master@{#170242}\"
@@@", | 120 "@@@SET_BUILD_PROPERTY@got_src_revision_cp@\"refs/heads/master@{#170242}\"
@@@", |
| 119 "@@@SET_BUILD_PROPERTY@got_angle_revision_cp@\"refs/heads/master@{#297276}
\"@@@" | 121 "@@@SET_BUILD_PROPERTY@got_angle_revision_cp@\"refs/heads/master@{#297276}
\"@@@" |
| 120 ] | 122 ] |
| 121 }, | 123 }, |
| 122 { | 124 { |
| 123 "cmd": [ | 125 "cmd": [ |
| 124 "python", | 126 "python", |
| 125 "-u", | 127 "-u", |
| 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", | 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", |
| 127 "[CWD]/src/out/Debug/debug_info_dumps", | 129 "[SLAVE_BUILD]/src/out/Debug/debug_info_dumps", |
| 128 "[CWD]/src/out/Debug/test_logs", | 130 "[SLAVE_BUILD]/src/out/Debug/test_logs", |
| 129 "[CWD]/src/out/build_product.zip", | 131 "[SLAVE_BUILD]/src/out/build_product.zip", |
| 130 "[CWD]/src" | 132 "[SLAVE_BUILD]/src" |
| 131 ], | 133 ], |
| 134 "cwd": "[SLAVE_BUILD]", |
| 132 "name": "clean local files", | 135 "name": "clean local files", |
| 133 "~followup_annotations": [ | 136 "~followup_annotations": [ |
| 134 "@@@STEP_LOG_LINE@python.inline@@@@", | 137 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 135 "@@@STEP_LOG_LINE@python.inline@import shutil, sys, os@@@", | 138 "@@@STEP_LOG_LINE@python.inline@import shutil, sys, os@@@", |
| 136 "@@@STEP_LOG_LINE@python.inline@shutil.rmtree(sys.argv[1], True)@@@", | 139 "@@@STEP_LOG_LINE@python.inline@shutil.rmtree(sys.argv[1], True)@@@", |
| 137 "@@@STEP_LOG_LINE@python.inline@shutil.rmtree(sys.argv[2], True)@@@", | 140 "@@@STEP_LOG_LINE@python.inline@shutil.rmtree(sys.argv[2], True)@@@", |
| 138 "@@@STEP_LOG_LINE@python.inline@try:@@@", | 141 "@@@STEP_LOG_LINE@python.inline@try:@@@", |
| 139 "@@@STEP_LOG_LINE@python.inline@ os.remove(sys.argv[3])@@@", | 142 "@@@STEP_LOG_LINE@python.inline@ os.remove(sys.argv[3])@@@", |
| 140 "@@@STEP_LOG_LINE@python.inline@except OSError:@@@", | 143 "@@@STEP_LOG_LINE@python.inline@except OSError:@@@", |
| 141 "@@@STEP_LOG_LINE@python.inline@ pass@@@", | 144 "@@@STEP_LOG_LINE@python.inline@ pass@@@", |
| 142 "@@@STEP_LOG_LINE@python.inline@for base, _dirs, files in os.walk(sys.argv
[4]):@@@", | 145 "@@@STEP_LOG_LINE@python.inline@for base, _dirs, files in os.walk(sys.argv
[4]):@@@", |
| 143 "@@@STEP_LOG_LINE@python.inline@ for f in files:@@@", | 146 "@@@STEP_LOG_LINE@python.inline@ for f in files:@@@", |
| 144 "@@@STEP_LOG_LINE@python.inline@ if f.endswith('.pyc'):@@@", | 147 "@@@STEP_LOG_LINE@python.inline@ if f.endswith('.pyc'):@@@", |
| 145 "@@@STEP_LOG_LINE@python.inline@ os.remove(os.path.join(base, f))@@@"
, | 148 "@@@STEP_LOG_LINE@python.inline@ os.remove(os.path.join(base, f))@@@"
, |
| 146 "@@@STEP_LOG_END@python.inline@@@" | 149 "@@@STEP_LOG_END@python.inline@@@" |
| 147 ] | 150 ] |
| 148 }, | 151 }, |
| 149 { | 152 { |
| 150 "cmd": [ | 153 "cmd": [ |
| 151 "python", | 154 "python", |
| 152 "-u", | 155 "-u", |
| 153 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", | 156 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", |
| 154 "runhooks" | 157 "runhooks" |
| 155 ], | 158 ], |
| 159 "cwd": "[SLAVE_BUILD]", |
| 156 "env": { | 160 "env": { |
| 157 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | 161 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
| 158 "GYP_CHROMIUM_NO_ACTION": "1", | 162 "GYP_CHROMIUM_NO_ACTION": "1", |
| 159 "GYP_CROSSCOMPILE": "1", | 163 "GYP_CROSSCOMPILE": "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_data_reduction_proxy_support=1 enable_websockets=0 fastbuild=1 gomadir='[ROO
T]/b/build/goma' target_arch=arm use_goma=1 use_platform_icu_alternatives=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_data_reduction_proxy_support=1 enable_websockets=0 fastbuild=1 gomadir='[BUI
LD]/goma' target_arch=arm use_goma=1 use_platform_icu_alternatives=1", |
| 161 "PATH": "[CWD]/src/third_party/android_tools/sdk/platform-tools:[CWD]/src/
build/android:%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" | 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]" |
| 162 }, | 166 }, |
| 163 "name": "gclient runhooks" | 167 "name": "gclient runhooks" |
| 164 }, | 168 }, |
| 165 { | 169 { |
| 166 "cmd": [ | 170 "cmd": [ |
| 167 "python", | 171 "python", |
| 168 "-u", | 172 "-u", |
| 169 "[CWD]/src/tools/mb/mb.py", | 173 "[SLAVE_BUILD]/src/tools/mb/mb.py", |
| 170 "gen", | 174 "gen", |
| 171 "-m", | 175 "-m", |
| 172 "chromium.testing.master", | 176 "chromium.testing.master", |
| 173 "-b", | 177 "-b", |
| 174 "android_cronet_tester", | 178 "android_cronet_tester", |
| 175 "--config-file", | 179 "--config-file", |
| 176 "[CWD]/src/tools/mb/mb_config.pyl", | 180 "[SLAVE_BUILD]/src/tools/mb/mb_config.pyl", |
| 177 "--goma-dir", | 181 "--goma-dir", |
| 178 "[ROOT]/b/build/goma", | 182 "[BUILD]/goma", |
| 179 "//out/Debug" | 183 "//out/Debug" |
| 180 ], | 184 ], |
| 185 "cwd": "[SLAVE_BUILD]", |
| 181 "name": "generate_build_files" | 186 "name": "generate_build_files" |
| 182 }, | 187 }, |
| 183 { | 188 { |
| 184 "cmd": [ | 189 "cmd": [ |
| 185 "python", | 190 "python", |
| 186 "-u", | 191 "-u", |
| 187 "RECIPE_PACKAGE_REPO[build]/scripts/tools/runit.py", | 192 "RECIPE_PACKAGE_REPO[build]/scripts/tools/runit.py", |
| 188 "--show-path", | 193 "--show-path", |
| 189 "python", | 194 "python", |
| 190 "RECIPE_PACKAGE_REPO[build]/scripts/slave/compile.py", | 195 "RECIPE_PACKAGE_REPO[build]/scripts/slave/compile.py", |
| 191 "--gsutil-py-path", | 196 "--gsutil-py-path", |
| 192 "RECIPE_PACKAGE_REPO[depot_tools]/gsutil.py", | 197 "RECIPE_PACKAGE_REPO[depot_tools]/gsutil.py", |
| 193 "--ninja-path", | 198 "--ninja-path", |
| 194 "RECIPE_PACKAGE_REPO[depot_tools]/ninja", | 199 "RECIPE_PACKAGE_REPO[depot_tools]/ninja", |
| 195 "--target", | 200 "--target", |
| 196 "Debug", | 201 "Debug", |
| 197 "--src-dir", | 202 "--src-dir", |
| 198 "[CWD]/src", | 203 "[SLAVE_BUILD]/src", |
| 199 "--goma-cache-dir", | 204 "--goma-cache-dir", |
| 200 "[ROOT]/b/build/slave/goma_cache", | 205 "[GOMA_CACHE]", |
| 201 "--build-tool", | 206 "--build-tool", |
| 202 "ninja", | 207 "ninja", |
| 203 "--compiler", | 208 "--compiler", |
| 204 "goma", | 209 "goma", |
| 205 "--goma-jsonstatus", | 210 "--goma-jsonstatus", |
| 206 "/path/to/tmp/json", | 211 "/path/to/tmp/json", |
| 207 "--goma-service-account-json-file", | 212 "--goma-service-account-json-file", |
| 208 "/creds/service_accounts/service-account-goma-client.json", | 213 "/creds/service_accounts/service-account-goma-client.json", |
| 209 "--goma-dir", | 214 "--goma-dir", |
| 210 "[ROOT]/b/build/goma", | 215 "[BUILD]/goma", |
| 211 "--clobber", | 216 "--clobber", |
| 212 "--", | 217 "--", |
| 213 "cronet_package", | 218 "cronet_package", |
| 214 "cronet_sample_test_apk", | 219 "cronet_sample_test_apk", |
| 215 "cronet_test_instrumentation_apk", | 220 "cronet_test_instrumentation_apk", |
| 216 "cronet_unittests", | 221 "cronet_unittests", |
| 217 "cronet_unittests_apk", | 222 "cronet_unittests_apk", |
| 218 "net_unittests", | 223 "net_unittests", |
| 219 "net_unittests_apk" | 224 "net_unittests_apk" |
| 220 ], | 225 ], |
| 226 "cwd": "[SLAVE_BUILD]", |
| 221 "env": { | 227 "env": { |
| 222 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | 228 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
| 223 "PATH": "[CWD]/src/third_party/android_tools/sdk/platform-tools:[CWD]/src/
build/android:%(PATH)s" | 229 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
| 224 }, | 230 }, |
| 225 "name": "compile", | 231 "name": "compile", |
| 226 "~followup_annotations": [ | 232 "~followup_annotations": [ |
| 227 "@@@STEP_LOG_LINE@json.output (invalid)@null@@@", | 233 "@@@STEP_LOG_LINE@json.output (invalid)@null@@@", |
| 228 "@@@STEP_LOG_END@json.output (invalid)@@@" | 234 "@@@STEP_LOG_END@json.output (invalid)@@@" |
| 229 ] | 235 ] |
| 230 }, | 236 }, |
| 231 { | 237 { |
| 232 "cmd": [ | 238 "cmd": [ |
| 233 "python", | 239 "python", |
| 234 "-u", | 240 "-u", |
| 235 "[CWD]/src/build/symlink.py", | 241 "[SLAVE_BUILD]/src/build/symlink.py", |
| 236 "-f", | 242 "-f", |
| 237 "[CWD]/src/third_party/android_tools/sdk/platform-tools/adb", | 243 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb", |
| 238 "~/adb" | 244 "~/adb" |
| 239 ], | 245 ], |
| 246 "cwd": "[SLAVE_BUILD]", |
| 240 "name": "create adb symlink" | 247 "name": "create adb symlink" |
| 241 }, | 248 }, |
| 242 { | 249 { |
| 243 "cmd": [ | 250 "cmd": [ |
| 244 "RECIPE_PACKAGE_REPO[build]/scripts/slave/daemonizer.py", | 251 "RECIPE_PACKAGE_REPO[build]/scripts/slave/daemonizer.py", |
| 245 "--", | 252 "--", |
| 246 "[CWD]/src/build/android/adb_logcat_monitor.py", | 253 "[SLAVE_BUILD]/src/build/android/adb_logcat_monitor.py", |
| 247 "[CWD]/src/out/logcat" | 254 "[SLAVE_BUILD]/src/out/logcat" |
| 248 ], | 255 ], |
| 256 "cwd": "[SLAVE_BUILD]", |
| 249 "env": { | 257 "env": { |
| 250 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | 258 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
| 251 "PATH": "[CWD]/src/third_party/android_tools/sdk/platform-tools:[CWD]/src/
build/android:%(PATH)s" | 259 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
| 252 }, | 260 }, |
| 253 "name": "spawn_logcat_monitor" | 261 "name": "spawn_logcat_monitor" |
| 254 }, | 262 }, |
| 255 { | 263 { |
| 256 "cmd": [ | 264 "cmd": [ |
| 257 "python", | 265 "python", |
| 258 "-u", | 266 "-u", |
| 259 "RECIPE_PACKAGE_REPO[build]/scripts/slave/android/authorize_adb_devices.py
", | 267 "RECIPE_PACKAGE_REPO[build]/scripts/slave/android/authorize_adb_devices.py
", |
| 260 "--verbose", | 268 "--verbose", |
| 261 "--adb-path", | 269 "--adb-path", |
| 262 "[CWD]/src/third_party/android_tools/sdk/platform-tools/adb" | 270 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb" |
| 263 ], | 271 ], |
| 272 "cwd": "[SLAVE_BUILD]", |
| 264 "env": { | 273 "env": { |
| 265 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | 274 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
| 266 "PATH": "[CWD]/src/third_party/android_tools/sdk/platform-tools:[CWD]/src/
build/android:%(PATH)s" | 275 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
| 267 }, | 276 }, |
| 268 "name": "authorize_adb_devices" | 277 "name": "authorize_adb_devices" |
| 269 }, | 278 }, |
| 270 { | 279 { |
| 271 "cmd": [ | 280 "cmd": [ |
| 272 "[CWD]/src/build/android/buildbot/bb_device_status_check.py", | 281 "[SLAVE_BUILD]/src/build/android/buildbot/bb_device_status_check.py", |
| 273 "--json-output", | 282 "--json-output", |
| 274 "/path/to/tmp/json", | 283 "/path/to/tmp/json", |
| 275 "--blacklist-file", | 284 "--blacklist-file", |
| 276 "[CWD]/src/out/bad_devices.json", | 285 "[SLAVE_BUILD]/src/out/bad_devices.json", |
| 277 "--known-devices-file", | 286 "--known-devices-file", |
| 278 "[ROOT]/b/build/site_config/.known_devices" | 287 "[BUILD]/site_config/.known_devices" |
| 279 ], | 288 ], |
| 289 "cwd": "[SLAVE_BUILD]", |
| 280 "env": { | 290 "env": { |
| 281 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | 291 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
| 282 "PATH": "[CWD]/src/third_party/android_tools/sdk/platform-tools:[CWD]/src/
build/android:%(PATH)s" | 292 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
| 283 }, | 293 }, |
| 284 "name": "device_status_check", | 294 "name": "device_status_check", |
| 285 "~followup_annotations": [ | 295 "~followup_annotations": [ |
| 286 "@@@STEP_TEXT@Online devices: 1@@@", | 296 "@@@STEP_TEXT@Online devices: 1@@@", |
| 287 "@@@STEP_LOG_LINE@json.output@[@@@", | 297 "@@@STEP_LOG_LINE@json.output@[@@@", |
| 288 "@@@STEP_LOG_LINE@json.output@ {@@@", | 298 "@@@STEP_LOG_LINE@json.output@ {@@@", |
| 289 "@@@STEP_LOG_LINE@json.output@ \"adb_status\": \"device\", @@@", | 299 "@@@STEP_LOG_LINE@json.output@ \"adb_status\": \"device\", @@@", |
| 290 "@@@STEP_LOG_LINE@json.output@ \"battery\": {@@@", | 300 "@@@STEP_LOG_LINE@json.output@ \"battery\": {@@@", |
| 291 "@@@STEP_LOG_LINE@json.output@ \"AC powered\": \"false\", @@@", | 301 "@@@STEP_LOG_LINE@json.output@ \"AC powered\": \"false\", @@@", |
| 292 "@@@STEP_LOG_LINE@json.output@ \"USB powered\": \"true\", @@@", | 302 "@@@STEP_LOG_LINE@json.output@ \"USB powered\": \"true\", @@@", |
| (...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 374 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@ \"serial\": \"03e0363a00
3c6ad6\", @@@", | 384 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@ \"serial\": \"03e0363a00
3c6ad6\", @@@", |
| 375 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@ \"usb_status\": true@@@"
, | 385 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@ \"usb_status\": true@@@"
, |
| 376 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@}@@@", | 386 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@}@@@", |
| 377 "@@@STEP_LOG_END@03e0363a003c6ad6: blacklisted@@@" | 387 "@@@STEP_LOG_END@03e0363a003c6ad6: blacklisted@@@" |
| 378 ] | 388 ] |
| 379 }, | 389 }, |
| 380 { | 390 { |
| 381 "cmd": [ | 391 "cmd": [ |
| 382 "python", | 392 "python", |
| 383 "-u", | 393 "-u", |
| 384 "[CWD]/src/build/android/provision_devices.py", | 394 "[SLAVE_BUILD]/src/build/android/provision_devices.py", |
| 385 "-t", | 395 "-t", |
| 386 "Debug", | 396 "Debug", |
| 387 "--blacklist-file", | 397 "--blacklist-file", |
| 388 "[CWD]/src/out/bad_devices.json", | 398 "[SLAVE_BUILD]/src/out/bad_devices.json", |
| 389 "--output-device-blacklist", | 399 "--output-device-blacklist", |
| 390 "/path/to/tmp/json" | 400 "/path/to/tmp/json" |
| 391 ], | 401 ], |
| 402 "cwd": "[SLAVE_BUILD]", |
| 392 "env": { | 403 "env": { |
| 393 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | 404 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
| 394 "PATH": "[CWD]/src/third_party/android_tools/sdk/platform-tools:[CWD]/src/
build/android:%(PATH)s" | 405 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
| 395 }, | 406 }, |
| 396 "name": "provision_devices" | 407 "name": "provision_devices" |
| 397 }, | 408 }, |
| 398 { | 409 { |
| 399 "cmd": [ | 410 "cmd": [ |
| 400 "python", | 411 "python", |
| 401 "-u", | 412 "-u", |
| 402 "RECIPE_PACKAGE_REPO[build]/scripts/slave/daemonizer.py", | 413 "RECIPE_PACKAGE_REPO[build]/scripts/slave/daemonizer.py", |
| 403 "--action", | 414 "--action", |
| 404 "restart", | 415 "restart", |
| 405 "--pid-file-path", | 416 "--pid-file-path", |
| 406 "/tmp/device_monitor.pid", | 417 "/tmp/device_monitor.pid", |
| 407 "--", | 418 "--", |
| 408 "RECIPE_MODULE[build::chromium_android]/resources/spawn_device_monitor.py"
, | 419 "RECIPE_MODULE[build::chromium_android]/resources/spawn_device_monitor.py"
, |
| 409 "[CWD]/src/third_party/android_tools/sdk/platform-tools/adb", | 420 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb", |
| 410 "[\"07a00ca4\"]", | 421 "[\"07a00ca4\"]", |
| 411 "chromium.testing.master", | 422 "chromium.testing.master", |
| 412 "android_cronet_tester", | 423 "android_cronet_tester", |
| 413 "--blacklist-file", | 424 "--blacklist-file", |
| 414 "[CWD]/src/out/bad_devices.json" | 425 "[SLAVE_BUILD]/src/out/bad_devices.json" |
| 415 ], | 426 ], |
| 427 "cwd": "[SLAVE_BUILD]", |
| 416 "name": "spawn_device_monitor" | 428 "name": "spawn_device_monitor" |
| 417 }, | 429 }, |
| 418 { | 430 { |
| 419 "cmd": [ | 431 "cmd": [ |
| 420 "python", | 432 "python", |
| 421 "-u", | 433 "-u", |
| 422 "[CWD]/src/out/Debug/bin/run_cronet_unittests", | 434 "[SLAVE_BUILD]/src/out/Debug/bin/run_cronet_unittests", |
| 423 "--blacklist-file", | 435 "--blacklist-file", |
| 424 "[CWD]/src/out/bad_devices.json", | 436 "[SLAVE_BUILD]/src/out/bad_devices.json", |
| 425 "--verbose", | 437 "--verbose", |
| 426 "-t", | 438 "-t", |
| 427 "180" | 439 "180" |
| 428 ], | 440 ], |
| 441 "cwd": "[SLAVE_BUILD]", |
| 429 "env": { | 442 "env": { |
| 430 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | 443 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
| 431 "PATH": "[CWD]/src/third_party/android_tools/sdk/platform-tools:[CWD]/src/
build/android:%(PATH)s" | 444 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
| 432 }, | 445 }, |
| 433 "name": "cronet_unittests" | 446 "name": "cronet_unittests" |
| 434 }, | 447 }, |
| 435 { | 448 { |
| 436 "cmd": [ | 449 "cmd": [ |
| 437 "python", | 450 "python", |
| 438 "-u", | 451 "-u", |
| 439 "[CWD]/src/out/Debug/bin/run_net_unittests", | 452 "[SLAVE_BUILD]/src/out/Debug/bin/run_net_unittests", |
| 440 "--blacklist-file", | 453 "--blacklist-file", |
| 441 "[CWD]/src/out/bad_devices.json", | 454 "[SLAVE_BUILD]/src/out/bad_devices.json", |
| 442 "--verbose", | 455 "--verbose", |
| 443 "-t", | 456 "-t", |
| 444 "180" | 457 "180" |
| 445 ], | 458 ], |
| 459 "cwd": "[SLAVE_BUILD]", |
| 446 "env": { | 460 "env": { |
| 447 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | 461 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
| 448 "PATH": "[CWD]/src/third_party/android_tools/sdk/platform-tools:[CWD]/src/
build/android:%(PATH)s" | 462 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
| 449 }, | 463 }, |
| 450 "name": "net_unittests" | 464 "name": "net_unittests" |
| 451 }, | 465 }, |
| 452 { | 466 { |
| 453 "cmd": [ | 467 "cmd": [ |
| 454 "python", | 468 "python", |
| 455 "-u", | 469 "-u", |
| 456 "[CWD]/src/out/Debug/bin/run_cronet_sample_test_apk", | 470 "[SLAVE_BUILD]/src/out/Debug/bin/run_cronet_sample_test_apk", |
| 457 "--blacklist-file", | 471 "--blacklist-file", |
| 458 "[CWD]/src/out/bad_devices.json", | 472 "[SLAVE_BUILD]/src/out/bad_devices.json", |
| 459 "--verbose", | 473 "--verbose", |
| 460 "--num-retries", | 474 "--num-retries", |
| 461 "0" | 475 "0" |
| 462 ], | 476 ], |
| 477 "cwd": "[SLAVE_BUILD]", |
| 463 "name": "Instrumentation test cronet_sample_test_apk" | 478 "name": "Instrumentation test cronet_sample_test_apk" |
| 464 }, | 479 }, |
| 465 { | 480 { |
| 466 "cmd": [ | 481 "cmd": [ |
| 467 "python", | 482 "python", |
| 468 "-u", | 483 "-u", |
| 469 "[CWD]/src/out/Debug/bin/run_cronet_test_instrumentation_apk", | 484 "[SLAVE_BUILD]/src/out/Debug/bin/run_cronet_test_instrumentation_apk", |
| 470 "--blacklist-file", | 485 "--blacklist-file", |
| 471 "[CWD]/src/out/bad_devices.json", | 486 "[SLAVE_BUILD]/src/out/bad_devices.json", |
| 472 "--verbose", | 487 "--verbose", |
| 473 "--num-retries", | 488 "--num-retries", |
| 474 "0" | 489 "0" |
| 475 ], | 490 ], |
| 491 "cwd": "[SLAVE_BUILD]", |
| 476 "name": "Instrumentation test cronet_test_instrumentation_apk" | 492 "name": "Instrumentation test cronet_test_instrumentation_apk" |
| 477 }, | 493 }, |
| 478 { | 494 { |
| 479 "cmd": [ | 495 "cmd": [ |
| 480 "python", | 496 "python", |
| 481 "-u", | 497 "-u", |
| 482 "RECIPE_PACKAGE_REPO[build]/scripts/slave/daemonizer.py", | 498 "RECIPE_PACKAGE_REPO[build]/scripts/slave/daemonizer.py", |
| 483 "--action", | 499 "--action", |
| 484 "stop", | 500 "stop", |
| 485 "--pid-file-path", | 501 "--pid-file-path", |
| 486 "/tmp/device_monitor.pid" | 502 "/tmp/device_monitor.pid" |
| 487 ], | 503 ], |
| 504 "cwd": "[SLAVE_BUILD]", |
| 488 "name": "shutdown_device_monitor" | 505 "name": "shutdown_device_monitor" |
| 489 }, | 506 }, |
| 490 { | 507 { |
| 491 "cmd": [ | 508 "cmd": [ |
| 492 "python", | 509 "python", |
| 493 "-u", | 510 "-u", |
| 494 "[CWD]/src/build/android/adb_logcat_printer.py", | 511 "[SLAVE_BUILD]/src/build/android/adb_logcat_printer.py", |
| 495 "--output-path", | 512 "--output-path", |
| 496 "[CWD]/src/out/Debug/full_log", | 513 "[SLAVE_BUILD]/src/out/Debug/full_log", |
| 497 "[CWD]/src/out/logcat" | 514 "[SLAVE_BUILD]/src/out/logcat" |
| 498 ], | 515 ], |
| 516 "cwd": "[SLAVE_BUILD]", |
| 499 "name": "logcat_dump" | 517 "name": "logcat_dump" |
| 500 }, | 518 }, |
| 501 { | 519 { |
| 502 "cmd": [ | 520 "cmd": [ |
| 503 "python", | 521 "python", |
| 504 "-u", | 522 "-u", |
| 505 "RECIPE_MODULE[build::gsutil]/resources/gsutil_wrapper.py", | 523 "RECIPE_MODULE[build::gsutil]/resources/gsutil_wrapper.py", |
| 506 "--", | 524 "--", |
| 507 "[ROOT]/b/depot_tools/gsutil.py", | 525 "[DEPOT_TOOLS]/gsutil.py", |
| 508 "--force-version", | 526 "--force-version", |
| 509 "4.7", | 527 "4.7", |
| 510 "-o", | 528 "-o", |
| 511 "GSUtil:parallel_composite_upload_threshold=50M", | 529 "GSUtil:parallel_composite_upload_threshold=50M", |
| 512 "----", | 530 "----", |
| 513 "cp", | 531 "cp", |
| 514 "[CWD]/src/out/Debug/full_log", | 532 "[SLAVE_BUILD]/src/out/Debug/full_log", |
| 515 "gs://chromium-android/logcat_dumps/android_cronet_tester/571" | 533 "gs://chromium-android/logcat_dumps/android_cronet_tester/571" |
| 516 ], | 534 ], |
| 535 "cwd": "[SLAVE_BUILD]", |
| 517 "name": "gsutil upload", | 536 "name": "gsutil upload", |
| 518 "~followup_annotations": [ | 537 "~followup_annotations": [ |
| 519 "@@@STEP_LINK@logcat dump@https://storage.cloud.google.com/chromium-androi
d/logcat_dumps/android_cronet_tester/571@@@" | 538 "@@@STEP_LINK@logcat dump@https://storage.cloud.google.com/chromium-androi
d/logcat_dumps/android_cronet_tester/571@@@" |
| 520 ] | 539 ] |
| 521 }, | 540 }, |
| 522 { | 541 { |
| 523 "cmd": [ | 542 "cmd": [ |
| 524 "[CWD]/src/third_party/android_platform/development/scripts/stack", | 543 "[SLAVE_BUILD]/src/third_party/android_platform/development/scripts/stack"
, |
| 525 "--arch", | 544 "--arch", |
| 526 "arm", | 545 "arm", |
| 527 "--more-info", | 546 "--more-info", |
| 528 "[CWD]/src/out/Debug/full_log" | 547 "[SLAVE_BUILD]/src/out/Debug/full_log" |
| 529 ], | 548 ], |
| 549 "cwd": "[SLAVE_BUILD]", |
| 530 "env": { | 550 "env": { |
| 531 "CHROMIUM_OUTPUT_DIR": "[CWD]/src/out/Debug", | 551 "CHROMIUM_OUTPUT_DIR": "[SLAVE_BUILD]/src/out/Debug", |
| 532 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | 552 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
| 533 "PATH": "[CWD]/src/third_party/android_tools/sdk/platform-tools:[CWD]/src/
build/android:%(PATH)s" | 553 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
| 534 }, | 554 }, |
| 535 "name": "stack_tool_with_logcat_dump" | 555 "name": "stack_tool_with_logcat_dump" |
| 536 }, | 556 }, |
| 537 { | 557 { |
| 538 "cmd": [ | 558 "cmd": [ |
| 539 "[CWD]/src/build/android/tombstones.py", | 559 "[SLAVE_BUILD]/src/build/android/tombstones.py", |
| 540 "-a", | 560 "-a", |
| 541 "-s", | 561 "-s", |
| 542 "-w" | 562 "-w" |
| 543 ], | 563 ], |
| 564 "cwd": "[SLAVE_BUILD]", |
| 544 "env": { | 565 "env": { |
| 545 "CHROMIUM_OUTPUT_DIR": "[CWD]/src/out/Debug", | 566 "CHROMIUM_OUTPUT_DIR": "[SLAVE_BUILD]/src/out/Debug", |
| 546 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | 567 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
| 547 "PATH": "[CWD]/src/third_party/android_tools/sdk/platform-tools:[CWD]/src/
build/android:%(PATH)s" | 568 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
| 548 }, | 569 }, |
| 549 "name": "stack_tool_for_tombstones" | 570 "name": "stack_tool_for_tombstones" |
| 550 }, | 571 }, |
| 551 { | 572 { |
| 552 "cmd": [ | 573 "cmd": [ |
| 553 "python", | 574 "python", |
| 554 "-u", | 575 "-u", |
| 555 "\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", | 576 "\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", |
| 556 "[CWD]/src/out/Debug/test_logs/*.log" | 577 "[SLAVE_BUILD]/src/out/Debug/test_logs/*.log" |
| 557 ], | 578 ], |
| 579 "cwd": "[SLAVE_BUILD]", |
| 558 "name": "test_report", | 580 "name": "test_report", |
| 559 "~followup_annotations": [ | 581 "~followup_annotations": [ |
| 560 "@@@STEP_LOG_LINE@python.inline@@@@", | 582 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 561 "@@@STEP_LOG_LINE@python.inline@import glob, os, sys@@@", | 583 "@@@STEP_LOG_LINE@python.inline@import glob, os, sys@@@", |
| 562 "@@@STEP_LOG_LINE@python.inline@for report in glob.glob(sys.argv[1]):@@@", | 584 "@@@STEP_LOG_LINE@python.inline@for report in glob.glob(sys.argv[1]):@@@", |
| 563 "@@@STEP_LOG_LINE@python.inline@ with open(report, 'r') as f:@@@", | 585 "@@@STEP_LOG_LINE@python.inline@ with open(report, 'r') as f:@@@", |
| 564 "@@@STEP_LOG_LINE@python.inline@ for l in f.readlines():@@@", | 586 "@@@STEP_LOG_LINE@python.inline@ for l in f.readlines():@@@", |
| 565 "@@@STEP_LOG_LINE@python.inline@ print l@@@", | 587 "@@@STEP_LOG_LINE@python.inline@ print l@@@", |
| 566 "@@@STEP_LOG_LINE@python.inline@ os.remove(report)@@@", | 588 "@@@STEP_LOG_LINE@python.inline@ os.remove(report)@@@", |
| 567 "@@@STEP_LOG_END@python.inline@@@" | 589 "@@@STEP_LOG_END@python.inline@@@" |
| 568 ] | 590 ] |
| 569 }, | 591 }, |
| 570 { | 592 { |
| 571 "name": "$result", | 593 "name": "$result", |
| 572 "recipe_result": null, | 594 "recipe_result": null, |
| 573 "status_code": 0 | 595 "status_code": 0 |
| 574 } | 596 } |
| 575 ] | 597 ] |
| OLD | NEW |