Index: scripts/slave/recipes/chromium.expected/full_chromium_fyi_Linux_ARM.json |
diff --git a/scripts/slave/recipes/chromium.expected/full_chromium_fyi_Linux_ARM.json b/scripts/slave/recipes/chromium.expected/full_chromium_fyi_Linux_ARM.json |
index d8e7e6b1ed54548f10fd49cfccb84c1394203c36..862c733bf445ad894bdf15753316d54bf766f4cc 100644 |
--- a/scripts/slave/recipes/chromium.expected/full_chromium_fyi_Linux_ARM.json |
+++ b/scripts/slave/recipes/chromium.expected/full_chromium_fyi_Linux_ARM.json |
@@ -11,13 +11,13 @@ |
"--slave", |
"TestSlavename", |
"--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", |
@@ -25,7 +25,6 @@ |
"--force", |
"--output_manifest" |
], |
- "cwd": "[SLAVE_BUILD]", |
"env": { |
"PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" |
}, |
@@ -99,7 +98,6 @@ |
}, |
{ |
"cmd": [], |
- "cwd": "[SLAVE_BUILD]", |
"name": "ensure_goma" |
}, |
{ |
@@ -110,17 +108,16 @@ |
"--platform", |
"linux-386", |
"--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@@@" |
@@ -128,10 +125,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/linux-386 release", |
"--json-output", |
@@ -139,7 +136,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@@@", |
@@ -158,10 +154,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": [ |
@@ -175,12 +170,11 @@ |
"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_CROSSCOMPILE": "1", |
- "GYP_DEFINES": "component=static_library gomadir='[CACHE]/cipd/goma' target_arch=arm test_isolation_mode=prepare use_goma=1", |
+ "GYP_DEFINES": "component=static_library gomadir='[ROOT]/b/build/slave/cache/cipd/goma' target_arch=arm test_isolation_mode=prepare use_goma=1", |
"PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" |
}, |
"name": "gclient runhooks" |
@@ -189,18 +183,17 @@ |
"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", |
"--", |
"--build-config-fs", |
"Release", |
"--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\": \"Linux ARM\", \"buildnumber\": 571, \"mastername\": \"chromium.fyi\", \"slavename\": \"TestSlavename\", \"target_platform\": \"linux\"}" |
], |
- "cwd": "[SLAVE_BUILD]", |
"name": "get compile targets for scripts", |
"~followup_annotations": [ |
"@@@STEP_LOG_LINE@json.output@{}@@@", |
@@ -212,13 +205,12 @@ |
"python", |
"-u", |
"\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", |
- "[SLAVE_BUILD]/src/testing/buildbot/chromium.fyi.json", |
+ "[CWD]/src/testing/buildbot/chromium.fyi.json", |
"/path/to/tmp/json" |
], |
- "cwd": "[SLAVE_BUILD]", |
"name": "read test spec", |
"~followup_annotations": [ |
- "@@@STEP_TEXT@path: [SLAVE_BUILD]/src/testing/buildbot/chromium.fyi.json@@@", |
+ "@@@STEP_TEXT@path: [CWD]/src/testing/buildbot/chromium.fyi.json@@@", |
"@@@STEP_LOG_LINE@json.output@{@@@", |
"@@@STEP_LOG_LINE@json.output@ \"Linux ARM\": {@@@", |
"@@@STEP_LOG_LINE@json.output@ \"gtest_tests\": [@@@", |
@@ -243,7 +235,6 @@ |
"python", |
"RECIPE_PACKAGE_REPO[build]/scripts/slave/cleanup_temp.py" |
], |
- "cwd": "[SLAVE_BUILD]", |
"name": "cleanup_temp" |
}, |
{ |
@@ -252,31 +243,29 @@ |
"-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": "clean isolated files" |
}, |
{ |
"cmd": [ |
"python", |
"-u", |
- "[SLAVE_BUILD]/src/tools/mb/mb.py", |
+ "[CWD]/src/tools/mb/mb.py", |
"gen", |
"-m", |
"chromium.fyi", |
"-b", |
"Linux ARM", |
"--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", |
"browser_tests\n", |
"//out/Release" |
], |
- "cwd": "[SLAVE_BUILD]", |
"name": "generate_build_files", |
"~followup_annotations": [ |
"@@@STEP_LOG_LINE@swarming-targets-file.txt@browser_tests@@@", |
@@ -298,9 +287,9 @@ |
"--target", |
"Release", |
"--src-dir", |
- "[SLAVE_BUILD]/src", |
+ "[CWD]/src", |
"--goma-cache-dir", |
- "[GOMA_CACHE]", |
+ "[ROOT]/b/build/slave/goma_cache", |
"--build-tool", |
"ninja", |
"--build-data-dir", |
@@ -312,13 +301,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", |
"--", |
"browser_tests", |
"browser_tests_run" |
], |
- "cwd": "[SLAVE_BUILD]", |
"env": { |
"GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account-goma-client.json" |
}, |
@@ -334,11 +322,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": "remove_build_metadata" |
}, |
{ |
@@ -346,16 +334,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/browser_tests.isolated.gen.json" |
+ "[CWD]/src/out/Release/browser_tests.isolated.gen.json" |
], |
- "cwd": "[SLAVE_BUILD]", |
"name": "isolate tests", |
"~followup_annotations": [ |
"@@@STEP_LOG_LINE@json.output@{@@@", |
@@ -372,13 +359,12 @@ |
"--target", |
"Release", |
"--factory-properties", |
- "{\"gclient_env\": {\"GYP_CROSSCOMPILE\": \"1\", \"GYP_DEFINES\": \"component=static_library gomadir='[CACHE]/cipd/goma' target_arch=arm test_isolation_mode=prepare use_goma=1\"}, \"gs_bucket\": \"gs://chromium-fyi-archive\"}", |
+ "{\"gclient_env\": {\"GYP_CROSSCOMPILE\": \"1\", \"GYP_DEFINES\": \"component=static_library gomadir='[ROOT]/b/build/slave/cache/cipd/goma' target_arch=arm test_isolation_mode=prepare use_goma=1\"}, \"gs_bucket\": \"gs://chromium-fyi-archive\"}", |
"--build-properties", |
"{\"got_angle_revision\": \"fac9503c46405f77757b9a728eb85b8d7bc6080c\", \"got_angle_revision_cp\": \"refs/heads/master@{#297276}\", \"got_nacl_revision\": \"d998e125e8253980d76e269b7982aeeefc1b9b50\", \"got_nacl_revision_cp\": \"refs/heads/master@{#274981}\", \"got_revision\": \"f27fede2220bcd326aee3e86ddfd4ebd0fe58cb9\", \"got_revision_cp\": \"refs/heads/master@{#170242}\", \"got_swarming_client_revision\": \"a0ee5d99f1d4b38ddaa4c759c837980b63b99566\", \"got_swarming_client_revision_cp\": \"refs/heads/master@{#276089}\", \"got_v8_revision\": \"801ada225ddc271c132c3a35f03975671d43e399\", \"got_v8_revision_cp\": \"refs/heads/master@{#43426}\", \"got_webrtc_revision\": \"0f90628433546e61d9268596da93418c623137f4\", \"got_webrtc_revision_cp\": \"refs/heads/master@{#120644}\"}", |
"--mode", |
"dev" |
], |
- "cwd": "[SLAVE_BUILD]", |
"name": "archive_build" |
}, |
{ |
@@ -387,11 +373,10 @@ |
"-u", |
"RECIPE_MODULE[build::isolate]/resources/find_isolated_tests.py", |
"--build-dir", |
- "[SLAVE_BUILD]/src/out/Release", |
+ "[CWD]/src/out/Release", |
"--output-json", |
"/path/to/tmp/json" |
], |
- "cwd": "[SLAVE_BUILD]", |
"name": "find isolated tests", |
"~followup_annotations": [ |
"@@@STEP_LOG_LINE@json.output@{@@@", |
@@ -409,7 +394,6 @@ |
"\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@@@@", |
@@ -426,7 +410,6 @@ |
"\nimport sys\nprint '%s wasn\\'t triggered' % sys.argv[1]\nsys.exit(1)\n", |
"browser_tests" |
], |
- "cwd": "[SLAVE_BUILD]", |
"name": "[collect error] browser_tests", |
"~followup_annotations": [ |
"@@@STEP_LOG_LINE@python.inline@@@@", |