| Index: scripts/slave/recipes/chromium.expected/dynamic_swarmed_sharded_passed_isolated_script_test.json
|
| diff --git a/scripts/slave/recipes/chromium.expected/dynamic_swarmed_sharded_passed_isolated_script_test.json b/scripts/slave/recipes/chromium.expected/dynamic_swarmed_sharded_passed_isolated_script_test.json
|
| index 6663cdc1b37f0efa8a068cbc87cd8c99ffa9dfb4..aec70e6e0f324d7b4d8fd91f0a7684828e69c14c 100644
|
| --- a/scripts/slave/recipes/chromium.expected/dynamic_swarmed_sharded_passed_isolated_script_test.json
|
| +++ b/scripts/slave/recipes/chromium.expected/dynamic_swarmed_sharded_passed_isolated_script_test.json
|
| @@ -5,7 +5,7 @@
|
| "-u",
|
| "RECIPE_MODULE[depot_tools::bot_update]/resources/bot_update.py",
|
| "--spec",
|
| - "cache_dir = '[GIT_CACHE]'\nsolutions = [{'deps_file': '.DEPS.git', 'managed': True, 'name': 'src', 'url': 'https://chromium.googlesource.com/chromium/src.git'}]",
|
| + "cache_dir = '[GIT_CACHE]'\nsolutions = [{'deps_file': '.DEPS.git', 'managed': True, 'name': 'src', 'url': 'https://chromium.googlesource.com/chromium/src.git'}, {'custom_deps': {'src/chrome/test/data/firefox2_profile/searchplugins': None, 'src/chrome/test/data/firefox2_searchplugins': None, 'src/chrome/test/data/firefox3_profile/searchplugins': None, 'src/chrome/test/data/firefox3_searchplugins': None, 'src/chrome/test/data/osdd': None, 'src/chrome/test/data/perf/frame_rate/private': None, 'src/chrome/test/data/plugin': None, 'src/chrome/test/data/ssl/certs': None, 'src/data/autodiscovery': None, 'src/data/esctf': None, 'src/data/mach_ports': None, 'src/data/memory_test': None, 'src/data/mozilla_js_tests': None, 'src/data/page_cycler': None, 'src/data/selenium_core': None, 'src/data/tab_switching': None, 'src/tools/grit/grit/test/data': None, 'src/webkit/data/bmp_decoder': None, 'src/webkit/data/ico_decoder': None, 'src/webkit/data/test_shell/plugins': None, 'src/webkit/data/xbm_decoder': None}, 'deps_file': '.DEPS.git', 'managed': True, 'name': 'src-internal', 'url': 'https://chrome-internal.googlesource.com/chrome/src-internal.git'}]\ntarget_os = ['android']",
|
| "--patch_root",
|
| "src",
|
| "--revision_mapping_file",
|
| @@ -159,19 +159,6 @@
|
| "cmd": [
|
| "python",
|
| "-u",
|
| - "[SLAVE_BUILD]/src/tools/swarming_client/swarming.py",
|
| - "--version"
|
| - ],
|
| - "name": "swarming.py --version",
|
| - "stdout": "/path/to/tmp/",
|
| - "~followup_annotations": [
|
| - "@@@STEP_TEXT@0.8.6@@@"
|
| - ]
|
| - },
|
| - {
|
| - "cmd": [
|
| - "python",
|
| - "-u",
|
| "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py",
|
| "runhooks"
|
| ],
|
| @@ -179,8 +166,9 @@
|
| "env": {
|
| "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account-goma-client.json",
|
| "GYP_CHROMIUM_NO_ACTION": "1",
|
| - "GYP_DEFINES": "component=static_library gomadir='[CACHE]/cipd/goma' target_arch=x64 test_isolation_mode=prepare use_goma=1",
|
| - "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]"
|
| + "GYP_CROSSCOMPILE": "1",
|
| + "GYP_DEFINES": "OS=android branding=Chrome buildtype=Official component=static_library fastbuild=1 gomadir='[CACHE]/cipd/goma' target_arch=arm use_goma=1",
|
| + "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[SLAVE_BUILD]/src/build/android:%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]"
|
| },
|
| "name": "gclient runhooks"
|
| },
|
| @@ -194,11 +182,10 @@
|
| "--",
|
| "--build-config-fs",
|
| "Release",
|
| - "--use-src-side-runtest-py",
|
| "--paths",
|
| "{\"checkout\": \"[SLAVE_BUILD]/src\", \"runit.py\": \"RECIPE_PACKAGE_REPO[build]/scripts/tools/runit.py\", \"runtest.py\": \"RECIPE_PACKAGE_REPO[build]/scripts/slave/runtest.py\"}",
|
| "--properties",
|
| - "{\"buildername\": \"Linux Tests\", \"buildnumber\": \"1234\", \"mastername\": \"chromium.linux\", \"slavename\": \"TestSlavename\", \"target_platform\": \"linux\"}"
|
| + "{\"buildername\": \"Android Nexus5 Perf (1)\", \"buildnumber\": \"1234\", \"mastername\": \"chromium.perf\", \"perf-id\": \"android-nexus5\", \"results-url\": \"https://chromeperf.appspot.com\", \"slavename\": \"TestSlavename\", \"target_platform\": \"android\"}"
|
| ],
|
| "name": "get compile targets for scripts",
|
| "~followup_annotations": [
|
| @@ -211,14 +198,14 @@
|
| "python",
|
| "-u",
|
| "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
|
| - "[SLAVE_BUILD]/src/testing/buildbot/chromium.linux.json",
|
| + "[SLAVE_BUILD]/src/testing/buildbot/chromium.perf.json",
|
| "/path/to/tmp/json"
|
| ],
|
| - "name": "read test spec (chromium.linux.json)",
|
| + "name": "read test spec (chromium.perf.json)",
|
| "~followup_annotations": [
|
| - "@@@STEP_TEXT@path: [SLAVE_BUILD]/src/testing/buildbot/chromium.linux.json@@@",
|
| + "@@@STEP_TEXT@path: [SLAVE_BUILD]/src/testing/buildbot/chromium.perf.json@@@",
|
| "@@@STEP_LOG_LINE@json.output@{@@@",
|
| - "@@@STEP_LOG_LINE@json.output@ \"Linux Tests\": {@@@",
|
| + "@@@STEP_LOG_LINE@json.output@ \"Android Nexus5 Perf\": {@@@",
|
| "@@@STEP_LOG_LINE@json.output@ \"isolated_scripts\": [@@@",
|
| "@@@STEP_LOG_LINE@json.output@ {@@@",
|
| "@@@STEP_LOG_LINE@json.output@ \"isolate_name\": \"telemetry_gpu_unittests\", @@@",
|
| @@ -249,6 +236,41 @@
|
| "cmd": [
|
| "python",
|
| "-u",
|
| + "\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\nfor base, _dirs, files in os.walk(sys.argv[4]):\n for f in files:\n if f.endswith('.pyc'):\n os.remove(os.path.join(base, f))\n",
|
| + "[SLAVE_BUILD]/src/out/Release/debug_info_dumps",
|
| + "[SLAVE_BUILD]/src/out/Release/test_logs",
|
| + "[SLAVE_BUILD]/src/out/build_product.zip",
|
| + "[SLAVE_BUILD]/src"
|
| + ],
|
| + "name": "clean local files",
|
| + "~followup_annotations": [
|
| + "@@@STEP_LOG_LINE@python.inline@@@@",
|
| + "@@@STEP_LOG_LINE@python.inline@import shutil, sys, os@@@",
|
| + "@@@STEP_LOG_LINE@python.inline@shutil.rmtree(sys.argv[1], True)@@@",
|
| + "@@@STEP_LOG_LINE@python.inline@shutil.rmtree(sys.argv[2], True)@@@",
|
| + "@@@STEP_LOG_LINE@python.inline@try:@@@",
|
| + "@@@STEP_LOG_LINE@python.inline@ os.remove(sys.argv[3])@@@",
|
| + "@@@STEP_LOG_LINE@python.inline@except OSError:@@@",
|
| + "@@@STEP_LOG_LINE@python.inline@ pass@@@",
|
| + "@@@STEP_LOG_LINE@python.inline@for base, _dirs, files in os.walk(sys.argv[4]):@@@",
|
| + "@@@STEP_LOG_LINE@python.inline@ for f in files:@@@",
|
| + "@@@STEP_LOG_LINE@python.inline@ if f.endswith('.pyc'):@@@",
|
| + "@@@STEP_LOG_LINE@python.inline@ os.remove(os.path.join(base, f))@@@",
|
| + "@@@STEP_LOG_END@python.inline@@@"
|
| + ]
|
| + },
|
| + {
|
| + "cmd": [
|
| + "[SLAVE_BUILD]/src/build/tree_truth.sh",
|
| + "[SLAVE_BUILD]/src",
|
| + "src"
|
| + ],
|
| + "name": "tree truth steps"
|
| + },
|
| + {
|
| + "cmd": [
|
| + "python",
|
| + "-u",
|
| "\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.RemoveDirectory(sys.argv[1])\n",
|
| "[SLAVE_BUILD]/src/out/Release"
|
| ],
|
| @@ -279,11 +301,11 @@
|
| "--src-dir",
|
| "[SLAVE_BUILD]/src",
|
| "--build-url",
|
| - "gs://chromium-linux-archive/chromium.linux/Linux Builder/full-build-linux.zip",
|
| + "gs://chrome-perf/Android Builder/full-build-linux.zip",
|
| "--build_revision",
|
| "f27fede2220bcd326aee3e86ddfd4ebd0fe58cb9",
|
| "--master-name",
|
| - "chromium.linux",
|
| + "chromium.perf",
|
| "--build-number",
|
| "1234"
|
| ],
|
| @@ -293,171 +315,571 @@
|
| "cmd": [
|
| "python",
|
| "-u",
|
| - "RECIPE_MODULE[build::isolate]/resources/find_isolated_tests.py",
|
| - "--build-dir",
|
| - "[SLAVE_BUILD]/src/out/Release",
|
| - "--output-json",
|
| - "/path/to/tmp/json"
|
| + "[SLAVE_BUILD]/src/build/symlink.py",
|
| + "-f",
|
| + "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb",
|
| + "~/adb"
|
| ],
|
| "env": {
|
| - "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account-goma-client.json"
|
| + "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account-goma-client.json",
|
| + "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[SLAVE_BUILD]/src/build/android:%(PATH)s"
|
| + },
|
| + "name": "create adb symlink"
|
| + },
|
| + {
|
| + "cmd": [
|
| + "RECIPE_PACKAGE_REPO[build]/scripts/slave/daemonizer.py",
|
| + "--",
|
| + "[SLAVE_BUILD]/src/build/android/adb_logcat_monitor.py",
|
| + "[SLAVE_BUILD]/src/out/logcat",
|
| + "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb"
|
| + ],
|
| + "env": {
|
| + "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account-goma-client.json",
|
| + "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[SLAVE_BUILD]/src/build/android:%(PATH)s"
|
| + },
|
| + "name": "spawn_logcat_monitor"
|
| + },
|
| + {
|
| + "cmd": [
|
| + "python",
|
| + "-u",
|
| + "RECIPE_PACKAGE_REPO[build]/scripts/slave/daemonizer.py",
|
| + "--action",
|
| + "restart",
|
| + "--pid-file-path",
|
| + "/tmp/device_monitor.pid",
|
| + "--",
|
| + "[SLAVE_BUILD]/src/third_party/catapult/devil/devil/android/tools/device_monitor.py",
|
| + "--adb-path",
|
| + "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb",
|
| + "--blacklist-file",
|
| + "[SLAVE_BUILD]/src/out/bad_devices.json"
|
| + ],
|
| + "env": {
|
| + "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account-goma-client.json",
|
| + "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[SLAVE_BUILD]/src/build/android:%(PATH)s"
|
| },
|
| - "name": "find isolated tests",
|
| + "name": "spawn_device_monitor"
|
| + },
|
| + {
|
| + "cmd": [
|
| + "python",
|
| + "-u",
|
| + "RECIPE_PACKAGE_REPO[build]/scripts/slave/android/authorize_adb_devices.py",
|
| + "--verbose",
|
| + "--adb-path",
|
| + "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb"
|
| + ],
|
| + "env": {
|
| + "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account-goma-client.json",
|
| + "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[SLAVE_BUILD]/src/build/android:%(PATH)s"
|
| + },
|
| + "name": "authorize_adb_devices"
|
| + },
|
| + {
|
| + "cmd": [
|
| + "[SLAVE_BUILD]/src/third_party/catapult/devil/devil/android/tools/device_recovery.py",
|
| + "--blacklist-file",
|
| + "[SLAVE_BUILD]/src/out/bad_devices.json",
|
| + "--known-devices-file",
|
| + "[HOME]/.android/known_devices.json",
|
| + "--adb-path",
|
| + "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb",
|
| + "-v",
|
| + "--enable-usb-reset"
|
| + ],
|
| + "env": {
|
| + "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account-goma-client.json",
|
| + "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[SLAVE_BUILD]/src/build/android:%(PATH)s"
|
| + },
|
| + "name": "device_recovery"
|
| + },
|
| + {
|
| + "cmd": [
|
| + "python",
|
| + "-u",
|
| + "[SLAVE_BUILD]/src/build/android/provision_devices.py",
|
| + "--adb-path",
|
| + "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb",
|
| + "--blacklist-file",
|
| + "[SLAVE_BUILD]/src/out/bad_devices.json",
|
| + "--output-device-blacklist",
|
| + "/path/to/tmp/json",
|
| + "-t",
|
| + "Release",
|
| + "--min-battery-level",
|
| + "95",
|
| + "--disable-network",
|
| + "--disable-java-debug",
|
| + "--max-battery-temp",
|
| + "350"
|
| + ],
|
| + "env": {
|
| + "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account-goma-client.json",
|
| + "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[SLAVE_BUILD]/src/build/android:%(PATH)s"
|
| + },
|
| + "name": "provision_devices"
|
| + },
|
| + {
|
| + "cmd": [
|
| + "[SLAVE_BUILD]/src/third_party/catapult/devil/devil/android/tools/device_status.py",
|
| + "--json-output",
|
| + "/path/to/tmp/json",
|
| + "--blacklist-file",
|
| + "[SLAVE_BUILD]/src/out/bad_devices.json",
|
| + "--known-devices-file",
|
| + "[HOME]/.android/known_devices.json",
|
| + "--buildbot-path",
|
| + "/home/chrome-bot/.adb_device_info",
|
| + "--adb-path",
|
| + "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb",
|
| + "-v",
|
| + "--overwrite-known-devices-files"
|
| + ],
|
| + "env": {
|
| + "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account-goma-client.json",
|
| + "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[SLAVE_BUILD]/src/build/android:%(PATH)s"
|
| + },
|
| + "name": "device_status",
|
| "~followup_annotations": [
|
| - "@@@STEP_LOG_LINE@json.output@{@@@",
|
| - "@@@STEP_LOG_LINE@json.output@ \"dummy_target_1\": \"[dummy hash for dummy_target_1]\", @@@",
|
| - "@@@STEP_LOG_LINE@json.output@ \"dummy_target_2\": \"[dummy hash for dummy_target_2]\"@@@",
|
| - "@@@STEP_LOG_LINE@json.output@}@@@",
|
| + "@@@STEP_TEXT@Online devices: 1@@@",
|
| + "@@@STEP_LOG_LINE@json.output@[@@@",
|
| + "@@@STEP_LOG_LINE@json.output@ {@@@",
|
| + "@@@STEP_LOG_LINE@json.output@ \"adb_status\": \"device\", @@@",
|
| + "@@@STEP_LOG_LINE@json.output@ \"battery\": {@@@",
|
| + "@@@STEP_LOG_LINE@json.output@ \"AC powered\": \"false\", @@@",
|
| + "@@@STEP_LOG_LINE@json.output@ \"USB powered\": \"true\", @@@",
|
| + "@@@STEP_LOG_LINE@json.output@ \"Wireless powered\": \"false\", @@@",
|
| + "@@@STEP_LOG_LINE@json.output@ \"health\": \"2\", @@@",
|
| + "@@@STEP_LOG_LINE@json.output@ \"level\": \"100\", @@@",
|
| + "@@@STEP_LOG_LINE@json.output@ \"present\": \"true\", @@@",
|
| + "@@@STEP_LOG_LINE@json.output@ \"scale\": \"100\", @@@",
|
| + "@@@STEP_LOG_LINE@json.output@ \"status\": \"5\", @@@",
|
| + "@@@STEP_LOG_LINE@json.output@ \"technology\": \"Li-ion\", @@@",
|
| + "@@@STEP_LOG_LINE@json.output@ \"temperature\": \"249\", @@@",
|
| + "@@@STEP_LOG_LINE@json.output@ \"voltage\": \"4286\"@@@",
|
| + "@@@STEP_LOG_LINE@json.output@ }, @@@",
|
| + "@@@STEP_LOG_LINE@json.output@ \"blacklisted\": false, @@@",
|
| + "@@@STEP_LOG_LINE@json.output@ \"build_detail\": \"google/razor/flo:5.0/LRX21O/1570415:userdebug/dev-keys\", @@@",
|
| + "@@@STEP_LOG_LINE@json.output@ \"imei_slice\": \"Unknown\", @@@",
|
| + "@@@STEP_LOG_LINE@json.output@ \"ro.build.id\": \"LRX21O\", @@@",
|
| + "@@@STEP_LOG_LINE@json.output@ \"ro.build.product\": \"product_name\", @@@",
|
| + "@@@STEP_LOG_LINE@json.output@ \"serial\": \"07a00ca4\", @@@",
|
| + "@@@STEP_LOG_LINE@json.output@ \"usb_status\": true, @@@",
|
| + "@@@STEP_LOG_LINE@json.output@ \"wifi_ip\": \"\"@@@",
|
| + "@@@STEP_LOG_LINE@json.output@ }, @@@",
|
| + "@@@STEP_LOG_LINE@json.output@ {@@@",
|
| + "@@@STEP_LOG_LINE@json.output@ \"adb_status\": \"offline\", @@@",
|
| + "@@@STEP_LOG_LINE@json.output@ \"blacklisted\": true, @@@",
|
| + "@@@STEP_LOG_LINE@json.output@ \"serial\": \"03e0363a003c6ad4\", @@@",
|
| + "@@@STEP_LOG_LINE@json.output@ \"usb_status\": false@@@",
|
| + "@@@STEP_LOG_LINE@json.output@ }, @@@",
|
| + "@@@STEP_LOG_LINE@json.output@ {@@@",
|
| + "@@@STEP_LOG_LINE@json.output@ \"adb_status\": \"unauthorized\", @@@",
|
| + "@@@STEP_LOG_LINE@json.output@ \"blacklisted\": true, @@@",
|
| + "@@@STEP_LOG_LINE@json.output@ \"serial\": \"03e0363a003c6ad5\", @@@",
|
| + "@@@STEP_LOG_LINE@json.output@ \"usb_status\": true@@@",
|
| + "@@@STEP_LOG_LINE@json.output@ }, @@@",
|
| + "@@@STEP_LOG_LINE@json.output@ {@@@",
|
| + "@@@STEP_LOG_LINE@json.output@ \"adb_status\": \"device\", @@@",
|
| + "@@@STEP_LOG_LINE@json.output@ \"blacklisted\": true, @@@",
|
| + "@@@STEP_LOG_LINE@json.output@ \"serial\": \"03e0363a003c6ad6\", @@@",
|
| + "@@@STEP_LOG_LINE@json.output@ \"usb_status\": true@@@",
|
| + "@@@STEP_LOG_LINE@json.output@ }@@@",
|
| + "@@@STEP_LOG_LINE@json.output@]@@@",
|
| "@@@STEP_LOG_END@json.output@@@",
|
| - "@@@SET_BUILD_PROPERTY@swarm_hashes@{\"dummy_target_1\": \"[dummy hash for dummy_target_1]\", \"dummy_target_2\": \"[dummy hash for dummy_target_2]\"}@@@"
|
| + "@@@STEP_LOG_LINE@product_name LRX21O 07a00ca4@{@@@",
|
| + "@@@STEP_LOG_LINE@product_name LRX21O 07a00ca4@ \"adb_status\": \"device\", @@@",
|
| + "@@@STEP_LOG_LINE@product_name LRX21O 07a00ca4@ \"battery\": {@@@",
|
| + "@@@STEP_LOG_LINE@product_name LRX21O 07a00ca4@ \"AC powered\": \"false\", @@@",
|
| + "@@@STEP_LOG_LINE@product_name LRX21O 07a00ca4@ \"USB powered\": \"true\", @@@",
|
| + "@@@STEP_LOG_LINE@product_name LRX21O 07a00ca4@ \"Wireless powered\": \"false\", @@@",
|
| + "@@@STEP_LOG_LINE@product_name LRX21O 07a00ca4@ \"health\": \"2\", @@@",
|
| + "@@@STEP_LOG_LINE@product_name LRX21O 07a00ca4@ \"level\": \"100\", @@@",
|
| + "@@@STEP_LOG_LINE@product_name LRX21O 07a00ca4@ \"present\": \"true\", @@@",
|
| + "@@@STEP_LOG_LINE@product_name LRX21O 07a00ca4@ \"scale\": \"100\", @@@",
|
| + "@@@STEP_LOG_LINE@product_name LRX21O 07a00ca4@ \"status\": \"5\", @@@",
|
| + "@@@STEP_LOG_LINE@product_name LRX21O 07a00ca4@ \"technology\": \"Li-ion\", @@@",
|
| + "@@@STEP_LOG_LINE@product_name LRX21O 07a00ca4@ \"temperature\": \"249\", @@@",
|
| + "@@@STEP_LOG_LINE@product_name LRX21O 07a00ca4@ \"voltage\": \"4286\"@@@",
|
| + "@@@STEP_LOG_LINE@product_name LRX21O 07a00ca4@ }, @@@",
|
| + "@@@STEP_LOG_LINE@product_name LRX21O 07a00ca4@ \"blacklisted\": false, @@@",
|
| + "@@@STEP_LOG_LINE@product_name LRX21O 07a00ca4@ \"build_detail\": \"google/razor/flo:5.0/LRX21O/1570415:userdebug/dev-keys\", @@@",
|
| + "@@@STEP_LOG_LINE@product_name LRX21O 07a00ca4@ \"imei_slice\": \"Unknown\", @@@",
|
| + "@@@STEP_LOG_LINE@product_name LRX21O 07a00ca4@ \"ro.build.id\": \"LRX21O\", @@@",
|
| + "@@@STEP_LOG_LINE@product_name LRX21O 07a00ca4@ \"ro.build.product\": \"product_name\", @@@",
|
| + "@@@STEP_LOG_LINE@product_name LRX21O 07a00ca4@ \"serial\": \"07a00ca4\", @@@",
|
| + "@@@STEP_LOG_LINE@product_name LRX21O 07a00ca4@ \"usb_status\": true, @@@",
|
| + "@@@STEP_LOG_LINE@product_name LRX21O 07a00ca4@ \"wifi_ip\": \"\"@@@",
|
| + "@@@STEP_LOG_LINE@product_name LRX21O 07a00ca4@}@@@",
|
| + "@@@STEP_LOG_END@product_name LRX21O 07a00ca4@@@",
|
| + "@@@STEP_LOG_LINE@03e0363a003c6ad4: missing@{@@@",
|
| + "@@@STEP_LOG_LINE@03e0363a003c6ad4: missing@ \"adb_status\": \"offline\", @@@",
|
| + "@@@STEP_LOG_LINE@03e0363a003c6ad4: missing@ \"blacklisted\": true, @@@",
|
| + "@@@STEP_LOG_LINE@03e0363a003c6ad4: missing@ \"serial\": \"03e0363a003c6ad4\", @@@",
|
| + "@@@STEP_LOG_LINE@03e0363a003c6ad4: missing@ \"usb_status\": false@@@",
|
| + "@@@STEP_LOG_LINE@03e0363a003c6ad4: missing@}@@@",
|
| + "@@@STEP_LOG_END@03e0363a003c6ad4: missing@@@",
|
| + "@@@STEP_LOG_LINE@03e0363a003c6ad5: adb status unauthorized@{@@@",
|
| + "@@@STEP_LOG_LINE@03e0363a003c6ad5: adb status unauthorized@ \"adb_status\": \"unauthorized\", @@@",
|
| + "@@@STEP_LOG_LINE@03e0363a003c6ad5: adb status unauthorized@ \"blacklisted\": true, @@@",
|
| + "@@@STEP_LOG_LINE@03e0363a003c6ad5: adb status unauthorized@ \"serial\": \"03e0363a003c6ad5\", @@@",
|
| + "@@@STEP_LOG_LINE@03e0363a003c6ad5: adb status unauthorized@ \"usb_status\": true@@@",
|
| + "@@@STEP_LOG_LINE@03e0363a003c6ad5: adb status unauthorized@}@@@",
|
| + "@@@STEP_LOG_END@03e0363a003c6ad5: adb status unauthorized@@@",
|
| + "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@{@@@",
|
| + "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@ \"adb_status\": \"device\", @@@",
|
| + "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@ \"blacklisted\": true, @@@",
|
| + "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@ \"serial\": \"03e0363a003c6ad6\", @@@",
|
| + "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@ \"usb_status\": true@@@",
|
| + "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@}@@@",
|
| + "@@@STEP_LOG_END@03e0363a003c6ad6: blacklisted@@@"
|
| ]
|
| },
|
| {
|
| "cmd": [
|
| "python",
|
| "-u",
|
| - "[SLAVE_BUILD]/src/tools/swarming_client/swarming.py",
|
| - "trigger",
|
| - "--swarming",
|
| - "https://chromium-swarm.appspot.com",
|
| - "--isolate-server",
|
| - "https://isolateserver.appspot.com",
|
| - "--priority",
|
| - "25",
|
| - "--shards",
|
| - "2",
|
| - "--task-name",
|
| - "telemetry_gpu_unittests/Ubuntu-12.04/eeeeeeeeee/Linux Tests/1234",
|
| - "--dump-json",
|
| + "[SLAVE_BUILD]/src/tools/perf/run_benchmark",
|
| + "list",
|
| + "--browser",
|
| + "android-chromium",
|
| + "--json-output",
|
| "/path/to/tmp/json",
|
| - "--expiration",
|
| - "3600",
|
| - "--io-timeout",
|
| - "1200",
|
| - "--hard-timeout",
|
| - "3600",
|
| - "--dimension",
|
| - "cpu",
|
| - "x86-64",
|
| - "--dimension",
|
| - "gpu",
|
| - "none",
|
| - "--dimension",
|
| - "os",
|
| - "Ubuntu-12.04",
|
| - "--dimension",
|
| - "pool",
|
| - "Chrome",
|
| - "--tag",
|
| - "buildername:Linux Tests",
|
| - "--tag",
|
| - "buildnumber:1234",
|
| - "--tag",
|
| - "data:eeeeeeeeeeeeeeeeeeeeeeeeeeeeee",
|
| - "--tag",
|
| - "master:chromium.linux",
|
| - "--tag",
|
| - "name:telemetry_gpu_unittests",
|
| - "--tag",
|
| - "os:Ubuntu-12.04",
|
| - "--tag",
|
| - "project:chromium",
|
| - "--tag",
|
| - "purpose:CI",
|
| - "--tag",
|
| - "purpose:post-commit",
|
| - "--tag",
|
| - "slavename:TestSlavename",
|
| - "--tag",
|
| - "stepname:telemetry_gpu_unittests on Ubuntu-12.04",
|
| - "eeeeeeeeeeeeeeeeeeeeeeeeeeeeee",
|
| - "--",
|
| - "--isolated-script-test-output=${ISOLATED_OUTDIR}/output.json",
|
| - "--isolated-script-test-chartjson-output=${ISOLATED_OUTDIR}/chartjson-output.json"
|
| + "--num-shards",
|
| + "21",
|
| + "--device",
|
| + "07a00ca4"
|
| ],
|
| "env": {
|
| - "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account-goma-client.json"
|
| + "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account-goma-client.json",
|
| + "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[SLAVE_BUILD]/src/build/android:%(PATH)s"
|
| },
|
| - "name": "[trigger] telemetry_gpu_unittests on Ubuntu-12.04",
|
| + "name": "List Perf Tests",
|
| "~followup_annotations": [
|
| "@@@STEP_LOG_LINE@json.output@{@@@",
|
| - "@@@STEP_LOG_LINE@json.output@ \"base_task_name\": \"telemetry_gpu_unittests/Ubuntu-12.04/eeeeeeeeee/Linux Tests/1234\", @@@",
|
| - "@@@STEP_LOG_LINE@json.output@ \"tasks\": {@@@",
|
| - "@@@STEP_LOG_LINE@json.output@ \"telemetry_gpu_unittests/Ubuntu-12.04/eeeeeeeeee/Linux Tests/1234:2:0\": {@@@",
|
| - "@@@STEP_LOG_LINE@json.output@ \"shard_index\": 0, @@@",
|
| - "@@@STEP_LOG_LINE@json.output@ \"task_id\": \"10000\", @@@",
|
| - "@@@STEP_LOG_LINE@json.output@ \"view_url\": \"https://chromium-swarm.appspot.com/user/task/10000\"@@@",
|
| + "@@@STEP_LOG_LINE@json.output@ \"steps\": {@@@",
|
| + "@@@STEP_LOG_LINE@json.output@ \"blink_perf.all.exact\": {@@@",
|
| + "@@@STEP_LOG_LINE@json.output@ \"cmd\": \"/usr/bin/python /path/to/run_benchmark --a=1 -v --b=2\", @@@",
|
| + "@@@STEP_LOG_LINE@json.output@ \"device_affinity\": 1, @@@",
|
| + "@@@STEP_LOG_LINE@json.output@ \"perf_dashboard_id\": \"blink_perf.all\"@@@",
|
| + "@@@STEP_LOG_LINE@json.output@ }, @@@",
|
| + "@@@STEP_LOG_LINE@json.output@ \"blink_perf.all.release\": {@@@",
|
| + "@@@STEP_LOG_LINE@json.output@ \"cmd\": \"/usr/bin/python /path/to/run_benchmark --a=1 -v --b=2\", @@@",
|
| + "@@@STEP_LOG_LINE@json.output@ \"device_affinity\": 0, @@@",
|
| + "@@@STEP_LOG_LINE@json.output@ \"perf_dashboard_id\": \"blink_perf.all\"@@@",
|
| "@@@STEP_LOG_LINE@json.output@ }, @@@",
|
| - "@@@STEP_LOG_LINE@json.output@ \"telemetry_gpu_unittests/Ubuntu-12.04/eeeeeeeeee/Linux Tests/1234:2:1\": {@@@",
|
| - "@@@STEP_LOG_LINE@json.output@ \"shard_index\": 1, @@@",
|
| - "@@@STEP_LOG_LINE@json.output@ \"task_id\": \"10100\", @@@",
|
| - "@@@STEP_LOG_LINE@json.output@ \"view_url\": \"https://chromium-swarm.appspot.com/user/task/10100\"@@@",
|
| + "@@@STEP_LOG_LINE@json.output@ \"blink_perf.dom\": {@@@",
|
| + "@@@STEP_LOG_LINE@json.output@ \"cmd\": \"/path/to/run_benchmark -v --upload-results blink_perf.dom\", @@@",
|
| + "@@@STEP_LOG_LINE@json.output@ \"device_affinity\": 1, @@@",
|
| + "@@@STEP_LOG_LINE@json.output@ \"perf_dashboard_id\": \"blink_perf.dom\"@@@",
|
| + "@@@STEP_LOG_LINE@json.output@ }, @@@",
|
| + "@@@STEP_LOG_LINE@json.output@ \"dromaeo.cssqueryjquery\": {@@@",
|
| + "@@@STEP_LOG_LINE@json.output@ \"cmd\": \"/path/to/run_benchmark\", @@@",
|
| + "@@@STEP_LOG_LINE@json.output@ \"device_affinity\": 13@@@",
|
| + "@@@STEP_LOG_LINE@json.output@ }, @@@",
|
| + "@@@STEP_LOG_LINE@json.output@ \"dromaeo.cssqueryjquery.release\": {@@@",
|
| + "@@@STEP_LOG_LINE@json.output@ \"cmd\": \"/path/to/run_benchmark\", @@@",
|
| + "@@@STEP_LOG_LINE@json.output@ \"device_affinity\": 11, @@@",
|
| + "@@@STEP_LOG_LINE@json.output@ \"perf_dashboard_id\": \"dromaeo.cssqueryjquery\"@@@",
|
| "@@@STEP_LOG_LINE@json.output@ }@@@",
|
| - "@@@STEP_LOG_LINE@json.output@ }@@@",
|
| + "@@@STEP_LOG_LINE@json.output@ }, @@@",
|
| + "@@@STEP_LOG_LINE@json.output@ \"version\": 2@@@",
|
| "@@@STEP_LOG_LINE@json.output@}@@@",
|
| + "@@@STEP_LOG_END@json.output@@@"
|
| + ]
|
| + },
|
| + {
|
| + "cmd": [
|
| + "python",
|
| + "-u",
|
| + "[SLAVE_BUILD]/src/build/android/test_runner.py",
|
| + "perf",
|
| + "--release",
|
| + "--verbose",
|
| + "--steps",
|
| + "{\"steps\": {\"blink_perf.all.exact\": {\"cmd\": \"/usr/bin/python /path/to/run_benchmark --a=1 -v --b=2\", \"device_affinity\": 1, \"perf_dashboard_id\": \"blink_perf.all\"}, \"blink_perf.all.release\": {\"cmd\": \"/usr/bin/python /path/to/run_benchmark --a=1 -v --b=2\", \"device_affinity\": 0, \"perf_dashboard_id\": \"blink_perf.all\"}, \"blink_perf.dom\": {\"cmd\": \"/path/to/run_benchmark -v --upload-results blink_perf.dom\", \"device_affinity\": 1, \"perf_dashboard_id\": \"blink_perf.dom\"}}, \"version\": 2}",
|
| + "--blacklist-file",
|
| + "[SLAVE_BUILD]/src/out/bad_devices.json",
|
| + "--num-retries",
|
| + "0",
|
| + "--collect-chartjson-data",
|
| + "--max-battery-temp",
|
| + "350",
|
| + "--known-devices-file",
|
| + "[HOME]/.android/known_devices.json",
|
| + "--adb-path",
|
| + "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb"
|
| + ],
|
| + "cwd": "[SLAVE_BUILD]/src",
|
| + "env": {
|
| + "CHROMIUM_OUTPUT_DIR": "[SLAVE_BUILD]/src/out/Release",
|
| + "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account-goma-client.json",
|
| + "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[SLAVE_BUILD]/src/build/android:%(PATH)s"
|
| + },
|
| + "name": "Sharded Perf Tests"
|
| + },
|
| + {
|
| + "cmd": [
|
| + "python",
|
| + "-u",
|
| + "[SLAVE_BUILD]/src/build/android/test_runner.py",
|
| + "perf",
|
| + "--steps",
|
| + "{\"steps\": {\"blink_perf.all.exact\": {\"cmd\": \"/usr/bin/python /path/to/run_benchmark --a=1 -v --b=2\", \"device_affinity\": 1, \"perf_dashboard_id\": \"blink_perf.all\"}, \"blink_perf.all.release\": {\"cmd\": \"/usr/bin/python /path/to/run_benchmark --a=1 -v --b=2\", \"device_affinity\": 0, \"perf_dashboard_id\": \"blink_perf.all\"}, \"blink_perf.dom\": {\"cmd\": \"/path/to/run_benchmark -v --upload-results blink_perf.dom\", \"device_affinity\": 1, \"perf_dashboard_id\": \"blink_perf.dom\"}}, \"version\": 2}",
|
| + "--output-json-list",
|
| + "/path/to/tmp/json",
|
| + "--blacklist-file",
|
| + "[SLAVE_BUILD]/src/out/bad_devices.json",
|
| + "--adb-path",
|
| + "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb"
|
| + ],
|
| + "env": {
|
| + "CHROMIUM_OUTPUT_DIR": "[SLAVE_BUILD]/src/out/Release",
|
| + "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account-goma-client.json",
|
| + "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[SLAVE_BUILD]/src/build/android:%(PATH)s"
|
| + },
|
| + "name": "get perf test list",
|
| + "~followup_annotations": [
|
| + "@@@STEP_LOG_LINE@json.output@[@@@",
|
| + "@@@STEP_LOG_LINE@json.output@ {@@@",
|
| + "@@@STEP_LOG_LINE@json.output@ \"device_affinity\": 0, @@@",
|
| + "@@@STEP_LOG_LINE@json.output@ \"end_time\": 1443438432.949711, @@@",
|
| + "@@@STEP_LOG_LINE@json.output@ \"has_archive\": true, @@@",
|
| + "@@@STEP_LOG_LINE@json.output@ \"test\": \"perf_test.foo\"@@@",
|
| + "@@@STEP_LOG_LINE@json.output@ }, @@@",
|
| + "@@@STEP_LOG_LINE@json.output@ {@@@",
|
| + "@@@STEP_LOG_LINE@json.output@ \"device_affinity\": 0, @@@",
|
| + "@@@STEP_LOG_LINE@json.output@ \"test\": \"page_cycler.foo\"@@@",
|
| + "@@@STEP_LOG_LINE@json.output@ }@@@",
|
| + "@@@STEP_LOG_LINE@json.output@]@@@",
|
| + "@@@STEP_LOG_END@json.output@@@"
|
| + ]
|
| + },
|
| + {
|
| + "allow_subannotations": true,
|
| + "cmd": [
|
| + "python",
|
| + "-u",
|
| + "RECIPE_PACKAGE_REPO[build]/scripts/slave/runtest.py",
|
| + "--target",
|
| + "Release",
|
| + "--test-platform",
|
| + "android",
|
| + "--no-xvfb",
|
| + "--factory-properties",
|
| + "{\"blamelist\": [\"cool_dev1337@chromium.org\", \"hax@chromium.org\"], \"buildername\": \"Android Nexus5 Perf (1)\", \"buildnumber\": \"1234\", \"git_revision\": \"asdfawe2342\", \"got_revision_cp\": \"refs/heads/master@{#291141}\", \"got_v8_revision\": \"asdfadsfa4e3w\", \"got_webrtc_revision\": \"asdfas\", \"mastername\": \"chromium.perf\", \"parent_buildername\": \"Android Builder\", \"recipe\": \"chromium\", \"slavename\": \"TestSlavename\", \"swarm_hashes\": {\"telemetry_gpu_unittests\": \"eeeeeeeeeeeeeeeeeeeeeeeeeeeeee\"}, \"version\": \"v23523\", \"workdir\": \"/path/to/workdir/TestSlavename\"}",
|
| + "--build-properties",
|
| + "{\"blamelist\": [\"cool_dev1337@chromium.org\", \"hax@chromium.org\"], \"buildername\": \"Android Nexus5 Perf (1)\", \"buildnumber\": \"1234\", \"git_revision\": \"asdfawe2342\", \"got_revision_cp\": \"refs/heads/master@{#291141}\", \"got_v8_revision\": \"asdfadsfa4e3w\", \"got_webrtc_revision\": \"asdfas\", \"mastername\": \"chromium.perf\", \"parent_buildername\": \"Android Builder\", \"recipe\": \"chromium\", \"slavename\": \"TestSlavename\", \"swarm_hashes\": {\"telemetry_gpu_unittests\": \"eeeeeeeeeeeeeeeeeeeeeeeeeeeeee\"}, \"version\": \"v23523\", \"workdir\": \"/path/to/workdir/TestSlavename\"}",
|
| + "--annotate=graphing",
|
| + "--results-url=https://chromeperf.appspot.com",
|
| + "--perf-dashboard-id=page_cycler.foo",
|
| + "--perf-id=android-nexus5",
|
| + "--test-type=page_cycler.foo",
|
| + "--step-name=page_cycler.foo",
|
| + "--chartjson-file",
|
| + "/path/to/tmp/json",
|
| + "--builder-name=Android Nexus5 Perf (1)",
|
| + "--slave-name=TestSlavename",
|
| + "--build-number=1234",
|
| + "--run-python-script",
|
| + "[SLAVE_BUILD]/src/build/android/test_runner.py",
|
| + "perf",
|
| + "--print-step",
|
| + "page_cycler.foo",
|
| + "--verbose",
|
| + "--adb-path",
|
| + "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb",
|
| + "--blacklist-file",
|
| + "[SLAVE_BUILD]/src/out/bad_devices.json"
|
| + ],
|
| + "env": {
|
| + "CHROMIUM_OUTPUT_DIR": "[SLAVE_BUILD]/src/out/Release",
|
| + "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account-goma-client.json",
|
| + "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[SLAVE_BUILD]/src/build/android:%(PATH)s"
|
| + },
|
| + "name": "page_cycler.foo",
|
| + "~followup_annotations": [
|
| + "@@@STEP_TEXT@<br/>Device Affinity: 0<br/>@@@",
|
| + "@@@STEP_LOG_LINE@json.output@[]@@@",
|
| "@@@STEP_LOG_END@json.output@@@",
|
| - "@@@STEP_LINK@shard #0@https://chromium-swarm.appspot.com/user/task/10000@@@",
|
| - "@@@STEP_LINK@shard #1@https://chromium-swarm.appspot.com/user/task/10100@@@"
|
| + "@@@STEP_LOG_LINE@device affinity@0@@@",
|
| + "@@@STEP_LOG_END@device affinity@@@"
|
| ]
|
| },
|
| {
|
| + "allow_subannotations": true,
|
| "cmd": [
|
| "python",
|
| "-u",
|
| - "[SLAVE_BUILD]/src/tools/swarming_client/swarming.py",
|
| - "collect",
|
| - "--swarming",
|
| - "https://chromium-swarm.appspot.com",
|
| - "--decorate",
|
| - "--print-status-updates",
|
| - "--json",
|
| - "{\"base_task_name\": \"telemetry_gpu_unittests/Ubuntu-12.04/eeeeeeeeee/Linux Tests/1234\", \"tasks\": {\"telemetry_gpu_unittests/Ubuntu-12.04/eeeeeeeeee/Linux Tests/1234:2:0\": {\"shard_index\": 0, \"task_id\": \"10000\", \"view_url\": \"https://chromium-swarm.appspot.com/user/task/10000\"}, \"telemetry_gpu_unittests/Ubuntu-12.04/eeeeeeeeee/Linux Tests/1234:2:1\": {\"shard_index\": 1, \"task_id\": \"10100\", \"view_url\": \"https://chromium-swarm.appspot.com/user/task/10100\"}}}",
|
| - "--task-output-dir",
|
| - "/path/to/tmp/"
|
| + "RECIPE_PACKAGE_REPO[build]/scripts/slave/runtest.py",
|
| + "--target",
|
| + "Release",
|
| + "--test-platform",
|
| + "android",
|
| + "--no-xvfb",
|
| + "--factory-properties",
|
| + "{\"blamelist\": [\"cool_dev1337@chromium.org\", \"hax@chromium.org\"], \"buildername\": \"Android Nexus5 Perf (1)\", \"buildnumber\": \"1234\", \"git_revision\": \"asdfawe2342\", \"got_revision_cp\": \"refs/heads/master@{#291141}\", \"got_v8_revision\": \"asdfadsfa4e3w\", \"got_webrtc_revision\": \"asdfas\", \"mastername\": \"chromium.perf\", \"parent_buildername\": \"Android Builder\", \"recipe\": \"chromium\", \"slavename\": \"TestSlavename\", \"swarm_hashes\": {\"telemetry_gpu_unittests\": \"eeeeeeeeeeeeeeeeeeeeeeeeeeeeee\"}, \"version\": \"v23523\", \"workdir\": \"/path/to/workdir/TestSlavename\"}",
|
| + "--build-properties",
|
| + "{\"blamelist\": [\"cool_dev1337@chromium.org\", \"hax@chromium.org\"], \"buildername\": \"Android Nexus5 Perf (1)\", \"buildnumber\": \"1234\", \"git_revision\": \"asdfawe2342\", \"got_revision_cp\": \"refs/heads/master@{#291141}\", \"got_v8_revision\": \"asdfadsfa4e3w\", \"got_webrtc_revision\": \"asdfas\", \"mastername\": \"chromium.perf\", \"parent_buildername\": \"Android Builder\", \"recipe\": \"chromium\", \"slavename\": \"TestSlavename\", \"swarm_hashes\": {\"telemetry_gpu_unittests\": \"eeeeeeeeeeeeeeeeeeeeeeeeeeeeee\"}, \"version\": \"v23523\", \"workdir\": \"/path/to/workdir/TestSlavename\"}",
|
| + "--annotate=graphing",
|
| + "--results-url=https://chromeperf.appspot.com",
|
| + "--perf-dashboard-id=perf_test.foo",
|
| + "--perf-id=android-nexus5",
|
| + "--test-type=perf_test.foo",
|
| + "--step-name=perf_test.foo",
|
| + "--chartjson-file",
|
| + "/path/to/tmp/json",
|
| + "--builder-name=Android Nexus5 Perf (1)",
|
| + "--slave-name=TestSlavename",
|
| + "--build-number=1234",
|
| + "--run-python-script",
|
| + "[SLAVE_BUILD]/src/build/android/test_runner.py",
|
| + "perf",
|
| + "--print-step",
|
| + "perf_test.foo",
|
| + "--verbose",
|
| + "--adb-path",
|
| + "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb",
|
| + "--blacklist-file",
|
| + "[SLAVE_BUILD]/src/out/bad_devices.json"
|
| + ],
|
| + "env": {
|
| + "CHROMIUM_OUTPUT_DIR": "[SLAVE_BUILD]/src/out/Release",
|
| + "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account-goma-client.json",
|
| + "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[SLAVE_BUILD]/src/build/android:%(PATH)s"
|
| + },
|
| + "name": "perf_test.foo",
|
| + "~followup_annotations": [
|
| + "@@@STEP_TEXT@<br/>Device Affinity: 0<br/>@@@",
|
| + "@@@STEP_LOG_LINE@json.output@[]@@@",
|
| + "@@@STEP_LOG_END@json.output@@@",
|
| + "@@@STEP_LOG_LINE@device affinity@0@@@",
|
| + "@@@STEP_LOG_END@device affinity@@@"
|
| + ]
|
| + },
|
| + {
|
| + "cmd": [
|
| + "python",
|
| + "-u",
|
| + "RECIPE_PACKAGE_REPO[build]/scripts/slave/daemonizer.py",
|
| + "--action",
|
| + "stop",
|
| + "--pid-file-path",
|
| + "/tmp/device_monitor.pid"
|
| + ],
|
| + "env": {
|
| + "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account-goma-client.json",
|
| + "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[SLAVE_BUILD]/src/build/android:%(PATH)s"
|
| + },
|
| + "name": "shutdown_device_monitor"
|
| + },
|
| + {
|
| + "cmd": [
|
| + "python",
|
| + "-u",
|
| + "[SLAVE_BUILD]/src/build/android/adb_logcat_printer.py",
|
| + "--output-path",
|
| + "[SLAVE_BUILD]/src/out/Release/full_log",
|
| + "[SLAVE_BUILD]/src/out/logcat"
|
| + ],
|
| + "env": {
|
| + "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account-goma-client.json",
|
| + "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[SLAVE_BUILD]/src/build/android:%(PATH)s"
|
| + },
|
| + "name": "logcat_dump"
|
| + },
|
| + {
|
| + "cmd": [
|
| + "python",
|
| + "-u",
|
| + "RECIPE_MODULE[build::gsutil]/resources/gsutil_wrapper.py",
|
| + "--",
|
| + "RECIPE_PACKAGE_REPO[depot_tools]/gsutil.py",
|
| + "--force-version",
|
| + "4.7",
|
| + "-o",
|
| + "GSUtil:parallel_composite_upload_threshold=50M",
|
| + "----",
|
| + "cp",
|
| + "[SLAVE_BUILD]/src/out/Release/full_log",
|
| + "gs://chromium-android/logcat_dumps/Android Nexus5 Perf (1)/1234"
|
| ],
|
| "env": {
|
| - "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account-goma-client.json"
|
| + "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account-goma-client.json",
|
| + "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[SLAVE_BUILD]/src/build/android:%(PATH)s"
|
| },
|
| - "name": "telemetry_gpu_unittests on Ubuntu-12.04",
|
| + "name": "gsutil upload",
|
| "~followup_annotations": [
|
| - "@@@STEP_LOG_LINE@outdir_json@{@@@",
|
| - "@@@STEP_LOG_LINE@outdir_json@ \"0/chartjson-output.json\": \"{\\\"dummy\\\": \\\"dummy0\\\", \\\"enabled\\\": true, \\\"charts\\\": {\\\"entry2\\\": \\\"chart2\\\", \\\"entry1\\\": \\\"chart1\\\"}}\", @@@",
|
| - "@@@STEP_LOG_LINE@outdir_json@ \"0/output.json\": \"{\\\"tests\\\": {\\\"test1\\\": {\\\"Test1\\\": {\\\"expected\\\": \\\"PASS\\\", \\\"actual\\\": \\\"PASS\\\"}, \\\"Test2\\\": {\\\"expected\\\": \\\"PASS TIMEOUT\\\", \\\"actual\\\": \\\"TIMEOUT\\\"}}, \\\"test_common\\\": {\\\"Test1\\\": {\\\"expected\\\": \\\"PASS\\\", \\\"actual\\\": \\\"FAIL FAIL PASS\\\"}}}, \\\"interrupted\\\": false, \\\"path_delimiter\\\": \\\".\\\", \\\"version\\\": 3, \\\"seconds_since_epoch\\\": 14000000, \\\"num_failures_by_type\\\": {\\\"FAIL\\\": 0, \\\"PASS\\\": 2}}\", @@@",
|
| - "@@@STEP_LOG_LINE@outdir_json@ \"1/chartjson-output.json\": \"{\\\"dummy\\\": \\\"dummy1\\\", \\\"enabled\\\": true, \\\"charts\\\": {\\\"entry3\\\": \\\"chart3\\\", \\\"entry4\\\": \\\"chart4\\\"}}\", @@@",
|
| - "@@@STEP_LOG_LINE@outdir_json@ \"1/output.json\": \"{\\\"tests\\\": {\\\"test3\\\": {\\\"Test3\\\": {\\\"expected\\\": \\\"PASS\\\", \\\"actual\\\": \\\"PASS\\\"}, \\\"Test4\\\": {\\\"expected\\\": \\\"PASS TIMEOUT\\\", \\\"actual\\\": \\\"TIMEOUT\\\"}}, \\\"test_common\\\": {\\\"Test3\\\": {\\\"expected\\\": \\\"PASS\\\", \\\"actual\\\": \\\"FAIL FAIL PASS\\\"}}}, \\\"interrupted\\\": false, \\\"path_delimiter\\\": \\\".\\\", \\\"version\\\": 3, \\\"seconds_since_epoch\\\": 14000001, \\\"num_failures_by_type\\\": {\\\"FAIL\\\": 0, \\\"PASS\\\": 2}}\", @@@",
|
| - "@@@STEP_LOG_LINE@outdir_json@ \"summary.json\": \"{\\\"shards\\\": [{\\\"internal_failure\\\": false, \\\"failure\\\": false, \\\"exit_code\\\": \\\"0\\\"}, {\\\"internal_failure\\\": false, \\\"failure\\\": false, \\\"exit_code\\\": \\\"0\\\"}]}\"@@@",
|
| - "@@@STEP_LOG_LINE@outdir_json@}@@@",
|
| - "@@@STEP_LOG_END@outdir_json@@@",
|
| - "@@@STEP_LOG_LINE@chartjson_info@Info: Setting up arguments for perf dashboard@@@",
|
| - "@@@STEP_LOG_END@chartjson_info@@@",
|
| - "@@@STEP_LINK@shard #0@https://chromium-swarm.appspot.com/user/task/10000@@@",
|
| - "@@@STEP_LINK@shard #1@https://chromium-swarm.appspot.com/user/task/10100@@@"
|
| + "@@@STEP_LINK@logcat dump@https://storage.cloud.google.com/chromium-android/logcat_dumps/Android Nexus5 Perf (1)/1234@@@"
|
| ]
|
| },
|
| {
|
| "cmd": [
|
| + "[SLAVE_BUILD]/src/third_party/android_platform/development/scripts/stack",
|
| + "--arch",
|
| + "arm",
|
| + "--more-info",
|
| + "[SLAVE_BUILD]/src/out/Release/full_log"
|
| + ],
|
| + "env": {
|
| + "CHROMIUM_OUTPUT_DIR": "[SLAVE_BUILD]/src/out/Release",
|
| + "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account-goma-client.json",
|
| + "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[SLAVE_BUILD]/src/build/android:%(PATH)s"
|
| + },
|
| + "name": "stack_tool_with_logcat_dump"
|
| + },
|
| + {
|
| + "cmd": [
|
| "python",
|
| "-u",
|
| "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
|
| - "{\"dummy\": \"dummy0\", \"enabled\": true, \"charts\": {\"entry2\": \"chart2\", \"entry3\": \"chart3\", \"entry1\": \"chart1\", \"entry4\": \"chart4\"}}",
|
| - "[TMP_BASE]/chartjson_results_output_tmp_1/chartjson-results.json"
|
| + "[SLAVE_BUILD]/src/chrome/VERSION",
|
| + "/path/to/tmp/"
|
| + ],
|
| + "env": {
|
| + "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account-goma-client.json",
|
| + "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[SLAVE_BUILD]/src/build/android:%(PATH)s"
|
| + },
|
| + "name": "get version"
|
| + },
|
| + {
|
| + "cmd": [
|
| + "[SLAVE_BUILD]/src/build/android/tombstones.py",
|
| + "-a",
|
| + "-s",
|
| + "-w"
|
| ],
|
| "env": {
|
| - "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account-goma-client.json"
|
| + "CHROMIUM_OUTPUT_DIR": "[SLAVE_BUILD]/src/out/Release",
|
| + "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account-goma-client.json",
|
| + "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[SLAVE_BUILD]/src/build/android:%(PATH)s"
|
| },
|
| - "name": "write results to file"
|
| + "name": "stack_tool_for_tombstones"
|
| },
|
| {
|
| "cmd": [
|
| "python",
|
| "-u",
|
| - "RECIPE_MODULE[recipe_engine::shutil]/resources/rmtree.py",
|
| - "[TMP_BASE]/chartjson_results_output_tmp_1"
|
| + "\nimport glob, os, sys\nfor report in glob.glob(sys.argv[1]):\n with open(report, 'r') as f:\n for l in f.readlines():\n print l\n os.remove(report)\n",
|
| + "[SLAVE_BUILD]/src/out/Release/test_logs/*.log"
|
| ],
|
| "env": {
|
| - "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account-goma-client.json"
|
| + "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account-goma-client.json",
|
| + "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[SLAVE_BUILD]/src/build/android:%(PATH)s"
|
| },
|
| - "name": "rmtree [TMP_BASE]/chartjson_results_output_tmp_1"
|
| + "name": "test_report",
|
| + "~followup_annotations": [
|
| + "@@@STEP_LOG_LINE@python.inline@@@@",
|
| + "@@@STEP_LOG_LINE@python.inline@import glob, os, sys@@@",
|
| + "@@@STEP_LOG_LINE@python.inline@for report in glob.glob(sys.argv[1]):@@@",
|
| + "@@@STEP_LOG_LINE@python.inline@ with open(report, 'r') as f:@@@",
|
| + "@@@STEP_LOG_LINE@python.inline@ for l in f.readlines():@@@",
|
| + "@@@STEP_LOG_LINE@python.inline@ print l@@@",
|
| + "@@@STEP_LOG_LINE@python.inline@ os.remove(report)@@@",
|
| + "@@@STEP_LOG_END@python.inline@@@"
|
| + ]
|
| },
|
| {
|
| "name": "$result",
|
|
|