Index: scripts/slave/recipes/chromium.expected/full_chromium_webkit_WebKit_Linux.json |
diff --git a/scripts/slave/recipes/chromium.expected/full_chromium_webkit_WebKit_Linux.json b/scripts/slave/recipes/chromium.expected/full_chromium_webkit_WebKit_Linux.json |
index 228af6d1cf20d2db5449316d06e22e9b4653f27c..133a5d5f173d11bbd174dcbc4dd9172007288e7d 100644 |
--- a/scripts/slave/recipes/chromium.expected/full_chromium_webkit_WebKit_Linux.json |
+++ b/scripts/slave/recipes/chromium.expected/full_chromium_webkit_WebKit_Linux.json |
@@ -143,6 +143,27 @@ |
"cmd": [ |
"python", |
"-u", |
+ "RECIPE_MODULE[isolate]/resources/find_isolated_tests.py", |
+ "--build-dir", |
+ "[SLAVE_BUILD]/src/out/Release", |
+ "--output-json", |
+ "/path/to/tmp/json" |
+ ], |
+ "cwd": "[SLAVE_BUILD]", |
+ "name": "find isolated tests", |
+ "~followup_annotations": [ |
+ "@@@STEP_LOG_LINE@json.output@{@@@", |
+ "@@@STEP_LOG_LINE@json.output@ \"dummy_target_1\": \"[dummy hash for dummy_target_1]\", @@@", |
+ "@@@STEP_LOG_LINE@json.output@ \"dummy_target_2\": \"[dummy hash for dummy_target_2]\"@@@", |
+ "@@@STEP_LOG_LINE@json.output@}@@@", |
+ "@@@STEP_LOG_END@json.output@@@", |
+ "@@@SET_BUILD_PROPERTY@swarm_hashes@{\"dummy_target_1\": \"[dummy hash for dummy_target_1]\", \"dummy_target_2\": \"[dummy hash for dummy_target_2]\"}@@@" |
+ ] |
+ }, |
+ { |
+ "cmd": [ |
+ "python", |
+ "-u", |
"[BUILD]/scripts/slave/cleanup_temp.py" |
], |
"cwd": "[SLAVE_BUILD]", |
@@ -223,38 +244,76 @@ |
"cmd": [ |
"python", |
"-u", |
- "RECIPE_MODULE[isolate]/resources/find_isolated_tests.py", |
- "--build-dir", |
- "[SLAVE_BUILD]/src/out/Release", |
- "--output-json", |
- "/path/to/tmp/json" |
+ "[SLAVE_BUILD]/src/tools/swarming_client/swarming.py", |
+ "trigger", |
+ "--swarming", |
+ "https://chromium-swarm.appspot.com", |
+ "--isolate-server", |
+ "https://isolateserver.appspot.com", |
+ "--priority", |
+ "25", |
+ "--shards", |
+ "1", |
+ "--task-name", |
+ "browser_tests/Ubuntu-12.04/[dummy has/WebKit Linux/571", |
+ "--dump-json", |
+ "/path/to/tmp/json", |
+ "--expiration", |
+ "3600", |
+ "--io-timeout", |
+ "1200", |
+ "--hard-timeout", |
+ "3600", |
+ "--dimension", |
+ "cpu", |
+ "x86-64", |
+ "--dimension", |
+ "gpu", |
+ "none", |
+ "--dimension", |
+ "os", |
+ "Ubuntu-12.04", |
+ "--dimension", |
+ "pool", |
+ "Chrome", |
+ "--tag", |
+ "buildername:WebKit Linux", |
+ "--tag", |
+ "buildnumber:571", |
+ "--tag", |
+ "data:[dummy hash for browser_tests]", |
+ "--tag", |
+ "master:chromium.webkit", |
+ "--tag", |
+ "name:browser_tests", |
+ "--tag", |
+ "os:Ubuntu-12.04", |
+ "--tag", |
+ "project:chromium", |
+ "--tag", |
+ "purpose:CI", |
+ "--tag", |
+ "purpose:post-commit", |
+ "--idempotent", |
+ "[dummy hash for browser_tests]", |
+ "--", |
+ "--test-launcher-summary-output=${ISOLATED_OUTDIR}/output.json" |
], |
"cwd": "[SLAVE_BUILD]", |
- "name": "find isolated tests", |
+ "name": "[trigger] browser_tests", |
"~followup_annotations": [ |
"@@@STEP_LOG_LINE@json.output@{@@@", |
- "@@@STEP_LOG_LINE@json.output@ \"dummy_target_1\": \"[dummy hash for dummy_target_1]\", @@@", |
- "@@@STEP_LOG_LINE@json.output@ \"dummy_target_2\": \"[dummy hash for dummy_target_2]\"@@@", |
+ "@@@STEP_LOG_LINE@json.output@ \"base_task_name\": \"browser_tests/Ubuntu-12.04/[dummy has/WebKit Linux/571\", @@@", |
+ "@@@STEP_LOG_LINE@json.output@ \"tasks\": {@@@", |
+ "@@@STEP_LOG_LINE@json.output@ \"browser_tests/Ubuntu-12.04/[dummy has/WebKit Linux/571\": {@@@", |
+ "@@@STEP_LOG_LINE@json.output@ \"shard_index\": 0, @@@", |
+ "@@@STEP_LOG_LINE@json.output@ \"task_id\": \"10000\", @@@", |
+ "@@@STEP_LOG_LINE@json.output@ \"view_url\": \"https://chromium-swarm.appspot.com/user/task/10000\"@@@", |
+ "@@@STEP_LOG_LINE@json.output@ }@@@", |
+ "@@@STEP_LOG_LINE@json.output@ }@@@", |
"@@@STEP_LOG_LINE@json.output@}@@@", |
"@@@STEP_LOG_END@json.output@@@", |
- "@@@SET_BUILD_PROPERTY@swarm_hashes@{\"dummy_target_1\": \"[dummy hash for dummy_target_1]\", \"dummy_target_2\": \"[dummy hash for dummy_target_2]\"}@@@" |
- ] |
- }, |
- { |
- "cmd": [ |
- "python", |
- "-u", |
- "\nimport sys\nprint '*.isolated file for target %s is missing' % sys.argv[1]\nsys.exit(1)\n", |
- "browser_tests" |
- ], |
- "cwd": "[SLAVE_BUILD]", |
- "name": "[error] browser_tests", |
- "~followup_annotations": [ |
- "@@@STEP_LOG_LINE@python.inline@@@@", |
- "@@@STEP_LOG_LINE@python.inline@import sys@@@", |
- "@@@STEP_LOG_LINE@python.inline@print '*.isolated file for target %s is missing' % sys.argv[1]@@@", |
- "@@@STEP_LOG_LINE@python.inline@sys.exit(1)@@@", |
- "@@@STEP_LOG_END@python.inline@@@" |
+ "@@@STEP_LINK@shard #0@https://chromium-swarm.appspot.com/user/task/10000@@@" |
] |
}, |
{ |
@@ -324,20 +383,28 @@ |
] |
}, |
{ |
+ "allow_subannotations": true, |
"cmd": [ |
"python", |
"-u", |
- "\nimport sys\nprint '%s wasn\\'t triggered' % sys.argv[1]\nsys.exit(1)\n", |
- "browser_tests" |
+ "RECIPE_MODULE[swarming]/resources/collect_gtest_task.py", |
+ "--swarming-client-dir", |
+ "[SLAVE_BUILD]/src/tools/swarming_client", |
+ "--temp-root-dir", |
+ "[TMP_BASE]", |
+ "--merged-test-output", |
+ "/path/to/tmp/json", |
+ "--", |
+ "collect", |
+ "--swarming", |
+ "https://chromium-swarm.appspot.com", |
+ "--decorate", |
+ "--print-status-updates", |
+ "--shards", |
+ "1", |
+ "browser_tests/Ubuntu-12.04/[dummy has/WebKit Linux/571" |
], |
"cwd": "[SLAVE_BUILD]", |
- "name": "[collect error] browser_tests", |
- "~followup_annotations": [ |
- "@@@STEP_LOG_LINE@python.inline@@@@", |
- "@@@STEP_LOG_LINE@python.inline@import sys@@@", |
- "@@@STEP_LOG_LINE@python.inline@print '%s wasn\\'t triggered' % sys.argv[1]@@@", |
- "@@@STEP_LOG_LINE@python.inline@sys.exit(1)@@@", |
- "@@@STEP_LOG_END@python.inline@@@" |
- ] |
+ "name": "browser_tests" |
} |
] |