mtklein | 2b3c2a3 | 2016-09-08 08:39:34 -0700 | [diff] [blame] | 1 | [ |
| 2 | { |
| 3 | "cmd": [ |
| 4 | "python", |
| 5 | "-u", |
| 6 | "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", |
Ravi Mistry | 9bcca6a | 2016-11-21 16:06:19 -0500 | [diff] [blame] | 7 | "[START_DIR]/skia/infra/bots/assets/skp/VERSION", |
mtklein | 2b3c2a3 | 2016-09-08 08:39:34 -0700 | [diff] [blame] | 8 | "/path/to/tmp/" |
| 9 | ], |
Eric Boren | a159085 | 2017-03-20 12:48:31 -0400 | [diff] [blame] | 10 | "infra_step": true, |
mtklein | 2b3c2a3 | 2016-09-08 08:39:34 -0700 | [diff] [blame] | 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", |
Ravi Mistry | 9bcca6a | 2016-11-21 16:06:19 -0500 | [diff] [blame] | 19 | "[START_DIR]/tmp/SKP_VERSION" |
mtklein | 2b3c2a3 | 2016-09-08 08:39:34 -0700 | [diff] [blame] | 20 | ], |
Eric Boren | a159085 | 2017-03-20 12:48:31 -0400 | [diff] [blame] | 21 | "infra_step": true, |
mtklein | 2b3c2a3 | 2016-09-08 08:39:34 -0700 | [diff] [blame] | 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", |
Ravi Mistry | 9bcca6a | 2016-11-21 16:06:19 -0500 | [diff] [blame] | 29 | "[START_DIR]/skia/infra/bots/assets/skimage/VERSION", |
mtklein | 2b3c2a3 | 2016-09-08 08:39:34 -0700 | [diff] [blame] | 30 | "/path/to/tmp/" |
| 31 | ], |
Eric Boren | a159085 | 2017-03-20 12:48:31 -0400 | [diff] [blame] | 32 | "infra_step": true, |
mtklein | 2b3c2a3 | 2016-09-08 08:39:34 -0700 | [diff] [blame] | 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", |
Ravi Mistry | 9bcca6a | 2016-11-21 16:06:19 -0500 | [diff] [blame] | 41 | "[START_DIR]/tmp/SK_IMAGE_VERSION" |
mtklein | 2b3c2a3 | 2016-09-08 08:39:34 -0700 | [diff] [blame] | 42 | ], |
Eric Boren | a159085 | 2017-03-20 12:48:31 -0400 | [diff] [blame] | 43 | "infra_step": true, |
mtklein | 2b3c2a3 | 2016-09-08 08:39:34 -0700 | [diff] [blame] | 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", |
Ravi Mistry | 9bcca6a | 2016-11-21 16:06:19 -0500 | [diff] [blame] | 51 | "[START_DIR]/skia/infra/bots/assets/svg/VERSION", |
mtklein | 2b3c2a3 | 2016-09-08 08:39:34 -0700 | [diff] [blame] | 52 | "/path/to/tmp/" |
| 53 | ], |
Eric Boren | a159085 | 2017-03-20 12:48:31 -0400 | [diff] [blame] | 54 | "infra_step": true, |
mtklein | 2b3c2a3 | 2016-09-08 08:39:34 -0700 | [diff] [blame] | 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", |
Ravi Mistry | 9bcca6a | 2016-11-21 16:06:19 -0500 | [diff] [blame] | 63 | "[START_DIR]/tmp/SVG_VERSION" |
mtklein | 2b3c2a3 | 2016-09-08 08:39:34 -0700 | [diff] [blame] | 64 | ], |
Eric Boren | a159085 | 2017-03-20 12:48:31 -0400 | [diff] [blame] | 65 | "infra_step": true, |
mtklein | 2b3c2a3 | 2016-09-08 08:39:34 -0700 | [diff] [blame] | 66 | "name": "write SVG_VERSION" |
| 67 | }, |
| 68 | { |
| 69 | "cmd": [ |
| 70 | "python", |
| 71 | "-u", |
Eric Boren | 5128bd4 | 2017-03-06 08:06:16 -0500 | [diff] [blame] | 72 | "RECIPE_MODULE[build::file]/resources/fileutil.py", |
| 73 | "rmtree", |
Eric Boren | 5de544b | 2017-01-12 08:46:20 -0500 | [diff] [blame] | 74 | "[CUSTOM_[SWARM_OUT_DIR]]/perfdata/Perf-Ubuntu-Clang-GCE-CPU-AVX2-x86_64-Release/data" |
mtklein | 2b3c2a3 | 2016-09-08 08:39:34 -0700 | [diff] [blame] | 75 | ], |
| 76 | "env": { |
Ravi Mistry | 9bcca6a | 2016-11-21 16:06:19 -0500 | [diff] [blame] | 77 | "PYTHONPATH": "[START_DIR]/skia/infra/bots/.recipe_deps/build/scripts" |
mtklein | 2b3c2a3 | 2016-09-08 08:39:34 -0700 | [diff] [blame] | 78 | }, |
Eric Boren | a159085 | 2017-03-20 12:48:31 -0400 | [diff] [blame] | 79 | "infra_step": true, |
Eric Boren | 5128bd4 | 2017-03-06 08:06:16 -0500 | [diff] [blame] | 80 | "name": "rmtree data" |
mtklein | 2b3c2a3 | 2016-09-08 08:39:34 -0700 | [diff] [blame] | 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", |
Eric Boren | 5de544b | 2017-01-12 08:46:20 -0500 | [diff] [blame] | 87 | "[CUSTOM_[SWARM_OUT_DIR]]/perfdata/Perf-Ubuntu-Clang-GCE-CPU-AVX2-x86_64-Release/data", |
mtklein | 2b3c2a3 | 2016-09-08 08:39:34 -0700 | [diff] [blame] | 88 | "511" |
| 89 | ], |
Eric Boren | a159085 | 2017-03-20 12:48:31 -0400 | [diff] [blame] | 90 | "infra_step": true, |
mtklein | 2b3c2a3 | 2016-09-08 08:39:34 -0700 | [diff] [blame] | 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": [ |
Kevin Lubick | 30f2ec8 | 2017-03-02 08:34:47 -0500 | [diff] [blame] | 107 | "python", |
| 108 | "-u", |
Eric Boren | 6276a7c | 2017-04-06 12:53:31 +0000 | [diff] [blame^] | 109 | "[START_DIR]/skia/infra/bots/recipe_modules/core/resources/symbolize_stack_trace.py", |
Kevin Lubick | 30f2ec8 | 2017-03-02 08:34:47 -0500 | [diff] [blame] | 110 | "[START_DIR]", |
mtklein | 2b3c2a3 | 2016-09-08 08:39:34 -0700 | [diff] [blame] | 111 | "catchsegv", |
Ravi Mistry | 9bcca6a | 2016-11-21 16:06:19 -0500 | [diff] [blame] | 112 | "[START_DIR]/out/Release/nanobench", |
mtklein | 2b3c2a3 | 2016-09-08 08:39:34 -0700 | [diff] [blame] | 113 | "--undefok", |
| 114 | "-i", |
Ravi Mistry | 9bcca6a | 2016-11-21 16:06:19 -0500 | [diff] [blame] | 115 | "[START_DIR]/skia/resources", |
mtklein | 2b3c2a3 | 2016-09-08 08:39:34 -0700 | [diff] [blame] | 116 | "--skps", |
Ravi Mistry | 9bcca6a | 2016-11-21 16:06:19 -0500 | [diff] [blame] | 117 | "[START_DIR]/skp", |
mtklein | 2b3c2a3 | 2016-09-08 08:39:34 -0700 | [diff] [blame] | 118 | "--images", |
Ravi Mistry | 9bcca6a | 2016-11-21 16:06:19 -0500 | [diff] [blame] | 119 | "[START_DIR]/skimage/nanobench", |
stephana | 7fbacbb | 2016-10-07 06:36:16 -0700 | [diff] [blame] | 120 | "--svgs", |
Ravi Mistry | 9bcca6a | 2016-11-21 16:06:19 -0500 | [diff] [blame] | 121 | "[START_DIR]/svg", |
mtklein | 2b3c2a3 | 2016-09-08 08:39:34 -0700 | [diff] [blame] | 122 | "--nogpu", |
| 123 | "--pre_log", |
| 124 | "--scales", |
| 125 | "1.0", |
| 126 | "1.1", |
| 127 | "--config", |
mtklein | 2b3c2a3 | 2016-09-08 08:39:34 -0700 | [diff] [blame] | 128 | "8888", |
mtklein | 2b3c2a3 | 2016-09-08 08:39:34 -0700 | [diff] [blame] | 129 | "nonrendering", |
mtklein | 2b3c2a3 | 2016-09-08 08:39:34 -0700 | [diff] [blame] | 130 | "hwui", |
| 131 | "f16", |
| 132 | "srgb", |
mtklein | 896ddb7 | 2016-09-14 10:33:12 -0700 | [diff] [blame] | 133 | "565", |
Brian Salomon | 980fb36 | 2017-03-17 14:39:27 -0400 | [diff] [blame] | 134 | "gl", |
Brian Salomon | dcf0ab0 | 2017-03-20 11:10:21 -0400 | [diff] [blame] | 135 | "glmsaa8", |
| 136 | "glnvpr8", |
| 137 | "glnvprdit8", |
mtklein | 2b3c2a3 | 2016-09-08 08:39:34 -0700 | [diff] [blame] | 138 | "--match", |
mtklein | 2b3c2a3 | 2016-09-08 08:39:34 -0700 | [diff] [blame] | 139 | "~inc0.gif", |
| 140 | "~inc1.gif", |
| 141 | "~incInterlaced.gif", |
| 142 | "~inc0.jpg", |
| 143 | "~incGray.jpg", |
| 144 | "~inc0.wbmp", |
| 145 | "~inc1.wbmp", |
| 146 | "~inc0.webp", |
| 147 | "~inc1.webp", |
| 148 | "~inc0.ico", |
| 149 | "~inc1.ico", |
| 150 | "~inc0.png", |
| 151 | "~inc1.png", |
| 152 | "~inc2.png", |
| 153 | "~inc12.png", |
| 154 | "~inc13.png", |
| 155 | "~inc14.png", |
| 156 | "~inc0.webp", |
| 157 | "~inc1.webp", |
| 158 | "--outResultsFile", |
Eric Boren | 5de544b | 2017-01-12 08:46:20 -0500 | [diff] [blame] | 159 | "[CUSTOM_[SWARM_OUT_DIR]]/perfdata/Perf-Ubuntu-Clang-GCE-CPU-AVX2-x86_64-Release/data/nanobench_abc123_1337000001.json", |
mtklein | 2b3c2a3 | 2016-09-08 08:39:34 -0700 | [diff] [blame] | 160 | "--properties", |
| 161 | "gitHash", |
| 162 | "abc123", |
| 163 | "build_number", |
| 164 | "5", |
| 165 | "--key", |
| 166 | "arch", |
| 167 | "x86_64", |
| 168 | "compiler", |
| 169 | "Clang", |
| 170 | "cpu_or_gpu", |
| 171 | "CPU", |
| 172 | "cpu_or_gpu_value", |
| 173 | "AVX2", |
mtklein | 2b3c2a3 | 2016-09-08 08:39:34 -0700 | [diff] [blame] | 174 | "model", |
| 175 | "GCE", |
| 176 | "os", |
| 177 | "Ubuntu" |
| 178 | ], |
Ravi Mistry | 9bcca6a | 2016-11-21 16:06:19 -0500 | [diff] [blame] | 179 | "cwd": "[START_DIR]/skia", |
Kevin Lubick | 0a51b48 | 2017-02-06 12:45:29 -0500 | [diff] [blame] | 180 | "env": { |
| 181 | "BUILDTYPE": "Release", |
| 182 | "CHROME_HEADLESS": "1", |
Eric Boren | bbb24f2 | 2017-03-21 08:20:33 -0400 | [diff] [blame] | 183 | "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]", |
Kevin Lubick | 0a51b48 | 2017-02-06 12:45:29 -0500 | [diff] [blame] | 184 | "SKIA_OUT": "[START_DIR]/out" |
| 185 | }, |
Kevin Lubick | 30f2ec8 | 2017-03-02 08:34:47 -0500 | [diff] [blame] | 186 | "name": "symbolized nanobench" |
mtklein | 2b3c2a3 | 2016-09-08 08:39:34 -0700 | [diff] [blame] | 187 | }, |
| 188 | { |
| 189 | "cmd": [ |
| 190 | "python", |
| 191 | "-u", |
| 192 | "\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", |
Eric Boren | 5de544b | 2017-01-12 08:46:20 -0500 | [diff] [blame] | 193 | "[CUSTOM_[SWARM_OUT_DIR]]/perfdata/Perf-Ubuntu-Clang-GCE-CPU-AVX2-x86_64-Release/data", |
mtklein | 2b3c2a3 | 2016-09-08 08:39:34 -0700 | [diff] [blame] | 194 | "511" |
| 195 | ], |
| 196 | "name": "makedirs perf_dir", |
| 197 | "~followup_annotations": [ |
| 198 | "@@@STEP_LOG_LINE@python.inline@@@@", |
| 199 | "@@@STEP_LOG_LINE@python.inline@import sys, os@@@", |
| 200 | "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@", |
| 201 | "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@", |
| 202 | "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@", |
| 203 | "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@", |
| 204 | "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" % path@@@", |
| 205 | "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@", |
| 206 | "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@", |
| 207 | "@@@STEP_LOG_END@python.inline@@@" |
| 208 | ] |
| 209 | }, |
| 210 | { |
| 211 | "name": "$result", |
| 212 | "recipe_result": null, |
| 213 | "status_code": 0 |
| 214 | } |
| 215 | ] |