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

Side by Side Diff: infra/bots/recipes/swarm_compile.expected/Build-Ubuntu-GCC-x86_64-Debug-MSAN.json

Issue 2175373002: Move Skia recipes from build repo (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Address more comments 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_/_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_/_B_CACHE]'\nsolutions = [{'deps_file': 'DEPS', 'man aged': False, 'name': 'skia', 'url': 'https://skia.googlesource.com/skia.git'}, {'deps_file': 'DEPS', 'managed': False, 'name': 'src', 'url': 'https://chromium. googlesource.com/chromium/src.git'}]\ntarget_os = ['llvm']"
32 ],
33 "cwd": "[CUSTOM_/_B_WORK]",
34 "env": {
35 "CHROME_HEADLESS": "1",
36 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]"
37 },
38 "name": "gclient setup"
39 },
40 {
41 "cmd": [
42 "python",
43 "-u",
44 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py",
45 "sync",
46 "--nohooks",
47 "--force",
48 "--verbose",
49 "--delete_unversioned_trees",
50 "--revision",
51 "skia@abc123",
52 "--revision",
53 "src@origin/lkgr",
54 "--output-json",
55 "/path/to/tmp/json"
56 ],
57 "cwd": "[CUSTOM_/_B_WORK]",
58 "env": {
59 "CHROME_HEADLESS": "1",
60 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[dep ot_tools]"
61 },
62 "name": "gclient sync",
63 "~followup_annotations": [
64 "@@@STEP_LOG_LINE@json.output@{@@@",
65 "@@@STEP_LOG_LINE@json.output@ \"solutions\": {@@@",
66 "@@@STEP_LOG_LINE@json.output@ \"skia/\": {@@@",
67 "@@@STEP_LOG_LINE@json.output@ \"revision\": 164710@@@",
68 "@@@STEP_LOG_LINE@json.output@ }, @@@",
69 "@@@STEP_LOG_LINE@json.output@ \"src/\": {@@@",
70 "@@@STEP_LOG_LINE@json.output@ \"revision\": 170242@@@",
71 "@@@STEP_LOG_LINE@json.output@ }@@@",
72 "@@@STEP_LOG_LINE@json.output@ }@@@",
73 "@@@STEP_LOG_LINE@json.output@}@@@",
74 "@@@STEP_LOG_END@json.output@@@",
75 "@@@SET_BUILD_PROPERTY@got_revision@164710@@@"
76 ]
77 },
78 {
79 "cmd": [
80 "python",
81 "-u",
82 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py",
83 "runhooks"
84 ],
85 "cwd": "[CUSTOM_/_B_WORK]",
86 "env": {
87 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]"
88 },
89 "name": "gclient runhooks"
90 },
91 {
92 "cmd": [
93 "python",
94 "-u",
95 "[CUSTOM_/_B_WORK]/skia/tools/buildbot_spec.py",
96 "/path/to/tmp/json",
97 "Build-Ubuntu-GCC-x86_64-Debug-MSAN"
98 ],
99 "cwd": "[CUSTOM_/_B_WORK]/skia",
100 "name": "exec buildbot_spec.py",
101 "~followup_annotations": [
102 "@@@STEP_LOG_LINE@json.output@{@@@",
103 "@@@STEP_LOG_LINE@json.output@ \"build_targets\": [@@@",
104 "@@@STEP_LOG_LINE@json.output@ \"dm\", @@@",
105 "@@@STEP_LOG_LINE@json.output@ \"nanobench\"@@@",
106 "@@@STEP_LOG_LINE@json.output@ ], @@@",
107 "@@@STEP_LOG_LINE@json.output@ \"builder_cfg\": {@@@",
108 "@@@STEP_LOG_LINE@json.output@ \"compiler\": \"GCC\", @@@",
109 "@@@STEP_LOG_LINE@json.output@ \"configuration\": \"Debug\", @@@",
110 "@@@STEP_LOG_LINE@json.output@ \"extra_config\": \"MSAN\", @@@",
111 "@@@STEP_LOG_LINE@json.output@ \"is_trybot\": false, @@@",
112 "@@@STEP_LOG_LINE@json.output@ \"os\": \"Ubuntu\", @@@",
113 "@@@STEP_LOG_LINE@json.output@ \"role\": \"Build\", @@@",
114 "@@@STEP_LOG_LINE@json.output@ \"target_arch\": \"x86_64\"@@@",
115 "@@@STEP_LOG_LINE@json.output@ }, @@@",
116 "@@@STEP_LOG_LINE@json.output@ \"configuration\": \"Debug\", @@@",
117 "@@@STEP_LOG_LINE@json.output@ \"dm_flags\": [@@@",
118 "@@@STEP_LOG_LINE@json.output@ \"--dummy-flags\"@@@",
119 "@@@STEP_LOG_LINE@json.output@ ], @@@",
120 "@@@STEP_LOG_LINE@json.output@ \"do_perf_steps\": false, @@@",
121 "@@@STEP_LOG_LINE@json.output@ \"do_test_steps\": false, @@@",
122 "@@@STEP_LOG_LINE@json.output@ \"env\": {@@@",
123 "@@@STEP_LOG_LINE@json.output@ \"GYP_DEFINES\": \"skia_arch_type=x86_64 skia_warnings_as_errors=1\"@@@",
124 "@@@STEP_LOG_LINE@json.output@ }, @@@",
125 "@@@STEP_LOG_LINE@json.output@ \"nanobench_flags\": [@@@",
126 "@@@STEP_LOG_LINE@json.output@ \"--dummy-flags\"@@@",
127 "@@@STEP_LOG_LINE@json.output@ ], @@@",
128 "@@@STEP_LOG_LINE@json.output@ \"upload_dm_results\": false, @@@",
129 "@@@STEP_LOG_LINE@json.output@ \"upload_perf_results\": false@@@",
130 "@@@STEP_LOG_LINE@json.output@}@@@",
131 "@@@STEP_LOG_END@json.output@@@"
132 ]
133 },
134 {
135 "cmd": [
136 "[CUSTOM_/_B_WORK]/skia/tools/xsan_build",
137 "memory",
138 "dm"
139 ],
140 "cwd": "[CUSTOM_/_B_WORK]/skia",
141 "env": {
142 "BUILDTYPE": "Debug",
143 "CHROME_HEADLESS": "1",
144 "GYP_DEFINES": "skia_arch_type=x86_64 skia_warnings_as_errors=1",
145 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[dep ot_tools]",
146 "SKIA_OUT": "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-GCC-x86_64-Debug-MSAN "
147 },
148 "name": "build dm"
149 },
150 {
151 "cmd": [
152 "[CUSTOM_/_B_WORK]/skia/tools/xsan_build",
153 "memory",
154 "nanobench"
155 ],
156 "cwd": "[CUSTOM_/_B_WORK]/skia",
157 "env": {
158 "BUILDTYPE": "Debug",
159 "CHROME_HEADLESS": "1",
160 "GYP_DEFINES": "skia_arch_type=x86_64 skia_warnings_as_errors=1",
161 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[dep ot_tools]",
162 "SKIA_OUT": "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-GCC-x86_64-Debug-MSAN "
163 },
164 "name": "build nanobench"
165 },
166 {
167 "cmd": [
168 "python",
169 "-u",
170 "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",
171 "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-GCC-x86_64-Debug-MSAN/Debug",
172 "[CUSTOM_[SWARM_OUT_DIR]]/out/Debug"
173 ],
174 "name": "copy build products",
175 "~followup_annotations": [
176 "@@@STEP_LOG_LINE@python.inline@import errno@@@",
177 "@@@STEP_LOG_LINE@python.inline@import glob@@@",
178 "@@@STEP_LOG_LINE@python.inline@import os@@@",
179 "@@@STEP_LOG_LINE@python.inline@import shutil@@@",
180 "@@@STEP_LOG_LINE@python.inline@import sys@@@",
181 "@@@STEP_LOG_LINE@python.inline@@@@",
182 "@@@STEP_LOG_LINE@python.inline@src = sys.argv[1]@@@",
183 "@@@STEP_LOG_LINE@python.inline@dst = sys.argv[2]@@@",
184 "@@@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']@@@",
185 "@@@STEP_LOG_LINE@python.inline@@@@",
186 "@@@STEP_LOG_LINE@python.inline@try:@@@",
187 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(dst)@@@",
188 "@@@STEP_LOG_LINE@python.inline@except OSError as e:@@@",
189 "@@@STEP_LOG_LINE@python.inline@ if e.errno != errno.EEXIST:@@@",
190 "@@@STEP_LOG_LINE@python.inline@ raise@@@",
191 "@@@STEP_LOG_LINE@python.inline@@@@",
192 "@@@STEP_LOG_LINE@python.inline@for pattern in build_products_whitelist:@@ @",
193 "@@@STEP_LOG_LINE@python.inline@ path = os.path.join(src, pattern)@@@",
194 "@@@STEP_LOG_LINE@python.inline@ for f in glob.glob(path):@@@",
195 "@@@STEP_LOG_LINE@python.inline@ dst_path = os.path.join(dst, os.path.r elpath(f, src))@@@",
196 "@@@STEP_LOG_LINE@python.inline@ if not os.path.isdir(os.path.dirname(d st_path)):@@@",
197 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(os.path.dirname(dst_path ))@@@",
198 "@@@STEP_LOG_LINE@python.inline@ print 'Copying build product %s to %s' % (f, dst_path)@@@",
199 "@@@STEP_LOG_LINE@python.inline@ shutil.move(f, dst_path)@@@",
200 "@@@STEP_LOG_END@python.inline@@@"
201 ]
202 },
203 {
204 "cmd": [
205 "python",
206 "-u",
207 "\nimport shutil\nimport sys\nshutil.copytree(sys.argv[1], sys.argv[2], sy mlinks=bool(sys.argv[3]))\n",
208 "[CUSTOM_/_B_WORK]/skia/third_party/externals/llvm/msan_out",
209 "[CUSTOM_[SWARM_OUT_DIR]]/third_party/externals/llvm/msan_out",
210 "1"
211 ],
212 "name": "copy msan_out"
213 },
214 {
215 "cmd": [
216 "python",
217 "-u",
218 "\nimport shutil\nimport sys\nshutil.copytree(sys.argv[1], sys.argv[2], sy mlinks=bool(sys.argv[3]))\n",
219 "[CUSTOM_/_B_WORK]/src/third_party/llvm-build",
220 "[CUSTOM_[SWARM_OUT_DIR]]/llvm-build",
221 "1"
222 ],
223 "name": "copy llvm-build"
224 },
225 {
226 "name": "$result",
227 "recipe_result": null,
228 "status_code": 0
229 }
230 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698