Index: scripts/slave/recipes/findit/chromium/test.expected/swarming_tests.json |
diff --git a/scripts/slave/recipes/findit/chromium/test.expected/swarming_tests.json b/scripts/slave/recipes/findit/chromium/test.expected/swarming_tests.json |
index 517a249e8113e59da766345d2f59b0b40b31f1af..7e52b3eeb5201e21c033a3b41d1d7f6c64b9c8ad 100644 |
--- a/scripts/slave/recipes/findit/chromium/test.expected/swarming_tests.json |
+++ b/scripts/slave/recipes/findit/chromium/test.expected/swarming_tests.json |
@@ -11,20 +11,19 @@ |
"--slave", |
"build1-a1", |
"--spec", |
- "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'}]", |
+ "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'}]", |
"--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", |
- "[GIT_CACHE]", |
+ "[ROOT]/b/build/slave/cache_dir", |
"--output_json", |
"/path/to/tmp/json", |
"--revision", |
"src@r1", |
"--output_manifest" |
], |
- "cwd": "[SLAVE_BUILD]", |
"env": { |
"PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" |
}, |
@@ -98,7 +97,6 @@ |
}, |
{ |
"cmd": [], |
- "cwd": "[SLAVE_BUILD]", |
"name": "ensure_goma" |
}, |
{ |
@@ -109,17 +107,16 @@ |
"--platform", |
"mac-amd64", |
"--dest-directory", |
- "[SLAVE_BUILD]/cipd", |
+ "[CWD]/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\": \"[SLAVE_BUILD]/cipd/cipd\", @@@", |
+ "@@@STEP_LOG_LINE@json.output@ \"executable\": \"fake_slave_build/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@@@" |
@@ -127,10 +124,10 @@ |
}, |
{ |
"cmd": [ |
- "[SLAVE_BUILD]/cipd/cipd", |
+ "fake_slave_build/cipd", |
"ensure", |
"--root", |
- "[CACHE]/cipd/goma", |
+ "[ROOT]/b/build/slave/cache/cipd/goma", |
"--list", |
"infra_internal/goma/client/mac-amd64 release", |
"--json-output", |
@@ -138,7 +135,6 @@ |
"--service-account-json", |
"/creds/service_accounts/service-account-goma-client.json" |
], |
- "cwd": "[SLAVE_BUILD]", |
"name": "ensure_goma.ensure_installed", |
"~followup_annotations": [ |
"@@@STEP_NEST_LEVEL@1@@@", |
@@ -157,10 +153,9 @@ |
"cmd": [ |
"python", |
"-u", |
- "[SLAVE_BUILD]/src/tools/swarming_client/swarming.py", |
+ "[CWD]/src/tools/swarming_client/swarming.py", |
"--version" |
], |
- "cwd": "[SLAVE_BUILD]", |
"name": "swarming.py --version", |
"stdout": "/path/to/tmp/", |
"~followup_annotations": [ |
@@ -174,11 +169,10 @@ |
"RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", |
"runhooks" |
], |
- "cwd": "[SLAVE_BUILD]", |
"env": { |
"GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account-goma-client.json", |
"GYP_CHROMIUM_NO_ACTION": "1", |
- "GYP_DEFINES": "archive_gpu_tests=1 clang=1 component=static_library ffmpeg_branding=Chrome gomadir='[CACHE]/cipd/goma' proprietary_codecs=1 target_arch=x64 test_isolation_mode=prepare use_goma=1", |
+ "GYP_DEFINES": "archive_gpu_tests=1 clang=1 component=static_library ffmpeg_branding=Chrome gomadir='[ROOT]/b/build/slave/cache/cipd/goma' proprietary_codecs=1 target_arch=x64 test_isolation_mode=prepare use_goma=1", |
"PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" |
}, |
"name": "gclient runhooks" |
@@ -187,7 +181,7 @@ |
"cmd": [ |
"python", |
"-u", |
- "[SLAVE_BUILD]/src/testing/scripts/get_compile_targets.py", |
+ "[CWD]/src/testing/scripts/get_compile_targets.py", |
"--output", |
"/path/to/tmp/json", |
"--", |
@@ -195,11 +189,10 @@ |
"Release", |
"--use-src-side-runtest-py", |
"--paths", |
- "{\"checkout\": \"[SLAVE_BUILD]/src\", \"runit.py\": \"RECIPE_PACKAGE_REPO[build]/scripts/tools/runit.py\", \"runtest.py\": \"RECIPE_PACKAGE_REPO[build]/scripts/slave/runtest.py\"}", |
+ "{\"checkout\": \"[CWD]/src\", \"runit.py\": \"RECIPE_PACKAGE_REPO[build]/scripts/tools/runit.py\", \"runtest.py\": \"RECIPE_PACKAGE_REPO[build]/scripts/slave/runtest.py\"}", |
"--properties", |
"{\"buildername\": \"mac_chromium_variable\", \"buildnumber\": 1, \"mastername\": \"tryserver.chromium.mac\", \"slavename\": \"build1-a1\", \"target_platform\": \"mac\"}" |
], |
- "cwd": "[SLAVE_BUILD]", |
"name": "get compile targets for scripts", |
"~followup_annotations": [ |
"@@@STEP_LOG_LINE@json.output@{}@@@", |
@@ -211,13 +204,12 @@ |
"python", |
"-u", |
"\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", |
- "[SLAVE_BUILD]/src/testing/buildbot/chromium.mac.json", |
+ "[CWD]/src/testing/buildbot/chromium.mac.json", |
"/path/to/tmp/json" |
], |
- "cwd": "[SLAVE_BUILD]", |
"name": "read test spec", |
"~followup_annotations": [ |
- "@@@STEP_TEXT@path: [SLAVE_BUILD]/src/testing/buildbot/chromium.mac.json@@@", |
+ "@@@STEP_TEXT@path: [CWD]/src/testing/buildbot/chromium.mac.json@@@", |
"@@@STEP_LOG_LINE@json.output@{}@@@", |
"@@@STEP_LOG_END@json.output@@@" |
] |
@@ -229,7 +221,7 @@ |
"--format=%H", |
"r0..r1" |
], |
- "cwd": "[SLAVE_BUILD]/src", |
+ "cwd": "[CWD]/src", |
"name": "git commits in range", |
"stdout": "/path/to/tmp/", |
"~followup_annotations": [ |
@@ -239,7 +231,6 @@ |
}, |
{ |
"cmd": [], |
- "cwd": "[SLAVE_BUILD]", |
"name": "test r1" |
}, |
{ |
@@ -254,20 +245,19 @@ |
"--slave", |
"build1-a1", |
"--spec", |
- "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'}]", |
+ "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'}]", |
"--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", |
- "[GIT_CACHE]", |
+ "[ROOT]/b/build/slave/cache_dir", |
"--output_json", |
"/path/to/tmp/json", |
"--revision", |
"src@r1", |
"--output_manifest" |
], |
- "cwd": "[SLAVE_BUILD]", |
"env": { |
"PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" |
}, |
@@ -342,7 +332,6 @@ |
}, |
{ |
"cmd": [], |
- "cwd": "[SLAVE_BUILD]", |
"name": "test r1.ensure_goma", |
"~followup_annotations": [ |
"@@@STEP_NEST_LEVEL@1@@@" |
@@ -356,17 +345,16 @@ |
"--platform", |
"mac-amd64", |
"--dest-directory", |
- "[SLAVE_BUILD]/cipd", |
+ "[CWD]/cipd", |
"--json-output", |
"/path/to/tmp/json" |
], |
- "cwd": "[SLAVE_BUILD]", |
"name": "test r1.ensure_goma.install cipd", |
"~followup_annotations": [ |
"@@@STEP_NEST_LEVEL@2@@@", |
"@@@STEP_TEXT@cipd instance_id: 40-chars-fake-of-the-package-instance_id@@@", |
"@@@STEP_LOG_LINE@json.output@{@@@", |
- "@@@STEP_LOG_LINE@json.output@ \"executable\": \"[SLAVE_BUILD]/cipd/cipd\", @@@", |
+ "@@@STEP_LOG_LINE@json.output@ \"executable\": \"fake_slave_build/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@@@" |
@@ -374,10 +362,10 @@ |
}, |
{ |
"cmd": [ |
- "[SLAVE_BUILD]/cipd/cipd", |
+ "fake_slave_build/cipd", |
"ensure", |
"--root", |
- "[CACHE]/cipd/goma", |
+ "[ROOT]/b/build/slave/cache/cipd/goma", |
"--list", |
"infra_internal/goma/client/mac-amd64 release", |
"--json-output", |
@@ -385,7 +373,6 @@ |
"--service-account-json", |
"/creds/service_accounts/service-account-goma-client.json" |
], |
- "cwd": "[SLAVE_BUILD]", |
"name": "test r1.ensure_goma.ensure_installed", |
"~followup_annotations": [ |
"@@@STEP_NEST_LEVEL@2@@@", |
@@ -407,11 +394,10 @@ |
"RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", |
"runhooks" |
], |
- "cwd": "[SLAVE_BUILD]", |
"env": { |
"GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account-goma-client.json", |
"GYP_CHROMIUM_NO_ACTION": "1", |
- "GYP_DEFINES": "archive_gpu_tests=1 clang=1 component=static_library ffmpeg_branding=Chrome gomadir='[CACHE]/cipd/goma' proprietary_codecs=1 target_arch=x64 test_isolation_mode=prepare use_goma=1", |
+ "GYP_DEFINES": "archive_gpu_tests=1 clang=1 component=static_library ffmpeg_branding=Chrome gomadir='[ROOT]/b/build/slave/cache/cipd/goma' proprietary_codecs=1 target_arch=x64 test_isolation_mode=prepare use_goma=1", |
"PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" |
}, |
"name": "test r1.gclient runhooks", |
@@ -423,7 +409,7 @@ |
"cmd": [ |
"python", |
"-u", |
- "[SLAVE_BUILD]/src/testing/scripts/get_compile_targets.py", |
+ "[CWD]/src/testing/scripts/get_compile_targets.py", |
"--output", |
"/path/to/tmp/json", |
"--", |
@@ -431,11 +417,10 @@ |
"Release", |
"--use-src-side-runtest-py", |
"--paths", |
- "{\"checkout\": \"[SLAVE_BUILD]/src\", \"runit.py\": \"RECIPE_PACKAGE_REPO[build]/scripts/tools/runit.py\", \"runtest.py\": \"RECIPE_PACKAGE_REPO[build]/scripts/slave/runtest.py\"}", |
+ "{\"checkout\": \"[CWD]/src\", \"runit.py\": \"RECIPE_PACKAGE_REPO[build]/scripts/tools/runit.py\", \"runtest.py\": \"RECIPE_PACKAGE_REPO[build]/scripts/slave/runtest.py\"}", |
"--properties", |
"{\"buildername\": \"mac_chromium_variable\", \"buildnumber\": 1, \"mastername\": \"tryserver.chromium.mac\", \"slavename\": \"build1-a1\", \"target_platform\": \"mac\"}" |
], |
- "cwd": "[SLAVE_BUILD]", |
"name": "test r1.get compile targets for scripts", |
"~followup_annotations": [ |
"@@@STEP_NEST_LEVEL@1@@@", |
@@ -448,14 +433,13 @@ |
"python", |
"-u", |
"\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", |
- "[SLAVE_BUILD]/src/testing/buildbot/chromium.mac.json", |
+ "[CWD]/src/testing/buildbot/chromium.mac.json", |
"/path/to/tmp/json" |
], |
- "cwd": "[SLAVE_BUILD]", |
"name": "test r1.read test spec", |
"~followup_annotations": [ |
"@@@STEP_NEST_LEVEL@1@@@", |
- "@@@STEP_TEXT@path: [SLAVE_BUILD]/src/testing/buildbot/chromium.mac.json@@@", |
+ "@@@STEP_TEXT@path: [CWD]/src/testing/buildbot/chromium.mac.json@@@", |
"@@@STEP_LOG_LINE@json.output@{@@@", |
"@@@STEP_LOG_LINE@json.output@ \"Mac10.9 Tests\": {@@@", |
"@@@STEP_LOG_LINE@json.output@ \"gtest_tests\": [@@@", |
@@ -480,7 +464,6 @@ |
"python", |
"RECIPE_PACKAGE_REPO[build]/scripts/slave/cleanup_temp.py" |
], |
- "cwd": "[SLAVE_BUILD]", |
"name": "test r1.cleanup_temp", |
"~followup_annotations": [ |
"@@@STEP_NEST_LEVEL@1@@@" |
@@ -492,10 +475,9 @@ |
"-u", |
"RECIPE_MODULE[build::isolate]/resources/find_isolated_tests.py", |
"--build-dir", |
- "[SLAVE_BUILD]/src/out/Release", |
+ "[CWD]/src/out/Release", |
"--clean-isolated-files" |
], |
- "cwd": "[SLAVE_BUILD]", |
"name": "test r1.clean isolated files", |
"~followup_annotations": [ |
"@@@STEP_NEST_LEVEL@1@@@" |
@@ -505,21 +487,20 @@ |
"cmd": [ |
"python", |
"-u", |
- "[SLAVE_BUILD]/src/tools/mb/mb.py", |
+ "[CWD]/src/tools/mb/mb.py", |
"gen", |
"-m", |
"chromium.mac", |
"-b", |
"Mac Builder", |
"--config-file", |
- "[SLAVE_BUILD]/src/tools/mb/mb_config.pyl", |
+ "[CWD]/src/tools/mb/mb_config.pyl", |
"--goma-dir", |
- "[CACHE]/cipd/goma", |
+ "[ROOT]/b/build/slave/cache/cipd/goma", |
"--swarming-targets-file", |
"gl_tests\n", |
"//out/Release" |
], |
- "cwd": "[SLAVE_BUILD]", |
"name": "test r1.generate_build_files", |
"~followup_annotations": [ |
"@@@STEP_NEST_LEVEL@1@@@", |
@@ -534,11 +515,10 @@ |
"-u", |
"RECIPE_PACKAGE_REPO[build]/scripts/slave/clang_revision.py", |
"--src-dir", |
- "[SLAVE_BUILD]/src", |
+ "[CWD]/src", |
"--output-json", |
"/path/to/tmp/json" |
], |
- "cwd": "[SLAVE_BUILD]", |
"env": { |
"GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account-goma-client.json" |
}, |
@@ -566,9 +546,9 @@ |
"--target", |
"Release", |
"--src-dir", |
- "[SLAVE_BUILD]/src", |
+ "[CWD]/src", |
"--goma-cache-dir", |
- "[GOMA_CACHE]", |
+ "[ROOT]/b/build/slave/goma_cache", |
"--build-tool", |
"ninja", |
"--compiler", |
@@ -578,13 +558,12 @@ |
"--goma-service-account-json-file", |
"/creds/service_accounts/service-account-goma-client.json", |
"--goma-dir", |
- "[CACHE]/cipd/goma", |
+ "[ROOT]/b/build/slave/cache/cipd/goma", |
"--ninja-ensure-up-to-date", |
"--", |
"gl_tests", |
"gl_tests_run" |
], |
- "cwd": "[SLAVE_BUILD]", |
"env": { |
"GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account-goma-client.json" |
}, |
@@ -601,11 +580,11 @@ |
"-u", |
"RECIPE_MODULE[build::isolate]/resources/remove_build_metadata.py", |
"--build-dir", |
- "[SLAVE_BUILD]/src/out/Release", |
+ "[CWD]/src/out/Release", |
"--src-dir", |
- "[SLAVE_BUILD]/src" |
+ "[CWD]/src" |
], |
- "cwd": "[SLAVE_BUILD]", |
+ "cwd": "[CWD]", |
"name": "test r1.remove_build_metadata", |
"~followup_annotations": [ |
"@@@STEP_NEST_LEVEL@1@@@" |
@@ -616,16 +595,15 @@ |
"python", |
"-u", |
"RECIPE_MODULE[build::isolate]/resources/isolate.py", |
- "[SLAVE_BUILD]/src/tools/swarming_client", |
+ "[CWD]/src/tools/swarming_client", |
"batcharchive", |
"--dump-json", |
"/path/to/tmp/json", |
"--isolate-server", |
"https://isolateserver.appspot.com", |
"--verbose", |
- "[SLAVE_BUILD]/src/out/Release/gl_tests.isolated.gen.json" |
+ "[CWD]/src/out/Release/gl_tests.isolated.gen.json" |
], |
- "cwd": "[SLAVE_BUILD]", |
"name": "test r1.isolate tests", |
"~followup_annotations": [ |
"@@@STEP_NEST_LEVEL@1@@@", |
@@ -639,7 +617,7 @@ |
"cmd": [ |
"python", |
"-u", |
- "[SLAVE_BUILD]/src/tools/swarming_client/swarming.py", |
+ "[CWD]/src/tools/swarming_client/swarming.py", |
"trigger", |
"--swarming", |
"https://chromium-swarm.appspot.com", |
@@ -699,7 +677,6 @@ |
"--gtest_filter=Test.One", |
"--test-launcher-summary-output=${ISOLATED_OUTDIR}/output.json" |
], |
- "cwd": "[SLAVE_BUILD]", |
"name": "test r1.[trigger] gl_tests (r1) on Mac-10.9", |
"~followup_annotations": [ |
"@@@STEP_NEST_LEVEL@1@@@", |
@@ -726,9 +703,9 @@ |
"python", |
"RECIPE_MODULE[build::swarming]/resources/collect_gtest_task.py", |
"--swarming-client-dir", |
- "[SLAVE_BUILD]/src/tools/swarming_client", |
+ "[CWD]/src/tools/swarming_client", |
"--temp-root-dir", |
- "[TMP_BASE]", |
+ "[TMP]", |
"--merged-test-output", |
"/path/to/tmp/json", |
"--", |
@@ -741,7 +718,6 @@ |
"1", |
"gl_tests (r1)/Mac-10.9/[dummy has/mac_chromium_variable/1" |
], |
- "cwd": "[SLAVE_BUILD]", |
"name": "test r1.gl_tests (r1) on Mac-10.9", |
"~followup_annotations": [ |
"@@@STEP_NEST_LEVEL@1@@@" |
@@ -767,7 +743,6 @@ |
"--chrome-revision", |
"170242" |
], |
- "cwd": "[SLAVE_BUILD]", |
"name": "test r1.Upload to test-results [test r1.gl_tests (r1) on Mac-10.9]", |
"~followup_annotations": [ |
"@@@STEP_NEST_LEVEL@1@@@" |
@@ -779,7 +754,6 @@ |
"-u", |
"import sys; sys.exit(0)" |
], |
- "cwd": "[SLAVE_BUILD]", |
"name": "report", |
"~followup_annotations": [ |
"@@@STEP_LOG_LINE@report@{@@@", |