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

Side by Side Diff: scripts/slave/recipes/android/perf.expected/host_info_failure.json

Issue 2445193002: Change all remote run builders to use tools/build. (Closed)
Patch Set: Add recipes Created 4 years, 1 month 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
OLDNEW
1 [ 1 [
2 { 2 {
3 "cmd": [ 3 "cmd": [
4 "python", 4 "python",
5 "-u", 5 "-u",
6 "\nimport os, sys\n\nbuild_path = sys.argv[1]\nif os.path.exists(build_pat h):\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.joi n(path, cur_file)\n print 'deleting %s' % path_to_file\n os.remove (path_to_file)\n",
7 "[SLAVE_BUILD]"
8 ],
9 "name": "cleanup index.lock",
10 "~followup_annotations": [
11 "@@@STEP_LOG_LINE@python.inline@@@@",
12 "@@@STEP_LOG_LINE@python.inline@import os, sys@@@",
13 "@@@STEP_LOG_LINE@python.inline@@@@",
14 "@@@STEP_LOG_LINE@python.inline@build_path = sys.argv[1]@@@",
15 "@@@STEP_LOG_LINE@python.inline@if os.path.exists(build_path):@@@",
16 "@@@STEP_LOG_LINE@python.inline@ for (path, dir, files) in os.walk(build_ path):@@@",
17 "@@@STEP_LOG_LINE@python.inline@ for cur_file in files:@@@",
18 "@@@STEP_LOG_LINE@python.inline@ if cur_file.endswith('index.lock'):@ @@",
19 "@@@STEP_LOG_LINE@python.inline@ path_to_file = os.path.join(path, cur_file)@@@",
20 "@@@STEP_LOG_LINE@python.inline@ print 'deleting %s' % path_to_file @@@",
21 "@@@STEP_LOG_LINE@python.inline@ os.remove(path_to_file)@@@",
22 "@@@STEP_LOG_END@python.inline@@@"
23 ]
24 },
25 {
26 "cmd": [
27 "python",
28 "-u",
29 "RECIPE_MODULE[depot_tools::bot_update]/resources/bot_update.py", 6 "RECIPE_MODULE[depot_tools::bot_update]/resources/bot_update.py",
30 "--spec", 7 "--spec",
31 "cache_dir = '[GIT_CACHE]'\nsolutions = [{'deps_file': '.DEPS.git', 'manag ed': True, 'name': 'src', 'url': 'https://chromium.googlesource.com/chromium/src '}]\ntarget_os = ['android']", 8 "cache_dir = '[GIT_CACHE]'\nsolutions = [{'deps_file': '.DEPS.git', 'manag ed': False, 'name': 'src', 'url': 'https://chromium.googlesource.com/chromium/sr c.git'}, {'custom_deps': {'src/chrome/test/data/firefox2_profile/searchplugins': None, 'src/chrome/test/data/firefox2_searchplugins': None, 'src/chrome/test/dat a/firefox3_profile/searchplugins': None, 'src/chrome/test/data/firefox3_searchpl ugins': None, 'src/chrome/test/data/osdd': None, 'src/chrome/test/data/perf/fram e_rate/private': None, 'src/chrome/test/data/plugin': None, 'src/chrome/test/dat a/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_test s': None, 'src/data/selenium_core': None, 'src/data/tab_switching': None, 'src/t ools/grit/grit/test/data': None, 'src/webkit/data/bmp_decoder': None, 'src/webki t/data/ico_decoder': None, 'src/webkit/data/test_shell/plugins': None, 'src/webk it/data/xbm_decoder': None}, 'deps_file': '.DEPS.git', 'managed': False, 'name': 'src-internal', 'url': 'https://chrome-internal.googlesource.com/chrome/src-int ernal.git'}]\ntarget_os = ['android']",
32 "--patch_root", 9 "--patch_root",
33 "src", 10 "src",
34 "--revision_mapping_file", 11 "--revision_mapping_file",
35 "{\"src\": \"got_src_revision\", \"src/buildtools\": \"got_buildtools_revi sion\", \"src/native_client\": \"got_nacl_revision\", \"src/third_party/angle\": \"got_angle_revision\", \"src/third_party/webrtc\": \"got_webrtc_revision\", \" src/tools/swarming_client\": \"got_swarming_client_revision\", \"src/v8\": \"got _v8_revision\"}", 12 "{\"src\": \"got_revision\", \"src/buildtools\": \"got_buildtools_revision \", \"src/native_client\": \"got_nacl_revision\", \"src/third_party/angle\": \"g ot_angle_revision\", \"src/third_party/webrtc\": \"got_webrtc_revision\", \"src/ tools/swarming_client\": \"got_swarming_client_revision\", \"src/v8\": \"got_v8_ revision\"}",
36 "--git-cache-dir", 13 "--git-cache-dir",
37 "[GIT_CACHE]", 14 "[GIT_CACHE]",
38 "--output_json", 15 "--output_json",
39 "/path/to/tmp/json", 16 "/path/to/tmp/json",
40 "--revision", 17 "--revision",
41 "src@4f4b02f6b7fa20a3a25682c457bbc8ad589c8a00", 18 "src@deadbeef",
42 "--output_manifest" 19 "--output_manifest"
43 ], 20 ],
44 "env": { 21 "env": {
45 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" 22 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]"
46 }, 23 },
47 "name": "bot_update", 24 "name": "bot_update",
48 "~followup_annotations": [ 25 "~followup_annotations": [
49 "@@@STEP_TEXT@Some step text@@@", 26 "@@@STEP_TEXT@Some step text@@@",
50 "@@@STEP_LOG_LINE@json.output@{@@@", 27 "@@@STEP_LOG_LINE@json.output@{@@@",
51 "@@@STEP_LOG_LINE@json.output@ \"did_run\": true, @@@", 28 "@@@STEP_LOG_LINE@json.output@ \"did_run\": true, @@@",
52 "@@@STEP_LOG_LINE@json.output@ \"fixed_revisions\": {@@@", 29 "@@@STEP_LOG_LINE@json.output@ \"fixed_revisions\": {@@@",
53 "@@@STEP_LOG_LINE@json.output@ \"src\": \"4f4b02f6b7fa20a3a25682c457bbc 8ad589c8a00\"@@@", 30 "@@@STEP_LOG_LINE@json.output@ \"src\": \"deadbeef\"@@@",
54 "@@@STEP_LOG_LINE@json.output@ }, @@@", 31 "@@@STEP_LOG_LINE@json.output@ }, @@@",
55 "@@@STEP_LOG_LINE@json.output@ \"manifest\": {@@@", 32 "@@@STEP_LOG_LINE@json.output@ \"manifest\": {@@@",
56 "@@@STEP_LOG_LINE@json.output@ \"src\": {@@@", 33 "@@@STEP_LOG_LINE@json.output@ \"src\": {@@@",
57 "@@@STEP_LOG_LINE@json.output@ \"repository\": \"https://fake.org/src .git\", @@@", 34 "@@@STEP_LOG_LINE@json.output@ \"repository\": \"https://fake.org/src .git\", @@@",
58 "@@@STEP_LOG_LINE@json.output@ \"revision\": \"f27fede2220bcd326aee3e 86ddfd4ebd0fe58cb9\"@@@", 35 "@@@STEP_LOG_LINE@json.output@ \"revision\": \"f27fede2220bcd326aee3e 86ddfd4ebd0fe58cb9\"@@@",
59 "@@@STEP_LOG_LINE@json.output@ }, @@@", 36 "@@@STEP_LOG_LINE@json.output@ }, @@@",
60 "@@@STEP_LOG_LINE@json.output@ \"src/buildtools\": {@@@", 37 "@@@STEP_LOG_LINE@json.output@ \"src/buildtools\": {@@@",
61 "@@@STEP_LOG_LINE@json.output@ \"repository\": \"https://fake.org/src /buildtools.git\", @@@", 38 "@@@STEP_LOG_LINE@json.output@ \"repository\": \"https://fake.org/src /buildtools.git\", @@@",
62 "@@@STEP_LOG_LINE@json.output@ \"revision\": \"f0319a328b280987691635 3cb994259692140934\"@@@", 39 "@@@STEP_LOG_LINE@json.output@ \"revision\": \"f0319a328b280987691635 3cb994259692140934\"@@@",
63 "@@@STEP_LOG_LINE@json.output@ }, @@@", 40 "@@@STEP_LOG_LINE@json.output@ }, @@@",
(...skipping 20 matching lines...) Expand all
84 "@@@STEP_LOG_LINE@json.output@ }, @@@", 61 "@@@STEP_LOG_LINE@json.output@ }, @@@",
85 "@@@STEP_LOG_LINE@json.output@ \"patch_failure\": false, @@@", 62 "@@@STEP_LOG_LINE@json.output@ \"patch_failure\": false, @@@",
86 "@@@STEP_LOG_LINE@json.output@ \"patch_root\": \"src\", @@@", 63 "@@@STEP_LOG_LINE@json.output@ \"patch_root\": \"src\", @@@",
87 "@@@STEP_LOG_LINE@json.output@ \"properties\": {@@@", 64 "@@@STEP_LOG_LINE@json.output@ \"properties\": {@@@",
88 "@@@STEP_LOG_LINE@json.output@ \"got_angle_revision\": \"fac9503c46405f 77757b9a728eb85b8d7bc6080c\", @@@", 65 "@@@STEP_LOG_LINE@json.output@ \"got_angle_revision\": \"fac9503c46405f 77757b9a728eb85b8d7bc6080c\", @@@",
89 "@@@STEP_LOG_LINE@json.output@ \"got_angle_revision_cp\": \"refs/heads/ master@{#297276}\", @@@", 66 "@@@STEP_LOG_LINE@json.output@ \"got_angle_revision_cp\": \"refs/heads/ master@{#297276}\", @@@",
90 "@@@STEP_LOG_LINE@json.output@ \"got_buildtools_revision\": \"f0319a328 b2809876916353cb994259692140934\", @@@", 67 "@@@STEP_LOG_LINE@json.output@ \"got_buildtools_revision\": \"f0319a328 b2809876916353cb994259692140934\", @@@",
91 "@@@STEP_LOG_LINE@json.output@ \"got_buildtools_revision_cp\": \"refs/h eads/master@{#182578}\", @@@", 68 "@@@STEP_LOG_LINE@json.output@ \"got_buildtools_revision_cp\": \"refs/h eads/master@{#182578}\", @@@",
92 "@@@STEP_LOG_LINE@json.output@ \"got_nacl_revision\": \"d998e125e825398 0d76e269b7982aeeefc1b9b50\", @@@", 69 "@@@STEP_LOG_LINE@json.output@ \"got_nacl_revision\": \"d998e125e825398 0d76e269b7982aeeefc1b9b50\", @@@",
93 "@@@STEP_LOG_LINE@json.output@ \"got_nacl_revision_cp\": \"refs/heads/m aster@{#274981}\", @@@", 70 "@@@STEP_LOG_LINE@json.output@ \"got_nacl_revision_cp\": \"refs/heads/m aster@{#274981}\", @@@",
94 "@@@STEP_LOG_LINE@json.output@ \"got_src_revision\": \"f27fede2220bcd32 6aee3e86ddfd4ebd0fe58cb9\", @@@", 71 "@@@STEP_LOG_LINE@json.output@ \"got_revision\": \"f27fede2220bcd326aee 3e86ddfd4ebd0fe58cb9\", @@@",
95 "@@@STEP_LOG_LINE@json.output@ \"got_src_revision_cp\": \"refs/heads/ma ster@{#170242}\", @@@", 72 "@@@STEP_LOG_LINE@json.output@ \"got_revision_cp\": \"refs/heads/master @{#170242}\", @@@",
96 "@@@STEP_LOG_LINE@json.output@ \"got_swarming_client_revision\": \"a0ee 5d99f1d4b38ddaa4c759c837980b63b99566\", @@@", 73 "@@@STEP_LOG_LINE@json.output@ \"got_swarming_client_revision\": \"a0ee 5d99f1d4b38ddaa4c759c837980b63b99566\", @@@",
97 "@@@STEP_LOG_LINE@json.output@ \"got_swarming_client_revision_cp\": \"r efs/heads/master@{#276089}\", @@@", 74 "@@@STEP_LOG_LINE@json.output@ \"got_swarming_client_revision_cp\": \"r efs/heads/master@{#276089}\", @@@",
98 "@@@STEP_LOG_LINE@json.output@ \"got_v8_revision\": \"801ada225ddc271c1 32c3a35f03975671d43e399\", @@@", 75 "@@@STEP_LOG_LINE@json.output@ \"got_v8_revision\": \"801ada225ddc271c1 32c3a35f03975671d43e399\", @@@",
99 "@@@STEP_LOG_LINE@json.output@ \"got_v8_revision_cp\": \"refs/heads/mas ter@{#43426}\", @@@", 76 "@@@STEP_LOG_LINE@json.output@ \"got_v8_revision_cp\": \"refs/heads/mas ter@{#43426}\", @@@",
100 "@@@STEP_LOG_LINE@json.output@ \"got_webrtc_revision\": \"0f90628433546 e61d9268596da93418c623137f4\", @@@", 77 "@@@STEP_LOG_LINE@json.output@ \"got_webrtc_revision\": \"0f90628433546 e61d9268596da93418c623137f4\", @@@",
101 "@@@STEP_LOG_LINE@json.output@ \"got_webrtc_revision_cp\": \"refs/heads /master@{#120644}\"@@@", 78 "@@@STEP_LOG_LINE@json.output@ \"got_webrtc_revision_cp\": \"refs/heads /master@{#120644}\"@@@",
102 "@@@STEP_LOG_LINE@json.output@ }, @@@", 79 "@@@STEP_LOG_LINE@json.output@ }, @@@",
103 "@@@STEP_LOG_LINE@json.output@ \"root\": \"src\", @@@", 80 "@@@STEP_LOG_LINE@json.output@ \"root\": \"src\", @@@",
104 "@@@STEP_LOG_LINE@json.output@ \"step_text\": \"Some step text\"@@@", 81 "@@@STEP_LOG_LINE@json.output@ \"step_text\": \"Some step text\"@@@",
105 "@@@STEP_LOG_LINE@json.output@}@@@", 82 "@@@STEP_LOG_LINE@json.output@}@@@",
106 "@@@STEP_LOG_END@json.output@@@", 83 "@@@STEP_LOG_END@json.output@@@",
107 "@@@SET_BUILD_PROPERTY@got_nacl_revision@\"d998e125e8253980d76e269b7982aee efc1b9b50\"@@@", 84 "@@@SET_BUILD_PROPERTY@got_nacl_revision@\"d998e125e8253980d76e269b7982aee efc1b9b50\"@@@",
108 "@@@SET_BUILD_PROPERTY@got_src_revision@\"f27fede2220bcd326aee3e86ddfd4ebd 0fe58cb9\"@@@", 85 "@@@SET_BUILD_PROPERTY@got_swarming_client_revision@\"a0ee5d99f1d4b38ddaa4 c759c837980b63b99566\"@@@",
109 "@@@SET_BUILD_PROPERTY@got_buildtools_revision_cp@\"refs/heads/master@{#18 2578}\"@@@", 86 "@@@SET_BUILD_PROPERTY@got_buildtools_revision_cp@\"refs/heads/master@{#18 2578}\"@@@",
110 "@@@SET_BUILD_PROPERTY@got_webrtc_revision@\"0f90628433546e61d9268596da934 18c623137f4\"@@@", 87 "@@@SET_BUILD_PROPERTY@got_webrtc_revision@\"0f90628433546e61d9268596da934 18c623137f4\"@@@",
111 "@@@SET_BUILD_PROPERTY@got_swarming_client_revision@\"a0ee5d99f1d4b38ddaa4 c759c837980b63b99566\"@@@", 88 "@@@SET_BUILD_PROPERTY@got_revision@\"f27fede2220bcd326aee3e86ddfd4ebd0fe5 8cb9\"@@@",
112 "@@@SET_BUILD_PROPERTY@got_nacl_revision_cp@\"refs/heads/master@{#274981}\ "@@@", 89 "@@@SET_BUILD_PROPERTY@got_nacl_revision_cp@\"refs/heads/master@{#274981}\ "@@@",
113 "@@@SET_BUILD_PROPERTY@got_angle_revision@\"fac9503c46405f77757b9a728eb85b 8d7bc6080c\"@@@", 90 "@@@SET_BUILD_PROPERTY@got_angle_revision@\"fac9503c46405f77757b9a728eb85b 8d7bc6080c\"@@@",
114 "@@@SET_BUILD_PROPERTY@got_v8_revision@\"801ada225ddc271c132c3a35f03975671 d43e399\"@@@", 91 "@@@SET_BUILD_PROPERTY@got_v8_revision@\"801ada225ddc271c132c3a35f03975671 d43e399\"@@@",
115 "@@@SET_BUILD_PROPERTY@got_v8_revision_cp@\"refs/heads/master@{#43426}\"@@ @", 92 "@@@SET_BUILD_PROPERTY@got_v8_revision_cp@\"refs/heads/master@{#43426}\"@@ @",
116 "@@@SET_BUILD_PROPERTY@got_swarming_client_revision_cp@\"refs/heads/master @{#276089}\"@@@", 93 "@@@SET_BUILD_PROPERTY@got_swarming_client_revision_cp@\"refs/heads/master @{#276089}\"@@@",
117 "@@@SET_BUILD_PROPERTY@got_webrtc_revision_cp@\"refs/heads/master@{#120644 }\"@@@", 94 "@@@SET_BUILD_PROPERTY@got_webrtc_revision_cp@\"refs/heads/master@{#120644 }\"@@@",
118 "@@@SET_BUILD_PROPERTY@got_src_revision_cp@\"refs/heads/master@{#170242}\" @@@", 95 "@@@SET_BUILD_PROPERTY@got_revision_cp@\"refs/heads/master@{#170242}\"@@@" ,
119 "@@@SET_BUILD_PROPERTY@got_angle_revision_cp@\"refs/heads/master@{#297276} \"@@@", 96 "@@@SET_BUILD_PROPERTY@got_angle_revision_cp@\"refs/heads/master@{#297276} \"@@@",
120 "@@@SET_BUILD_PROPERTY@got_buildtools_revision@\"f0319a328b2809876916353cb 994259692140934\"@@@" 97 "@@@SET_BUILD_PROPERTY@got_buildtools_revision@\"f0319a328b2809876916353cb 994259692140934\"@@@"
121 ] 98 ]
122 }, 99 },
123 { 100 {
124 "cmd": [ 101 "cmd": [
125 "python", 102 "python",
126 "-u", 103 "-u",
104 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
105 "[SLAVE_BUILD]/src/testing/buildbot/chromium.perf.json",
106 "/path/to/tmp/json"
107 ],
108 "name": "read test spec (chromium.perf.json)",
109 "~followup_annotations": [
110 "@@@STEP_TEXT@path: [SLAVE_BUILD]/src/testing/buildbot/chromium.perf.json@ @@",
111 "@@@STEP_LOG_LINE@json.output@{}@@@",
112 "@@@STEP_LOG_END@json.output@@@"
113 ]
114 },
115 {
116 "cmd": [
117 "python",
118 "-u",
119 "[SLAVE_BUILD]/src/testing/scripts/get_compile_targets.py",
120 "--output",
121 "/path/to/tmp/json",
122 "--",
123 "--build-config-fs",
124 "Release",
125 "--paths",
126 "{\"checkout\": \"[SLAVE_BUILD]/src\", \"runit.py\": \"RECIPE_PACKAGE_REPO [build]/scripts/tools/runit.py\", \"runtest.py\": \"RECIPE_PACKAGE_REPO[build]/s cripts/slave/runtest.py\"}",
127 "--properties",
128 "{\"buildername\": \"Android Nexus5 Perf (1)\", \"buildnumber\": 571, \"ma stername\": \"chromium.perf\", \"perf-id\": \"android-nexus5\", \"results-url\": \"https://chromeperf.appspot.com\", \"slavename\": \"slavename\", \"target_plat form\": \"android\"}"
129 ],
130 "name": "get compile targets for scripts",
131 "~followup_annotations": [
132 "@@@STEP_LOG_LINE@json.output@{}@@@",
133 "@@@STEP_LOG_END@json.output@@@"
134 ]
135 },
136 {
137 "cmd": [
138 "python",
139 "-u",
127 "\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\nfo r base, _dirs, files in os.walk(sys.argv[4]):\n for f in files:\n if f.endsw ith('.pyc'):\n os.remove(os.path.join(base, f))\n", 140 "\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\nfo r base, _dirs, files in os.walk(sys.argv[4]):\n for f in files:\n if f.endsw ith('.pyc'):\n os.remove(os.path.join(base, f))\n",
128 "[SLAVE_BUILD]/src/out/Release/debug_info_dumps", 141 "[SLAVE_BUILD]/src/out/Release/debug_info_dumps",
129 "[SLAVE_BUILD]/src/out/Release/test_logs", 142 "[SLAVE_BUILD]/src/out/Release/test_logs",
130 "[SLAVE_BUILD]/src/out/build_product.zip", 143 "[SLAVE_BUILD]/src/out/build_product.zip",
131 "[SLAVE_BUILD]/src" 144 "[SLAVE_BUILD]/src"
132 ], 145 ],
133 "name": "clean local files", 146 "name": "clean local files",
134 "~followup_annotations": [ 147 "~followup_annotations": [
135 "@@@STEP_LOG_LINE@python.inline@@@@", 148 "@@@STEP_LOG_LINE@python.inline@@@@",
136 "@@@STEP_LOG_LINE@python.inline@import shutil, sys, os@@@", 149 "@@@STEP_LOG_LINE@python.inline@import shutil, sys, os@@@",
137 "@@@STEP_LOG_LINE@python.inline@shutil.rmtree(sys.argv[1], True)@@@", 150 "@@@STEP_LOG_LINE@python.inline@shutil.rmtree(sys.argv[1], True)@@@",
138 "@@@STEP_LOG_LINE@python.inline@shutil.rmtree(sys.argv[2], True)@@@", 151 "@@@STEP_LOG_LINE@python.inline@shutil.rmtree(sys.argv[2], True)@@@",
139 "@@@STEP_LOG_LINE@python.inline@try:@@@", 152 "@@@STEP_LOG_LINE@python.inline@try:@@@",
140 "@@@STEP_LOG_LINE@python.inline@ os.remove(sys.argv[3])@@@", 153 "@@@STEP_LOG_LINE@python.inline@ os.remove(sys.argv[3])@@@",
141 "@@@STEP_LOG_LINE@python.inline@except OSError:@@@", 154 "@@@STEP_LOG_LINE@python.inline@except OSError:@@@",
142 "@@@STEP_LOG_LINE@python.inline@ pass@@@", 155 "@@@STEP_LOG_LINE@python.inline@ pass@@@",
143 "@@@STEP_LOG_LINE@python.inline@for base, _dirs, files in os.walk(sys.argv [4]):@@@", 156 "@@@STEP_LOG_LINE@python.inline@for base, _dirs, files in os.walk(sys.argv [4]):@@@",
144 "@@@STEP_LOG_LINE@python.inline@ for f in files:@@@", 157 "@@@STEP_LOG_LINE@python.inline@ for f in files:@@@",
145 "@@@STEP_LOG_LINE@python.inline@ if f.endswith('.pyc'):@@@", 158 "@@@STEP_LOG_LINE@python.inline@ if f.endswith('.pyc'):@@@",
146 "@@@STEP_LOG_LINE@python.inline@ os.remove(os.path.join(base, f))@@@" , 159 "@@@STEP_LOG_LINE@python.inline@ os.remove(os.path.join(base, f))@@@" ,
147 "@@@STEP_LOG_END@python.inline@@@" 160 "@@@STEP_LOG_END@python.inline@@@"
148 ] 161 ]
149 }, 162 },
150 { 163 {
151 "cmd": [],
152 "name": "ensure_goma"
153 },
154 {
155 "cmd": [
156 "python",
157 "-u",
158 "RECIPE_MODULE[depot_tools::cipd]/resources/bootstrap.py",
159 "--platform",
160 "linux-amd64",
161 "--dest-directory",
162 "[SLAVE_BUILD]/cipd",
163 "--json-output",
164 "/path/to/tmp/json"
165 ],
166 "name": "ensure_goma.install cipd",
167 "~followup_annotations": [
168 "@@@STEP_NEST_LEVEL@1@@@",
169 "@@@STEP_TEXT@cipd instance_id: 40-chars-fake-of-the-package-instance_id@@ @",
170 "@@@STEP_LOG_LINE@json.output@{@@@",
171 "@@@STEP_LOG_LINE@json.output@ \"executable\": \"[SLAVE_BUILD]/cipd/cipd\ ", @@@",
172 "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"40-chars-fake-of-the-pa ckage-instance_id\"@@@",
173 "@@@STEP_LOG_LINE@json.output@}@@@",
174 "@@@STEP_LOG_END@json.output@@@"
175 ]
176 },
177 {
178 "cmd": [
179 "[SLAVE_BUILD]/cipd/cipd",
180 "ensure",
181 "--root",
182 "[CACHE]/cipd/goma",
183 "--list",
184 "infra/tools/cloudtail/linux-amd64 goma_recipe_module\ninfra_internal/goma /client/linux-amd64 release",
185 "--json-output",
186 "/path/to/tmp/json",
187 "--service-account-json",
188 "/creds/service_accounts/service-account-goma-client.json"
189 ],
190 "name": "ensure_goma.ensure_installed",
191 "~followup_annotations": [
192 "@@@STEP_NEST_LEVEL@1@@@",
193 "@@@STEP_LOG_LINE@json.output@{@@@",
194 "@@@STEP_LOG_LINE@json.output@ \"result\": [@@@",
195 "@@@STEP_LOG_LINE@json.output@ {@@@",
196 "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"resolved-instance_i d-of-goma_recipe_modu\", @@@",
197 "@@@STEP_LOG_LINE@json.output@ \"package\": \"infra/tools/cloudtail/l inux-amd64\"@@@",
198 "@@@STEP_LOG_LINE@json.output@ }, @@@",
199 "@@@STEP_LOG_LINE@json.output@ {@@@",
200 "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"resolved-instance_i d-of-release---------\", @@@",
201 "@@@STEP_LOG_LINE@json.output@ \"package\": \"infra_internal/goma/cli ent/linux-amd64\"@@@",
202 "@@@STEP_LOG_LINE@json.output@ }@@@",
203 "@@@STEP_LOG_LINE@json.output@ ]@@@",
204 "@@@STEP_LOG_LINE@json.output@}@@@",
205 "@@@STEP_LOG_END@json.output@@@"
206 ]
207 },
208 {
209 "cmd": [ 164 "cmd": [
210 "python", 165 "python",
211 "-u", 166 "-u",
212 "\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.RemoveD irectory(sys.argv[1])\n", 167 "\nimport sys\nsys.path.append(sys.argv[1])\nfrom devil import devil_env\n devil_env.config.Initialize()\ndevil_env.config.PrefetchPaths(dependencies=['adb '])\n",
213 "[SLAVE_BUILD]/src/out/Release" 168 "[SLAVE_BUILD]/src/third_party/catapult/devil"
214 ], 169 ],
215 "name": "rmtree clobber", 170 "name": "initialize devil",
216 "~followup_annotations": [ 171 "~followup_annotations": [
217 "@@@STEP_LOG_LINE@python.inline@@@@", 172 "@@@STEP_LOG_LINE@python.inline@@@@",
218 "@@@STEP_LOG_LINE@python.inline@import os, sys@@@", 173 "@@@STEP_LOG_LINE@python.inline@import sys@@@",
219 "@@@STEP_LOG_LINE@python.inline@from common import chromium_utils # Error? See https://crbug.com/584783.@@@", 174 "@@@STEP_LOG_LINE@python.inline@sys.path.append(sys.argv[1])@@@",
220 "@@@STEP_LOG_LINE@python.inline@@@@", 175 "@@@STEP_LOG_LINE@python.inline@from devil import devil_env@@@",
221 "@@@STEP_LOG_LINE@python.inline@@@@", 176 "@@@STEP_LOG_LINE@python.inline@devil_env.config.Initialize()@@@",
222 "@@@STEP_LOG_LINE@python.inline@if os.path.exists(sys.argv[1]):@@@", 177 "@@@STEP_LOG_LINE@python.inline@devil_env.config.PrefetchPaths(dependencie s=['adb'])@@@",
223 "@@@STEP_LOG_LINE@python.inline@ chromium_utils.RemoveDirectory(sys.argv[ 1])@@@",
224 "@@@STEP_LOG_END@python.inline@@@" 178 "@@@STEP_LOG_END@python.inline@@@"
225 ] 179 ]
226 }, 180 },
227 { 181 {
228 "cmd": [ 182 "cmd": [
229 "python", 183 "python",
230 "-u", 184 "-u",
231 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", 185 "RECIPE_MODULE[build::gsutil]/resources/gsutil_wrapper.py",
232 "runhooks" 186 "--",
187 "RECIPE_PACKAGE_REPO[depot_tools]/gsutil.py",
188 "--force-version",
189 "4.7",
190 "----",
191 "cp",
192 "gs://chrome-perf/Android Builder/full-build-linux_deadbeef.zip",
193 "[SLAVE_BUILD]/src/out/build_product.zip"
233 ], 194 ],
234 "cwd": "[SLAVE_BUILD]/src", 195 "name": "gsutil download_build_product"
235 "env": {
236 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json",
237 "GYP_CHROMIUM_NO_ACTION": "1",
238 "GYP_CROSSCOMPILE": "1",
239 "GYP_DEFINES": "OS=android component=static_library disable_brotli_filter= 1 disable_file_support=1 disable_ftp_support=1 enable_websockets=0 fastbuild=1 g omadir='[CACHE]/cipd/goma' target_arch=arm use_goma=1 use_platform_icu_alternati ves=1",
240 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]"
241 },
242 "name": "gclient runhooks"
243 }, 196 },
244 { 197 {
245 "cmd": [ 198 "cmd": [
246 "python", 199 "unzip",
247 "-u", 200 "-o",
248 "[SLAVE_BUILD]/src/tools/mb/mb.py", 201 "[SLAVE_BUILD]/src/out/build_product.zip"
249 "gen",
250 "-m",
251 "chromium.testing.master",
252 "-b",
253 "Android Cronet KitKat Builder",
254 "--config-file",
255 "[SLAVE_BUILD]/src/tools/mb/mb_config.pyl",
256 "--goma-dir",
257 "[CACHE]/cipd/goma",
258 "//out/Release"
259 ], 202 ],
260 "cwd": "[SLAVE_BUILD]/src", 203 "cwd": "[SLAVE_BUILD]/src",
261 "env": { 204 "name": "unzip_build_product"
262 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json"
263 },
264 "name": "generate_build_files"
265 }, 205 },
266 { 206 {
267 "cmd": [ 207 "cmd": [
268 "python",
269 "-u",
270 "RECIPE_PACKAGE_REPO[build]/scripts/tools/runit.py",
271 "--show-path",
272 "python",
273 "RECIPE_PACKAGE_REPO[build]/scripts/slave/compile.py",
274 "--gsutil-py-path",
275 "RECIPE_PACKAGE_REPO[depot_tools]/gsutil.py",
276 "--ninja-path",
277 "RECIPE_PACKAGE_REPO[depot_tools]/ninja",
278 "--target",
279 "Release",
280 "--src-dir",
281 "[SLAVE_BUILD]/src",
282 "--goma-cache-dir",
283 "[GOMA_CACHE]",
284 "--buildbot-buildername",
285 "Android Cronet KitKat Builder",
286 "--buildbot-mastername",
287 "chromium.testing.master",
288 "--buildbot-slavename",
289 "TestSlavename",
290 "--goma-deps-cache-file",
291 "Android_Cronet_KitKat_Builder.gomadeps",
292 "--compiler",
293 "goma",
294 "--goma-jsonstatus",
295 "/path/to/tmp/json",
296 "--goma-service-account-json-file",
297 "/creds/service_accounts/service-account-goma-client.json",
298 "--goma-dir",
299 "[CACHE]/cipd/goma",
300 "--",
301 "cronet_package",
302 "cronet_perf_test_apk",
303 "cronet_sample_test_apk",
304 "cronet_test_instrumentation_apk",
305 "cronet_unittests",
306 "cronet_unittests_apk",
307 "net_unittests",
308 "net_unittests_apk"
309 ],
310 "env": {
311 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json",
312 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
313 },
314 "name": "compile",
315 "~followup_annotations": [
316 "@@@STEP_LOG_LINE@json.output (invalid)@null@@@",
317 "@@@STEP_LOG_END@json.output (invalid)@@@"
318 ]
319 },
320 {
321 "allow_subannotations": true,
322 "cmd": [
323 "python",
324 "-u",
325 "RECIPE_PACKAGE_REPO[build]/scripts/slave/runtest.py",
326 "--target",
327 "Release",
328 "--no-xvfb",
329 "--factory-properties",
330 "{\"blamelist\": [\"cool_dev1337@chromium.org\", \"hax@chromium.org\"], \" branch\": \"master\", \"buildername\": \"Android Cronet KitKat Builder\", \"buil dnumber\": 571, \"mastername\": \"chromium.testing.master\", \"project\": \"src\ ", \"recipe\": \"cronet\", \"repository\": \"https://chromium.googlesource.com/c hromium/src\", \"revision\": \"4f4b02f6b7fa20a3a25682c457bbc8ad589c8a00\", \"sla vename\": \"TestSlavename\", \"workdir\": \"/path/to/workdir/TestSlavename\"}",
331 "--build-properties",
332 "{\"blamelist\": [\"cool_dev1337@chromium.org\", \"hax@chromium.org\"], \" branch\": \"master\", \"buildername\": \"Android Cronet KitKat Builder\", \"buil dnumber\": 571, \"mastername\": \"chromium.testing.master\", \"project\": \"src\ ", \"recipe\": \"cronet\", \"repository\": \"https://chromium.googlesource.com/c hromium/src\", \"revision\": \"4f4b02f6b7fa20a3a25682c457bbc8ad589c8a00\", \"sla vename\": \"TestSlavename\", \"workdir\": \"/path/to/workdir/TestSlavename\"}",
333 "--test-type=sizes",
334 "--builder-name=Android Cronet KitKat Builder",
335 "--slave-name=TestSlavename",
336 "--build-number=571",
337 "--run-python-script",
338 "--annotate=graphing",
339 "--results-url=https://chromeperf.appspot.com",
340 "--perf-dashboard-id=sizes",
341 "--perf-id=android_cronet_builder",
342 "RECIPE_PACKAGE_REPO[build]/scripts/slave/chromium/sizes.py",
343 "--target",
344 "Release",
345 "--platform",
346 "android-cronet"
347 ],
348 "name": "sizes"
349 },
350 {
351 "cmd": [
352 "python",
353 "-u",
354 "[SLAVE_BUILD]/src/build/android/test_runner.py",
355 "perf",
356 "--release",
357 "--verbose",
358 "--steps",
359 "{\"steps\": {\"resource_sizes (CronetSample.apk)\": {\"archive_output_dir \": true, \"cmd\": \"build/android/resource_sizes.py '[SLAVE_BUILD]/src/out/Rele ase/apks/CronetSample.apk'\", \"device_affinity\": null}}, \"version\": 1}",
360 "--blacklist-file",
361 "[SLAVE_BUILD]/src/out/bad_devices.json",
362 "--num-retries",
363 "0",
364 "--adb-path",
365 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb"
366 ],
367 "cwd": "[SLAVE_BUILD]/src",
368 "env": {
369 "CHROMIUM_OUTPUT_DIR": "[SLAVE_BUILD]/src/out/Release",
370 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json",
371 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
372 },
373 "name": "Sharded Perf Tests"
374 },
375 {
376 "cmd": [
377 "python",
378 "-u",
379 "[SLAVE_BUILD]/src/build/android/test_runner.py",
380 "perf",
381 "--steps",
382 "{\"steps\": {\"resource_sizes (CronetSample.apk)\": {\"archive_output_dir \": true, \"cmd\": \"build/android/resource_sizes.py '[SLAVE_BUILD]/src/out/Rele ase/apks/CronetSample.apk'\", \"device_affinity\": null}}, \"version\": 1}",
383 "--output-json-list",
384 "/path/to/tmp/json",
385 "--blacklist-file",
386 "[SLAVE_BUILD]/src/out/bad_devices.json",
387 "--adb-path",
388 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb"
389 ],
390 "env": {
391 "CHROMIUM_OUTPUT_DIR": "[SLAVE_BUILD]/src/out/Release",
392 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json",
393 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
394 },
395 "name": "get perf test list",
396 "~followup_annotations": [
397 "@@@STEP_LOG_LINE@json.output@[@@@",
398 "@@@STEP_LOG_LINE@json.output@ {@@@",
399 "@@@STEP_LOG_LINE@json.output@ \"device_affinity\": 0, @@@",
400 "@@@STEP_LOG_LINE@json.output@ \"end_time\": 1443438432.949711, @@@",
401 "@@@STEP_LOG_LINE@json.output@ \"has_archive\": true, @@@",
402 "@@@STEP_LOG_LINE@json.output@ \"test\": \"perf_test.foo\"@@@",
403 "@@@STEP_LOG_LINE@json.output@ }, @@@",
404 "@@@STEP_LOG_LINE@json.output@ {@@@",
405 "@@@STEP_LOG_LINE@json.output@ \"device_affinity\": 0, @@@",
406 "@@@STEP_LOG_LINE@json.output@ \"test\": \"page_cycler.foo\"@@@",
407 "@@@STEP_LOG_LINE@json.output@ }@@@",
408 "@@@STEP_LOG_LINE@json.output@]@@@",
409 "@@@STEP_LOG_END@json.output@@@"
410 ]
411 },
412 {
413 "allow_subannotations": true,
414 "cmd": [
415 "python",
416 "-u",
417 "RECIPE_PACKAGE_REPO[build]/scripts/slave/runtest.py",
418 "--target",
419 "Release",
420 "--test-platform",
421 "android",
422 "--no-xvfb",
423 "--factory-properties",
424 "{\"blamelist\": [\"cool_dev1337@chromium.org\", \"hax@chromium.org\"], \" branch\": \"master\", \"buildername\": \"Android Cronet KitKat Builder\", \"buil dnumber\": 571, \"mastername\": \"chromium.testing.master\", \"project\": \"src\ ", \"recipe\": \"cronet\", \"repository\": \"https://chromium.googlesource.com/c hromium/src\", \"revision\": \"4f4b02f6b7fa20a3a25682c457bbc8ad589c8a00\", \"sla vename\": \"TestSlavename\", \"workdir\": \"/path/to/workdir/TestSlavename\"}",
425 "--build-properties",
426 "{\"blamelist\": [\"cool_dev1337@chromium.org\", \"hax@chromium.org\"], \" branch\": \"master\", \"buildername\": \"Android Cronet KitKat Builder\", \"buil dnumber\": 571, \"mastername\": \"chromium.testing.master\", \"project\": \"src\ ", \"recipe\": \"cronet\", \"repository\": \"https://chromium.googlesource.com/c hromium/src\", \"revision\": \"4f4b02f6b7fa20a3a25682c457bbc8ad589c8a00\", \"sla vename\": \"TestSlavename\", \"workdir\": \"/path/to/workdir/TestSlavename\"}",
427 "--annotate=graphing",
428 "--results-url=https://chromeperf.appspot.com",
429 "--perf-dashboard-id=page_cycler.foo",
430 "--perf-id=android_cronet_builder",
431 "--test-type=page_cycler.foo",
432 "--step-name=page_cycler.foo",
433 "--builder-name=Android Cronet KitKat Builder",
434 "--slave-name=TestSlavename",
435 "--build-number=571",
436 "--run-python-script",
437 "[SLAVE_BUILD]/src/build/android/test_runner.py",
438 "perf",
439 "--print-step",
440 "page_cycler.foo",
441 "--verbose",
442 "--adb-path",
443 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb",
444 "--blacklist-file",
445 "[SLAVE_BUILD]/src/out/bad_devices.json"
446 ],
447 "env": {
448 "CHROMIUM_OUTPUT_DIR": "[SLAVE_BUILD]/src/out/Release",
449 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json",
450 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
451 },
452 "name": "page_cycler.foo",
453 "~followup_annotations": [
454 "@@@STEP_TEXT@<br/>Device Affinity: 0<br/>@@@",
455 "@@@STEP_LOG_LINE@device affinity@0@@@",
456 "@@@STEP_LOG_END@device affinity@@@"
457 ]
458 },
459 {
460 "allow_subannotations": true,
461 "cmd": [
462 "python",
463 "-u",
464 "RECIPE_PACKAGE_REPO[build]/scripts/slave/runtest.py",
465 "--target",
466 "Release",
467 "--test-platform",
468 "android",
469 "--no-xvfb",
470 "--factory-properties",
471 "{\"blamelist\": [\"cool_dev1337@chromium.org\", \"hax@chromium.org\"], \" branch\": \"master\", \"buildername\": \"Android Cronet KitKat Builder\", \"buil dnumber\": 571, \"mastername\": \"chromium.testing.master\", \"project\": \"src\ ", \"recipe\": \"cronet\", \"repository\": \"https://chromium.googlesource.com/c hromium/src\", \"revision\": \"4f4b02f6b7fa20a3a25682c457bbc8ad589c8a00\", \"sla vename\": \"TestSlavename\", \"workdir\": \"/path/to/workdir/TestSlavename\"}",
472 "--build-properties",
473 "{\"blamelist\": [\"cool_dev1337@chromium.org\", \"hax@chromium.org\"], \" branch\": \"master\", \"buildername\": \"Android Cronet KitKat Builder\", \"buil dnumber\": 571, \"mastername\": \"chromium.testing.master\", \"project\": \"src\ ", \"recipe\": \"cronet\", \"repository\": \"https://chromium.googlesource.com/c hromium/src\", \"revision\": \"4f4b02f6b7fa20a3a25682c457bbc8ad589c8a00\", \"sla vename\": \"TestSlavename\", \"workdir\": \"/path/to/workdir/TestSlavename\"}",
474 "--annotate=graphing",
475 "--results-url=https://chromeperf.appspot.com",
476 "--perf-dashboard-id=perf_test.foo",
477 "--perf-id=android_cronet_builder",
478 "--test-type=perf_test.foo",
479 "--step-name=perf_test.foo",
480 "--builder-name=Android Cronet KitKat Builder",
481 "--slave-name=TestSlavename",
482 "--build-number=571",
483 "--run-python-script",
484 "[SLAVE_BUILD]/src/build/android/test_runner.py",
485 "perf",
486 "--print-step",
487 "perf_test.foo",
488 "--verbose",
489 "--adb-path",
490 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb",
491 "--blacklist-file",
492 "[SLAVE_BUILD]/src/out/bad_devices.json"
493 ],
494 "env": {
495 "CHROMIUM_OUTPUT_DIR": "[SLAVE_BUILD]/src/out/Release",
496 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json",
497 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
498 },
499 "name": "perf_test.foo",
500 "~followup_annotations": [
501 "@@@STEP_TEXT@<br/>Device Affinity: 0<br/>@@@",
502 "@@@STEP_LOG_LINE@device affinity@0@@@",
503 "@@@STEP_LOG_END@device affinity@@@"
504 ]
505 },
506 {
507 "cmd": [
508 "python", 208 "python",
509 "-u", 209 "-u",
510 "[SLAVE_BUILD]/src/build/symlink.py", 210 "[SLAVE_BUILD]/src/build/symlink.py",
511 "-f", 211 "-f",
512 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb", 212 "[SLAVE_BUILD]/src/third_party/catapult/devil/bin/deps/linux2/x86_64/bin/a db",
513 "~/adb" 213 "~/adb"
514 ], 214 ],
515 "name": "create adb symlink" 215 "name": "create adb symlink"
516 }, 216 },
517 { 217 {
518 "cmd": [ 218 "cmd": [
519 "RECIPE_PACKAGE_REPO[build]/scripts/slave/daemonizer.py", 219 "RECIPE_PACKAGE_REPO[build]/scripts/slave/daemonizer.py",
520 "--", 220 "--",
521 "[SLAVE_BUILD]/src/build/android/adb_logcat_monitor.py", 221 "[SLAVE_BUILD]/src/build/android/adb_logcat_monitor.py",
522 "[SLAVE_BUILD]/src/out/logcat", 222 "[SLAVE_BUILD]/src/out/logcat",
523 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb" 223 "[SLAVE_BUILD]/src/third_party/catapult/devil/bin/deps/linux2/x86_64/bin/a db"
524 ], 224 ],
525 "env": { 225 "env": {
526 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json", 226 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json",
527 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s" 227 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
528 }, 228 },
529 "name": "spawn_logcat_monitor" 229 "name": "spawn_logcat_monitor"
530 }, 230 },
531 { 231 {
532 "cmd": [ 232 "cmd": [
533 "python", 233 "python",
534 "-u", 234 "-u",
535 "RECIPE_PACKAGE_REPO[build]/scripts/slave/daemonizer.py", 235 "RECIPE_PACKAGE_REPO[build]/scripts/slave/daemonizer.py",
536 "--action", 236 "--action",
537 "restart", 237 "restart",
538 "--pid-file-path", 238 "--pid-file-path",
539 "/tmp/device_monitor.pid", 239 "/tmp/device_monitor.pid",
540 "--", 240 "--",
541 "[SLAVE_BUILD]/src/third_party/catapult/devil/devil/android/tools/device_m onitor.py", 241 "[SLAVE_BUILD]/src/third_party/catapult/devil/devil/android/tools/device_m onitor.py",
542 "--adb-path", 242 "--adb-path",
543 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb", 243 "[SLAVE_BUILD]/src/third_party/catapult/devil/bin/deps/linux2/x86_64/bin/a db",
544 "--blacklist-file", 244 "--blacklist-file",
545 "[SLAVE_BUILD]/src/out/bad_devices.json" 245 "[SLAVE_BUILD]/src/out/bad_devices.json"
546 ], 246 ],
547 "name": "spawn_device_monitor" 247 "name": "spawn_device_monitor"
548 }, 248 },
549 { 249 {
550 "cmd": [ 250 "cmd": [
551 "python", 251 "python",
552 "-u", 252 "-u",
553 "RECIPE_PACKAGE_REPO[build]/scripts/slave/android/authorize_adb_devices.py ", 253 "RECIPE_PACKAGE_REPO[build]/scripts/slave/android/authorize_adb_devices.py ",
554 "--verbose", 254 "--verbose",
555 "--adb-path", 255 "--adb-path",
556 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb" 256 "[SLAVE_BUILD]/src/third_party/catapult/devil/bin/deps/linux2/x86_64/bin/a db"
557 ], 257 ],
558 "env": { 258 "env": {
559 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json", 259 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json",
560 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s" 260 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
561 }, 261 },
562 "name": "authorize_adb_devices" 262 "name": "authorize_adb_devices"
563 }, 263 },
564 { 264 {
565 "cmd": [ 265 "cmd": [
566 "[SLAVE_BUILD]/src/third_party/catapult/devil/devil/android/tools/device_r ecovery.py", 266 "[SLAVE_BUILD]/src/third_party/catapult/devil/devil/android/tools/device_r ecovery.py",
567 "--blacklist-file", 267 "--blacklist-file",
568 "[SLAVE_BUILD]/src/out/bad_devices.json", 268 "[SLAVE_BUILD]/src/out/bad_devices.json",
569 "--known-devices-file", 269 "--known-devices-file",
570 "[HOME]/.android/known_devices.json", 270 "[HOME]/.android/known_devices.json",
571 "--adb-path", 271 "--adb-path",
572 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb", 272 "[SLAVE_BUILD]/src/third_party/catapult/devil/bin/deps/linux2/x86_64/bin/a db",
573 "-v" 273 "-v",
274 "--enable-usb-reset"
574 ], 275 ],
575 "env": { 276 "env": {
576 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json", 277 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json",
577 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s" 278 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
578 }, 279 },
579 "name": "device_recovery" 280 "name": "device_recovery"
580 }, 281 },
581 { 282 {
582 "cmd": [ 283 "cmd": [
583 "python", 284 "python",
584 "-u", 285 "-u",
585 "[SLAVE_BUILD]/src/build/android/provision_devices.py", 286 "[SLAVE_BUILD]/src/build/android/provision_devices.py",
586 "--adb-path", 287 "--adb-path",
587 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb", 288 "[SLAVE_BUILD]/src/third_party/catapult/devil/bin/deps/linux2/x86_64/bin/a db",
588 "--blacklist-file", 289 "--blacklist-file",
589 "[SLAVE_BUILD]/src/out/bad_devices.json", 290 "[SLAVE_BUILD]/src/out/bad_devices.json",
590 "--output-device-blacklist", 291 "--output-device-blacklist",
591 "/path/to/tmp/json", 292 "/path/to/tmp/json",
592 "-t", 293 "-t",
593 "Release" 294 "Release",
295 "--min-battery-level",
296 "95",
297 "--disable-network",
298 "--disable-java-debug",
299 "--max-battery-temp",
300 "350"
594 ], 301 ],
595 "env": { 302 "env": {
596 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json", 303 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json",
597 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s" 304 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
598 }, 305 },
599 "name": "provision_devices" 306 "name": "provision_devices"
600 }, 307 },
601 { 308 {
602 "cmd": [ 309 "cmd": [
603 "[SLAVE_BUILD]/src/third_party/catapult/devil/devil/android/tools/device_s tatus.py", 310 "[SLAVE_BUILD]/src/third_party/catapult/devil/devil/android/tools/device_s tatus.py",
604 "--json-output", 311 "--json-output",
605 "/path/to/tmp/json", 312 "/path/to/tmp/json",
606 "--blacklist-file", 313 "--blacklist-file",
607 "[SLAVE_BUILD]/src/out/bad_devices.json", 314 "[SLAVE_BUILD]/src/out/bad_devices.json",
608 "--known-devices-file", 315 "--known-devices-file",
609 "[HOME]/.android/known_devices.json", 316 "[HOME]/.android/known_devices.json",
610 "--buildbot-path", 317 "--buildbot-path",
611 "/home/chrome-bot/.adb_device_info", 318 "/home/chrome-bot/.adb_device_info",
612 "--adb-path", 319 "--adb-path",
613 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb", 320 "[SLAVE_BUILD]/src/third_party/catapult/devil/bin/deps/linux2/x86_64/bin/a db",
614 "-v", 321 "-v",
615 "--overwrite-known-devices-files" 322 "--overwrite-known-devices-files"
616 ], 323 ],
617 "env": { 324 "env": {
618 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json", 325 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json",
619 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s" 326 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
620 }, 327 },
621 "name": "device_status", 328 "name": "device_status",
622 "~followup_annotations": [ 329 "~followup_annotations": [
623 "@@@STEP_TEXT@Online devices: 1@@@", 330 "@@@STEP_TEXT@Online devices: 1@@@",
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
711 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@ \"serial\": \"03e0363a00 3c6ad6\", @@@", 418 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@ \"serial\": \"03e0363a00 3c6ad6\", @@@",
712 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@ \"usb_status\": true@@@" , 419 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@ \"usb_status\": true@@@" ,
713 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@}@@@", 420 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@}@@@",
714 "@@@STEP_LOG_END@03e0363a003c6ad6: blacklisted@@@" 421 "@@@STEP_LOG_END@03e0363a003c6ad6: blacklisted@@@"
715 ] 422 ]
716 }, 423 },
717 { 424 {
718 "cmd": [ 425 "cmd": [
719 "python", 426 "python",
720 "-u", 427 "-u",
721 "[SLAVE_BUILD]/src/out/Release/bin/run_cronet_unittests", 428 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
722 "--blacklist-file", 429 "[SLAVE_BUILD]/src/chrome/VERSION",
723 "[SLAVE_BUILD]/src/out/bad_devices.json", 430 "/path/to/tmp/"
431 ],
432 "name": "get version"
433 },
434 {
435 "cmd": [
436 "[SLAVE_BUILD]/src/build/android/adb_install_apk.py",
437 "ChromePublic.apk",
438 "-v",
439 "--blacklist-file",
440 "[SLAVE_BUILD]/src/out/bad_devices.json",
441 "--adb-path",
442 "[SLAVE_BUILD]/src/third_party/catapult/devil/bin/deps/linux2/x86_64/bin/a db",
443 "--release"
444 ],
445 "env": {
446 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json",
447 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
448 },
449 "name": "install ChromePublic.apk"
450 },
451 {
452 "cmd": [
453 "[SLAVE_BUILD]/src/testing/scripts/host_info.py",
454 "--build-config-fs",
455 "Release",
456 "--paths",
457 "{\"checkout\": \"[SLAVE_BUILD]/src\", \"runit.py\": \"RECIPE_PACKAGE_REPO [build]/scripts/tools/runit.py\", \"runtest.py\": \"RECIPE_PACKAGE_REPO[build]/s cripts/slave/runtest.py\"}",
458 "--properties",
459 "{\"buildername\": \"Android Nexus5 Perf (1)\", \"buildnumber\": 571, \"ma stername\": \"chromium.perf\", \"perf-id\": \"android-nexus5\", \"results-url\": \"https://chromeperf.appspot.com\", \"slavename\": \"slavename\", \"target_plat form\": \"android\"}",
460 "--args",
461 "[\"--known-devices-file\", \"[HOME]/.android/known_devices.json\"]",
462 "run",
463 "--output",
464 "/path/to/tmp/json"
465 ],
466 "env": {
467 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json",
468 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
469 },
470 "name": "Host Info",
471 "~followup_annotations": [
472 "step returned non-zero exit code: 87",
473 "@@@STEP_LOG_LINE@json.output@{@@@",
474 "@@@STEP_LOG_LINE@json.output@ \"_host_info\": {@@@",
475 "@@@STEP_LOG_LINE@json.output@ \"devices\": [@@@",
476 "@@@STEP_LOG_LINE@json.output@ {@@@",
477 "@@@STEP_LOG_LINE@json.output@ \"adb_status\": \"device\", @@@",
478 "@@@STEP_LOG_LINE@json.output@ \"battery\": {@@@",
479 "@@@STEP_LOG_LINE@json.output@ \"AC powered\": \"false\", @@@",
480 "@@@STEP_LOG_LINE@json.output@ \"Max charging current\": \"500000 \", @@@",
481 "@@@STEP_LOG_LINE@json.output@ \"USB powered\": \"true\", @@@",
482 "@@@STEP_LOG_LINE@json.output@ \"Wireless powered\": \"false\", @ @@",
483 "@@@STEP_LOG_LINE@json.output@ \"health\": \"2\", @@@",
484 "@@@STEP_LOG_LINE@json.output@ \"level\": \"100\", @@@",
485 "@@@STEP_LOG_LINE@json.output@ \"present\": \"true\", @@@",
486 "@@@STEP_LOG_LINE@json.output@ \"scale\": \"100\", @@@",
487 "@@@STEP_LOG_LINE@json.output@ \"status\": \"5\", @@@",
488 "@@@STEP_LOG_LINE@json.output@ \"technology\": \"Li-ion\", @@@",
489 "@@@STEP_LOG_LINE@json.output@ \"temperature\": \"240\", @@@",
490 "@@@STEP_LOG_LINE@json.output@ \"voltage\": \"4302\"@@@",
491 "@@@STEP_LOG_LINE@json.output@ }, @@@",
492 "@@@STEP_LOG_LINE@json.output@ \"blacklisted\": null, @@@",
493 "@@@STEP_LOG_LINE@json.output@ \"imei_slice\": \"\", @@@",
494 "@@@STEP_LOG_LINE@json.output@ \"ro.build.fingerprint\": \"fingerpr int\", @@@",
495 "@@@STEP_LOG_LINE@json.output@ \"ro.build.id\": \"MDB08Q\", @@@",
496 "@@@STEP_LOG_LINE@json.output@ \"ro.build.product\": \"bullhead\", @@@",
497 "@@@STEP_LOG_LINE@json.output@ \"serial\": \"00d0d567893340f4\", @@ @",
498 "@@@STEP_LOG_LINE@json.output@ \"usb_status\": true, @@@",
499 "@@@STEP_LOG_LINE@json.output@ \"wifi_ip\": \"\"@@@",
500 "@@@STEP_LOG_LINE@json.output@ }@@@",
501 "@@@STEP_LOG_LINE@json.output@ ], @@@",
502 "@@@STEP_LOG_LINE@json.output@ \"free_disk_space\": \"free_disk_space\" , @@@",
503 "@@@STEP_LOG_LINE@json.output@ \"num_cpus\": \"num_cpus\", @@@",
504 "@@@STEP_LOG_LINE@json.output@ \"os_release\": \"os_release\", @@@",
505 "@@@STEP_LOG_LINE@json.output@ \"os_system\": \"os_system\", @@@",
506 "@@@STEP_LOG_LINE@json.output@ \"processor\": \"processor\", @@@",
507 "@@@STEP_LOG_LINE@json.output@ \"python_path\": \"python_path\", @@@",
508 "@@@STEP_LOG_LINE@json.output@ \"python_version\": \"python_version\"@@ @",
509 "@@@STEP_LOG_LINE@json.output@ }, @@@",
510 "@@@STEP_LOG_LINE@json.output@ \"failures\": [@@@",
511 "@@@STEP_LOG_LINE@json.output@ \"Failure A\", @@@",
512 "@@@STEP_LOG_LINE@json.output@ \"Failure B\"@@@",
513 "@@@STEP_LOG_LINE@json.output@ ], @@@",
514 "@@@STEP_LOG_LINE@json.output@ \"valid\": true@@@",
515 "@@@STEP_LOG_LINE@json.output@}@@@",
516 "@@@STEP_LOG_END@json.output@@@",
517 "@@@STEP_LOG_LINE@Failure A@Failure A@@@",
518 "@@@STEP_LOG_END@Failure A@@@",
519 "@@@STEP_LOG_LINE@Failure B@Failure B@@@",
520 "@@@STEP_LOG_END@Failure B@@@",
521 "@@@STEP_EXCEPTION@@@"
522 ]
523 },
524 {
525 "cmd": [
526 "python",
527 "-u",
528 "[SLAVE_BUILD]/src/tools/perf/run_benchmark",
529 "list",
530 "--browser",
531 "android-chromium",
532 "--json-output",
533 "/path/to/tmp/json",
534 "--num-shards",
535 "21",
536 "--device",
537 "07a00ca4"
538 ],
539 "name": "List Perf Tests",
540 "~followup_annotations": [
541 "@@@STEP_LOG_LINE@json.output@{@@@",
542 "@@@STEP_LOG_LINE@json.output@ \"steps\": {@@@",
543 "@@@STEP_LOG_LINE@json.output@ \"blink_perf.all.exact\": {@@@",
544 "@@@STEP_LOG_LINE@json.output@ \"cmd\": \"/usr/bin/python /path/to/ru n_benchmark --a=1 -v --b=2\", @@@",
545 "@@@STEP_LOG_LINE@json.output@ \"device_affinity\": 1, @@@",
546 "@@@STEP_LOG_LINE@json.output@ \"perf_dashboard_id\": \"blink_perf.al l\"@@@",
547 "@@@STEP_LOG_LINE@json.output@ }, @@@",
548 "@@@STEP_LOG_LINE@json.output@ \"blink_perf.all.release\": {@@@",
549 "@@@STEP_LOG_LINE@json.output@ \"cmd\": \"/usr/bin/python /path/to/ru n_benchmark --a=1 -v --b=2\", @@@",
550 "@@@STEP_LOG_LINE@json.output@ \"device_affinity\": 0, @@@",
551 "@@@STEP_LOG_LINE@json.output@ \"perf_dashboard_id\": \"blink_perf.al l\"@@@",
552 "@@@STEP_LOG_LINE@json.output@ }, @@@",
553 "@@@STEP_LOG_LINE@json.output@ \"blink_perf.dom\": {@@@",
554 "@@@STEP_LOG_LINE@json.output@ \"cmd\": \"/path/to/run_benchmark -v - -upload-results blink_perf.dom\", @@@",
555 "@@@STEP_LOG_LINE@json.output@ \"device_affinity\": 1, @@@",
556 "@@@STEP_LOG_LINE@json.output@ \"perf_dashboard_id\": \"blink_perf.do m\"@@@",
557 "@@@STEP_LOG_LINE@json.output@ }, @@@",
558 "@@@STEP_LOG_LINE@json.output@ \"dromaeo.cssqueryjquery\": {@@@",
559 "@@@STEP_LOG_LINE@json.output@ \"cmd\": \"/path/to/run_benchmark\", @ @@",
560 "@@@STEP_LOG_LINE@json.output@ \"device_affinity\": 13@@@",
561 "@@@STEP_LOG_LINE@json.output@ }, @@@",
562 "@@@STEP_LOG_LINE@json.output@ \"dromaeo.cssqueryjquery.release\": {@@@ ",
563 "@@@STEP_LOG_LINE@json.output@ \"cmd\": \"/path/to/run_benchmark\", @ @@",
564 "@@@STEP_LOG_LINE@json.output@ \"device_affinity\": 11, @@@",
565 "@@@STEP_LOG_LINE@json.output@ \"perf_dashboard_id\": \"dromaeo.cssqu eryjquery\"@@@",
566 "@@@STEP_LOG_LINE@json.output@ }@@@",
567 "@@@STEP_LOG_LINE@json.output@ }, @@@",
568 "@@@STEP_LOG_LINE@json.output@ \"version\": 2@@@",
569 "@@@STEP_LOG_LINE@json.output@}@@@",
570 "@@@STEP_LOG_END@json.output@@@"
571 ]
572 },
573 {
574 "cmd": [
575 "python",
576 "-u",
577 "[SLAVE_BUILD]/src/build/android/test_runner.py",
578 "perf",
579 "--release",
724 "--verbose", 580 "--verbose",
725 "-t", 581 "--steps",
726 "180", 582 "{\"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_benchma rk -v --upload-results blink_perf.dom\", \"device_affinity\": 1, \"perf_dashboar d_id\": \"blink_perf.dom\"}}, \"version\": 2}",
727 "--adb-path", 583 "--blacklist-file",
728 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb" 584 "[SLAVE_BUILD]/src/out/bad_devices.json",
729 ],
730 "env": {
731 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json",
732 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
733 },
734 "name": "cronet_unittests"
735 },
736 {
737 "cmd": [
738 "python",
739 "-u",
740 "[SLAVE_BUILD]/src/out/Release/bin/run_net_unittests",
741 "--blacklist-file",
742 "[SLAVE_BUILD]/src/out/bad_devices.json",
743 "--verbose",
744 "-t",
745 "180",
746 "--adb-path",
747 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb"
748 ],
749 "env": {
750 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json",
751 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
752 },
753 "name": "net_unittests"
754 },
755 {
756 "cmd": [
757 "python",
758 "-u",
759 "[SLAVE_BUILD]/src/out/Release/bin/run_cronet_sample_test_apk",
760 "--blacklist-file",
761 "[SLAVE_BUILD]/src/out/bad_devices.json",
762 "--verbose",
763 "--num-retries", 585 "--num-retries",
764 "0", 586 "0",
765 "--adb-path", 587 "--collect-chartjson-data",
766 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb" 588 "--max-battery-temp",
767 ], 589 "350",
768 "name": "cronet_sample_test_apk" 590 "--known-devices-file",
769 }, 591 "[HOME]/.android/known_devices.json",
770 { 592 "--enable-platform-mode",
771 "cmd": [ 593 "--adb-path",
772 "python", 594 "[SLAVE_BUILD]/src/third_party/catapult/devil/bin/deps/linux2/x86_64/bin/a db"
773 "-u", 595 ],
774 "[SLAVE_BUILD]/src/out/Release/bin/run_cronet_test_instrumentation_apk", 596 "cwd": "[SLAVE_BUILD]/src",
775 "--blacklist-file", 597 "env": {
776 "[SLAVE_BUILD]/src/out/bad_devices.json", 598 "CHROMIUM_OUTPUT_DIR": "[SLAVE_BUILD]/src/out/Release",
599 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json",
600 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
601 },
602 "name": "Sharded Perf Tests"
603 },
604 {
605 "cmd": [
606 "python",
607 "-u",
608 "[SLAVE_BUILD]/src/build/android/test_runner.py",
609 "perf",
610 "--steps",
611 "{\"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_benchma rk -v --upload-results blink_perf.dom\", \"device_affinity\": 1, \"perf_dashboar d_id\": \"blink_perf.dom\"}}, \"version\": 2}",
612 "--output-json-list",
613 "/path/to/tmp/json",
614 "--blacklist-file",
615 "[SLAVE_BUILD]/src/out/bad_devices.json",
616 "--adb-path",
617 "[SLAVE_BUILD]/src/third_party/catapult/devil/bin/deps/linux2/x86_64/bin/a db"
618 ],
619 "env": {
620 "CHROMIUM_OUTPUT_DIR": "[SLAVE_BUILD]/src/out/Release",
621 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json",
622 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
623 },
624 "name": "get perf test list",
625 "~followup_annotations": [
626 "@@@STEP_LOG_LINE@json.output@[@@@",
627 "@@@STEP_LOG_LINE@json.output@ {@@@",
628 "@@@STEP_LOG_LINE@json.output@ \"device_affinity\": 0, @@@",
629 "@@@STEP_LOG_LINE@json.output@ \"end_time\": 1443438432.949711, @@@",
630 "@@@STEP_LOG_LINE@json.output@ \"has_archive\": true, @@@",
631 "@@@STEP_LOG_LINE@json.output@ \"test\": \"perf_test.foo\"@@@",
632 "@@@STEP_LOG_LINE@json.output@ }, @@@",
633 "@@@STEP_LOG_LINE@json.output@ {@@@",
634 "@@@STEP_LOG_LINE@json.output@ \"device_affinity\": 0, @@@",
635 "@@@STEP_LOG_LINE@json.output@ \"test\": \"page_cycler.foo\"@@@",
636 "@@@STEP_LOG_LINE@json.output@ }@@@",
637 "@@@STEP_LOG_LINE@json.output@]@@@",
638 "@@@STEP_LOG_END@json.output@@@"
639 ]
640 },
641 {
642 "allow_subannotations": true,
643 "cmd": [
644 "python",
645 "-u",
646 "RECIPE_PACKAGE_REPO[build]/scripts/slave/runtest.py",
647 "--target",
648 "Release",
649 "--test-platform",
650 "android",
651 "--no-xvfb",
652 "--factory-properties",
653 "{\"blamelist\": [\"cool_dev1337@chromium.org\", \"hax@chromium.org\"], \" buildername\": \"Android Nexus5 Perf (1)\", \"buildnumber\": 571, \"mastername\" : \"chromium.perf\", \"parent_buildername\": \"parent_buildername\", \"parent_bu ildnumber\": \"1729\", \"parent_revision\": \"deadbeef\", \"path_config\": \"kit chen\", \"recipe\": \"android/perf\", \"repo_name\": \"src\", \"repo_url\": \"ht tps://chromium.googlesource.com/chromium/src.git\", \"revision\": \"deadbeef\", \"slavename\": \"slavename\", \"target\": \"Release\", \"workdir\": \"/path/to/w orkdir/TestSlavename\"}",
654 "--build-properties",
655 "{\"blamelist\": [\"cool_dev1337@chromium.org\", \"hax@chromium.org\"], \" buildername\": \"Android Nexus5 Perf (1)\", \"buildnumber\": 571, \"mastername\" : \"chromium.perf\", \"parent_buildername\": \"parent_buildername\", \"parent_bu ildnumber\": \"1729\", \"parent_revision\": \"deadbeef\", \"path_config\": \"kit chen\", \"recipe\": \"android/perf\", \"repo_name\": \"src\", \"repo_url\": \"ht tps://chromium.googlesource.com/chromium/src.git\", \"revision\": \"deadbeef\", \"slavename\": \"slavename\", \"target\": \"Release\", \"workdir\": \"/path/to/w orkdir/TestSlavename\"}",
656 "--annotate=graphing",
657 "--results-url=https://chromeperf.appspot.com",
658 "--perf-dashboard-id=page_cycler.foo",
659 "--perf-id=android-nexus5",
660 "--test-type=page_cycler.foo",
661 "--step-name=page_cycler.foo",
662 "--chartjson-file",
663 "/path/to/tmp/json",
664 "--builder-name=Android Nexus5 Perf (1)",
665 "--slave-name=slavename",
666 "--build-number=571",
667 "--run-python-script",
668 "[SLAVE_BUILD]/src/build/android/test_runner.py",
669 "perf",
670 "--print-step",
671 "page_cycler.foo",
777 "--verbose", 672 "--verbose",
778 "--num-retries", 673 "--adb-path",
779 "0", 674 "[SLAVE_BUILD]/src/third_party/catapult/devil/bin/deps/linux2/x86_64/bin/a db",
780 "--adb-path", 675 "--blacklist-file",
781 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb" 676 "[SLAVE_BUILD]/src/out/bad_devices.json",
782 ], 677 "--enable-platform-mode"
783 "name": "cronet_test_instrumentation_apk" 678 ],
784 }, 679 "env": {
785 { 680 "CHROMIUM_OUTPUT_DIR": "[SLAVE_BUILD]/src/out/Release",
786 "cmd": [ 681 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json",
682 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
683 },
684 "name": "page_cycler.foo",
685 "~followup_annotations": [
686 "@@@STEP_TEXT@<br/>Device Affinity: 0<br/>@@@",
687 "@@@STEP_LOG_LINE@json.output@[]@@@",
688 "@@@STEP_LOG_END@json.output@@@",
689 "@@@STEP_LOG_LINE@device affinity@0@@@",
690 "@@@STEP_LOG_END@device affinity@@@"
691 ]
692 },
693 {
694 "allow_subannotations": true,
695 "cmd": [
696 "python",
697 "-u",
698 "RECIPE_PACKAGE_REPO[build]/scripts/slave/runtest.py",
699 "--target",
700 "Release",
701 "--test-platform",
702 "android",
703 "--no-xvfb",
704 "--factory-properties",
705 "{\"blamelist\": [\"cool_dev1337@chromium.org\", \"hax@chromium.org\"], \" buildername\": \"Android Nexus5 Perf (1)\", \"buildnumber\": 571, \"mastername\" : \"chromium.perf\", \"parent_buildername\": \"parent_buildername\", \"parent_bu ildnumber\": \"1729\", \"parent_revision\": \"deadbeef\", \"path_config\": \"kit chen\", \"recipe\": \"android/perf\", \"repo_name\": \"src\", \"repo_url\": \"ht tps://chromium.googlesource.com/chromium/src.git\", \"revision\": \"deadbeef\", \"slavename\": \"slavename\", \"target\": \"Release\", \"workdir\": \"/path/to/w orkdir/TestSlavename\"}",
706 "--build-properties",
707 "{\"blamelist\": [\"cool_dev1337@chromium.org\", \"hax@chromium.org\"], \" buildername\": \"Android Nexus5 Perf (1)\", \"buildnumber\": 571, \"mastername\" : \"chromium.perf\", \"parent_buildername\": \"parent_buildername\", \"parent_bu ildnumber\": \"1729\", \"parent_revision\": \"deadbeef\", \"path_config\": \"kit chen\", \"recipe\": \"android/perf\", \"repo_name\": \"src\", \"repo_url\": \"ht tps://chromium.googlesource.com/chromium/src.git\", \"revision\": \"deadbeef\", \"slavename\": \"slavename\", \"target\": \"Release\", \"workdir\": \"/path/to/w orkdir/TestSlavename\"}",
708 "--annotate=graphing",
709 "--results-url=https://chromeperf.appspot.com",
710 "--perf-dashboard-id=perf_test.foo",
711 "--perf-id=android-nexus5",
712 "--test-type=perf_test.foo",
713 "--step-name=perf_test.foo",
714 "--chartjson-file",
715 "/path/to/tmp/json",
716 "--builder-name=Android Nexus5 Perf (1)",
717 "--slave-name=slavename",
718 "--build-number=571",
719 "--run-python-script",
720 "[SLAVE_BUILD]/src/build/android/test_runner.py",
721 "perf",
722 "--print-step",
723 "perf_test.foo",
724 "--verbose",
725 "--adb-path",
726 "[SLAVE_BUILD]/src/third_party/catapult/devil/bin/deps/linux2/x86_64/bin/a db",
727 "--blacklist-file",
728 "[SLAVE_BUILD]/src/out/bad_devices.json",
729 "--enable-platform-mode"
730 ],
731 "env": {
732 "CHROMIUM_OUTPUT_DIR": "[SLAVE_BUILD]/src/out/Release",
733 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json",
734 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
735 },
736 "name": "perf_test.foo",
737 "~followup_annotations": [
738 "@@@STEP_TEXT@<br/>Device Affinity: 0<br/>@@@",
739 "@@@STEP_LOG_LINE@json.output@[]@@@",
740 "@@@STEP_LOG_END@json.output@@@",
741 "@@@STEP_LOG_LINE@device affinity@0@@@",
742 "@@@STEP_LOG_END@device affinity@@@"
743 ]
744 },
745 {
746 "cmd": [
787 "python", 747 "python",
788 "-u", 748 "-u",
789 "RECIPE_PACKAGE_REPO[build]/scripts/slave/daemonizer.py", 749 "RECIPE_PACKAGE_REPO[build]/scripts/slave/daemonizer.py",
790 "--action", 750 "--action",
791 "stop", 751 "stop",
792 "--pid-file-path", 752 "--pid-file-path",
793 "/tmp/device_monitor.pid" 753 "/tmp/device_monitor.pid"
794 ], 754 ],
795 "name": "shutdown_device_monitor" 755 "name": "shutdown_device_monitor"
796 }, 756 },
(...skipping 15 matching lines...) Expand all
812 "RECIPE_MODULE[build::gsutil]/resources/gsutil_wrapper.py", 772 "RECIPE_MODULE[build::gsutil]/resources/gsutil_wrapper.py",
813 "--", 773 "--",
814 "RECIPE_PACKAGE_REPO[depot_tools]/gsutil.py", 774 "RECIPE_PACKAGE_REPO[depot_tools]/gsutil.py",
815 "--force-version", 775 "--force-version",
816 "4.7", 776 "4.7",
817 "-o", 777 "-o",
818 "GSUtil:parallel_composite_upload_threshold=50M", 778 "GSUtil:parallel_composite_upload_threshold=50M",
819 "----", 779 "----",
820 "cp", 780 "cp",
821 "[SLAVE_BUILD]/src/out/Release/full_log", 781 "[SLAVE_BUILD]/src/out/Release/full_log",
822 "gs://chromium-android/logcat_dumps/Android Cronet KitKat Builder/571" 782 "gs://chromium-android/logcat_dumps/Android Nexus5 Perf (1)/571"
823 ], 783 ],
824 "name": "gsutil upload", 784 "name": "gsutil upload",
825 "~followup_annotations": [ 785 "~followup_annotations": [
826 "@@@STEP_LINK@logcat dump@https://storage.cloud.google.com/chromium-androi d/logcat_dumps/Android Cronet KitKat Builder/571@@@" 786 "@@@STEP_LINK@logcat dump@https://storage.cloud.google.com/chromium-androi d/logcat_dumps/Android Nexus5 Perf (1)/571@@@"
827 ] 787 ]
828 }, 788 },
829 { 789 {
830 "cmd": [ 790 "cmd": [
831 "[SLAVE_BUILD]/src/third_party/android_platform/development/scripts/stack" , 791 "[SLAVE_BUILD]/src/third_party/android_platform/development/scripts/stack" ,
832 "--arch", 792 "--arch",
833 "arm", 793 "arm",
834 "--more-info", 794 "--more-info",
835 "[SLAVE_BUILD]/src/out/Release/full_log" 795 "[SLAVE_BUILD]/src/out/Release/full_log"
836 ], 796 ],
837 "env": { 797 "env": {
838 "CHROMIUM_OUTPUT_DIR": "[SLAVE_BUILD]/src/out/Release", 798 "CHROMIUM_OUTPUT_DIR": "[SLAVE_BUILD]/src/out/Release",
839 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json", 799 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json",
840 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s" 800 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
841 }, 801 },
842 "name": "stack_tool_with_logcat_dump" 802 "name": "stack_tool_with_logcat_dump"
843 }, 803 },
844 { 804 {
845 "cmd": [ 805 "cmd": [
846 "python", 806 "python",
847 "-u", 807 "-u",
848 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", 808 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
849 "[SLAVE_BUILD]/src/chrome/VERSION", 809 "[SLAVE_BUILD]/src/chrome/VERSION",
850 "/path/to/tmp/" 810 "/path/to/tmp/"
851 ], 811 ],
852 "name": "get version" 812 "name": "get version (2)"
853 }, 813 },
854 { 814 {
855 "cmd": [ 815 "cmd": [
856 "[SLAVE_BUILD]/src/build/android/tombstones.py", 816 "[SLAVE_BUILD]/src/build/android/tombstones.py",
857 "-a", 817 "-a",
858 "-s", 818 "-s",
859 "-w" 819 "-w"
860 ], 820 ],
861 "env": { 821 "env": {
862 "CHROMIUM_OUTPUT_DIR": "[SLAVE_BUILD]/src/out/Release", 822 "CHROMIUM_OUTPUT_DIR": "[SLAVE_BUILD]/src/out/Release",
(...skipping 20 matching lines...) Expand all
883 "@@@STEP_LOG_LINE@python.inline@ os.remove(report)@@@", 843 "@@@STEP_LOG_LINE@python.inline@ os.remove(report)@@@",
884 "@@@STEP_LOG_END@python.inline@@@" 844 "@@@STEP_LOG_END@python.inline@@@"
885 ] 845 ]
886 }, 846 },
887 { 847 {
888 "name": "$result", 848 "name": "$result",
889 "recipe_result": null, 849 "recipe_result": null,
890 "status_code": 0 850 "status_code": 0
891 } 851 }
892 ] 852 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698