blob: 3c65b21beb3095254aa1ef952e1a303f5bb82155 [file] [log] [blame]
Kevin Lubick35115eb2017-02-17 10:25:34 -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,
Kevin Lubick35115eb2017-02-17 10:25:34 -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,
Kevin Lubick35115eb2017-02-17 10:25:34 -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,
Kevin Lubick35115eb2017-02-17 10:25:34 -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,
Kevin Lubick35115eb2017-02-17 10:25:34 -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,
Kevin Lubick35115eb2017-02-17 10:25:34 -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,
Kevin Lubick35115eb2017-02-17 10:25:34 -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",
Kevin Lubick35115eb2017-02-17 10:25:34 -050074 "[CUSTOM_[SWARM_OUT_DIR]]/perfdata/Perf-Ubuntu16-Clang-NUC-GPU-IntelIris540-x86_64-Release/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"
Kevin Lubick35115eb2017-02-17 10:25:34 -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-Ubuntu16-Clang-NUC-GPU-IntelIris540-x86_64-Release/data",
88 "511"
89 ],
Eric Borena1590852017-03-20 12:48:31 -040090 "infra_step": true,
Kevin Lubick35115eb2017-02-17 10:25:34 -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 "[START_DIR]/skia/infra/bots/recipe_modules/core/resources/symbolize_stack_trace.py",
110 "[START_DIR]",
111 "[START_DIR]/out/Release/nanobench",
112 "--undefok",
113 "-i",
114 "[START_DIR]/skia/resources",
115 "--skps",
116 "[START_DIR]/skp",
117 "--images",
118 "[START_DIR]/skimage/nanobench",
119 "--svgs",
120 "[START_DIR]/svg",
121 "--nocpu",
122 "--pre_log",
123 "--images",
124 "--gpuStatsDump",
125 "true",
126 "--scales",
127 "1.0",
128 "1.1",
129 "--config",
130 "8888",
Kevin Lubick35115eb2017-02-17 10:25:34 -0500131 "nonrendering",
132 "hwui",
133 "f16",
134 "srgb",
Brian Salomon980fb362017-03-17 14:39:27 -0400135 "gl",
Brian Salomondcf0ab02017-03-20 11:10:21 -0400136 "glmsaa8",
137 "glnvpr8",
138 "glnvprdit8",
Ben Wagnerbb91bd32017-03-20 22:56:19 -0400139 "gles",
140 "glesmsaa4",
Kevin Lubick35115eb2017-02-17 10:25:34 -0500141 "--match",
Ben Wagnerbb91bd32017-03-20 22:56:19 -0400142 "~native_image_to_raster_surface",
Kevin Lubick35115eb2017-02-17 10:25:34 -0500143 "~inc0.gif",
144 "~inc1.gif",
145 "~incInterlaced.gif",
146 "~inc0.jpg",
147 "~incGray.jpg",
148 "~inc0.wbmp",
149 "~inc1.wbmp",
150 "~inc0.webp",
151 "~inc1.webp",
152 "~inc0.ico",
153 "~inc1.ico",
154 "~inc0.png",
155 "~inc1.png",
156 "~inc2.png",
157 "~inc12.png",
158 "~inc13.png",
159 "~inc14.png",
160 "~inc0.webp",
161 "~inc1.webp",
162 "--outResultsFile",
163 "[CUSTOM_[SWARM_OUT_DIR]]/perfdata/Perf-Ubuntu16-Clang-NUC-GPU-IntelIris540-x86_64-Release/data/nanobench_abc123_1337000001.json",
164 "--properties",
165 "gitHash",
166 "abc123",
167 "build_number",
168 "5",
169 "--key",
170 "arch",
171 "x86_64",
172 "compiler",
173 "Clang",
174 "cpu_or_gpu",
175 "GPU",
176 "cpu_or_gpu_value",
177 "IntelIris540",
178 "model",
179 "NUC",
180 "os",
181 "Ubuntu16"
182 ],
183 "cwd": "[START_DIR]/skia",
184 "env": {
185 "BUILDTYPE": "Release",
186 "CHROME_HEADLESS": "1",
187 "LD_LIBRARY_PATH": "[START_DIR]/linux_vulkan_intel_driver_release",
188 "LIBGL_DRIVERS_PATH": "[START_DIR]/linux_vulkan_intel_driver_release",
Eric Borenbbb24f22017-03-21 08:20:33 -0400189 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]",
Kevin Lubick35115eb2017-02-17 10:25:34 -0500190 "SKIA_OUT": "[START_DIR]/out"
191 },
192 "name": "symbolized nanobench"
193 },
194 {
195 "cmd": [
196 "python",
197 "-u",
198 "\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",
199 "[CUSTOM_[SWARM_OUT_DIR]]/perfdata/Perf-Ubuntu16-Clang-NUC-GPU-IntelIris540-x86_64-Release/data",
200 "511"
201 ],
202 "name": "makedirs perf_dir",
203 "~followup_annotations": [
204 "@@@STEP_LOG_LINE@python.inline@@@@",
205 "@@@STEP_LOG_LINE@python.inline@import sys, os@@@",
206 "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@",
207 "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@",
208 "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@",
209 "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@",
210 "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" % path@@@",
211 "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@",
212 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@",
213 "@@@STEP_LOG_END@python.inline@@@"
214 ]
215 },
216 {
217 "name": "$result",
218 "recipe_result": null,
219 "status_code": 0
220 }
221]