blob: cc7707aa9b72a2ff90794bf307777bf7ce0cafd4 [file] [log] [blame]
[
{
"cmd": [
"python",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"rmtree",
"[START_DIR]/.cipd"
],
"infra_step": true,
"name": "remove .cipd"
},
{
"cmd": [
"python",
"-u",
"\nimport os, sys\n\nbuild_path = sys.argv[1]\nif os.path.exists(build_path):\n for (path, dir, files) in os.walk(build_path):\n for cur_file in files:\n if cur_file.endswith('index.lock'):\n path_to_file = os.path.join(path, cur_file)\n print 'deleting %s' % path_to_file\n os.remove(path_to_file)\n",
"[START_DIR]"
],
"infra_step": true,
"name": "cleanup index.lock",
"~followup_annotations": [
"@@@STEP_LOG_LINE@python.inline@@@@",
"@@@STEP_LOG_LINE@python.inline@import os, sys@@@",
"@@@STEP_LOG_LINE@python.inline@@@@",
"@@@STEP_LOG_LINE@python.inline@build_path = sys.argv[1]@@@",
"@@@STEP_LOG_LINE@python.inline@if os.path.exists(build_path):@@@",
"@@@STEP_LOG_LINE@python.inline@ for (path, dir, files) in os.walk(build_path):@@@",
"@@@STEP_LOG_LINE@python.inline@ for cur_file in files:@@@",
"@@@STEP_LOG_LINE@python.inline@ if cur_file.endswith('index.lock'):@@@",
"@@@STEP_LOG_LINE@python.inline@ path_to_file = os.path.join(path, cur_file)@@@",
"@@@STEP_LOG_LINE@python.inline@ print 'deleting %s' % path_to_file@@@",
"@@@STEP_LOG_LINE@python.inline@ os.remove(path_to_file)@@@",
"@@@STEP_LOG_END@python.inline@@@"
]
},
{
"cmd": [
"python",
"-u",
"RECIPE_MODULE[depot_tools::bot_update]/resources/bot_update.py",
"--spec-path",
"cache_dir = '[CACHE]/git'\nsolutions = [{'deps_file': '.DEPS.git', 'managed': True, 'name': 'src', 'url': 'https://chromium.googlesource.com/chromium/src.git'}]\ntarget_os = ['android']",
"--patch_root",
"src",
"--revision_mapping_file",
"{\"got_angle_revision\": \"src/third_party/angle\", \"got_buildtools_revision\": \"src/buildtools\", \"got_nacl_revision\": \"src/native_client\", \"got_src_revision\": \"src\", \"got_swarming_client_revision\": \"src/tools/swarming_client\", \"got_v8_revision\": \"src/v8\", \"got_webrtc_revision\": \"src/third_party/webrtc\"}",
"--git-cache-dir",
"[CACHE]/git",
"--cleanup-dir",
"[CLEANUP]/bot_update",
"--output_json",
"/path/to/tmp/json",
"--revision",
"src@4f4b02f6b7fa20a3a25682c457bbc8ad589c8a00"
],
"env_prefixes": {
"PATH": [
"RECIPE_PACKAGE_REPO[depot_tools]"
]
},
"infra_step": true,
"name": "bot_update",
"~followup_annotations": [
"@@@STEP_TEXT@Some step text@@@",
"@@@STEP_LOG_LINE@json.output@{@@@",
"@@@STEP_LOG_LINE@json.output@ \"did_run\": true, @@@",
"@@@STEP_LOG_LINE@json.output@ \"fixed_revisions\": {@@@",
"@@@STEP_LOG_LINE@json.output@ \"src\": \"4f4b02f6b7fa20a3a25682c457bbc8ad589c8a00\"@@@",
"@@@STEP_LOG_LINE@json.output@ }, @@@",
"@@@STEP_LOG_LINE@json.output@ \"manifest\": {@@@",
"@@@STEP_LOG_LINE@json.output@ \"src\": {@@@",
"@@@STEP_LOG_LINE@json.output@ \"repository\": \"https://fake.org/src.git\", @@@",
"@@@STEP_LOG_LINE@json.output@ \"revision\": \"f27fede2220bcd326aee3e86ddfd4ebd0fe58cb9\"@@@",
"@@@STEP_LOG_LINE@json.output@ }, @@@",
"@@@STEP_LOG_LINE@json.output@ \"src/buildtools\": {@@@",
"@@@STEP_LOG_LINE@json.output@ \"repository\": \"https://fake.org/src/buildtools.git\", @@@",
"@@@STEP_LOG_LINE@json.output@ \"revision\": \"f0319a328b2809876916353cb994259692140934\"@@@",
"@@@STEP_LOG_LINE@json.output@ }, @@@",
"@@@STEP_LOG_LINE@json.output@ \"src/native_client\": {@@@",
"@@@STEP_LOG_LINE@json.output@ \"repository\": \"https://fake.org/src/native_client.git\", @@@",
"@@@STEP_LOG_LINE@json.output@ \"revision\": \"d998e125e8253980d76e269b7982aeeefc1b9b50\"@@@",
"@@@STEP_LOG_LINE@json.output@ }, @@@",
"@@@STEP_LOG_LINE@json.output@ \"src/third_party/angle\": {@@@",
"@@@STEP_LOG_LINE@json.output@ \"repository\": \"https://fake.org/src/third_party/angle.git\", @@@",
"@@@STEP_LOG_LINE@json.output@ \"revision\": \"fac9503c46405f77757b9a728eb85b8d7bc6080c\"@@@",
"@@@STEP_LOG_LINE@json.output@ }, @@@",
"@@@STEP_LOG_LINE@json.output@ \"src/third_party/webrtc\": {@@@",
"@@@STEP_LOG_LINE@json.output@ \"repository\": \"https://fake.org/src/third_party/webrtc.git\", @@@",
"@@@STEP_LOG_LINE@json.output@ \"revision\": \"0f90628433546e61d9268596da93418c623137f4\"@@@",
"@@@STEP_LOG_LINE@json.output@ }, @@@",
"@@@STEP_LOG_LINE@json.output@ \"src/tools/swarming_client\": {@@@",
"@@@STEP_LOG_LINE@json.output@ \"repository\": \"https://fake.org/src/tools/swarming_client.git\", @@@",
"@@@STEP_LOG_LINE@json.output@ \"revision\": \"a0ee5d99f1d4b38ddaa4c759c837980b63b99566\"@@@",
"@@@STEP_LOG_LINE@json.output@ }, @@@",
"@@@STEP_LOG_LINE@json.output@ \"src/v8\": {@@@",
"@@@STEP_LOG_LINE@json.output@ \"repository\": \"https://fake.org/src/v8.git\", @@@",
"@@@STEP_LOG_LINE@json.output@ \"revision\": \"801ada225ddc271c132c3a35f03975671d43e399\"@@@",
"@@@STEP_LOG_LINE@json.output@ }@@@",
"@@@STEP_LOG_LINE@json.output@ }, @@@",
"@@@STEP_LOG_LINE@json.output@ \"patch_failure\": false, @@@",
"@@@STEP_LOG_LINE@json.output@ \"patch_root\": \"src\", @@@",
"@@@STEP_LOG_LINE@json.output@ \"properties\": {@@@",
"@@@STEP_LOG_LINE@json.output@ \"got_angle_revision\": \"fac9503c46405f77757b9a728eb85b8d7bc6080c\", @@@",
"@@@STEP_LOG_LINE@json.output@ \"got_angle_revision_cp\": \"refs/heads/master@{#297276}\", @@@",
"@@@STEP_LOG_LINE@json.output@ \"got_buildtools_revision\": \"f0319a328b2809876916353cb994259692140934\", @@@",
"@@@STEP_LOG_LINE@json.output@ \"got_buildtools_revision_cp\": \"refs/heads/master@{#182578}\", @@@",
"@@@STEP_LOG_LINE@json.output@ \"got_nacl_revision\": \"d998e125e8253980d76e269b7982aeeefc1b9b50\", @@@",
"@@@STEP_LOG_LINE@json.output@ \"got_nacl_revision_cp\": \"refs/heads/master@{#274981}\", @@@",
"@@@STEP_LOG_LINE@json.output@ \"got_src_revision\": \"f27fede2220bcd326aee3e86ddfd4ebd0fe58cb9\", @@@",
"@@@STEP_LOG_LINE@json.output@ \"got_src_revision_cp\": \"refs/heads/master@{#170242}\", @@@",
"@@@STEP_LOG_LINE@json.output@ \"got_swarming_client_revision\": \"a0ee5d99f1d4b38ddaa4c759c837980b63b99566\", @@@",
"@@@STEP_LOG_LINE@json.output@ \"got_swarming_client_revision_cp\": \"refs/heads/master@{#276089}\", @@@",
"@@@STEP_LOG_LINE@json.output@ \"got_v8_revision\": \"801ada225ddc271c132c3a35f03975671d43e399\", @@@",
"@@@STEP_LOG_LINE@json.output@ \"got_v8_revision_cp\": \"refs/heads/master@{#43426}\", @@@",
"@@@STEP_LOG_LINE@json.output@ \"got_webrtc_revision\": \"0f90628433546e61d9268596da93418c623137f4\", @@@",
"@@@STEP_LOG_LINE@json.output@ \"got_webrtc_revision_cp\": \"refs/heads/master@{#120644}\"@@@",
"@@@STEP_LOG_LINE@json.output@ }, @@@",
"@@@STEP_LOG_LINE@json.output@ \"root\": \"src\", @@@",
"@@@STEP_LOG_LINE@json.output@ \"source_manifest\": {@@@",
"@@@STEP_LOG_LINE@json.output@ \"directories\": {@@@",
"@@@STEP_LOG_LINE@json.output@ \"src\": {@@@",
"@@@STEP_LOG_LINE@json.output@ \"git_checkout\": {@@@",
"@@@STEP_LOG_LINE@json.output@ \"repo_url\": \"https://fake.org/src.git\", @@@",
"@@@STEP_LOG_LINE@json.output@ \"revision\": \"f27fede2220bcd326aee3e86ddfd4ebd0fe58cb9\"@@@",
"@@@STEP_LOG_LINE@json.output@ }@@@",
"@@@STEP_LOG_LINE@json.output@ }, @@@",
"@@@STEP_LOG_LINE@json.output@ \"src/buildtools\": {@@@",
"@@@STEP_LOG_LINE@json.output@ \"git_checkout\": {@@@",
"@@@STEP_LOG_LINE@json.output@ \"repo_url\": \"https://fake.org/src/buildtools.git\", @@@",
"@@@STEP_LOG_LINE@json.output@ \"revision\": \"f0319a328b2809876916353cb994259692140934\"@@@",
"@@@STEP_LOG_LINE@json.output@ }@@@",
"@@@STEP_LOG_LINE@json.output@ }, @@@",
"@@@STEP_LOG_LINE@json.output@ \"src/native_client\": {@@@",
"@@@STEP_LOG_LINE@json.output@ \"git_checkout\": {@@@",
"@@@STEP_LOG_LINE@json.output@ \"repo_url\": \"https://fake.org/src/native_client.git\", @@@",
"@@@STEP_LOG_LINE@json.output@ \"revision\": \"d998e125e8253980d76e269b7982aeeefc1b9b50\"@@@",
"@@@STEP_LOG_LINE@json.output@ }@@@",
"@@@STEP_LOG_LINE@json.output@ }, @@@",
"@@@STEP_LOG_LINE@json.output@ \"src/third_party/angle\": {@@@",
"@@@STEP_LOG_LINE@json.output@ \"git_checkout\": {@@@",
"@@@STEP_LOG_LINE@json.output@ \"repo_url\": \"https://fake.org/src/third_party/angle.git\", @@@",
"@@@STEP_LOG_LINE@json.output@ \"revision\": \"fac9503c46405f77757b9a728eb85b8d7bc6080c\"@@@",
"@@@STEP_LOG_LINE@json.output@ }@@@",
"@@@STEP_LOG_LINE@json.output@ }, @@@",
"@@@STEP_LOG_LINE@json.output@ \"src/third_party/webrtc\": {@@@",
"@@@STEP_LOG_LINE@json.output@ \"git_checkout\": {@@@",
"@@@STEP_LOG_LINE@json.output@ \"repo_url\": \"https://fake.org/src/third_party/webrtc.git\", @@@",
"@@@STEP_LOG_LINE@json.output@ \"revision\": \"0f90628433546e61d9268596da93418c623137f4\"@@@",
"@@@STEP_LOG_LINE@json.output@ }@@@",
"@@@STEP_LOG_LINE@json.output@ }, @@@",
"@@@STEP_LOG_LINE@json.output@ \"src/tools/swarming_client\": {@@@",
"@@@STEP_LOG_LINE@json.output@ \"git_checkout\": {@@@",
"@@@STEP_LOG_LINE@json.output@ \"repo_url\": \"https://fake.org/src/tools/swarming_client.git\", @@@",
"@@@STEP_LOG_LINE@json.output@ \"revision\": \"a0ee5d99f1d4b38ddaa4c759c837980b63b99566\"@@@",
"@@@STEP_LOG_LINE@json.output@ }@@@",
"@@@STEP_LOG_LINE@json.output@ }, @@@",
"@@@STEP_LOG_LINE@json.output@ \"src/v8\": {@@@",
"@@@STEP_LOG_LINE@json.output@ \"git_checkout\": {@@@",
"@@@STEP_LOG_LINE@json.output@ \"repo_url\": \"https://fake.org/src/v8.git\", @@@",
"@@@STEP_LOG_LINE@json.output@ \"revision\": \"801ada225ddc271c132c3a35f03975671d43e399\"@@@",
"@@@STEP_LOG_LINE@json.output@ }@@@",
"@@@STEP_LOG_LINE@json.output@ }@@@",
"@@@STEP_LOG_LINE@json.output@ }, @@@",
"@@@STEP_LOG_LINE@json.output@ \"version\": 0@@@",
"@@@STEP_LOG_LINE@json.output@ }, @@@",
"@@@STEP_LOG_LINE@json.output@ \"step_text\": \"Some step text\"@@@",
"@@@STEP_LOG_LINE@json.output@}@@@",
"@@@STEP_LOG_END@json.output@@@",
"@@@SET_BUILD_PROPERTY@got_angle_revision@\"fac9503c46405f77757b9a728eb85b8d7bc6080c\"@@@",
"@@@SET_BUILD_PROPERTY@got_angle_revision_cp@\"refs/heads/master@{#297276}\"@@@",
"@@@SET_BUILD_PROPERTY@got_buildtools_revision@\"f0319a328b2809876916353cb994259692140934\"@@@",
"@@@SET_BUILD_PROPERTY@got_buildtools_revision_cp@\"refs/heads/master@{#182578}\"@@@",
"@@@SET_BUILD_PROPERTY@got_nacl_revision@\"d998e125e8253980d76e269b7982aeeefc1b9b50\"@@@",
"@@@SET_BUILD_PROPERTY@got_nacl_revision_cp@\"refs/heads/master@{#274981}\"@@@",
"@@@SET_BUILD_PROPERTY@got_src_revision@\"f27fede2220bcd326aee3e86ddfd4ebd0fe58cb9\"@@@",
"@@@SET_BUILD_PROPERTY@got_src_revision_cp@\"refs/heads/master@{#170242}\"@@@",
"@@@SET_BUILD_PROPERTY@got_swarming_client_revision@\"a0ee5d99f1d4b38ddaa4c759c837980b63b99566\"@@@",
"@@@SET_BUILD_PROPERTY@got_swarming_client_revision_cp@\"refs/heads/master@{#276089}\"@@@",
"@@@SET_BUILD_PROPERTY@got_v8_revision@\"801ada225ddc271c132c3a35f03975671d43e399\"@@@",
"@@@SET_BUILD_PROPERTY@got_v8_revision_cp@\"refs/heads/master@{#43426}\"@@@",
"@@@SET_BUILD_PROPERTY@got_webrtc_revision@\"0f90628433546e61d9268596da93418c623137f4\"@@@",
"@@@SET_BUILD_PROPERTY@got_webrtc_revision_cp@\"refs/heads/master@{#120644}\"@@@"
]
},
{
"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",
"[START_DIR]/src/out/Debug/debug_info_dumps",
"[START_DIR]/src/out/Debug/test_logs",
"[START_DIR]/src/out/build_product.zip",
"[START_DIR]/src"
],
"infra_step": true,
"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": [
"python",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"rmtree",
"[START_DIR]/src/out/Debug"
],
"env": {
"CHROME_HEADLESS": "1"
},
"infra_step": true,
"name": "clobber"
},
{
"cmd": [
"python",
"-u",
"RECIPE_PACKAGE_REPO[depot_tools]/gclient.py",
"runhooks"
],
"cwd": "[START_DIR]/src",
"env": {
"CHROME_HEADLESS": "1",
"GYP_CROSSCOMPILE": "1",
"GYP_DEFINES": "OS=android component=static_library fastbuild=1 target_arch=arm use_goma=0",
"PATH": "[START_DIR]/src/third_party/android_tools/sdk/platform-tools:[START_DIR]/src/build/android:<PATH>"
},
"env_suffixes": {
"PATH": [
"RECIPE_PACKAGE_REPO[depot_tools]"
]
},
"name": "gclient runhooks"
},
{
"cmd": [
"python",
"-u",
"[START_DIR]/src/tools/mb/mb.py",
"gen",
"-m",
"chromium.testing.master",
"-b",
"local_test",
"--config-file",
"[START_DIR]/src/tools/mb/mb_config.pyl",
"//out/Debug"
],
"cwd": "[START_DIR]/src",
"env": {
"CHROME_HEADLESS": "1",
"PATH": "[START_DIR]/src/third_party/android_tools/sdk/platform-tools:[START_DIR]/src/build/android:<PATH>"
},
"name": "generate_build_files"
},
{
"cmd": [
"python",
"-u",
"RECIPE_MODULE[build::chromium]/resources/ninja_wrapper.py",
"--ninja_info_output",
"/path/to/tmp/json",
"--failure_output",
"/path/to/tmp/",
"--",
"RECIPE_PACKAGE_REPO[depot_tools]/ninja",
"-w",
"dupbuild=err",
"-C",
"[START_DIR]/src/out/Debug",
"cronet_package",
"cronet_perf_test_apk",
"cronet_sample_test_apk",
"cronet_smoketests_missing_native_library_instrumentation_apk",
"cronet_smoketests_platform_only_instrumentation_apk",
"cronet_test_instrumentation_apk",
"cronet_unittests_android",
"net_unittests"
],
"cwd": "[START_DIR]/src",
"env": {
"CHROME_HEADLESS": "1",
"PATH": "[START_DIR]/src/third_party/android_tools/sdk/platform-tools:[START_DIR]/src/build/android:<PATH>"
},
"name": "compile"
},
{
"cmd": [
"RECIPE_PACKAGE_REPO[depot_tools]/ninja",
"-w",
"dupbuild=err",
"-C",
"[START_DIR]/src/out/Debug",
"cronet_package",
"cronet_perf_test_apk",
"cronet_sample_test_apk",
"cronet_smoketests_missing_native_library_instrumentation_apk",
"cronet_smoketests_platform_only_instrumentation_apk",
"cronet_test_instrumentation_apk",
"cronet_unittests_android",
"net_unittests",
"-d",
"explain",
"-n"
],
"cwd": "[START_DIR]/src",
"env": {
"CHROME_HEADLESS": "1",
"PATH": "[START_DIR]/src/third_party/android_tools/sdk/platform-tools:[START_DIR]/src/build/android:<PATH>"
},
"name": "compile confirm no-op",
"stdout": "/path/to/tmp/"
},
{
"cmd": [
"vpython",
"-u",
"RECIPE_PACKAGE_REPO[build]/scripts/tools/runit.py",
"--show-path",
"--",
"python",
"RECIPE_PACKAGE_REPO[build]/scripts/slave/upload_goma_logs.py",
"--gsutil-py-path",
"RECIPE_PACKAGE_REPO[depot_tools]/gsutil.py",
"--skip-sendgomatsmon",
"--ninja-log-outdir",
"[START_DIR]/src/out/Debug",
"--ninja-log-command-file",
"[\"RECIPE_PACKAGE_REPO[depot_tools]/ninja\", \"-w\", \"dupbuild=err\", \"-C\", \"[START_DIR]/src/out/Debug\", \"cronet_package\", \"cronet_perf_test_apk\", \"cronet_sample_test_apk\", \"cronet_smoketests_missing_native_library_instrumentation_apk\", \"cronet_smoketests_platform_only_instrumentation_apk\", \"cronet_test_instrumentation_apk\", \"cronet_unittests_android\", \"net_unittests\"]",
"--build-exit-status",
"0",
"--ninja-log-compiler",
"goma"
],
"env": {
"CHROME_HEADLESS": "1"
},
"name": "upload_ninja_log"
},
{
"allow_subannotations": true,
"cmd": [
"python",
"-u",
"RECIPE_PACKAGE_REPO[build]/scripts/tools/runit.py",
"--show-path",
"--with-third-party-lib",
"--",
"python",
"RECIPE_PACKAGE_REPO[build]/scripts/slave/runtest.py",
"--target",
"Debug",
"--no-xvfb",
"--factory-properties",
"{\"blamelist\": [\"cool_dev1337@chromium.org\", \"hax@chromium.org\"], \"bot_id\": \"test_bot\", \"branch\": \"master\", \"buildername\": \"local_test\", \"buildnumber\": 571, \"git_revision\": \"asdfawe2342\", \"got_revision_cp\": \"refs/heads/master@{#291141}\", \"mastername\": \"chromium.testing.master\", \"project\": \"src\", \"recipe\": \"cronet\", \"repository\": \"https://chromium.googlesource.com/chromium/src\", \"revision\": \"4f4b02f6b7fa20a3a25682c457bbc8ad589c8a00\", \"slavename\": \"TestSlavename\", \"workdir\": \"/path/to/workdir/TestSlavename\"}",
"--build-properties",
"{\"blamelist\": [\"cool_dev1337@chromium.org\", \"hax@chromium.org\"], \"bot_id\": \"test_bot\", \"branch\": \"master\", \"buildername\": \"local_test\", \"buildnumber\": 571, \"git_revision\": \"asdfawe2342\", \"got_revision_cp\": \"refs/heads/master@{#291141}\", \"mastername\": \"chromium.testing.master\", \"project\": \"src\", \"recipe\": \"cronet\", \"repository\": \"https://chromium.googlesource.com/chromium/src\", \"revision\": \"4f4b02f6b7fa20a3a25682c457bbc8ad589c8a00\", \"slavename\": \"TestSlavename\", \"workdir\": \"/path/to/workdir/TestSlavename\"}",
"--test-type=sizes",
"--builder-name=local_test",
"--slave-name=test_bot",
"--build-number=571",
"--run-python-script",
"--annotate=graphing",
"--results-url=https://chromeperf.appspot.com",
"--perf-dashboard-id=sizes",
"--perf-id=android_cronet_local_test_builder",
"[START_DIR]/src/infra/scripts/legacy/scripts/slave/chromium/sizes.py",
"--target",
"Debug",
"--platform",
"android-cronet"
],
"env": {
"CHROME_HEADLESS": "1"
},
"name": "sizes"
},
{
"cmd": [
"python",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"copy",
"[START_DIR]/src/chrome/VERSION",
"/path/to/tmp/"
],
"infra_step": true,
"name": "get version"
},
{
"cmd": [
"python",
"-u",
"[START_DIR]/src/build/symlink.py",
"-f",
"[START_DIR]/src/third_party/android_tools/sdk/platform-tools/adb",
"~/adb"
],
"infra_step": true,
"name": "create adb symlink"
},
{
"cmd": [
"python",
"-u",
"RECIPE_PACKAGE_REPO[build]/scripts/tools/runit.py",
"--show-path",
"--with-third-party-lib",
"--",
"python",
"RECIPE_PACKAGE_REPO[build]/scripts/slave/daemonizer.py",
"--",
"[START_DIR]/src/build/android/adb_logcat_monitor.py",
"[START_DIR]/src/out/logcat",
"[START_DIR]/src/third_party/android_tools/sdk/platform-tools/adb"
],
"env": {
"PATH": "[START_DIR]/src/third_party/android_tools/sdk/platform-tools:[START_DIR]/src/build/android:<PATH>"
},
"infra_step": true,
"name": "spawn_logcat_monitor"
},
{
"cmd": [
"python",
"-u",
"RECIPE_PACKAGE_REPO[build]/scripts/tools/runit.py",
"--show-path",
"--with-third-party-lib",
"--",
"python",
"RECIPE_PACKAGE_REPO[build]/scripts/slave/daemonizer.py",
"--action",
"restart",
"--pid-file-path",
"/tmp/device_monitor.pid",
"--",
"[START_DIR]/src/third_party/catapult/devil/devil/android/tools/device_monitor.py",
"--adb-path",
"[START_DIR]/src/third_party/android_tools/sdk/platform-tools/adb",
"--blacklist-file",
"[START_DIR]/src/out/bad_devices.json"
],
"infra_step": true,
"name": "spawn_device_monitor"
},
{
"cmd": [
"python",
"-u",
"RECIPE_PACKAGE_REPO[build]/scripts/tools/runit.py",
"--show-path",
"--with-third-party-lib",
"--",
"python",
"RECIPE_PACKAGE_REPO[build]/scripts/slave/android/authorize_adb_devices.py",
"--verbose",
"--adb-path",
"[START_DIR]/src/third_party/android_tools/sdk/platform-tools/adb"
],
"env": {
"PATH": "[START_DIR]/src/third_party/android_tools/sdk/platform-tools:[START_DIR]/src/build/android:<PATH>"
},
"infra_step": true,
"name": "authorize_adb_devices"
},
{
"cmd": [
"[START_DIR]/src/third_party/catapult/devil/devil/android/tools/device_recovery.py",
"--blacklist-file",
"[START_DIR]/src/out/bad_devices.json",
"--known-devices-file",
"[HOME]/.android/known_devices.json",
"--adb-path",
"[START_DIR]/src/third_party/android_tools/sdk/platform-tools/adb",
"-v"
],
"env": {
"PATH": "[START_DIR]/src/third_party/android_tools/sdk/platform-tools:[START_DIR]/src/build/android:<PATH>"
},
"infra_step": true,
"name": "device_recovery"
},
{
"cmd": [
"python",
"-u",
"[START_DIR]/src/third_party/catapult/devil/devil/android/tools/provision_devices.py",
"--adb-path",
"[START_DIR]/src/third_party/android_tools/sdk/platform-tools/adb",
"--blacklist-file",
"[START_DIR]/src/out/bad_devices.json",
"--output-device-blacklist",
"/path/to/tmp/json",
"-t",
"Debug",
"-v"
],
"env": {
"PATH": "[START_DIR]/src/third_party/android_tools/sdk/platform-tools:[START_DIR]/src/build/android:<PATH>"
},
"infra_step": true,
"name": "provision_devices"
},
{
"cmd": [
"[START_DIR]/src/third_party/catapult/devil/devil/android/tools/device_status.py",
"--json-output",
"/path/to/tmp/json",
"--blacklist-file",
"[START_DIR]/src/out/bad_devices.json",
"--known-devices-file",
"[HOME]/.android/known_devices.json",
"--buildbot-path",
"/home/chrome-bot/.adb_device_info",
"--adb-path",
"[START_DIR]/src/third_party/android_tools/sdk/platform-tools/adb",
"-v",
"--overwrite-known-devices-files"
],
"env": {
"PATH": "[START_DIR]/src/third_party/android_tools/sdk/platform-tools:[START_DIR]/src/build/android:<PATH>"
},
"infra_step": true,
"name": "device_status",
"~followup_annotations": [
"@@@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@@@",
"@@@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": [
"vpython",
"-u",
"[START_DIR]/src/out/Debug/bin/run_cronet_unittests",
"--blacklist-file",
"[START_DIR]/src/out/bad_devices.json",
"--verbose",
"-t",
"180",
"--adb-path",
"[START_DIR]/src/third_party/android_tools/sdk/platform-tools/adb"
],
"env": {
"PATH": "[START_DIR]/src/third_party/android_tools/sdk/platform-tools:[START_DIR]/src/build/android:<PATH>"
},
"name": "cronet_unittests"
},
{
"cmd": [
"vpython",
"-u",
"[START_DIR]/src/out/Debug/bin/run_net_unittests",
"--blacklist-file",
"[START_DIR]/src/out/bad_devices.json",
"--verbose",
"-t",
"180",
"--adb-path",
"[START_DIR]/src/third_party/android_tools/sdk/platform-tools/adb"
],
"env": {
"PATH": "[START_DIR]/src/third_party/android_tools/sdk/platform-tools:[START_DIR]/src/build/android:<PATH>"
},
"name": "net_unittests"
},
{
"cmd": [
"vpython",
"-u",
"[START_DIR]/src/out/Debug/bin/run_cronet_sample_test_apk",
"--blacklist-file",
"[START_DIR]/src/out/bad_devices.json",
"--verbose",
"--json-results-file",
"/path/to/tmp/json",
"--num-retries",
"0",
"--adb-path",
"[START_DIR]/src/third_party/android_tools/sdk/platform-tools/adb"
],
"name": "cronet_sample_test_apk"
},
{
"cmd": [
"python",
"-u",
"[START_DIR]/src/build/android/pylib/results/presentation/test_results_presentation.py",
"--json-file",
"{}",
"--test-name",
"cronet_sample_test_apk",
"--builder-name",
"local_test",
"--build-number",
"571",
"--cs-base-url",
"http://cs.chromium.org",
"--bucket",
"chromium-result-details"
],
"name": "cronet_sample_test_apk: generate result details",
"stdout": "/path/to/tmp/",
"~followup_annotations": [
"@@@STEP_LINK@result_details (logcats, flakiness links)@https://storage.cloud.google.com/chromium-result-details@@@"
]
},
{
"cmd": [
"vpython",
"-u",
"[START_DIR]/src/out/Debug/bin/run_cronet_smoketests_missing_native_library_instrumentation_apk",
"--blacklist-file",
"[START_DIR]/src/out/bad_devices.json",
"--verbose",
"--json-results-file",
"/path/to/tmp/json",
"--num-retries",
"0",
"--adb-path",
"[START_DIR]/src/third_party/android_tools/sdk/platform-tools/adb"
],
"name": "cronet_smoketests_missing_native_library_instrumentation_apk"
},
{
"cmd": [
"python",
"-u",
"[START_DIR]/src/build/android/pylib/results/presentation/test_results_presentation.py",
"--json-file",
"{}",
"--test-name",
"cronet_smoketests_missing_native_library_instrumentation_apk",
"--builder-name",
"local_test",
"--build-number",
"571",
"--cs-base-url",
"http://cs.chromium.org",
"--bucket",
"chromium-result-details"
],
"name": "cronet_smoketests_missing_native_library_instrumentation_apk: generate result details",
"stdout": "/path/to/tmp/",
"~followup_annotations": [
"@@@STEP_LINK@result_details (logcats, flakiness links)@https://storage.cloud.google.com/chromium-result-details@@@"
]
},
{
"cmd": [
"vpython",
"-u",
"[START_DIR]/src/out/Debug/bin/run_cronet_smoketests_platform_only_instrumentation_apk",
"--blacklist-file",
"[START_DIR]/src/out/bad_devices.json",
"--verbose",
"--json-results-file",
"/path/to/tmp/json",
"--num-retries",
"0",
"--adb-path",
"[START_DIR]/src/third_party/android_tools/sdk/platform-tools/adb"
],
"name": "cronet_smoketests_platform_only_instrumentation_apk"
},
{
"cmd": [
"python",
"-u",
"[START_DIR]/src/build/android/pylib/results/presentation/test_results_presentation.py",
"--json-file",
"{}",
"--test-name",
"cronet_smoketests_platform_only_instrumentation_apk",
"--builder-name",
"local_test",
"--build-number",
"571",
"--cs-base-url",
"http://cs.chromium.org",
"--bucket",
"chromium-result-details"
],
"name": "cronet_smoketests_platform_only_instrumentation_apk: generate result details",
"stdout": "/path/to/tmp/",
"~followup_annotations": [
"@@@STEP_LINK@result_details (logcats, flakiness links)@https://storage.cloud.google.com/chromium-result-details@@@"
]
},
{
"cmd": [
"vpython",
"-u",
"[START_DIR]/src/out/Debug/bin/run_cronet_test_instrumentation_apk",
"--blacklist-file",
"[START_DIR]/src/out/bad_devices.json",
"--verbose",
"--json-results-file",
"/path/to/tmp/json",
"--num-retries",
"0",
"--adb-path",
"[START_DIR]/src/third_party/android_tools/sdk/platform-tools/adb"
],
"name": "cronet_test_instrumentation_apk"
},
{
"cmd": [
"python",
"-u",
"[START_DIR]/src/build/android/pylib/results/presentation/test_results_presentation.py",
"--json-file",
"{}",
"--test-name",
"cronet_test_instrumentation_apk",
"--builder-name",
"local_test",
"--build-number",
"571",
"--cs-base-url",
"http://cs.chromium.org",
"--bucket",
"chromium-result-details"
],
"name": "cronet_test_instrumentation_apk: generate result details",
"stdout": "/path/to/tmp/",
"~followup_annotations": [
"@@@STEP_LINK@result_details (logcats, flakiness links)@https://storage.cloud.google.com/chromium-result-details@@@"
]
},
{
"cmd": [
"python",
"-u",
"RECIPE_PACKAGE_REPO[build]/scripts/tools/runit.py",
"--show-path",
"--with-third-party-lib",
"--",
"python",
"RECIPE_PACKAGE_REPO[build]/scripts/slave/daemonizer.py",
"--action",
"stop",
"--pid-file-path",
"/tmp/device_monitor.pid"
],
"infra_step": true,
"name": "shutdown_device_monitor"
},
{
"cmd": [
"python",
"-u",
"[START_DIR]/src/build/android/adb_logcat_printer.py",
"--output-path",
"[START_DIR]/src/out/Debug/full_log",
"[START_DIR]/src/out/logcat"
],
"infra_step": true,
"name": "logcat_dump"
},
{
"cmd": [
"python",
"-u",
"RECIPE_MODULE[depot_tools::gsutil]/resources/gsutil_smart_retry.py",
"--",
"RECIPE_PACKAGE_REPO[depot_tools]/gsutil.py",
"-o",
"GSUtil:parallel_composite_upload_threshold=50M",
"----",
"cp",
"[START_DIR]/src/out/Debug/full_log",
"gs://chromium-android/logcat_dumps/local_test/571"
],
"infra_step": true,
"name": "gsutil upload",
"~followup_annotations": [
"@@@STEP_LINK@logcat dump@https://storage.cloud.google.com/chromium-android/logcat_dumps/local_test/571@@@"
]
},
{
"cmd": [
"[START_DIR]/src/third_party/android_platform/development/scripts/stack",
"--arch",
"arm",
"--more-info",
"[START_DIR]/src/out/Debug/full_log"
],
"env": {
"CHROMIUM_OUTPUT_DIR": "[START_DIR]/src/out/Debug",
"PATH": "[START_DIR]/src/third_party/android_tools/sdk/platform-tools:[START_DIR]/src/build/android:<PATH>"
},
"infra_step": true,
"name": "stack_tool_with_logcat_dump"
},
{
"cmd": [
"[START_DIR]/src/build/android/tombstones.py",
"-a",
"-s",
"-w"
],
"env": {
"CHROMIUM_OUTPUT_DIR": "[START_DIR]/src/out/Debug",
"PATH": "[START_DIR]/src/third_party/android_tools/sdk/platform-tools:[START_DIR]/src/build/android:<PATH>"
},
"infra_step": true,
"name": "stack_tool_for_tombstones"
},
{
"cmd": [
"python",
"-u",
"\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",
"[START_DIR]/src/out/Debug/test_logs/*.log"
],
"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",
"recipe_result": null,
"status_code": 0
}
]