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

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

Issue 2215443003: [recipes] Increase test coverage (Closed) Base URL: https://skia.googlesource.com/skia.git@merge_buildbot_spec
Patch Set: 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",
(...skipping 17 matching lines...) Expand all
28 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", 28 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py",
29 "config", 29 "config",
30 "--spec", 30 "--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']" 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']"
32 ], 32 ],
33 "cwd": "[CUSTOM_/_B_WORK]", 33 "cwd": "[CUSTOM_/_B_WORK]",
34 "env": { 34 "env": {
35 "BUILDTYPE": "Debug", 35 "BUILDTYPE": "Debug",
36 "CHROME_HEADLESS": "1", 36 "CHROME_HEADLESS": "1",
37 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]", 37 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]",
38 "SKIA_OUT": "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-GCC-x86-Debug" 38 "SKIA_OUT": "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-GCC-x86_64-Debug-SK_U SE_DISCARDABLE_SCALEDIMAGECACHE"
39 }, 39 },
40 "name": "gclient setup" 40 "name": "gclient setup"
41 }, 41 },
42 { 42 {
43 "cmd": [ 43 "cmd": [
44 "python", 44 "python",
45 "-u", 45 "-u",
46 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", 46 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py",
47 "sync", 47 "sync",
48 "--nohooks", 48 "--nohooks",
49 "--force", 49 "--force",
50 "--verbose", 50 "--verbose",
51 "--delete_unversioned_trees", 51 "--delete_unversioned_trees",
52 "--revision", 52 "--revision",
53 "skia@abc123", 53 "skia@abc123",
54 "--output-json", 54 "--output-json",
55 "/path/to/tmp/json" 55 "/path/to/tmp/json"
56 ], 56 ],
57 "cwd": "[CUSTOM_/_B_WORK]", 57 "cwd": "[CUSTOM_/_B_WORK]",
58 "env": { 58 "env": {
59 "BUILDTYPE": "Debug", 59 "BUILDTYPE": "Debug",
60 "CHROME_HEADLESS": "1", 60 "CHROME_HEADLESS": "1",
61 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[dep ot_tools]", 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-Debug" 62 "SKIA_OUT": "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-GCC-x86_64-Debug-SK_U SE_DISCARDABLE_SCALEDIMAGECACHE"
63 }, 63 },
64 "name": "gclient sync", 64 "name": "gclient sync",
65 "~followup_annotations": [ 65 "~followup_annotations": [
66 "@@@STEP_LOG_LINE@json.output@{@@@", 66 "@@@STEP_LOG_LINE@json.output@{@@@",
67 "@@@STEP_LOG_LINE@json.output@ \"solutions\": {@@@", 67 "@@@STEP_LOG_LINE@json.output@ \"solutions\": {@@@",
68 "@@@STEP_LOG_LINE@json.output@ \"skia/\": {@@@", 68 "@@@STEP_LOG_LINE@json.output@ \"skia/\": {@@@",
69 "@@@STEP_LOG_LINE@json.output@ \"revision\": 164710@@@", 69 "@@@STEP_LOG_LINE@json.output@ \"revision\": 164710@@@",
70 "@@@STEP_LOG_LINE@json.output@ }@@@", 70 "@@@STEP_LOG_LINE@json.output@ }@@@",
71 "@@@STEP_LOG_LINE@json.output@ }@@@", 71 "@@@STEP_LOG_LINE@json.output@ }@@@",
72 "@@@STEP_LOG_LINE@json.output@}@@@", 72 "@@@STEP_LOG_LINE@json.output@}@@@",
73 "@@@STEP_LOG_END@json.output@@@", 73 "@@@STEP_LOG_END@json.output@@@",
74 "@@@SET_BUILD_PROPERTY@got_revision@164710@@@" 74 "@@@SET_BUILD_PROPERTY@got_revision@164710@@@"
75 ] 75 ]
76 }, 76 },
77 { 77 {
78 "cmd": [ 78 "cmd": [
79 "make", 79 "make",
80 "most" 80 "most"
81 ], 81 ],
82 "cwd": "[CUSTOM_/_B_WORK]/skia", 82 "cwd": "[CUSTOM_/_B_WORK]/skia",
83 "env": { 83 "env": {
84 "BUILDTYPE": "Debug", 84 "BUILDTYPE": "Debug",
85 "CHROME_HEADLESS": "1", 85 "CHROME_HEADLESS": "1",
86 "CHROME_PATH": "[SLAVE_BUILD]/src", 86 "CHROME_PATH": "[SLAVE_BUILD]/src",
87 "GYP_DEFINES": "skia_arch_type=x86 skia_warnings_as_errors=1", 87 "CPPFLAGS": "-DSK_USE_DISCARDABLE_SCALEDIMAGECACHE",
88 "GYP_DEFINES": "skia_arch_type=x86_64 skia_warnings_as_errors=1",
88 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[dep ot_tools]", 89 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[dep ot_tools]",
89 "SKIA_OUT": "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-GCC-x86-Debug" 90 "SKIA_OUT": "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-GCC-x86_64-Debug-SK_U SE_DISCARDABLE_SCALEDIMAGECACHE"
90 }, 91 },
91 "name": "build most" 92 "name": "build most"
92 }, 93 },
93 { 94 {
94 "cmd": [ 95 "cmd": [
95 "python", 96 "python",
96 "-u", 97 "-u",
97 "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', 'visualbench', 'visualbench.exe', 'vulkan-1.d ll']\n\ntry:\n os.makedirs(dst)\nexcept OSError as e:\n if e.errno != errno.EE XIST:\n raise\n\nfor pattern in build_products_whitelist:\n path = os.path.j oin(src, pattern)\n for f in 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.dirname(dst_path))\n print 'Copying build product %s to %s' % (f, dst_path)\n shutil.move(f, dst_path)\n", 98 "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', 'visualbench', 'visualbench.exe', 'vulkan-1.d ll']\n\ntry:\n os.makedirs(dst)\nexcept OSError as e:\n if e.errno != errno.EE XIST:\n raise\n\nfor pattern in build_products_whitelist:\n path = os.path.j oin(src, pattern)\n for f in 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.dirname(dst_path))\n print 'Copying build product %s to %s' % (f, dst_path)\n shutil.move(f, dst_path)\n",
98 "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-GCC-x86-Debug/Debug", 99 "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-GCC-x86_64-Debug-SK_USE_DISCARDAB LE_SCALEDIMAGECACHE/Debug",
99 "[CUSTOM_[SWARM_OUT_DIR]]/out/Debug" 100 "[CUSTOM_[SWARM_OUT_DIR]]/out/Debug"
100 ], 101 ],
101 "name": "copy build products", 102 "name": "copy build products",
102 "~followup_annotations": [ 103 "~followup_annotations": [
103 "@@@STEP_LOG_LINE@python.inline@import errno@@@", 104 "@@@STEP_LOG_LINE@python.inline@import errno@@@",
104 "@@@STEP_LOG_LINE@python.inline@import glob@@@", 105 "@@@STEP_LOG_LINE@python.inline@import glob@@@",
105 "@@@STEP_LOG_LINE@python.inline@import os@@@", 106 "@@@STEP_LOG_LINE@python.inline@import os@@@",
106 "@@@STEP_LOG_LINE@python.inline@import shutil@@@", 107 "@@@STEP_LOG_LINE@python.inline@import shutil@@@",
107 "@@@STEP_LOG_LINE@python.inline@import sys@@@", 108 "@@@STEP_LOG_LINE@python.inline@import sys@@@",
108 "@@@STEP_LOG_LINE@python.inline@@@@", 109 "@@@STEP_LOG_LINE@python.inline@@@@",
(...skipping 17 matching lines...) Expand all
126 "@@@STEP_LOG_LINE@python.inline@ shutil.move(f, dst_path)@@@", 127 "@@@STEP_LOG_LINE@python.inline@ shutil.move(f, dst_path)@@@",
127 "@@@STEP_LOG_END@python.inline@@@" 128 "@@@STEP_LOG_END@python.inline@@@"
128 ] 129 ]
129 }, 130 },
130 { 131 {
131 "name": "$result", 132 "name": "$result",
132 "recipe_result": null, 133 "recipe_result": null,
133 "status_code": 0 134 "status_code": 0
134 } 135 }
135 ] 136 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698