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

Side by Side Diff: infra/bots/recipes/swarm_compile.expected/Build-Ubuntu-GCC-x86_64-Release-PDFium.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-PDFium",
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'}, {'deps_file': 'DEPS', 'managed': False, 'name': 'pdfium', 'url': 'https://pdfium .googlesource.com/pdfium.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'}, {'deps_file': 'DEPS', 'managed': False, 'name': 'pdfium', 'url': 'https://pdfium .googlesource.com/pdfium.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 "pdfium@origin/master",
47 "--revision",
48 "skia@abc123",
49 "--force",
50 "--output_manifest"
32 ], 51 ],
33 "cwd": "[CUSTOM_/_B_WORK]", 52 "cwd": "[CUSTOM_/_B_WORK]",
34 "env": { 53 "env": {
35 "BUILDTYPE": "Release", 54 "BUILDTYPE": "Release",
36 "CHROME_HEADLESS": "1", 55 "CHROME_HEADLESS": "1",
37 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]", 56 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]",
38 "SKIA_OUT": "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-GCC-x86_64-Release-PD Fium" 57 "SKIA_OUT": "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-GCC-x86_64-Release-PD Fium"
39 }, 58 },
40 "name": "gclient setup" 59 "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 "--revision",
55 "pdfium@origin/master",
56 "--output-json",
57 "/path/to/tmp/json"
58 ],
59 "cwd": "[CUSTOM_/_B_WORK]",
60 "env": {
61 "BUILDTYPE": "Release",
62 "CHROME_HEADLESS": "1",
63 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[dep ot_tools]",
64 "SKIA_OUT": "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-GCC-x86_64-Release-PD Fium"
65 },
66 "name": "gclient sync",
67 "~followup_annotations": [ 60 "~followup_annotations": [
61 "@@@STEP_TEXT@Some step text@@@",
68 "@@@STEP_LOG_LINE@json.output@{@@@", 62 "@@@STEP_LOG_LINE@json.output@{@@@",
69 "@@@STEP_LOG_LINE@json.output@ \"solutions\": {@@@", 63 "@@@STEP_LOG_LINE@json.output@ \"did_run\": true, @@@",
70 "@@@STEP_LOG_LINE@json.output@ \"pdfium/\": {@@@", 64 "@@@STEP_LOG_LINE@json.output@ \"fixed_revisions\": {@@@",
71 "@@@STEP_LOG_LINE@json.output@ \"revision\": 52055@@@", 65 "@@@STEP_LOG_LINE@json.output@ \"pdfium\": \"origin/master\", @@@",
72 "@@@STEP_LOG_LINE@json.output@ }, @@@", 66 "@@@STEP_LOG_LINE@json.output@ \"skia\": \"abc123\"@@@",
73 "@@@STEP_LOG_LINE@json.output@ \"skia/\": {@@@", 67 "@@@STEP_LOG_LINE@json.output@ }, @@@",
74 "@@@STEP_LOG_LINE@json.output@ \"revision\": 164710@@@", 68 "@@@STEP_LOG_LINE@json.output@ \"manifest\": {@@@",
69 "@@@STEP_LOG_LINE@json.output@ \"skia\": {@@@",
70 "@@@STEP_LOG_LINE@json.output@ \"repository\": \"https://fake.org/ski a.git\", @@@",
71 "@@@STEP_LOG_LINE@json.output@ \"revision\": \"9046e2e693bb92a76e972b 694580e5d17ad10748\"@@@",
75 "@@@STEP_LOG_LINE@json.output@ }@@@", 72 "@@@STEP_LOG_LINE@json.output@ }@@@",
76 "@@@STEP_LOG_LINE@json.output@ }@@@", 73 "@@@STEP_LOG_LINE@json.output@ }, @@@",
74 "@@@STEP_LOG_LINE@json.output@ \"patch_failure\": false, @@@",
75 "@@@STEP_LOG_LINE@json.output@ \"patch_root\": \"skia\", @@@",
76 "@@@STEP_LOG_LINE@json.output@ \"properties\": {@@@",
77 "@@@STEP_LOG_LINE@json.output@ \"got_revision\": \"9046e2e693bb92a76e97 2b694580e5d17ad10748\", @@@",
78 "@@@STEP_LOG_LINE@json.output@ \"got_revision_cp\": \"refs/heads/master @{#164710}\"@@@",
79 "@@@STEP_LOG_LINE@json.output@ }, @@@",
80 "@@@STEP_LOG_LINE@json.output@ \"root\": \"skia\", @@@",
81 "@@@STEP_LOG_LINE@json.output@ \"step_text\": \"Some step text\"@@@",
77 "@@@STEP_LOG_LINE@json.output@}@@@", 82 "@@@STEP_LOG_LINE@json.output@}@@@",
78 "@@@STEP_LOG_END@json.output@@@", 83 "@@@STEP_LOG_END@json.output@@@",
79 "@@@SET_BUILD_PROPERTY@got_revision@164710@@@" 84 "@@@SET_BUILD_PROPERTY@got_revision@\"9046e2e693bb92a76e972b694580e5d17ad1 0748\"@@@",
85 "@@@SET_BUILD_PROPERTY@got_revision_cp@\"refs/heads/master@{#164710}\"@@@"
80 ] 86 ]
81 }, 87 },
82 { 88 {
83 "cmd": [ 89 "cmd": [
84 "gclient", 90 "gclient",
85 "runhook", 91 "runhook",
86 "gn_linux64" 92 "gn_linux64"
87 ], 93 ],
88 "cwd": "[CUSTOM_/_B_WORK]/pdfium", 94 "cwd": "[CUSTOM_/_B_WORK]/pdfium",
89 "env": { 95 "env": {
90 "BUILDTYPE": "Release", 96 "BUILDTYPE": "Release",
91 "CHROME_HEADLESS": "1", 97 "CHROME_HEADLESS": "1",
92 "GYP_DEFINES": "skia_arch_type=x86_64 skia_warnings_as_errors=1", 98 "GYP_DEFINES": "skia_arch_type=x86_64 skia_warnings_as_errors=1",
93 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[dep ot_tools]", 99 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]",
94 "SKIA_OUT": "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-GCC-x86_64-Release-PD Fium" 100 "SKIA_OUT": "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-GCC-x86_64-Release-PD Fium"
95 }, 101 },
96 "name": "runhook" 102 "name": "runhook"
97 }, 103 },
98 { 104 {
99 "cmd": [ 105 "cmd": [
100 "gn", 106 "gn",
101 "gen", 107 "gen",
102 "out/skia", 108 "out/skia",
103 "--args=pdf_use_skia=true pdf_is_standalone=true clang_use_chrome_plugins= false" 109 "--args=pdf_use_skia=true pdf_is_standalone=true clang_use_chrome_plugins= false"
104 ], 110 ],
105 "cwd": "[CUSTOM_/_B_WORK]/pdfium", 111 "cwd": "[CUSTOM_/_B_WORK]/pdfium",
106 "env": { 112 "env": {
107 "BUILDTYPE": "Release", 113 "BUILDTYPE": "Release",
108 "CHROME_HEADLESS": "1", 114 "CHROME_HEADLESS": "1",
109 "CHROMIUM_BUILDTOOLS_PATH": "[CUSTOM_/_B_WORK]/pdfium/buildtools", 115 "CHROMIUM_BUILDTOOLS_PATH": "[CUSTOM_/_B_WORK]/pdfium/buildtools",
110 "GYP_DEFINES": "skia_arch_type=x86_64 skia_warnings_as_errors=1", 116 "GYP_DEFINES": "skia_arch_type=x86_64 skia_warnings_as_errors=1",
111 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[dep ot_tools]", 117 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]",
112 "SKIA_OUT": "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-GCC-x86_64-Release-PD Fium" 118 "SKIA_OUT": "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-GCC-x86_64-Release-PD Fium"
113 }, 119 },
114 "name": "gn_gen" 120 "name": "gn_gen"
115 }, 121 },
116 { 122 {
117 "cmd": [ 123 "cmd": [
118 "python", 124 "python",
119 "-u", 125 "-u",
120 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", 126 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
121 "[CUSTOM_/_B_WORK]/pdfium/DEPS", 127 "[CUSTOM_/_B_WORK]/pdfium/DEPS",
122 "/path/to/tmp/" 128 "/path/to/tmp/"
123 ], 129 ],
124 "name": "read PDFium DEPS" 130 "name": "read PDFium DEPS"
125 }, 131 },
126 { 132 {
127 "cmd": [ 133 "cmd": [
128 "python", 134 "python",
129 "-u", 135 "-u",
130 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", 136 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
131 "'skia_revision': '164710'", 137 "'skia_revision': '9046e2e693bb92a76e972b694580e5d17ad10748'",
132 "[CUSTOM_/_B_WORK]/pdfium/DEPS" 138 "[CUSTOM_/_B_WORK]/pdfium/DEPS"
133 ], 139 ],
134 "name": "write PDFium DEPs" 140 "name": "write PDFium DEPs"
135 }, 141 },
136 { 142 {
137 "cmd": [ 143 "cmd": [
138 "gclient", 144 "gclient",
139 "sync" 145 "sync"
140 ], 146 ],
141 "cwd": "[CUSTOM_/_B_WORK]/pdfium", 147 "cwd": "[CUSTOM_/_B_WORK]/pdfium",
142 "env": { 148 "env": {
143 "BUILDTYPE": "Release", 149 "BUILDTYPE": "Release",
144 "CHROME_HEADLESS": "1", 150 "CHROME_HEADLESS": "1",
145 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[dep ot_tools]", 151 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]",
146 "SKIA_OUT": "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-GCC-x86_64-Release-PD Fium" 152 "SKIA_OUT": "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-GCC-x86_64-Release-PD Fium"
147 }, 153 },
148 "name": "sync_pdfium" 154 "name": "sync_pdfium"
149 }, 155 },
150 { 156 {
151 "cmd": [ 157 "cmd": [
152 "ninja", 158 "ninja",
153 "-C", 159 "-C",
154 "out/skia", 160 "out/skia",
155 "-j100" 161 "-j100"
156 ], 162 ],
157 "cwd": "[CUSTOM_/_B_WORK]/pdfium", 163 "cwd": "[CUSTOM_/_B_WORK]/pdfium",
158 "env": { 164 "env": {
159 "BUILDTYPE": "Release", 165 "BUILDTYPE": "Release",
160 "CHROME_HEADLESS": "1", 166 "CHROME_HEADLESS": "1",
161 "CHROMIUM_BUILDTOOLS_PATH": "[CUSTOM_/_B_WORK]/pdfium/buildtools", 167 "CHROMIUM_BUILDTOOLS_PATH": "[CUSTOM_/_B_WORK]/pdfium/buildtools",
162 "GYP_DEFINES": "skia_arch_type=x86_64 skia_warnings_as_errors=1", 168 "GYP_DEFINES": "skia_arch_type=x86_64 skia_warnings_as_errors=1",
163 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[dep ot_tools]", 169 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]",
164 "SKIA_OUT": "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-GCC-x86_64-Release-PD Fium" 170 "SKIA_OUT": "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-GCC-x86_64-Release-PD Fium"
165 }, 171 },
166 "name": "build_pdfium" 172 "name": "build_pdfium"
167 }, 173 },
168 { 174 {
169 "cmd": [ 175 "cmd": [
170 "python", 176 "python",
171 "-u", 177 "-u",
172 "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", 178 "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",
173 "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-GCC-x86_64-Release-PDFium/Release ", 179 "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-GCC-x86_64-Release-PDFium/Release ",
(...skipping 27 matching lines...) Expand all
201 "@@@STEP_LOG_LINE@python.inline@ shutil.move(f, dst_path)@@@", 207 "@@@STEP_LOG_LINE@python.inline@ shutil.move(f, dst_path)@@@",
202 "@@@STEP_LOG_END@python.inline@@@" 208 "@@@STEP_LOG_END@python.inline@@@"
203 ] 209 ]
204 }, 210 },
205 { 211 {
206 "name": "$result", 212 "name": "$result",
207 "recipe_result": null, 213 "recipe_result": null,
208 "status_code": 0 214 "status_code": 0
209 } 215 }
210 ] 216 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698