OLD | NEW |
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", | 10 "Android Tests", |
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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/Release/debug_info_dumps", | |
132 "[SLAVE_BUILD]/src/out/Release/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/Release" | 122 "[SLAVE_BUILD]/src/out/Release" |
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 Loading... |
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/Release/debug_info_dumps", |
| 206 "[SLAVE_BUILD]/src/out/Release/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 887 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1137 "@@@STEP_LOG_LINE@python.inline@import glob, os, sys@@@", | 1137 "@@@STEP_LOG_LINE@python.inline@import glob, os, sys@@@", |
1138 "@@@STEP_LOG_LINE@python.inline@for report in glob.glob(sys.argv[1]):@@@", | 1138 "@@@STEP_LOG_LINE@python.inline@for report in glob.glob(sys.argv[1]):@@@", |
1139 "@@@STEP_LOG_LINE@python.inline@ with open(report, 'r') as f:@@@", | 1139 "@@@STEP_LOG_LINE@python.inline@ with open(report, 'r') as f:@@@", |
1140 "@@@STEP_LOG_LINE@python.inline@ for l in f.readlines():@@@", | 1140 "@@@STEP_LOG_LINE@python.inline@ for l in f.readlines():@@@", |
1141 "@@@STEP_LOG_LINE@python.inline@ print l@@@", | 1141 "@@@STEP_LOG_LINE@python.inline@ print l@@@", |
1142 "@@@STEP_LOG_LINE@python.inline@ os.remove(report)@@@", | 1142 "@@@STEP_LOG_LINE@python.inline@ os.remove(report)@@@", |
1143 "@@@STEP_LOG_END@python.inline@@@" | 1143 "@@@STEP_LOG_END@python.inline@@@" |
1144 ] | 1144 ] |
1145 } | 1145 } |
1146 ] | 1146 ] |
OLD | NEW |