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

Side by Side Diff: scripts/slave/recipes/skia/swarm_compile.expected/Build-Ubuntu-GCC-x86_64-Debug-SwarmingMSAN.json

Issue 1920283002: Modify Skia recipes to allow running XSAN on Swarming. (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/build.git@master
Patch Set: Changes based on code review. Created 4 years, 7 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
1 [ 1 [
2 { 2 {
3 "cmd": [ 3 "cmd": [
4 "python", 4 "python",
5 "-u", 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", 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_CACHE]", 7 "[CUSTOM_/_B_CACHE]",
8 "511" 8 "511"
9 ], 9 ],
10 "name": "makedirs checkout_path", 10 "name": "makedirs checkout_path",
(...skipping 10 matching lines...) Expand all
21 "@@@STEP_LOG_END@python.inline@@@" 21 "@@@STEP_LOG_END@python.inline@@@"
22 ] 22 ]
23 }, 23 },
24 { 24 {
25 "cmd": [ 25 "cmd": [
26 "python", 26 "python",
27 "-u", 27 "-u",
28 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", 28 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py",
29 "config", 29 "config",
30 "--spec", 30 "--spec",
31 "cache_dir = None\nsolutions = [{'deps_file': 'DEPS', 'managed': False, 'n ame': 'skia', 'url': 'https://skia.googlesource.com/skia.git'}]\ntarget_os = ['l lvm']" 31 "cache_dir = None\nsolutions = [{'deps_file': 'DEPS', 'managed': False, 'n ame': 'skia', 'url': 'https://skia.googlesource.com/skia.git'}, {'deps_file': 'D EPS', 'managed': False, 'name': 'src', 'url': 'https://chromium.googlesource.com /chromium/src.git'}]\ntarget_os = ['llvm']"
32 ], 32 ],
33 "cwd": "[CUSTOM_/_B_CACHE]", 33 "cwd": "[CUSTOM_/_B_CACHE]",
34 "env": { 34 "env": {
35 "CHROME_HEADLESS": "1", 35 "CHROME_HEADLESS": "1",
36 "PATH": "[DEPOT_TOOLS]:%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]", 36 "PATH": "[DEPOT_TOOLS]:%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]",
37 "PYTHONPATH": "[BUILD]/scripts" 37 "PYTHONPATH": "[BUILD]/scripts"
38 }, 38 },
39 "name": "gclient setup" 39 "name": "gclient setup"
40 }, 40 },
41 { 41 {
42 "cmd": [ 42 "cmd": [
43 "python", 43 "python",
44 "-u", 44 "-u",
45 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", 45 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py",
46 "sync", 46 "sync",
47 "--nohooks", 47 "--nohooks",
48 "--force", 48 "--force",
49 "--verbose", 49 "--verbose",
50 "--delete_unversioned_trees", 50 "--delete_unversioned_trees",
51 "--revision", 51 "--revision",
52 "skia@abc123", 52 "skia@abc123",
53 "--revision",
54 "src@origin/lkgr",
53 "--output-json", 55 "--output-json",
54 "/path/to/tmp/json" 56 "/path/to/tmp/json"
55 ], 57 ],
56 "cwd": "[CUSTOM_/_B_CACHE]", 58 "cwd": "[CUSTOM_/_B_CACHE]",
57 "env": { 59 "env": {
58 "CHROME_HEADLESS": "1", 60 "CHROME_HEADLESS": "1",
59 "PATH": "[DEPOT_TOOLS]:%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PA CKAGE_REPO[depot_tools]", 61 "PATH": "[DEPOT_TOOLS]:%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PA CKAGE_REPO[depot_tools]",
60 "PYTHONPATH": "[BUILD]/scripts" 62 "PYTHONPATH": "[BUILD]/scripts"
61 }, 63 },
62 "name": "gclient sync", 64 "name": "gclient sync",
63 "~followup_annotations": [ 65 "~followup_annotations": [
64 "@@@STEP_LOG_LINE@json.output@{@@@", 66 "@@@STEP_LOG_LINE@json.output@{@@@",
65 "@@@STEP_LOG_LINE@json.output@ \"solutions\": {@@@", 67 "@@@STEP_LOG_LINE@json.output@ \"solutions\": {@@@",
66 "@@@STEP_LOG_LINE@json.output@ \"skia/\": {@@@", 68 "@@@STEP_LOG_LINE@json.output@ \"skia/\": {@@@",
67 "@@@STEP_LOG_LINE@json.output@ \"revision\": 164710@@@", 69 "@@@STEP_LOG_LINE@json.output@ \"revision\": 164710@@@",
70 "@@@STEP_LOG_LINE@json.output@ }, @@@",
71 "@@@STEP_LOG_LINE@json.output@ \"src/\": {@@@",
72 "@@@STEP_LOG_LINE@json.output@ \"revision\": 170242@@@",
68 "@@@STEP_LOG_LINE@json.output@ }@@@", 73 "@@@STEP_LOG_LINE@json.output@ }@@@",
69 "@@@STEP_LOG_LINE@json.output@ }@@@", 74 "@@@STEP_LOG_LINE@json.output@ }@@@",
70 "@@@STEP_LOG_LINE@json.output@}@@@", 75 "@@@STEP_LOG_LINE@json.output@}@@@",
71 "@@@STEP_LOG_END@json.output@@@", 76 "@@@STEP_LOG_END@json.output@@@",
72 "@@@SET_BUILD_PROPERTY@got_revision@164710@@@" 77 "@@@SET_BUILD_PROPERTY@got_revision@164710@@@"
73 ] 78 ]
74 }, 79 },
75 { 80 {
76 "cmd": [ 81 "cmd": [
77 "python", 82 "python",
78 "-u", 83 "-u",
84 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py",
85 "runhooks"
86 ],
87 "cwd": "[CUSTOM_/_B_CACHE]",
88 "env": {
89 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]"
90 },
91 "name": "gclient runhooks"
92 },
93 {
94 "cmd": [
95 "python",
96 "-u",
79 "[CUSTOM_/_B_CACHE]/skia/tools/buildbot_spec.py", 97 "[CUSTOM_/_B_CACHE]/skia/tools/buildbot_spec.py",
80 "/path/to/tmp/json", 98 "/path/to/tmp/json",
81 "Build-Ubuntu-GCC-x86_64-Release-Valgrind" 99 "Build-Ubuntu-GCC-x86_64-Debug-SwarmingMSAN"
82 ], 100 ],
83 "cwd": "[CUSTOM_/_B_CACHE]/skia", 101 "cwd": "[CUSTOM_/_B_CACHE]/skia",
84 "name": "exec buildbot_spec.py", 102 "name": "exec buildbot_spec.py",
85 "~followup_annotations": [ 103 "~followup_annotations": [
86 "@@@STEP_LOG_LINE@json.output@{@@@", 104 "@@@STEP_LOG_LINE@json.output@{@@@",
87 "@@@STEP_LOG_LINE@json.output@ \"build_targets\": [@@@", 105 "@@@STEP_LOG_LINE@json.output@ \"build_targets\": [@@@",
88 "@@@STEP_LOG_LINE@json.output@ \"most\"@@@", 106 "@@@STEP_LOG_LINE@json.output@ \"dm\", @@@",
107 "@@@STEP_LOG_LINE@json.output@ \"nanobench\"@@@",
89 "@@@STEP_LOG_LINE@json.output@ ], @@@", 108 "@@@STEP_LOG_LINE@json.output@ ], @@@",
90 "@@@STEP_LOG_LINE@json.output@ \"builder_cfg\": {@@@", 109 "@@@STEP_LOG_LINE@json.output@ \"builder_cfg\": {@@@",
91 "@@@STEP_LOG_LINE@json.output@ \"compiler\": \"GCC\", @@@", 110 "@@@STEP_LOG_LINE@json.output@ \"compiler\": \"GCC\", @@@",
92 "@@@STEP_LOG_LINE@json.output@ \"configuration\": \"Release\", @@@", 111 "@@@STEP_LOG_LINE@json.output@ \"configuration\": \"Debug\", @@@",
93 "@@@STEP_LOG_LINE@json.output@ \"extra_config\": \"Valgrind\", @@@", 112 "@@@STEP_LOG_LINE@json.output@ \"extra_config\": \"SwarmingMSAN\", @@@" ,
94 "@@@STEP_LOG_LINE@json.output@ \"is_trybot\": false, @@@", 113 "@@@STEP_LOG_LINE@json.output@ \"is_trybot\": false, @@@",
95 "@@@STEP_LOG_LINE@json.output@ \"os\": \"Ubuntu\", @@@", 114 "@@@STEP_LOG_LINE@json.output@ \"os\": \"Ubuntu\", @@@",
96 "@@@STEP_LOG_LINE@json.output@ \"role\": \"Build\", @@@", 115 "@@@STEP_LOG_LINE@json.output@ \"role\": \"Build\", @@@",
97 "@@@STEP_LOG_LINE@json.output@ \"target_arch\": \"x86_64\"@@@", 116 "@@@STEP_LOG_LINE@json.output@ \"target_arch\": \"x86_64\"@@@",
98 "@@@STEP_LOG_LINE@json.output@ }, @@@", 117 "@@@STEP_LOG_LINE@json.output@ }, @@@",
99 "@@@STEP_LOG_LINE@json.output@ \"configuration\": \"Release\", @@@", 118 "@@@STEP_LOG_LINE@json.output@ \"configuration\": \"Debug\", @@@",
100 "@@@STEP_LOG_LINE@json.output@ \"dm_flags\": [@@@", 119 "@@@STEP_LOG_LINE@json.output@ \"dm_flags\": [@@@",
101 "@@@STEP_LOG_LINE@json.output@ \"--dummy-flags\"@@@", 120 "@@@STEP_LOG_LINE@json.output@ \"--dummy-flags\"@@@",
102 "@@@STEP_LOG_LINE@json.output@ ], @@@", 121 "@@@STEP_LOG_LINE@json.output@ ], @@@",
103 "@@@STEP_LOG_LINE@json.output@ \"do_perf_steps\": false, @@@", 122 "@@@STEP_LOG_LINE@json.output@ \"do_perf_steps\": false, @@@",
104 "@@@STEP_LOG_LINE@json.output@ \"do_test_steps\": false, @@@", 123 "@@@STEP_LOG_LINE@json.output@ \"do_test_steps\": false, @@@",
105 "@@@STEP_LOG_LINE@json.output@ \"env\": {@@@", 124 "@@@STEP_LOG_LINE@json.output@ \"env\": {@@@",
106 "@@@STEP_LOG_LINE@json.output@ \"GYP_DEFINES\": \"skia_arch_type=x86_64 skia_release_optimization_level=1 skia_warnings_as_errors=1\"@@@", 125 "@@@STEP_LOG_LINE@json.output@ \"GYP_DEFINES\": \"skia_arch_type=x86_64 skia_gpu=0 skia_warnings_as_errors=0\"@@@",
107 "@@@STEP_LOG_LINE@json.output@ }, @@@", 126 "@@@STEP_LOG_LINE@json.output@ }, @@@",
108 "@@@STEP_LOG_LINE@json.output@ \"nanobench_flags\": [@@@", 127 "@@@STEP_LOG_LINE@json.output@ \"nanobench_flags\": [@@@",
109 "@@@STEP_LOG_LINE@json.output@ \"--dummy-flags\"@@@", 128 "@@@STEP_LOG_LINE@json.output@ \"--dummy-flags\"@@@",
110 "@@@STEP_LOG_LINE@json.output@ ], @@@", 129 "@@@STEP_LOG_LINE@json.output@ ], @@@",
111 "@@@STEP_LOG_LINE@json.output@ \"upload_dm_results\": false, @@@", 130 "@@@STEP_LOG_LINE@json.output@ \"upload_dm_results\": false, @@@",
112 "@@@STEP_LOG_LINE@json.output@ \"upload_perf_results\": false@@@", 131 "@@@STEP_LOG_LINE@json.output@ \"upload_perf_results\": false@@@",
113 "@@@STEP_LOG_LINE@json.output@}@@@", 132 "@@@STEP_LOG_LINE@json.output@}@@@",
114 "@@@STEP_LOG_END@json.output@@@" 133 "@@@STEP_LOG_END@json.output@@@"
115 ] 134 ]
116 }, 135 },
117 { 136 {
118 "cmd": [ 137 "cmd": [
119 "make", 138 "[CUSTOM_/_B_CACHE]/skia/tools/xsan_build",
120 "most" 139 "memory",
140 "dm"
121 ], 141 ],
122 "cwd": "[CUSTOM_/_B_CACHE]/skia", 142 "cwd": "[CUSTOM_/_B_CACHE]/skia",
123 "env": { 143 "env": {
124 "BUILDTYPE": "Release", 144 "BUILDTYPE": "Debug",
125 "CHROME_HEADLESS": "1", 145 "CHROME_HEADLESS": "1",
126 "CHROME_PATH": "[SLAVE_BUILD]/src", 146 "GYP_DEFINES": "skia_arch_type=x86_64 skia_gpu=0 skia_warnings_as_errors=0 ",
127 "GYP_DEFINES": "skia_arch_type=x86_64 skia_release_optimization_level=1 sk ia_warnings_as_errors=1",
128 "PATH": "[DEPOT_TOOLS]:%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PA CKAGE_REPO[depot_tools]", 147 "PATH": "[DEPOT_TOOLS]:%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PA CKAGE_REPO[depot_tools]",
129 "PYTHONPATH": "[BUILD]/scripts", 148 "PYTHONPATH": "[BUILD]/scripts",
130 "SKIA_OUT": "[CUSTOM_/_B_CACHE]/skia/out/Build-Ubuntu-GCC-x86_64-Release-V algrind" 149 "SKIA_OUT": "[CUSTOM_/_B_CACHE]/skia/out/Build-Ubuntu-GCC-x86_64-Debug-Swa rmingMSAN"
131 }, 150 },
132 "name": "build most" 151 "name": "build dm"
152 },
153 {
154 "cmd": [
155 "[CUSTOM_/_B_CACHE]/skia/tools/xsan_build",
156 "memory",
157 "nanobench"
158 ],
159 "cwd": "[CUSTOM_/_B_CACHE]/skia",
160 "env": {
161 "BUILDTYPE": "Debug",
162 "CHROME_HEADLESS": "1",
163 "GYP_DEFINES": "skia_arch_type=x86_64 skia_gpu=0 skia_warnings_as_errors=0 ",
164 "PATH": "[DEPOT_TOOLS]:%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PA CKAGE_REPO[depot_tools]",
165 "PYTHONPATH": "[BUILD]/scripts",
166 "SKIA_OUT": "[CUSTOM_/_B_CACHE]/skia/out/Build-Ubuntu-GCC-x86_64-Debug-Swa rmingMSAN"
167 },
168 "name": "build nanobench"
133 }, 169 },
134 { 170 {
135 "cmd": [ 171 "cmd": [
136 "python", 172 "python",
137 "-u", 173 "-u",
138 "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']\n\ntry:\n os.makedirs(dst)\nexcept OSError a s 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.isdi r(os.path.dirname(dst_path)):\n os.makedirs(os.path.dirname(dst_path))\n print 'Copying build product %s to %s' % (f, dst_path)\n shutil.move(f, dst_ path)\n", 174 "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']\n\ntry:\n os.makedirs(dst)\nexcept OSError a s 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.isdi r(os.path.dirname(dst_path)):\n os.makedirs(os.path.dirname(dst_path))\n print 'Copying build product %s to %s' % (f, dst_path)\n shutil.move(f, dst_ path)\n",
139 "[CUSTOM_/_B_CACHE]/skia/out/Build-Ubuntu-GCC-x86_64-Release-Valgrind/Rele ase", 175 "[CUSTOM_/_B_CACHE]/skia/out/Build-Ubuntu-GCC-x86_64-Debug-SwarmingMSAN/De bug",
140 "[SWARM_OUT_DIR]/out/Release" 176 "[CUSTOM_[SWARM_OUT_DIR]]/out/Debug"
141 ], 177 ],
142 "name": "copy build products", 178 "name": "copy build products",
143 "~followup_annotations": [ 179 "~followup_annotations": [
144 "@@@STEP_LOG_LINE@python.inline@import errno@@@", 180 "@@@STEP_LOG_LINE@python.inline@import errno@@@",
145 "@@@STEP_LOG_LINE@python.inline@import glob@@@", 181 "@@@STEP_LOG_LINE@python.inline@import glob@@@",
146 "@@@STEP_LOG_LINE@python.inline@import os@@@", 182 "@@@STEP_LOG_LINE@python.inline@import os@@@",
147 "@@@STEP_LOG_LINE@python.inline@import shutil@@@", 183 "@@@STEP_LOG_LINE@python.inline@import shutil@@@",
148 "@@@STEP_LOG_LINE@python.inline@import sys@@@", 184 "@@@STEP_LOG_LINE@python.inline@import sys@@@",
149 "@@@STEP_LOG_LINE@python.inline@@@@", 185 "@@@STEP_LOG_LINE@python.inline@@@@",
150 "@@@STEP_LOG_LINE@python.inline@src = sys.argv[1]@@@", 186 "@@@STEP_LOG_LINE@python.inline@src = sys.argv[1]@@@",
(...skipping 11 matching lines...) Expand all
162 "@@@STEP_LOG_LINE@python.inline@ for f in glob.glob(path):@@@", 198 "@@@STEP_LOG_LINE@python.inline@ for f in glob.glob(path):@@@",
163 "@@@STEP_LOG_LINE@python.inline@ dst_path = os.path.join(dst, os.path.r elpath(f, src))@@@", 199 "@@@STEP_LOG_LINE@python.inline@ dst_path = os.path.join(dst, os.path.r elpath(f, src))@@@",
164 "@@@STEP_LOG_LINE@python.inline@ if not os.path.isdir(os.path.dirname(d st_path)):@@@", 200 "@@@STEP_LOG_LINE@python.inline@ if not os.path.isdir(os.path.dirname(d st_path)):@@@",
165 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(os.path.dirname(dst_path ))@@@", 201 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(os.path.dirname(dst_path ))@@@",
166 "@@@STEP_LOG_LINE@python.inline@ print 'Copying build product %s to %s' % (f, dst_path)@@@", 202 "@@@STEP_LOG_LINE@python.inline@ print 'Copying build product %s to %s' % (f, dst_path)@@@",
167 "@@@STEP_LOG_LINE@python.inline@ shutil.move(f, dst_path)@@@", 203 "@@@STEP_LOG_LINE@python.inline@ shutil.move(f, dst_path)@@@",
168 "@@@STEP_LOG_END@python.inline@@@" 204 "@@@STEP_LOG_END@python.inline@@@"
169 ] 205 ]
170 }, 206 },
171 { 207 {
208 "cmd": [
209 "python",
210 "-u",
211 "\nimport shutil\nimport sys\nshutil.copytree(sys.argv[1], sys.argv[2], sy mlinks=bool(sys.argv[3]))\n",
212 "[CUSTOM_/_B_CACHE]/skia/third_party/externals/llvm/msan_out",
213 "[CUSTOM_[SWARM_OUT_DIR]]/third_party/externals/llvm/msan_out",
214 "1"
215 ],
216 "name": "copy msan_out"
217 },
218 {
219 "cmd": [
220 "python",
221 "-u",
222 "\nimport shutil\nimport sys\nshutil.copytree(sys.argv[1], sys.argv[2], sy mlinks=bool(sys.argv[3]))\n",
223 "[CUSTOM_/_B_CACHE]/src/third_party/llvm-build",
224 "[CUSTOM_[SWARM_OUT_DIR]]/llvm-build",
225 "1"
226 ],
227 "name": "copy llvm-build"
228 },
229 {
172 "name": "$result", 230 "name": "$result",
173 "recipe_result": null, 231 "recipe_result": null,
174 "status_code": 0 232 "status_code": 0
175 } 233 }
176 ] 234 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698