blob: 067ea4d0e00e551941042869664f1ac5a8a245d5 [file] [log] [blame]
Ben Wagner46df2a12017-02-21 19:10:24 -05001[
2 {
3 "cmd": [
4 "python",
5 "-u",
Eric Boren3e2ffd72017-06-16 13:10:22 -04006 "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
7 "--json-output",
8 "/path/to/tmp/json",
Eric Borenb7023162018-05-04 13:46:15 -04009 "ensure-directory",
10 "--mode",
11 "0777",
12 "[START_DIR]/tmp"
13 ],
14 "infra_step": true,
15 "name": "makedirs tmp_dir"
16 },
17 {
18 "cmd": [
19 "python",
20 "-u",
21 "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
22 "--json-output",
23 "/path/to/tmp/json",
Eric Boren3e2ffd72017-06-16 13:10:22 -040024 "copy",
Ben Wagner46df2a12017-02-21 19:10:24 -050025 "[START_DIR]/skia/infra/bots/assets/skp/VERSION",
26 "/path/to/tmp/"
27 ],
Eric Borena1590852017-03-20 12:48:31 -040028 "infra_step": true,
Ben Wagnerf20710e2018-03-19 16:52:37 -040029 "name": "Get skp VERSION"
Ben Wagner46df2a12017-02-21 19:10:24 -050030 },
31 {
32 "cmd": [
33 "python",
34 "-u",
Eric Boren3e2ffd72017-06-16 13:10:22 -040035 "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
36 "--json-output",
37 "/path/to/tmp/json",
38 "copy",
Ben Wagner46df2a12017-02-21 19:10:24 -050039 "42",
40 "[START_DIR]/tmp/SKP_VERSION"
41 ],
Eric Borena1590852017-03-20 12:48:31 -040042 "infra_step": true,
Ben Wagner46df2a12017-02-21 19:10:24 -050043 "name": "write SKP_VERSION"
44 },
45 {
46 "cmd": [
47 "python",
48 "-u",
Eric Boren3e2ffd72017-06-16 13:10:22 -040049 "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
50 "--json-output",
51 "/path/to/tmp/json",
52 "copy",
Ben Wagner46df2a12017-02-21 19:10:24 -050053 "[START_DIR]/skia/infra/bots/assets/skimage/VERSION",
54 "/path/to/tmp/"
55 ],
Eric Borena1590852017-03-20 12:48:31 -040056 "infra_step": true,
Ben Wagnerf20710e2018-03-19 16:52:37 -040057 "name": "Get skimage VERSION"
Ben Wagner46df2a12017-02-21 19:10:24 -050058 },
59 {
60 "cmd": [
61 "python",
62 "-u",
Eric Boren3e2ffd72017-06-16 13:10:22 -040063 "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
64 "--json-output",
65 "/path/to/tmp/json",
66 "copy",
Ben Wagner46df2a12017-02-21 19:10:24 -050067 "42",
68 "[START_DIR]/tmp/SK_IMAGE_VERSION"
69 ],
Eric Borena1590852017-03-20 12:48:31 -040070 "infra_step": true,
Ben Wagner46df2a12017-02-21 19:10:24 -050071 "name": "write SK_IMAGE_VERSION"
72 },
73 {
74 "cmd": [
75 "python",
76 "-u",
Eric Boren3e2ffd72017-06-16 13:10:22 -040077 "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
78 "--json-output",
79 "/path/to/tmp/json",
80 "copy",
Ben Wagner46df2a12017-02-21 19:10:24 -050081 "[START_DIR]/skia/infra/bots/assets/svg/VERSION",
82 "/path/to/tmp/"
83 ],
Eric Borena1590852017-03-20 12:48:31 -040084 "infra_step": true,
Ben Wagnerf20710e2018-03-19 16:52:37 -040085 "name": "Get svg VERSION"
Ben Wagner46df2a12017-02-21 19:10:24 -050086 },
87 {
88 "cmd": [
89 "python",
90 "-u",
Eric Boren3e2ffd72017-06-16 13:10:22 -040091 "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
92 "--json-output",
93 "/path/to/tmp/json",
94 "copy",
Ben Wagner46df2a12017-02-21 19:10:24 -050095 "42",
96 "[START_DIR]/tmp/SVG_VERSION"
97 ],
Eric Borena1590852017-03-20 12:48:31 -040098 "infra_step": true,
Ben Wagner46df2a12017-02-21 19:10:24 -050099 "name": "write SVG_VERSION"
100 },
101 {
102 "cmd": [
Eric Borenf9aa9e52017-04-10 09:56:10 -0400103 "python",
104 "-u",
105 "import os\nprint os.environ.get('SWARMING_BOT_ID', '')\n"
106 ],
107 "name": "get swarming bot id",
108 "stdout": "/path/to/tmp/",
109 "~followup_annotations": [
110 "@@@STEP_LOG_LINE@python.inline@import os@@@",
111 "@@@STEP_LOG_LINE@python.inline@print os.environ.get('SWARMING_BOT_ID', '')@@@",
112 "@@@STEP_LOG_END@python.inline@@@"
113 ]
114 },
115 {
116 "cmd": [
117 "python",
118 "-u",
119 "import os\nprint os.environ.get('SWARMING_TASK_ID', '')\n"
120 ],
121 "name": "get swarming task id",
122 "stdout": "/path/to/tmp/",
123 "~followup_annotations": [
124 "@@@STEP_LOG_LINE@python.inline@import os@@@",
125 "@@@STEP_LOG_LINE@python.inline@print os.environ.get('SWARMING_TASK_ID', '')@@@",
126 "@@@STEP_LOG_END@python.inline@@@"
127 ]
128 },
129 {
130 "cmd": [
Eric Borend696df72017-05-31 15:09:10 -0400131 "[START_DIR]/valgrind/bin/valgrind",
Ben Wagner46df2a12017-02-21 19:10:24 -0500132 "--gen-suppressions=all",
133 "--leak-check=full",
134 "--track-origins=yes",
135 "--error-exitcode=1",
136 "--num-callers=40",
137 "--suppressions=[START_DIR]/skia/tools/valgrind.supp",
Eric Boren322a8592018-06-01 10:08:53 -0400138 "[START_DIR]/build/nanobench",
Ben Wagner46df2a12017-02-21 19:10:24 -0500139 "-i",
140 "[START_DIR]/skia/resources",
141 "--skps",
142 "[START_DIR]/skp",
143 "--images",
144 "[START_DIR]/skimage/nanobench",
Ben Wagner46df2a12017-02-21 19:10:24 -0500145 "--pre_log",
146 "--images",
147 "--gpuStatsDump",
148 "true",
149 "--scales",
150 "1.0",
151 "1.1",
Ben Wagner32fa5102017-08-10 21:25:55 -0400152 "--nocpu",
Ben Wagner46df2a12017-02-21 19:10:24 -0500153 "--config",
Brian Salomon980fb362017-03-17 14:39:27 -0400154 "gl",
Ben Wagner769faa22017-08-11 15:32:50 -0400155 "glsrgb",
Brian Osman5e117772018-06-20 14:53:06 -0400156 "glesrgb",
Brian Salomondcf0ab02017-03-20 11:10:21 -0400157 "glmsaa8",
158 "glnvpr8",
Ben Wagner46df2a12017-02-21 19:10:24 -0500159 "--loops",
160 "1",
161 "--samples",
162 "1",
163 "--keepAlive",
164 "true",
165 "--match",
166 "~inc0.gif",
167 "~inc1.gif",
168 "~incInterlaced.gif",
169 "~inc0.jpg",
170 "~incGray.jpg",
171 "~inc0.wbmp",
172 "~inc1.wbmp",
173 "~inc0.webp",
174 "~inc1.webp",
175 "~inc0.ico",
176 "~inc1.ico",
177 "~inc0.png",
178 "~inc1.png",
179 "~inc2.png",
180 "~inc12.png",
181 "~inc13.png",
182 "~inc14.png",
183 "~inc0.webp",
184 "~inc1.webp",
Ben Wagner32fa5102017-08-10 21:25:55 -0400185 "--abandonGpuContext"
Ben Wagner46df2a12017-02-21 19:10:24 -0500186 ],
187 "env": {
Ben Wagner46df2a12017-02-21 19:10:24 -0500188 "CHROME_HEADLESS": "1",
recipe-rollere0f7e162017-05-31 16:13:27 -0700189 "PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]",
Eric Borend696df72017-05-31 15:09:10 -0400190 "VALGRIND_LIB": "[START_DIR]/valgrind/lib/valgrind"
Ben Wagner46df2a12017-02-21 19:10:24 -0500191 },
192 "name": "nanobench"
193 },
194 {
195 "name": "$result",
196 "recipe_result": null,
197 "status_code": 0
198 }
199]