blob: 04dade4adfa6d3e9f5b6963363eafffe019db210 [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-Ubuntu-GCC-ShuttleA-GPU-GTX550Ti-x86_64-Release-ANGLE/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-Ubuntu-GCC-ShuttleA-GPU-GTX550Ti-x86_64-Release-ANGLE/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": [
Kevin Lubick30f2ec82017-03-02 08:34:47 -0500107 "python",
108 "-u",
Eric Boren6276a7c2017-04-06 12:53:31 +0000109 "[START_DIR]/skia/infra/bots/recipe_modules/core/resources/symbolize_stack_trace.py",
Kevin Lubick30f2ec82017-03-02 08:34:47 -0500110 "[START_DIR]",
Eric Boren7e97dc02017-02-02 09:02:37 -0500111 "catchsegv",
112 "[START_DIR]/out/Release/nanobench",
113 "--undefok",
114 "-i",
115 "[START_DIR]/skia/resources",
116 "--skps",
117 "[START_DIR]/skp",
118 "--images",
119 "[START_DIR]/skimage/nanobench",
120 "--svgs",
121 "[START_DIR]/svg",
122 "--nocpu",
123 "--pre_log",
124 "--images",
125 "--gpuStatsDump",
126 "true",
127 "--scales",
128 "1.0",
129 "1.1",
130 "--config",
Eric Boren7e97dc02017-02-02 09:02:37 -0500131 "angle_d3d11_es2",
Ben Wagner6b1f0242017-03-31 15:54:47 -0400132 "angle_d3d11_es2_msaa8",
Eric Boren7e97dc02017-02-02 09:02:37 -0500133 "--match",
Ben Wagner6b1f0242017-03-31 15:54:47 -0400134 "~native_image_to_raster_surface",
Eric Boren7e97dc02017-02-02 09:02:37 -0500135 "~inc0.gif",
136 "~inc1.gif",
137 "~incInterlaced.gif",
138 "~inc0.jpg",
139 "~incGray.jpg",
140 "~inc0.wbmp",
141 "~inc1.wbmp",
142 "~inc0.webp",
143 "~inc1.webp",
144 "~inc0.ico",
145 "~inc1.ico",
146 "~inc0.png",
147 "~inc1.png",
148 "~inc2.png",
149 "~inc12.png",
150 "~inc13.png",
151 "~inc14.png",
152 "~inc0.webp",
153 "~inc1.webp",
154 "--outResultsFile",
155 "[CUSTOM_[SWARM_OUT_DIR]]/perfdata/Perf-Ubuntu-GCC-ShuttleA-GPU-GTX550Ti-x86_64-Release-ANGLE/data/nanobench_abc123_1337000001.json",
156 "--properties",
157 "gitHash",
158 "abc123",
159 "build_number",
160 "5",
161 "--key",
162 "arch",
163 "x86_64",
164 "compiler",
165 "GCC",
166 "cpu_or_gpu",
167 "GPU",
168 "cpu_or_gpu_value",
169 "GTX550Ti",
170 "extra_config",
171 "ANGLE",
172 "model",
173 "ShuttleA",
174 "os",
175 "Ubuntu"
176 ],
177 "cwd": "[START_DIR]/skia",
Kevin Lubick0a51b482017-02-06 12:45:29 -0500178 "env": {
179 "BUILDTYPE": "Release",
180 "CHROME_HEADLESS": "1",
Eric Borenbbb24f22017-03-21 08:20:33 -0400181 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]",
Kevin Lubick0a51b482017-02-06 12:45:29 -0500182 "SKIA_OUT": "[START_DIR]/out"
183 },
Kevin Lubick30f2ec82017-03-02 08:34:47 -0500184 "name": "symbolized nanobench"
Eric Boren7e97dc02017-02-02 09:02:37 -0500185 },
186 {
187 "cmd": [
188 "python",
189 "-u",
190 "\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",
191 "[CUSTOM_[SWARM_OUT_DIR]]/perfdata/Perf-Ubuntu-GCC-ShuttleA-GPU-GTX550Ti-x86_64-Release-ANGLE/data",
192 "511"
193 ],
194 "name": "makedirs perf_dir",
195 "~followup_annotations": [
196 "@@@STEP_LOG_LINE@python.inline@@@@",
197 "@@@STEP_LOG_LINE@python.inline@import sys, os@@@",
198 "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@",
199 "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@",
200 "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@",
201 "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@",
202 "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" % path@@@",
203 "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@",
204 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@",
205 "@@@STEP_LOG_END@python.inline@@@"
206 ]
207 },
208 {
209 "name": "$result",
210 "recipe_result": null,
211 "status_code": 0
212 }
213]