| OLD | NEW |
| 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]", | |
| 13 "name": "clean_build", | 12 "name": "clean_build", |
| 14 "~followup_annotations": [ | 13 "~followup_annotations": [ |
| 15 "@@@STEP_LOG_LINE@python.inline@@@@", | 14 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 16 "@@@STEP_LOG_LINE@python.inline@import os, sys, shutil@@@", | 15 "@@@STEP_LOG_LINE@python.inline@import os, sys, shutil@@@", |
| 17 "@@@STEP_LOG_LINE@python.inline@root = sys.argv[1]@@@", | 16 "@@@STEP_LOG_LINE@python.inline@root = sys.argv[1]@@@", |
| 18 "@@@STEP_LOG_LINE@python.inline@nuke_dirs = sys.argv[2:]@@@", | 17 "@@@STEP_LOG_LINE@python.inline@nuke_dirs = sys.argv[2:]@@@", |
| 19 "@@@STEP_LOG_LINE@python.inline@for fname in os.listdir(root):@@@", | 18 "@@@STEP_LOG_LINE@python.inline@for fname in os.listdir(root):@@@", |
| 20 "@@@STEP_LOG_LINE@python.inline@ path = os.path.join(root, fname)@@@", | 19 "@@@STEP_LOG_LINE@python.inline@ path = os.path.join(root, fname)@@@", |
| 21 "@@@STEP_LOG_LINE@python.inline@ if os.path.isfile(path):@@@", | 20 "@@@STEP_LOG_LINE@python.inline@ if os.path.isfile(path):@@@", |
| 22 "@@@STEP_LOG_LINE@python.inline@ os.unlink(path)@@@", | 21 "@@@STEP_LOG_LINE@python.inline@ os.unlink(path)@@@", |
| 23 "@@@STEP_LOG_LINE@python.inline@ elif fname in nuke_dirs:@@@", | 22 "@@@STEP_LOG_LINE@python.inline@ elif fname in nuke_dirs:@@@", |
| 24 "@@@STEP_LOG_LINE@python.inline@ shutil.rmtree(path)@@@", | 23 "@@@STEP_LOG_LINE@python.inline@ shutil.rmtree(path)@@@", |
| 25 "@@@STEP_LOG_END@python.inline@@@" | 24 "@@@STEP_LOG_END@python.inline@@@" |
| 26 ] | 25 ] |
| 27 }, | 26 }, |
| 28 { | 27 { |
| 29 "cmd": [ | 28 "cmd": [ |
| 30 "python", | 29 "python", |
| 31 "-u", | 30 "-u", |
| 32 "RECIPE_MODULE[depot_tools::git]/resources/git_setup.py", | 31 "RECIPE_MODULE[depot_tools::git]/resources/git_setup.py", |
| 33 "--path", | 32 "--path", |
| 34 "[SLAVE_BUILD]/android_tools", | 33 "[SLAVE_BUILD]/android_tools", |
| 35 "--url", | 34 "--url", |
| 36 "https://chromium.googlesource.com/android_tools" | 35 "https://chromium.googlesource.com/android_tools" |
| 37 ], | 36 ], |
| 38 "cwd": "[SLAVE_BUILD]", | |
| 39 "name": "git setup" | 37 "name": "git setup" |
| 40 }, | 38 }, |
| 41 { | 39 { |
| 42 "cmd": [ | 40 "cmd": [ |
| 43 "git", | 41 "git", |
| 44 "retry", | 42 "retry", |
| 45 "fetch", | 43 "fetch", |
| 46 "origin", | 44 "origin", |
| 47 "master", | 45 "master", |
| 48 "--recurse-submodules" | 46 "--recurse-submodules" |
| (...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 107 { | 105 { |
| 108 "cmd": [ | 106 "cmd": [ |
| 109 "python", | 107 "python", |
| 110 "-u", | 108 "-u", |
| 111 "RECIPE_MODULE[depot_tools::git]/resources/git_setup.py", | 109 "RECIPE_MODULE[depot_tools::git]/resources/git_setup.py", |
| 112 "--path", | 110 "--path", |
| 113 "[SLAVE_BUILD]/libvpx", | 111 "[SLAVE_BUILD]/libvpx", |
| 114 "--url", | 112 "--url", |
| 115 "https://chromium.googlesource.com/webm/libvpx" | 113 "https://chromium.googlesource.com/webm/libvpx" |
| 116 ], | 114 ], |
| 117 "cwd": "[SLAVE_BUILD]", | |
| 118 "name": "git setup (2)" | 115 "name": "git setup (2)" |
| 119 }, | 116 }, |
| 120 { | 117 { |
| 121 "cmd": [ | 118 "cmd": [ |
| 122 "git", | 119 "git", |
| 123 "retry", | 120 "retry", |
| 124 "fetch", | 121 "fetch", |
| 125 "origin", | 122 "origin", |
| 126 "master", | 123 "master", |
| 127 "--recurse-submodules" | 124 "--recurse-submodules" |
| (...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 204 "--enable-vp9-encoder", | 201 "--enable-vp9-encoder", |
| 205 "--enable-decode-perf-tests", | 202 "--enable-decode-perf-tests", |
| 206 "--enable-external-build", | 203 "--enable-external-build", |
| 207 "--enable-vp8-decoder", | 204 "--enable-vp8-decoder", |
| 208 "--enable-vp9-decoder", | 205 "--enable-vp9-decoder", |
| 209 "--enable-encode-perf-tests", | 206 "--enable-encode-perf-tests", |
| 210 "--disable-realtime-only", | 207 "--disable-realtime-only", |
| 211 "--sdk-path=[SLAVE_BUILD]/android_tools/ndk", | 208 "--sdk-path=[SLAVE_BUILD]/android_tools/ndk", |
| 212 "--target=armv7-android-gcc" | 209 "--target=armv7-android-gcc" |
| 213 ], | 210 ], |
| 214 "cwd": "[SLAVE_BUILD]", | |
| 215 "name": "configure" | 211 "name": "configure" |
| 216 }, | 212 }, |
| 217 { | 213 { |
| 218 "cmd": [ | 214 "cmd": [ |
| 219 "[SLAVE_BUILD]/android_tools/ndk/ndk-build", | 215 "[SLAVE_BUILD]/android_tools/ndk/ndk-build", |
| 220 "APP_BUILD_SCRIPT=[SLAVE_BUILD]/libvpx/test/android/Android.mk", | 216 "APP_BUILD_SCRIPT=[SLAVE_BUILD]/libvpx/test/android/Android.mk", |
| 221 "APP_ABI=armeabi-v7a", | 217 "APP_ABI=armeabi-v7a", |
| 222 "APP_PLATFORM=android-14", | 218 "APP_PLATFORM=android-14", |
| 223 "APP_OPTIM=release", | 219 "APP_OPTIM=release", |
| 224 "APP_STL=gnustl_static" | 220 "APP_STL=gnustl_static" |
| 225 ], | 221 ], |
| 226 "cwd": "[SLAVE_BUILD]", | |
| 227 "env": { | 222 "env": { |
| 228 "NDK_PROJECT_PATH": "[SLAVE_BUILD]" | 223 "NDK_PROJECT_PATH": "[SLAVE_BUILD]" |
| 229 }, | 224 }, |
| 230 "name": "ndk-build" | 225 "name": "ndk-build" |
| 231 }, | 226 }, |
| 232 { | 227 { |
| 233 "cmd": [ | 228 "cmd": [ |
| 234 "python", | 229 "python", |
| 235 "-u", | 230 "-u", |
| 236 "[SLAVE_BUILD]/libvpx/test/android/get_files.py", | 231 "[SLAVE_BUILD]/libvpx/test/android/get_files.py", |
| 237 "-i", | 232 "-i", |
| 238 "[SLAVE_BUILD]/libvpx/test/test-data.sha1", | 233 "[SLAVE_BUILD]/libvpx/test/test-data.sha1", |
| 239 "-o", | 234 "-o", |
| 240 "[SLAVE_BUILD]/test_data", | 235 "[SLAVE_BUILD]/test_data", |
| 241 "-u", | 236 "-u", |
| 242 "http://downloads.webmproject.org/test_data/libvpx" | 237 "http://downloads.webmproject.org/test_data/libvpx" |
| 243 ], | 238 ], |
| 244 "cwd": "[SLAVE_BUILD]", | |
| 245 "name": "get_files" | 239 "name": "get_files" |
| 246 }, | 240 }, |
| 247 { | 241 { |
| 248 "cmd": [ | 242 "cmd": [ |
| 249 "python", | 243 "python", |
| 250 "-u", | 244 "-u", |
| 251 "[BUILD]/scripts/slave/android/transfer_files.py", | 245 "[BUILD]/scripts/slave/android/transfer_files.py", |
| 252 "[SLAVE_BUILD]/android_tools/sdk/platform-tools/adb", | 246 "[SLAVE_BUILD]/android_tools/sdk/platform-tools/adb", |
| 253 "/data/local/tmp", | 247 "/data/local/tmp", |
| 254 "[SLAVE_BUILD]/test_data" | 248 "[SLAVE_BUILD]/test_data" |
| 255 ], | 249 ], |
| 256 "cwd": "[SLAVE_BUILD]", | |
| 257 "name": "transfer_files" | 250 "name": "transfer_files" |
| 258 }, | 251 }, |
| 259 { | 252 { |
| 260 "cmd": [ | 253 "cmd": [ |
| 261 "[SLAVE_BUILD]/android_tools/sdk/platform-tools/adb", | 254 "[SLAVE_BUILD]/android_tools/sdk/platform-tools/adb", |
| 262 "push", | 255 "push", |
| 263 "[SLAVE_BUILD]/libs/armeabi-v7a", | 256 "[SLAVE_BUILD]/libs/armeabi-v7a", |
| 264 "/data/local/tmp" | 257 "/data/local/tmp" |
| 265 ], | 258 ], |
| 266 "cwd": "[SLAVE_BUILD]", | |
| 267 "name": "push_so" | 259 "name": "push_so" |
| 268 }, | 260 }, |
| 269 { | 261 { |
| 270 "cmd": [ | 262 "cmd": [ |
| 271 "python", | 263 "python", |
| 272 "-u", | 264 "-u", |
| 273 "\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", | 265 "\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", |
| 274 "/path/to/tmp/", | 266 "/path/to/tmp/", |
| 275 "[SLAVE_BUILD]/android_tools/sdk/platform-tools/adb", | 267 "[SLAVE_BUILD]/android_tools/sdk/platform-tools/adb", |
| 276 "shell", | 268 "shell", |
| 277 "LD_LIBRARY_PATH=/data/local/tmp", | 269 "LD_LIBRARY_PATH=/data/local/tmp", |
| 278 "LIBVPX_TEST_DATA_PATH=/data/local/tmp", | 270 "LIBVPX_TEST_DATA_PATH=/data/local/tmp", |
| 279 "/data/local/tmp/vpx_test", | 271 "/data/local/tmp/vpx_test", |
| 280 "--gtest_filter=-*Large*" | 272 "--gtest_filter=-*Large*" |
| 281 ], | 273 ], |
| 282 "cwd": "[SLAVE_BUILD]", | |
| 283 "name": "adb_wrap", | 274 "name": "adb_wrap", |
| 284 "~followup_annotations": [ | 275 "~followup_annotations": [ |
| 285 "@@@STEP_LOG_LINE@python.inline@@@@", | 276 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 286 "@@@STEP_LOG_LINE@python.inline@import sys, subprocess, time@@@", | 277 "@@@STEP_LOG_LINE@python.inline@import sys, subprocess, time@@@", |
| 287 "@@@STEP_LOG_LINE@python.inline@out = open(sys.argv[1], \"w\")@@@", | 278 "@@@STEP_LOG_LINE@python.inline@out = open(sys.argv[1], \"w\")@@@", |
| 288 "@@@STEP_LOG_LINE@python.inline@p = subprocess.Popen(sys.argv[2:], stdout=
out)@@@", | 279 "@@@STEP_LOG_LINE@python.inline@p = subprocess.Popen(sys.argv[2:], stdout=
out)@@@", |
| 289 "@@@STEP_LOG_LINE@python.inline@while p.poll() is None:@@@", | 280 "@@@STEP_LOG_LINE@python.inline@while p.poll() is None:@@@", |
| 290 "@@@STEP_LOG_LINE@python.inline@ print \"Still working\"@@@", | 281 "@@@STEP_LOG_LINE@python.inline@ print \"Still working\"@@@", |
| 291 "@@@STEP_LOG_LINE@python.inline@ time.sleep(60)@@@", | 282 "@@@STEP_LOG_LINE@python.inline@ time.sleep(60)@@@", |
| 292 "@@@STEP_LOG_LINE@python.inline@print \"done\"@@@", | 283 "@@@STEP_LOG_LINE@python.inline@print \"done\"@@@", |
| 293 "@@@STEP_LOG_LINE@python.inline@sys.exit(p.returncode)@@@", | 284 "@@@STEP_LOG_LINE@python.inline@sys.exit(p.returncode)@@@", |
| 294 "@@@STEP_LOG_END@python.inline@@@" | 285 "@@@STEP_LOG_END@python.inline@@@" |
| 295 ] | 286 ] |
| 296 }, | 287 }, |
| 297 { | 288 { |
| 298 "cmd": [ | 289 "cmd": [ |
| 299 "python", | 290 "python", |
| 300 "-u", | 291 "-u", |
| 301 "[SLAVE_BUILD]/libvpx/test/android/scrape_gtest_log.py", | 292 "[SLAVE_BUILD]/libvpx/test/android/scrape_gtest_log.py", |
| 302 "--output-json", | 293 "--output-json", |
| 303 "/path/to/tmp/json" | 294 "/path/to/tmp/json" |
| 304 ], | 295 ], |
| 305 "cwd": "[SLAVE_BUILD]", | |
| 306 "name": "scrape_logs", | 296 "name": "scrape_logs", |
| 307 "stdin": "This is text with json inside normally", | 297 "stdin": "This is text with json inside normally", |
| 308 "~followup_annotations": [ | 298 "~followup_annotations": [ |
| 309 "@@@STEP_LOG_LINE@json.output@[@@@", | 299 "@@@STEP_LOG_LINE@json.output@[@@@", |
| 310 "@@@STEP_LOG_LINE@json.output@ {@@@", | 300 "@@@STEP_LOG_LINE@json.output@ {@@@", |
| 311 "@@@STEP_LOG_LINE@json.output@ \"decodeTimeSecs\": 29.344307, @@@", | 301 "@@@STEP_LOG_LINE@json.output@ \"decodeTimeSecs\": 29.344307, @@@", |
| 312 "@@@STEP_LOG_LINE@json.output@ \"framesPerSecond\": 609.82868, @@@", | 302 "@@@STEP_LOG_LINE@json.output@ \"framesPerSecond\": 609.82868, @@@", |
| 313 "@@@STEP_LOG_LINE@json.output@ \"threadCount\": 1, @@@", | 303 "@@@STEP_LOG_LINE@json.output@ \"threadCount\": 1, @@@", |
| 314 "@@@STEP_LOG_LINE@json.output@ \"totalFrames\": 17895, @@@", | 304 "@@@STEP_LOG_LINE@json.output@ \"totalFrames\": 17895, @@@", |
| 315 "@@@STEP_LOG_LINE@json.output@ \"type\": \"decode_perf_test\", @@@", | 305 "@@@STEP_LOG_LINE@json.output@ \"type\": \"decode_perf_test\", @@@", |
| (...skipping 14 matching lines...) Expand all Loading... |
| 330 "@@@STEP_LOG_LINE@json.output@]@@@", | 320 "@@@STEP_LOG_LINE@json.output@]@@@", |
| 331 "@@@STEP_LOG_END@json.output@@@" | 321 "@@@STEP_LOG_END@json.output@@@" |
| 332 ] | 322 ] |
| 333 }, | 323 }, |
| 334 { | 324 { |
| 335 "cmd": [ | 325 "cmd": [ |
| 336 "python", | 326 "python", |
| 337 "-u", | 327 "-u", |
| 338 "RECIPE_MODULE[build::perf_dashboard]/resources/post_json.py" | 328 "RECIPE_MODULE[build::perf_dashboard]/resources/post_json.py" |
| 339 ], | 329 ], |
| 340 "cwd": "[SLAVE_BUILD]", | |
| 341 "name": "perf dashboard post", | 330 "name": "perf dashboard post", |
| 342 "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\"}" | 331 "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\"}" |
| 343 }, | 332 }, |
| 344 { | 333 { |
| 345 "name": "$result", | 334 "name": "$result", |
| 346 "recipe_result": null, | 335 "recipe_result": null, |
| 347 "status_code": 0 | 336 "status_code": 0 |
| 348 } | 337 } |
| 349 ] | 338 ] |
| OLD | NEW |