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

Side by Side Diff: scripts/slave/recipes/chromium.expected/full_chromium_linux_Android_Tests__dbg_.json

Issue 1177593002: Add swarming support for MB (and the GN bots) in the chromium recipes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: merge patchset #3 to r295696 (no other changes) Created 5 years, 6 months 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 | Annotate | Revision Log
OLDNEW
1 [ 1 [
2 { 2 {
3 "cmd": [ 3 "cmd": [
4 "python", 4 "python",
5 "-u", 5 "-u",
6 "[BUILD]/scripts/slave/bot_update.py", 6 "[BUILD]/scripts/slave/bot_update.py",
7 "--master", 7 "--master",
8 "chromium.linux", 8 "chromium.linux",
9 "--builder", 9 "--builder",
10 "Android Tests (dbg)", 10 "Android Tests (dbg)",
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
111 "name": "get compile targets for scripts", 111 "name": "get compile targets for scripts",
112 "~followup_annotations": [ 112 "~followup_annotations": [
113 "@@@STEP_LOG_LINE@json.output@{}@@@", 113 "@@@STEP_LOG_LINE@json.output@{}@@@",
114 "@@@STEP_LOG_END@json.output@@@" 114 "@@@STEP_LOG_END@json.output@@@"
115 ] 115 ]
116 }, 116 },
117 { 117 {
118 "cmd": [ 118 "cmd": [
119 "python", 119 "python",
120 "-u", 120 "-u",
121 "[BUILD]/scripts/slave/cleanup_temp.py"
122 ],
123 "cwd": "[SLAVE_BUILD]",
124 "name": "cleanup_temp"
125 },
126 {
127 "cmd": [
128 "python",
129 "-u",
130 "\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",
131 "[SLAVE_BUILD]/src/out/Debug/debug_info_dumps",
132 "[SLAVE_BUILD]/src/out/Debug/test_logs",
133 "[SLAVE_BUILD]/src/out/build_product.zip",
134 "[SLAVE_BUILD]/src"
135 ],
136 "cwd": "[SLAVE_BUILD]",
137 "name": "clean local files",
138 "~followup_annotations": [
139 "@@@STEP_LOG_LINE@python.inline@@@@",
140 "@@@STEP_LOG_LINE@python.inline@import shutil, sys, os@@@",
141 "@@@STEP_LOG_LINE@python.inline@shutil.rmtree(sys.argv[1], True)@@@",
142 "@@@STEP_LOG_LINE@python.inline@shutil.rmtree(sys.argv[2], True)@@@",
143 "@@@STEP_LOG_LINE@python.inline@try:@@@",
144 "@@@STEP_LOG_LINE@python.inline@ os.remove(sys.argv[3])@@@",
145 "@@@STEP_LOG_LINE@python.inline@except OSError:@@@",
146 "@@@STEP_LOG_LINE@python.inline@ pass@@@",
147 "@@@STEP_LOG_LINE@python.inline@for base, _dirs, files in os.walk(sys.argv [4]):@@@",
148 "@@@STEP_LOG_LINE@python.inline@ for f in files:@@@",
149 "@@@STEP_LOG_LINE@python.inline@ if f.endswith('.pyc'):@@@",
150 "@@@STEP_LOG_LINE@python.inline@ os.remove(os.path.join(base, f))@@@" ,
151 "@@@STEP_LOG_END@python.inline@@@"
152 ]
153 },
154 {
155 "allow_subannotations": false,
156 "cmd": [
157 "[SLAVE_BUILD]/src/build/tree_truth.sh",
158 "[SLAVE_BUILD]/src",
159 "src"
160 ],
161 "cwd": "[SLAVE_BUILD]",
162 "name": "tree truth steps"
163 },
164 {
165 "cmd": [
166 "python",
167 "-u",
168 "\nimport os, sys\nfrom common import chromium_utils\n\nif os.path.exists( sys.argv[1]):\n chromium_utils.RemoveDirectory(sys.argv[1])\n", 121 "\nimport os, sys\nfrom common import chromium_utils\n\nif os.path.exists( sys.argv[1]):\n chromium_utils.RemoveDirectory(sys.argv[1])\n",
169 "[SLAVE_BUILD]/src/out/Debug" 122 "[SLAVE_BUILD]/src/out/Debug"
170 ], 123 ],
171 "cwd": "[SLAVE_BUILD]", 124 "cwd": "[SLAVE_BUILD]",
172 "name": "rmtree build directory", 125 "name": "rmtree build directory",
173 "~followup_annotations": [ 126 "~followup_annotations": [
174 "@@@STEP_LOG_LINE@python.inline@@@@", 127 "@@@STEP_LOG_LINE@python.inline@@@@",
175 "@@@STEP_LOG_LINE@python.inline@import os, sys@@@", 128 "@@@STEP_LOG_LINE@python.inline@import os, sys@@@",
176 "@@@STEP_LOG_LINE@python.inline@from common import chromium_utils@@@", 129 "@@@STEP_LOG_LINE@python.inline@from common import chromium_utils@@@",
177 "@@@STEP_LOG_LINE@python.inline@@@@", 130 "@@@STEP_LOG_LINE@python.inline@@@@",
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
230 "@@@STEP_LOG_LINE@python.inline@import sys@@@", 183 "@@@STEP_LOG_LINE@python.inline@import sys@@@",
231 "@@@STEP_LOG_LINE@python.inline@adb_path = sys.argv[1]@@@", 184 "@@@STEP_LOG_LINE@python.inline@adb_path = sys.argv[1]@@@",
232 "@@@STEP_LOG_LINE@python.inline@for device in sys.argv[2:]:@@@", 185 "@@@STEP_LOG_LINE@python.inline@for device in sys.argv[2:]:@@@",
233 "@@@STEP_LOG_LINE@python.inline@ subprocess.check_call([adb_path, '-s', d evice, 'root'])@@@", 186 "@@@STEP_LOG_LINE@python.inline@ subprocess.check_call([adb_path, '-s', d evice, 'root'])@@@",
234 "@@@STEP_LOG_LINE@python.inline@ subprocess.check_call([adb_path, '-s', d evice, 'wait-for-device'])@@@", 187 "@@@STEP_LOG_LINE@python.inline@ subprocess.check_call([adb_path, '-s', d evice, 'wait-for-device'])@@@",
235 "@@@STEP_LOG_END@python.inline@@@" 188 "@@@STEP_LOG_END@python.inline@@@"
236 ] 189 ]
237 }, 190 },
238 { 191 {
239 "cmd": [ 192 "cmd": [
193 "python",
194 "-u",
195 "[BUILD]/scripts/slave/cleanup_temp.py"
196 ],
197 "cwd": "[SLAVE_BUILD]",
198 "name": "cleanup_temp"
199 },
200 {
201 "cmd": [
202 "python",
203 "-u",
204 "\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",
205 "[SLAVE_BUILD]/src/out/Debug/debug_info_dumps",
206 "[SLAVE_BUILD]/src/out/Debug/test_logs",
207 "[SLAVE_BUILD]/src/out/build_product.zip",
208 "[SLAVE_BUILD]/src"
209 ],
210 "cwd": "[SLAVE_BUILD]",
211 "name": "clean local files",
212 "~followup_annotations": [
213 "@@@STEP_LOG_LINE@python.inline@@@@",
214 "@@@STEP_LOG_LINE@python.inline@import shutil, sys, os@@@",
215 "@@@STEP_LOG_LINE@python.inline@shutil.rmtree(sys.argv[1], True)@@@",
216 "@@@STEP_LOG_LINE@python.inline@shutil.rmtree(sys.argv[2], True)@@@",
217 "@@@STEP_LOG_LINE@python.inline@try:@@@",
218 "@@@STEP_LOG_LINE@python.inline@ os.remove(sys.argv[3])@@@",
219 "@@@STEP_LOG_LINE@python.inline@except OSError:@@@",
220 "@@@STEP_LOG_LINE@python.inline@ pass@@@",
221 "@@@STEP_LOG_LINE@python.inline@for base, _dirs, files in os.walk(sys.argv [4]):@@@",
222 "@@@STEP_LOG_LINE@python.inline@ for f in files:@@@",
223 "@@@STEP_LOG_LINE@python.inline@ if f.endswith('.pyc'):@@@",
224 "@@@STEP_LOG_LINE@python.inline@ os.remove(os.path.join(base, f))@@@" ,
225 "@@@STEP_LOG_END@python.inline@@@"
226 ]
227 },
228 {
229 "allow_subannotations": false,
230 "cmd": [
231 "[SLAVE_BUILD]/src/build/tree_truth.sh",
232 "[SLAVE_BUILD]/src",
233 "src"
234 ],
235 "cwd": "[SLAVE_BUILD]",
236 "name": "tree truth steps"
237 },
238 {
239 "cmd": [
240 "[BUILD]/scripts/slave/daemonizer.py", 240 "[BUILD]/scripts/slave/daemonizer.py",
241 "--", 241 "--",
242 "[SLAVE_BUILD]/src/build/android/adb_logcat_monitor.py", 242 "[SLAVE_BUILD]/src/build/android/adb_logcat_monitor.py",
243 "[SLAVE_BUILD]/src/out/logcat" 243 "[SLAVE_BUILD]/src/out/logcat"
244 ], 244 ],
245 "cwd": "[SLAVE_BUILD]", 245 "cwd": "[SLAVE_BUILD]",
246 "env": { 246 "env": {
247 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s" 247 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
248 }, 248 },
249 "name": "spawn_logcat_monitor" 249 "name": "spawn_logcat_monitor"
(...skipping 851 matching lines...) Expand 10 before | Expand all | Expand 10 after
1101 "@@@STEP_LOG_LINE@python.inline@import glob, os, sys@@@", 1101 "@@@STEP_LOG_LINE@python.inline@import glob, os, sys@@@",
1102 "@@@STEP_LOG_LINE@python.inline@for report in glob.glob(sys.argv[1]):@@@", 1102 "@@@STEP_LOG_LINE@python.inline@for report in glob.glob(sys.argv[1]):@@@",
1103 "@@@STEP_LOG_LINE@python.inline@ with open(report, 'r') as f:@@@", 1103 "@@@STEP_LOG_LINE@python.inline@ with open(report, 'r') as f:@@@",
1104 "@@@STEP_LOG_LINE@python.inline@ for l in f.readlines():@@@", 1104 "@@@STEP_LOG_LINE@python.inline@ for l in f.readlines():@@@",
1105 "@@@STEP_LOG_LINE@python.inline@ print l@@@", 1105 "@@@STEP_LOG_LINE@python.inline@ print l@@@",
1106 "@@@STEP_LOG_LINE@python.inline@ os.remove(report)@@@", 1106 "@@@STEP_LOG_LINE@python.inline@ os.remove(report)@@@",
1107 "@@@STEP_LOG_END@python.inline@@@" 1107 "@@@STEP_LOG_END@python.inline@@@"
1108 ] 1108 ]
1109 } 1109 }
1110 ] 1110 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698