OLD | NEW |
1 [ | 1 [ |
2 { | 2 { |
3 "cmd": [ | 3 "cmd": [ |
4 "python", | 4 "python", |
5 "-u", | 5 "-u", |
6 "RECIPE_MODULE[depot_tools::bot_update]/resources/bot_update.py", | 6 "RECIPE_MODULE[depot_tools::bot_update]/resources/bot_update.py", |
7 "--master", | 7 "--master", |
8 "chromium.infra", | 8 "chromium.infra", |
9 "--builder", | 9 "--builder", |
10 "infra-continuous-64", | 10 "infra-continuous-64", |
11 "--slave", | 11 "--slave", |
12 "TestSlavename", | 12 "TestSlavename", |
13 "--spec", | 13 "--spec", |
14 "cache_dir = '[GIT_CACHE]'\nsolutions = [{'deps_file': '.DEPS.git', 'manag
ed': True, 'name': 'infra', 'url': 'https://chromium.googlesource.com/infra/infr
a.git'}]", | 14 "cache_dir = '[ROOT]/b/build/slave/cache_dir'\nsolutions = [{'deps_file':
'.DEPS.git', 'managed': True, 'name': 'infra', 'url': 'https://chromium.googleso
urce.com/infra/infra.git'}]", |
15 "--root", | 15 "--root", |
16 "infra", | 16 "infra", |
17 "--revision_mapping_file", | 17 "--revision_mapping_file", |
18 "{\"infra\": \"got_revision\"}", | 18 "{\"infra\": \"got_revision\"}", |
19 "--git-cache-dir", | 19 "--git-cache-dir", |
20 "[GIT_CACHE]", | 20 "[ROOT]/b/build/slave/cache_dir", |
21 "--output_json", | 21 "--output_json", |
22 "/path/to/tmp/json", | 22 "/path/to/tmp/json", |
23 "--revision", | 23 "--revision", |
24 "infra@c14d891d44f0afff64e56ed7c9702df1d807b1ee", | 24 "infra@c14d891d44f0afff64e56ed7c9702df1d807b1ee", |
25 "--force", | 25 "--force", |
26 "--output_manifest" | 26 "--output_manifest" |
27 ], | 27 ], |
28 "cwd": "[SLAVE_BUILD]", | |
29 "env": { | 28 "env": { |
30 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" | 29 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" |
31 }, | 30 }, |
32 "name": "bot_update", | 31 "name": "bot_update", |
33 "~followup_annotations": [ | 32 "~followup_annotations": [ |
34 "@@@STEP_TEXT@Some step text@@@", | 33 "@@@STEP_TEXT@Some step text@@@", |
35 "@@@STEP_LOG_LINE@json.output@{@@@", | 34 "@@@STEP_LOG_LINE@json.output@{@@@", |
36 "@@@STEP_LOG_LINE@json.output@ \"did_run\": true, @@@", | 35 "@@@STEP_LOG_LINE@json.output@ \"did_run\": true, @@@", |
37 "@@@STEP_LOG_LINE@json.output@ \"fixed_revisions\": {@@@", | 36 "@@@STEP_LOG_LINE@json.output@ \"fixed_revisions\": {@@@", |
38 "@@@STEP_LOG_LINE@json.output@ \"infra\": \"c14d891d44f0afff64e56ed7c97
02df1d807b1ee\"@@@", | 37 "@@@STEP_LOG_LINE@json.output@ \"infra\": \"c14d891d44f0afff64e56ed7c97
02df1d807b1ee\"@@@", |
(...skipping 18 matching lines...) Expand all Loading... |
57 "@@@SET_BUILD_PROPERTY@got_revision_cp@\"refs/heads/master@{#197293}\"@@@" | 56 "@@@SET_BUILD_PROPERTY@got_revision_cp@\"refs/heads/master@{#197293}\"@@@" |
58 ] | 57 ] |
59 }, | 58 }, |
60 { | 59 { |
61 "cmd": [ | 60 "cmd": [ |
62 "python", | 61 "python", |
63 "-u", | 62 "-u", |
64 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", | 63 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", |
65 "runhooks" | 64 "runhooks" |
66 ], | 65 ], |
67 "cwd": "[SLAVE_BUILD]", | |
68 "env": { | 66 "env": { |
69 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" | 67 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" |
70 }, | 68 }, |
71 "name": "gclient runhooks" | 69 "name": "gclient runhooks" |
72 }, | 70 }, |
73 { | 71 { |
74 "cmd": [ | 72 "cmd": [ |
75 "python", | 73 "python", |
76 "-u", | 74 "-u", |
77 "test.py", | 75 "test.py", |
78 "test" | 76 "test" |
79 ], | 77 ], |
80 "cwd": "[SLAVE_BUILD]/infra", | 78 "cwd": "[CWD]/infra", |
81 "name": "infra python tests" | 79 "name": "infra python tests" |
82 }, | 80 }, |
83 { | 81 { |
84 "cmd": [ | 82 "cmd": [ |
85 "python", | 83 "python", |
86 "-u", | 84 "-u", |
87 "[SLAVE_BUILD]/infra/glyco/tests/run_all_tests.py" | 85 "[CWD]/infra/glyco/tests/run_all_tests.py" |
88 ], | 86 ], |
89 "cwd": "[SLAVE_BUILD]/infra", | 87 "cwd": "[CWD]/infra", |
90 "name": "Glyco tests" | 88 "name": "Glyco tests" |
91 }, | 89 }, |
92 { | 90 { |
93 "cmd": [ | 91 "cmd": [ |
94 "python", | 92 "python", |
95 "-u", | 93 "-u", |
96 "[SLAVE_BUILD]/infra/go/env.py", | 94 "[CWD]/infra/go/env.py", |
97 "go", | 95 "go", |
98 "version" | 96 "version" |
99 ], | 97 ], |
100 "cwd": "[SLAVE_BUILD]", | |
101 "name": "go third parties" | 98 "name": "go third parties" |
102 }, | 99 }, |
103 { | 100 { |
104 "cmd": [ | 101 "cmd": [ |
105 "python", | 102 "python", |
106 "-u", | 103 "-u", |
107 "[SLAVE_BUILD]/infra/go/env.py", | 104 "[CWD]/infra/go/env.py", |
108 "python", | 105 "python", |
109 "[SLAVE_BUILD]/infra/go/test.py" | 106 "[CWD]/infra/go/test.py" |
110 ], | 107 ], |
111 "cwd": "[SLAVE_BUILD]", | |
112 "name": "infra go tests" | 108 "name": "infra go tests" |
113 }, | 109 }, |
114 { | 110 { |
115 "cmd": [ | 111 "cmd": [ |
116 "python", | 112 "python", |
117 "-u", | 113 "-u", |
118 "[SLAVE_BUILD]/infra/build/build.py", | 114 "[CWD]/infra/build/build.py", |
119 "--builder", | 115 "--builder", |
120 "infra-continuous-64" | 116 "infra-continuous-64" |
121 ], | 117 ], |
122 "cwd": "[SLAVE_BUILD]", | |
123 "name": "cipd - build packages" | 118 "name": "cipd - build packages" |
124 }, | 119 }, |
125 { | 120 { |
126 "cmd": [ | 121 "cmd": [ |
127 "python", | 122 "python", |
128 "-u", | 123 "-u", |
129 "[SLAVE_BUILD]/infra/build/test_packages.py" | 124 "[CWD]/infra/build/test_packages.py" |
130 ], | 125 ], |
131 "cwd": "[SLAVE_BUILD]", | |
132 "name": "cipd - test packages integrity" | 126 "name": "cipd - test packages integrity" |
133 }, | 127 }, |
134 { | 128 { |
135 "cmd": [ | 129 "cmd": [ |
136 "python", | 130 "python", |
137 "-u", | 131 "-u", |
138 "[SLAVE_BUILD]/infra/build/build.py", | 132 "[CWD]/infra/build/build.py", |
139 "--no-rebuild", | 133 "--no-rebuild", |
140 "--upload", | 134 "--upload", |
141 "--service-account-json", | 135 "--service-account-json", |
142 "/creds/service_accounts/service-account-cipd-builder.json", | 136 "/creds/service_accounts/service-account-cipd-builder.json", |
143 "--json-output", | 137 "--json-output", |
144 "/path/to/tmp/json", | 138 "/path/to/tmp/json", |
145 "--builder", | 139 "--builder", |
146 "infra-continuous-64", | 140 "infra-continuous-64", |
147 "--tags", | 141 "--tags", |
148 "buildbot_build:chromium.infra/infra-continuous-64/123", | 142 "buildbot_build:chromium.infra/infra-continuous-64/123", |
149 "git_repository:https://chromium.googlesource.com/infra/infra", | 143 "git_repository:https://chromium.googlesource.com/infra/infra", |
150 "git_revision:5e03a58dc0850e5137a8ebbce29610670c756aed" | 144 "git_revision:5e03a58dc0850e5137a8ebbce29610670c756aed" |
151 ], | 145 ], |
152 "cwd": "[SLAVE_BUILD]", | |
153 "name": "cipd - upload packages", | 146 "name": "cipd - upload packages", |
154 "~followup_annotations": [ | 147 "~followup_annotations": [ |
155 "@@@STEP_LOG_LINE@json.output (invalid)@null@@@", | 148 "@@@STEP_LOG_LINE@json.output (invalid)@null@@@", |
156 "@@@STEP_LOG_END@json.output (invalid)@@@" | 149 "@@@STEP_LOG_END@json.output (invalid)@@@" |
157 ] | 150 ] |
158 }, | 151 }, |
159 { | 152 { |
160 "cmd": [ | 153 "cmd": [ |
161 "python", | 154 "python", |
162 "-u", | 155 "-u", |
163 "\nimport os, sys\nfrom common import chromium_utils # Error? See https://
crbug.com/584783.\n\npath = sys.argv[1]\nif os.path.exists(path):\n for p in (o
s.path.join(path, x) for x in os.listdir(path)):\n if os.path.isdir(p):\n
chromium_utils.RemoveDirectory(p)\n else:\n os.unlink(p)\n", | 156 "\nimport os, sys\nfrom common import chromium_utils # Error? See https://
crbug.com/584783.\n\npath = sys.argv[1]\nif os.path.exists(path):\n for p in (o
s.path.join(path, x) for x in os.listdir(path)):\n if os.path.isdir(p):\n
chromium_utils.RemoveDirectory(p)\n else:\n os.unlink(p)\n", |
164 "[SLAVE_BUILD]/infra/go/bin" | 157 "[CWD]/infra/go/bin" |
165 ], | 158 ], |
166 "cwd": "[SLAVE_BUILD]", | |
167 "name": "rmcontents clean go bin", | 159 "name": "rmcontents clean go bin", |
168 "~followup_annotations": [ | 160 "~followup_annotations": [ |
169 "@@@STEP_LOG_LINE@python.inline@@@@", | 161 "@@@STEP_LOG_LINE@python.inline@@@@", |
170 "@@@STEP_LOG_LINE@python.inline@import os, sys@@@", | 162 "@@@STEP_LOG_LINE@python.inline@import os, sys@@@", |
171 "@@@STEP_LOG_LINE@python.inline@from common import chromium_utils # Error?
See https://crbug.com/584783.@@@", | 163 "@@@STEP_LOG_LINE@python.inline@from common import chromium_utils # Error?
See https://crbug.com/584783.@@@", |
172 "@@@STEP_LOG_LINE@python.inline@@@@", | 164 "@@@STEP_LOG_LINE@python.inline@@@@", |
173 "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@", | 165 "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@", |
174 "@@@STEP_LOG_LINE@python.inline@if os.path.exists(path):@@@", | 166 "@@@STEP_LOG_LINE@python.inline@if os.path.exists(path):@@@", |
175 "@@@STEP_LOG_LINE@python.inline@ for p in (os.path.join(path, x) for x in
os.listdir(path)):@@@", | 167 "@@@STEP_LOG_LINE@python.inline@ for p in (os.path.join(path, x) for x in
os.listdir(path)):@@@", |
176 "@@@STEP_LOG_LINE@python.inline@ if os.path.isdir(p):@@@", | 168 "@@@STEP_LOG_LINE@python.inline@ if os.path.isdir(p):@@@", |
177 "@@@STEP_LOG_LINE@python.inline@ chromium_utils.RemoveDirectory(p)@@@
", | 169 "@@@STEP_LOG_LINE@python.inline@ chromium_utils.RemoveDirectory(p)@@@
", |
178 "@@@STEP_LOG_LINE@python.inline@ else:@@@", | 170 "@@@STEP_LOG_LINE@python.inline@ else:@@@", |
179 "@@@STEP_LOG_LINE@python.inline@ os.unlink(p)@@@", | 171 "@@@STEP_LOG_LINE@python.inline@ os.unlink(p)@@@", |
180 "@@@STEP_LOG_END@python.inline@@@" | 172 "@@@STEP_LOG_END@python.inline@@@" |
181 ] | 173 ] |
182 }, | 174 }, |
183 { | 175 { |
184 "cmd": [ | 176 "cmd": [ |
185 "python", | 177 "python", |
186 "-u", | 178 "-u", |
187 "[SLAVE_BUILD]/infra/go/env.py", | 179 "[CWD]/infra/go/env.py", |
188 "go", | 180 "go", |
189 "install", | 181 "install", |
190 "github.com/luci/luci-go/client/cmd/..." | 182 "github.com/luci/luci-go/client/cmd/..." |
191 ], | 183 ], |
192 "cwd": "[SLAVE_BUILD]", | |
193 "name": "build luci-go" | 184 "name": "build luci-go" |
194 }, | 185 }, |
195 { | 186 { |
196 "cmd": [ | 187 "cmd": [ |
197 "python", | 188 "python", |
198 "-u", | 189 "-u", |
199 "\nimport json, os, sys\nif os.path.exists(sys.argv[1]) and os.path.isdir(
sys.argv[1]):\n with open(sys.argv[2], 'w') as f:\n json.dump(os.listdir(sys
.argv[1]), f)\n", | 190 "\nimport json, os, sys\nif os.path.exists(sys.argv[1]) and os.path.isdir(
sys.argv[1]):\n with open(sys.argv[2], 'w') as f:\n json.dump(os.listdir(sys
.argv[1]), f)\n", |
200 "[SLAVE_BUILD]/infra/go/bin", | 191 "[CWD]/infra/go/bin", |
201 "/path/to/tmp/json" | 192 "/path/to/tmp/json" |
202 ], | 193 ], |
203 "cwd": "[SLAVE_BUILD]", | |
204 "name": "listdir listing go bin", | 194 "name": "listdir listing go bin", |
205 "~followup_annotations": [ | 195 "~followup_annotations": [ |
206 "@@@STEP_LOG_LINE@json.output@[@@@", | 196 "@@@STEP_LOG_LINE@json.output@[@@@", |
207 "@@@STEP_LOG_LINE@json.output@ \"file 1\", @@@", | 197 "@@@STEP_LOG_LINE@json.output@ \"file 1\", @@@", |
208 "@@@STEP_LOG_LINE@json.output@ \"file 2\"@@@", | 198 "@@@STEP_LOG_LINE@json.output@ \"file 2\"@@@", |
209 "@@@STEP_LOG_LINE@json.output@]@@@", | 199 "@@@STEP_LOG_LINE@json.output@]@@@", |
210 "@@@STEP_LOG_END@json.output@@@", | 200 "@@@STEP_LOG_END@json.output@@@", |
211 "@@@STEP_LOG_LINE@python.inline@@@@", | 201 "@@@STEP_LOG_LINE@python.inline@@@@", |
212 "@@@STEP_LOG_LINE@python.inline@import json, os, sys@@@", | 202 "@@@STEP_LOG_LINE@python.inline@import json, os, sys@@@", |
213 "@@@STEP_LOG_LINE@python.inline@if os.path.exists(sys.argv[1]) and os.path
.isdir(sys.argv[1]):@@@", | 203 "@@@STEP_LOG_LINE@python.inline@if os.path.exists(sys.argv[1]) and os.path
.isdir(sys.argv[1]):@@@", |
214 "@@@STEP_LOG_LINE@python.inline@ with open(sys.argv[2], 'w') as f:@@@", | 204 "@@@STEP_LOG_LINE@python.inline@ with open(sys.argv[2], 'w') as f:@@@", |
215 "@@@STEP_LOG_LINE@python.inline@ json.dump(os.listdir(sys.argv[1]), f)@
@@", | 205 "@@@STEP_LOG_LINE@python.inline@ json.dump(os.listdir(sys.argv[1]), f)@
@@", |
216 "@@@STEP_LOG_END@python.inline@@@" | 206 "@@@STEP_LOG_END@python.inline@@@" |
217 ] | 207 ] |
218 }, | 208 }, |
219 { | 209 { |
220 "cmd": [ | 210 "cmd": [ |
221 "python", | 211 "python", |
222 "-u", | 212 "-u", |
223 "[DEPOT_TOOLS]/upload_to_google_storage.py", | 213 "[ROOT]/b/depot_tools/upload_to_google_storage.py", |
224 "-b", | 214 "-b", |
225 "chromium-luci", | 215 "chromium-luci", |
226 "[SLAVE_BUILD]/infra/go/bin/file 1", | 216 "[CWD]/infra/go/bin/file 1", |
227 "[SLAVE_BUILD]/infra/go/bin/file 2" | 217 "[CWD]/infra/go/bin/file 2" |
228 ], | 218 ], |
229 "cwd": "[SLAVE_BUILD]", | |
230 "name": "upload go bin" | 219 "name": "upload go bin" |
231 }, | 220 }, |
232 { | 221 { |
233 "cmd": [ | 222 "cmd": [ |
234 "python", | 223 "python", |
235 "-u", | 224 "-u", |
236 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", | 225 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", |
237 "[SLAVE_BUILD]/infra/go/bin/file 1.sha1", | 226 "[CWD]/infra/go/bin/file 1.sha1", |
238 "/path/to/tmp/" | 227 "/path/to/tmp/" |
239 ], | 228 ], |
240 "cwd": "[SLAVE_BUILD]", | |
241 "name": "file 1 sha1", | 229 "name": "file 1 sha1", |
242 "~followup_annotations": [ | 230 "~followup_annotations": [ |
243 "@@@STEP_TEXT@0123456789abcdeffedcba987654321012345678@@@" | 231 "@@@STEP_TEXT@0123456789abcdeffedcba987654321012345678@@@" |
244 ] | 232 ] |
245 }, | 233 }, |
246 { | 234 { |
247 "cmd": [ | 235 "cmd": [ |
248 "python", | 236 "python", |
249 "-u", | 237 "-u", |
250 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", | 238 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", |
251 "[SLAVE_BUILD]/infra/go/bin/file 2.sha1", | 239 "[CWD]/infra/go/bin/file 2.sha1", |
252 "/path/to/tmp/" | 240 "/path/to/tmp/" |
253 ], | 241 ], |
254 "cwd": "[SLAVE_BUILD]", | |
255 "name": "file 2 sha1", | 242 "name": "file 2 sha1", |
256 "~followup_annotations": [ | 243 "~followup_annotations": [ |
257 "@@@STEP_TEXT@0123456789abcdeffedcba987654321012345678@@@" | 244 "@@@STEP_TEXT@0123456789abcdeffedcba987654321012345678@@@" |
258 ] | 245 ] |
259 }, | 246 }, |
260 { | 247 { |
261 "name": "$result", | 248 "name": "$result", |
262 "recipe_result": null, | 249 "recipe_result": null, |
263 "status_code": 0 | 250 "status_code": 0 |
264 } | 251 } |
265 ] | 252 ] |
OLD | NEW |