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

Side by Side Diff: infra/recipes/chromium.expected/tester.json

Issue 2163223002: Add basic chromium recipe (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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
OLDNEW
(Empty)
1 [
2 {
3 "cmd": [
4 "python",
5 "-u",
6 "\nimport sys, os\npath = sys.argv[1]\nmode = int(sys.argv[2])\nif not os. path.isdir(path):\n if os.path.exists(path):\n print \"%s exists but is not a dir\" % path\n sys.exit(1)\n os.makedirs(path, mode)\n",
7 "[BUILDER_CACHE]/Linux_remote_run_Tester",
8 "511"
9 ],
10 "name": "makedirs checkout path",
11 "~followup_annotations": [
12 "@@@STEP_LOG_LINE@python.inline@@@@",
13 "@@@STEP_LOG_LINE@python.inline@import sys, os@@@",
14 "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@",
15 "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@",
16 "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@",
17 "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@",
18 "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" % path@@@",
19 "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@",
20 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@",
21 "@@@STEP_LOG_END@python.inline@@@"
22 ]
23 },
24 {
25 "cmd": [
26 "python",
27 "-u",
28 "RECIPE_MODULE[depot_tools::bot_update]/resources/bot_update.py",
29 "--master",
30 "chromium.fyi",
31 "--builder",
32 "Linux remote_run Tester",
33 "--slave",
34 "TestSlavename",
35 "--spec",
36 "cache_dir = '[GIT_CACHE]'\nsolutions = [{'custom_vars': {'googlecode_url' : 'svn://svn-mirror.golo.chromium.org/%s', 'nacl_trunk': 'svn://svn-mirror.golo. chromium.org/native_client/trunk', 'sourceforge_url': 'svn://svn-mirror.golo.chr omium.org/%(repo)s', 'webkit_trunk': 'svn://svn-mirror.golo.chromium.org/blink/t runk'}, 'deps_file': 'DEPS', 'managed': True, 'name': 'src', 'url': 'svn://svn-m irror.golo.chromium.org/chrome/trunk/src'}]",
37 "--root",
38 "src",
39 "--revision_mapping_file",
40 "{\"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\"}",
41 "--git-cache-dir",
42 "[GIT_CACHE]",
43 "--output_json",
44 "/path/to/tmp/json",
45 "--revision",
46 "src@HEAD",
47 "--force",
48 "--output_manifest"
49 ],
50 "cwd": "[BUILDER_CACHE]/Linux_remote_run_Tester",
51 "env": {
52 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]"
53 },
54 "name": "bot_update",
55 "~followup_annotations": [
56 "@@@STEP_TEXT@Some step text@@@",
57 "@@@STEP_LOG_LINE@json.output@{@@@",
58 "@@@STEP_LOG_LINE@json.output@ \"did_run\": true, @@@",
59 "@@@STEP_LOG_LINE@json.output@ \"fixed_revisions\": {@@@",
60 "@@@STEP_LOG_LINE@json.output@ \"src\": \"HEAD\"@@@",
61 "@@@STEP_LOG_LINE@json.output@ }, @@@",
62 "@@@STEP_LOG_LINE@json.output@ \"manifest\": {@@@",
63 "@@@STEP_LOG_LINE@json.output@ \"src\": {@@@",
64 "@@@STEP_LOG_LINE@json.output@ \"repository\": \"https://fake.org/src .git\", @@@",
65 "@@@STEP_LOG_LINE@json.output@ \"revision\": \"f27fede2220bcd326aee3e 86ddfd4ebd0fe58cb9\"@@@",
66 "@@@STEP_LOG_LINE@json.output@ }, @@@",
67 "@@@STEP_LOG_LINE@json.output@ \"src/buildtools\": {@@@",
68 "@@@STEP_LOG_LINE@json.output@ \"repository\": \"https://fake.org/src /buildtools.git\", @@@",
69 "@@@STEP_LOG_LINE@json.output@ \"revision\": \"f0319a328b280987691635 3cb994259692140934\"@@@",
70 "@@@STEP_LOG_LINE@json.output@ }, @@@",
71 "@@@STEP_LOG_LINE@json.output@ \"src/native_client\": {@@@",
72 "@@@STEP_LOG_LINE@json.output@ \"repository\": \"https://fake.org/src /native_client.git\", @@@",
73 "@@@STEP_LOG_LINE@json.output@ \"revision\": \"d998e125e8253980d76e26 9b7982aeeefc1b9b50\"@@@",
74 "@@@STEP_LOG_LINE@json.output@ }, @@@",
75 "@@@STEP_LOG_LINE@json.output@ \"src/third_party/angle\": {@@@",
76 "@@@STEP_LOG_LINE@json.output@ \"repository\": \"https://fake.org/src /third_party/angle.git\", @@@",
77 "@@@STEP_LOG_LINE@json.output@ \"revision\": \"fac9503c46405f77757b9a 728eb85b8d7bc6080c\"@@@",
78 "@@@STEP_LOG_LINE@json.output@ }, @@@",
79 "@@@STEP_LOG_LINE@json.output@ \"src/third_party/webrtc\": {@@@",
80 "@@@STEP_LOG_LINE@json.output@ \"repository\": \"https://fake.org/src /third_party/webrtc.git\", @@@",
81 "@@@STEP_LOG_LINE@json.output@ \"revision\": \"0f90628433546e61d92685 96da93418c623137f4\"@@@",
82 "@@@STEP_LOG_LINE@json.output@ }, @@@",
83 "@@@STEP_LOG_LINE@json.output@ \"src/tools/swarming_client\": {@@@",
84 "@@@STEP_LOG_LINE@json.output@ \"repository\": \"https://fake.org/src /tools/swarming_client.git\", @@@",
85 "@@@STEP_LOG_LINE@json.output@ \"revision\": \"a0ee5d99f1d4b38ddaa4c7 59c837980b63b99566\"@@@",
86 "@@@STEP_LOG_LINE@json.output@ }, @@@",
87 "@@@STEP_LOG_LINE@json.output@ \"src/v8\": {@@@",
88 "@@@STEP_LOG_LINE@json.output@ \"repository\": \"https://fake.org/src /v8.git\", @@@",
89 "@@@STEP_LOG_LINE@json.output@ \"revision\": \"801ada225ddc271c132c3a 35f03975671d43e399\"@@@",
90 "@@@STEP_LOG_LINE@json.output@ }@@@",
91 "@@@STEP_LOG_LINE@json.output@ }, @@@",
92 "@@@STEP_LOG_LINE@json.output@ \"patch_failure\": false, @@@",
93 "@@@STEP_LOG_LINE@json.output@ \"patch_root\": \"src\", @@@",
94 "@@@STEP_LOG_LINE@json.output@ \"properties\": {@@@",
95 "@@@STEP_LOG_LINE@json.output@ \"got_angle_revision\": \"fac9503c46405f 77757b9a728eb85b8d7bc6080c\", @@@",
96 "@@@STEP_LOG_LINE@json.output@ \"got_angle_revision_cp\": \"refs/heads/ master@{#297276}\", @@@",
97 "@@@STEP_LOG_LINE@json.output@ \"got_buildtools_revision\": \"f0319a328 b2809876916353cb994259692140934\", @@@",
98 "@@@STEP_LOG_LINE@json.output@ \"got_buildtools_revision_cp\": \"refs/h eads/master@{#182578}\", @@@",
99 "@@@STEP_LOG_LINE@json.output@ \"got_nacl_revision\": \"d998e125e825398 0d76e269b7982aeeefc1b9b50\", @@@",
100 "@@@STEP_LOG_LINE@json.output@ \"got_nacl_revision_cp\": \"refs/heads/m aster@{#274981}\", @@@",
101 "@@@STEP_LOG_LINE@json.output@ \"got_revision\": \"f27fede2220bcd326aee 3e86ddfd4ebd0fe58cb9\", @@@",
102 "@@@STEP_LOG_LINE@json.output@ \"got_revision_cp\": \"refs/heads/master @{#170242}\", @@@",
103 "@@@STEP_LOG_LINE@json.output@ \"got_swarming_client_revision\": \"a0ee 5d99f1d4b38ddaa4c759c837980b63b99566\", @@@",
104 "@@@STEP_LOG_LINE@json.output@ \"got_swarming_client_revision_cp\": \"r efs/heads/master@{#276089}\", @@@",
105 "@@@STEP_LOG_LINE@json.output@ \"got_v8_revision\": \"801ada225ddc271c1 32c3a35f03975671d43e399\", @@@",
106 "@@@STEP_LOG_LINE@json.output@ \"got_v8_revision_cp\": \"refs/heads/mas ter@{#43426}\", @@@",
107 "@@@STEP_LOG_LINE@json.output@ \"got_webrtc_revision\": \"0f90628433546 e61d9268596da93418c623137f4\", @@@",
108 "@@@STEP_LOG_LINE@json.output@ \"got_webrtc_revision_cp\": \"refs/heads /master@{#120644}\"@@@",
109 "@@@STEP_LOG_LINE@json.output@ }, @@@",
110 "@@@STEP_LOG_LINE@json.output@ \"root\": \"src\", @@@",
111 "@@@STEP_LOG_LINE@json.output@ \"step_text\": \"Some step text\"@@@",
112 "@@@STEP_LOG_LINE@json.output@}@@@",
113 "@@@STEP_LOG_END@json.output@@@",
114 "@@@SET_BUILD_PROPERTY@got_nacl_revision@\"d998e125e8253980d76e269b7982aee efc1b9b50\"@@@",
115 "@@@SET_BUILD_PROPERTY@got_swarming_client_revision@\"a0ee5d99f1d4b38ddaa4 c759c837980b63b99566\"@@@",
116 "@@@SET_BUILD_PROPERTY@got_buildtools_revision_cp@\"refs/heads/master@{#18 2578}\"@@@",
117 "@@@SET_BUILD_PROPERTY@got_webrtc_revision@\"0f90628433546e61d9268596da934 18c623137f4\"@@@",
118 "@@@SET_BUILD_PROPERTY@got_revision@\"f27fede2220bcd326aee3e86ddfd4ebd0fe5 8cb9\"@@@",
119 "@@@SET_BUILD_PROPERTY@got_nacl_revision_cp@\"refs/heads/master@{#274981}\ "@@@",
120 "@@@SET_BUILD_PROPERTY@got_angle_revision@\"fac9503c46405f77757b9a728eb85b 8d7bc6080c\"@@@",
121 "@@@SET_BUILD_PROPERTY@got_v8_revision@\"801ada225ddc271c132c3a35f03975671 d43e399\"@@@",
122 "@@@SET_BUILD_PROPERTY@got_v8_revision_cp@\"refs/heads/master@{#43426}\"@@ @",
123 "@@@SET_BUILD_PROPERTY@got_swarming_client_revision_cp@\"refs/heads/master @{#276089}\"@@@",
124 "@@@SET_BUILD_PROPERTY@got_webrtc_revision_cp@\"refs/heads/master@{#120644 }\"@@@",
125 "@@@SET_BUILD_PROPERTY@got_revision_cp@\"refs/heads/master@{#170242}\"@@@" ,
126 "@@@SET_BUILD_PROPERTY@got_angle_revision_cp@\"refs/heads/master@{#297276} \"@@@",
127 "@@@SET_BUILD_PROPERTY@got_buildtools_revision@\"f0319a328b2809876916353cb 994259692140934\"@@@"
128 ]
129 },
130 {
131 "cmd": [],
132 "name": "ensure_goma"
133 },
134 {
135 "cmd": [
136 "python",
137 "-u",
138 "RECIPE_MODULE[build::cipd]/resources/bootstrap.py",
139 "--platform",
140 "linux-amd64",
141 "--dest-directory",
142 "[SLAVE_BUILD]/cipd",
143 "--json-output",
144 "/path/to/tmp/json"
145 ],
146 "name": "ensure_goma.install cipd",
147 "~followup_annotations": [
148 "@@@STEP_NEST_LEVEL@1@@@",
149 "@@@STEP_TEXT@cipd instance_id: 40-chars-fake-of-the-package-instance_id@@ @",
150 "@@@STEP_LOG_LINE@json.output@{@@@",
151 "@@@STEP_LOG_LINE@json.output@ \"executable\": \"[SLAVE_BUILD]/cipd/cipd\ ", @@@",
152 "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"40-chars-fake-of-the-pa ckage-instance_id\"@@@",
153 "@@@STEP_LOG_LINE@json.output@}@@@",
154 "@@@STEP_LOG_END@json.output@@@"
155 ]
156 },
157 {
158 "cmd": [
159 "[SLAVE_BUILD]/cipd/cipd",
160 "ensure",
161 "--root",
162 "[CACHE]/cipd/goma",
163 "--list",
164 "infra_internal/goma/client/linux-amd64 release",
165 "--json-output",
166 "/path/to/tmp/json",
167 "--service-account-json",
168 "/creds/service_accounts/service-account-goma-client.json"
169 ],
170 "name": "ensure_goma.ensure_installed",
171 "~followup_annotations": [
172 "@@@STEP_NEST_LEVEL@1@@@",
173 "@@@STEP_LOG_LINE@json.output@{@@@",
174 "@@@STEP_LOG_LINE@json.output@ \"result\": [@@@",
175 "@@@STEP_LOG_LINE@json.output@ {@@@",
176 "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"resolved-instance_i d-of-release---------\", @@@",
177 "@@@STEP_LOG_LINE@json.output@ \"package\": \"infra_internal/goma/cli ent/linux-amd64\"@@@",
178 "@@@STEP_LOG_LINE@json.output@ }@@@",
179 "@@@STEP_LOG_LINE@json.output@ ]@@@",
180 "@@@STEP_LOG_LINE@json.output@}@@@",
181 "@@@STEP_LOG_END@json.output@@@"
182 ]
183 },
184 {
185 "cmd": [
186 "python",
187 "-u",
188 "[BUILDER_CACHE]/Linux_remote_run_Tester/src/tools/swarming_client/swarmin g.py",
189 "--version"
190 ],
191 "name": "swarming.py --version",
192 "stdout": "/path/to/tmp/",
193 "~followup_annotations": [
194 "@@@STEP_TEXT@0.8.6@@@"
195 ]
196 },
197 {
198 "cmd": [
199 "python",
200 "-u",
201 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py",
202 "runhooks"
203 ],
204 "cwd": "[BUILDER_CACHE]/Linux_remote_run_Tester/src",
205 "env": {
206 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json",
207 "GYP_CHROMIUM_NO_ACTION": "1",
208 "GYP_DEFINES": "archive_gpu_tests=1 component=static_library ffmpeg_brandi ng=Chrome gomadir='[CACHE]/cipd/goma' proprietary_codecs=1 target_arch=x64 test_ isolation_mode=prepare use_goma=1",
209 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]"
210 },
211 "name": "gclient runhooks"
212 },
213 {
214 "cmd": [
215 "python",
216 "-u",
217 "[BUILDER_CACHE]/Linux_remote_run_Tester/src/testing/scripts/get_compile_t argets.py",
218 "--output",
219 "/path/to/tmp/json",
220 "--",
221 "--build-config-fs",
222 "Release",
223 "--paths",
224 "{\"checkout\": \"[BUILDER_CACHE]/Linux_remote_run_Tester/src\", \"runit.p y\": \"RECIPE_PACKAGE_REPO[build]/scripts/tools/runit.py\", \"runtest.py\": \"RE CIPE_PACKAGE_REPO[build]/scripts/slave/runtest.py\"}",
225 "--properties",
226 "{\"buildername\": \"Linux remote_run Tester\", \"buildnumber\": 571, \"ma stername\": \"chromium.fyi\", \"slavename\": \"TestSlavename\", \"target_platfor m\": \"linux\"}"
227 ],
228 "name": "get compile targets for scripts",
229 "~followup_annotations": [
230 "@@@STEP_LOG_LINE@json.output@{}@@@",
231 "@@@STEP_LOG_END@json.output@@@"
232 ]
233 },
234 {
235 "cmd": [
236 "python",
237 "-u",
238 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
239 "[BUILDER_CACHE]/Linux_remote_run_Tester/src/testing/buildbot/chromium.fyi .json",
240 "/path/to/tmp/json"
241 ],
242 "name": "read test spec (chromium.fyi.json)",
243 "~followup_annotations": [
244 "@@@STEP_TEXT@path: [BUILDER_CACHE]/Linux_remote_run_Tester/src/testing/bu ildbot/chromium.fyi.json@@@",
245 "@@@STEP_LOG_LINE@json.output@{}@@@",
246 "@@@STEP_LOG_END@json.output@@@"
247 ]
248 },
249 {
250 "cmd": [
251 "python",
252 "-u",
253 "RECIPE_PACKAGE_REPO[build]/scripts/tools/runit.py",
254 "--show-path",
255 "python",
256 "RECIPE_PACKAGE_REPO[build]/scripts/slave/cleanup_temp.py"
257 ],
258 "name": "cleanup_temp"
259 },
260 {
261 "cmd": [
262 "python",
263 "-u",
264 "\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",
265 "[BUILDER_CACHE]/Linux_remote_run_Tester/src/out/Release"
266 ],
267 "name": "rmtree build directory",
268 "~followup_annotations": [
269 "@@@STEP_LOG_LINE@python.inline@@@@",
270 "@@@STEP_LOG_LINE@python.inline@import os, sys@@@",
271 "@@@STEP_LOG_LINE@python.inline@from common import chromium_utils # Error? See https://crbug.com/584783.@@@",
272 "@@@STEP_LOG_LINE@python.inline@@@@",
273 "@@@STEP_LOG_LINE@python.inline@@@@",
274 "@@@STEP_LOG_LINE@python.inline@if os.path.exists(sys.argv[1]):@@@",
275 "@@@STEP_LOG_LINE@python.inline@ chromium_utils.RemoveDirectory(sys.argv[ 1])@@@",
276 "@@@STEP_LOG_END@python.inline@@@"
277 ]
278 },
279 {
280 "cmd": [
281 "python",
282 "-u",
283 "RECIPE_PACKAGE_REPO[build]/scripts/tools/runit.py",
284 "--show-path",
285 "python",
286 "RECIPE_PACKAGE_REPO[build]/scripts/slave/extract_build.py",
287 "--gsutil-py-path",
288 "RECIPE_PACKAGE_REPO[depot_tools]/gsutil.py",
289 "--target",
290 "Release",
291 "--src-dir",
292 "[BUILDER_CACHE]/Linux_remote_run_Tester/src",
293 "--build-url",
294 "gs://chromium-fyi-archive/chromium.fyi/Linux remote_run Builder/full-buil d-linux.zip",
295 "--build_revision",
296 "f27fede2220bcd326aee3e86ddfd4ebd0fe58cb9",
297 "--master-name",
298 "chromium.fyi",
299 "--build-number",
300 "571"
301 ],
302 "name": "extract build"
303 },
304 {
305 "allow_subannotations": true,
306 "cmd": [
307 "python",
308 "-u",
309 "RECIPE_PACKAGE_REPO[build]/scripts/slave/runtest.py",
310 "--target",
311 "Release",
312 "--xvfb",
313 "--factory-properties",
314 "{\"blamelist\": [\"cool_dev1337@chromium.org\", \"hax@chromium.org\"], \" buildername\": \"Linux remote_run Tester\", \"buildnumber\": 571, \"mastername\" : \"chromium.fyi\", \"parent_buildername\": \"Linux remote_run Builder\", \"path _config\": \"kitchen\", \"recipe\": \"chromium\", \"slavename\": \"TestSlavename \", \"workdir\": \"/path/to/workdir/TestSlavename\"}",
315 "--build-properties",
316 "{\"blamelist\": [\"cool_dev1337@chromium.org\", \"hax@chromium.org\"], \" buildername\": \"Linux remote_run Tester\", \"buildnumber\": 571, \"mastername\" : \"chromium.fyi\", \"parent_buildername\": \"Linux remote_run Builder\", \"path _config\": \"kitchen\", \"recipe\": \"chromium\", \"slavename\": \"TestSlavename \", \"workdir\": \"/path/to/workdir/TestSlavename\"}",
317 "--annotate=gtest",
318 "--test-type=base_unittests",
319 "--step-name=base_unittests",
320 "--test-launcher-summary-output",
321 "/path/to/tmp/json",
322 "--builder-name=Linux remote_run Tester",
323 "--slave-name=TestSlavename",
324 "--build-number=571",
325 "base_unittests"
326 ],
327 "cwd": "[BUILDER_CACHE]/Linux_remote_run_Tester",
328 "env": {
329 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json"
330 },
331 "name": "base_unittests"
332 },
333 {
334 "name": "$result",
335 "recipe_result": null,
336 "status_code": 0
337 }
338 ]
OLDNEW
« no previous file with comments | « infra/recipes/chromium.expected/builder.json ('k') | tools/copyright_scanner/third_party_files_whitelist.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698