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

Side by Side Diff: scripts/slave/recipes/android/perf.expected/src_side_script_fails.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",
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", 104 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
128 "[SLAVE_BUILD]/src/out/Release/debug_info_dumps", 105 "[SLAVE_BUILD]/src/testing/buildbot/chromium.perf.json",
129 "[SLAVE_BUILD]/src/out/Release/test_logs",
130 "[SLAVE_BUILD]/src/out/build_product.zip",
131 "[SLAVE_BUILD]/src"
132 ],
133 "name": "clean local files",
134 "~followup_annotations": [
135 "@@@STEP_LOG_LINE@python.inline@@@@",
136 "@@@STEP_LOG_LINE@python.inline@import shutil, sys, os@@@",
137 "@@@STEP_LOG_LINE@python.inline@shutil.rmtree(sys.argv[1], True)@@@",
138 "@@@STEP_LOG_LINE@python.inline@shutil.rmtree(sys.argv[2], True)@@@",
139 "@@@STEP_LOG_LINE@python.inline@try:@@@",
140 "@@@STEP_LOG_LINE@python.inline@ os.remove(sys.argv[3])@@@",
141 "@@@STEP_LOG_LINE@python.inline@except OSError:@@@",
142 "@@@STEP_LOG_LINE@python.inline@ pass@@@",
143 "@@@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:@@@",
145 "@@@STEP_LOG_LINE@python.inline@ if f.endswith('.pyc'):@@@",
146 "@@@STEP_LOG_LINE@python.inline@ os.remove(os.path.join(base, f))@@@" ,
147 "@@@STEP_LOG_END@python.inline@@@"
148 ]
149 },
150 {
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" 106 "/path/to/tmp/json"
165 ], 107 ],
166 "name": "ensure_goma.install cipd", 108 "name": "read test spec (chromium.perf.json)",
167 "~followup_annotations": [ 109 "~followup_annotations": [
168 "@@@STEP_NEST_LEVEL@1@@@", 110 "@@@STEP_TEXT@path: [SLAVE_BUILD]/src/testing/buildbot/chromium.perf.json@ @@",
169 "@@@STEP_TEXT@cipd instance_id: 40-chars-fake-of-the-package-instance_id@@ @",
170 "@@@STEP_LOG_LINE@json.output@{@@@", 111 "@@@STEP_LOG_LINE@json.output@{@@@",
171 "@@@STEP_LOG_LINE@json.output@ \"executable\": \"[SLAVE_BUILD]/cipd/cipd\ ", @@@", 112 "@@@STEP_LOG_LINE@json.output@ \"Android Nexus5 Perf (1)\": {@@@",
172 "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"40-chars-fake-of-the-pa ckage-instance_id\"@@@", 113 "@@@STEP_LOG_LINE@json.output@ \"scripts\": [@@@",
114 "@@@STEP_LOG_LINE@json.output@ {@@@",
115 "@@@STEP_LOG_LINE@json.output@ \"name\": \"host_info\", @@@",
116 "@@@STEP_LOG_LINE@json.output@ \"script\": \"host_info.py\"@@@",
117 "@@@STEP_LOG_LINE@json.output@ }@@@",
118 "@@@STEP_LOG_LINE@json.output@ ]@@@",
119 "@@@STEP_LOG_LINE@json.output@ }@@@",
173 "@@@STEP_LOG_LINE@json.output@}@@@", 120 "@@@STEP_LOG_LINE@json.output@}@@@",
174 "@@@STEP_LOG_END@json.output@@@" 121 "@@@STEP_LOG_END@json.output@@@"
175 ] 122 ]
176 }, 123 },
177 { 124 {
178 "cmd": [ 125 "cmd": [
179 "[SLAVE_BUILD]/cipd/cipd", 126 "python",
180 "ensure", 127 "-u",
181 "--root", 128 "[SLAVE_BUILD]/src/testing/scripts/get_compile_targets.py",
182 "[CACHE]/cipd/goma", 129 "--output",
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", 130 "/path/to/tmp/json",
187 "--service-account-json", 131 "--",
188 "/creds/service_accounts/service-account-goma-client.json" 132 "--build-config-fs",
133 "Release",
134 "--paths",
135 "{\"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\"}",
136 "--properties",
137 "{\"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\"}"
189 ], 138 ],
190 "name": "ensure_goma.ensure_installed", 139 "name": "get compile targets for scripts",
191 "~followup_annotations": [ 140 "~followup_annotations": [
192 "@@@STEP_NEST_LEVEL@1@@@", 141 "@@@STEP_LOG_LINE@json.output@{}@@@",
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@@@" 142 "@@@STEP_LOG_END@json.output@@@"
206 ] 143 ]
207 }, 144 },
208 { 145 {
209 "cmd": [ 146 "cmd": [
210 "python", 147 "python",
211 "-u", 148 "-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", 149 "\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",
213 "[SLAVE_BUILD]/src/out/Release" 150 "[SLAVE_BUILD]/src/out/Release/debug_info_dumps",
151 "[SLAVE_BUILD]/src/out/Release/test_logs",
152 "[SLAVE_BUILD]/src/out/build_product.zip",
153 "[SLAVE_BUILD]/src"
214 ], 154 ],
215 "name": "rmtree clobber", 155 "name": "clean local files",
216 "~followup_annotations": [ 156 "~followup_annotations": [
217 "@@@STEP_LOG_LINE@python.inline@@@@", 157 "@@@STEP_LOG_LINE@python.inline@@@@",
218 "@@@STEP_LOG_LINE@python.inline@import os, sys@@@", 158 "@@@STEP_LOG_LINE@python.inline@import shutil, sys, os@@@",
219 "@@@STEP_LOG_LINE@python.inline@from common import chromium_utils # Error? See https://crbug.com/584783.@@@", 159 "@@@STEP_LOG_LINE@python.inline@shutil.rmtree(sys.argv[1], True)@@@",
220 "@@@STEP_LOG_LINE@python.inline@@@@", 160 "@@@STEP_LOG_LINE@python.inline@shutil.rmtree(sys.argv[2], True)@@@",
221 "@@@STEP_LOG_LINE@python.inline@@@@", 161 "@@@STEP_LOG_LINE@python.inline@try:@@@",
222 "@@@STEP_LOG_LINE@python.inline@if os.path.exists(sys.argv[1]):@@@", 162 "@@@STEP_LOG_LINE@python.inline@ os.remove(sys.argv[3])@@@",
223 "@@@STEP_LOG_LINE@python.inline@ chromium_utils.RemoveDirectory(sys.argv[ 1])@@@", 163 "@@@STEP_LOG_LINE@python.inline@except OSError:@@@",
164 "@@@STEP_LOG_LINE@python.inline@ pass@@@",
165 "@@@STEP_LOG_LINE@python.inline@for base, _dirs, files in os.walk(sys.argv [4]):@@@",
166 "@@@STEP_LOG_LINE@python.inline@ for f in files:@@@",
167 "@@@STEP_LOG_LINE@python.inline@ if f.endswith('.pyc'):@@@",
168 "@@@STEP_LOG_LINE@python.inline@ os.remove(os.path.join(base, f))@@@" ,
224 "@@@STEP_LOG_END@python.inline@@@" 169 "@@@STEP_LOG_END@python.inline@@@"
225 ] 170 ]
226 }, 171 },
227 { 172 {
228 "cmd": [ 173 "cmd": [
229 "python", 174 "python",
230 "-u", 175 "-u",
231 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", 176 "\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",
232 "runhooks" 177 "[SLAVE_BUILD]/src/third_party/catapult/devil"
233 ], 178 ],
234 "cwd": "[SLAVE_BUILD]/src", 179 "name": "initialize devil",
235 "env": { 180 "~followup_annotations": [
236 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json", 181 "@@@STEP_LOG_LINE@python.inline@@@@",
237 "GYP_CHROMIUM_NO_ACTION": "1", 182 "@@@STEP_LOG_LINE@python.inline@import sys@@@",
238 "GYP_CROSSCOMPILE": "1", 183 "@@@STEP_LOG_LINE@python.inline@sys.path.append(sys.argv[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", 184 "@@@STEP_LOG_LINE@python.inline@from devil import devil_env@@@",
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]" 185 "@@@STEP_LOG_LINE@python.inline@devil_env.config.Initialize()@@@",
241 }, 186 "@@@STEP_LOG_LINE@python.inline@devil_env.config.PrefetchPaths(dependencie s=['adb'])@@@",
242 "name": "gclient runhooks" 187 "@@@STEP_LOG_END@python.inline@@@"
188 ]
243 }, 189 },
244 { 190 {
245 "cmd": [ 191 "cmd": [
246 "python", 192 "python",
247 "-u", 193 "-u",
248 "[SLAVE_BUILD]/src/tools/mb/mb.py", 194 "RECIPE_MODULE[build::gsutil]/resources/gsutil_wrapper.py",
249 "gen", 195 "--",
250 "-m", 196 "RECIPE_PACKAGE_REPO[depot_tools]/gsutil.py",
251 "chromium.testing.master", 197 "--force-version",
252 "-b", 198 "4.7",
253 "Android Cronet KitKat Builder", 199 "----",
254 "--config-file", 200 "cp",
255 "[SLAVE_BUILD]/src/tools/mb/mb_config.pyl", 201 "gs://chrome-perf/Android Builder/full-build-linux_deadbeef.zip",
256 "--goma-dir", 202 "[SLAVE_BUILD]/src/out/build_product.zip"
257 "[CACHE]/cipd/goma",
258 "//out/Release"
259 ], 203 ],
260 "cwd": "[SLAVE_BUILD]/src", 204 "name": "gsutil download_build_product"
261 "env": {
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", 208 "unzip",
269 "-u", 209 "-o",
270 "RECIPE_PACKAGE_REPO[build]/scripts/tools/runit.py", 210 "[SLAVE_BUILD]/src/out/build_product.zip"
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 ], 211 ],
310 "env": { 212 "cwd": "[SLAVE_BUILD]/src",
311 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json", 213 "name": "unzip_build_product"
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 }, 214 },
350 { 215 {
351 "cmd": [ 216 "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", 217 "python",
509 "-u", 218 "-u",
510 "[SLAVE_BUILD]/src/build/symlink.py", 219 "[SLAVE_BUILD]/src/build/symlink.py",
511 "-f", 220 "-f",
512 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb", 221 "[SLAVE_BUILD]/src/third_party/catapult/devil/bin/deps/linux2/x86_64/bin/a db",
513 "~/adb" 222 "~/adb"
514 ], 223 ],
515 "name": "create adb symlink" 224 "name": "create adb symlink"
516 }, 225 },
517 { 226 {
518 "cmd": [ 227 "cmd": [
519 "RECIPE_PACKAGE_REPO[build]/scripts/slave/daemonizer.py", 228 "RECIPE_PACKAGE_REPO[build]/scripts/slave/daemonizer.py",
520 "--", 229 "--",
521 "[SLAVE_BUILD]/src/build/android/adb_logcat_monitor.py", 230 "[SLAVE_BUILD]/src/build/android/adb_logcat_monitor.py",
522 "[SLAVE_BUILD]/src/out/logcat", 231 "[SLAVE_BUILD]/src/out/logcat",
523 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb" 232 "[SLAVE_BUILD]/src/third_party/catapult/devil/bin/deps/linux2/x86_64/bin/a db"
524 ], 233 ],
525 "env": { 234 "env": {
526 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json", 235 "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" 236 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
528 }, 237 },
529 "name": "spawn_logcat_monitor" 238 "name": "spawn_logcat_monitor"
530 }, 239 },
531 { 240 {
532 "cmd": [ 241 "cmd": [
533 "python", 242 "python",
534 "-u", 243 "-u",
535 "RECIPE_PACKAGE_REPO[build]/scripts/slave/daemonizer.py", 244 "RECIPE_PACKAGE_REPO[build]/scripts/slave/daemonizer.py",
536 "--action", 245 "--action",
537 "restart", 246 "restart",
538 "--pid-file-path", 247 "--pid-file-path",
539 "/tmp/device_monitor.pid", 248 "/tmp/device_monitor.pid",
540 "--", 249 "--",
541 "[SLAVE_BUILD]/src/third_party/catapult/devil/devil/android/tools/device_m onitor.py", 250 "[SLAVE_BUILD]/src/third_party/catapult/devil/devil/android/tools/device_m onitor.py",
542 "--adb-path", 251 "--adb-path",
543 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb", 252 "[SLAVE_BUILD]/src/third_party/catapult/devil/bin/deps/linux2/x86_64/bin/a db",
544 "--blacklist-file", 253 "--blacklist-file",
545 "[SLAVE_BUILD]/src/out/bad_devices.json" 254 "[SLAVE_BUILD]/src/out/bad_devices.json"
546 ], 255 ],
547 "name": "spawn_device_monitor" 256 "name": "spawn_device_monitor"
548 }, 257 },
549 { 258 {
550 "cmd": [ 259 "cmd": [
551 "python", 260 "python",
552 "-u", 261 "-u",
553 "RECIPE_PACKAGE_REPO[build]/scripts/slave/android/authorize_adb_devices.py ", 262 "RECIPE_PACKAGE_REPO[build]/scripts/slave/android/authorize_adb_devices.py ",
554 "--verbose", 263 "--verbose",
555 "--adb-path", 264 "--adb-path",
556 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb" 265 "[SLAVE_BUILD]/src/third_party/catapult/devil/bin/deps/linux2/x86_64/bin/a db"
557 ], 266 ],
558 "env": { 267 "env": {
559 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json", 268 "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" 269 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
561 }, 270 },
562 "name": "authorize_adb_devices" 271 "name": "authorize_adb_devices"
563 }, 272 },
564 { 273 {
565 "cmd": [ 274 "cmd": [
566 "[SLAVE_BUILD]/src/third_party/catapult/devil/devil/android/tools/device_r ecovery.py", 275 "[SLAVE_BUILD]/src/third_party/catapult/devil/devil/android/tools/device_r ecovery.py",
567 "--blacklist-file", 276 "--blacklist-file",
568 "[SLAVE_BUILD]/src/out/bad_devices.json", 277 "[SLAVE_BUILD]/src/out/bad_devices.json",
569 "--known-devices-file", 278 "--known-devices-file",
570 "[HOME]/.android/known_devices.json", 279 "[HOME]/.android/known_devices.json",
571 "--adb-path", 280 "--adb-path",
572 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb", 281 "[SLAVE_BUILD]/src/third_party/catapult/devil/bin/deps/linux2/x86_64/bin/a db",
573 "-v" 282 "-v",
283 "--enable-usb-reset"
574 ], 284 ],
575 "env": { 285 "env": {
576 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json", 286 "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" 287 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
578 }, 288 },
579 "name": "device_recovery" 289 "name": "device_recovery"
580 }, 290 },
581 { 291 {
582 "cmd": [ 292 "cmd": [
583 "python", 293 "python",
584 "-u", 294 "-u",
585 "[SLAVE_BUILD]/src/build/android/provision_devices.py", 295 "[SLAVE_BUILD]/src/build/android/provision_devices.py",
586 "--adb-path", 296 "--adb-path",
587 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb", 297 "[SLAVE_BUILD]/src/third_party/catapult/devil/bin/deps/linux2/x86_64/bin/a db",
588 "--blacklist-file", 298 "--blacklist-file",
589 "[SLAVE_BUILD]/src/out/bad_devices.json", 299 "[SLAVE_BUILD]/src/out/bad_devices.json",
590 "--output-device-blacklist", 300 "--output-device-blacklist",
591 "/path/to/tmp/json", 301 "/path/to/tmp/json",
592 "-t", 302 "-t",
593 "Release" 303 "Release",
304 "--min-battery-level",
305 "95",
306 "--disable-network",
307 "--disable-java-debug",
308 "--max-battery-temp",
309 "350"
594 ], 310 ],
595 "env": { 311 "env": {
596 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json", 312 "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" 313 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
598 }, 314 },
599 "name": "provision_devices" 315 "name": "provision_devices"
600 }, 316 },
601 { 317 {
602 "cmd": [ 318 "cmd": [
603 "[SLAVE_BUILD]/src/third_party/catapult/devil/devil/android/tools/device_s tatus.py", 319 "[SLAVE_BUILD]/src/third_party/catapult/devil/devil/android/tools/device_s tatus.py",
604 "--json-output", 320 "--json-output",
605 "/path/to/tmp/json", 321 "/path/to/tmp/json",
606 "--blacklist-file", 322 "--blacklist-file",
607 "[SLAVE_BUILD]/src/out/bad_devices.json", 323 "[SLAVE_BUILD]/src/out/bad_devices.json",
608 "--known-devices-file", 324 "--known-devices-file",
609 "[HOME]/.android/known_devices.json", 325 "[HOME]/.android/known_devices.json",
610 "--buildbot-path", 326 "--buildbot-path",
611 "/home/chrome-bot/.adb_device_info", 327 "/home/chrome-bot/.adb_device_info",
612 "--adb-path", 328 "--adb-path",
613 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb", 329 "[SLAVE_BUILD]/src/third_party/catapult/devil/bin/deps/linux2/x86_64/bin/a db",
614 "-v", 330 "-v",
615 "--overwrite-known-devices-files" 331 "--overwrite-known-devices-files"
616 ], 332 ],
617 "env": { 333 "env": {
618 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json", 334 "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" 335 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
620 }, 336 },
621 "name": "device_status", 337 "name": "device_status",
622 "~followup_annotations": [ 338 "~followup_annotations": [
623 "@@@STEP_TEXT@Online devices: 1@@@", 339 "@@@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\", @@@", 427 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@ \"serial\": \"03e0363a00 3c6ad6\", @@@",
712 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@ \"usb_status\": true@@@" , 428 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@ \"usb_status\": true@@@" ,
713 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@}@@@", 429 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@}@@@",
714 "@@@STEP_LOG_END@03e0363a003c6ad6: blacklisted@@@" 430 "@@@STEP_LOG_END@03e0363a003c6ad6: blacklisted@@@"
715 ] 431 ]
716 }, 432 },
717 { 433 {
718 "cmd": [ 434 "cmd": [
719 "python", 435 "python",
720 "-u", 436 "-u",
721 "[SLAVE_BUILD]/src/out/Release/bin/run_cronet_unittests", 437 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
722 "--blacklist-file", 438 "[SLAVE_BUILD]/src/chrome/VERSION",
723 "[SLAVE_BUILD]/src/out/bad_devices.json", 439 "/path/to/tmp/"
440 ],
441 "name": "get version"
442 },
443 {
444 "cmd": [
445 "[SLAVE_BUILD]/src/build/android/adb_install_apk.py",
446 "ChromePublic.apk",
447 "-v",
448 "--blacklist-file",
449 "[SLAVE_BUILD]/src/out/bad_devices.json",
450 "--adb-path",
451 "[SLAVE_BUILD]/src/third_party/catapult/devil/bin/deps/linux2/x86_64/bin/a db",
452 "--release"
453 ],
454 "env": {
455 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json",
456 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
457 },
458 "name": "install ChromePublic.apk"
459 },
460 {
461 "cmd": [
462 "[SLAVE_BUILD]/src/testing/scripts/host_info.py",
463 "--build-config-fs",
464 "Release",
465 "--paths",
466 "{\"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\"}",
467 "--properties",
468 "{\"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\"}",
469 "--args",
470 "[\"--known-devices-file\", \"[HOME]/.android/known_devices.json\"]",
471 "run",
472 "--output",
473 "/path/to/tmp/json"
474 ],
475 "env": {
476 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json",
477 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
478 },
479 "name": "Host Info",
480 "~followup_annotations": [
481 "@@@STEP_LOG_LINE@json.output@{@@@",
482 "@@@STEP_LOG_LINE@json.output@ \"_host_info\": {@@@",
483 "@@@STEP_LOG_LINE@json.output@ \"devices\": [@@@",
484 "@@@STEP_LOG_LINE@json.output@ {@@@",
485 "@@@STEP_LOG_LINE@json.output@ \"adb_status\": \"device\", @@@",
486 "@@@STEP_LOG_LINE@json.output@ \"battery\": {@@@",
487 "@@@STEP_LOG_LINE@json.output@ \"AC powered\": \"false\", @@@",
488 "@@@STEP_LOG_LINE@json.output@ \"Max charging current\": \"500000 \", @@@",
489 "@@@STEP_LOG_LINE@json.output@ \"USB powered\": \"true\", @@@",
490 "@@@STEP_LOG_LINE@json.output@ \"Wireless powered\": \"false\", @ @@",
491 "@@@STEP_LOG_LINE@json.output@ \"health\": \"2\", @@@",
492 "@@@STEP_LOG_LINE@json.output@ \"level\": \"100\", @@@",
493 "@@@STEP_LOG_LINE@json.output@ \"present\": \"true\", @@@",
494 "@@@STEP_LOG_LINE@json.output@ \"scale\": \"100\", @@@",
495 "@@@STEP_LOG_LINE@json.output@ \"status\": \"5\", @@@",
496 "@@@STEP_LOG_LINE@json.output@ \"technology\": \"Li-ion\", @@@",
497 "@@@STEP_LOG_LINE@json.output@ \"temperature\": \"240\", @@@",
498 "@@@STEP_LOG_LINE@json.output@ \"voltage\": \"4302\"@@@",
499 "@@@STEP_LOG_LINE@json.output@ }, @@@",
500 "@@@STEP_LOG_LINE@json.output@ \"blacklisted\": null, @@@",
501 "@@@STEP_LOG_LINE@json.output@ \"imei_slice\": \"\", @@@",
502 "@@@STEP_LOG_LINE@json.output@ \"ro.build.fingerprint\": \"fingerpr int\", @@@",
503 "@@@STEP_LOG_LINE@json.output@ \"ro.build.id\": \"MDB08Q\", @@@",
504 "@@@STEP_LOG_LINE@json.output@ \"ro.build.product\": \"bullhead\", @@@",
505 "@@@STEP_LOG_LINE@json.output@ \"serial\": \"00d0d567893340f4\", @@ @",
506 "@@@STEP_LOG_LINE@json.output@ \"usb_status\": true, @@@",
507 "@@@STEP_LOG_LINE@json.output@ \"wifi_ip\": \"\"@@@",
508 "@@@STEP_LOG_LINE@json.output@ }@@@",
509 "@@@STEP_LOG_LINE@json.output@ ], @@@",
510 "@@@STEP_LOG_LINE@json.output@ \"free_disk_space\": \"free_disk_space\" , @@@",
511 "@@@STEP_LOG_LINE@json.output@ \"num_cpus\": \"num_cpus\", @@@",
512 "@@@STEP_LOG_LINE@json.output@ \"os_release\": \"os_release\", @@@",
513 "@@@STEP_LOG_LINE@json.output@ \"os_system\": \"os_system\", @@@",
514 "@@@STEP_LOG_LINE@json.output@ \"processor\": \"processor\", @@@",
515 "@@@STEP_LOG_LINE@json.output@ \"python_path\": \"python_path\", @@@",
516 "@@@STEP_LOG_LINE@json.output@ \"python_version\": \"python_version\"@@ @",
517 "@@@STEP_LOG_LINE@json.output@ }, @@@",
518 "@@@STEP_LOG_LINE@json.output@ \"failures\": [], @@@",
519 "@@@STEP_LOG_LINE@json.output@ \"valid\": true@@@",
520 "@@@STEP_LOG_LINE@json.output@}@@@",
521 "@@@STEP_LOG_END@json.output@@@"
522 ]
523 },
524 {
525 "cmd": [
526 "python",
527 "-u",
528 "[SLAVE_BUILD]/src/testing/scripts/host_info.py",
529 "--build-config-fs",
530 "Release",
531 "--paths",
532 "{\"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\"}",
533 "--properties",
534 "{\"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\"}",
535 "run",
536 "--output",
537 "/path/to/tmp/json"
538 ],
539 "name": "host_info",
540 "~followup_annotations": [
541 "step returned non-zero exit code: 1",
542 "@@@STEP_LOG_LINE@json.output@{@@@",
543 "@@@STEP_LOG_LINE@json.output@ \"failures\": [], @@@",
544 "@@@STEP_LOG_LINE@json.output@ \"valid\": true@@@",
545 "@@@STEP_LOG_LINE@json.output@}@@@",
546 "@@@STEP_LOG_END@json.output@@@",
547 "@@@STEP_FAILURE@@@"
548 ]
549 },
550 {
551 "cmd": [
552 "python",
553 "-u",
554 "[SLAVE_BUILD]/src/tools/perf/run_benchmark",
555 "list",
556 "--browser",
557 "android-chromium",
558 "--json-output",
559 "/path/to/tmp/json",
560 "--num-shards",
561 "21",
562 "--device",
563 "07a00ca4"
564 ],
565 "name": "List Perf Tests",
566 "~followup_annotations": [
567 "@@@STEP_LOG_LINE@json.output@{@@@",
568 "@@@STEP_LOG_LINE@json.output@ \"steps\": {@@@",
569 "@@@STEP_LOG_LINE@json.output@ \"blink_perf.all.exact\": {@@@",
570 "@@@STEP_LOG_LINE@json.output@ \"cmd\": \"/usr/bin/python /path/to/ru n_benchmark --a=1 -v --b=2\", @@@",
571 "@@@STEP_LOG_LINE@json.output@ \"device_affinity\": 1, @@@",
572 "@@@STEP_LOG_LINE@json.output@ \"perf_dashboard_id\": \"blink_perf.al l\"@@@",
573 "@@@STEP_LOG_LINE@json.output@ }, @@@",
574 "@@@STEP_LOG_LINE@json.output@ \"blink_perf.all.release\": {@@@",
575 "@@@STEP_LOG_LINE@json.output@ \"cmd\": \"/usr/bin/python /path/to/ru n_benchmark --a=1 -v --b=2\", @@@",
576 "@@@STEP_LOG_LINE@json.output@ \"device_affinity\": 0, @@@",
577 "@@@STEP_LOG_LINE@json.output@ \"perf_dashboard_id\": \"blink_perf.al l\"@@@",
578 "@@@STEP_LOG_LINE@json.output@ }, @@@",
579 "@@@STEP_LOG_LINE@json.output@ \"blink_perf.dom\": {@@@",
580 "@@@STEP_LOG_LINE@json.output@ \"cmd\": \"/path/to/run_benchmark -v - -upload-results blink_perf.dom\", @@@",
581 "@@@STEP_LOG_LINE@json.output@ \"device_affinity\": 1, @@@",
582 "@@@STEP_LOG_LINE@json.output@ \"perf_dashboard_id\": \"blink_perf.do m\"@@@",
583 "@@@STEP_LOG_LINE@json.output@ }, @@@",
584 "@@@STEP_LOG_LINE@json.output@ \"dromaeo.cssqueryjquery\": {@@@",
585 "@@@STEP_LOG_LINE@json.output@ \"cmd\": \"/path/to/run_benchmark\", @ @@",
586 "@@@STEP_LOG_LINE@json.output@ \"device_affinity\": 13@@@",
587 "@@@STEP_LOG_LINE@json.output@ }, @@@",
588 "@@@STEP_LOG_LINE@json.output@ \"dromaeo.cssqueryjquery.release\": {@@@ ",
589 "@@@STEP_LOG_LINE@json.output@ \"cmd\": \"/path/to/run_benchmark\", @ @@",
590 "@@@STEP_LOG_LINE@json.output@ \"device_affinity\": 11, @@@",
591 "@@@STEP_LOG_LINE@json.output@ \"perf_dashboard_id\": \"dromaeo.cssqu eryjquery\"@@@",
592 "@@@STEP_LOG_LINE@json.output@ }@@@",
593 "@@@STEP_LOG_LINE@json.output@ }, @@@",
594 "@@@STEP_LOG_LINE@json.output@ \"version\": 2@@@",
595 "@@@STEP_LOG_LINE@json.output@}@@@",
596 "@@@STEP_LOG_END@json.output@@@"
597 ]
598 },
599 {
600 "cmd": [
601 "python",
602 "-u",
603 "[SLAVE_BUILD]/src/build/android/test_runner.py",
604 "perf",
605 "--release",
724 "--verbose", 606 "--verbose",
725 "-t", 607 "--steps",
726 "180", 608 "{\"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", 609 "--blacklist-file",
728 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb" 610 "[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", 611 "--num-retries",
764 "0", 612 "0",
765 "--adb-path", 613 "--collect-chartjson-data",
766 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb" 614 "--max-battery-temp",
767 ], 615 "350",
768 "name": "cronet_sample_test_apk" 616 "--known-devices-file",
769 }, 617 "[HOME]/.android/known_devices.json",
770 { 618 "--enable-platform-mode",
771 "cmd": [ 619 "--adb-path",
772 "python", 620 "[SLAVE_BUILD]/src/third_party/catapult/devil/bin/deps/linux2/x86_64/bin/a db"
773 "-u", 621 ],
774 "[SLAVE_BUILD]/src/out/Release/bin/run_cronet_test_instrumentation_apk", 622 "cwd": "[SLAVE_BUILD]/src",
775 "--blacklist-file", 623 "env": {
776 "[SLAVE_BUILD]/src/out/bad_devices.json", 624 "CHROMIUM_OUTPUT_DIR": "[SLAVE_BUILD]/src/out/Release",
625 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json",
626 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
627 },
628 "name": "Sharded Perf Tests"
629 },
630 {
631 "cmd": [
632 "python",
633 "-u",
634 "[SLAVE_BUILD]/src/build/android/test_runner.py",
635 "perf",
636 "--steps",
637 "{\"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}",
638 "--output-json-list",
639 "/path/to/tmp/json",
640 "--blacklist-file",
641 "[SLAVE_BUILD]/src/out/bad_devices.json",
642 "--adb-path",
643 "[SLAVE_BUILD]/src/third_party/catapult/devil/bin/deps/linux2/x86_64/bin/a db"
644 ],
645 "env": {
646 "CHROMIUM_OUTPUT_DIR": "[SLAVE_BUILD]/src/out/Release",
647 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json",
648 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
649 },
650 "name": "get perf test list",
651 "~followup_annotations": [
652 "@@@STEP_LOG_LINE@json.output@[@@@",
653 "@@@STEP_LOG_LINE@json.output@ {@@@",
654 "@@@STEP_LOG_LINE@json.output@ \"device_affinity\": 0, @@@",
655 "@@@STEP_LOG_LINE@json.output@ \"end_time\": 1443438432.949711, @@@",
656 "@@@STEP_LOG_LINE@json.output@ \"has_archive\": true, @@@",
657 "@@@STEP_LOG_LINE@json.output@ \"test\": \"perf_test.foo\"@@@",
658 "@@@STEP_LOG_LINE@json.output@ }, @@@",
659 "@@@STEP_LOG_LINE@json.output@ {@@@",
660 "@@@STEP_LOG_LINE@json.output@ \"device_affinity\": 0, @@@",
661 "@@@STEP_LOG_LINE@json.output@ \"test\": \"page_cycler.foo\"@@@",
662 "@@@STEP_LOG_LINE@json.output@ }@@@",
663 "@@@STEP_LOG_LINE@json.output@]@@@",
664 "@@@STEP_LOG_END@json.output@@@"
665 ]
666 },
667 {
668 "allow_subannotations": true,
669 "cmd": [
670 "python",
671 "-u",
672 "RECIPE_PACKAGE_REPO[build]/scripts/slave/runtest.py",
673 "--target",
674 "Release",
675 "--test-platform",
676 "android",
677 "--no-xvfb",
678 "--factory-properties",
679 "{\"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\"}",
680 "--build-properties",
681 "{\"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\"}",
682 "--annotate=graphing",
683 "--results-url=https://chromeperf.appspot.com",
684 "--perf-dashboard-id=page_cycler.foo",
685 "--perf-id=android-nexus5",
686 "--test-type=page_cycler.foo",
687 "--step-name=page_cycler.foo",
688 "--chartjson-file",
689 "/path/to/tmp/json",
690 "--builder-name=Android Nexus5 Perf (1)",
691 "--slave-name=slavename",
692 "--build-number=571",
693 "--run-python-script",
694 "[SLAVE_BUILD]/src/build/android/test_runner.py",
695 "perf",
696 "--print-step",
697 "page_cycler.foo",
777 "--verbose", 698 "--verbose",
778 "--num-retries", 699 "--adb-path",
779 "0", 700 "[SLAVE_BUILD]/src/third_party/catapult/devil/bin/deps/linux2/x86_64/bin/a db",
780 "--adb-path", 701 "--blacklist-file",
781 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb" 702 "[SLAVE_BUILD]/src/out/bad_devices.json",
782 ], 703 "--enable-platform-mode"
783 "name": "cronet_test_instrumentation_apk" 704 ],
784 }, 705 "env": {
785 { 706 "CHROMIUM_OUTPUT_DIR": "[SLAVE_BUILD]/src/out/Release",
786 "cmd": [ 707 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json",
708 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
709 },
710 "name": "page_cycler.foo",
711 "~followup_annotations": [
712 "@@@STEP_TEXT@<br/>Device Affinity: 0<br/>@@@",
713 "@@@STEP_LOG_LINE@json.output@[]@@@",
714 "@@@STEP_LOG_END@json.output@@@",
715 "@@@STEP_LOG_LINE@device affinity@0@@@",
716 "@@@STEP_LOG_END@device affinity@@@"
717 ]
718 },
719 {
720 "allow_subannotations": true,
721 "cmd": [
722 "python",
723 "-u",
724 "RECIPE_PACKAGE_REPO[build]/scripts/slave/runtest.py",
725 "--target",
726 "Release",
727 "--test-platform",
728 "android",
729 "--no-xvfb",
730 "--factory-properties",
731 "{\"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\"}",
732 "--build-properties",
733 "{\"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\"}",
734 "--annotate=graphing",
735 "--results-url=https://chromeperf.appspot.com",
736 "--perf-dashboard-id=perf_test.foo",
737 "--perf-id=android-nexus5",
738 "--test-type=perf_test.foo",
739 "--step-name=perf_test.foo",
740 "--chartjson-file",
741 "/path/to/tmp/json",
742 "--builder-name=Android Nexus5 Perf (1)",
743 "--slave-name=slavename",
744 "--build-number=571",
745 "--run-python-script",
746 "[SLAVE_BUILD]/src/build/android/test_runner.py",
747 "perf",
748 "--print-step",
749 "perf_test.foo",
750 "--verbose",
751 "--adb-path",
752 "[SLAVE_BUILD]/src/third_party/catapult/devil/bin/deps/linux2/x86_64/bin/a db",
753 "--blacklist-file",
754 "[SLAVE_BUILD]/src/out/bad_devices.json",
755 "--enable-platform-mode"
756 ],
757 "env": {
758 "CHROMIUM_OUTPUT_DIR": "[SLAVE_BUILD]/src/out/Release",
759 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json",
760 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
761 },
762 "name": "perf_test.foo",
763 "~followup_annotations": [
764 "@@@STEP_TEXT@<br/>Device Affinity: 0<br/>@@@",
765 "@@@STEP_LOG_LINE@json.output@[]@@@",
766 "@@@STEP_LOG_END@json.output@@@",
767 "@@@STEP_LOG_LINE@device affinity@0@@@",
768 "@@@STEP_LOG_END@device affinity@@@"
769 ]
770 },
771 {
772 "cmd": [
787 "python", 773 "python",
788 "-u", 774 "-u",
789 "RECIPE_PACKAGE_REPO[build]/scripts/slave/daemonizer.py", 775 "RECIPE_PACKAGE_REPO[build]/scripts/slave/daemonizer.py",
790 "--action", 776 "--action",
791 "stop", 777 "stop",
792 "--pid-file-path", 778 "--pid-file-path",
793 "/tmp/device_monitor.pid" 779 "/tmp/device_monitor.pid"
794 ], 780 ],
795 "name": "shutdown_device_monitor" 781 "name": "shutdown_device_monitor"
796 }, 782 },
(...skipping 15 matching lines...) Expand all
812 "RECIPE_MODULE[build::gsutil]/resources/gsutil_wrapper.py", 798 "RECIPE_MODULE[build::gsutil]/resources/gsutil_wrapper.py",
813 "--", 799 "--",
814 "RECIPE_PACKAGE_REPO[depot_tools]/gsutil.py", 800 "RECIPE_PACKAGE_REPO[depot_tools]/gsutil.py",
815 "--force-version", 801 "--force-version",
816 "4.7", 802 "4.7",
817 "-o", 803 "-o",
818 "GSUtil:parallel_composite_upload_threshold=50M", 804 "GSUtil:parallel_composite_upload_threshold=50M",
819 "----", 805 "----",
820 "cp", 806 "cp",
821 "[SLAVE_BUILD]/src/out/Release/full_log", 807 "[SLAVE_BUILD]/src/out/Release/full_log",
822 "gs://chromium-android/logcat_dumps/Android Cronet KitKat Builder/571" 808 "gs://chromium-android/logcat_dumps/Android Nexus5 Perf (1)/571"
823 ], 809 ],
824 "name": "gsutil upload", 810 "name": "gsutil upload",
825 "~followup_annotations": [ 811 "~followup_annotations": [
826 "@@@STEP_LINK@logcat dump@https://storage.cloud.google.com/chromium-androi d/logcat_dumps/Android Cronet KitKat Builder/571@@@" 812 "@@@STEP_LINK@logcat dump@https://storage.cloud.google.com/chromium-androi d/logcat_dumps/Android Nexus5 Perf (1)/571@@@"
827 ] 813 ]
828 }, 814 },
829 { 815 {
830 "cmd": [ 816 "cmd": [
831 "[SLAVE_BUILD]/src/third_party/android_platform/development/scripts/stack" , 817 "[SLAVE_BUILD]/src/third_party/android_platform/development/scripts/stack" ,
832 "--arch", 818 "--arch",
833 "arm", 819 "arm",
834 "--more-info", 820 "--more-info",
835 "[SLAVE_BUILD]/src/out/Release/full_log" 821 "[SLAVE_BUILD]/src/out/Release/full_log"
836 ], 822 ],
837 "env": { 823 "env": {
838 "CHROMIUM_OUTPUT_DIR": "[SLAVE_BUILD]/src/out/Release", 824 "CHROMIUM_OUTPUT_DIR": "[SLAVE_BUILD]/src/out/Release",
839 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json", 825 "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" 826 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
841 }, 827 },
842 "name": "stack_tool_with_logcat_dump" 828 "name": "stack_tool_with_logcat_dump"
843 }, 829 },
844 { 830 {
845 "cmd": [ 831 "cmd": [
846 "python", 832 "python",
847 "-u", 833 "-u",
848 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", 834 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
849 "[SLAVE_BUILD]/src/chrome/VERSION", 835 "[SLAVE_BUILD]/src/chrome/VERSION",
850 "/path/to/tmp/" 836 "/path/to/tmp/"
851 ], 837 ],
852 "name": "get version" 838 "name": "get version (2)"
853 }, 839 },
854 { 840 {
855 "cmd": [ 841 "cmd": [
856 "[SLAVE_BUILD]/src/build/android/tombstones.py", 842 "[SLAVE_BUILD]/src/build/android/tombstones.py",
857 "-a", 843 "-a",
858 "-s", 844 "-s",
859 "-w" 845 "-w"
860 ], 846 ],
861 "env": { 847 "env": {
862 "CHROMIUM_OUTPUT_DIR": "[SLAVE_BUILD]/src/out/Release", 848 "CHROMIUM_OUTPUT_DIR": "[SLAVE_BUILD]/src/out/Release",
(...skipping 16 matching lines...) Expand all
879 "@@@STEP_LOG_LINE@python.inline@for report in glob.glob(sys.argv[1]):@@@", 865 "@@@STEP_LOG_LINE@python.inline@for report in glob.glob(sys.argv[1]):@@@",
880 "@@@STEP_LOG_LINE@python.inline@ with open(report, 'r') as f:@@@", 866 "@@@STEP_LOG_LINE@python.inline@ with open(report, 'r') as f:@@@",
881 "@@@STEP_LOG_LINE@python.inline@ for l in f.readlines():@@@", 867 "@@@STEP_LOG_LINE@python.inline@ for l in f.readlines():@@@",
882 "@@@STEP_LOG_LINE@python.inline@ print l@@@", 868 "@@@STEP_LOG_LINE@python.inline@ print l@@@",
883 "@@@STEP_LOG_LINE@python.inline@ os.remove(report)@@@", 869 "@@@STEP_LOG_LINE@python.inline@ os.remove(report)@@@",
884 "@@@STEP_LOG_END@python.inline@@@" 870 "@@@STEP_LOG_END@python.inline@@@"
885 ] 871 ]
886 }, 872 },
887 { 873 {
888 "name": "$result", 874 "name": "$result",
875 "reason": "src-side perf tests failed [StepFailure(\"1 tests failed: ['host_ info']\",)]",
889 "recipe_result": null, 876 "recipe_result": null,
890 "status_code": 0 877 "status_code": 1
891 } 878 }
892 ] 879 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698