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

Side by Side Diff: scripts/slave/recipes/android/perf.expected/test_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 Lollipop 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 Lollipop Builder",
286 "--buildbot-mastername",
287 "chromium.testing.master",
288 "--buildbot-slavename",
289 "TestSlavename",
290 "--goma-deps-cache-file",
291 "Android_Cronet_Lollipop_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 Lollipop Builder\", \"bu ildnumber\": 571, \"mastername\": \"chromium.testing.master\", \"project\": \"sr c\", \"recipe\": \"cronet\", \"repository\": \"https://chromium.googlesource.com /chromium/src\", \"revision\": \"4f4b02f6b7fa20a3a25682c457bbc8ad589c8a00\", \"s lavename\": \"TestSlavename\", \"workdir\": \"/path/to/workdir/TestSlavename\"}" ,
331 "--build-properties",
332 "{\"blamelist\": [\"cool_dev1337@chromium.org\", \"hax@chromium.org\"], \" branch\": \"master\", \"buildername\": \"Android Cronet Lollipop Builder\", \"bu ildnumber\": 571, \"mastername\": \"chromium.testing.master\", \"project\": \"sr c\", \"recipe\": \"cronet\", \"repository\": \"https://chromium.googlesource.com /chromium/src\", \"revision\": \"4f4b02f6b7fa20a3a25682c457bbc8ad589c8a00\", \"s lavename\": \"TestSlavename\", \"workdir\": \"/path/to/workdir/TestSlavename\"}" ,
333 "--test-type=sizes",
334 "--builder-name=Android Cronet Lollipop 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_l_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 Lollipop Builder\", \"bu ildnumber\": 571, \"mastername\": \"chromium.testing.master\", \"project\": \"sr c\", \"recipe\": \"cronet\", \"repository\": \"https://chromium.googlesource.com /chromium/src\", \"revision\": \"4f4b02f6b7fa20a3a25682c457bbc8ad589c8a00\", \"s lavename\": \"TestSlavename\", \"workdir\": \"/path/to/workdir/TestSlavename\"}" ,
425 "--build-properties",
426 "{\"blamelist\": [\"cool_dev1337@chromium.org\", \"hax@chromium.org\"], \" branch\": \"master\", \"buildername\": \"Android Cronet Lollipop Builder\", \"bu ildnumber\": 571, \"mastername\": \"chromium.testing.master\", \"project\": \"sr c\", \"recipe\": \"cronet\", \"repository\": \"https://chromium.googlesource.com /chromium/src\", \"revision\": \"4f4b02f6b7fa20a3a25682c457bbc8ad589c8a00\", \"s lavename\": \"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_l_builder",
431 "--test-type=page_cycler.foo",
432 "--step-name=page_cycler.foo",
433 "--builder-name=Android Cronet Lollipop 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 Lollipop Builder\", \"bu ildnumber\": 571, \"mastername\": \"chromium.testing.master\", \"project\": \"sr c\", \"recipe\": \"cronet\", \"repository\": \"https://chromium.googlesource.com /chromium/src\", \"revision\": \"4f4b02f6b7fa20a3a25682c457bbc8ad589c8a00\", \"s lavename\": \"TestSlavename\", \"workdir\": \"/path/to/workdir/TestSlavename\"}" ,
472 "--build-properties",
473 "{\"blamelist\": [\"cool_dev1337@chromium.org\", \"hax@chromium.org\"], \" branch\": \"master\", \"buildername\": \"Android Cronet Lollipop Builder\", \"bu ildnumber\": 571, \"mastername\": \"chromium.testing.master\", \"project\": \"sr c\", \"recipe\": \"cronet\", \"repository\": \"https://chromium.googlesource.com /chromium/src\", \"revision\": \"4f4b02f6b7fa20a3a25682c457bbc8ad589c8a00\", \"s lavename\": \"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_l_builder",
478 "--test-type=perf_test.foo",
479 "--step-name=perf_test.foo",
480 "--builder-name=Android Cronet Lollipop 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_LOG_LINE@json.output@{@@@",
473 "@@@STEP_LOG_LINE@json.output@ \"_host_info\": {@@@",
474 "@@@STEP_LOG_LINE@json.output@ \"devices\": [@@@",
475 "@@@STEP_LOG_LINE@json.output@ {@@@",
476 "@@@STEP_LOG_LINE@json.output@ \"adb_status\": \"device\", @@@",
477 "@@@STEP_LOG_LINE@json.output@ \"battery\": {@@@",
478 "@@@STEP_LOG_LINE@json.output@ \"AC powered\": \"false\", @@@",
479 "@@@STEP_LOG_LINE@json.output@ \"Max charging current\": \"500000 \", @@@",
480 "@@@STEP_LOG_LINE@json.output@ \"USB powered\": \"true\", @@@",
481 "@@@STEP_LOG_LINE@json.output@ \"Wireless powered\": \"false\", @ @@",
482 "@@@STEP_LOG_LINE@json.output@ \"health\": \"2\", @@@",
483 "@@@STEP_LOG_LINE@json.output@ \"level\": \"100\", @@@",
484 "@@@STEP_LOG_LINE@json.output@ \"present\": \"true\", @@@",
485 "@@@STEP_LOG_LINE@json.output@ \"scale\": \"100\", @@@",
486 "@@@STEP_LOG_LINE@json.output@ \"status\": \"5\", @@@",
487 "@@@STEP_LOG_LINE@json.output@ \"technology\": \"Li-ion\", @@@",
488 "@@@STEP_LOG_LINE@json.output@ \"temperature\": \"240\", @@@",
489 "@@@STEP_LOG_LINE@json.output@ \"voltage\": \"4302\"@@@",
490 "@@@STEP_LOG_LINE@json.output@ }, @@@",
491 "@@@STEP_LOG_LINE@json.output@ \"blacklisted\": null, @@@",
492 "@@@STEP_LOG_LINE@json.output@ \"imei_slice\": \"\", @@@",
493 "@@@STEP_LOG_LINE@json.output@ \"ro.build.fingerprint\": \"fingerpr int\", @@@",
494 "@@@STEP_LOG_LINE@json.output@ \"ro.build.id\": \"MDB08Q\", @@@",
495 "@@@STEP_LOG_LINE@json.output@ \"ro.build.product\": \"bullhead\", @@@",
496 "@@@STEP_LOG_LINE@json.output@ \"serial\": \"00d0d567893340f4\", @@ @",
497 "@@@STEP_LOG_LINE@json.output@ \"usb_status\": true, @@@",
498 "@@@STEP_LOG_LINE@json.output@ \"wifi_ip\": \"\"@@@",
499 "@@@STEP_LOG_LINE@json.output@ }@@@",
500 "@@@STEP_LOG_LINE@json.output@ ], @@@",
501 "@@@STEP_LOG_LINE@json.output@ \"free_disk_space\": \"free_disk_space\" , @@@",
502 "@@@STEP_LOG_LINE@json.output@ \"num_cpus\": \"num_cpus\", @@@",
503 "@@@STEP_LOG_LINE@json.output@ \"os_release\": \"os_release\", @@@",
504 "@@@STEP_LOG_LINE@json.output@ \"os_system\": \"os_system\", @@@",
505 "@@@STEP_LOG_LINE@json.output@ \"processor\": \"processor\", @@@",
506 "@@@STEP_LOG_LINE@json.output@ \"python_path\": \"python_path\", @@@",
507 "@@@STEP_LOG_LINE@json.output@ \"python_version\": \"python_version\"@@ @",
508 "@@@STEP_LOG_LINE@json.output@ }, @@@",
509 "@@@STEP_LOG_LINE@json.output@ \"failures\": [], @@@",
510 "@@@STEP_LOG_LINE@json.output@ \"valid\": true@@@",
511 "@@@STEP_LOG_LINE@json.output@}@@@",
512 "@@@STEP_LOG_END@json.output@@@"
513 ]
514 },
515 {
516 "cmd": [
517 "python",
518 "-u",
519 "[SLAVE_BUILD]/src/tools/perf/run_benchmark",
520 "list",
521 "--browser",
522 "android-chromium",
523 "--json-output",
524 "/path/to/tmp/json",
525 "--num-shards",
526 "21",
527 "--device",
528 "07a00ca4"
529 ],
530 "name": "List Perf Tests",
531 "~followup_annotations": [
532 "@@@STEP_LOG_LINE@json.output@{@@@",
533 "@@@STEP_LOG_LINE@json.output@ \"steps\": {@@@",
534 "@@@STEP_LOG_LINE@json.output@ \"blink_perf.all.exact\": {@@@",
535 "@@@STEP_LOG_LINE@json.output@ \"cmd\": \"/usr/bin/python /path/to/ru n_benchmark --a=1 -v --b=2\", @@@",
536 "@@@STEP_LOG_LINE@json.output@ \"device_affinity\": 1, @@@",
537 "@@@STEP_LOG_LINE@json.output@ \"perf_dashboard_id\": \"blink_perf.al l\"@@@",
538 "@@@STEP_LOG_LINE@json.output@ }, @@@",
539 "@@@STEP_LOG_LINE@json.output@ \"blink_perf.all.release\": {@@@",
540 "@@@STEP_LOG_LINE@json.output@ \"cmd\": \"/usr/bin/python /path/to/ru n_benchmark --a=1 -v --b=2\", @@@",
541 "@@@STEP_LOG_LINE@json.output@ \"device_affinity\": 0, @@@",
542 "@@@STEP_LOG_LINE@json.output@ \"perf_dashboard_id\": \"blink_perf.al l\"@@@",
543 "@@@STEP_LOG_LINE@json.output@ }, @@@",
544 "@@@STEP_LOG_LINE@json.output@ \"blink_perf.dom\": {@@@",
545 "@@@STEP_LOG_LINE@json.output@ \"cmd\": \"/path/to/run_benchmark -v - -upload-results blink_perf.dom\", @@@",
546 "@@@STEP_LOG_LINE@json.output@ \"device_affinity\": 1, @@@",
547 "@@@STEP_LOG_LINE@json.output@ \"perf_dashboard_id\": \"blink_perf.do m\"@@@",
548 "@@@STEP_LOG_LINE@json.output@ }, @@@",
549 "@@@STEP_LOG_LINE@json.output@ \"dromaeo.cssqueryjquery\": {@@@",
550 "@@@STEP_LOG_LINE@json.output@ \"cmd\": \"/path/to/run_benchmark\", @ @@",
551 "@@@STEP_LOG_LINE@json.output@ \"device_affinity\": 13@@@",
552 "@@@STEP_LOG_LINE@json.output@ }, @@@",
553 "@@@STEP_LOG_LINE@json.output@ \"dromaeo.cssqueryjquery.release\": {@@@ ",
554 "@@@STEP_LOG_LINE@json.output@ \"cmd\": \"/path/to/run_benchmark\", @ @@",
555 "@@@STEP_LOG_LINE@json.output@ \"device_affinity\": 11, @@@",
556 "@@@STEP_LOG_LINE@json.output@ \"perf_dashboard_id\": \"dromaeo.cssqu eryjquery\"@@@",
557 "@@@STEP_LOG_LINE@json.output@ }@@@",
558 "@@@STEP_LOG_LINE@json.output@ }, @@@",
559 "@@@STEP_LOG_LINE@json.output@ \"version\": 2@@@",
560 "@@@STEP_LOG_LINE@json.output@}@@@",
561 "@@@STEP_LOG_END@json.output@@@"
562 ]
563 },
564 {
565 "cmd": [
566 "python",
567 "-u",
568 "[SLAVE_BUILD]/src/build/android/test_runner.py",
569 "perf",
570 "--release",
724 "--verbose", 571 "--verbose",
725 "-t", 572 "--steps",
726 "180", 573 "{\"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", 574 "--blacklist-file",
728 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb" 575 "[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", 576 "--num-retries",
764 "0", 577 "0",
765 "--adb-path", 578 "--collect-chartjson-data",
766 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb" 579 "--max-battery-temp",
767 ], 580 "350",
768 "name": "cronet_sample_test_apk" 581 "--known-devices-file",
769 }, 582 "[HOME]/.android/known_devices.json",
770 { 583 "--enable-platform-mode",
771 "cmd": [ 584 "--adb-path",
772 "python", 585 "[SLAVE_BUILD]/src/third_party/catapult/devil/bin/deps/linux2/x86_64/bin/a db"
773 "-u", 586 ],
774 "[SLAVE_BUILD]/src/out/Release/bin/run_cronet_test_instrumentation_apk", 587 "cwd": "[SLAVE_BUILD]/src",
775 "--blacklist-file", 588 "env": {
776 "[SLAVE_BUILD]/src/out/bad_devices.json", 589 "CHROMIUM_OUTPUT_DIR": "[SLAVE_BUILD]/src/out/Release",
590 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json",
591 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
592 },
593 "name": "Sharded Perf Tests"
594 },
595 {
596 "cmd": [
597 "python",
598 "-u",
599 "[SLAVE_BUILD]/src/build/android/test_runner.py",
600 "perf",
601 "--steps",
602 "{\"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}",
603 "--output-json-list",
604 "/path/to/tmp/json",
605 "--blacklist-file",
606 "[SLAVE_BUILD]/src/out/bad_devices.json",
607 "--adb-path",
608 "[SLAVE_BUILD]/src/third_party/catapult/devil/bin/deps/linux2/x86_64/bin/a db"
609 ],
610 "env": {
611 "CHROMIUM_OUTPUT_DIR": "[SLAVE_BUILD]/src/out/Release",
612 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json",
613 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
614 },
615 "name": "get perf test list",
616 "~followup_annotations": [
617 "@@@STEP_LOG_LINE@json.output@[@@@",
618 "@@@STEP_LOG_LINE@json.output@ {@@@",
619 "@@@STEP_LOG_LINE@json.output@ \"device_affinity\": 0, @@@",
620 "@@@STEP_LOG_LINE@json.output@ \"end_time\": 1443438432.949711, @@@",
621 "@@@STEP_LOG_LINE@json.output@ \"has_archive\": true, @@@",
622 "@@@STEP_LOG_LINE@json.output@ \"test\": \"perf_test.foo\"@@@",
623 "@@@STEP_LOG_LINE@json.output@ }, @@@",
624 "@@@STEP_LOG_LINE@json.output@ {@@@",
625 "@@@STEP_LOG_LINE@json.output@ \"device_affinity\": 0, @@@",
626 "@@@STEP_LOG_LINE@json.output@ \"test\": \"page_cycler.foo\"@@@",
627 "@@@STEP_LOG_LINE@json.output@ }@@@",
628 "@@@STEP_LOG_LINE@json.output@]@@@",
629 "@@@STEP_LOG_END@json.output@@@"
630 ]
631 },
632 {
633 "allow_subannotations": true,
634 "cmd": [
635 "python",
636 "-u",
637 "RECIPE_PACKAGE_REPO[build]/scripts/slave/runtest.py",
638 "--target",
639 "Release",
640 "--test-platform",
641 "android",
642 "--no-xvfb",
643 "--factory-properties",
644 "{\"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\"}",
645 "--build-properties",
646 "{\"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\"}",
647 "--annotate=graphing",
648 "--results-url=https://chromeperf.appspot.com",
649 "--perf-dashboard-id=page_cycler.foo",
650 "--perf-id=android-nexus5",
651 "--test-type=page_cycler.foo",
652 "--step-name=page_cycler.foo",
653 "--chartjson-file",
654 "/path/to/tmp/json",
655 "--builder-name=Android Nexus5 Perf (1)",
656 "--slave-name=slavename",
657 "--build-number=571",
658 "--run-python-script",
659 "[SLAVE_BUILD]/src/build/android/test_runner.py",
660 "perf",
661 "--print-step",
662 "page_cycler.foo",
777 "--verbose", 663 "--verbose",
778 "--num-retries", 664 "--adb-path",
779 "0", 665 "[SLAVE_BUILD]/src/third_party/catapult/devil/bin/deps/linux2/x86_64/bin/a db",
780 "--adb-path", 666 "--blacklist-file",
781 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb" 667 "[SLAVE_BUILD]/src/out/bad_devices.json",
782 ], 668 "--enable-platform-mode"
783 "name": "cronet_test_instrumentation_apk" 669 ],
784 }, 670 "env": {
785 { 671 "CHROMIUM_OUTPUT_DIR": "[SLAVE_BUILD]/src/out/Release",
786 "cmd": [ 672 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json",
673 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
674 },
675 "name": "page_cycler.foo",
676 "~followup_annotations": [
677 "@@@STEP_TEXT@<br/>Device Affinity: 0<br/>@@@",
678 "@@@STEP_LOG_LINE@json.output@[]@@@",
679 "@@@STEP_LOG_END@json.output@@@",
680 "@@@STEP_LOG_LINE@device affinity@0@@@",
681 "@@@STEP_LOG_END@device affinity@@@"
682 ]
683 },
684 {
685 "allow_subannotations": true,
686 "cmd": [
687 "python",
688 "-u",
689 "RECIPE_PACKAGE_REPO[build]/scripts/slave/runtest.py",
690 "--target",
691 "Release",
692 "--test-platform",
693 "android",
694 "--no-xvfb",
695 "--factory-properties",
696 "{\"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\"}",
697 "--build-properties",
698 "{\"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\"}",
699 "--annotate=graphing",
700 "--results-url=https://chromeperf.appspot.com",
701 "--perf-dashboard-id=perf_test.foo",
702 "--perf-id=android-nexus5",
703 "--test-type=perf_test.foo",
704 "--step-name=perf_test.foo",
705 "--chartjson-file",
706 "/path/to/tmp/json",
707 "--builder-name=Android Nexus5 Perf (1)",
708 "--slave-name=slavename",
709 "--build-number=571",
710 "--run-python-script",
711 "[SLAVE_BUILD]/src/build/android/test_runner.py",
712 "perf",
713 "--print-step",
714 "perf_test.foo",
715 "--verbose",
716 "--adb-path",
717 "[SLAVE_BUILD]/src/third_party/catapult/devil/bin/deps/linux2/x86_64/bin/a db",
718 "--blacklist-file",
719 "[SLAVE_BUILD]/src/out/bad_devices.json",
720 "--enable-platform-mode"
721 ],
722 "env": {
723 "CHROMIUM_OUTPUT_DIR": "[SLAVE_BUILD]/src/out/Release",
724 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json",
725 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
726 },
727 "name": "perf_test.foo",
728 "~followup_annotations": [
729 "step returned non-zero exit code: 1",
730 "@@@STEP_TEXT@<br/>Device Affinity: 0<br/>@@@",
731 "@@@STEP_LOG_LINE@json.output (invalid)@null@@@",
732 "@@@STEP_LOG_END@json.output (invalid)@@@",
733 "@@@STEP_LOG_LINE@device affinity@0@@@",
734 "@@@STEP_LOG_END@device affinity@@@",
735 "@@@STEP_FAILURE@@@"
736 ]
737 },
738 {
739 "cmd": [
787 "python", 740 "python",
788 "-u", 741 "-u",
789 "RECIPE_PACKAGE_REPO[build]/scripts/slave/daemonizer.py", 742 "RECIPE_PACKAGE_REPO[build]/scripts/slave/daemonizer.py",
790 "--action", 743 "--action",
791 "stop", 744 "stop",
792 "--pid-file-path", 745 "--pid-file-path",
793 "/tmp/device_monitor.pid" 746 "/tmp/device_monitor.pid"
794 ], 747 ],
795 "name": "shutdown_device_monitor" 748 "name": "shutdown_device_monitor"
796 }, 749 },
(...skipping 15 matching lines...) Expand all
812 "RECIPE_MODULE[build::gsutil]/resources/gsutil_wrapper.py", 765 "RECIPE_MODULE[build::gsutil]/resources/gsutil_wrapper.py",
813 "--", 766 "--",
814 "RECIPE_PACKAGE_REPO[depot_tools]/gsutil.py", 767 "RECIPE_PACKAGE_REPO[depot_tools]/gsutil.py",
815 "--force-version", 768 "--force-version",
816 "4.7", 769 "4.7",
817 "-o", 770 "-o",
818 "GSUtil:parallel_composite_upload_threshold=50M", 771 "GSUtil:parallel_composite_upload_threshold=50M",
819 "----", 772 "----",
820 "cp", 773 "cp",
821 "[SLAVE_BUILD]/src/out/Release/full_log", 774 "[SLAVE_BUILD]/src/out/Release/full_log",
822 "gs://chromium-android/logcat_dumps/Android Cronet Lollipop Builder/571" 775 "gs://chromium-android/logcat_dumps/Android Nexus5 Perf (1)/571"
823 ], 776 ],
824 "name": "gsutil upload", 777 "name": "gsutil upload",
825 "~followup_annotations": [ 778 "~followup_annotations": [
826 "@@@STEP_LINK@logcat dump@https://storage.cloud.google.com/chromium-androi d/logcat_dumps/Android Cronet Lollipop Builder/571@@@" 779 "@@@STEP_LINK@logcat dump@https://storage.cloud.google.com/chromium-androi d/logcat_dumps/Android Nexus5 Perf (1)/571@@@"
827 ] 780 ]
828 }, 781 },
829 { 782 {
830 "cmd": [ 783 "cmd": [
831 "[SLAVE_BUILD]/src/third_party/android_platform/development/scripts/stack" , 784 "[SLAVE_BUILD]/src/third_party/android_platform/development/scripts/stack" ,
832 "--arch", 785 "--arch",
833 "arm", 786 "arm",
834 "--more-info", 787 "--more-info",
835 "[SLAVE_BUILD]/src/out/Release/full_log" 788 "[SLAVE_BUILD]/src/out/Release/full_log"
836 ], 789 ],
837 "env": { 790 "env": {
838 "CHROMIUM_OUTPUT_DIR": "[SLAVE_BUILD]/src/out/Release", 791 "CHROMIUM_OUTPUT_DIR": "[SLAVE_BUILD]/src/out/Release",
839 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json", 792 "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" 793 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
841 }, 794 },
842 "name": "stack_tool_with_logcat_dump" 795 "name": "stack_tool_with_logcat_dump"
843 }, 796 },
844 { 797 {
845 "cmd": [ 798 "cmd": [
846 "python", 799 "python",
847 "-u", 800 "-u",
848 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", 801 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
849 "[SLAVE_BUILD]/src/chrome/VERSION", 802 "[SLAVE_BUILD]/src/chrome/VERSION",
850 "/path/to/tmp/" 803 "/path/to/tmp/"
851 ], 804 ],
852 "name": "get version" 805 "name": "get version (2)"
853 }, 806 },
854 { 807 {
855 "cmd": [ 808 "cmd": [
856 "[SLAVE_BUILD]/src/build/android/tombstones.py", 809 "[SLAVE_BUILD]/src/build/android/tombstones.py",
857 "-a", 810 "-a",
858 "-s", 811 "-s",
859 "-w" 812 "-w"
860 ], 813 ],
861 "env": { 814 "env": {
862 "CHROMIUM_OUTPUT_DIR": "[SLAVE_BUILD]/src/out/Release", 815 "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]):@@@", 832 "@@@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:@@@", 833 "@@@STEP_LOG_LINE@python.inline@ with open(report, 'r') as f:@@@",
881 "@@@STEP_LOG_LINE@python.inline@ for l in f.readlines():@@@", 834 "@@@STEP_LOG_LINE@python.inline@ for l in f.readlines():@@@",
882 "@@@STEP_LOG_LINE@python.inline@ print l@@@", 835 "@@@STEP_LOG_LINE@python.inline@ print l@@@",
883 "@@@STEP_LOG_LINE@python.inline@ os.remove(report)@@@", 836 "@@@STEP_LOG_LINE@python.inline@ os.remove(report)@@@",
884 "@@@STEP_LOG_END@python.inline@@@" 837 "@@@STEP_LOG_END@python.inline@@@"
885 ] 838 ]
886 }, 839 },
887 { 840 {
888 "name": "$result", 841 "name": "$result",
842 "reason": "sharded perf tests failed [StepFailure(\"Step('perf_test.foo') fa iled with return_code 1\",)]",
889 "recipe_result": null, 843 "recipe_result": null,
890 "status_code": 0 844 "status_code": 1
891 } 845 }
892 ] 846 ]
OLDNEW
« no previous file with comments | « scripts/slave/recipes/android/perf.expected/src_side_script_fails.json ('k') | scripts/slave/recipes/blink_downstream.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698