OLD | NEW |
1 [ | 1 [ |
2 { | 2 { |
3 "cmd": [ | 3 "cmd": [ |
4 "python", | 4 "python", |
5 "-u", | 5 "-u", |
6 "RECIPE_MODULE[depot_tools::git]/resources/git_setup.py", | 6 "RECIPE_MODULE[depot_tools::git]/resources/git_setup.py", |
7 "--path", | 7 "--path", |
8 "[SLAVE_BUILD]/swarming.client", | 8 "[CWD]/swarming.client", |
9 "--url", | 9 "--url", |
10 "https://chromium.googlesource.com/external/swarming.client.git" | 10 "https://chromium.googlesource.com/external/swarming.client.git" |
11 ], | 11 ], |
12 "cwd": "[SLAVE_BUILD]", | |
13 "name": "git setup (swarming_client)" | 12 "name": "git setup (swarming_client)" |
14 }, | 13 }, |
15 { | 14 { |
16 "cmd": [ | 15 "cmd": [ |
17 "git", | 16 "git", |
18 "retry", | 17 "retry", |
19 "fetch", | 18 "fetch", |
20 "origin", | 19 "origin", |
21 "master" | 20 "master" |
22 ], | 21 ], |
23 "cwd": "[SLAVE_BUILD]/swarming.client", | 22 "cwd": "[CWD]/swarming.client", |
24 "name": "git fetch (swarming_client)" | 23 "name": "git fetch (swarming_client)" |
25 }, | 24 }, |
26 { | 25 { |
27 "cmd": [ | 26 "cmd": [ |
28 "git", | 27 "git", |
29 "checkout", | 28 "checkout", |
30 "-f", | 29 "-f", |
31 "FETCH_HEAD" | 30 "FETCH_HEAD" |
32 ], | 31 ], |
33 "cwd": "[SLAVE_BUILD]/swarming.client", | 32 "cwd": "[CWD]/swarming.client", |
34 "name": "git checkout (swarming_client)" | 33 "name": "git checkout (swarming_client)" |
35 }, | 34 }, |
36 { | 35 { |
37 "cmd": [ | 36 "cmd": [ |
38 "git", | 37 "git", |
39 "rev-parse", | 38 "rev-parse", |
40 "HEAD" | 39 "HEAD" |
41 ], | 40 ], |
42 "cwd": "[SLAVE_BUILD]/swarming.client", | 41 "cwd": "[CWD]/swarming.client", |
43 "name": "read revision", | 42 "name": "read revision", |
44 "stdout": "/path/to/tmp/", | 43 "stdout": "/path/to/tmp/", |
45 "~followup_annotations": [ | 44 "~followup_annotations": [ |
46 "@@@STEP_TEXT@<br/>checked out 'deadbeef'<br/>@@@" | 45 "@@@STEP_TEXT@<br/>checked out 'deadbeef'<br/>@@@" |
47 ] | 46 ] |
48 }, | 47 }, |
49 { | 48 { |
50 "cmd": [ | 49 "cmd": [ |
51 "git", | 50 "git", |
52 "clean", | 51 "clean", |
53 "-f", | 52 "-f", |
54 "-d", | 53 "-d", |
55 "-x" | 54 "-x" |
56 ], | 55 ], |
57 "cwd": "[SLAVE_BUILD]/swarming.client", | 56 "cwd": "[CWD]/swarming.client", |
58 "name": "git clean (swarming_client)" | 57 "name": "git clean (swarming_client)" |
59 }, | 58 }, |
60 { | 59 { |
61 "cmd": [ | 60 "cmd": [ |
62 "git", | 61 "git", |
63 "submodule", | 62 "submodule", |
64 "sync" | 63 "sync" |
65 ], | 64 ], |
66 "cwd": "[SLAVE_BUILD]/swarming.client", | 65 "cwd": "[CWD]/swarming.client", |
67 "name": "submodule sync (swarming_client)" | 66 "name": "submodule sync (swarming_client)" |
68 }, | 67 }, |
69 { | 68 { |
70 "cmd": [ | 69 "cmd": [ |
71 "git", | 70 "git", |
72 "submodule", | 71 "submodule", |
73 "update", | 72 "update", |
74 "--init", | 73 "--init", |
75 "--recursive" | 74 "--recursive" |
76 ], | 75 ], |
77 "cwd": "[SLAVE_BUILD]/swarming.client", | 76 "cwd": "[CWD]/swarming.client", |
78 "name": "submodule update (swarming_client)" | 77 "name": "submodule update (swarming_client)" |
79 }, | 78 }, |
80 { | 79 { |
81 "cmd": [ | 80 "cmd": [ |
82 "cat" | 81 "cat" |
83 ], | 82 ], |
84 "cwd": "[SLAVE_BUILD]", | |
85 "name": "read test spec", | 83 "name": "read test spec", |
86 "stdout": "/path/to/tmp/json", | 84 "stdout": "/path/to/tmp/json", |
87 "~followup_annotations": [ | 85 "~followup_annotations": [ |
88 "@@@STEP_LOG_LINE@json.output@[@@@", | 86 "@@@STEP_LOG_LINE@json.output@[@@@", |
89 "@@@STEP_LOG_LINE@json.output@ \"test1\", @@@", | 87 "@@@STEP_LOG_LINE@json.output@ \"test1\", @@@", |
90 "@@@STEP_LOG_LINE@json.output@ \"test2\"@@@", | 88 "@@@STEP_LOG_LINE@json.output@ \"test2\"@@@", |
91 "@@@STEP_LOG_LINE@json.output@]@@@", | 89 "@@@STEP_LOG_LINE@json.output@]@@@", |
92 "@@@STEP_LOG_END@json.output@@@" | 90 "@@@STEP_LOG_END@json.output@@@" |
93 ] | 91 ] |
94 }, | 92 }, |
95 { | 93 { |
96 "cmd": [ | 94 "cmd": [ |
97 "python", | 95 "python", |
98 "-u", | 96 "-u", |
99 "RECIPE_MODULE[build::isolate]/resources/find_isolated_tests.py", | 97 "RECIPE_MODULE[build::isolate]/resources/find_isolated_tests.py", |
100 "--build-dir", | 98 "--build-dir", |
101 "[BUILD]", | 99 "[ROOT]/b/build", |
102 "--output-json", | 100 "--output-json", |
103 "/path/to/tmp/json" | 101 "/path/to/tmp/json" |
104 ], | 102 ], |
105 "cwd": "[SLAVE_BUILD]", | |
106 "name": "find isolated tests", | 103 "name": "find isolated tests", |
107 "~followup_annotations": [ | 104 "~followup_annotations": [ |
108 "@@@STEP_LOG_LINE@json.output@{@@@", | 105 "@@@STEP_LOG_LINE@json.output@{@@@", |
109 "@@@STEP_LOG_LINE@json.output@ \"test1\": \"[dummy hash for test1]\"@@@", | 106 "@@@STEP_LOG_LINE@json.output@ \"test1\": \"[dummy hash for test1]\"@@@", |
110 "@@@STEP_LOG_LINE@json.output@}@@@", | 107 "@@@STEP_LOG_LINE@json.output@}@@@", |
111 "@@@STEP_LOG_END@json.output@@@", | 108 "@@@STEP_LOG_END@json.output@@@", |
112 "@@@STEP_LOG_LINE@missing.isolates@Failed to find *.isolated files:@@@", | 109 "@@@STEP_LOG_LINE@missing.isolates@Failed to find *.isolated files:@@@", |
113 "@@@STEP_LOG_LINE@missing.isolates@test2@@@", | 110 "@@@STEP_LOG_LINE@missing.isolates@test2@@@", |
114 "@@@STEP_LOG_END@missing.isolates@@@", | 111 "@@@STEP_LOG_END@missing.isolates@@@", |
115 "@@@STEP_FAILURE@@@", | 112 "@@@STEP_FAILURE@@@", |
116 "@@@SET_BUILD_PROPERTY@swarm_hashes@{\"test1\": \"[dummy hash for test1]\"
}@@@" | 113 "@@@SET_BUILD_PROPERTY@swarm_hashes@{\"test1\": \"[dummy hash for test1]\"
}@@@" |
117 ] | 114 ] |
118 }, | 115 }, |
119 { | 116 { |
120 "cmd": [ | 117 "cmd": [ |
121 "python", | 118 "python", |
122 "-u", | 119 "-u", |
123 "RECIPE_MODULE[build::isolate]/resources/isolate.py", | 120 "RECIPE_MODULE[build::isolate]/resources/isolate.py", |
124 "[SLAVE_BUILD]/swarming.client", | 121 "[CWD]/swarming.client", |
125 "batcharchive", | 122 "batcharchive", |
126 "--dump-json", | 123 "--dump-json", |
127 "/path/to/tmp/json", | 124 "/path/to/tmp/json", |
128 "--isolate-server", | 125 "--isolate-server", |
129 "https://isolateserver-dev.appspot.com", | 126 "https://isolateserver-dev.appspot.com", |
130 "[BUILD]/test1.isolated.gen.json", | 127 "[ROOT]/b/build/test1.isolated.gen.json", |
131 "[BUILD]/test2.isolated.gen.json" | 128 "[ROOT]/b/build/test2.isolated.gen.json" |
132 ], | 129 ], |
133 "cwd": "[SLAVE_BUILD]", | |
134 "name": "isolate tests", | 130 "name": "isolate tests", |
135 "~followup_annotations": [ | 131 "~followup_annotations": [ |
136 "@@@STEP_LOG_LINE@json.output@{@@@", | 132 "@@@STEP_LOG_LINE@json.output@{@@@", |
137 "@@@STEP_LOG_LINE@json.output@ \"test1\": \"[dummy hash for test1]\", @@@
", | 133 "@@@STEP_LOG_LINE@json.output@ \"test1\": \"[dummy hash for test1]\", @@@
", |
138 "@@@STEP_LOG_LINE@json.output@ \"test2\": null@@@", | 134 "@@@STEP_LOG_LINE@json.output@ \"test2\": null@@@", |
139 "@@@STEP_LOG_LINE@json.output@}@@@", | 135 "@@@STEP_LOG_LINE@json.output@}@@@", |
140 "@@@STEP_LOG_END@json.output@@@", | 136 "@@@STEP_LOG_END@json.output@@@", |
141 "@@@STEP_LOG_LINE@failed to isolate@Failed to isolate following targets:@@
@", | 137 "@@@STEP_LOG_LINE@failed to isolate@Failed to isolate following targets:@@
@", |
142 "@@@STEP_LOG_LINE@failed to isolate@test2@@@", | 138 "@@@STEP_LOG_LINE@failed to isolate@test2@@@", |
143 "@@@STEP_LOG_LINE@failed to isolate@@@@", | 139 "@@@STEP_LOG_LINE@failed to isolate@@@@", |
144 "@@@STEP_LOG_LINE@failed to isolate@See logs for more information.@@@", | 140 "@@@STEP_LOG_LINE@failed to isolate@See logs for more information.@@@", |
145 "@@@STEP_LOG_END@failed to isolate@@@", | 141 "@@@STEP_LOG_END@failed to isolate@@@", |
146 "@@@SET_BUILD_PROPERTY@swarm_hashes@{\"test1\": \"[dummy hash for test1]\"
}@@@" | 142 "@@@SET_BUILD_PROPERTY@swarm_hashes@{\"test1\": \"[dummy hash for test1]\"
}@@@" |
147 ] | 143 ] |
148 }, | 144 }, |
149 { | 145 { |
150 "name": "$result", | 146 "name": "$result", |
151 "recipe_result": null, | 147 "recipe_result": null, |
152 "status_code": 0 | 148 "status_code": 0 |
153 } | 149 } |
154 ] | 150 ] |
OLD | NEW |