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

Side by Side Diff: infra/bots/recipes/swarm_compile.expected/big_issue_number.json

Issue 2175373002: Move Skia recipes from build repo (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Fixes, add simulation test to presubmit Created 4 years, 4 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 "[CUSTOM_C:\\_B_WORK]",
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_PACKAGE_REPO[depot_tools]\\gclient.py",
29 "config",
30 "--spec",
31 "cache_dir = '[CUSTOM_C:\\\\_B_CACHE]'\nsolutions = [{'deps_file': 'DEPS', 'managed': False, 'name': 'skia', 'url': 'https://skia.googlesource.com/skia.gi t'}]\ntarget_os = ['llvm']"
32 ],
33 "cwd": "[CUSTOM_C:\\_B_WORK]",
34 "env": {
35 "CHROME_HEADLESS": "1",
36 "PATH": "%(PATH)s;RECIPE_PACKAGE_REPO[depot_tools]",
37 "PYTHONPATH": "[BUILD]\\scripts"
38 },
39 "name": "gclient setup"
40 },
41 {
42 "cmd": [
43 "python",
44 "-u",
45 "[BUILD]\\scripts\\slave\\gclient_safe_revert.py",
46 ".",
47 "[DEPOT_TOOLS]\\gclient.bat"
48 ],
49 "cwd": "[CUSTOM_C:\\_B_WORK]",
50 "env": {
51 "CHROME_HEADLESS": "1",
52 "PATH": "%(PATH)s;RECIPE_PACKAGE_REPO[depot_tools]",
53 "PYTHONPATH": "[BUILD]\\scripts"
54 },
55 "name": "gclient revert"
56 },
57 {
58 "cmd": [
59 "python",
60 "-u",
61 "RECIPE_PACKAGE_REPO[depot_tools]\\gclient.py",
62 "sync",
63 "--nohooks",
64 "--force",
65 "--verbose",
66 "--delete_unversioned_trees",
67 "--revision",
68 "skia@abc123",
69 "--output-json",
70 "/path/to/tmp/json"
71 ],
72 "cwd": "[CUSTOM_C:\\_B_WORK]",
73 "env": {
74 "CHROME_HEADLESS": "1",
75 "PATH": "%(PATH)s;RECIPE_PACKAGE_REPO[depot_tools];RECIPE_PACKAGE_REPO[dep ot_tools]",
76 "PYTHONPATH": "[BUILD]\\scripts"
77 },
78 "name": "gclient sync",
79 "~followup_annotations": [
80 "@@@STEP_LOG_LINE@json.output@{@@@",
81 "@@@STEP_LOG_LINE@json.output@ \"solutions\": {@@@",
82 "@@@STEP_LOG_LINE@json.output@ \"skia/\": {@@@",
83 "@@@STEP_LOG_LINE@json.output@ \"revision\": 164710@@@",
84 "@@@STEP_LOG_LINE@json.output@ }@@@",
85 "@@@STEP_LOG_LINE@json.output@ }@@@",
86 "@@@STEP_LOG_LINE@json.output@}@@@",
87 "@@@STEP_LOG_END@json.output@@@",
88 "@@@SET_BUILD_PROPERTY@got_revision@164710@@@"
89 ]
90 },
91 {
92 "cmd": [
93 "python",
94 "-u",
95 "[DEPOT_TOOLS]\\apply_issue.py",
96 "-r",
97 "[CUSTOM_C:\\_B_WORK]\\skia",
98 "-i",
99 "2147533002",
100 "-p",
101 "1",
102 "-s",
103 "https://codereview.chromium.org",
104 "--no-auth"
105 ],
106 "name": "apply_issue",
107 "~followup_annotations": [
108 "@@@STEP_LINK@Applied issue 2147533002@https://codereview.chromium.org/214 7533002@@@"
109 ]
110 },
111 {
112 "cmd": [
113 "python",
114 "-u",
115 "[CUSTOM_C:\\_B_WORK]\\skia\\tools\\buildbot_spec.py",
116 "/path/to/tmp/json",
117 "Build-Win-MSVC-x86-Debug"
118 ],
119 "cwd": "[CUSTOM_C:\\_B_WORK]\\skia",
120 "name": "exec buildbot_spec.py",
121 "~followup_annotations": [
122 "@@@STEP_LOG_LINE@json.output@{@@@",
123 "@@@STEP_LOG_LINE@json.output@ \"build_targets\": [@@@",
124 "@@@STEP_LOG_LINE@json.output@ \"most\"@@@",
125 "@@@STEP_LOG_LINE@json.output@ ], @@@",
126 "@@@STEP_LOG_LINE@json.output@ \"builder_cfg\": {@@@",
127 "@@@STEP_LOG_LINE@json.output@ \"compiler\": \"MSVC\", @@@",
128 "@@@STEP_LOG_LINE@json.output@ \"configuration\": \"Debug\", @@@",
129 "@@@STEP_LOG_LINE@json.output@ \"is_trybot\": false, @@@",
130 "@@@STEP_LOG_LINE@json.output@ \"os\": \"Win\", @@@",
131 "@@@STEP_LOG_LINE@json.output@ \"role\": \"Build\", @@@",
132 "@@@STEP_LOG_LINE@json.output@ \"target_arch\": \"x86\"@@@",
133 "@@@STEP_LOG_LINE@json.output@ }, @@@",
134 "@@@STEP_LOG_LINE@json.output@ \"configuration\": \"Debug\", @@@",
135 "@@@STEP_LOG_LINE@json.output@ \"dm_flags\": [@@@",
136 "@@@STEP_LOG_LINE@json.output@ \"--dummy-flags\"@@@",
137 "@@@STEP_LOG_LINE@json.output@ ], @@@",
138 "@@@STEP_LOG_LINE@json.output@ \"do_perf_steps\": false, @@@",
139 "@@@STEP_LOG_LINE@json.output@ \"do_test_steps\": false, @@@",
140 "@@@STEP_LOG_LINE@json.output@ \"env\": {@@@",
141 "@@@STEP_LOG_LINE@json.output@ \"GYP_DEFINES\": \"qt_sdk=C:/Qt/4.8.5/ s kia_arch_type=x86 skia_warnings_as_errors=1 skia_win_debuggers_path=c:/DbgHelp s kia_win_ltcg=0\"@@@",
142 "@@@STEP_LOG_LINE@json.output@ }, @@@",
143 "@@@STEP_LOG_LINE@json.output@ \"nanobench_flags\": [@@@",
144 "@@@STEP_LOG_LINE@json.output@ \"--dummy-flags\"@@@",
145 "@@@STEP_LOG_LINE@json.output@ ], @@@",
146 "@@@STEP_LOG_LINE@json.output@ \"upload_dm_results\": true, @@@",
147 "@@@STEP_LOG_LINE@json.output@ \"upload_perf_results\": false@@@",
148 "@@@STEP_LOG_LINE@json.output@}@@@",
149 "@@@STEP_LOG_END@json.output@@@"
150 ]
151 },
152 {
153 "cmd": [
154 "python",
155 "-u",
156 "[CUSTOM_C:\\_B_WORK]\\skia\\infra\\bots\\bootstrap_win_toolchain_json.py" ,
157 "--win_toolchain_json",
158 "[SLAVE_BUILD]\\src\\build\\win_toolchain.json",
159 "--depot_tools_parent_dir",
160 "[SLAVE_BUILD]"
161 ],
162 "name": "bootstrap win toolchain"
163 },
164 {
165 "cmd": [
166 "python",
167 "make.py",
168 "most"
169 ],
170 "cwd": "[CUSTOM_C:\\_B_WORK]\\skia",
171 "env": {
172 "BUILDTYPE": "Debug",
173 "CHROME_HEADLESS": "1",
174 "CHROME_PATH": "[SLAVE_BUILD]\\src",
175 "GYP_DEFINES": "qt_sdk=C:/Qt/4.8.5/ skia_arch_type=x86 skia_warnings_as_er rors=1 skia_win_debuggers_path=c:/DbgHelp skia_win_ltcg=0",
176 "PATH": "%(PATH)s;RECIPE_PACKAGE_REPO[depot_tools];RECIPE_PACKAGE_REPO[dep ot_tools]",
177 "PYTHONPATH": "[BUILD]\\scripts",
178 "SKIA_OUT": "[CUSTOM_C:\\_B_WORK]\\skia\\out\\Build-Win-MSVC-x86-Debug"
179 },
180 "name": "build most"
181 },
182 {
183 "cmd": [
184 "python",
185 "-u",
186 "import errno\nimport glob\nimport os\nimport shutil\nimport sys\n\nsrc = sys.argv[1]\ndst = sys.argv[2]\nbuild_products_whitelist = ['dm', 'dm.exe', 'nan obench', 'nanobench.exe', '*.so', '*.dll', '*.dylib', 'skia_launcher', 'lib/*.so ', 'iOSShell.app', 'iOSShell.ipa', 'visualbench', 'visualbench.exe']\n\ntry:\n os.makedirs(dst)\nexcept OSError as e:\n if e.errno != errno.EEXIST:\n raise \n\nfor pattern in build_products_whitelist:\n path = os.path.join(src, pattern )\n for f in glob.glob(path):\n dst_path = os.path.join(dst, os.path.relpath (f, src))\n if not os.path.isdir(os.path.dirname(dst_path)):\n os.makedi rs(os.path.dirname(dst_path))\n print 'Copying build product %s to %s' % (f, dst_path)\n shutil.move(f, dst_path)\n",
187 "[CUSTOM_C:\\_B_WORK]\\skia\\out\\Build-Win-MSVC-x86-Debug\\Debug",
188 "[CUSTOM_[SWARM_OUT_DIR]]\\out\\Debug"
189 ],
190 "name": "copy build products",
191 "~followup_annotations": [
192 "@@@STEP_LOG_LINE@python.inline@import errno@@@",
193 "@@@STEP_LOG_LINE@python.inline@import glob@@@",
194 "@@@STEP_LOG_LINE@python.inline@import os@@@",
195 "@@@STEP_LOG_LINE@python.inline@import shutil@@@",
196 "@@@STEP_LOG_LINE@python.inline@import sys@@@",
197 "@@@STEP_LOG_LINE@python.inline@@@@",
198 "@@@STEP_LOG_LINE@python.inline@src = sys.argv[1]@@@",
199 "@@@STEP_LOG_LINE@python.inline@dst = sys.argv[2]@@@",
200 "@@@STEP_LOG_LINE@python.inline@build_products_whitelist = ['dm', 'dm.exe' , 'nanobench', 'nanobench.exe', '*.so', '*.dll', '*.dylib', 'skia_launcher', 'li b/*.so', 'iOSShell.app', 'iOSShell.ipa', 'visualbench', 'visualbench.exe']@@@",
201 "@@@STEP_LOG_LINE@python.inline@@@@",
202 "@@@STEP_LOG_LINE@python.inline@try:@@@",
203 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(dst)@@@",
204 "@@@STEP_LOG_LINE@python.inline@except OSError as e:@@@",
205 "@@@STEP_LOG_LINE@python.inline@ if e.errno != errno.EEXIST:@@@",
206 "@@@STEP_LOG_LINE@python.inline@ raise@@@",
207 "@@@STEP_LOG_LINE@python.inline@@@@",
208 "@@@STEP_LOG_LINE@python.inline@for pattern in build_products_whitelist:@@ @",
209 "@@@STEP_LOG_LINE@python.inline@ path = os.path.join(src, pattern)@@@",
210 "@@@STEP_LOG_LINE@python.inline@ for f in glob.glob(path):@@@",
211 "@@@STEP_LOG_LINE@python.inline@ dst_path = os.path.join(dst, os.path.r elpath(f, src))@@@",
212 "@@@STEP_LOG_LINE@python.inline@ if not os.path.isdir(os.path.dirname(d st_path)):@@@",
213 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(os.path.dirname(dst_path ))@@@",
214 "@@@STEP_LOG_LINE@python.inline@ print 'Copying build product %s to %s' % (f, dst_path)@@@",
215 "@@@STEP_LOG_LINE@python.inline@ shutil.move(f, dst_path)@@@",
216 "@@@STEP_LOG_END@python.inline@@@"
217 ]
218 },
219 {
220 "cmd": [
221 "python",
222 "-u",
223 "import psutil\nfor p in psutil.process_iter():\n try:\n if p.name in ('mspdbsrv.exe', 'vctip.exe', 'cl.exe', 'link.exe'):\n p.kill()\n except p sutil._error.AccessDenied:\n pass\n"
224 ],
225 "name": "cleanup",
226 "~followup_annotations": [
227 "@@@STEP_LOG_LINE@python.inline@import psutil@@@",
228 "@@@STEP_LOG_LINE@python.inline@for p in psutil.process_iter():@@@",
229 "@@@STEP_LOG_LINE@python.inline@ try:@@@",
230 "@@@STEP_LOG_LINE@python.inline@ if p.name in ('mspdbsrv.exe', 'vctip.e xe', 'cl.exe', 'link.exe'):@@@",
231 "@@@STEP_LOG_LINE@python.inline@ p.kill()@@@",
232 "@@@STEP_LOG_LINE@python.inline@ except psutil._error.AccessDenied:@@@",
233 "@@@STEP_LOG_LINE@python.inline@ pass@@@",
234 "@@@STEP_LOG_END@python.inline@@@"
235 ]
236 },
237 {
238 "name": "$result",
239 "recipe_result": null,
240 "status_code": 0
241 }
242 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698