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

Side by Side Diff: infra/bots/recipes/swarm_compile.expected/Build-Ubuntu-GCC-x86_64-Release-Fast.json

Issue 2242213007: Try to use bot_update in Skia repo recipes Base URL: https://skia.googlesource.com/skia@master
Patch Set: Update expectations Created 4 years, 4 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 "\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", 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_WORK]", 7 "[CUSTOM_/_B_WORK]",
8 "511" 8 "511"
9 ], 9 ],
10 "name": "makedirs checkout_path", 10 "name": "makedirs checkout_path",
11 "~followup_annotations": [ 11 "~followup_annotations": [
12 "@@@STEP_LOG_LINE@python.inline@@@@", 12 "@@@STEP_LOG_LINE@python.inline@@@@",
13 "@@@STEP_LOG_LINE@python.inline@import sys, os@@@", 13 "@@@STEP_LOG_LINE@python.inline@import sys, os@@@",
14 "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@", 14 "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@",
15 "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@", 15 "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@",
16 "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@", 16 "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@",
17 "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(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@@@", 18 "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" % path@@@",
19 "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@", 19 "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@",
20 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@", 20 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@",
21 "@@@STEP_LOG_END@python.inline@@@" 21 "@@@STEP_LOG_END@python.inline@@@"
22 ] 22 ]
23 }, 23 },
24 { 24 {
25 "cmd": [ 25 "cmd": [
26 "python", 26 "python",
27 "-u", 27 "-u",
28 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", 28 "RECIPE_MODULE[depot_tools::bot_update]/resources/bot_update.py",
29 "config", 29 "--master",
30 "client.skia.compile",
31 "--builder",
32 "Build-Ubuntu-GCC-x86_64-Release-Fast",
33 "--slave",
34 "skiabot-linux-swarm-000",
30 "--spec", 35 "--spec",
31 "cache_dir = '[CUSTOM_/_B_CACHE]'\nsolutions = [{'deps_file': 'DEPS', 'man aged': False, 'name': 'skia', 'url': 'https://skia.googlesource.com/skia.git'}]\ ntarget_os = ['llvm']" 36 "cache_dir = '[CUSTOM_/_B_CACHE]'\nsolutions = [{'deps_file': 'DEPS', 'man aged': False, 'name': 'skia', 'url': 'https://skia.googlesource.com/skia.git'}]\ ntarget_os = ['llvm']",
37 "--root",
38 "skia",
39 "--revision_mapping_file",
40 "{\"skia\": \"got_revision\"}",
41 "--git-cache-dir",
42 "[CUSTOM_/_B_CACHE]",
43 "--output_json",
44 "/path/to/tmp/json",
45 "--revision",
46 "skia@abc123",
47 "--force",
48 "--output_manifest"
32 ], 49 ],
33 "cwd": "[CUSTOM_/_B_WORK]", 50 "cwd": "[CUSTOM_/_B_WORK]",
34 "env": { 51 "env": {
35 "BUILDTYPE": "Release", 52 "BUILDTYPE": "Release",
36 "CHROME_HEADLESS": "1", 53 "CHROME_HEADLESS": "1",
37 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]", 54 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]",
38 "SKIA_OUT": "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-GCC-x86_64-Release-Fa st" 55 "SKIA_OUT": "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-GCC-x86_64-Release-Fa st"
39 }, 56 },
40 "name": "gclient setup" 57 "name": "bot_update",
41 },
42 {
43 "cmd": [
44 "python",
45 "-u",
46 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py",
47 "sync",
48 "--nohooks",
49 "--force",
50 "--verbose",
51 "--delete_unversioned_trees",
52 "--revision",
53 "skia@abc123",
54 "--output-json",
55 "/path/to/tmp/json"
56 ],
57 "cwd": "[CUSTOM_/_B_WORK]",
58 "env": {
59 "BUILDTYPE": "Release",
60 "CHROME_HEADLESS": "1",
61 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[dep ot_tools]",
62 "SKIA_OUT": "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-GCC-x86_64-Release-Fa st"
63 },
64 "name": "gclient sync",
65 "~followup_annotations": [ 58 "~followup_annotations": [
59 "@@@STEP_TEXT@Some step text@@@",
66 "@@@STEP_LOG_LINE@json.output@{@@@", 60 "@@@STEP_LOG_LINE@json.output@{@@@",
67 "@@@STEP_LOG_LINE@json.output@ \"solutions\": {@@@", 61 "@@@STEP_LOG_LINE@json.output@ \"did_run\": true, @@@",
68 "@@@STEP_LOG_LINE@json.output@ \"skia/\": {@@@", 62 "@@@STEP_LOG_LINE@json.output@ \"fixed_revisions\": {@@@",
69 "@@@STEP_LOG_LINE@json.output@ \"revision\": 164710@@@", 63 "@@@STEP_LOG_LINE@json.output@ \"skia\": \"abc123\"@@@",
64 "@@@STEP_LOG_LINE@json.output@ }, @@@",
65 "@@@STEP_LOG_LINE@json.output@ \"manifest\": {@@@",
66 "@@@STEP_LOG_LINE@json.output@ \"skia\": {@@@",
67 "@@@STEP_LOG_LINE@json.output@ \"repository\": \"https://fake.org/ski a.git\", @@@",
68 "@@@STEP_LOG_LINE@json.output@ \"revision\": \"9046e2e693bb92a76e972b 694580e5d17ad10748\"@@@",
70 "@@@STEP_LOG_LINE@json.output@ }@@@", 69 "@@@STEP_LOG_LINE@json.output@ }@@@",
71 "@@@STEP_LOG_LINE@json.output@ }@@@", 70 "@@@STEP_LOG_LINE@json.output@ }, @@@",
71 "@@@STEP_LOG_LINE@json.output@ \"patch_failure\": false, @@@",
72 "@@@STEP_LOG_LINE@json.output@ \"patch_root\": \"skia\", @@@",
73 "@@@STEP_LOG_LINE@json.output@ \"properties\": {@@@",
74 "@@@STEP_LOG_LINE@json.output@ \"got_revision\": \"9046e2e693bb92a76e97 2b694580e5d17ad10748\", @@@",
75 "@@@STEP_LOG_LINE@json.output@ \"got_revision_cp\": \"refs/heads/master @{#164710}\"@@@",
76 "@@@STEP_LOG_LINE@json.output@ }, @@@",
77 "@@@STEP_LOG_LINE@json.output@ \"root\": \"skia\", @@@",
78 "@@@STEP_LOG_LINE@json.output@ \"step_text\": \"Some step text\"@@@",
72 "@@@STEP_LOG_LINE@json.output@}@@@", 79 "@@@STEP_LOG_LINE@json.output@}@@@",
73 "@@@STEP_LOG_END@json.output@@@", 80 "@@@STEP_LOG_END@json.output@@@",
74 "@@@SET_BUILD_PROPERTY@got_revision@164710@@@" 81 "@@@SET_BUILD_PROPERTY@got_revision@\"9046e2e693bb92a76e972b694580e5d17ad1 0748\"@@@",
82 "@@@SET_BUILD_PROPERTY@got_revision_cp@\"refs/heads/master@{#164710}\"@@@"
75 ] 83 ]
76 }, 84 },
77 { 85 {
78 "cmd": [ 86 "cmd": [
79 "python", 87 "python",
80 "-u", 88 "-u",
81 "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" 89 "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"
82 ], 90 ],
83 "env": { 91 "env": {
84 "BUILDTYPE": "Release", 92 "BUILDTYPE": "Release",
85 "CHROME_HEADLESS": "1", 93 "CHROME_HEADLESS": "1",
86 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[dep ot_tools]", 94 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]",
87 "SKIA_OUT": "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-GCC-x86_64-Release-Fa st" 95 "SKIA_OUT": "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-GCC-x86_64-Release-Fa st"
88 }, 96 },
89 "name": "has ccache?", 97 "name": "has ccache?",
90 "stdout": "/path/to/tmp/json", 98 "stdout": "/path/to/tmp/json",
91 "~followup_annotations": [ 99 "~followup_annotations": [
92 "@@@STEP_LOG_LINE@json.output (invalid)@null@@@", 100 "@@@STEP_LOG_LINE@json.output (invalid)@null@@@",
93 "@@@STEP_LOG_END@json.output (invalid)@@@", 101 "@@@STEP_LOG_END@json.output (invalid)@@@",
94 "@@@STEP_LOG_LINE@python.inline@import json@@@", 102 "@@@STEP_LOG_LINE@python.inline@import json@@@",
95 "@@@STEP_LOG_LINE@python.inline@import subprocess@@@", 103 "@@@STEP_LOG_LINE@python.inline@import subprocess@@@",
96 "@@@STEP_LOG_LINE@python.inline@import sys@@@", 104 "@@@STEP_LOG_LINE@python.inline@import sys@@@",
97 "@@@STEP_LOG_LINE@python.inline@@@@", 105 "@@@STEP_LOG_LINE@python.inline@@@@",
98 "@@@STEP_LOG_LINE@python.inline@ccache = None@@@", 106 "@@@STEP_LOG_LINE@python.inline@ccache = None@@@",
99 "@@@STEP_LOG_LINE@python.inline@try:@@@", 107 "@@@STEP_LOG_LINE@python.inline@try:@@@",
100 "@@@STEP_LOG_LINE@python.inline@ ccache = subprocess.check_output(['which ', 'ccache']).rstrip()@@@", 108 "@@@STEP_LOG_LINE@python.inline@ ccache = subprocess.check_output(['which ', 'ccache']).rstrip()@@@",
101 "@@@STEP_LOG_LINE@python.inline@except:@@@", 109 "@@@STEP_LOG_LINE@python.inline@except:@@@",
102 "@@@STEP_LOG_LINE@python.inline@ pass@@@", 110 "@@@STEP_LOG_LINE@python.inline@ pass@@@",
103 "@@@STEP_LOG_LINE@python.inline@print json.dumps({'ccache': ccache})@@@", 111 "@@@STEP_LOG_LINE@python.inline@print json.dumps({'ccache': ccache})@@@",
104 "@@@STEP_LOG_END@python.inline@@@" 112 "@@@STEP_LOG_END@python.inline@@@"
105 ] 113 ]
106 }, 114 },
107 { 115 {
108 "cmd": [ 116 "cmd": [
109 "[CUSTOM_/_B_WORK]/skia/bin/fetch-gn" 117 "[CUSTOM_/_B_WORK]/skia/bin/fetch-gn"
110 ], 118 ],
111 "cwd": "[CUSTOM_/_B_WORK]/skia", 119 "cwd": "[CUSTOM_/_B_WORK]/skia",
112 "env": { 120 "env": {
113 "BUILDTYPE": "Release", 121 "BUILDTYPE": "Release",
114 "CHROME_HEADLESS": "1", 122 "CHROME_HEADLESS": "1",
115 "GYP_DEFINES": "skia_arch_type=x86_64 skia_fast=1 skia_warnings_as_errors= 0", 123 "GYP_DEFINES": "skia_arch_type=x86_64 skia_fast=1 skia_warnings_as_errors= 0",
116 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[dep ot_tools]", 124 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]",
117 "SKIA_OUT": "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-GCC-x86_64-Release-Fa st" 125 "SKIA_OUT": "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-GCC-x86_64-Release-Fa st"
118 }, 126 },
119 "name": "fetch-gn" 127 "name": "fetch-gn"
120 }, 128 },
121 { 129 {
122 "cmd": [ 130 "cmd": [
123 "gn", 131 "gn",
124 "gen", 132 "gen",
125 "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-GCC-x86_64-Release-Fast/Release", 133 "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-GCC-x86_64-Release-Fast/Release",
126 "--args=cc=\"gcc\" cxx=\"g++\" is_debug=false extra_cflags=\"-march=native -fomit-frame-pointer -O3\"" 134 "--args=cc=\"gcc\" cxx=\"g++\" is_debug=false extra_cflags=\"-march=native -fomit-frame-pointer -O3\""
127 ], 135 ],
128 "cwd": "[CUSTOM_/_B_WORK]/skia", 136 "cwd": "[CUSTOM_/_B_WORK]/skia",
129 "env": { 137 "env": {
130 "BUILDTYPE": "Release", 138 "BUILDTYPE": "Release",
131 "CHROME_HEADLESS": "1", 139 "CHROME_HEADLESS": "1",
132 "GYP_DEFINES": "skia_arch_type=x86_64 skia_fast=1 skia_warnings_as_errors= 0", 140 "GYP_DEFINES": "skia_arch_type=x86_64 skia_fast=1 skia_warnings_as_errors= 0",
133 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[dep ot_tools]", 141 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]",
134 "SKIA_OUT": "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-GCC-x86_64-Release-Fa st" 142 "SKIA_OUT": "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-GCC-x86_64-Release-Fa st"
135 }, 143 },
136 "name": "gn gen" 144 "name": "gn gen"
137 }, 145 },
138 { 146 {
139 "cmd": [ 147 "cmd": [
140 "ninja", 148 "ninja",
141 "-C", 149 "-C",
142 "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-GCC-x86_64-Release-Fast/Release" 150 "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-GCC-x86_64-Release-Fast/Release"
143 ], 151 ],
144 "cwd": "[CUSTOM_/_B_WORK]/skia", 152 "cwd": "[CUSTOM_/_B_WORK]/skia",
145 "env": { 153 "env": {
146 "BUILDTYPE": "Release", 154 "BUILDTYPE": "Release",
147 "CHROME_HEADLESS": "1", 155 "CHROME_HEADLESS": "1",
148 "GYP_DEFINES": "skia_arch_type=x86_64 skia_fast=1 skia_warnings_as_errors= 0", 156 "GYP_DEFINES": "skia_arch_type=x86_64 skia_fast=1 skia_warnings_as_errors= 0",
149 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[dep ot_tools]", 157 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]",
150 "SKIA_OUT": "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-GCC-x86_64-Release-Fa st" 158 "SKIA_OUT": "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-GCC-x86_64-Release-Fa st"
151 }, 159 },
152 "name": "ninja" 160 "name": "ninja"
153 }, 161 },
154 { 162 {
155 "cmd": [ 163 "cmd": [
156 "python", 164 "python",
157 "-u", 165 "-u",
158 "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', 'get _images_from_skps', 'get_images_from_skps.exe', 'nanobench', 'nanobench.exe', '* .so', '*.dll', '*.dylib', 'skia_launcher', 'lib/*.so', 'iOSShell.app', 'iOSShell .ipa', 'visualbench', 'visualbench.exe', 'vulkan-1.dll']\n\ntry:\n os.makedirs( dst)\nexcept OSError as e:\n if e.errno != errno.EEXIST:\n raise\n\nfor patt ern in build_products_whitelist:\n path = os.path.join(src, pattern)\n for f i n glob.glob(path):\n dst_path = os.path.join(dst, os.path.relpath(f, src))\n if not os.path.isdir(os.path.dirname(dst_path)):\n os.makedirs(os.path.d irname(dst_path))\n print 'Copying build product %s to %s' % (f, dst_path)\n shutil.move(f, dst_path)\n", 166 "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', 'get _images_from_skps', 'get_images_from_skps.exe', 'nanobench', 'nanobench.exe', '* .so', '*.dll', '*.dylib', 'skia_launcher', 'lib/*.so', 'iOSShell.app', 'iOSShell .ipa', 'visualbench', 'visualbench.exe', 'vulkan-1.dll']\n\ntry:\n os.makedirs( dst)\nexcept OSError as e:\n if e.errno != errno.EEXIST:\n raise\n\nfor patt ern in build_products_whitelist:\n path = os.path.join(src, pattern)\n for f i n glob.glob(path):\n dst_path = os.path.join(dst, os.path.relpath(f, src))\n if not os.path.isdir(os.path.dirname(dst_path)):\n os.makedirs(os.path.d irname(dst_path))\n print 'Copying build product %s to %s' % (f, dst_path)\n shutil.move(f, dst_path)\n",
159 "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-GCC-x86_64-Release-Fast/Release", 167 "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-GCC-x86_64-Release-Fast/Release",
(...skipping 27 matching lines...) Expand all
187 "@@@STEP_LOG_LINE@python.inline@ shutil.move(f, dst_path)@@@", 195 "@@@STEP_LOG_LINE@python.inline@ shutil.move(f, dst_path)@@@",
188 "@@@STEP_LOG_END@python.inline@@@" 196 "@@@STEP_LOG_END@python.inline@@@"
189 ] 197 ]
190 }, 198 },
191 { 199 {
192 "name": "$result", 200 "name": "$result",
193 "recipe_result": null, 201 "recipe_result": null,
194 "status_code": 0 202 "status_code": 0
195 } 203 }
196 ] 204 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698