| 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.fyi", | 8 "chromium.fyi", |
| 9 "--builder", | 9 "--builder", |
| 10 "Disable settings after launch emulator", | 10 "DevTools", |
| 11 "--slave", | 11 "--slave", |
| 12 "TestSlavename", | 12 "TestSlavename", |
| 13 "--spec", | 13 "--spec", |
| 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']", | 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'}]", |
| 15 "--root", | 15 "--root", |
| 16 "src", | 16 "src", |
| 17 "--revision_mapping_file", | 17 "--revision_mapping_file", |
| 18 "{\"src\": \"got_revision\", \"src/buildtools\": \"got_buildtools_revision
\", \"src/native_client\": \"got_nacl_revision\", \"src/third_party/angle\": \"g
ot_angle_revision\", \"src/third_party/webrtc\": \"got_webrtc_revision\", \"src/
tools/swarming_client\": \"got_swarming_client_revision\", \"src/v8\": \"got_v8_
revision\"}", | 18 "{\"src\": \"got_revision\", \"src/buildtools\": \"got_buildtools_revision
\", \"src/native_client\": \"got_nacl_revision\", \"src/third_party/angle\": \"g
ot_angle_revision\", \"src/third_party/webrtc\": \"got_webrtc_revision\", \"src/
tools/swarming_client\": \"got_swarming_client_revision\", \"src/v8\": \"got_v8_
revision\"}", |
| 19 "--git-cache-dir", | 19 "--git-cache-dir", |
| 20 "[GIT_CACHE]", | 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@HEAD", | 24 "src@HEAD", |
| 25 "--force", |
| 25 "--output_manifest" | 26 "--output_manifest" |
| 26 ], | 27 ], |
| 27 "env": { | 28 "env": { |
| 28 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" | 29 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" |
| 29 }, | 30 }, |
| 30 "name": "bot_update", | 31 "name": "bot_update", |
| 31 "~followup_annotations": [ | 32 "~followup_annotations": [ |
| 32 "@@@STEP_TEXT@Some step text@@@", | 33 "@@@STEP_TEXT@Some step text@@@", |
| 33 "@@@STEP_LOG_LINE@json.output@{@@@", | 34 "@@@STEP_LOG_LINE@json.output@{@@@", |
| 34 "@@@STEP_LOG_LINE@json.output@ \"did_run\": true, @@@", | 35 "@@@STEP_LOG_LINE@json.output@ \"did_run\": true, @@@", |
| (...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 98 "@@@SET_BUILD_PROPERTY@got_v8_revision_cp@\"refs/heads/master@{#43426}\"@@
@", | 99 "@@@SET_BUILD_PROPERTY@got_v8_revision_cp@\"refs/heads/master@{#43426}\"@@
@", |
| 99 "@@@SET_BUILD_PROPERTY@got_swarming_client_revision_cp@\"refs/heads/master
@{#276089}\"@@@", | 100 "@@@SET_BUILD_PROPERTY@got_swarming_client_revision_cp@\"refs/heads/master
@{#276089}\"@@@", |
| 100 "@@@SET_BUILD_PROPERTY@got_webrtc_revision_cp@\"refs/heads/master@{#120644
}\"@@@", | 101 "@@@SET_BUILD_PROPERTY@got_webrtc_revision_cp@\"refs/heads/master@{#120644
}\"@@@", |
| 101 "@@@SET_BUILD_PROPERTY@got_revision_cp@\"refs/heads/master@{#170242}\"@@@"
, | 102 "@@@SET_BUILD_PROPERTY@got_revision_cp@\"refs/heads/master@{#170242}\"@@@"
, |
| 102 "@@@SET_BUILD_PROPERTY@got_angle_revision_cp@\"refs/heads/master@{#297276}
\"@@@", | 103 "@@@SET_BUILD_PROPERTY@got_angle_revision_cp@\"refs/heads/master@{#297276}
\"@@@", |
| 103 "@@@SET_BUILD_PROPERTY@got_buildtools_revision@\"f0319a328b2809876916353cb
994259692140934\"@@@" | 104 "@@@SET_BUILD_PROPERTY@got_buildtools_revision@\"f0319a328b2809876916353cb
994259692140934\"@@@" |
| 104 ] | 105 ] |
| 105 }, | 106 }, |
| 106 { | 107 { |
| 107 "cmd": [ | 108 "cmd": [ |
| 109 "git", |
| 110 "diff", |
| 111 "--cached", |
| 112 "--name-only" |
| 113 ], |
| 114 "cwd": "[SLAVE_BUILD]/src", |
| 115 "name": "git diff to analyze patch", |
| 116 "stdout": "/path/to/tmp/", |
| 117 "~followup_annotations": [ |
| 118 "@@@STEP_LOG_LINE@files@third_party/WebKit/Source/devtools/fake.js@@@", |
| 119 "@@@STEP_LOG_END@files@@@" |
| 120 ] |
| 121 }, |
| 122 { |
| 123 "cmd": [ |
| 108 "python", | 124 "python", |
| 109 "-u", | 125 "-u", |
| 110 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", | 126 "[SLAVE_BUILD]/src/third_party/WebKit/Source/devtools/scripts/buildbot/npm
.py", |
| 111 "runhooks" | 127 "--version" |
| 112 ], | 128 ], |
| 113 "cwd": "[SLAVE_BUILD]/src", | 129 "name": "install node.js and npm" |
| 114 "env": { | |
| 115 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | |
| 116 "GYP_CROSSCOMPILE": "1", | |
| 117 "GYP_DEFINES": "OS=android component=static_library fastbuild=1 gomadir='[
BUILD]/goma' target_arch=ia32 use_goma=1", | |
| 118 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" | |
| 119 }, | |
| 120 "name": "gclient runhooks" | |
| 121 }, | 130 }, |
| 122 { | 131 { |
| 123 "cmd": [ | 132 "cmd": [ |
| 124 "python", | 133 "python", |
| 125 "-u", | 134 "-u", |
| 126 "[SLAVE_BUILD]/src/build/android/install_emulator_deps.py", | 135 "RECIPE_MODULE[depot_tools::git]/resources/git_setup.py", |
| 127 "--api-level", | 136 "--path", |
| 128 "23" | 137 "[SLAVE_BUILD]/src/third_party/WebKit/Source/devtools/npm_modules", |
| 138 "--url", |
| 139 "https://chromium.googlesource.com/deps/third_party/npm_modules" |
| 129 ], | 140 ], |
| 130 "name": "[emulator] installing emulator deps" | 141 "name": "git setup" |
| 131 }, | 142 }, |
| 132 { | 143 { |
| 133 "cmd": [ | 144 "cmd": [ |
| 134 "RECIPE_PACKAGE_REPO[build]/scripts/slave/daemonizer.py", | 145 "git", |
| 135 "--", | 146 "retry", |
| 136 "[SLAVE_BUILD]/src/build/android/avd.py", | 147 "fetch", |
| 137 "run", | 148 "origin", |
| 138 "--abi", | 149 "master" |
| 139 "x86", | |
| 140 "--api-level", | |
| 141 "23", | |
| 142 "--num", | |
| 143 "1", | |
| 144 "--headless", | |
| 145 "--enable-kvm", | |
| 146 "--partition-size", | |
| 147 "1024M", | |
| 148 "--sdcard-size", | |
| 149 "512M" | |
| 150 ], | 150 ], |
| 151 "name": "[emulator] spawn 1 emulator (abi x86, api_level 23)" | 151 "cwd": "[SLAVE_BUILD]/src/third_party/WebKit/Source/devtools/npm_modules", |
| 152 "env": { |
| 153 "PATH": "RECIPE_PACKAGE_REPO[depot_tools]:%(PATH)s" |
| 154 }, |
| 155 "name": "git fetch" |
| 156 }, |
| 157 { |
| 158 "cmd": [ |
| 159 "git", |
| 160 "checkout", |
| 161 "-f", |
| 162 "FETCH_HEAD" |
| 163 ], |
| 164 "cwd": "[SLAVE_BUILD]/src/third_party/WebKit/Source/devtools/npm_modules", |
| 165 "name": "git checkout" |
| 166 }, |
| 167 { |
| 168 "cmd": [ |
| 169 "git", |
| 170 "rev-parse", |
| 171 "HEAD" |
| 172 ], |
| 173 "cwd": "[SLAVE_BUILD]/src/third_party/WebKit/Source/devtools/npm_modules", |
| 174 "name": "read revision", |
| 175 "stdout": "/path/to/tmp/", |
| 176 "~followup_annotations": [ |
| 177 "@@@STEP_TEXT@<br/>checked out 'deadbeef'<br/>@@@" |
| 178 ] |
| 179 }, |
| 180 { |
| 181 "cmd": [ |
| 182 "git", |
| 183 "clean", |
| 184 "-f", |
| 185 "-d", |
| 186 "-x" |
| 187 ], |
| 188 "cwd": "[SLAVE_BUILD]/src/third_party/WebKit/Source/devtools/npm_modules", |
| 189 "name": "git clean" |
| 190 }, |
| 191 { |
| 192 "cmd": [ |
| 193 "git", |
| 194 "submodule", |
| 195 "sync" |
| 196 ], |
| 197 "cwd": "[SLAVE_BUILD]/src/third_party/WebKit/Source/devtools/npm_modules", |
| 198 "name": "submodule sync" |
| 199 }, |
| 200 { |
| 201 "cmd": [ |
| 202 "git", |
| 203 "submodule", |
| 204 "update", |
| 205 "--init", |
| 206 "--recursive" |
| 207 ], |
| 208 "cwd": "[SLAVE_BUILD]/src/third_party/WebKit/Source/devtools/npm_modules", |
| 209 "name": "submodule update" |
| 152 }, | 210 }, |
| 153 { | 211 { |
| 154 "cmd": [ | 212 "cmd": [ |
| 155 "python", | 213 "python", |
| 156 "-u", | 214 "-u", |
| 157 "[SLAVE_BUILD]/src/build/android/avd.py", | 215 "RECIPE_MODULE[recipe_engine::shutil]/resources/rmtree.py", |
| 158 "wait", | 216 "[SLAVE_BUILD]/src/third_party/WebKit/Source/devtools/node_modules" |
| 159 "-n", | |
| 160 "1" | |
| 161 ], | 217 ], |
| 162 "name": "[emulator] wait for 1 emulators to complete booting" | 218 "name": "rmtree [SLAVE_BUILD]/src/third_party/WebKit/Source/devtools/node_mo
dules" |
| 163 }, | 219 }, |
| 164 { | 220 { |
| 165 "cmd": [ | 221 "cmd": [ |
| 166 "python", | 222 "python", |
| 167 "-u", | 223 "-u", |
| 168 "[SLAVE_BUILD]/src/build/android/provision_devices.py", | 224 "\nimport shutil\nimport sys\nshutil.copytree(sys.argv[1], sys.argv[2], sy
mlinks=bool(sys.argv[3]))\n", |
| 169 "--adb-path", | 225 "[SLAVE_BUILD]/src/third_party/WebKit/Source/devtools/npm_modules/devtools
/node_modules", |
| 170 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb", | 226 "[SLAVE_BUILD]/src/third_party/WebKit/Source/devtools/node_modules", |
| 171 "--blacklist-file", | 227 "0" |
| 172 "[SLAVE_BUILD]/src/out/bad_devices.json", | |
| 173 "--output-device-blacklist", | |
| 174 "/path/to/tmp/json", | |
| 175 "-t", | |
| 176 "Debug", | |
| 177 "--emulators" | |
| 178 ], | 228 ], |
| 179 "env": { | 229 "name": "copy npm modules" |
| 180 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | |
| 181 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | |
| 182 }, | |
| 183 "name": "provision_devices" | |
| 184 }, | 230 }, |
| 185 { | 231 { |
| 186 "cmd": [ | 232 "cmd": [ |
| 187 "python", | 233 "python", |
| 188 "-u", | 234 "-u", |
| 189 "[SLAVE_BUILD]/src/out/Debug/bin/run_sample_test", | 235 "[SLAVE_BUILD]/src/third_party/WebKit/Source/devtools/scripts/buildbot/npm
.py", |
| 190 "--blacklist-file", | 236 "run", |
| 191 "[SLAVE_BUILD]/src/out/bad_devices.json", | 237 "lint" |
| 192 "--verbose", | |
| 193 "--isolate_file_path=sample_isolate_file", | |
| 194 "--adb-path", | |
| 195 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb" | |
| 196 ], | 238 ], |
| 197 "env": { | 239 "cwd": "[SLAVE_BUILD]/src/third_party/WebKit/Source/devtools", |
| 198 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | 240 "name": "run eslint" |
| 199 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | |
| 200 }, | |
| 201 "name": "sample_test" | |
| 202 }, | |
| 203 { | |
| 204 "cmd": [ | |
| 205 "python", | |
| 206 "-u", | |
| 207 "[SLAVE_BUILD]/src/build/android/avd.py", | |
| 208 "kill" | |
| 209 ], | |
| 210 "name": "[emulator] killing all emulators" | |
| 211 }, | |
| 212 { | |
| 213 "cmd": [ | |
| 214 "python", | |
| 215 "-u", | |
| 216 "[SLAVE_BUILD]/src/build/android/avd.py", | |
| 217 "delete" | |
| 218 ], | |
| 219 "name": "[emulator] deleting all temp avds after running" | |
| 220 }, | 241 }, |
| 221 { | 242 { |
| 222 "name": "$result", | 243 "name": "$result", |
| 223 "recipe_result": null, | 244 "recipe_result": null, |
| 224 "status_code": 0 | 245 "status_code": 0 |
| 225 } | 246 } |
| 226 ] | 247 ] |
| OLD | NEW |