| 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 "chromium.linux", | 8 "chromium.linux", |
| 9 "--builder", | 9 "--builder", |
| 10 "Android Tests", | 10 "Android Tests", |
| 11 "--slave", | 11 "--slave", |
| 12 "TestSlavename", | 12 "TestSlavename", |
| 13 "--spec", | 13 "--spec", |
| 14 "cache_dir = '[ROOT]/b/build/slave/cache_dir'\nsolutions = [{'custom_vars'
: {'googlecode_url': 'svn://svn-mirror.golo.chromium.org/%s', 'nacl_trunk': 'svn
://svn-mirror.golo.chromium.org/native_client/trunk', 'sourceforge_url': 'svn://
svn-mirror.golo.chromium.org/%(repo)s', 'webkit_trunk': 'svn://svn-mirror.golo.c
hromium.org/blink/trunk'}, 'deps_file': 'DEPS', 'managed': True, 'name': 'src',
'url': 'svn://svn-mirror.golo.chromium.org/chrome/trunk/src'}]\ntarget_os = ['an
droid']", | 14 "cache_dir = '[GIT_CACHE]'\nsolutions = [{'custom_vars': {'googlecode_url'
: 'svn://svn-mirror.golo.chromium.org/%s', 'nacl_trunk': 'svn://svn-mirror.golo.
chromium.org/native_client/trunk', 'sourceforge_url': 'svn://svn-mirror.golo.chr
omium.org/%(repo)s', 'webkit_trunk': 'svn://svn-mirror.golo.chromium.org/blink/t
runk'}, 'deps_file': 'DEPS', 'managed': True, 'name': 'src', 'url': 'svn://svn-m
irror.golo.chromium.org/chrome/trunk/src'}]\ntarget_os = ['android']", |
| 15 "--root", | 15 "--root", |
| 16 "src", | 16 "src", |
| 17 "--revision_mapping_file", | 17 "--revision_mapping_file", |
| 18 "{\"src\": \"got_revision\", \"src/native_client\": \"got_nacl_revision\",
\"src/third_party/angle\": \"got_angle_revision\", \"src/third_party/webrtc\":
\"got_webrtc_revision\", \"src/tools/swarming_client\": \"got_swarming_client_re
vision\", \"src/v8\": \"got_v8_revision\"}", | 18 "{\"src\": \"got_revision\", \"src/native_client\": \"got_nacl_revision\",
\"src/third_party/angle\": \"got_angle_revision\", \"src/third_party/webrtc\":
\"got_webrtc_revision\", \"src/tools/swarming_client\": \"got_swarming_client_re
vision\", \"src/v8\": \"got_v8_revision\"}", |
| 19 "--git-cache-dir", | 19 "--git-cache-dir", |
| 20 "[ROOT]/b/build/slave/cache_dir", | 20 "[GIT_CACHE]", |
| 21 "--output_json", | 21 "--output_json", |
| 22 "/path/to/tmp/json", | 22 "/path/to/tmp/json", |
| 23 "--revision", | 23 "--revision", |
| 24 "src@1111111", | 24 "src@1111111", |
| 25 "--force", | 25 "--force", |
| 26 "--output_manifest" | 26 "--output_manifest" |
| 27 ], | 27 ], |
| 28 "cwd": "[SLAVE_BUILD]", |
| 28 "env": { | 29 "env": { |
| 29 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" | 30 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" |
| 30 }, | 31 }, |
| 31 "name": "bot_update", | 32 "name": "bot_update", |
| 32 "~followup_annotations": [ | 33 "~followup_annotations": [ |
| 33 "@@@STEP_TEXT@Some step text@@@", | 34 "@@@STEP_TEXT@Some step text@@@", |
| 34 "@@@STEP_LOG_LINE@json.output@{@@@", | 35 "@@@STEP_LOG_LINE@json.output@{@@@", |
| 35 "@@@STEP_LOG_LINE@json.output@ \"did_run\": true, @@@", | 36 "@@@STEP_LOG_LINE@json.output@ \"did_run\": true, @@@", |
| 36 "@@@STEP_LOG_LINE@json.output@ \"fixed_revisions\": {@@@", | 37 "@@@STEP_LOG_LINE@json.output@ \"fixed_revisions\": {@@@", |
| 37 "@@@STEP_LOG_LINE@json.output@ \"src\": \"1111111\"@@@", | 38 "@@@STEP_LOG_LINE@json.output@ \"src\": \"1111111\"@@@", |
| (...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 91 "@@@SET_BUILD_PROPERTY@got_v8_revision@\"801ada225ddc271c132c3a35f03975671
d43e399\"@@@", | 92 "@@@SET_BUILD_PROPERTY@got_v8_revision@\"801ada225ddc271c132c3a35f03975671
d43e399\"@@@", |
| 92 "@@@SET_BUILD_PROPERTY@got_v8_revision_cp@\"refs/heads/master@{#43426}\"@@
@", | 93 "@@@SET_BUILD_PROPERTY@got_v8_revision_cp@\"refs/heads/master@{#43426}\"@@
@", |
| 93 "@@@SET_BUILD_PROPERTY@got_swarming_client_revision_cp@\"refs/heads/master
@{#276089}\"@@@", | 94 "@@@SET_BUILD_PROPERTY@got_swarming_client_revision_cp@\"refs/heads/master
@{#276089}\"@@@", |
| 94 "@@@SET_BUILD_PROPERTY@got_webrtc_revision_cp@\"refs/heads/master@{#120644
}\"@@@", | 95 "@@@SET_BUILD_PROPERTY@got_webrtc_revision_cp@\"refs/heads/master@{#120644
}\"@@@", |
| 95 "@@@SET_BUILD_PROPERTY@got_revision_cp@\"refs/heads/master@{#170242}\"@@@"
, | 96 "@@@SET_BUILD_PROPERTY@got_revision_cp@\"refs/heads/master@{#170242}\"@@@"
, |
| 96 "@@@SET_BUILD_PROPERTY@got_angle_revision_cp@\"refs/heads/master@{#297276}
\"@@@" | 97 "@@@SET_BUILD_PROPERTY@got_angle_revision_cp@\"refs/heads/master@{#297276}
\"@@@" |
| 97 ] | 98 ] |
| 98 }, | 99 }, |
| 99 { | 100 { |
| 100 "cmd": [], | 101 "cmd": [], |
| 102 "cwd": "[SLAVE_BUILD]", |
| 101 "name": "ensure_goma" | 103 "name": "ensure_goma" |
| 102 }, | 104 }, |
| 103 { | 105 { |
| 104 "cmd": [ | 106 "cmd": [ |
| 105 "python", | 107 "python", |
| 106 "-u", | 108 "-u", |
| 107 "RECIPE_MODULE[build::cipd]/resources/bootstrap.py", | 109 "RECIPE_MODULE[build::cipd]/resources/bootstrap.py", |
| 108 "--platform", | 110 "--platform", |
| 109 "linux-386", | 111 "linux-386", |
| 110 "--dest-directory", | 112 "--dest-directory", |
| 111 "[CWD]/cipd", | 113 "[SLAVE_BUILD]/cipd", |
| 112 "--json-output", | 114 "--json-output", |
| 113 "/path/to/tmp/json" | 115 "/path/to/tmp/json" |
| 114 ], | 116 ], |
| 117 "cwd": "[SLAVE_BUILD]", |
| 115 "name": "ensure_goma.install cipd", | 118 "name": "ensure_goma.install cipd", |
| 116 "~followup_annotations": [ | 119 "~followup_annotations": [ |
| 117 "@@@STEP_NEST_LEVEL@1@@@", | 120 "@@@STEP_NEST_LEVEL@1@@@", |
| 118 "@@@STEP_TEXT@cipd instance_id: 40-chars-fake-of-the-package-instance_id@@
@", | 121 "@@@STEP_TEXT@cipd instance_id: 40-chars-fake-of-the-package-instance_id@@
@", |
| 119 "@@@STEP_LOG_LINE@json.output@{@@@", | 122 "@@@STEP_LOG_LINE@json.output@{@@@", |
| 120 "@@@STEP_LOG_LINE@json.output@ \"executable\": \"fake_slave_build/cipd\",
@@@", | 123 "@@@STEP_LOG_LINE@json.output@ \"executable\": \"[SLAVE_BUILD]/cipd/cipd\
", @@@", |
| 121 "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"40-chars-fake-of-the-pa
ckage-instance_id\"@@@", | 124 "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"40-chars-fake-of-the-pa
ckage-instance_id\"@@@", |
| 122 "@@@STEP_LOG_LINE@json.output@}@@@", | 125 "@@@STEP_LOG_LINE@json.output@}@@@", |
| 123 "@@@STEP_LOG_END@json.output@@@" | 126 "@@@STEP_LOG_END@json.output@@@" |
| 124 ] | 127 ] |
| 125 }, | 128 }, |
| 126 { | 129 { |
| 127 "cmd": [ | 130 "cmd": [ |
| 128 "fake_slave_build/cipd", | 131 "[SLAVE_BUILD]/cipd/cipd", |
| 129 "ensure", | 132 "ensure", |
| 130 "--root", | 133 "--root", |
| 131 "[ROOT]/b/build/slave/cache/cipd/goma", | 134 "[CACHE]/cipd/goma", |
| 132 "--list", | 135 "--list", |
| 133 "infra_internal/goma/client/linux-386 release", | 136 "infra_internal/goma/client/linux-386 release", |
| 134 "--json-output", | 137 "--json-output", |
| 135 "/path/to/tmp/json", | 138 "/path/to/tmp/json", |
| 136 "--service-account-json", | 139 "--service-account-json", |
| 137 "/creds/service_accounts/service-account-goma-client.json" | 140 "/creds/service_accounts/service-account-goma-client.json" |
| 138 ], | 141 ], |
| 142 "cwd": "[SLAVE_BUILD]", |
| 139 "name": "ensure_goma.ensure_installed", | 143 "name": "ensure_goma.ensure_installed", |
| 140 "~followup_annotations": [ | 144 "~followup_annotations": [ |
| 141 "@@@STEP_NEST_LEVEL@1@@@", | 145 "@@@STEP_NEST_LEVEL@1@@@", |
| 142 "@@@STEP_LOG_LINE@json.output@{@@@", | 146 "@@@STEP_LOG_LINE@json.output@{@@@", |
| 143 "@@@STEP_LOG_LINE@json.output@ \"result\": [@@@", | 147 "@@@STEP_LOG_LINE@json.output@ \"result\": [@@@", |
| 144 "@@@STEP_LOG_LINE@json.output@ {@@@", | 148 "@@@STEP_LOG_LINE@json.output@ {@@@", |
| 145 "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"resolved-instance_i
d-of-release---------\", @@@", | 149 "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"resolved-instance_i
d-of-release---------\", @@@", |
| 146 "@@@STEP_LOG_LINE@json.output@ \"package\": \"infra_internal/goma/cli
ent/linux-386\"@@@", | 150 "@@@STEP_LOG_LINE@json.output@ \"package\": \"infra_internal/goma/cli
ent/linux-386\"@@@", |
| 147 "@@@STEP_LOG_LINE@json.output@ }@@@", | 151 "@@@STEP_LOG_LINE@json.output@ }@@@", |
| 148 "@@@STEP_LOG_LINE@json.output@ ]@@@", | 152 "@@@STEP_LOG_LINE@json.output@ ]@@@", |
| 149 "@@@STEP_LOG_LINE@json.output@}@@@", | 153 "@@@STEP_LOG_LINE@json.output@}@@@", |
| 150 "@@@STEP_LOG_END@json.output@@@" | 154 "@@@STEP_LOG_END@json.output@@@" |
| 151 ] | 155 ] |
| 152 }, | 156 }, |
| 153 { | 157 { |
| 154 "cmd": [ | 158 "cmd": [ |
| 155 "python", | 159 "python", |
| 156 "-u", | 160 "-u", |
| 157 "[CWD]/src/tools/swarming_client/swarming.py", | 161 "[SLAVE_BUILD]/src/tools/swarming_client/swarming.py", |
| 158 "--version" | 162 "--version" |
| 159 ], | 163 ], |
| 164 "cwd": "[SLAVE_BUILD]", |
| 160 "name": "swarming.py --version", | 165 "name": "swarming.py --version", |
| 161 "stdout": "/path/to/tmp/", | 166 "stdout": "/path/to/tmp/", |
| 162 "~followup_annotations": [ | 167 "~followup_annotations": [ |
| 163 "@@@STEP_TEXT@0.4.10@@@" | 168 "@@@STEP_TEXT@0.4.10@@@" |
| 164 ] | 169 ] |
| 165 }, | 170 }, |
| 166 { | 171 { |
| 167 "cmd": [ | 172 "cmd": [ |
| 168 "python", | 173 "python", |
| 169 "-u", | 174 "-u", |
| 170 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", | 175 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", |
| 171 "runhooks" | 176 "runhooks" |
| 172 ], | 177 ], |
| 178 "cwd": "[SLAVE_BUILD]", |
| 173 "env": { | 179 "env": { |
| 174 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | 180 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
| 175 "GYP_CHROMIUM_NO_ACTION": "1", | 181 "GYP_CHROMIUM_NO_ACTION": "1", |
| 176 "GYP_CROSSCOMPILE": "1", | 182 "GYP_CROSSCOMPILE": "1", |
| 177 "GYP_DEFINES": "OS=android component=static_library fastbuild=1 gomadir='[
ROOT]/b/build/slave/cache/cipd/goma' target_arch=arm test_isolation_mode=prepare
use_goma=1", | 183 "GYP_DEFINES": "OS=android component=static_library fastbuild=1 gomadir='[
CACHE]/cipd/goma' target_arch=arm test_isolation_mode=prepare use_goma=1", |
| 178 "PATH": "[CWD]/src/third_party/android_tools/sdk/platform-tools:[CWD]/src/
build/android:%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" | 184 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" |
| 179 }, | 185 }, |
| 180 "name": "gclient runhooks" | 186 "name": "gclient runhooks" |
| 181 }, | 187 }, |
| 182 { | 188 { |
| 183 "cmd": [ | 189 "cmd": [ |
| 184 "python", | 190 "python", |
| 185 "-u", | 191 "-u", |
| 186 "[CWD]/src/testing/scripts/get_compile_targets.py", | 192 "[SLAVE_BUILD]/src/testing/scripts/get_compile_targets.py", |
| 187 "--output", | 193 "--output", |
| 188 "/path/to/tmp/json", | 194 "/path/to/tmp/json", |
| 189 "--", | 195 "--", |
| 190 "--build-config-fs", | 196 "--build-config-fs", |
| 191 "Release", | 197 "Release", |
| 192 "--use-src-side-runtest-py", | 198 "--use-src-side-runtest-py", |
| 193 "--paths", | 199 "--paths", |
| 194 "{\"checkout\": \"[CWD]/src\", \"runit.py\": \"RECIPE_PACKAGE_REPO[build]/
scripts/tools/runit.py\", \"runtest.py\": \"RECIPE_PACKAGE_REPO[build]/scripts/s
lave/runtest.py\"}", | 200 "{\"checkout\": \"[SLAVE_BUILD]/src\", \"runit.py\": \"RECIPE_PACKAGE_REPO
[build]/scripts/tools/runit.py\", \"runtest.py\": \"RECIPE_PACKAGE_REPO[build]/s
cripts/slave/runtest.py\"}", |
| 195 "--properties", | 201 "--properties", |
| 196 "{\"buildername\": \"Android Tests\", \"buildnumber\": 571, \"mastername\"
: \"chromium.linux\", \"slavename\": \"TestSlavename\", \"target_platform\": \"a
ndroid\"}" | 202 "{\"buildername\": \"Android Tests\", \"buildnumber\": 571, \"mastername\"
: \"chromium.linux\", \"slavename\": \"TestSlavename\", \"target_platform\": \"a
ndroid\"}" |
| 197 ], | 203 ], |
| 204 "cwd": "[SLAVE_BUILD]", |
| 198 "name": "get compile targets for scripts", | 205 "name": "get compile targets for scripts", |
| 199 "~followup_annotations": [ | 206 "~followup_annotations": [ |
| 200 "@@@STEP_LOG_LINE@json.output@{}@@@", | 207 "@@@STEP_LOG_LINE@json.output@{}@@@", |
| 201 "@@@STEP_LOG_END@json.output@@@" | 208 "@@@STEP_LOG_END@json.output@@@" |
| 202 ] | 209 ] |
| 203 }, | 210 }, |
| 204 { | 211 { |
| 205 "cmd": [ | 212 "cmd": [ |
| 206 "python", | 213 "python", |
| 207 "-u", | 214 "-u", |
| 208 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", | 215 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", |
| 209 "[CWD]/src/testing/buildbot/chromium.linux.json", | 216 "[SLAVE_BUILD]/src/testing/buildbot/chromium.linux.json", |
| 210 "/path/to/tmp/json" | 217 "/path/to/tmp/json" |
| 211 ], | 218 ], |
| 219 "cwd": "[SLAVE_BUILD]", |
| 212 "name": "read test spec", | 220 "name": "read test spec", |
| 213 "~followup_annotations": [ | 221 "~followup_annotations": [ |
| 214 "@@@STEP_TEXT@path: [CWD]/src/testing/buildbot/chromium.linux.json@@@", | 222 "@@@STEP_TEXT@path: [SLAVE_BUILD]/src/testing/buildbot/chromium.linux.json
@@@", |
| 215 "@@@STEP_LOG_LINE@json.output@{@@@", | 223 "@@@STEP_LOG_LINE@json.output@{@@@", |
| 216 "@@@STEP_LOG_LINE@json.output@ \"Android Tests\": {@@@", | 224 "@@@STEP_LOG_LINE@json.output@ \"Android Tests\": {@@@", |
| 217 "@@@STEP_LOG_LINE@json.output@ \"gtest_tests\": [@@@", | 225 "@@@STEP_LOG_LINE@json.output@ \"gtest_tests\": [@@@", |
| 218 "@@@STEP_LOG_LINE@json.output@ {@@@", | 226 "@@@STEP_LOG_LINE@json.output@ {@@@", |
| 219 "@@@STEP_LOG_LINE@json.output@ \"swarming\": {@@@", | 227 "@@@STEP_LOG_LINE@json.output@ \"swarming\": {@@@", |
| 220 "@@@STEP_LOG_LINE@json.output@ \"can_use_on_swarming_builders\":
true@@@", | 228 "@@@STEP_LOG_LINE@json.output@ \"can_use_on_swarming_builders\":
true@@@", |
| 221 "@@@STEP_LOG_LINE@json.output@ }, @@@", | 229 "@@@STEP_LOG_LINE@json.output@ }, @@@", |
| 222 "@@@STEP_LOG_LINE@json.output@ \"test\": \"browser_tests\"@@@", | 230 "@@@STEP_LOG_LINE@json.output@ \"test\": \"browser_tests\"@@@", |
| 223 "@@@STEP_LOG_LINE@json.output@ }@@@", | 231 "@@@STEP_LOG_LINE@json.output@ }@@@", |
| 224 "@@@STEP_LOG_LINE@json.output@ ]@@@", | 232 "@@@STEP_LOG_LINE@json.output@ ]@@@", |
| 225 "@@@STEP_LOG_LINE@json.output@ }@@@", | 233 "@@@STEP_LOG_LINE@json.output@ }@@@", |
| 226 "@@@STEP_LOG_LINE@json.output@}@@@", | 234 "@@@STEP_LOG_LINE@json.output@}@@@", |
| 227 "@@@STEP_LOG_END@json.output@@@" | 235 "@@@STEP_LOG_END@json.output@@@" |
| 228 ] | 236 ] |
| 229 }, | 237 }, |
| 230 { | 238 { |
| 231 "cmd": [ | 239 "cmd": [ |
| 232 "python", | 240 "python", |
| 233 "-u", | 241 "-u", |
| 234 "RECIPE_PACKAGE_REPO[build]/scripts/tools/runit.py", | 242 "RECIPE_PACKAGE_REPO[build]/scripts/tools/runit.py", |
| 235 "--show-path", | 243 "--show-path", |
| 236 "python", | 244 "python", |
| 237 "RECIPE_PACKAGE_REPO[build]/scripts/slave/cleanup_temp.py" | 245 "RECIPE_PACKAGE_REPO[build]/scripts/slave/cleanup_temp.py" |
| 238 ], | 246 ], |
| 247 "cwd": "[SLAVE_BUILD]", |
| 239 "name": "cleanup_temp" | 248 "name": "cleanup_temp" |
| 240 }, | 249 }, |
| 241 { | 250 { |
| 242 "cmd": [ | 251 "cmd": [ |
| 243 "python", | 252 "python", |
| 244 "-u", | 253 "-u", |
| 245 "\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", | 254 "\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", |
| 246 "[CWD]/src/out/Release/debug_info_dumps", | 255 "[SLAVE_BUILD]/src/out/Release/debug_info_dumps", |
| 247 "[CWD]/src/out/Release/test_logs", | 256 "[SLAVE_BUILD]/src/out/Release/test_logs", |
| 248 "[CWD]/src/out/build_product.zip", | 257 "[SLAVE_BUILD]/src/out/build_product.zip", |
| 249 "[CWD]/src" | 258 "[SLAVE_BUILD]/src" |
| 250 ], | 259 ], |
| 260 "cwd": "[SLAVE_BUILD]", |
| 251 "name": "clean local files", | 261 "name": "clean local files", |
| 252 "~followup_annotations": [ | 262 "~followup_annotations": [ |
| 253 "@@@STEP_LOG_LINE@python.inline@@@@", | 263 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 254 "@@@STEP_LOG_LINE@python.inline@import shutil, sys, os@@@", | 264 "@@@STEP_LOG_LINE@python.inline@import shutil, sys, os@@@", |
| 255 "@@@STEP_LOG_LINE@python.inline@shutil.rmtree(sys.argv[1], True)@@@", | 265 "@@@STEP_LOG_LINE@python.inline@shutil.rmtree(sys.argv[1], True)@@@", |
| 256 "@@@STEP_LOG_LINE@python.inline@shutil.rmtree(sys.argv[2], True)@@@", | 266 "@@@STEP_LOG_LINE@python.inline@shutil.rmtree(sys.argv[2], True)@@@", |
| 257 "@@@STEP_LOG_LINE@python.inline@try:@@@", | 267 "@@@STEP_LOG_LINE@python.inline@try:@@@", |
| 258 "@@@STEP_LOG_LINE@python.inline@ os.remove(sys.argv[3])@@@", | 268 "@@@STEP_LOG_LINE@python.inline@ os.remove(sys.argv[3])@@@", |
| 259 "@@@STEP_LOG_LINE@python.inline@except OSError:@@@", | 269 "@@@STEP_LOG_LINE@python.inline@except OSError:@@@", |
| 260 "@@@STEP_LOG_LINE@python.inline@ pass@@@", | 270 "@@@STEP_LOG_LINE@python.inline@ pass@@@", |
| 261 "@@@STEP_LOG_LINE@python.inline@for base, _dirs, files in os.walk(sys.argv
[4]):@@@", | 271 "@@@STEP_LOG_LINE@python.inline@for base, _dirs, files in os.walk(sys.argv
[4]):@@@", |
| 262 "@@@STEP_LOG_LINE@python.inline@ for f in files:@@@", | 272 "@@@STEP_LOG_LINE@python.inline@ for f in files:@@@", |
| 263 "@@@STEP_LOG_LINE@python.inline@ if f.endswith('.pyc'):@@@", | 273 "@@@STEP_LOG_LINE@python.inline@ if f.endswith('.pyc'):@@@", |
| 264 "@@@STEP_LOG_LINE@python.inline@ os.remove(os.path.join(base, f))@@@"
, | 274 "@@@STEP_LOG_LINE@python.inline@ os.remove(os.path.join(base, f))@@@"
, |
| 265 "@@@STEP_LOG_END@python.inline@@@" | 275 "@@@STEP_LOG_END@python.inline@@@" |
| 266 ] | 276 ] |
| 267 }, | 277 }, |
| 268 { | 278 { |
| 269 "allow_subannotations": false, | 279 "allow_subannotations": false, |
| 270 "cmd": [ | 280 "cmd": [ |
| 271 "[CWD]/src/build/tree_truth.sh", | 281 "[SLAVE_BUILD]/src/build/tree_truth.sh", |
| 272 "[CWD]/src", | 282 "[SLAVE_BUILD]/src", |
| 273 "src" | 283 "src" |
| 274 ], | 284 ], |
| 285 "cwd": "[SLAVE_BUILD]", |
| 275 "name": "tree truth steps" | 286 "name": "tree truth steps" |
| 276 }, | 287 }, |
| 277 { | 288 { |
| 278 "cmd": [ | 289 "cmd": [ |
| 279 "python", | 290 "python", |
| 280 "-u", | 291 "-u", |
| 281 "\nimport os, sys\nfrom common import chromium_utils # Error? See https://
crbug.com/584783.\n\n\nif os.path.exists(sys.argv[1]):\n chromium_utils.RemoveD
irectory(sys.argv[1])\n", | 292 "\nimport os, sys\nfrom common import chromium_utils # Error? See https://
crbug.com/584783.\n\n\nif os.path.exists(sys.argv[1]):\n chromium_utils.RemoveD
irectory(sys.argv[1])\n", |
| 282 "[CWD]/src/out/Release" | 293 "[SLAVE_BUILD]/src/out/Release" |
| 283 ], | 294 ], |
| 295 "cwd": "[SLAVE_BUILD]", |
| 284 "name": "rmtree build directory", | 296 "name": "rmtree build directory", |
| 285 "~followup_annotations": [ | 297 "~followup_annotations": [ |
| 286 "@@@STEP_LOG_LINE@python.inline@@@@", | 298 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 287 "@@@STEP_LOG_LINE@python.inline@import os, sys@@@", | 299 "@@@STEP_LOG_LINE@python.inline@import os, sys@@@", |
| 288 "@@@STEP_LOG_LINE@python.inline@from common import chromium_utils # Error?
See https://crbug.com/584783.@@@", | 300 "@@@STEP_LOG_LINE@python.inline@from common import chromium_utils # Error?
See https://crbug.com/584783.@@@", |
| 289 "@@@STEP_LOG_LINE@python.inline@@@@", | 301 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 290 "@@@STEP_LOG_LINE@python.inline@@@@", | 302 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 291 "@@@STEP_LOG_LINE@python.inline@if os.path.exists(sys.argv[1]):@@@", | 303 "@@@STEP_LOG_LINE@python.inline@if os.path.exists(sys.argv[1]):@@@", |
| 292 "@@@STEP_LOG_LINE@python.inline@ chromium_utils.RemoveDirectory(sys.argv[
1])@@@", | 304 "@@@STEP_LOG_LINE@python.inline@ chromium_utils.RemoveDirectory(sys.argv[
1])@@@", |
| 293 "@@@STEP_LOG_END@python.inline@@@" | 305 "@@@STEP_LOG_END@python.inline@@@" |
| 294 ] | 306 ] |
| 295 }, | 307 }, |
| 296 { | 308 { |
| 297 "cmd": [ | 309 "cmd": [ |
| 298 "python", | 310 "python", |
| 299 "-u", | 311 "-u", |
| 300 "RECIPE_PACKAGE_REPO[build]/scripts/tools/runit.py", | 312 "RECIPE_PACKAGE_REPO[build]/scripts/tools/runit.py", |
| 301 "--show-path", | 313 "--show-path", |
| 302 "python", | 314 "python", |
| 303 "RECIPE_PACKAGE_REPO[build]/scripts/slave/extract_build.py", | 315 "RECIPE_PACKAGE_REPO[build]/scripts/slave/extract_build.py", |
| 304 "--target", | 316 "--target", |
| 305 "Release", | 317 "Release", |
| 306 "--build-archive-url", | 318 "--build-archive-url", |
| 307 "gs://test-domain/test-archive.zip", | 319 "gs://test-domain/test-archive.zip", |
| 308 "--master-name", | 320 "--master-name", |
| 309 "chromium.linux", | 321 "chromium.linux", |
| 310 "--build-number", | 322 "--build-number", |
| 311 "571" | 323 "571" |
| 312 ], | 324 ], |
| 325 "cwd": "[SLAVE_BUILD]", |
| 313 "name": "extract build" | 326 "name": "extract build" |
| 314 }, | 327 }, |
| 315 { | 328 { |
| 316 "cmd": [ | 329 "cmd": [ |
| 317 "python", | 330 "python", |
| 318 "-u", | 331 "-u", |
| 319 "RECIPE_MODULE[build::isolate]/resources/find_isolated_tests.py", | 332 "RECIPE_MODULE[build::isolate]/resources/find_isolated_tests.py", |
| 320 "--build-dir", | 333 "--build-dir", |
| 321 "[CWD]/src/out/Release", | 334 "[SLAVE_BUILD]/src/out/Release", |
| 322 "--output-json", | 335 "--output-json", |
| 323 "/path/to/tmp/json" | 336 "/path/to/tmp/json" |
| 324 ], | 337 ], |
| 338 "cwd": "[SLAVE_BUILD]", |
| 325 "name": "find isolated tests", | 339 "name": "find isolated tests", |
| 326 "~followup_annotations": [ | 340 "~followup_annotations": [ |
| 327 "@@@STEP_LOG_LINE@json.output@{@@@", | 341 "@@@STEP_LOG_LINE@json.output@{@@@", |
| 328 "@@@STEP_LOG_LINE@json.output@ \"dummy_target_1\": \"[dummy hash for dumm
y_target_1]\", @@@", | 342 "@@@STEP_LOG_LINE@json.output@ \"dummy_target_1\": \"[dummy hash for dumm
y_target_1]\", @@@", |
| 329 "@@@STEP_LOG_LINE@json.output@ \"dummy_target_2\": \"[dummy hash for dumm
y_target_2]\"@@@", | 343 "@@@STEP_LOG_LINE@json.output@ \"dummy_target_2\": \"[dummy hash for dumm
y_target_2]\"@@@", |
| 330 "@@@STEP_LOG_LINE@json.output@}@@@", | 344 "@@@STEP_LOG_LINE@json.output@}@@@", |
| 331 "@@@STEP_LOG_END@json.output@@@", | 345 "@@@STEP_LOG_END@json.output@@@", |
| 332 "@@@SET_BUILD_PROPERTY@swarm_hashes@{\"dummy_target_1\": \"[dummy hash for
dummy_target_1]\", \"dummy_target_2\": \"[dummy hash for dummy_target_2]\"}@@@" | 346 "@@@SET_BUILD_PROPERTY@swarm_hashes@{\"dummy_target_1\": \"[dummy hash for
dummy_target_1]\", \"dummy_target_2\": \"[dummy hash for dummy_target_2]\"}@@@" |
| 333 ] | 347 ] |
| 334 }, | 348 }, |
| 335 { | 349 { |
| 336 "cmd": [ | 350 "cmd": [ |
| 337 "python", | 351 "python", |
| 338 "-u", | 352 "-u", |
| 339 "RECIPE_MODULE[build::adb]/resources/list_devices.py", | 353 "RECIPE_MODULE[build::adb]/resources/list_devices.py", |
| 340 "['[CWD]/src/third_party/android_tools/sdk/platform-tools/adb', 'devices']
", | 354 "['[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb', 'd
evices']", |
| 341 "/path/to/tmp/json" | 355 "/path/to/tmp/json" |
| 342 ], | 356 ], |
| 357 "cwd": "[SLAVE_BUILD]", |
| 343 "name": "List adb devices", | 358 "name": "List adb devices", |
| 344 "~followup_annotations": [ | 359 "~followup_annotations": [ |
| 345 "@@@STEP_LOG_LINE@json.output@[@@@", | 360 "@@@STEP_LOG_LINE@json.output@[@@@", |
| 346 "@@@STEP_LOG_LINE@json.output@ \"014E1F310401C009\"@@@", | 361 "@@@STEP_LOG_LINE@json.output@ \"014E1F310401C009\"@@@", |
| 347 "@@@STEP_LOG_LINE@json.output@]@@@", | 362 "@@@STEP_LOG_LINE@json.output@]@@@", |
| 348 "@@@STEP_LOG_END@json.output@@@" | 363 "@@@STEP_LOG_END@json.output@@@" |
| 349 ] | 364 ] |
| 350 }, | 365 }, |
| 351 { | 366 { |
| 352 "cmd": [ | 367 "cmd": [ |
| 353 "python", | 368 "python", |
| 354 "-u", | 369 "-u", |
| 355 "\nimport subprocess\nimport sys\nadb_path = sys.argv[1]\nfor device in sy
s.argv[2:]:\n print 'Attempting to root device %s ...' % (device)\n subprocess
.check_call([adb_path, '-s', device, 'root'])\n subprocess.check_call([adb_path
, '-s', device, 'wait-for-device'])\n print 'Finished rooting device %s' % (dev
ice)\n", | 370 "\nimport subprocess\nimport sys\nadb_path = sys.argv[1]\nfor device in sy
s.argv[2:]:\n print 'Attempting to root device %s ...' % (device)\n subprocess
.check_call([adb_path, '-s', device, 'root'])\n subprocess.check_call([adb_path
, '-s', device, 'wait-for-device'])\n print 'Finished rooting device %s' % (dev
ice)\n", |
| 356 "[CWD]/src/third_party/android_tools/sdk/platform-tools/adb", | 371 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb", |
| 357 "014E1F310401C009" | 372 "014E1F310401C009" |
| 358 ], | 373 ], |
| 374 "cwd": "[SLAVE_BUILD]", |
| 359 "name": "Root devices", | 375 "name": "Root devices", |
| 360 "~followup_annotations": [ | 376 "~followup_annotations": [ |
| 361 "@@@STEP_LOG_LINE@python.inline@@@@", | 377 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 362 "@@@STEP_LOG_LINE@python.inline@import subprocess@@@", | 378 "@@@STEP_LOG_LINE@python.inline@import subprocess@@@", |
| 363 "@@@STEP_LOG_LINE@python.inline@import sys@@@", | 379 "@@@STEP_LOG_LINE@python.inline@import sys@@@", |
| 364 "@@@STEP_LOG_LINE@python.inline@adb_path = sys.argv[1]@@@", | 380 "@@@STEP_LOG_LINE@python.inline@adb_path = sys.argv[1]@@@", |
| 365 "@@@STEP_LOG_LINE@python.inline@for device in sys.argv[2:]:@@@", | 381 "@@@STEP_LOG_LINE@python.inline@for device in sys.argv[2:]:@@@", |
| 366 "@@@STEP_LOG_LINE@python.inline@ print 'Attempting to root device %s ...'
% (device)@@@", | 382 "@@@STEP_LOG_LINE@python.inline@ print 'Attempting to root device %s ...'
% (device)@@@", |
| 367 "@@@STEP_LOG_LINE@python.inline@ subprocess.check_call([adb_path, '-s', d
evice, 'root'])@@@", | 383 "@@@STEP_LOG_LINE@python.inline@ subprocess.check_call([adb_path, '-s', d
evice, 'root'])@@@", |
| 368 "@@@STEP_LOG_LINE@python.inline@ subprocess.check_call([adb_path, '-s', d
evice, 'wait-for-device'])@@@", | 384 "@@@STEP_LOG_LINE@python.inline@ subprocess.check_call([adb_path, '-s', d
evice, 'wait-for-device'])@@@", |
| 369 "@@@STEP_LOG_LINE@python.inline@ print 'Finished rooting device %s' % (de
vice)@@@", | 385 "@@@STEP_LOG_LINE@python.inline@ print 'Finished rooting device %s' % (de
vice)@@@", |
| 370 "@@@STEP_LOG_END@python.inline@@@" | 386 "@@@STEP_LOG_END@python.inline@@@" |
| 371 ] | 387 ] |
| 372 }, | 388 }, |
| 373 { | 389 { |
| 374 "cmd": [ | 390 "cmd": [ |
| 375 "python", | 391 "python", |
| 376 "-u", | 392 "-u", |
| 377 "\nimport sys\nprint '*.isolated file for target %s is missing' % sys.argv
[1]\nsys.exit(1)\n", | 393 "\nimport sys\nprint '*.isolated file for target %s is missing' % sys.argv
[1]\nsys.exit(1)\n", |
| 378 "browser_tests_apk" | 394 "browser_tests_apk" |
| 379 ], | 395 ], |
| 396 "cwd": "[SLAVE_BUILD]", |
| 380 "name": "[error] browser_tests", | 397 "name": "[error] browser_tests", |
| 381 "~followup_annotations": [ | 398 "~followup_annotations": [ |
| 382 "@@@STEP_LOG_LINE@python.inline@@@@", | 399 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 383 "@@@STEP_LOG_LINE@python.inline@import sys@@@", | 400 "@@@STEP_LOG_LINE@python.inline@import sys@@@", |
| 384 "@@@STEP_LOG_LINE@python.inline@print '*.isolated file for target %s is mi
ssing' % sys.argv[1]@@@", | 401 "@@@STEP_LOG_LINE@python.inline@print '*.isolated file for target %s is mi
ssing' % sys.argv[1]@@@", |
| 385 "@@@STEP_LOG_LINE@python.inline@sys.exit(1)@@@", | 402 "@@@STEP_LOG_LINE@python.inline@sys.exit(1)@@@", |
| 386 "@@@STEP_LOG_END@python.inline@@@" | 403 "@@@STEP_LOG_END@python.inline@@@" |
| 387 ] | 404 ] |
| 388 }, | 405 }, |
| 389 { | 406 { |
| 390 "cmd": [ | 407 "cmd": [ |
| 391 "python", | 408 "python", |
| 392 "-u", | 409 "-u", |
| 393 "\nimport sys\nprint '%s wasn\\'t triggered' % sys.argv[1]\nsys.exit(1)\n"
, | 410 "\nimport sys\nprint '%s wasn\\'t triggered' % sys.argv[1]\nsys.exit(1)\n"
, |
| 394 "browser_tests" | 411 "browser_tests" |
| 395 ], | 412 ], |
| 413 "cwd": "[SLAVE_BUILD]", |
| 396 "name": "[collect error] browser_tests", | 414 "name": "[collect error] browser_tests", |
| 397 "~followup_annotations": [ | 415 "~followup_annotations": [ |
| 398 "@@@STEP_LOG_LINE@python.inline@@@@", | 416 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 399 "@@@STEP_LOG_LINE@python.inline@import sys@@@", | 417 "@@@STEP_LOG_LINE@python.inline@import sys@@@", |
| 400 "@@@STEP_LOG_LINE@python.inline@print '%s wasn\\'t triggered' % sys.argv[1
]@@@", | 418 "@@@STEP_LOG_LINE@python.inline@print '%s wasn\\'t triggered' % sys.argv[1
]@@@", |
| 401 "@@@STEP_LOG_LINE@python.inline@sys.exit(1)@@@", | 419 "@@@STEP_LOG_LINE@python.inline@sys.exit(1)@@@", |
| 402 "@@@STEP_LOG_END@python.inline@@@" | 420 "@@@STEP_LOG_END@python.inline@@@" |
| 403 ] | 421 ] |
| 404 }, | 422 }, |
| 405 { | 423 { |
| 406 "cmd": [ | 424 "cmd": [ |
| 407 "python", | 425 "python", |
| 408 "-u", | 426 "-u", |
| 409 "\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", | 427 "\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", |
| 410 "[CWD]/src/out/Release/test_logs/*.log" | 428 "[SLAVE_BUILD]/src/out/Release/test_logs/*.log" |
| 411 ], | 429 ], |
| 430 "cwd": "[SLAVE_BUILD]", |
| 412 "name": "test_report", | 431 "name": "test_report", |
| 413 "~followup_annotations": [ | 432 "~followup_annotations": [ |
| 414 "@@@STEP_LOG_LINE@python.inline@@@@", | 433 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 415 "@@@STEP_LOG_LINE@python.inline@import glob, os, sys@@@", | 434 "@@@STEP_LOG_LINE@python.inline@import glob, os, sys@@@", |
| 416 "@@@STEP_LOG_LINE@python.inline@for report in glob.glob(sys.argv[1]):@@@", | 435 "@@@STEP_LOG_LINE@python.inline@for report in glob.glob(sys.argv[1]):@@@", |
| 417 "@@@STEP_LOG_LINE@python.inline@ with open(report, 'r') as f:@@@", | 436 "@@@STEP_LOG_LINE@python.inline@ with open(report, 'r') as f:@@@", |
| 418 "@@@STEP_LOG_LINE@python.inline@ for l in f.readlines():@@@", | 437 "@@@STEP_LOG_LINE@python.inline@ for l in f.readlines():@@@", |
| 419 "@@@STEP_LOG_LINE@python.inline@ print l@@@", | 438 "@@@STEP_LOG_LINE@python.inline@ print l@@@", |
| 420 "@@@STEP_LOG_LINE@python.inline@ os.remove(report)@@@", | 439 "@@@STEP_LOG_LINE@python.inline@ os.remove(report)@@@", |
| 421 "@@@STEP_LOG_END@python.inline@@@" | 440 "@@@STEP_LOG_END@python.inline@@@" |
| 422 ] | 441 ] |
| 423 }, | 442 }, |
| 424 { | 443 { |
| 425 "name": "$result", | 444 "name": "$result", |
| 426 "recipe_result": null, | 445 "recipe_result": null, |
| 427 "status_code": 0 | 446 "status_code": 0 |
| 428 } | 447 } |
| 429 ] | 448 ] |
| OLD | NEW |