blob: b3beabead52df5f39a3409ac0d857ef111ac2c2c [file] [log] [blame]
[
{
"cmd": [
"python",
"-u",
"RECIPE_MODULE[depot_tools::bot_update]/resources/bot_update.py",
"--spec",
"cache_dir = '[GIT_CACHE]'\nsolutions = [{'deps_file': '.DEPS.git', 'managed': True, 'name': 'v8', 'url': 'https://chromium.googlesource.com/v8/v8'}]",
"--patch_root",
"v8",
"--revision_mapping_file",
"{\"v8\": \"got_revision\"}",
"--git-cache-dir",
"[GIT_CACHE]",
"--output_json",
"/path/to/tmp/json",
"--revision",
"v8@20123",
"--no_shallow",
"--output_manifest"
],
"env": {
"PATH": "RECIPE_PACKAGE_REPO[depot_tools]:%(PATH)s"
},
"name": "bot_update",
"~followup_annotations": [
"@@@STEP_TEXT@Some step text@@@",
"@@@STEP_LOG_LINE@json.output@{@@@",
"@@@STEP_LOG_LINE@json.output@ \"did_run\": true, @@@",
"@@@STEP_LOG_LINE@json.output@ \"fixed_revisions\": {@@@",
"@@@STEP_LOG_LINE@json.output@ \"v8\": \"20123\"@@@",
"@@@STEP_LOG_LINE@json.output@ }, @@@",
"@@@STEP_LOG_LINE@json.output@ \"manifest\": {@@@",
"@@@STEP_LOG_LINE@json.output@ \"v8\": {@@@",
"@@@STEP_LOG_LINE@json.output@ \"repository\": \"https://fake.org/v8.git\", @@@",
"@@@STEP_LOG_LINE@json.output@ \"revision\": \"f2cbea7e89a45f46819777bb78a1f5bd0241f64c\"@@@",
"@@@STEP_LOG_LINE@json.output@ }@@@",
"@@@STEP_LOG_LINE@json.output@ }, @@@",
"@@@STEP_LOG_LINE@json.output@ \"patch_failure\": false, @@@",
"@@@STEP_LOG_LINE@json.output@ \"patch_root\": \"v8\", @@@",
"@@@STEP_LOG_LINE@json.output@ \"properties\": {@@@",
"@@@STEP_LOG_LINE@json.output@ \"got_revision\": \"f2cbea7e89a45f46819777bb78a1f5bd0241f64c\", @@@",
"@@@STEP_LOG_LINE@json.output@ \"got_revision_cp\": \"refs/heads/master@{#50110}\"@@@",
"@@@STEP_LOG_LINE@json.output@ }, @@@",
"@@@STEP_LOG_LINE@json.output@ \"root\": \"v8\", @@@",
"@@@STEP_LOG_LINE@json.output@ \"step_text\": \"Some step text\"@@@",
"@@@STEP_LOG_LINE@json.output@}@@@",
"@@@STEP_LOG_END@json.output@@@",
"@@@SET_BUILD_PROPERTY@got_revision@\"f2cbea7e89a45f46819777bb78a1f5bd0241f64c\"@@@",
"@@@SET_BUILD_PROPERTY@got_revision_cp@\"refs/heads/master@{#50110}\"@@@"
]
},
{
"cmd": [],
"name": "ensure_goma"
},
{
"cmd": [
"python",
"-u",
"RECIPE_MODULE[depot_tools::cipd]/resources/bootstrap.py",
"--platform",
"linux-amd64",
"--dest-directory",
"[SLAVE_BUILD]/cipd",
"--json-output",
"/path/to/tmp/json"
],
"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@ \"instance_id\": \"40-chars-fake-of-the-package-instance_id\"@@@",
"@@@STEP_LOG_LINE@json.output@}@@@",
"@@@STEP_LOG_END@json.output@@@"
]
},
{
"cmd": [
"[SLAVE_BUILD]/cipd/cipd",
"ensure",
"--root",
"[CACHE]/cipd/goma",
"--list",
"infra/tools/cloudtail/linux-amd64 goma_recipe_module\ninfra_internal/goma/client/linux-amd64 release",
"--json-output",
"/path/to/tmp/json",
"--service-account-json",
"/creds/service_accounts/service-account-goma-client.json"
],
"name": "ensure_goma.ensure_installed",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@",
"@@@STEP_LOG_LINE@json.output@{@@@",
"@@@STEP_LOG_LINE@json.output@ \"result\": [@@@",
"@@@STEP_LOG_LINE@json.output@ {@@@",
"@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"resolved-instance_id-of-goma_recipe_modu\", @@@",
"@@@STEP_LOG_LINE@json.output@ \"package\": \"infra/tools/cloudtail/linux-amd64\"@@@",
"@@@STEP_LOG_LINE@json.output@ }, @@@",
"@@@STEP_LOG_LINE@json.output@ {@@@",
"@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"resolved-instance_id-of-release---------\", @@@",
"@@@STEP_LOG_LINE@json.output@ \"package\": \"infra_internal/goma/client/linux-amd64\"@@@",
"@@@STEP_LOG_LINE@json.output@ }@@@",
"@@@STEP_LOG_LINE@json.output@ ]@@@",
"@@@STEP_LOG_LINE@json.output@}@@@",
"@@@STEP_LOG_END@json.output@@@"
]
},
{
"cmd": [
"python",
"-u",
"RECIPE_PACKAGE_REPO[depot_tools]/gclient.py",
"runhooks"
],
"cwd": "[SLAVE_BUILD]/v8",
"env": {
"GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account-goma-client.json",
"GYP_CHROMIUM_NO_ACTION": "1",
"GYP_DEFINES": "gomadir='[CACHE]/cipd/goma' target_arch=x64 use_goma=1 v8_target_arch=s390x",
"GYP_GENERATORS": "ninja",
"PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]"
},
"name": "gclient runhooks"
},
{
"cmd": [
"python",
"-u",
"RECIPE_PACKAGE_REPO[build]/scripts/tools/runit.py",
"--show-path",
"python",
"RECIPE_PACKAGE_REPO[build]/scripts/slave/cleanup_temp.py"
],
"name": "cleanup_temp"
},
{
"cmd": [
"python",
"-u",
"[SLAVE_BUILD]/v8/tools/mb/mb.py",
"gen",
"-m",
"client.v8.ports",
"-b",
"V8 Linux - s390x - sim",
"--config-file",
"[SLAVE_BUILD]/v8/infra/mb/mb_config.pyl",
"--goma-dir",
"[CACHE]/cipd/goma",
"--gyp-script=gypfiles/gyp_v8",
"//out/Release"
],
"cwd": "[SLAVE_BUILD]/v8",
"env": {
"GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account-goma-client.json"
},
"name": "generate_build_files",
"stdout": "/path/to/tmp/",
"~followup_annotations": [
"@@@STEP_LOG_LINE@stdout@some line@@@",
"@@@STEP_LOG_LINE@stdout@GYP_DEFINES='target_arch=x64 cool_flag=a=1'@@@",
"@@@STEP_LOG_LINE@stdout@moar@@@",
"@@@STEP_LOG_END@stdout@@@"
]
},
{
"cmd": [
"python",
"-u",
"\nimport sys, os\npath = sys.argv[1]\nmode = int(sys.argv[2])\nif not os.path.isdir(path):\n if os.path.exists(path):\n print \"%s exists but is not a dir\" % path\n sys.exit(1)\n os.makedirs(path, mode)\n",
"[SLAVE_BUILD]/v8/out/gn",
"511"
],
"name": "makedirs for peeking gn",
"~followup_annotations": [
"@@@STEP_LOG_LINE@python.inline@@@@",
"@@@STEP_LOG_LINE@python.inline@import sys, os@@@",
"@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@",
"@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@",
"@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@",
"@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@",
"@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" % path@@@",
"@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@",
"@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@",
"@@@STEP_LOG_END@python.inline@@@"
]
},
{
"cmd": [
"python",
"-u",
"RECIPE_MODULE[build::v8]/resources/patch_mb_config.py",
"[SLAVE_BUILD]/v8/infra/mb/mb_config.pyl",
"/path/to/tmp/"
],
"name": "patch mb config (fyi)"
},
{
"cmd": [
"python",
"-u",
"[SLAVE_BUILD]/v8/tools/mb/mb.py",
"gen",
"-m",
"client.v8.ports",
"-b",
"V8 Linux - s390x - sim",
"--config-file",
"[mb config]",
"--goma-dir",
"[CACHE]/cipd/goma",
"[SLAVE_BUILD]/v8/out/gn"
],
"cwd": "[SLAVE_BUILD]/v8",
"env": {
"GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account-goma-client.json"
},
"name": "generate_build_files with gn (fyi)"
},
{
"cmd": [
"python",
"-u",
"[SLAVE_BUILD]/v8/tools/gyp_flag_compare.py",
"[SLAVE_BUILD]/v8/out/gn",
"[SLAVE_BUILD]/v8/out/Release",
"all",
"all"
],
"name": "compare build flags (fyi)"
},
{
"cmd": [
"python",
"-u",
"RECIPE_MODULE[recipe_engine::shutil]/resources/rmtree.py",
"[SLAVE_BUILD]/v8/out/gn"
],
"name": "rmtree [SLAVE_BUILD]/v8/out/gn"
},
{
"cmd": [
"python",
"-u",
"RECIPE_PACKAGE_REPO[build]/scripts/tools/runit.py",
"--show-path",
"python",
"RECIPE_PACKAGE_REPO[build]/scripts/slave/compile.py",
"--gsutil-py-path",
"RECIPE_PACKAGE_REPO[depot_tools]/gsutil.py",
"--ninja-path",
"RECIPE_PACKAGE_REPO[depot_tools]/ninja",
"--target",
"Release",
"--src-dir",
"[SLAVE_BUILD]/v8",
"--goma-cache-dir",
"[GOMA_CACHE]",
"--buildbot-buildername",
"V8 Linux - s390x - sim",
"--buildbot-mastername",
"client.v8.ports",
"--buildbot-slavename",
"TestSlavename",
"--compiler",
"goma",
"--goma-jsonstatus",
"/path/to/tmp/json",
"--goma-service-account-json-file",
"/creds/service_accounts/service-account-goma-client.json",
"--goma-dir",
"[CACHE]/cipd/goma",
"--"
],
"env": {
"GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account-goma-client.json"
},
"name": "compile",
"~followup_annotations": [
"@@@STEP_LOG_LINE@json.output (invalid)@null@@@",
"@@@STEP_LOG_END@json.output (invalid)@@@"
]
},
{
"cmd": [
"python",
"-u",
"[SLAVE_BUILD]/v8/tools/run-tests.py",
"--progress=verbose",
"--mode",
"Release",
"--arch",
"s390x",
"--outdir",
"out",
"--buildbot",
"--timeout=200",
"--random-seed=-358114921",
"bot_default",
"--exhaustive-variants",
"--rerun-failures-count=2",
"--json-test-results",
"/path/to/tmp/json"
],
"cwd": "[SLAVE_BUILD]/v8",
"name": "Check",
"~followup_annotations": [
"@@@STEP_LOG_LINE@durations@01:01:002 mjsunit/Cool.Test@@@",
"@@@STEP_LOG_LINE@durations@00:00:101 mjsunit/Cool.Test2@@@",
"@@@STEP_LOG_LINE@durations@@@@",
"@@@STEP_LOG_LINE@durations@Details:@@@",
"@@@STEP_LOG_LINE@durations@@@@",
"@@@STEP_LOG_LINE@durations@Test: mjsunit/Cool.Test@@@",
"@@@STEP_LOG_LINE@durations@Flags: -f@@@",
"@@@STEP_LOG_LINE@durations@Command: d8 -f mjsunit/Cool.Test@@@",
"@@@STEP_LOG_LINE@durations@Duration: 01:01:002@@@",
"@@@STEP_LOG_LINE@durations@Test: mjsunit/Cool.Test2@@@",
"@@@STEP_LOG_LINE@durations@Flags: -f -g@@@",
"@@@STEP_LOG_LINE@durations@Command: d8 -f mjsunit/Cool.Test2@@@",
"@@@STEP_LOG_LINE@durations@Duration: 00:00:101@@@",
"@@@STEP_LOG_END@durations@@@"
]
},
{
"name": "$result",
"recipe_result": null,
"status_code": 0
}
]