• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1[
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    ],
10    "infra_step": true,
11    "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    ],
21    "infra_step": true,
22    "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    ],
32    "infra_step": true,
33    "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    ],
43    "infra_step": true,
44    "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    ],
54    "infra_step": true,
55    "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    ],
65    "infra_step": true,
66    "name": "write SVG_VERSION"
67  },
68  {
69    "cmd": [
70      "python",
71      "-u",
72      "RECIPE_MODULE[build::file]\\resources\\fileutil.py",
73      "rmtree",
74      "[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    },
79    "infra_step": true,
80    "name": "rmtree data"
81  },
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    ],
90    "infra_step": true,
91    "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",
155      "nonrendering",
156      "hwui",
157      "f16",
158      "srgb",
159      "gl",
160      "glmsaa8",
161      "glnvpr8",
162      "glnvprdit8",
163      "--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    ],
216    "env": {
217      "BUILDTYPE": "Release_x64",
218      "CHROME_HEADLESS": "1",
219      "PATH": "%(PATH)s;RECIPE_PACKAGE_REPO[depot_tools]",
220      "SKIA_OUT": "[START_DIR]\\out"
221    },
222    "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]