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