Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(58)

Side by Side Diff: scripts/slave/recipes/libvpx/android_unittests.expected/basic_linux_64.json

Issue 1115453002: Recipes: make cwd default to slave_build (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: rebase Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 [ 1 [
2 { 2 {
3 "cmd": [ 3 "cmd": [
4 "python", 4 "python",
5 "-u", 5 "-u",
6 "\nimport os, sys, shutil\nroot = sys.argv[1]\nnuke_dirs = sys.argv[2:]\nf or fname in os.listdir(root):\n path = os.path.join(root, fname)\n if os.path. isfile(path):\n os.unlink(path)\n elif fname in nuke_dirs:\n shutil.rmtre e(path)\n", 6 "\nimport os, sys, shutil\nroot = sys.argv[1]\nnuke_dirs = sys.argv[2:]\nf or fname in os.listdir(root):\n path = os.path.join(root, fname)\n if os.path. isfile(path):\n os.unlink(path)\n elif fname in nuke_dirs:\n shutil.rmtre e(path)\n",
7 "[SLAVE_BUILD]", 7 "[SLAVE_BUILD]",
8 "libs", 8 "libs",
9 "obj", 9 "obj",
10 "armeabi-v7a" 10 "armeabi-v7a"
11 ], 11 ],
12 "cwd": "[SLAVE_BUILD]",
12 "name": "clean_build", 13 "name": "clean_build",
13 "~followup_annotations": [ 14 "~followup_annotations": [
14 "@@@STEP_LOG_LINE@python.inline@@@@", 15 "@@@STEP_LOG_LINE@python.inline@@@@",
15 "@@@STEP_LOG_LINE@python.inline@import os, sys, shutil@@@", 16 "@@@STEP_LOG_LINE@python.inline@import os, sys, shutil@@@",
16 "@@@STEP_LOG_LINE@python.inline@root = sys.argv[1]@@@", 17 "@@@STEP_LOG_LINE@python.inline@root = sys.argv[1]@@@",
17 "@@@STEP_LOG_LINE@python.inline@nuke_dirs = sys.argv[2:]@@@", 18 "@@@STEP_LOG_LINE@python.inline@nuke_dirs = sys.argv[2:]@@@",
18 "@@@STEP_LOG_LINE@python.inline@for fname in os.listdir(root):@@@", 19 "@@@STEP_LOG_LINE@python.inline@for fname in os.listdir(root):@@@",
19 "@@@STEP_LOG_LINE@python.inline@ path = os.path.join(root, fname)@@@", 20 "@@@STEP_LOG_LINE@python.inline@ path = os.path.join(root, fname)@@@",
20 "@@@STEP_LOG_LINE@python.inline@ if os.path.isfile(path):@@@", 21 "@@@STEP_LOG_LINE@python.inline@ if os.path.isfile(path):@@@",
21 "@@@STEP_LOG_LINE@python.inline@ os.unlink(path)@@@", 22 "@@@STEP_LOG_LINE@python.inline@ os.unlink(path)@@@",
22 "@@@STEP_LOG_LINE@python.inline@ elif fname in nuke_dirs:@@@", 23 "@@@STEP_LOG_LINE@python.inline@ elif fname in nuke_dirs:@@@",
23 "@@@STEP_LOG_LINE@python.inline@ shutil.rmtree(path)@@@", 24 "@@@STEP_LOG_LINE@python.inline@ shutil.rmtree(path)@@@",
24 "@@@STEP_LOG_END@python.inline@@@" 25 "@@@STEP_LOG_END@python.inline@@@"
25 ] 26 ]
26 }, 27 },
27 { 28 {
28 "cmd": [ 29 "cmd": [
29 "python", 30 "python",
30 "-u", 31 "-u",
31 "[BUILD]/scripts/slave/git_setup.py", 32 "[BUILD]/scripts/slave/git_setup.py",
32 "--path", 33 "--path",
33 "[SLAVE_BUILD]/android_tools", 34 "[SLAVE_BUILD]/android_tools",
34 "--url", 35 "--url",
35 "https://chromium.googlesource.com/android_tools" 36 "https://chromium.googlesource.com/android_tools"
36 ], 37 ],
38 "cwd": "[SLAVE_BUILD]",
37 "name": "git setup" 39 "name": "git setup"
38 }, 40 },
39 { 41 {
40 "cmd": [ 42 "cmd": [
41 "git", 43 "git",
42 "retry", 44 "retry",
43 "fetch", 45 "fetch",
44 "origin", 46 "origin",
45 "master", 47 "master",
46 "--recurse-submodules" 48 "--recurse-submodules"
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
92 { 94 {
93 "cmd": [ 95 "cmd": [
94 "python", 96 "python",
95 "-u", 97 "-u",
96 "[BUILD]/scripts/slave/git_setup.py", 98 "[BUILD]/scripts/slave/git_setup.py",
97 "--path", 99 "--path",
98 "[SLAVE_BUILD]/libvpx", 100 "[SLAVE_BUILD]/libvpx",
99 "--url", 101 "--url",
100 "https://chromium.googlesource.com/webm/libvpx" 102 "https://chromium.googlesource.com/webm/libvpx"
101 ], 103 ],
104 "cwd": "[SLAVE_BUILD]",
102 "name": "git setup (2)" 105 "name": "git setup (2)"
103 }, 106 },
104 { 107 {
105 "cmd": [ 108 "cmd": [
106 "git", 109 "git",
107 "retry", 110 "retry",
108 "fetch", 111 "fetch",
109 "origin", 112 "origin",
110 "master", 113 "master",
111 "--recurse-submodules" 114 "--recurse-submodules"
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
175 "--enable-vp9-encoder", 178 "--enable-vp9-encoder",
176 "--enable-decode-perf-tests", 179 "--enable-decode-perf-tests",
177 "--enable-external-build", 180 "--enable-external-build",
178 "--enable-vp8-decoder", 181 "--enable-vp8-decoder",
179 "--enable-vp9-decoder", 182 "--enable-vp9-decoder",
180 "--enable-encode-perf-tests", 183 "--enable-encode-perf-tests",
181 "--disable-realtime-only", 184 "--disable-realtime-only",
182 "--sdk-path=[SLAVE_BUILD]/android_tools/ndk", 185 "--sdk-path=[SLAVE_BUILD]/android_tools/ndk",
183 "--target=armv7-android-gcc" 186 "--target=armv7-android-gcc"
184 ], 187 ],
188 "cwd": "[SLAVE_BUILD]",
185 "name": "configure" 189 "name": "configure"
186 }, 190 },
187 { 191 {
188 "cmd": [ 192 "cmd": [
189 "[SLAVE_BUILD]/android_tools/ndk/ndk-build", 193 "[SLAVE_BUILD]/android_tools/ndk/ndk-build",
190 "APP_BUILD_SCRIPT=[SLAVE_BUILD]/libvpx/test/android/Android.mk", 194 "APP_BUILD_SCRIPT=[SLAVE_BUILD]/libvpx/test/android/Android.mk",
191 "APP_ABI=armeabi-v7a", 195 "APP_ABI=armeabi-v7a",
192 "APP_PLATFORM=android-14", 196 "APP_PLATFORM=android-14",
193 "APP_OPTIM=release", 197 "APP_OPTIM=release",
194 "APP_STL=gnustl_static" 198 "APP_STL=gnustl_static"
195 ], 199 ],
200 "cwd": "[SLAVE_BUILD]",
196 "env": { 201 "env": {
197 "NDK_PROJECT_PATH": "[SLAVE_BUILD]" 202 "NDK_PROJECT_PATH": "[SLAVE_BUILD]"
198 }, 203 },
199 "name": "ndk-build" 204 "name": "ndk-build"
200 }, 205 },
201 { 206 {
202 "cmd": [ 207 "cmd": [
203 "python", 208 "python",
204 "-u", 209 "-u",
205 "[SLAVE_BUILD]/libvpx/test/android/get_files.py", 210 "[SLAVE_BUILD]/libvpx/test/android/get_files.py",
206 "-i", 211 "-i",
207 "[SLAVE_BUILD]/libvpx/test/test-data.sha1", 212 "[SLAVE_BUILD]/libvpx/test/test-data.sha1",
208 "-o", 213 "-o",
209 "[SLAVE_BUILD]/test_data", 214 "[SLAVE_BUILD]/test_data",
210 "-u", 215 "-u",
211 "http://downloads.webmproject.org/test_data/libvpx" 216 "http://downloads.webmproject.org/test_data/libvpx"
212 ], 217 ],
218 "cwd": "[SLAVE_BUILD]",
213 "name": "get_files" 219 "name": "get_files"
214 }, 220 },
215 { 221 {
216 "cmd": [ 222 "cmd": [
217 "python", 223 "python",
218 "-u", 224 "-u",
219 "[BUILD]/scripts/slave/android/transfer_files.py", 225 "[BUILD]/scripts/slave/android/transfer_files.py",
220 "[SLAVE_BUILD]/android_tools/sdk/platform-tools/adb", 226 "[SLAVE_BUILD]/android_tools/sdk/platform-tools/adb",
221 "/data/local/tmp", 227 "/data/local/tmp",
222 "[SLAVE_BUILD]/test_data" 228 "[SLAVE_BUILD]/test_data"
223 ], 229 ],
230 "cwd": "[SLAVE_BUILD]",
224 "name": "transfer_files" 231 "name": "transfer_files"
225 }, 232 },
226 { 233 {
227 "cmd": [ 234 "cmd": [
228 "[SLAVE_BUILD]/android_tools/sdk/platform-tools/adb", 235 "[SLAVE_BUILD]/android_tools/sdk/platform-tools/adb",
229 "push", 236 "push",
230 "[SLAVE_BUILD]/libs/armeabi-v7a", 237 "[SLAVE_BUILD]/libs/armeabi-v7a",
231 "/data/local/tmp" 238 "/data/local/tmp"
232 ], 239 ],
240 "cwd": "[SLAVE_BUILD]",
233 "name": "push_so" 241 "name": "push_so"
234 }, 242 },
235 { 243 {
236 "cmd": [ 244 "cmd": [
237 "python", 245 "python",
238 "-u", 246 "-u",
239 "\nimport sys, subprocess, time\nout = open(sys.argv[1], \"w\")\np = subpr ocess.Popen(sys.argv[2:], stdout=out)\nwhile p.poll() is None:\n print \"Stil l working\"\n time.sleep(60)\nprint \"done\"\nsys.exit(p.returncode)\n", 247 "\nimport sys, subprocess, time\nout = open(sys.argv[1], \"w\")\np = subpr ocess.Popen(sys.argv[2:], stdout=out)\nwhile p.poll() is None:\n print \"Stil l working\"\n time.sleep(60)\nprint \"done\"\nsys.exit(p.returncode)\n",
240 "/path/to/tmp/", 248 "/path/to/tmp/",
241 "[SLAVE_BUILD]/android_tools/sdk/platform-tools/adb", 249 "[SLAVE_BUILD]/android_tools/sdk/platform-tools/adb",
242 "shell", 250 "shell",
243 "LD_LIBRARY_PATH=/data/local/tmp", 251 "LD_LIBRARY_PATH=/data/local/tmp",
244 "LIBVPX_TEST_DATA_PATH=/data/local/tmp", 252 "LIBVPX_TEST_DATA_PATH=/data/local/tmp",
245 "/data/local/tmp/vpx_test", 253 "/data/local/tmp/vpx_test",
246 "--gtest_filter=-*Large*" 254 "--gtest_filter=-*Large*"
247 ], 255 ],
256 "cwd": "[SLAVE_BUILD]",
248 "name": "adb_wrap", 257 "name": "adb_wrap",
249 "~followup_annotations": [ 258 "~followup_annotations": [
250 "@@@STEP_LOG_LINE@python.inline@@@@", 259 "@@@STEP_LOG_LINE@python.inline@@@@",
251 "@@@STEP_LOG_LINE@python.inline@import sys, subprocess, time@@@", 260 "@@@STEP_LOG_LINE@python.inline@import sys, subprocess, time@@@",
252 "@@@STEP_LOG_LINE@python.inline@out = open(sys.argv[1], \"w\")@@@", 261 "@@@STEP_LOG_LINE@python.inline@out = open(sys.argv[1], \"w\")@@@",
253 "@@@STEP_LOG_LINE@python.inline@p = subprocess.Popen(sys.argv[2:], stdout= out)@@@", 262 "@@@STEP_LOG_LINE@python.inline@p = subprocess.Popen(sys.argv[2:], stdout= out)@@@",
254 "@@@STEP_LOG_LINE@python.inline@while p.poll() is None:@@@", 263 "@@@STEP_LOG_LINE@python.inline@while p.poll() is None:@@@",
255 "@@@STEP_LOG_LINE@python.inline@ print \"Still working\"@@@", 264 "@@@STEP_LOG_LINE@python.inline@ print \"Still working\"@@@",
256 "@@@STEP_LOG_LINE@python.inline@ time.sleep(60)@@@", 265 "@@@STEP_LOG_LINE@python.inline@ time.sleep(60)@@@",
257 "@@@STEP_LOG_LINE@python.inline@print \"done\"@@@", 266 "@@@STEP_LOG_LINE@python.inline@print \"done\"@@@",
258 "@@@STEP_LOG_LINE@python.inline@sys.exit(p.returncode)@@@", 267 "@@@STEP_LOG_LINE@python.inline@sys.exit(p.returncode)@@@",
259 "@@@STEP_LOG_END@python.inline@@@" 268 "@@@STEP_LOG_END@python.inline@@@"
260 ] 269 ]
261 }, 270 },
262 { 271 {
263 "cmd": [ 272 "cmd": [
264 "python", 273 "python",
265 "-u", 274 "-u",
266 "[SLAVE_BUILD]/libvpx/test/android/scrape_gtest_log.py", 275 "[SLAVE_BUILD]/libvpx/test/android/scrape_gtest_log.py",
267 "--output-json", 276 "--output-json",
268 "/path/to/tmp/json" 277 "/path/to/tmp/json"
269 ], 278 ],
279 "cwd": "[SLAVE_BUILD]",
270 "name": "scrape_logs", 280 "name": "scrape_logs",
271 "stdin": "This is text with json inside normally", 281 "stdin": "This is text with json inside normally",
272 "~followup_annotations": [ 282 "~followup_annotations": [
273 "@@@STEP_LOG_LINE@json.output@[@@@", 283 "@@@STEP_LOG_LINE@json.output@[@@@",
274 "@@@STEP_LOG_LINE@json.output@ {@@@", 284 "@@@STEP_LOG_LINE@json.output@ {@@@",
275 "@@@STEP_LOG_LINE@json.output@ \"decodeTimeSecs\": 29.344307, @@@", 285 "@@@STEP_LOG_LINE@json.output@ \"decodeTimeSecs\": 29.344307, @@@",
276 "@@@STEP_LOG_LINE@json.output@ \"framesPerSecond\": 609.82868, @@@", 286 "@@@STEP_LOG_LINE@json.output@ \"framesPerSecond\": 609.82868, @@@",
277 "@@@STEP_LOG_LINE@json.output@ \"threadCount\": 1, @@@", 287 "@@@STEP_LOG_LINE@json.output@ \"threadCount\": 1, @@@",
278 "@@@STEP_LOG_LINE@json.output@ \"totalFrames\": 17895, @@@", 288 "@@@STEP_LOG_LINE@json.output@ \"totalFrames\": 17895, @@@",
279 "@@@STEP_LOG_LINE@json.output@ \"type\": \"decode_perf_test\", @@@", 289 "@@@STEP_LOG_LINE@json.output@ \"type\": \"decode_perf_test\", @@@",
(...skipping 14 matching lines...) Expand all
294 "@@@STEP_LOG_LINE@json.output@]@@@", 304 "@@@STEP_LOG_LINE@json.output@]@@@",
295 "@@@STEP_LOG_END@json.output@@@" 305 "@@@STEP_LOG_END@json.output@@@"
296 ] 306 ]
297 }, 307 },
298 { 308 {
299 "cmd": [ 309 "cmd": [
300 "python", 310 "python",
301 "-u", 311 "-u",
302 "RECIPE_MODULE[perf_dashboard]/resources/post_json.py" 312 "RECIPE_MODULE[perf_dashboard]/resources/post_json.py"
303 ], 313 ],
314 "cwd": "[SLAVE_BUILD]",
304 "name": "perf dashboard post", 315 "name": "perf dashboard post",
305 "stdin": "{\"data\": [{\"bot\": \"libvpx-bot\", \"buildername\": \"Nexus 5 B uilder\", \"buildnumber\": \"75\", \"master\": \"client.libvpx\", \"masterid\": \"client.libvpx\", \"revision\": \"42\", \"test\": \"libvpx/decode/perf_test/nex us_5/vp90-2-bbb_426x240_tile_1x1_180kbps.webm_1\", \"units\": \"fps\", \"value\" : 609.82868}, {\"bot\": \"libvpx-bot\", \"buildername\": \"Nexus 5 Builder\", \" buildnumber\": \"75\", \"master\": \"client.libvpx\", \"masterid\": \"client.lib vpx\", \"revision\": \"42\", \"test\": \"libvpx/encode/perf_test/fps/nexus_5/vp9 0-2-bbb_640x360_tile_1x2_337kbps.webm_5\", \"units\": \"fps\", \"value\": 317.97 6883}, {\"bot\": \"libvpx-bot\", \"buildername\": \"Nexus 5 Builder\", \"buildnu mber\": \"75\", \"master\": \"client.libvpx\", \"masterid\": \"client.libvpx\", \"revision\": \"42\", \"test\": \"libvpx/encode/perf_test/minPsnr/nexus_5/vp90-2 -bbb_640x360_tile_1x2_337kbps.webm_5\", \"units\": \"dB\", \"value\": 43.5}], \" url\": \"https://chromeperf.appspot.com/add_point\"}" 316 "stdin": "{\"data\": [{\"bot\": \"libvpx-bot\", \"buildername\": \"Nexus 5 B uilder\", \"buildnumber\": \"75\", \"master\": \"client.libvpx\", \"masterid\": \"client.libvpx\", \"revision\": \"42\", \"test\": \"libvpx/decode/perf_test/nex us_5/vp90-2-bbb_426x240_tile_1x1_180kbps.webm_1\", \"units\": \"fps\", \"value\" : 609.82868}, {\"bot\": \"libvpx-bot\", \"buildername\": \"Nexus 5 Builder\", \" buildnumber\": \"75\", \"master\": \"client.libvpx\", \"masterid\": \"client.lib vpx\", \"revision\": \"42\", \"test\": \"libvpx/encode/perf_test/fps/nexus_5/vp9 0-2-bbb_640x360_tile_1x2_337kbps.webm_5\", \"units\": \"fps\", \"value\": 317.97 6883}, {\"bot\": \"libvpx-bot\", \"buildername\": \"Nexus 5 Builder\", \"buildnu mber\": \"75\", \"master\": \"client.libvpx\", \"masterid\": \"client.libvpx\", \"revision\": \"42\", \"test\": \"libvpx/encode/perf_test/minPsnr/nexus_5/vp90-2 -bbb_640x360_tile_1x2_337kbps.webm_5\", \"units\": \"dB\", \"value\": 43.5}], \" url\": \"https://chromeperf.appspot.com/add_point\"}"
306 } 317 }
307 ] 318 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698