blob: e91667a76ec338df22e229d8aa25455266228126 [file] [log] [blame]
Eric Boren7e97dc02017-02-02 09:02:37 -05001[
2 {
3 "cmd": [
4 "python",
5 "-u",
6 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
7 "[START_DIR]\\skia\\infra\\bots\\assets\\skp\\VERSION",
8 "/path/to/tmp/"
9 ],
Eric Borena1590852017-03-20 12:48:31 -040010 "infra_step": true,
Eric Boren7e97dc02017-02-02 09:02:37 -050011 "name": "Get downloaded SKP VERSION"
12 },
13 {
14 "cmd": [
15 "python",
16 "-u",
17 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
18 "42",
19 "[START_DIR]\\tmp\\SKP_VERSION"
20 ],
Eric Borena1590852017-03-20 12:48:31 -040021 "infra_step": true,
Eric Boren7e97dc02017-02-02 09:02:37 -050022 "name": "write SKP_VERSION"
23 },
24 {
25 "cmd": [
26 "python",
27 "-u",
28 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
29 "[START_DIR]\\skia\\infra\\bots\\assets\\skimage\\VERSION",
30 "/path/to/tmp/"
31 ],
Eric Borena1590852017-03-20 12:48:31 -040032 "infra_step": true,
Eric Boren7e97dc02017-02-02 09:02:37 -050033 "name": "Get downloaded skimage VERSION"
34 },
35 {
36 "cmd": [
37 "python",
38 "-u",
39 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
40 "42",
41 "[START_DIR]\\tmp\\SK_IMAGE_VERSION"
42 ],
Eric Borena1590852017-03-20 12:48:31 -040043 "infra_step": true,
Eric Boren7e97dc02017-02-02 09:02:37 -050044 "name": "write SK_IMAGE_VERSION"
45 },
46 {
47 "cmd": [
48 "python",
49 "-u",
50 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
51 "[START_DIR]\\skia\\infra\\bots\\assets\\svg\\VERSION",
52 "/path/to/tmp/"
53 ],
Eric Borena1590852017-03-20 12:48:31 -040054 "infra_step": true,
Eric Boren7e97dc02017-02-02 09:02:37 -050055 "name": "Get downloaded SVG VERSION"
56 },
57 {
58 "cmd": [
59 "python",
60 "-u",
61 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
62 "42",
63 "[START_DIR]\\tmp\\SVG_VERSION"
64 ],
Eric Borena1590852017-03-20 12:48:31 -040065 "infra_step": true,
Eric Boren7e97dc02017-02-02 09:02:37 -050066 "name": "write SVG_VERSION"
67 },
68 {
69 "cmd": [
70 "python",
71 "-u",
Eric Boren5128bd42017-03-06 08:06:16 -050072 "RECIPE_MODULE[build::file]\\resources\\fileutil.py",
73 "rmtree",
Eric Boren7e97dc02017-02-02 09:02:37 -050074 "[CUSTOM_[SWARM_OUT_DIR]]\\perfdata\\Perf-Win8-MSVC-ShuttleB-GPU-HD4600-x86_64-Release-Trybot\\data"
75 ],
76 "env": {
77 "PYTHONPATH": "[START_DIR]\\skia\\infra\\bots\\.recipe_deps\\build\\scripts"
78 },
Eric Borena1590852017-03-20 12:48:31 -040079 "infra_step": true,
Eric Boren5128bd42017-03-06 08:06:16 -050080 "name": "rmtree data"
Eric Boren7e97dc02017-02-02 09:02:37 -050081 },
82 {
83 "cmd": [
84 "python",
85 "-u",
86 "\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",
87 "[CUSTOM_[SWARM_OUT_DIR]]\\perfdata\\Perf-Win8-MSVC-ShuttleB-GPU-HD4600-x86_64-Release-Trybot\\data",
88 "511"
89 ],
Eric Borena1590852017-03-20 12:48:31 -040090 "infra_step": true,
Eric Boren7e97dc02017-02-02 09:02:37 -050091 "name": "makedirs data",
92 "~followup_annotations": [
93 "@@@STEP_LOG_LINE@python.inline@@@@",
94 "@@@STEP_LOG_LINE@python.inline@import sys, os@@@",
95 "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@",
96 "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@",
97 "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@",
98 "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@",
99 "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" % path@@@",
100 "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@",
101 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@",
102 "@@@STEP_LOG_END@python.inline@@@"
103 ]
104 },
105 {
106 "cmd": [
107 "python",
108 "-u",
109 "import os\nprint os.environ.get('SWARMING_BOT_ID', '')\n"
110 ],
111 "name": "get swarming bot id",
112 "stdout": "/path/to/tmp/",
113 "~followup_annotations": [
114 "@@@STEP_LOG_LINE@python.inline@import os@@@",
115 "@@@STEP_LOG_LINE@python.inline@print os.environ.get('SWARMING_BOT_ID', '')@@@",
116 "@@@STEP_LOG_END@python.inline@@@"
117 ]
118 },
119 {
120 "cmd": [
121 "python",
122 "-u",
123 "import os\nprint os.environ.get('SWARMING_TASK_ID', '')\n"
124 ],
125 "name": "get swarming task id",
126 "stdout": "/path/to/tmp/",
127 "~followup_annotations": [
128 "@@@STEP_LOG_LINE@python.inline@import os@@@",
129 "@@@STEP_LOG_LINE@python.inline@print os.environ.get('SWARMING_TASK_ID', '')@@@",
130 "@@@STEP_LOG_END@python.inline@@@"
131 ]
132 },
133 {
134 "cmd": [
135 "[START_DIR]\\out\\Release_x64\\nanobench",
136 "--undefok",
137 "-i",
138 "[START_DIR]\\skia\\resources",
139 "--skps",
140 "[START_DIR]\\skp",
141 "--images",
142 "[START_DIR]\\skimage\\nanobench",
143 "--svgs",
144 "[START_DIR]\\svg",
145 "--nocpu",
146 "--pre_log",
147 "--images",
148 "--gpuStatsDump",
149 "true",
150 "--scales",
151 "1.0",
152 "1.1",
153 "--config",
154 "8888",
Eric Boren7e97dc02017-02-02 09:02:37 -0500155 "nonrendering",
156 "hwui",
157 "f16",
158 "srgb",
Brian Salomon980fb362017-03-17 14:39:27 -0400159 "gl",
Brian Salomondcf0ab02017-03-20 11:10:21 -0400160 "glmsaa8",
161 "glnvpr8",
162 "glnvprdit8",
Eric Boren7e97dc02017-02-02 09:02:37 -0500163 "--match",
164 "~inc0.gif",
165 "~inc1.gif",
166 "~incInterlaced.gif",
167 "~inc0.jpg",
168 "~incGray.jpg",
169 "~inc0.wbmp",
170 "~inc1.wbmp",
171 "~inc0.webp",
172 "~inc1.webp",
173 "~inc0.ico",
174 "~inc1.ico",
175 "~inc0.png",
176 "~inc1.png",
177 "~inc2.png",
178 "~inc12.png",
179 "~inc13.png",
180 "~inc14.png",
181 "~inc0.webp",
182 "~inc1.webp",
183 "--outResultsFile",
184 "[CUSTOM_[SWARM_OUT_DIR]]\\perfdata\\Perf-Win8-MSVC-ShuttleB-GPU-HD4600-x86_64-Release-Trybot\\data\\nanobench_abc123_1337000001.json",
185 "--properties",
186 "gitHash",
187 "abc123",
188 "build_number",
189 "571",
190 "issue",
191 "456789",
192 "patchset",
193 "12",
194 "patch_storage",
195 "gerrit",
196 "no_buildbot",
197 "True",
198 "swarming_bot_id",
199 "skia-bot-123",
200 "swarming_task_id",
201 "123456",
202 "--key",
203 "arch",
204 "x86_64",
205 "compiler",
206 "MSVC",
207 "cpu_or_gpu",
208 "GPU",
209 "cpu_or_gpu_value",
210 "HD4600",
211 "model",
212 "ShuttleB",
213 "os",
214 "Win8"
215 ],
Kevin Lubick0a51b482017-02-06 12:45:29 -0500216 "env": {
217 "BUILDTYPE": "Release_x64",
218 "CHROME_HEADLESS": "1",
Eric Borenbbb24f22017-03-21 08:20:33 -0400219 "PATH": "%(PATH)s;RECIPE_PACKAGE_REPO[depot_tools]",
Kevin Lubick0a51b482017-02-06 12:45:29 -0500220 "SKIA_OUT": "[START_DIR]\\out"
221 },
Eric Boren7e97dc02017-02-02 09:02:37 -0500222 "name": "nanobench"
223 },
224 {
225 "cmd": [
226 "python",
227 "-u",
228 "\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",
229 "[CUSTOM_[SWARM_OUT_DIR]]\\perfdata\\Perf-Win8-MSVC-ShuttleB-GPU-HD4600-x86_64-Release-Trybot\\data",
230 "511"
231 ],
232 "name": "makedirs perf_dir",
233 "~followup_annotations": [
234 "@@@STEP_LOG_LINE@python.inline@@@@",
235 "@@@STEP_LOG_LINE@python.inline@import sys, os@@@",
236 "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@",
237 "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@",
238 "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@",
239 "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@",
240 "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" % path@@@",
241 "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@",
242 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@",
243 "@@@STEP_LOG_END@python.inline@@@"
244 ]
245 },
246 {
247 "name": "$result",
248 "recipe_result": null,
249 "status_code": 0
250 }
251]