OLD | NEW |
| (Empty) |
1 [ | |
2 { | |
3 "cmd": [ | |
4 "python", | |
5 "-u", | |
6 "[BUILD]/scripts/slave/bot_update.py", | |
7 "--master", | |
8 "client.v8", | |
9 "--builder", | |
10 "V8 Linux - memcheck", | |
11 "--slave", | |
12 "TestSlavename", | |
13 "--spec", | |
14 "cache_dir = None\nsolutions = [{'custom_vars': {'chromium_trunk': 'svn://
svn-mirror.golo.chromium.org/chrome/trunk'}, 'deps_file': 'DEPS', 'managed': Tru
e, 'name': 'v8', 'url': 'https://chromium.googlesource.com/v8/v8'}]", | |
15 "--root", | |
16 "v8", | |
17 "--revision_mapping_file", | |
18 "{\"v8\": \"got_revision\"}", | |
19 "--output_json", | |
20 "/path/to/tmp/json", | |
21 "--revision", | |
22 "v8@54321", | |
23 "--no_shallow", | |
24 "--output_manifest" | |
25 ], | |
26 "cwd": "[SLAVE_BUILD]", | |
27 "name": "bot_update", | |
28 "~followup_annotations": [ | |
29 "@@@STEP_TEXT@Some step text@@@", | |
30 "@@@STEP_LOG_LINE@json.output@{@@@", | |
31 "@@@STEP_LOG_LINE@json.output@ \"did_run\": true, @@@", | |
32 "@@@STEP_LOG_LINE@json.output@ \"manifest\": {@@@", | |
33 "@@@STEP_LOG_LINE@json.output@ \"v8\": {@@@", | |
34 "@@@STEP_LOG_LINE@json.output@ \"repository\": \"https://fake.org/v8.
git\", @@@", | |
35 "@@@STEP_LOG_LINE@json.output@ \"revision\": \"f2cbea7e89a45f46819777
bb78a1f5bd0241f64c\"@@@", | |
36 "@@@STEP_LOG_LINE@json.output@ }@@@", | |
37 "@@@STEP_LOG_LINE@json.output@ }, @@@", | |
38 "@@@STEP_LOG_LINE@json.output@ \"patch_failure\": false, @@@", | |
39 "@@@STEP_LOG_LINE@json.output@ \"patch_root\": \"v8\", @@@", | |
40 "@@@STEP_LOG_LINE@json.output@ \"properties\": {@@@", | |
41 "@@@STEP_LOG_LINE@json.output@ \"got_revision\": \"f2cbea7e89a45f468197
77bb78a1f5bd0241f64c\", @@@", | |
42 "@@@STEP_LOG_LINE@json.output@ \"got_revision_cp\": \"refs/heads/master
@{#50110}\"@@@", | |
43 "@@@STEP_LOG_LINE@json.output@ }, @@@", | |
44 "@@@STEP_LOG_LINE@json.output@ \"root\": \"v8\", @@@", | |
45 "@@@STEP_LOG_LINE@json.output@ \"step_text\": \"Some step text\"@@@", | |
46 "@@@STEP_LOG_LINE@json.output@}@@@", | |
47 "@@@STEP_LOG_END@json.output@@@", | |
48 "@@@SET_BUILD_PROPERTY@got_revision@\"f2cbea7e89a45f46819777bb78a1f5bd0241
f64c\"@@@", | |
49 "@@@SET_BUILD_PROPERTY@got_revision_cp@\"refs/heads/master@{#50110}\"@@@" | |
50 ] | |
51 }, | |
52 { | |
53 "cmd": [ | |
54 "python", | |
55 "-u", | |
56 "[DEPOT_TOOLS]/gclient.py", | |
57 "runhooks" | |
58 ], | |
59 "cwd": "[SLAVE_BUILD]", | |
60 "env": { | |
61 "GYP_DEFINES": "target_arch=ia32 v8_enable_slow_dchecks=1 v8_optimized_deb
ug=1 v8_target_arch=ia32" | |
62 }, | |
63 "name": "gclient runhooks" | |
64 }, | |
65 { | |
66 "cmd": [ | |
67 "python", | |
68 "-u", | |
69 "[BUILD]/scripts/slave/cleanup_temp.py" | |
70 ], | |
71 "cwd": "[SLAVE_BUILD]", | |
72 "name": "cleanup_temp" | |
73 }, | |
74 { | |
75 "cmd": [ | |
76 "python", | |
77 "-u", | |
78 "\nimport os, sys\nfrom common import chromium_utils\n\nif os.path.exists(
sys.argv[1]):\n chromium_utils.RemoveDirectory(sys.argv[1])\n", | |
79 "[SLAVE_BUILD]/v8/out/Debug" | |
80 ], | |
81 "cwd": "[SLAVE_BUILD]", | |
82 "name": "rmtree build directory", | |
83 "~followup_annotations": [ | |
84 "@@@STEP_LOG_LINE@python.inline@@@@", | |
85 "@@@STEP_LOG_LINE@python.inline@import os, sys@@@", | |
86 "@@@STEP_LOG_LINE@python.inline@from common import chromium_utils@@@", | |
87 "@@@STEP_LOG_LINE@python.inline@@@@", | |
88 "@@@STEP_LOG_LINE@python.inline@if os.path.exists(sys.argv[1]):@@@", | |
89 "@@@STEP_LOG_LINE@python.inline@ chromium_utils.RemoveDirectory(sys.argv[
1])@@@", | |
90 "@@@STEP_LOG_END@python.inline@@@" | |
91 ] | |
92 }, | |
93 { | |
94 "cmd": [ | |
95 "python", | |
96 "-u", | |
97 "[BUILD]/scripts/slave/extract_build.py", | |
98 "--target", | |
99 "Debug", | |
100 "--build-url", | |
101 "gs://chromium-v8/v8-linux-dbg", | |
102 "--src-dir", | |
103 "v8", | |
104 "--master-name", | |
105 "client.v8", | |
106 "--build-number", | |
107 "571" | |
108 ], | |
109 "cwd": "[SLAVE_BUILD]", | |
110 "name": "extract build" | |
111 }, | |
112 { | |
113 "cmd": [ | |
114 "valgrind", | |
115 "--leak-check=full", | |
116 "--show-reachable=yes", | |
117 "--num-callers=20", | |
118 "out/Debug/d8", | |
119 "-e", | |
120 "\"print(1+2)\"" | |
121 ], | |
122 "cwd": "[SLAVE_BUILD]/v8", | |
123 "name": "Simple Leak Check", | |
124 "stderr": "/path/to/tmp/", | |
125 "~followup_annotations": [ | |
126 "@@@STEP_LOG_LINE@stderr@tons of leaks@@@", | |
127 "@@@STEP_LOG_END@stderr@@@", | |
128 "@@@STEP_FAILURE@@@" | |
129 ] | |
130 }, | |
131 { | |
132 "name": "$result", | |
133 "reason": "1 tests failed: ['simpleleak']", | |
134 "status_code": 1 | |
135 } | |
136 ] | |
OLD | NEW |