| Index: scripts/slave/recipes/chromium.expected/full_chromium_win_Win_7_Tests_x64__1_.json
|
| diff --git a/scripts/slave/recipes/chromium.expected/full_chromium_win_Win_7_Tests_x64__1_.json b/scripts/slave/recipes/chromium.expected/full_chromium_win_Win_7_Tests_x64__1_.json
|
| index 5bf4f3ae59e941c04fb8ef898ad4006e5c5356f1..9b785909e16f75dac20efc414d13a34e9af08f85 100644
|
| --- a/scripts/slave/recipes/chromium.expected/full_chromium_win_Win_7_Tests_x64__1_.json
|
| +++ b/scripts/slave/recipes/chromium.expected/full_chromium_win_Win_7_Tests_x64__1_.json
|
| @@ -5,6 +5,7 @@
|
| "-u",
|
| "RECIPE_PACKAGE_REPO[build]\\scripts\\slave\\kill_processes.py"
|
| ],
|
| + "cwd": "[SLAVE_BUILD]",
|
| "name": "taskkill"
|
| },
|
| {
|
| @@ -19,13 +20,13 @@
|
| "--slave",
|
| "TestSlavename",
|
| "--spec",
|
| - "cache_dir = '[ROOT]\\\\b\\\\build\\\\slave\\\\cache_dir'\nsolutions = [{'custom_vars': {'googlecode_url': 'svn://svn-mirror.golo.chromium.org/%s', 'nacl_trunk': 'svn://svn-mirror.golo.chromium.org/native_client/trunk', 'sourceforge_url': 'svn://svn-mirror.golo.chromium.org/%(repo)s', 'webkit_trunk': 'svn://svn-mirror.golo.chromium.org/blink/trunk'}, 'deps_file': 'DEPS', 'managed': True, 'name': 'src', 'url': 'svn://svn-mirror.golo.chromium.org/chrome/trunk/src'}]",
|
| + "cache_dir = '[GIT_CACHE]'\nsolutions = [{'custom_vars': {'googlecode_url': 'svn://svn-mirror.golo.chromium.org/%s', 'nacl_trunk': 'svn://svn-mirror.golo.chromium.org/native_client/trunk', 'sourceforge_url': 'svn://svn-mirror.golo.chromium.org/%(repo)s', 'webkit_trunk': 'svn://svn-mirror.golo.chromium.org/blink/trunk'}, 'deps_file': 'DEPS', 'managed': True, 'name': 'src', 'url': 'svn://svn-mirror.golo.chromium.org/chrome/trunk/src'}]",
|
| "--root",
|
| "src",
|
| "--revision_mapping_file",
|
| "{\"src\": \"got_revision\", \"src/native_client\": \"got_nacl_revision\", \"src/third_party/angle\": \"got_angle_revision\", \"src/third_party/webrtc\": \"got_webrtc_revision\", \"src/tools/swarming_client\": \"got_swarming_client_revision\", \"src/v8\": \"got_v8_revision\"}",
|
| "--git-cache-dir",
|
| - "[ROOT]\\b\\build\\slave\\cache_dir",
|
| + "[GIT_CACHE]",
|
| "--output_json",
|
| "/path/to/tmp/json",
|
| "--revision",
|
| @@ -33,6 +34,7 @@
|
| "--force",
|
| "--output_manifest"
|
| ],
|
| + "cwd": "[SLAVE_BUILD]",
|
| "env": {
|
| "PATH": "%(PATH)s;RECIPE_PACKAGE_REPO[depot_tools]"
|
| },
|
| @@ -106,6 +108,7 @@
|
| },
|
| {
|
| "cmd": [],
|
| + "cwd": "[SLAVE_BUILD]",
|
| "name": "ensure_goma"
|
| },
|
| {
|
| @@ -116,16 +119,17 @@
|
| "--platform",
|
| "windows-amd64",
|
| "--dest-directory",
|
| - "[CWD]\\cipd",
|
| + "[SLAVE_BUILD]\\cipd",
|
| "--json-output",
|
| "/path/to/tmp/json"
|
| ],
|
| + "cwd": "[SLAVE_BUILD]",
|
| "name": "ensure_goma.install cipd",
|
| "~followup_annotations": [
|
| "@@@STEP_NEST_LEVEL@1@@@",
|
| "@@@STEP_TEXT@cipd instance_id: 40-chars-fake-of-the-package-instance_id@@@",
|
| "@@@STEP_LOG_LINE@json.output@{@@@",
|
| - "@@@STEP_LOG_LINE@json.output@ \"executable\": \"fake_slave_build/cipd\", @@@",
|
| + "@@@STEP_LOG_LINE@json.output@ \"executable\": \"[SLAVE_BUILD]\\\\cipd\\\\cipd\", @@@",
|
| "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"40-chars-fake-of-the-package-instance_id\"@@@",
|
| "@@@STEP_LOG_LINE@json.output@}@@@",
|
| "@@@STEP_LOG_END@json.output@@@"
|
| @@ -133,10 +137,10 @@
|
| },
|
| {
|
| "cmd": [
|
| - "fake_slave_build/cipd",
|
| + "[SLAVE_BUILD]\\cipd\\cipd",
|
| "ensure",
|
| "--root",
|
| - "[ROOT]\\b\\build\\slave\\cache\\cipd\\goma",
|
| + "[CACHE]\\cipd\\goma",
|
| "--list",
|
| "infra_internal/goma/client/windows-amd64 release",
|
| "--json-output",
|
| @@ -144,6 +148,7 @@
|
| "--service-account-json",
|
| "C:\\creds\\service_accounts\\service-account-goma-client.json"
|
| ],
|
| + "cwd": "[SLAVE_BUILD]",
|
| "name": "ensure_goma.ensure_installed",
|
| "~followup_annotations": [
|
| "@@@STEP_NEST_LEVEL@1@@@",
|
| @@ -162,9 +167,10 @@
|
| "cmd": [
|
| "python",
|
| "-u",
|
| - "[CWD]\\src\\tools\\swarming_client\\swarming.py",
|
| + "[SLAVE_BUILD]\\src\\tools\\swarming_client\\swarming.py",
|
| "--version"
|
| ],
|
| + "cwd": "[SLAVE_BUILD]",
|
| "name": "swarming.py --version",
|
| "stdout": "/path/to/tmp/",
|
| "~followup_annotations": [
|
| @@ -178,10 +184,11 @@
|
| "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_CHROMIUM_NO_ACTION": "1",
|
| - "GYP_DEFINES": "chromium_win_pch=0 component=static_library fastbuild=1 gomadir='[ROOT]\\b\\build\\slave\\cache\\cipd\\goma' target_arch=x64 test_isolation_mode=prepare use_goma=1",
|
| + "GYP_DEFINES": "chromium_win_pch=0 component=static_library fastbuild=1 gomadir='[CACHE]\\cipd\\goma' target_arch=x64 test_isolation_mode=prepare use_goma=1",
|
| "PATH": "%(PATH)s;RECIPE_PACKAGE_REPO[depot_tools]"
|
| },
|
| "name": "gclient runhooks"
|
| @@ -190,7 +197,7 @@
|
| "cmd": [
|
| "python",
|
| "-u",
|
| - "[CWD]\\src\\testing\\scripts\\get_compile_targets.py",
|
| + "[SLAVE_BUILD]\\src\\testing\\scripts\\get_compile_targets.py",
|
| "--output",
|
| "/path/to/tmp/json",
|
| "--",
|
| @@ -198,10 +205,11 @@
|
| "Release_x64",
|
| "--use-src-side-runtest-py",
|
| "--paths",
|
| - "{\"checkout\": \"[CWD]\\\\src\", \"runit.py\": \"RECIPE_PACKAGE_REPO[build]\\\\scripts\\\\tools\\\\runit.py\", \"runtest.py\": \"RECIPE_PACKAGE_REPO[build]\\\\scripts\\\\slave\\\\runtest.py\"}",
|
| + "{\"checkout\": \"[SLAVE_BUILD]\\\\src\", \"runit.py\": \"RECIPE_PACKAGE_REPO[build]\\\\scripts\\\\tools\\\\runit.py\", \"runtest.py\": \"RECIPE_PACKAGE_REPO[build]\\\\scripts\\\\slave\\\\runtest.py\"}",
|
| "--properties",
|
| "{\"buildername\": \"Win 7 Tests x64 (1)\", \"buildnumber\": 571, \"mastername\": \"chromium.win\", \"slavename\": \"TestSlavename\", \"target_platform\": \"win\"}"
|
| ],
|
| + "cwd": "[SLAVE_BUILD]",
|
| "name": "get compile targets for scripts",
|
| "~followup_annotations": [
|
| "@@@STEP_LOG_LINE@json.output@{}@@@",
|
| @@ -213,12 +221,13 @@
|
| "python",
|
| "-u",
|
| "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
|
| - "[CWD]\\src\\testing\\buildbot\\chromium.win.json",
|
| + "[SLAVE_BUILD]\\src\\testing\\buildbot\\chromium.win.json",
|
| "/path/to/tmp/json"
|
| ],
|
| + "cwd": "[SLAVE_BUILD]",
|
| "name": "read test spec",
|
| "~followup_annotations": [
|
| - "@@@STEP_TEXT@path: [CWD]\\src\\testing\\buildbot\\chromium.win.json@@@",
|
| + "@@@STEP_TEXT@path: [SLAVE_BUILD]\\src\\testing\\buildbot\\chromium.win.json@@@",
|
| "@@@STEP_LOG_LINE@json.output@{@@@",
|
| "@@@STEP_LOG_LINE@json.output@ \"Win 7 Tests x64 (1)\": {@@@",
|
| "@@@STEP_LOG_LINE@json.output@ \"gtest_tests\": [@@@",
|
| @@ -243,6 +252,7 @@
|
| "python",
|
| "RECIPE_PACKAGE_REPO[build]\\scripts\\slave\\cleanup_temp.py"
|
| ],
|
| + "cwd": "[SLAVE_BUILD]",
|
| "name": "cleanup_temp"
|
| },
|
| {
|
| @@ -250,8 +260,9 @@
|
| "python",
|
| "-u",
|
| "\nimport os, sys\nfrom common import chromium_utils # Error? See https://crbug.com/584783.\n\n\nif os.path.exists(sys.argv[1]):\n chromium_utils.RemoveDirectory(sys.argv[1])\n",
|
| - "[CWD]\\src\\out\\Release_x64"
|
| + "[SLAVE_BUILD]\\src\\out\\Release_x64"
|
| ],
|
| + "cwd": "[SLAVE_BUILD]",
|
| "name": "rmtree build directory",
|
| "~followup_annotations": [
|
| "@@@STEP_LOG_LINE@python.inline@@@@",
|
| @@ -281,6 +292,7 @@
|
| "--build-number",
|
| "571"
|
| ],
|
| + "cwd": "[SLAVE_BUILD]",
|
| "name": "extract build"
|
| },
|
| {
|
| @@ -289,10 +301,11 @@
|
| "-u",
|
| "RECIPE_MODULE[build::isolate]\\resources\\find_isolated_tests.py",
|
| "--build-dir",
|
| - "[CWD]\\src\\out\\Release_x64",
|
| + "[SLAVE_BUILD]\\src\\out\\Release_x64",
|
| "--output-json",
|
| "/path/to/tmp/json"
|
| ],
|
| + "cwd": "[SLAVE_BUILD]",
|
| "name": "find isolated tests",
|
| "~followup_annotations": [
|
| "@@@STEP_LOG_LINE@json.output@{@@@",
|
| @@ -307,7 +320,7 @@
|
| "cmd": [
|
| "python",
|
| "-u",
|
| - "[CWD]\\src\\tools\\swarming_client\\swarming.py",
|
| + "[SLAVE_BUILD]\\src\\tools\\swarming_client\\swarming.py",
|
| "trigger",
|
| "--swarming",
|
| "https://chromium-swarm.appspot.com",
|
| @@ -366,6 +379,7 @@
|
| "--",
|
| "--test-launcher-summary-output=${ISOLATED_OUTDIR}/output.json"
|
| ],
|
| + "cwd": "[SLAVE_BUILD]",
|
| "name": "[trigger] browser_tests on Windows-7-SP1",
|
| "~followup_annotations": [
|
| "@@@STEP_LOG_LINE@json.output@{@@@",
|
| @@ -386,17 +400,18 @@
|
| "cmd": [
|
| "python",
|
| "-u",
|
| - "[CWD]\\src\\chrome\\test\\mini_installer\\test_installer.py",
|
| + "[SLAVE_BUILD]\\src\\chrome\\test\\mini_installer\\test_installer.py",
|
| "--build-dir",
|
| - "[CWD]\\src\\out",
|
| + "[SLAVE_BUILD]\\src\\out",
|
| "--target",
|
| "Release_x64",
|
| "--force-clean",
|
| "--config",
|
| - "[CWD]\\src\\chrome\\test\\mini_installer\\config\\config.config",
|
| + "[SLAVE_BUILD]\\src\\chrome\\test\\mini_installer\\config\\config.config",
|
| "--write-full-results-to",
|
| "/path/to/tmp/json"
|
| ],
|
| + "cwd": "[SLAVE_BUILD]",
|
| "name": "test_installer"
|
| },
|
| {
|
| @@ -408,9 +423,9 @@
|
| "python",
|
| "RECIPE_MODULE[build::swarming]\\resources\\collect_gtest_task.py",
|
| "--swarming-client-dir",
|
| - "[CWD]\\src\\tools\\swarming_client",
|
| + "[SLAVE_BUILD]\\src\\tools\\swarming_client",
|
| "--temp-root-dir",
|
| - "[TMP]",
|
| + "[TMP_BASE]",
|
| "--merged-test-output",
|
| "/path/to/tmp/json",
|
| "--",
|
| @@ -423,6 +438,7 @@
|
| "1",
|
| "browser_tests/Windows-7-SP1/ffffffffff/Win 7 Tests x64 (1)/571"
|
| ],
|
| + "cwd": "[SLAVE_BUILD]",
|
| "name": "browser_tests on Windows-7-SP1",
|
| "~followup_annotations": [
|
| "@@@STEP_LINK@shard #0 isolated out@blah@@@"
|
| @@ -448,6 +464,7 @@
|
| "--chrome-revision",
|
| "170242"
|
| ],
|
| + "cwd": "[SLAVE_BUILD]",
|
| "name": "Upload to test-results [browser_tests on Windows-7-SP1]"
|
| },
|
| {
|
| @@ -458,6 +475,7 @@
|
| "--target",
|
| "Release_x64"
|
| ],
|
| + "cwd": "[SLAVE_BUILD]",
|
| "name": "process_dumps"
|
| },
|
| {
|
|
|