| Index: scripts/slave/recipe_modules/syzygy/example.expected/full_master_client_syzygy_Syzygy_Official.json
|
| diff --git a/scripts/slave/recipe_modules/syzygy/example.expected/full_master_client_syzygy_Syzygy_Official.json b/scripts/slave/recipe_modules/syzygy/example.expected/full_master_client_syzygy_Syzygy_Official.json
|
| index 4f7a6e959baafaec71fe0e44c7d9e2ac96bb703c..122e8208919fafdf21dc4a90775a4e127c69a085 100644
|
| --- a/scripts/slave/recipe_modules/syzygy/example.expected/full_master_client_syzygy_Syzygy_Official.json
|
| +++ b/scripts/slave/recipe_modules/syzygy/example.expected/full_master_client_syzygy_Syzygy_Official.json
|
| @@ -5,6 +5,7 @@
|
| "-u",
|
| "print \"dummy taskkill\""
|
| ],
|
| + "cwd": "[SLAVE_BUILD]",
|
| "name": "taskkill",
|
| "~followup_annotations": [
|
| "@@@STEP_LOG_LINE@python.inline@print \"dummy taskkill\"@@@",
|
| @@ -23,13 +24,13 @@
|
| "--slave",
|
| "fake_slave",
|
| "--spec",
|
| - "cache_dir = '[ROOT]\\\\b\\\\build\\\\slave\\\\cache_dir'\nsolutions = [{'deps_file': 'DEPS', 'managed': False, 'name': 'src', 'url': 'https://chromium.googlesource.com/external/github.com/google/syzygy.git/'}, {'deps_file': 'DEPS', 'managed': False, 'name': 'src-internal', 'url': 'https://chrome-internal.googlesource.com/chrome/syzygy/internal.DEPS.git'}]",
|
| + "cache_dir = '[GIT_CACHE]'\nsolutions = [{'deps_file': 'DEPS', 'managed': False, 'name': 'src', 'url': 'https://chromium.googlesource.com/external/github.com/google/syzygy.git/'}, {'deps_file': 'DEPS', 'managed': False, 'name': 'src-internal', 'url': 'https://chrome-internal.googlesource.com/chrome/syzygy/internal.DEPS.git'}]",
|
| "--root",
|
| "src",
|
| "--revision_mapping_file",
|
| "{\"src\": \"got_revision\"}",
|
| "--git-cache-dir",
|
| - "[ROOT]\\b\\build\\slave\\cache_dir",
|
| + "[GIT_CACHE]",
|
| "--output_json",
|
| "/path/to/tmp/json",
|
| "--revision",
|
| @@ -37,6 +38,7 @@
|
| "--force",
|
| "--output_manifest"
|
| ],
|
| + "cwd": "[SLAVE_BUILD]",
|
| "env": {
|
| "PATH": "%(PATH)s;RECIPE_PACKAGE_REPO[depot_tools]"
|
| },
|
| @@ -76,6 +78,7 @@
|
| "RECIPE_PACKAGE_REPO[depot_tools]\\gclient.py",
|
| "runhooks"
|
| ],
|
| + "cwd": "[SLAVE_BUILD]",
|
| "env": {
|
| "GOMA_SERVICE_ACCOUNT_JSON_FILE": "C:\\creds\\service_accounts\\service-account-goma-client.json",
|
| "GYP_DEFINES": "official_build=1 target_arch=ia32",
|
| @@ -99,9 +102,9 @@
|
| "--target",
|
| "Release",
|
| "--src-dir",
|
| - "[CWD]\\src",
|
| + "[SLAVE_BUILD]\\src",
|
| "--goma-cache-dir",
|
| - "[ROOT]\\b\\build\\slave\\goma_cache",
|
| + "[GOMA_CACHE]",
|
| "--build-tool",
|
| "ninja",
|
| "--ninja-ensure-up-to-date",
|
| @@ -109,6 +112,7 @@
|
| "--",
|
| "official_build"
|
| ],
|
| + "cwd": "[SLAVE_BUILD]",
|
| "env": {
|
| "GOMA_SERVICE_ACCOUNT_JSON_FILE": "C:\\creds\\service_accounts\\service-account-goma-client.json"
|
| },
|
| @@ -120,9 +124,10 @@
|
| "-u",
|
| "\nimport sys\nfrom common import chromium_utils # Error? See https://crbug.com/584783.\n\nchromium_utils.RemoveFilesWildcards(sys.argv[1], root=sys.argv[2])\n",
|
| "metrics.csv",
|
| - "[CWD]\\src\\out\\Release"
|
| + "[SLAVE_BUILD]\\src\\out\\Release"
|
| ],
|
| - "name": "rmwildcard metrics.csv in [CWD]\\src\\out\\Release",
|
| + "cwd": "[SLAVE_BUILD]",
|
| + "name": "rmwildcard metrics.csv in [SLAVE_BUILD]\\src\\out\\Release",
|
| "~followup_annotations": [
|
| "@@@STEP_LOG_LINE@python.inline@@@@",
|
| "@@@STEP_LOG_LINE@python.inline@import sys@@@",
|
| @@ -137,9 +142,10 @@
|
| "python",
|
| "-u",
|
| "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
|
| - "[CWD]\\src\\syzygy\\unittests.gypi",
|
| + "[SLAVE_BUILD]\\src\\syzygy\\unittests.gypi",
|
| "/path/to/tmp/"
|
| ],
|
| + "cwd": "[SLAVE_BUILD]",
|
| "name": "read_unittests_gypi"
|
| },
|
| {
|
| @@ -158,11 +164,12 @@
|
| "--builder-name=Syzygy Official",
|
| "--slave-name=fake_slave",
|
| "--build-number=571",
|
| - "[CWD]\\src\\out\\Release\\bar_unittests.exe",
|
| + "[SLAVE_BUILD]\\src\\out\\Release\\bar_unittests.exe",
|
| "--single-process-tests",
|
| "--test-launcher-timeout=300000",
|
| "--gtest_print_time"
|
| ],
|
| + "cwd": "[SLAVE_BUILD]",
|
| "name": "bar_unittests"
|
| },
|
| {
|
| @@ -181,11 +188,12 @@
|
| "--builder-name=Syzygy Official",
|
| "--slave-name=fake_slave",
|
| "--build-number=571",
|
| - "[CWD]\\src\\out\\Release\\baz_unittests.exe",
|
| + "[SLAVE_BUILD]\\src\\out\\Release\\baz_unittests.exe",
|
| "--single-process-tests",
|
| "--test-launcher-timeout=300000",
|
| "--gtest_print_time"
|
| ],
|
| + "cwd": "[SLAVE_BUILD]",
|
| "name": "baz_unittests"
|
| },
|
| {
|
| @@ -204,37 +212,40 @@
|
| "--builder-name=Syzygy Official",
|
| "--slave-name=fake_slave",
|
| "--build-number=571",
|
| - "[CWD]\\src\\out\\Release\\foo_unittests.exe",
|
| + "[SLAVE_BUILD]\\src\\out\\Release\\foo_unittests.exe",
|
| "--single-process-tests",
|
| "--test-launcher-timeout=300000",
|
| "--gtest_print_time"
|
| ],
|
| + "cwd": "[SLAVE_BUILD]",
|
| "name": "foo_unittests"
|
| },
|
| {
|
| "cmd": [
|
| "python",
|
| "-u",
|
| - "[CWD]\\src\\syzygy\\internal\\build\\randomize_chrome.py",
|
| + "[SLAVE_BUILD]\\src\\syzygy\\internal\\build\\randomize_chrome.py",
|
| "--build-dir",
|
| - "[CWD]\\src\\out",
|
| + "[SLAVE_BUILD]\\src\\out",
|
| "--target",
|
| "Release",
|
| "--verbose"
|
| ],
|
| + "cwd": "[SLAVE_BUILD]",
|
| "name": "randomly_reorder_chrome"
|
| },
|
| {
|
| "cmd": [
|
| "python",
|
| "-u",
|
| - "[CWD]\\src\\syzygy\\internal\\build\\benchmark_chrome.py",
|
| + "[SLAVE_BUILD]\\src\\syzygy\\internal\\build\\benchmark_chrome.py",
|
| "--build-dir",
|
| - "[CWD]\\src\\out",
|
| + "[SLAVE_BUILD]\\src\\out",
|
| "--target",
|
| "Release",
|
| "--verbose"
|
| ],
|
| + "cwd": "[SLAVE_BUILD]",
|
| "name": "benchmark_chrome"
|
| },
|
| {
|
| @@ -244,9 +255,10 @@
|
| "-t",
|
| "-a",
|
| "public-read",
|
| - "[CWD]\\src\\out\\Release\\metrics.csv",
|
| + "[SLAVE_BUILD]\\src\\out\\Release\\metrics.csv",
|
| "gs://syzygy-archive/builds/metrics/f27fede2220bcd326aee3e86ddfd4ebd0fe58cb9/official.csv"
|
| ],
|
| + "cwd": "[SLAVE_BUILD]",
|
| "name": "archive_metrics",
|
| "~followup_annotations": [
|
| "@@@STEP_LINK@archive@https://syzygy-archive.commondatastorage.googleapis.com/index.html?path=builds/metrics/f27fede2220bcd326aee3e86ddfd4ebd0fe58cb9/official.csv/@@@"
|
| @@ -257,9 +269,10 @@
|
| "python",
|
| "-u",
|
| "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
|
| - "[CWD]\\src\\syzygy\\SYZYGY_VERSION",
|
| + "[SLAVE_BUILD]\\src\\syzygy\\SYZYGY_VERSION",
|
| "/path/to/tmp/"
|
| ],
|
| + "cwd": "[SLAVE_BUILD]",
|
| "name": "read_version"
|
| },
|
| {
|
| @@ -268,9 +281,10 @@
|
| "-u",
|
| "RECIPE_PACKAGE_REPO[build]\\scripts\\slave\\syzygy\\gsutil_cp_dir.py",
|
| "--public-read",
|
| - "[CWD]\\src\\out\\Release\\archive",
|
| + "[SLAVE_BUILD]\\src\\out\\Release\\archive",
|
| "gs://syzygy-archive/test/builds/official/f27fede2220bcd326aee3e86ddfd4ebd0fe58cb9"
|
| ],
|
| + "cwd": "[SLAVE_BUILD]",
|
| "name": "archive_binaries",
|
| "~followup_annotations": [
|
| "@@@STEP_LINK@0.0.0.1 archive@https://syzygy-archive.commondatastorage.googleapis.com/index.html?path=test/builds/official/f27fede2220bcd326aee3e86ddfd4ebd0fe58cb9/@@@"
|
| @@ -280,37 +294,40 @@
|
| "cmd": [
|
| "python",
|
| "-u",
|
| - "[CWD]\\src\\syzygy\\internal\\scripts\\archive_symbols.py",
|
| + "[SLAVE_BUILD]\\src\\syzygy\\internal\\scripts\\archive_symbols.py",
|
| "-s",
|
| "-b",
|
| - "[CWD]\\src\\out\\Release\\*asan_rtl.dll",
|
| - "[CWD]\\src\\out\\Release\\*client.dll"
|
| + "[SLAVE_BUILD]\\src\\out\\Release\\*asan_rtl.dll",
|
| + "[SLAVE_BUILD]\\src\\out\\Release\\*client.dll"
|
| ],
|
| + "cwd": "[SLAVE_BUILD]",
|
| "name": "upload_symbols"
|
| },
|
| {
|
| "cmd": [
|
| "python",
|
| "-u",
|
| - "[CWD]\\src\\syzygy\\build\\get_syzygy_binaries.py",
|
| + "[SLAVE_BUILD]\\src\\syzygy\\build\\get_syzygy_binaries.py",
|
| "--output-dir",
|
| - "[CWD]\\src\\syzygy\\binaries",
|
| + "[SLAVE_BUILD]\\src\\syzygy\\binaries",
|
| "--revision",
|
| "f27fede2220bcd326aee3e86ddfd4ebd0fe58cb9",
|
| "--overwrite",
|
| "--verbose"
|
| ],
|
| + "cwd": "[SLAVE_BUILD]",
|
| "name": "download_binaries"
|
| },
|
| {
|
| "cmd": [
|
| "python",
|
| "-u",
|
| - "[CWD]\\src\\syzygy\\internal\\build\\smoke_test.py",
|
| + "[SLAVE_BUILD]\\src\\syzygy\\internal\\build\\smoke_test.py",
|
| "--verbose",
|
| "--build-dir",
|
| - "[CWD]\\src\\build"
|
| + "[SLAVE_BUILD]\\src\\build"
|
| ],
|
| + "cwd": "[SLAVE_BUILD]",
|
| "name": "smoke_test"
|
| },
|
| {
|
|
|