OLD | NEW |
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-Debug", |
| 33 "--slave", |
| 34 "skiabot-win-compile-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": "Debug", | 52 "BUILDTYPE": "Debug", |
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-Debug" | 55 "SKIA_OUT": "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-GCC-x86-Debug" |
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": "Debug", | |
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-Debug" | |
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 "make", | 87 "make", |
80 "most" | 88 "most" |
81 ], | 89 ], |
82 "cwd": "[CUSTOM_/_B_WORK]/skia", | 90 "cwd": "[CUSTOM_/_B_WORK]/skia", |
83 "env": { | 91 "env": { |
84 "BUILDTYPE": "Debug", | 92 "BUILDTYPE": "Debug", |
85 "CHROME_HEADLESS": "1", | 93 "CHROME_HEADLESS": "1", |
86 "CHROME_PATH": "[SLAVE_BUILD]/src", | 94 "CHROME_PATH": "[SLAVE_BUILD]/src", |
87 "GYP_DEFINES": "skia_arch_type=x86 skia_warnings_as_errors=1", | 95 "GYP_DEFINES": "skia_arch_type=x86 skia_warnings_as_errors=1", |
88 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[dep
ot_tools]", | 96 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]", |
89 "SKIA_OUT": "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-GCC-x86-Debug" | 97 "SKIA_OUT": "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-GCC-x86-Debug" |
90 }, | 98 }, |
91 "name": "build most", | 99 "name": "build most", |
92 "~followup_annotations": [ | 100 "~followup_annotations": [ |
93 "step returned non-zero exit code: 1", | 101 "step returned non-zero exit code: 1", |
94 "@@@STEP_FAILURE@@@" | 102 "@@@STEP_FAILURE@@@" |
95 ] | 103 ] |
96 }, | 104 }, |
97 { | 105 { |
98 "name": "$result", | 106 "name": "$result", |
99 "reason": "Step('build most') failed with return_code 1", | 107 "reason": "Step('build most') failed with return_code 1", |
100 "recipe_result": null, | 108 "recipe_result": null, |
101 "status_code": 1 | 109 "status_code": 1 |
102 } | 110 } |
103 ] | 111 ] |
OLD | NEW |