diff options
author | 2017-12-21 13:48:59 -0500 | |
---|---|---|
committer | 2017-12-22 12:55:35 +0000 | |
commit | 8bc327bffb7ae7d10b93ee75c3d207caeb37f93b (patch) | |
tree | 06ffbbf7a707e67d614402c516337170111b2f06 /infra/bots/recipe_modules/isolate/examples/full.expected | |
parent | 5c68dce7750a5525a5cfae29943716ce5c0d51b3 (diff) |
Update isolate binaries and update isolate recipe
Context: Email to skiabot@ from mcgreevy@
Bug: skia:
Change-Id: Ic3bc19600809bde5adcd9edd23ba4d8b126ec852
Reviewed-on: https://skia-review.googlesource.com/88540
Reviewed-by: Kevin Lubick <kjlubick@google.com>
Commit-Queue: Ravi Mistry <rmistry@google.com>
Diffstat (limited to 'infra/bots/recipe_modules/isolate/examples/full.expected')
18 files changed, 1817 insertions, 46 deletions
diff --git a/infra/bots/recipe_modules/isolate/examples/full.expected/always-use-exparchive.json b/infra/bots/recipe_modules/isolate/examples/full.expected/always-use-exparchive.json index 8028783049..1719129ed4 100644 --- a/infra/bots/recipe_modules/isolate/examples/full.expected/always-use-exparchive.json +++ b/infra/bots/recipe_modules/isolate/examples/full.expected/always-use-exparchive.json @@ -94,9 +94,9 @@ "stdout": "/path/to/tmp/json", "~followup_annotations": [ "@@@STEP_LOG_LINE@json.output@[@@@", - "@@@STEP_LOG_LINE@json.output@ \"test_exparchive\", @@@", "@@@STEP_LOG_LINE@json.output@ \"test1\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"test2\"@@@", + "@@@STEP_LOG_LINE@json.output@ \"test2\", @@@", + "@@@STEP_LOG_LINE@json.output@ \"test_exparchive\"@@@", "@@@STEP_LOG_LINE@json.output@]@@@", "@@@STEP_LOG_END@json.output@@@" ] @@ -128,7 +128,7 @@ "-u", "RECIPE_MODULE[skia::isolate]/resources/isolate.py", "[START_DIR]/swarming.client", - "exparchive", + "archive", "--dump-json", "/path/to/tmp/json", "--isolate-server", @@ -154,47 +154,18 @@ "-u", "RECIPE_MODULE[skia::isolate]/resources/isolate.py", "[START_DIR]/swarming.client", - "exparchive", + "batcharchive", "--dump-json", "/path/to/tmp/json", "--isolate-server", "https://isolateserver-dev.appspot.com", - "--eventlog-endpoint", - "prod", - "--isolate", - "RECIPE_PACKAGE_REPO[skia]/test1.isolate", - "--isolated", - "RECIPE_PACKAGE_REPO[skia]/test1.isolated" - ], - "name": "isolate test1", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@json.output@{@@@", - "@@@STEP_LOG_LINE@json.output@ \"test1\": \"[dummy hash for test1]\"@@@", - "@@@STEP_LOG_LINE@json.output@}@@@", - "@@@STEP_LOG_END@json.output@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "RECIPE_MODULE[skia::isolate]/resources/isolate.py", - "[START_DIR]/swarming.client", - "exparchive", - "--dump-json", - "/path/to/tmp/json", - "--isolate-server", - "https://isolateserver-dev.appspot.com", - "--eventlog-endpoint", - "prod", - "--isolate", - "RECIPE_PACKAGE_REPO[skia]/test2.isolate", - "--isolated", - "RECIPE_PACKAGE_REPO[skia]/test2.isolated" + "RECIPE_PACKAGE_REPO[skia]/test1.isolated.gen.json", + "RECIPE_PACKAGE_REPO[skia]/test2.isolated.gen.json" ], - "name": "isolate test2", + "name": "isolate tests", "~followup_annotations": [ "@@@STEP_LOG_LINE@json.output@{@@@", + "@@@STEP_LOG_LINE@json.output@ \"test1\": \"[dummy hash for test1]\", @@@", "@@@STEP_LOG_LINE@json.output@ \"test2\": \"[dummy hash for test2]\"@@@", "@@@STEP_LOG_LINE@json.output@}@@@", "@@@STEP_LOG_END@json.output@@@", diff --git a/infra/bots/recipe_modules/isolate/examples/full.expected/exparchive-batch-bmiss.json b/infra/bots/recipe_modules/isolate/examples/full.expected/exparchive-batch-bmiss.json index 325694df2e..e42dc67efd 100644 --- a/infra/bots/recipe_modules/isolate/examples/full.expected/exparchive-batch-bmiss.json +++ b/infra/bots/recipe_modules/isolate/examples/full.expected/exparchive-batch-bmiss.json @@ -131,7 +131,7 @@ "-u", "RECIPE_MODULE[skia::isolate]/resources/isolate.py", "[START_DIR]/swarming.client", - "exparchive", + "archive", "--dump-json", "/path/to/tmp/json", "--isolate-server", diff --git a/infra/bots/recipe_modules/isolate/examples/full.expected/exparchive-batch-emiss.json b/infra/bots/recipe_modules/isolate/examples/full.expected/exparchive-batch-emiss.json index e82f10f128..596c2e7a3f 100644 --- a/infra/bots/recipe_modules/isolate/examples/full.expected/exparchive-batch-emiss.json +++ b/infra/bots/recipe_modules/isolate/examples/full.expected/exparchive-batch-emiss.json @@ -131,7 +131,7 @@ "-u", "RECIPE_MODULE[skia::isolate]/resources/isolate.py", "[START_DIR]/swarming.client", - "exparchive", + "archive", "--dump-json", "/path/to/tmp/json", "--isolate-server", diff --git a/infra/bots/recipe_modules/isolate/examples/full.expected/exparchive-batch.json b/infra/bots/recipe_modules/isolate/examples/full.expected/exparchive-batch.json index c056efe9c3..1719129ed4 100644 --- a/infra/bots/recipe_modules/isolate/examples/full.expected/exparchive-batch.json +++ b/infra/bots/recipe_modules/isolate/examples/full.expected/exparchive-batch.json @@ -128,7 +128,7 @@ "-u", "RECIPE_MODULE[skia::isolate]/resources/isolate.py", "[START_DIR]/swarming.client", - "exparchive", + "archive", "--dump-json", "/path/to/tmp/json", "--isolate-server", diff --git a/infra/bots/recipe_modules/isolate/examples/full.expected/exparchive-miss.json b/infra/bots/recipe_modules/isolate/examples/full.expected/exparchive-miss.json index 54a570e300..9a8dccea8f 100644 --- a/infra/bots/recipe_modules/isolate/examples/full.expected/exparchive-miss.json +++ b/infra/bots/recipe_modules/isolate/examples/full.expected/exparchive-miss.json @@ -126,7 +126,7 @@ "-u", "RECIPE_MODULE[skia::isolate]/resources/isolate.py", "[START_DIR]/swarming.client", - "exparchive", + "archive", "--dump-json", "/path/to/tmp/json", "--isolate-server", diff --git a/infra/bots/recipe_modules/isolate/examples/full.expected/exparchive-multi-miss.json b/infra/bots/recipe_modules/isolate/examples/full.expected/exparchive-multi-miss.json index 07f5865814..ee20c658dc 100644 --- a/infra/bots/recipe_modules/isolate/examples/full.expected/exparchive-multi-miss.json +++ b/infra/bots/recipe_modules/isolate/examples/full.expected/exparchive-multi-miss.json @@ -129,7 +129,7 @@ "-u", "RECIPE_MODULE[skia::isolate]/resources/isolate.py", "[START_DIR]/swarming.client", - "exparchive", + "archive", "--dump-json", "/path/to/tmp/json", "--isolate-server", @@ -155,7 +155,7 @@ "-u", "RECIPE_MODULE[skia::isolate]/resources/isolate.py", "[START_DIR]/swarming.client", - "exparchive", + "archive", "--dump-json", "/path/to/tmp/json", "--isolate-server", diff --git a/infra/bots/recipe_modules/isolate/examples/full.expected/exparchive-multi.json b/infra/bots/recipe_modules/isolate/examples/full.expected/exparchive-multi.json index 2aaea20c3d..d78eacb967 100644 --- a/infra/bots/recipe_modules/isolate/examples/full.expected/exparchive-multi.json +++ b/infra/bots/recipe_modules/isolate/examples/full.expected/exparchive-multi.json @@ -126,7 +126,7 @@ "-u", "RECIPE_MODULE[skia::isolate]/resources/isolate.py", "[START_DIR]/swarming.client", - "exparchive", + "archive", "--dump-json", "/path/to/tmp/json", "--isolate-server", @@ -152,7 +152,7 @@ "-u", "RECIPE_MODULE[skia::isolate]/resources/isolate.py", "[START_DIR]/swarming.client", - "exparchive", + "archive", "--dump-json", "/path/to/tmp/json", "--isolate-server", diff --git a/infra/bots/recipe_modules/isolate/examples/full.expected/exparchive.json b/infra/bots/recipe_modules/isolate/examples/full.expected/exparchive.json index 2f9d7aeead..dcbf0053ec 100644 --- a/infra/bots/recipe_modules/isolate/examples/full.expected/exparchive.json +++ b/infra/bots/recipe_modules/isolate/examples/full.expected/exparchive.json @@ -124,7 +124,7 @@ "-u", "RECIPE_MODULE[skia::isolate]/resources/isolate.py", "[START_DIR]/swarming.client", - "exparchive", + "archive", "--dump-json", "/path/to/tmp/json", "--isolate-server", diff --git a/infra/bots/recipe_modules/isolate/examples/full.expected/use-exparchive-20percent-build1.json b/infra/bots/recipe_modules/isolate/examples/full.expected/use-exparchive-20percent-build1.json new file mode 100644 index 0000000000..1719129ed4 --- /dev/null +++ b/infra/bots/recipe_modules/isolate/examples/full.expected/use-exparchive-20percent-build1.json @@ -0,0 +1,180 @@ +[ + { + "cmd": [ + "python", + "-u", + "RECIPE_MODULE[depot_tools::git]/resources/git_setup.py", + "--path", + "[START_DIR]/swarming.client", + "--url", + "https://chromium.googlesource.com/external/swarming.client.git" + ], + "name": "git setup (swarming_client)" + }, + { + "cmd": [ + "git", + "retry", + "fetch", + "origin", + "master", + "--progress" + ], + "cwd": "[START_DIR]/swarming.client", + "env": { + "PATH": "RECIPE_PACKAGE_REPO[depot_tools]:<PATH>" + }, + "infra_step": true, + "name": "git fetch (swarming_client)" + }, + { + "cmd": [ + "git", + "checkout", + "-f", + "FETCH_HEAD" + ], + "cwd": "[START_DIR]/swarming.client", + "infra_step": true, + "name": "git checkout (swarming_client)" + }, + { + "cmd": [ + "git", + "rev-parse", + "HEAD" + ], + "cwd": "[START_DIR]/swarming.client", + "infra_step": true, + "name": "read revision", + "stdout": "/path/to/tmp/", + "~followup_annotations": [ + "@@@STEP_TEXT@<br/>checked out 'deadbeef'<br/>@@@" + ] + }, + { + "cmd": [ + "git", + "clean", + "-f", + "-d", + "-x" + ], + "cwd": "[START_DIR]/swarming.client", + "infra_step": true, + "name": "git clean (swarming_client)" + }, + { + "cmd": [ + "git", + "submodule", + "sync" + ], + "cwd": "[START_DIR]/swarming.client", + "infra_step": true, + "name": "submodule sync (swarming_client)" + }, + { + "cmd": [ + "git", + "submodule", + "update", + "--init", + "--recursive" + ], + "cwd": "[START_DIR]/swarming.client", + "infra_step": true, + "name": "submodule update (swarming_client)" + }, + { + "cmd": [ + "cat" + ], + "name": "read test spec", + "stdout": "/path/to/tmp/json", + "~followup_annotations": [ + "@@@STEP_LOG_LINE@json.output@[@@@", + "@@@STEP_LOG_LINE@json.output@ \"test1\", @@@", + "@@@STEP_LOG_LINE@json.output@ \"test2\", @@@", + "@@@STEP_LOG_LINE@json.output@ \"test_exparchive\"@@@", + "@@@STEP_LOG_LINE@json.output@]@@@", + "@@@STEP_LOG_END@json.output@@@" + ] + }, + { + "cmd": [ + "python", + "-u", + "RECIPE_MODULE[skia::isolate]/resources/find_isolated_tests.py", + "--build-dir", + "RECIPE_PACKAGE_REPO[skia]", + "--output-json", + "/path/to/tmp/json" + ], + "name": "find isolated tests", + "~followup_annotations": [ + "@@@STEP_LOG_LINE@json.output@{@@@", + "@@@STEP_LOG_LINE@json.output@ \"test1\": \"[dummy hash for test1]\", @@@", + "@@@STEP_LOG_LINE@json.output@ \"test2\": \"[dummy hash for test2]\", @@@", + "@@@STEP_LOG_LINE@json.output@ \"test_exparchive\": \"[dummy hash for test_exparchive]\"@@@", + "@@@STEP_LOG_LINE@json.output@}@@@", + "@@@STEP_LOG_END@json.output@@@", + "@@@SET_BUILD_PROPERTY@swarm_hashes@{\"test1\": \"[dummy hash for test1]\", \"test2\": \"[dummy hash for test2]\", \"test_exparchive\": \"[dummy hash for test_exparchive]\"}@@@" + ] + }, + { + "cmd": [ + "python", + "-u", + "RECIPE_MODULE[skia::isolate]/resources/isolate.py", + "[START_DIR]/swarming.client", + "archive", + "--dump-json", + "/path/to/tmp/json", + "--isolate-server", + "https://isolateserver-dev.appspot.com", + "--eventlog-endpoint", + "prod", + "--isolate", + "RECIPE_PACKAGE_REPO[skia]/test_exparchive.isolate", + "--isolated", + "RECIPE_PACKAGE_REPO[skia]/test_exparchive.isolated" + ], + "name": "isolate test_exparchive", + "~followup_annotations": [ + "@@@STEP_LOG_LINE@json.output@{@@@", + "@@@STEP_LOG_LINE@json.output@ \"test_exparchive\": \"[dummy hash for test_exparchive]\"@@@", + "@@@STEP_LOG_LINE@json.output@}@@@", + "@@@STEP_LOG_END@json.output@@@" + ] + }, + { + "cmd": [ + "python", + "-u", + "RECIPE_MODULE[skia::isolate]/resources/isolate.py", + "[START_DIR]/swarming.client", + "batcharchive", + "--dump-json", + "/path/to/tmp/json", + "--isolate-server", + "https://isolateserver-dev.appspot.com", + "RECIPE_PACKAGE_REPO[skia]/test1.isolated.gen.json", + "RECIPE_PACKAGE_REPO[skia]/test2.isolated.gen.json" + ], + "name": "isolate tests", + "~followup_annotations": [ + "@@@STEP_LOG_LINE@json.output@{@@@", + "@@@STEP_LOG_LINE@json.output@ \"test1\": \"[dummy hash for test1]\", @@@", + "@@@STEP_LOG_LINE@json.output@ \"test2\": \"[dummy hash for test2]\"@@@", + "@@@STEP_LOG_LINE@json.output@}@@@", + "@@@STEP_LOG_END@json.output@@@", + "@@@SET_BUILD_PROPERTY@swarm_hashes@{\"test1\": \"[dummy hash for test1]\", \"test2\": \"[dummy hash for test2]\", \"test_exparchive\": \"[dummy hash for test_exparchive]\"}@@@" + ] + }, + { + "name": "$result", + "recipe_result": null, + "status_code": 0 + } +]
\ No newline at end of file diff --git a/infra/bots/recipe_modules/isolate/examples/full.expected/use-exparchive-20percent-build10.json b/infra/bots/recipe_modules/isolate/examples/full.expected/use-exparchive-20percent-build10.json new file mode 100644 index 0000000000..1719129ed4 --- /dev/null +++ b/infra/bots/recipe_modules/isolate/examples/full.expected/use-exparchive-20percent-build10.json @@ -0,0 +1,180 @@ +[ + { + "cmd": [ + "python", + "-u", + "RECIPE_MODULE[depot_tools::git]/resources/git_setup.py", + "--path", + "[START_DIR]/swarming.client", + "--url", + "https://chromium.googlesource.com/external/swarming.client.git" + ], + "name": "git setup (swarming_client)" + }, + { + "cmd": [ + "git", + "retry", + "fetch", + "origin", + "master", + "--progress" + ], + "cwd": "[START_DIR]/swarming.client", + "env": { + "PATH": "RECIPE_PACKAGE_REPO[depot_tools]:<PATH>" + }, + "infra_step": true, + "name": "git fetch (swarming_client)" + }, + { + "cmd": [ + "git", + "checkout", + "-f", + "FETCH_HEAD" + ], + "cwd": "[START_DIR]/swarming.client", + "infra_step": true, + "name": "git checkout (swarming_client)" + }, + { + "cmd": [ + "git", + "rev-parse", + "HEAD" + ], + "cwd": "[START_DIR]/swarming.client", + "infra_step": true, + "name": "read revision", + "stdout": "/path/to/tmp/", + "~followup_annotations": [ + "@@@STEP_TEXT@<br/>checked out 'deadbeef'<br/>@@@" + ] + }, + { + "cmd": [ + "git", + "clean", + "-f", + "-d", + "-x" + ], + "cwd": "[START_DIR]/swarming.client", + "infra_step": true, + "name": "git clean (swarming_client)" + }, + { + "cmd": [ + "git", + "submodule", + "sync" + ], + "cwd": "[START_DIR]/swarming.client", + "infra_step": true, + "name": "submodule sync (swarming_client)" + }, + { + "cmd": [ + "git", + "submodule", + "update", + "--init", + "--recursive" + ], + "cwd": "[START_DIR]/swarming.client", + "infra_step": true, + "name": "submodule update (swarming_client)" + }, + { + "cmd": [ + "cat" + ], + "name": "read test spec", + "stdout": "/path/to/tmp/json", + "~followup_annotations": [ + "@@@STEP_LOG_LINE@json.output@[@@@", + "@@@STEP_LOG_LINE@json.output@ \"test1\", @@@", + "@@@STEP_LOG_LINE@json.output@ \"test2\", @@@", + "@@@STEP_LOG_LINE@json.output@ \"test_exparchive\"@@@", + "@@@STEP_LOG_LINE@json.output@]@@@", + "@@@STEP_LOG_END@json.output@@@" + ] + }, + { + "cmd": [ + "python", + "-u", + "RECIPE_MODULE[skia::isolate]/resources/find_isolated_tests.py", + "--build-dir", + "RECIPE_PACKAGE_REPO[skia]", + "--output-json", + "/path/to/tmp/json" + ], + "name": "find isolated tests", + "~followup_annotations": [ + "@@@STEP_LOG_LINE@json.output@{@@@", + "@@@STEP_LOG_LINE@json.output@ \"test1\": \"[dummy hash for test1]\", @@@", + "@@@STEP_LOG_LINE@json.output@ \"test2\": \"[dummy hash for test2]\", @@@", + "@@@STEP_LOG_LINE@json.output@ \"test_exparchive\": \"[dummy hash for test_exparchive]\"@@@", + "@@@STEP_LOG_LINE@json.output@}@@@", + "@@@STEP_LOG_END@json.output@@@", + "@@@SET_BUILD_PROPERTY@swarm_hashes@{\"test1\": \"[dummy hash for test1]\", \"test2\": \"[dummy hash for test2]\", \"test_exparchive\": \"[dummy hash for test_exparchive]\"}@@@" + ] + }, + { + "cmd": [ + "python", + "-u", + "RECIPE_MODULE[skia::isolate]/resources/isolate.py", + "[START_DIR]/swarming.client", + "archive", + "--dump-json", + "/path/to/tmp/json", + "--isolate-server", + "https://isolateserver-dev.appspot.com", + "--eventlog-endpoint", + "prod", + "--isolate", + "RECIPE_PACKAGE_REPO[skia]/test_exparchive.isolate", + "--isolated", + "RECIPE_PACKAGE_REPO[skia]/test_exparchive.isolated" + ], + "name": "isolate test_exparchive", + "~followup_annotations": [ + "@@@STEP_LOG_LINE@json.output@{@@@", + "@@@STEP_LOG_LINE@json.output@ \"test_exparchive\": \"[dummy hash for test_exparchive]\"@@@", + "@@@STEP_LOG_LINE@json.output@}@@@", + "@@@STEP_LOG_END@json.output@@@" + ] + }, + { + "cmd": [ + "python", + "-u", + "RECIPE_MODULE[skia::isolate]/resources/isolate.py", + "[START_DIR]/swarming.client", + "batcharchive", + "--dump-json", + "/path/to/tmp/json", + "--isolate-server", + "https://isolateserver-dev.appspot.com", + "RECIPE_PACKAGE_REPO[skia]/test1.isolated.gen.json", + "RECIPE_PACKAGE_REPO[skia]/test2.isolated.gen.json" + ], + "name": "isolate tests", + "~followup_annotations": [ + "@@@STEP_LOG_LINE@json.output@{@@@", + "@@@STEP_LOG_LINE@json.output@ \"test1\": \"[dummy hash for test1]\", @@@", + "@@@STEP_LOG_LINE@json.output@ \"test2\": \"[dummy hash for test2]\"@@@", + "@@@STEP_LOG_LINE@json.output@}@@@", + "@@@STEP_LOG_END@json.output@@@", + "@@@SET_BUILD_PROPERTY@swarm_hashes@{\"test1\": \"[dummy hash for test1]\", \"test2\": \"[dummy hash for test2]\", \"test_exparchive\": \"[dummy hash for test_exparchive]\"}@@@" + ] + }, + { + "name": "$result", + "recipe_result": null, + "status_code": 0 + } +]
\ No newline at end of file diff --git a/infra/bots/recipe_modules/isolate/examples/full.expected/use-exparchive-20percent-build2.json b/infra/bots/recipe_modules/isolate/examples/full.expected/use-exparchive-20percent-build2.json new file mode 100644 index 0000000000..1719129ed4 --- /dev/null +++ b/infra/bots/recipe_modules/isolate/examples/full.expected/use-exparchive-20percent-build2.json @@ -0,0 +1,180 @@ +[ + { + "cmd": [ + "python", + "-u", + "RECIPE_MODULE[depot_tools::git]/resources/git_setup.py", + "--path", + "[START_DIR]/swarming.client", + "--url", + "https://chromium.googlesource.com/external/swarming.client.git" + ], + "name": "git setup (swarming_client)" + }, + { + "cmd": [ + "git", + "retry", + "fetch", + "origin", + "master", + "--progress" + ], + "cwd": "[START_DIR]/swarming.client", + "env": { + "PATH": "RECIPE_PACKAGE_REPO[depot_tools]:<PATH>" + }, + "infra_step": true, + "name": "git fetch (swarming_client)" + }, + { + "cmd": [ + "git", + "checkout", + "-f", + "FETCH_HEAD" + ], + "cwd": "[START_DIR]/swarming.client", + "infra_step": true, + "name": "git checkout (swarming_client)" + }, + { + "cmd": [ + "git", + "rev-parse", + "HEAD" + ], + "cwd": "[START_DIR]/swarming.client", + "infra_step": true, + "name": "read revision", + "stdout": "/path/to/tmp/", + "~followup_annotations": [ + "@@@STEP_TEXT@<br/>checked out 'deadbeef'<br/>@@@" + ] + }, + { + "cmd": [ + "git", + "clean", + "-f", + "-d", + "-x" + ], + "cwd": "[START_DIR]/swarming.client", + "infra_step": true, + "name": "git clean (swarming_client)" + }, + { + "cmd": [ + "git", + "submodule", + "sync" + ], + "cwd": "[START_DIR]/swarming.client", + "infra_step": true, + "name": "submodule sync (swarming_client)" + }, + { + "cmd": [ + "git", + "submodule", + "update", + "--init", + "--recursive" + ], + "cwd": "[START_DIR]/swarming.client", + "infra_step": true, + "name": "submodule update (swarming_client)" + }, + { + "cmd": [ + "cat" + ], + "name": "read test spec", + "stdout": "/path/to/tmp/json", + "~followup_annotations": [ + "@@@STEP_LOG_LINE@json.output@[@@@", + "@@@STEP_LOG_LINE@json.output@ \"test1\", @@@", + "@@@STEP_LOG_LINE@json.output@ \"test2\", @@@", + "@@@STEP_LOG_LINE@json.output@ \"test_exparchive\"@@@", + "@@@STEP_LOG_LINE@json.output@]@@@", + "@@@STEP_LOG_END@json.output@@@" + ] + }, + { + "cmd": [ + "python", + "-u", + "RECIPE_MODULE[skia::isolate]/resources/find_isolated_tests.py", + "--build-dir", + "RECIPE_PACKAGE_REPO[skia]", + "--output-json", + "/path/to/tmp/json" + ], + "name": "find isolated tests", + "~followup_annotations": [ + "@@@STEP_LOG_LINE@json.output@{@@@", + "@@@STEP_LOG_LINE@json.output@ \"test1\": \"[dummy hash for test1]\", @@@", + "@@@STEP_LOG_LINE@json.output@ \"test2\": \"[dummy hash for test2]\", @@@", + "@@@STEP_LOG_LINE@json.output@ \"test_exparchive\": \"[dummy hash for test_exparchive]\"@@@", + "@@@STEP_LOG_LINE@json.output@}@@@", + "@@@STEP_LOG_END@json.output@@@", + "@@@SET_BUILD_PROPERTY@swarm_hashes@{\"test1\": \"[dummy hash for test1]\", \"test2\": \"[dummy hash for test2]\", \"test_exparchive\": \"[dummy hash for test_exparchive]\"}@@@" + ] + }, + { + "cmd": [ + "python", + "-u", + "RECIPE_MODULE[skia::isolate]/resources/isolate.py", + "[START_DIR]/swarming.client", + "archive", + "--dump-json", + "/path/to/tmp/json", + "--isolate-server", + "https://isolateserver-dev.appspot.com", + "--eventlog-endpoint", + "prod", + "--isolate", + "RECIPE_PACKAGE_REPO[skia]/test_exparchive.isolate", + "--isolated", + "RECIPE_PACKAGE_REPO[skia]/test_exparchive.isolated" + ], + "name": "isolate test_exparchive", + "~followup_annotations": [ + "@@@STEP_LOG_LINE@json.output@{@@@", + "@@@STEP_LOG_LINE@json.output@ \"test_exparchive\": \"[dummy hash for test_exparchive]\"@@@", + "@@@STEP_LOG_LINE@json.output@}@@@", + "@@@STEP_LOG_END@json.output@@@" + ] + }, + { + "cmd": [ + "python", + "-u", + "RECIPE_MODULE[skia::isolate]/resources/isolate.py", + "[START_DIR]/swarming.client", + "batcharchive", + "--dump-json", + "/path/to/tmp/json", + "--isolate-server", + "https://isolateserver-dev.appspot.com", + "RECIPE_PACKAGE_REPO[skia]/test1.isolated.gen.json", + "RECIPE_PACKAGE_REPO[skia]/test2.isolated.gen.json" + ], + "name": "isolate tests", + "~followup_annotations": [ + "@@@STEP_LOG_LINE@json.output@{@@@", + "@@@STEP_LOG_LINE@json.output@ \"test1\": \"[dummy hash for test1]\", @@@", + "@@@STEP_LOG_LINE@json.output@ \"test2\": \"[dummy hash for test2]\"@@@", + "@@@STEP_LOG_LINE@json.output@}@@@", + "@@@STEP_LOG_END@json.output@@@", + "@@@SET_BUILD_PROPERTY@swarm_hashes@{\"test1\": \"[dummy hash for test1]\", \"test2\": \"[dummy hash for test2]\", \"test_exparchive\": \"[dummy hash for test_exparchive]\"}@@@" + ] + }, + { + "name": "$result", + "recipe_result": null, + "status_code": 0 + } +]
\ No newline at end of file diff --git a/infra/bots/recipe_modules/isolate/examples/full.expected/use-exparchive-20percent-build3.json b/infra/bots/recipe_modules/isolate/examples/full.expected/use-exparchive-20percent-build3.json new file mode 100644 index 0000000000..1719129ed4 --- /dev/null +++ b/infra/bots/recipe_modules/isolate/examples/full.expected/use-exparchive-20percent-build3.json @@ -0,0 +1,180 @@ +[ + { + "cmd": [ + "python", + "-u", + "RECIPE_MODULE[depot_tools::git]/resources/git_setup.py", + "--path", + "[START_DIR]/swarming.client", + "--url", + "https://chromium.googlesource.com/external/swarming.client.git" + ], + "name": "git setup (swarming_client)" + }, + { + "cmd": [ + "git", + "retry", + "fetch", + "origin", + "master", + "--progress" + ], + "cwd": "[START_DIR]/swarming.client", + "env": { + "PATH": "RECIPE_PACKAGE_REPO[depot_tools]:<PATH>" + }, + "infra_step": true, + "name": "git fetch (swarming_client)" + }, + { + "cmd": [ + "git", + "checkout", + "-f", + "FETCH_HEAD" + ], + "cwd": "[START_DIR]/swarming.client", + "infra_step": true, + "name": "git checkout (swarming_client)" + }, + { + "cmd": [ + "git", + "rev-parse", + "HEAD" + ], + "cwd": "[START_DIR]/swarming.client", + "infra_step": true, + "name": "read revision", + "stdout": "/path/to/tmp/", + "~followup_annotations": [ + "@@@STEP_TEXT@<br/>checked out 'deadbeef'<br/>@@@" + ] + }, + { + "cmd": [ + "git", + "clean", + "-f", + "-d", + "-x" + ], + "cwd": "[START_DIR]/swarming.client", + "infra_step": true, + "name": "git clean (swarming_client)" + }, + { + "cmd": [ + "git", + "submodule", + "sync" + ], + "cwd": "[START_DIR]/swarming.client", + "infra_step": true, + "name": "submodule sync (swarming_client)" + }, + { + "cmd": [ + "git", + "submodule", + "update", + "--init", + "--recursive" + ], + "cwd": "[START_DIR]/swarming.client", + "infra_step": true, + "name": "submodule update (swarming_client)" + }, + { + "cmd": [ + "cat" + ], + "name": "read test spec", + "stdout": "/path/to/tmp/json", + "~followup_annotations": [ + "@@@STEP_LOG_LINE@json.output@[@@@", + "@@@STEP_LOG_LINE@json.output@ \"test1\", @@@", + "@@@STEP_LOG_LINE@json.output@ \"test2\", @@@", + "@@@STEP_LOG_LINE@json.output@ \"test_exparchive\"@@@", + "@@@STEP_LOG_LINE@json.output@]@@@", + "@@@STEP_LOG_END@json.output@@@" + ] + }, + { + "cmd": [ + "python", + "-u", + "RECIPE_MODULE[skia::isolate]/resources/find_isolated_tests.py", + "--build-dir", + "RECIPE_PACKAGE_REPO[skia]", + "--output-json", + "/path/to/tmp/json" + ], + "name": "find isolated tests", + "~followup_annotations": [ + "@@@STEP_LOG_LINE@json.output@{@@@", + "@@@STEP_LOG_LINE@json.output@ \"test1\": \"[dummy hash for test1]\", @@@", + "@@@STEP_LOG_LINE@json.output@ \"test2\": \"[dummy hash for test2]\", @@@", + "@@@STEP_LOG_LINE@json.output@ \"test_exparchive\": \"[dummy hash for test_exparchive]\"@@@", + "@@@STEP_LOG_LINE@json.output@}@@@", + "@@@STEP_LOG_END@json.output@@@", + "@@@SET_BUILD_PROPERTY@swarm_hashes@{\"test1\": \"[dummy hash for test1]\", \"test2\": \"[dummy hash for test2]\", \"test_exparchive\": \"[dummy hash for test_exparchive]\"}@@@" + ] + }, + { + "cmd": [ + "python", + "-u", + "RECIPE_MODULE[skia::isolate]/resources/isolate.py", + "[START_DIR]/swarming.client", + "archive", + "--dump-json", + "/path/to/tmp/json", + "--isolate-server", + "https://isolateserver-dev.appspot.com", + "--eventlog-endpoint", + "prod", + "--isolate", + "RECIPE_PACKAGE_REPO[skia]/test_exparchive.isolate", + "--isolated", + "RECIPE_PACKAGE_REPO[skia]/test_exparchive.isolated" + ], + "name": "isolate test_exparchive", + "~followup_annotations": [ + "@@@STEP_LOG_LINE@json.output@{@@@", + "@@@STEP_LOG_LINE@json.output@ \"test_exparchive\": \"[dummy hash for test_exparchive]\"@@@", + "@@@STEP_LOG_LINE@json.output@}@@@", + "@@@STEP_LOG_END@json.output@@@" + ] + }, + { + "cmd": [ + "python", + "-u", + "RECIPE_MODULE[skia::isolate]/resources/isolate.py", + "[START_DIR]/swarming.client", + "batcharchive", + "--dump-json", + "/path/to/tmp/json", + "--isolate-server", + "https://isolateserver-dev.appspot.com", + "RECIPE_PACKAGE_REPO[skia]/test1.isolated.gen.json", + "RECIPE_PACKAGE_REPO[skia]/test2.isolated.gen.json" + ], + "name": "isolate tests", + "~followup_annotations": [ + "@@@STEP_LOG_LINE@json.output@{@@@", + "@@@STEP_LOG_LINE@json.output@ \"test1\": \"[dummy hash for test1]\", @@@", + "@@@STEP_LOG_LINE@json.output@ \"test2\": \"[dummy hash for test2]\"@@@", + "@@@STEP_LOG_LINE@json.output@}@@@", + "@@@STEP_LOG_END@json.output@@@", + "@@@SET_BUILD_PROPERTY@swarm_hashes@{\"test1\": \"[dummy hash for test1]\", \"test2\": \"[dummy hash for test2]\", \"test_exparchive\": \"[dummy hash for test_exparchive]\"}@@@" + ] + }, + { + "name": "$result", + "recipe_result": null, + "status_code": 0 + } +]
\ No newline at end of file diff --git a/infra/bots/recipe_modules/isolate/examples/full.expected/use-exparchive-20percent-build4.json b/infra/bots/recipe_modules/isolate/examples/full.expected/use-exparchive-20percent-build4.json new file mode 100644 index 0000000000..1719129ed4 --- /dev/null +++ b/infra/bots/recipe_modules/isolate/examples/full.expected/use-exparchive-20percent-build4.json @@ -0,0 +1,180 @@ +[ + { + "cmd": [ + "python", + "-u", + "RECIPE_MODULE[depot_tools::git]/resources/git_setup.py", + "--path", + "[START_DIR]/swarming.client", + "--url", + "https://chromium.googlesource.com/external/swarming.client.git" + ], + "name": "git setup (swarming_client)" + }, + { + "cmd": [ + "git", + "retry", + "fetch", + "origin", + "master", + "--progress" + ], + "cwd": "[START_DIR]/swarming.client", + "env": { + "PATH": "RECIPE_PACKAGE_REPO[depot_tools]:<PATH>" + }, + "infra_step": true, + "name": "git fetch (swarming_client)" + }, + { + "cmd": [ + "git", + "checkout", + "-f", + "FETCH_HEAD" + ], + "cwd": "[START_DIR]/swarming.client", + "infra_step": true, + "name": "git checkout (swarming_client)" + }, + { + "cmd": [ + "git", + "rev-parse", + "HEAD" + ], + "cwd": "[START_DIR]/swarming.client", + "infra_step": true, + "name": "read revision", + "stdout": "/path/to/tmp/", + "~followup_annotations": [ + "@@@STEP_TEXT@<br/>checked out 'deadbeef'<br/>@@@" + ] + }, + { + "cmd": [ + "git", + "clean", + "-f", + "-d", + "-x" + ], + "cwd": "[START_DIR]/swarming.client", + "infra_step": true, + "name": "git clean (swarming_client)" + }, + { + "cmd": [ + "git", + "submodule", + "sync" + ], + "cwd": "[START_DIR]/swarming.client", + "infra_step": true, + "name": "submodule sync (swarming_client)" + }, + { + "cmd": [ + "git", + "submodule", + "update", + "--init", + "--recursive" + ], + "cwd": "[START_DIR]/swarming.client", + "infra_step": true, + "name": "submodule update (swarming_client)" + }, + { + "cmd": [ + "cat" + ], + "name": "read test spec", + "stdout": "/path/to/tmp/json", + "~followup_annotations": [ + "@@@STEP_LOG_LINE@json.output@[@@@", + "@@@STEP_LOG_LINE@json.output@ \"test1\", @@@", + "@@@STEP_LOG_LINE@json.output@ \"test2\", @@@", + "@@@STEP_LOG_LINE@json.output@ \"test_exparchive\"@@@", + "@@@STEP_LOG_LINE@json.output@]@@@", + "@@@STEP_LOG_END@json.output@@@" + ] + }, + { + "cmd": [ + "python", + "-u", + "RECIPE_MODULE[skia::isolate]/resources/find_isolated_tests.py", + "--build-dir", + "RECIPE_PACKAGE_REPO[skia]", + "--output-json", + "/path/to/tmp/json" + ], + "name": "find isolated tests", + "~followup_annotations": [ + "@@@STEP_LOG_LINE@json.output@{@@@", + "@@@STEP_LOG_LINE@json.output@ \"test1\": \"[dummy hash for test1]\", @@@", + "@@@STEP_LOG_LINE@json.output@ \"test2\": \"[dummy hash for test2]\", @@@", + "@@@STEP_LOG_LINE@json.output@ \"test_exparchive\": \"[dummy hash for test_exparchive]\"@@@", + "@@@STEP_LOG_LINE@json.output@}@@@", + "@@@STEP_LOG_END@json.output@@@", + "@@@SET_BUILD_PROPERTY@swarm_hashes@{\"test1\": \"[dummy hash for test1]\", \"test2\": \"[dummy hash for test2]\", \"test_exparchive\": \"[dummy hash for test_exparchive]\"}@@@" + ] + }, + { + "cmd": [ + "python", + "-u", + "RECIPE_MODULE[skia::isolate]/resources/isolate.py", + "[START_DIR]/swarming.client", + "archive", + "--dump-json", + "/path/to/tmp/json", + "--isolate-server", + "https://isolateserver-dev.appspot.com", + "--eventlog-endpoint", + "prod", + "--isolate", + "RECIPE_PACKAGE_REPO[skia]/test_exparchive.isolate", + "--isolated", + "RECIPE_PACKAGE_REPO[skia]/test_exparchive.isolated" + ], + "name": "isolate test_exparchive", + "~followup_annotations": [ + "@@@STEP_LOG_LINE@json.output@{@@@", + "@@@STEP_LOG_LINE@json.output@ \"test_exparchive\": \"[dummy hash for test_exparchive]\"@@@", + "@@@STEP_LOG_LINE@json.output@}@@@", + "@@@STEP_LOG_END@json.output@@@" + ] + }, + { + "cmd": [ + "python", + "-u", + "RECIPE_MODULE[skia::isolate]/resources/isolate.py", + "[START_DIR]/swarming.client", + "batcharchive", + "--dump-json", + "/path/to/tmp/json", + "--isolate-server", + "https://isolateserver-dev.appspot.com", + "RECIPE_PACKAGE_REPO[skia]/test1.isolated.gen.json", + "RECIPE_PACKAGE_REPO[skia]/test2.isolated.gen.json" + ], + "name": "isolate tests", + "~followup_annotations": [ + "@@@STEP_LOG_LINE@json.output@{@@@", + "@@@STEP_LOG_LINE@json.output@ \"test1\": \"[dummy hash for test1]\", @@@", + "@@@STEP_LOG_LINE@json.output@ \"test2\": \"[dummy hash for test2]\"@@@", + "@@@STEP_LOG_LINE@json.output@}@@@", + "@@@STEP_LOG_END@json.output@@@", + "@@@SET_BUILD_PROPERTY@swarm_hashes@{\"test1\": \"[dummy hash for test1]\", \"test2\": \"[dummy hash for test2]\", \"test_exparchive\": \"[dummy hash for test_exparchive]\"}@@@" + ] + }, + { + "name": "$result", + "recipe_result": null, + "status_code": 0 + } +]
\ No newline at end of file diff --git a/infra/bots/recipe_modules/isolate/examples/full.expected/use-exparchive-20percent-build5.json b/infra/bots/recipe_modules/isolate/examples/full.expected/use-exparchive-20percent-build5.json new file mode 100644 index 0000000000..1719129ed4 --- /dev/null +++ b/infra/bots/recipe_modules/isolate/examples/full.expected/use-exparchive-20percent-build5.json @@ -0,0 +1,180 @@ +[ + { + "cmd": [ + "python", + "-u", + "RECIPE_MODULE[depot_tools::git]/resources/git_setup.py", + "--path", + "[START_DIR]/swarming.client", + "--url", + "https://chromium.googlesource.com/external/swarming.client.git" + ], + "name": "git setup (swarming_client)" + }, + { + "cmd": [ + "git", + "retry", + "fetch", + "origin", + "master", + "--progress" + ], + "cwd": "[START_DIR]/swarming.client", + "env": { + "PATH": "RECIPE_PACKAGE_REPO[depot_tools]:<PATH>" + }, + "infra_step": true, + "name": "git fetch (swarming_client)" + }, + { + "cmd": [ + "git", + "checkout", + "-f", + "FETCH_HEAD" + ], + "cwd": "[START_DIR]/swarming.client", + "infra_step": true, + "name": "git checkout (swarming_client)" + }, + { + "cmd": [ + "git", + "rev-parse", + "HEAD" + ], + "cwd": "[START_DIR]/swarming.client", + "infra_step": true, + "name": "read revision", + "stdout": "/path/to/tmp/", + "~followup_annotations": [ + "@@@STEP_TEXT@<br/>checked out 'deadbeef'<br/>@@@" + ] + }, + { + "cmd": [ + "git", + "clean", + "-f", + "-d", + "-x" + ], + "cwd": "[START_DIR]/swarming.client", + "infra_step": true, + "name": "git clean (swarming_client)" + }, + { + "cmd": [ + "git", + "submodule", + "sync" + ], + "cwd": "[START_DIR]/swarming.client", + "infra_step": true, + "name": "submodule sync (swarming_client)" + }, + { + "cmd": [ + "git", + "submodule", + "update", + "--init", + "--recursive" + ], + "cwd": "[START_DIR]/swarming.client", + "infra_step": true, + "name": "submodule update (swarming_client)" + }, + { + "cmd": [ + "cat" + ], + "name": "read test spec", + "stdout": "/path/to/tmp/json", + "~followup_annotations": [ + "@@@STEP_LOG_LINE@json.output@[@@@", + "@@@STEP_LOG_LINE@json.output@ \"test1\", @@@", + "@@@STEP_LOG_LINE@json.output@ \"test2\", @@@", + "@@@STEP_LOG_LINE@json.output@ \"test_exparchive\"@@@", + "@@@STEP_LOG_LINE@json.output@]@@@", + "@@@STEP_LOG_END@json.output@@@" + ] + }, + { + "cmd": [ + "python", + "-u", + "RECIPE_MODULE[skia::isolate]/resources/find_isolated_tests.py", + "--build-dir", + "RECIPE_PACKAGE_REPO[skia]", + "--output-json", + "/path/to/tmp/json" + ], + "name": "find isolated tests", + "~followup_annotations": [ + "@@@STEP_LOG_LINE@json.output@{@@@", + "@@@STEP_LOG_LINE@json.output@ \"test1\": \"[dummy hash for test1]\", @@@", + "@@@STEP_LOG_LINE@json.output@ \"test2\": \"[dummy hash for test2]\", @@@", + "@@@STEP_LOG_LINE@json.output@ \"test_exparchive\": \"[dummy hash for test_exparchive]\"@@@", + "@@@STEP_LOG_LINE@json.output@}@@@", + "@@@STEP_LOG_END@json.output@@@", + "@@@SET_BUILD_PROPERTY@swarm_hashes@{\"test1\": \"[dummy hash for test1]\", \"test2\": \"[dummy hash for test2]\", \"test_exparchive\": \"[dummy hash for test_exparchive]\"}@@@" + ] + }, + { + "cmd": [ + "python", + "-u", + "RECIPE_MODULE[skia::isolate]/resources/isolate.py", + "[START_DIR]/swarming.client", + "archive", + "--dump-json", + "/path/to/tmp/json", + "--isolate-server", + "https://isolateserver-dev.appspot.com", + "--eventlog-endpoint", + "prod", + "--isolate", + "RECIPE_PACKAGE_REPO[skia]/test_exparchive.isolate", + "--isolated", + "RECIPE_PACKAGE_REPO[skia]/test_exparchive.isolated" + ], + "name": "isolate test_exparchive", + "~followup_annotations": [ + "@@@STEP_LOG_LINE@json.output@{@@@", + "@@@STEP_LOG_LINE@json.output@ \"test_exparchive\": \"[dummy hash for test_exparchive]\"@@@", + "@@@STEP_LOG_LINE@json.output@}@@@", + "@@@STEP_LOG_END@json.output@@@" + ] + }, + { + "cmd": [ + "python", + "-u", + "RECIPE_MODULE[skia::isolate]/resources/isolate.py", + "[START_DIR]/swarming.client", + "batcharchive", + "--dump-json", + "/path/to/tmp/json", + "--isolate-server", + "https://isolateserver-dev.appspot.com", + "RECIPE_PACKAGE_REPO[skia]/test1.isolated.gen.json", + "RECIPE_PACKAGE_REPO[skia]/test2.isolated.gen.json" + ], + "name": "isolate tests", + "~followup_annotations": [ + "@@@STEP_LOG_LINE@json.output@{@@@", + "@@@STEP_LOG_LINE@json.output@ \"test1\": \"[dummy hash for test1]\", @@@", + "@@@STEP_LOG_LINE@json.output@ \"test2\": \"[dummy hash for test2]\"@@@", + "@@@STEP_LOG_LINE@json.output@}@@@", + "@@@STEP_LOG_END@json.output@@@", + "@@@SET_BUILD_PROPERTY@swarm_hashes@{\"test1\": \"[dummy hash for test1]\", \"test2\": \"[dummy hash for test2]\", \"test_exparchive\": \"[dummy hash for test_exparchive]\"}@@@" + ] + }, + { + "name": "$result", + "recipe_result": null, + "status_code": 0 + } +]
\ No newline at end of file diff --git a/infra/bots/recipe_modules/isolate/examples/full.expected/use-exparchive-20percent-build6.json b/infra/bots/recipe_modules/isolate/examples/full.expected/use-exparchive-20percent-build6.json new file mode 100644 index 0000000000..1719129ed4 --- /dev/null +++ b/infra/bots/recipe_modules/isolate/examples/full.expected/use-exparchive-20percent-build6.json @@ -0,0 +1,180 @@ +[ + { + "cmd": [ + "python", + "-u", + "RECIPE_MODULE[depot_tools::git]/resources/git_setup.py", + "--path", + "[START_DIR]/swarming.client", + "--url", + "https://chromium.googlesource.com/external/swarming.client.git" + ], + "name": "git setup (swarming_client)" + }, + { + "cmd": [ + "git", + "retry", + "fetch", + "origin", + "master", + "--progress" + ], + "cwd": "[START_DIR]/swarming.client", + "env": { + "PATH": "RECIPE_PACKAGE_REPO[depot_tools]:<PATH>" + }, + "infra_step": true, + "name": "git fetch (swarming_client)" + }, + { + "cmd": [ + "git", + "checkout", + "-f", + "FETCH_HEAD" + ], + "cwd": "[START_DIR]/swarming.client", + "infra_step": true, + "name": "git checkout (swarming_client)" + }, + { + "cmd": [ + "git", + "rev-parse", + "HEAD" + ], + "cwd": "[START_DIR]/swarming.client", + "infra_step": true, + "name": "read revision", + "stdout": "/path/to/tmp/", + "~followup_annotations": [ + "@@@STEP_TEXT@<br/>checked out 'deadbeef'<br/>@@@" + ] + }, + { + "cmd": [ + "git", + "clean", + "-f", + "-d", + "-x" + ], + "cwd": "[START_DIR]/swarming.client", + "infra_step": true, + "name": "git clean (swarming_client)" + }, + { + "cmd": [ + "git", + "submodule", + "sync" + ], + "cwd": "[START_DIR]/swarming.client", + "infra_step": true, + "name": "submodule sync (swarming_client)" + }, + { + "cmd": [ + "git", + "submodule", + "update", + "--init", + "--recursive" + ], + "cwd": "[START_DIR]/swarming.client", + "infra_step": true, + "name": "submodule update (swarming_client)" + }, + { + "cmd": [ + "cat" + ], + "name": "read test spec", + "stdout": "/path/to/tmp/json", + "~followup_annotations": [ + "@@@STEP_LOG_LINE@json.output@[@@@", + "@@@STEP_LOG_LINE@json.output@ \"test1\", @@@", + "@@@STEP_LOG_LINE@json.output@ \"test2\", @@@", + "@@@STEP_LOG_LINE@json.output@ \"test_exparchive\"@@@", + "@@@STEP_LOG_LINE@json.output@]@@@", + "@@@STEP_LOG_END@json.output@@@" + ] + }, + { + "cmd": [ + "python", + "-u", + "RECIPE_MODULE[skia::isolate]/resources/find_isolated_tests.py", + "--build-dir", + "RECIPE_PACKAGE_REPO[skia]", + "--output-json", + "/path/to/tmp/json" + ], + "name": "find isolated tests", + "~followup_annotations": [ + "@@@STEP_LOG_LINE@json.output@{@@@", + "@@@STEP_LOG_LINE@json.output@ \"test1\": \"[dummy hash for test1]\", @@@", + "@@@STEP_LOG_LINE@json.output@ \"test2\": \"[dummy hash for test2]\", @@@", + "@@@STEP_LOG_LINE@json.output@ \"test_exparchive\": \"[dummy hash for test_exparchive]\"@@@", + "@@@STEP_LOG_LINE@json.output@}@@@", + "@@@STEP_LOG_END@json.output@@@", + "@@@SET_BUILD_PROPERTY@swarm_hashes@{\"test1\": \"[dummy hash for test1]\", \"test2\": \"[dummy hash for test2]\", \"test_exparchive\": \"[dummy hash for test_exparchive]\"}@@@" + ] + }, + { + "cmd": [ + "python", + "-u", + "RECIPE_MODULE[skia::isolate]/resources/isolate.py", + "[START_DIR]/swarming.client", + "archive", + "--dump-json", + "/path/to/tmp/json", + "--isolate-server", + "https://isolateserver-dev.appspot.com", + "--eventlog-endpoint", + "prod", + "--isolate", + "RECIPE_PACKAGE_REPO[skia]/test_exparchive.isolate", + "--isolated", + "RECIPE_PACKAGE_REPO[skia]/test_exparchive.isolated" + ], + "name": "isolate test_exparchive", + "~followup_annotations": [ + "@@@STEP_LOG_LINE@json.output@{@@@", + "@@@STEP_LOG_LINE@json.output@ \"test_exparchive\": \"[dummy hash for test_exparchive]\"@@@", + "@@@STEP_LOG_LINE@json.output@}@@@", + "@@@STEP_LOG_END@json.output@@@" + ] + }, + { + "cmd": [ + "python", + "-u", + "RECIPE_MODULE[skia::isolate]/resources/isolate.py", + "[START_DIR]/swarming.client", + "batcharchive", + "--dump-json", + "/path/to/tmp/json", + "--isolate-server", + "https://isolateserver-dev.appspot.com", + "RECIPE_PACKAGE_REPO[skia]/test1.isolated.gen.json", + "RECIPE_PACKAGE_REPO[skia]/test2.isolated.gen.json" + ], + "name": "isolate tests", + "~followup_annotations": [ + "@@@STEP_LOG_LINE@json.output@{@@@", + "@@@STEP_LOG_LINE@json.output@ \"test1\": \"[dummy hash for test1]\", @@@", + "@@@STEP_LOG_LINE@json.output@ \"test2\": \"[dummy hash for test2]\"@@@", + "@@@STEP_LOG_LINE@json.output@}@@@", + "@@@STEP_LOG_END@json.output@@@", + "@@@SET_BUILD_PROPERTY@swarm_hashes@{\"test1\": \"[dummy hash for test1]\", \"test2\": \"[dummy hash for test2]\", \"test_exparchive\": \"[dummy hash for test_exparchive]\"}@@@" + ] + }, + { + "name": "$result", + "recipe_result": null, + "status_code": 0 + } +]
\ No newline at end of file diff --git a/infra/bots/recipe_modules/isolate/examples/full.expected/use-exparchive-20percent-build7.json b/infra/bots/recipe_modules/isolate/examples/full.expected/use-exparchive-20percent-build7.json new file mode 100644 index 0000000000..1719129ed4 --- /dev/null +++ b/infra/bots/recipe_modules/isolate/examples/full.expected/use-exparchive-20percent-build7.json @@ -0,0 +1,180 @@ +[ + { + "cmd": [ + "python", + "-u", + "RECIPE_MODULE[depot_tools::git]/resources/git_setup.py", + "--path", + "[START_DIR]/swarming.client", + "--url", + "https://chromium.googlesource.com/external/swarming.client.git" + ], + "name": "git setup (swarming_client)" + }, + { + "cmd": [ + "git", + "retry", + "fetch", + "origin", + "master", + "--progress" + ], + "cwd": "[START_DIR]/swarming.client", + "env": { + "PATH": "RECIPE_PACKAGE_REPO[depot_tools]:<PATH>" + }, + "infra_step": true, + "name": "git fetch (swarming_client)" + }, + { + "cmd": [ + "git", + "checkout", + "-f", + "FETCH_HEAD" + ], + "cwd": "[START_DIR]/swarming.client", + "infra_step": true, + "name": "git checkout (swarming_client)" + }, + { + "cmd": [ + "git", + "rev-parse", + "HEAD" + ], + "cwd": "[START_DIR]/swarming.client", + "infra_step": true, + "name": "read revision", + "stdout": "/path/to/tmp/", + "~followup_annotations": [ + "@@@STEP_TEXT@<br/>checked out 'deadbeef'<br/>@@@" + ] + }, + { + "cmd": [ + "git", + "clean", + "-f", + "-d", + "-x" + ], + "cwd": "[START_DIR]/swarming.client", + "infra_step": true, + "name": "git clean (swarming_client)" + }, + { + "cmd": [ + "git", + "submodule", + "sync" + ], + "cwd": "[START_DIR]/swarming.client", + "infra_step": true, + "name": "submodule sync (swarming_client)" + }, + { + "cmd": [ + "git", + "submodule", + "update", + "--init", + "--recursive" + ], + "cwd": "[START_DIR]/swarming.client", + "infra_step": true, + "name": "submodule update (swarming_client)" + }, + { + "cmd": [ + "cat" + ], + "name": "read test spec", + "stdout": "/path/to/tmp/json", + "~followup_annotations": [ + "@@@STEP_LOG_LINE@json.output@[@@@", + "@@@STEP_LOG_LINE@json.output@ \"test1\", @@@", + "@@@STEP_LOG_LINE@json.output@ \"test2\", @@@", + "@@@STEP_LOG_LINE@json.output@ \"test_exparchive\"@@@", + "@@@STEP_LOG_LINE@json.output@]@@@", + "@@@STEP_LOG_END@json.output@@@" + ] + }, + { + "cmd": [ + "python", + "-u", + "RECIPE_MODULE[skia::isolate]/resources/find_isolated_tests.py", + "--build-dir", + "RECIPE_PACKAGE_REPO[skia]", + "--output-json", + "/path/to/tmp/json" + ], + "name": "find isolated tests", + "~followup_annotations": [ + "@@@STEP_LOG_LINE@json.output@{@@@", + "@@@STEP_LOG_LINE@json.output@ \"test1\": \"[dummy hash for test1]\", @@@", + "@@@STEP_LOG_LINE@json.output@ \"test2\": \"[dummy hash for test2]\", @@@", + "@@@STEP_LOG_LINE@json.output@ \"test_exparchive\": \"[dummy hash for test_exparchive]\"@@@", + "@@@STEP_LOG_LINE@json.output@}@@@", + "@@@STEP_LOG_END@json.output@@@", + "@@@SET_BUILD_PROPERTY@swarm_hashes@{\"test1\": \"[dummy hash for test1]\", \"test2\": \"[dummy hash for test2]\", \"test_exparchive\": \"[dummy hash for test_exparchive]\"}@@@" + ] + }, + { + "cmd": [ + "python", + "-u", + "RECIPE_MODULE[skia::isolate]/resources/isolate.py", + "[START_DIR]/swarming.client", + "archive", + "--dump-json", + "/path/to/tmp/json", + "--isolate-server", + "https://isolateserver-dev.appspot.com", + "--eventlog-endpoint", + "prod", + "--isolate", + "RECIPE_PACKAGE_REPO[skia]/test_exparchive.isolate", + "--isolated", + "RECIPE_PACKAGE_REPO[skia]/test_exparchive.isolated" + ], + "name": "isolate test_exparchive", + "~followup_annotations": [ + "@@@STEP_LOG_LINE@json.output@{@@@", + "@@@STEP_LOG_LINE@json.output@ \"test_exparchive\": \"[dummy hash for test_exparchive]\"@@@", + "@@@STEP_LOG_LINE@json.output@}@@@", + "@@@STEP_LOG_END@json.output@@@" + ] + }, + { + "cmd": [ + "python", + "-u", + "RECIPE_MODULE[skia::isolate]/resources/isolate.py", + "[START_DIR]/swarming.client", + "batcharchive", + "--dump-json", + "/path/to/tmp/json", + "--isolate-server", + "https://isolateserver-dev.appspot.com", + "RECIPE_PACKAGE_REPO[skia]/test1.isolated.gen.json", + "RECIPE_PACKAGE_REPO[skia]/test2.isolated.gen.json" + ], + "name": "isolate tests", + "~followup_annotations": [ + "@@@STEP_LOG_LINE@json.output@{@@@", + "@@@STEP_LOG_LINE@json.output@ \"test1\": \"[dummy hash for test1]\", @@@", + "@@@STEP_LOG_LINE@json.output@ \"test2\": \"[dummy hash for test2]\"@@@", + "@@@STEP_LOG_LINE@json.output@}@@@", + "@@@STEP_LOG_END@json.output@@@", + "@@@SET_BUILD_PROPERTY@swarm_hashes@{\"test1\": \"[dummy hash for test1]\", \"test2\": \"[dummy hash for test2]\", \"test_exparchive\": \"[dummy hash for test_exparchive]\"}@@@" + ] + }, + { + "name": "$result", + "recipe_result": null, + "status_code": 0 + } +]
\ No newline at end of file diff --git a/infra/bots/recipe_modules/isolate/examples/full.expected/use-exparchive-20percent-build8.json b/infra/bots/recipe_modules/isolate/examples/full.expected/use-exparchive-20percent-build8.json new file mode 100644 index 0000000000..1719129ed4 --- /dev/null +++ b/infra/bots/recipe_modules/isolate/examples/full.expected/use-exparchive-20percent-build8.json @@ -0,0 +1,180 @@ +[ + { + "cmd": [ + "python", + "-u", + "RECIPE_MODULE[depot_tools::git]/resources/git_setup.py", + "--path", + "[START_DIR]/swarming.client", + "--url", + "https://chromium.googlesource.com/external/swarming.client.git" + ], + "name": "git setup (swarming_client)" + }, + { + "cmd": [ + "git", + "retry", + "fetch", + "origin", + "master", + "--progress" + ], + "cwd": "[START_DIR]/swarming.client", + "env": { + "PATH": "RECIPE_PACKAGE_REPO[depot_tools]:<PATH>" + }, + "infra_step": true, + "name": "git fetch (swarming_client)" + }, + { + "cmd": [ + "git", + "checkout", + "-f", + "FETCH_HEAD" + ], + "cwd": "[START_DIR]/swarming.client", + "infra_step": true, + "name": "git checkout (swarming_client)" + }, + { + "cmd": [ + "git", + "rev-parse", + "HEAD" + ], + "cwd": "[START_DIR]/swarming.client", + "infra_step": true, + "name": "read revision", + "stdout": "/path/to/tmp/", + "~followup_annotations": [ + "@@@STEP_TEXT@<br/>checked out 'deadbeef'<br/>@@@" + ] + }, + { + "cmd": [ + "git", + "clean", + "-f", + "-d", + "-x" + ], + "cwd": "[START_DIR]/swarming.client", + "infra_step": true, + "name": "git clean (swarming_client)" + }, + { + "cmd": [ + "git", + "submodule", + "sync" + ], + "cwd": "[START_DIR]/swarming.client", + "infra_step": true, + "name": "submodule sync (swarming_client)" + }, + { + "cmd": [ + "git", + "submodule", + "update", + "--init", + "--recursive" + ], + "cwd": "[START_DIR]/swarming.client", + "infra_step": true, + "name": "submodule update (swarming_client)" + }, + { + "cmd": [ + "cat" + ], + "name": "read test spec", + "stdout": "/path/to/tmp/json", + "~followup_annotations": [ + "@@@STEP_LOG_LINE@json.output@[@@@", + "@@@STEP_LOG_LINE@json.output@ \"test1\", @@@", + "@@@STEP_LOG_LINE@json.output@ \"test2\", @@@", + "@@@STEP_LOG_LINE@json.output@ \"test_exparchive\"@@@", + "@@@STEP_LOG_LINE@json.output@]@@@", + "@@@STEP_LOG_END@json.output@@@" + ] + }, + { + "cmd": [ + "python", + "-u", + "RECIPE_MODULE[skia::isolate]/resources/find_isolated_tests.py", + "--build-dir", + "RECIPE_PACKAGE_REPO[skia]", + "--output-json", + "/path/to/tmp/json" + ], + "name": "find isolated tests", + "~followup_annotations": [ + "@@@STEP_LOG_LINE@json.output@{@@@", + "@@@STEP_LOG_LINE@json.output@ \"test1\": \"[dummy hash for test1]\", @@@", + "@@@STEP_LOG_LINE@json.output@ \"test2\": \"[dummy hash for test2]\", @@@", + "@@@STEP_LOG_LINE@json.output@ \"test_exparchive\": \"[dummy hash for test_exparchive]\"@@@", + "@@@STEP_LOG_LINE@json.output@}@@@", + "@@@STEP_LOG_END@json.output@@@", + "@@@SET_BUILD_PROPERTY@swarm_hashes@{\"test1\": \"[dummy hash for test1]\", \"test2\": \"[dummy hash for test2]\", \"test_exparchive\": \"[dummy hash for test_exparchive]\"}@@@" + ] + }, + { + "cmd": [ + "python", + "-u", + "RECIPE_MODULE[skia::isolate]/resources/isolate.py", + "[START_DIR]/swarming.client", + "archive", + "--dump-json", + "/path/to/tmp/json", + "--isolate-server", + "https://isolateserver-dev.appspot.com", + "--eventlog-endpoint", + "prod", + "--isolate", + "RECIPE_PACKAGE_REPO[skia]/test_exparchive.isolate", + "--isolated", + "RECIPE_PACKAGE_REPO[skia]/test_exparchive.isolated" + ], + "name": "isolate test_exparchive", + "~followup_annotations": [ + "@@@STEP_LOG_LINE@json.output@{@@@", + "@@@STEP_LOG_LINE@json.output@ \"test_exparchive\": \"[dummy hash for test_exparchive]\"@@@", + "@@@STEP_LOG_LINE@json.output@}@@@", + "@@@STEP_LOG_END@json.output@@@" + ] + }, + { + "cmd": [ + "python", + "-u", + "RECIPE_MODULE[skia::isolate]/resources/isolate.py", + "[START_DIR]/swarming.client", + "batcharchive", + "--dump-json", + "/path/to/tmp/json", + "--isolate-server", + "https://isolateserver-dev.appspot.com", + "RECIPE_PACKAGE_REPO[skia]/test1.isolated.gen.json", + "RECIPE_PACKAGE_REPO[skia]/test2.isolated.gen.json" + ], + "name": "isolate tests", + "~followup_annotations": [ + "@@@STEP_LOG_LINE@json.output@{@@@", + "@@@STEP_LOG_LINE@json.output@ \"test1\": \"[dummy hash for test1]\", @@@", + "@@@STEP_LOG_LINE@json.output@ \"test2\": \"[dummy hash for test2]\"@@@", + "@@@STEP_LOG_LINE@json.output@}@@@", + "@@@STEP_LOG_END@json.output@@@", + "@@@SET_BUILD_PROPERTY@swarm_hashes@{\"test1\": \"[dummy hash for test1]\", \"test2\": \"[dummy hash for test2]\", \"test_exparchive\": \"[dummy hash for test_exparchive]\"}@@@" + ] + }, + { + "name": "$result", + "recipe_result": null, + "status_code": 0 + } +]
\ No newline at end of file diff --git a/infra/bots/recipe_modules/isolate/examples/full.expected/use-exparchive-20percent-build9.json b/infra/bots/recipe_modules/isolate/examples/full.expected/use-exparchive-20percent-build9.json new file mode 100644 index 0000000000..1719129ed4 --- /dev/null +++ b/infra/bots/recipe_modules/isolate/examples/full.expected/use-exparchive-20percent-build9.json @@ -0,0 +1,180 @@ +[ + { + "cmd": [ + "python", + "-u", + "RECIPE_MODULE[depot_tools::git]/resources/git_setup.py", + "--path", + "[START_DIR]/swarming.client", + "--url", + "https://chromium.googlesource.com/external/swarming.client.git" + ], + "name": "git setup (swarming_client)" + }, + { + "cmd": [ + "git", + "retry", + "fetch", + "origin", + "master", + "--progress" + ], + "cwd": "[START_DIR]/swarming.client", + "env": { + "PATH": "RECIPE_PACKAGE_REPO[depot_tools]:<PATH>" + }, + "infra_step": true, + "name": "git fetch (swarming_client)" + }, + { + "cmd": [ + "git", + "checkout", + "-f", + "FETCH_HEAD" + ], + "cwd": "[START_DIR]/swarming.client", + "infra_step": true, + "name": "git checkout (swarming_client)" + }, + { + "cmd": [ + "git", + "rev-parse", + "HEAD" + ], + "cwd": "[START_DIR]/swarming.client", + "infra_step": true, + "name": "read revision", + "stdout": "/path/to/tmp/", + "~followup_annotations": [ + "@@@STEP_TEXT@<br/>checked out 'deadbeef'<br/>@@@" + ] + }, + { + "cmd": [ + "git", + "clean", + "-f", + "-d", + "-x" + ], + "cwd": "[START_DIR]/swarming.client", + "infra_step": true, + "name": "git clean (swarming_client)" + }, + { + "cmd": [ + "git", + "submodule", + "sync" + ], + "cwd": "[START_DIR]/swarming.client", + "infra_step": true, + "name": "submodule sync (swarming_client)" + }, + { + "cmd": [ + "git", + "submodule", + "update", + "--init", + "--recursive" + ], + "cwd": "[START_DIR]/swarming.client", + "infra_step": true, + "name": "submodule update (swarming_client)" + }, + { + "cmd": [ + "cat" + ], + "name": "read test spec", + "stdout": "/path/to/tmp/json", + "~followup_annotations": [ + "@@@STEP_LOG_LINE@json.output@[@@@", + "@@@STEP_LOG_LINE@json.output@ \"test1\", @@@", + "@@@STEP_LOG_LINE@json.output@ \"test2\", @@@", + "@@@STEP_LOG_LINE@json.output@ \"test_exparchive\"@@@", + "@@@STEP_LOG_LINE@json.output@]@@@", + "@@@STEP_LOG_END@json.output@@@" + ] + }, + { + "cmd": [ + "python", + "-u", + "RECIPE_MODULE[skia::isolate]/resources/find_isolated_tests.py", + "--build-dir", + "RECIPE_PACKAGE_REPO[skia]", + "--output-json", + "/path/to/tmp/json" + ], + "name": "find isolated tests", + "~followup_annotations": [ + "@@@STEP_LOG_LINE@json.output@{@@@", + "@@@STEP_LOG_LINE@json.output@ \"test1\": \"[dummy hash for test1]\", @@@", + "@@@STEP_LOG_LINE@json.output@ \"test2\": \"[dummy hash for test2]\", @@@", + "@@@STEP_LOG_LINE@json.output@ \"test_exparchive\": \"[dummy hash for test_exparchive]\"@@@", + "@@@STEP_LOG_LINE@json.output@}@@@", + "@@@STEP_LOG_END@json.output@@@", + "@@@SET_BUILD_PROPERTY@swarm_hashes@{\"test1\": \"[dummy hash for test1]\", \"test2\": \"[dummy hash for test2]\", \"test_exparchive\": \"[dummy hash for test_exparchive]\"}@@@" + ] + }, + { + "cmd": [ + "python", + "-u", + "RECIPE_MODULE[skia::isolate]/resources/isolate.py", + "[START_DIR]/swarming.client", + "archive", + "--dump-json", + "/path/to/tmp/json", + "--isolate-server", + "https://isolateserver-dev.appspot.com", + "--eventlog-endpoint", + "prod", + "--isolate", + "RECIPE_PACKAGE_REPO[skia]/test_exparchive.isolate", + "--isolated", + "RECIPE_PACKAGE_REPO[skia]/test_exparchive.isolated" + ], + "name": "isolate test_exparchive", + "~followup_annotations": [ + "@@@STEP_LOG_LINE@json.output@{@@@", + "@@@STEP_LOG_LINE@json.output@ \"test_exparchive\": \"[dummy hash for test_exparchive]\"@@@", + "@@@STEP_LOG_LINE@json.output@}@@@", + "@@@STEP_LOG_END@json.output@@@" + ] + }, + { + "cmd": [ + "python", + "-u", + "RECIPE_MODULE[skia::isolate]/resources/isolate.py", + "[START_DIR]/swarming.client", + "batcharchive", + "--dump-json", + "/path/to/tmp/json", + "--isolate-server", + "https://isolateserver-dev.appspot.com", + "RECIPE_PACKAGE_REPO[skia]/test1.isolated.gen.json", + "RECIPE_PACKAGE_REPO[skia]/test2.isolated.gen.json" + ], + "name": "isolate tests", + "~followup_annotations": [ + "@@@STEP_LOG_LINE@json.output@{@@@", + "@@@STEP_LOG_LINE@json.output@ \"test1\": \"[dummy hash for test1]\", @@@", + "@@@STEP_LOG_LINE@json.output@ \"test2\": \"[dummy hash for test2]\"@@@", + "@@@STEP_LOG_LINE@json.output@}@@@", + "@@@STEP_LOG_END@json.output@@@", + "@@@SET_BUILD_PROPERTY@swarm_hashes@{\"test1\": \"[dummy hash for test1]\", \"test2\": \"[dummy hash for test2]\", \"test_exparchive\": \"[dummy hash for test_exparchive]\"}@@@" + ] + }, + { + "name": "$result", + "recipe_result": null, + "status_code": 0 + } +]
\ No newline at end of file |