Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(112)

Side by Side Diff: scripts/slave/recipes/skia/swarm_compile.expected/Build-Ubuntu-GCC-Arm7-Release-Android.json

Issue 1916263003: Reland "Skia: Maintain a checkout on swarming (compile) bots" (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/build.git@master
Patch Set: Fix expectations after roll Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 [ 1 [
2 { 2 {
3 "cmd": [ 3 "cmd": [
4 "python", 4 "python",
5 "-u", 5 "-u",
6 "[SLAVE_BUILD]/skia/tools/buildbot_spec.py", 6 "\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",
7 "[CUSTOM_/_B_CACHE]",
8 "511"
9 ],
10 "name": "makedirs checkout_path",
11 "~followup_annotations": [
12 "@@@STEP_LOG_LINE@python.inline@@@@",
13 "@@@STEP_LOG_LINE@python.inline@import sys, os@@@",
14 "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@",
15 "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@",
16 "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@",
17 "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@",
18 "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" % path@@@",
19 "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@",
20 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@",
21 "@@@STEP_LOG_END@python.inline@@@"
22 ]
23 },
24 {
25 "cmd": [
26 "python",
27 "-u",
28 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py",
29 "config",
30 "--spec",
31 "cache_dir = None\nsolutions = [{'deps_file': 'DEPS', 'managed': False, 'n ame': 'skia', 'url': 'https://skia.googlesource.com/skia.git'}]\ntarget_os = ['l lvm']"
32 ],
33 "cwd": "[CUSTOM_/_B_CACHE]",
34 "env": {
35 "CHROME_HEADLESS": "1",
36 "PATH": "[DEPOT_TOOLS]:%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]",
37 "PYTHONPATH": "[BUILD]/scripts"
38 },
39 "name": "gclient setup"
40 },
41 {
42 "cmd": [
43 "python",
44 "-u",
45 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py",
46 "sync",
47 "--nohooks",
48 "--force",
49 "--verbose",
50 "--delete_unversioned_trees",
51 "--revision",
52 "skia@abc123",
53 "--output-json",
54 "/path/to/tmp/json"
55 ],
56 "cwd": "[CUSTOM_/_B_CACHE]",
57 "env": {
58 "CHROME_HEADLESS": "1",
59 "PATH": "[DEPOT_TOOLS]:%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PA CKAGE_REPO[depot_tools]",
60 "PYTHONPATH": "[BUILD]/scripts"
61 },
62 "name": "gclient sync",
63 "~followup_annotations": [
64 "@@@STEP_LOG_LINE@json.output@{@@@",
65 "@@@STEP_LOG_LINE@json.output@ \"solutions\": {@@@",
66 "@@@STEP_LOG_LINE@json.output@ \"skia/\": {@@@",
67 "@@@STEP_LOG_LINE@json.output@ \"revision\": 164710@@@",
68 "@@@STEP_LOG_LINE@json.output@ }@@@",
69 "@@@STEP_LOG_LINE@json.output@ }@@@",
70 "@@@STEP_LOG_LINE@json.output@}@@@",
71 "@@@STEP_LOG_END@json.output@@@",
72 "@@@SET_BUILD_PROPERTY@got_revision@164710@@@"
73 ]
74 },
75 {
76 "cmd": [
77 "python",
78 "-u",
79 "[CUSTOM_/_B_CACHE]/skia/tools/buildbot_spec.py",
7 "/path/to/tmp/json", 80 "/path/to/tmp/json",
8 "Build-Ubuntu-GCC-Arm7-Release-Android" 81 "Build-Ubuntu-GCC-Arm7-Release-Android"
9 ], 82 ],
10 "cwd": "[SLAVE_BUILD]/skia", 83 "cwd": "[CUSTOM_/_B_CACHE]/skia",
11 "name": "exec buildbot_spec.py", 84 "name": "exec buildbot_spec.py",
12 "~followup_annotations": [ 85 "~followup_annotations": [
13 "@@@STEP_LOG_LINE@json.output@{@@@", 86 "@@@STEP_LOG_LINE@json.output@{@@@",
14 "@@@STEP_LOG_LINE@json.output@ \"build_targets\": [@@@", 87 "@@@STEP_LOG_LINE@json.output@ \"build_targets\": [@@@",
15 "@@@STEP_LOG_LINE@json.output@ \"most\"@@@", 88 "@@@STEP_LOG_LINE@json.output@ \"most\"@@@",
16 "@@@STEP_LOG_LINE@json.output@ ], @@@", 89 "@@@STEP_LOG_LINE@json.output@ ], @@@",
17 "@@@STEP_LOG_LINE@json.output@ \"builder_cfg\": {@@@", 90 "@@@STEP_LOG_LINE@json.output@ \"builder_cfg\": {@@@",
18 "@@@STEP_LOG_LINE@json.output@ \"compiler\": \"GCC\", @@@", 91 "@@@STEP_LOG_LINE@json.output@ \"compiler\": \"GCC\", @@@",
19 "@@@STEP_LOG_LINE@json.output@ \"configuration\": \"Release\", @@@", 92 "@@@STEP_LOG_LINE@json.output@ \"configuration\": \"Release\", @@@",
20 "@@@STEP_LOG_LINE@json.output@ \"extra_config\": \"Android\", @@@", 93 "@@@STEP_LOG_LINE@json.output@ \"extra_config\": \"Android\", @@@",
(...skipping 24 matching lines...) Expand all
45 { 118 {
46 "cmd": [ 119 "cmd": [
47 "python", 120 "python",
48 "-u", 121 "-u",
49 "import json\nimport subprocess\nimport sys\n\nccache = None\ntry:\n ccac he = subprocess.check_output(['which', 'ccache']).rstrip()\nexcept:\n pass\npri nt json.dumps({'ccache': ccache})\n" 122 "import json\nimport subprocess\nimport sys\n\nccache = None\ntry:\n ccac he = subprocess.check_output(['which', 'ccache']).rstrip()\nexcept:\n pass\npri nt json.dumps({'ccache': ccache})\n"
50 ], 123 ],
51 "env": { 124 "env": {
52 "BUILDTYPE": "Release", 125 "BUILDTYPE": "Release",
53 "CHROME_HEADLESS": "1", 126 "CHROME_HEADLESS": "1",
54 "GYP_DEFINES": "skia_arch_type=arm skia_warnings_as_errors=1", 127 "GYP_DEFINES": "skia_arch_type=arm skia_warnings_as_errors=1",
55 "PATH": "[SLAVE_BUILD]/depot_tools:%(PATH)s", 128 "PATH": "[DEPOT_TOOLS]:%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PA CKAGE_REPO[depot_tools]",
56 "SKIA_OUT": "[SLAVE_BUILD]/out" 129 "PYTHONPATH": "[BUILD]/scripts",
130 "SKIA_OUT": "[CUSTOM_/_B_CACHE]/skia/out/Build-Ubuntu-GCC-Arm7-Release-And roid"
57 }, 131 },
58 "name": "has ccache?", 132 "name": "has ccache?",
59 "stdout": "/path/to/tmp/json", 133 "stdout": "/path/to/tmp/json",
60 "~followup_annotations": [ 134 "~followup_annotations": [
61 "@@@STEP_LOG_LINE@json.output@{@@@", 135 "@@@STEP_LOG_LINE@json.output@{@@@",
62 "@@@STEP_LOG_LINE@json.output@ \"ccache\": null@@@", 136 "@@@STEP_LOG_LINE@json.output@ \"ccache\": null@@@",
63 "@@@STEP_LOG_LINE@json.output@}@@@", 137 "@@@STEP_LOG_LINE@json.output@}@@@",
64 "@@@STEP_LOG_END@json.output@@@", 138 "@@@STEP_LOG_END@json.output@@@",
65 "@@@STEP_LOG_LINE@python.inline@import json@@@", 139 "@@@STEP_LOG_LINE@python.inline@import json@@@",
66 "@@@STEP_LOG_LINE@python.inline@import subprocess@@@", 140 "@@@STEP_LOG_LINE@python.inline@import subprocess@@@",
67 "@@@STEP_LOG_LINE@python.inline@import sys@@@", 141 "@@@STEP_LOG_LINE@python.inline@import sys@@@",
68 "@@@STEP_LOG_LINE@python.inline@@@@", 142 "@@@STEP_LOG_LINE@python.inline@@@@",
69 "@@@STEP_LOG_LINE@python.inline@ccache = None@@@", 143 "@@@STEP_LOG_LINE@python.inline@ccache = None@@@",
70 "@@@STEP_LOG_LINE@python.inline@try:@@@", 144 "@@@STEP_LOG_LINE@python.inline@try:@@@",
71 "@@@STEP_LOG_LINE@python.inline@ ccache = subprocess.check_output(['which ', 'ccache']).rstrip()@@@", 145 "@@@STEP_LOG_LINE@python.inline@ ccache = subprocess.check_output(['which ', 'ccache']).rstrip()@@@",
72 "@@@STEP_LOG_LINE@python.inline@except:@@@", 146 "@@@STEP_LOG_LINE@python.inline@except:@@@",
73 "@@@STEP_LOG_LINE@python.inline@ pass@@@", 147 "@@@STEP_LOG_LINE@python.inline@ pass@@@",
74 "@@@STEP_LOG_LINE@python.inline@print json.dumps({'ccache': ccache})@@@", 148 "@@@STEP_LOG_LINE@python.inline@print json.dumps({'ccache': ccache})@@@",
75 "@@@STEP_LOG_END@python.inline@@@" 149 "@@@STEP_LOG_END@python.inline@@@"
76 ] 150 ]
77 }, 151 },
78 { 152 {
79 "cmd": [ 153 "cmd": [
80 "[SLAVE_BUILD]/skia/platform_tools/android/bin/android_ninja", 154 "[SLAVE_BUILD]/skia/platform_tools/android/bin/android_ninja",
81 "dm", 155 "dm",
82 "-d", 156 "-d",
83 "arm_v7_neon", 157 "arm_v7_neon",
84 "--gcc" 158 "--gcc"
85 ], 159 ],
86 "cwd": "[SLAVE_BUILD]/skia", 160 "cwd": "[CUSTOM_/_B_CACHE]/skia",
87 "env": { 161 "env": {
88 "ANDROID_HOME": "/b/android-sdk-linux", 162 "ANDROID_HOME": "/b/android-sdk-linux",
89 "ANDROID_SDK_ROOT": "/b/android-sdk-linux", 163 "ANDROID_SDK_ROOT": "/b/android-sdk-linux",
90 "BUILDTYPE": "Release", 164 "BUILDTYPE": "Release",
91 "CHROME_HEADLESS": "1", 165 "CHROME_HEADLESS": "1",
92 "GYP_DEFINES": "skia_arch_type=arm skia_warnings_as_errors=1", 166 "GYP_DEFINES": "skia_arch_type=arm skia_warnings_as_errors=1",
93 "PATH": "[SLAVE_BUILD]/depot_tools:%(PATH)s", 167 "PATH": "[DEPOT_TOOLS]:%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PA CKAGE_REPO[depot_tools]",
168 "PYTHONPATH": "[BUILD]/scripts",
94 "SKIA_ANDROID_VERBOSE_SETUP": "1", 169 "SKIA_ANDROID_VERBOSE_SETUP": "1",
95 "SKIA_OUT": "[SLAVE_BUILD]/out" 170 "SKIA_OUT": "[CUSTOM_/_B_CACHE]/skia/out/Build-Ubuntu-GCC-Arm7-Release-And roid"
96 }, 171 },
97 "name": "build dm" 172 "name": "build dm"
98 }, 173 },
99 { 174 {
100 "cmd": [ 175 "cmd": [
101 "[SLAVE_BUILD]/skia/platform_tools/android/bin/android_ninja", 176 "[SLAVE_BUILD]/skia/platform_tools/android/bin/android_ninja",
102 "nanobench", 177 "nanobench",
103 "-d", 178 "-d",
104 "arm_v7_neon", 179 "arm_v7_neon",
105 "--gcc" 180 "--gcc"
106 ], 181 ],
107 "cwd": "[SLAVE_BUILD]/skia", 182 "cwd": "[CUSTOM_/_B_CACHE]/skia",
108 "env": { 183 "env": {
109 "ANDROID_HOME": "/b/android-sdk-linux", 184 "ANDROID_HOME": "/b/android-sdk-linux",
110 "ANDROID_SDK_ROOT": "/b/android-sdk-linux", 185 "ANDROID_SDK_ROOT": "/b/android-sdk-linux",
111 "BUILDTYPE": "Release", 186 "BUILDTYPE": "Release",
112 "CHROME_HEADLESS": "1", 187 "CHROME_HEADLESS": "1",
113 "GYP_DEFINES": "skia_arch_type=arm skia_warnings_as_errors=1", 188 "GYP_DEFINES": "skia_arch_type=arm skia_warnings_as_errors=1",
114 "PATH": "[SLAVE_BUILD]/depot_tools:%(PATH)s", 189 "PATH": "[DEPOT_TOOLS]:%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PA CKAGE_REPO[depot_tools]",
190 "PYTHONPATH": "[BUILD]/scripts",
115 "SKIA_ANDROID_VERBOSE_SETUP": "1", 191 "SKIA_ANDROID_VERBOSE_SETUP": "1",
116 "SKIA_OUT": "[SLAVE_BUILD]/out" 192 "SKIA_OUT": "[CUSTOM_/_B_CACHE]/skia/out/Build-Ubuntu-GCC-Arm7-Release-And roid"
117 }, 193 },
118 "name": "build nanobench" 194 "name": "build nanobench"
119 }, 195 },
120 { 196 {
121 "cmd": [ 197 "cmd": [
122 "python", 198 "python",
123 "-u", 199 "-u",
124 "import errno\nimport glob\nimport os\nimport shutil\nimport sys\n\nsrc = sys.argv[1]\ndst = sys.argv[2]\nbuild_products_whitelist = ['dm', 'dm.exe', 'nan obench', 'nanobench.exe', '*.so', '*.dll', '*.dylib', 'skia_launcher', 'lib/*.so ', 'iOSShell.app', 'iOSShell.ipa']\n\ntry:\n os.makedirs(dst)\nexcept OSError a s e:\n if e.errno != errno.EEXIST:\n raise\n\nfor pattern in build_products_ whitelist:\n path = os.path.join(src, pattern)\n for f in glob.glob(path):\n print 'Copying build product %s to %s' % (f, dst)\n shutil.move(f, dst)\n", 200 "import errno\nimport glob\nimport os\nimport shutil\nimport sys\n\nsrc = sys.argv[1]\ndst = sys.argv[2]\nbuild_products_whitelist = ['dm', 'dm.exe', 'nan obench', 'nanobench.exe', '*.so', '*.dll', '*.dylib', 'skia_launcher', 'lib/*.so ', 'iOSShell.app', 'iOSShell.ipa']\n\ntry:\n os.makedirs(dst)\nexcept OSError a s e:\n if e.errno != errno.EEXIST:\n raise\n\nfor pattern in build_products_ whitelist:\n path = os.path.join(src, pattern)\n for f in glob.glob(path):\n print 'Copying build product %s to %s' % (f, dst)\n shutil.move(f, dst)\n",
125 "[SLAVE_BUILD]/out/Release", 201 "[CUSTOM_/_B_CACHE]/skia/out/Build-Ubuntu-GCC-Arm7-Release-Android/Release ",
126 "[SWARM_OUT_DIR]/out/Release" 202 "[SWARM_OUT_DIR]/out/Release"
127 ], 203 ],
128 "name": "copy build products", 204 "name": "copy build products",
129 "~followup_annotations": [ 205 "~followup_annotations": [
130 "@@@STEP_LOG_LINE@python.inline@import errno@@@", 206 "@@@STEP_LOG_LINE@python.inline@import errno@@@",
131 "@@@STEP_LOG_LINE@python.inline@import glob@@@", 207 "@@@STEP_LOG_LINE@python.inline@import glob@@@",
132 "@@@STEP_LOG_LINE@python.inline@import os@@@", 208 "@@@STEP_LOG_LINE@python.inline@import os@@@",
133 "@@@STEP_LOG_LINE@python.inline@import shutil@@@", 209 "@@@STEP_LOG_LINE@python.inline@import shutil@@@",
134 "@@@STEP_LOG_LINE@python.inline@import sys@@@", 210 "@@@STEP_LOG_LINE@python.inline@import sys@@@",
135 "@@@STEP_LOG_LINE@python.inline@@@@", 211 "@@@STEP_LOG_LINE@python.inline@@@@",
(...skipping 14 matching lines...) Expand all
150 "@@@STEP_LOG_LINE@python.inline@ shutil.move(f, dst)@@@", 226 "@@@STEP_LOG_LINE@python.inline@ shutil.move(f, dst)@@@",
151 "@@@STEP_LOG_END@python.inline@@@" 227 "@@@STEP_LOG_END@python.inline@@@"
152 ] 228 ]
153 }, 229 },
154 { 230 {
155 "name": "$result", 231 "name": "$result",
156 "recipe_result": null, 232 "recipe_result": null,
157 "status_code": 0 233 "status_code": 0
158 } 234 }
159 ] 235 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698