blob: 937cbcf946f110db9da613e097d32a9beb9a1f18 [file] [log] [blame]
[
{
"cmd": [],
"name": "resolve base commit"
},
{
"cmd": [],
"name": "resolve base commit.install infra/tools/luci/gerrit",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"vpython",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"ensure-directory",
"--mode",
"0777",
"[CACHE]/cipd/infra/tools/luci/gerrit/pinned-gerrit-version"
],
"infra_step": true,
"name": "resolve base commit.install infra/tools/luci/gerrit.ensure package directory",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"cipd",
"ensure",
"-root",
"[CACHE]/cipd/infra/tools/luci/gerrit/pinned-gerrit-version",
"-ensure-file",
"infra/tools/luci/gerrit/${platform} pinned-gerrit-version",
"-max-threads",
"0",
"-json-output",
"/path/to/tmp/json"
],
"infra_step": true,
"name": "resolve base commit.install infra/tools/luci/gerrit.ensure_installed",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@",
"@@@STEP_LOG_LINE@json.output@{@@@",
"@@@STEP_LOG_LINE@json.output@ \"result\": {@@@",
"@@@STEP_LOG_LINE@json.output@ \"\": [@@@",
"@@@STEP_LOG_LINE@json.output@ {@@@",
"@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"resolved-instance_id-of-pinned-gerrit-ve\", @@@",
"@@@STEP_LOG_LINE@json.output@ \"package\": \"infra/tools/luci/gerrit/resolved-platform\"@@@",
"@@@STEP_LOG_LINE@json.output@ }@@@",
"@@@STEP_LOG_LINE@json.output@ ]@@@",
"@@@STEP_LOG_LINE@json.output@ }@@@",
"@@@STEP_LOG_LINE@json.output@}@@@",
"@@@STEP_LOG_END@json.output@@@"
]
},
{
"cmd": [
"[CACHE]/cipd/infra/tools/luci/gerrit/pinned-gerrit-version/gerrit",
"change-detail",
"-host",
"https://fuchsia-review.googlesource.com",
"-input",
"{\"change_id\": \"123456\"}",
"-output",
"/path/to/tmp/json"
],
"infra_step": true,
"name": "resolve base commit.get gerrit details",
"timeout": 600,
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@",
"@@@STEP_LOG_LINE@json.output@{@@@",
"@@@STEP_LOG_LINE@json.output@ \"branch\": \"master\"@@@",
"@@@STEP_LOG_LINE@json.output@}@@@",
"@@@STEP_LOG_END@json.output@@@",
"@@@STEP_LOG_LINE@json.input@{@@@",
"@@@STEP_LOG_LINE@json.input@ \"change_id\": \"123456\"@@@",
"@@@STEP_LOG_LINE@json.input@}@@@",
"@@@STEP_LOG_END@json.input@@@"
]
},
{
"cmd": [
"git",
"ls-remote",
"--heads",
"https://fuchsia.googlesource.com/fuchsia",
"refs/heads/master"
],
"infra_step": true,
"name": "resolve base commit.git ls-remote",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [],
"name": "load spec",
"~followup_annotations": [
"@@@STEP_LOG_LINE@textproto@checkout {@@@",
"@@@STEP_LOG_LINE@textproto@ manifest: \"minimal\"@@@",
"@@@STEP_LOG_LINE@textproto@ project: \"integration\"@@@",
"@@@STEP_LOG_LINE@textproto@ remote: \"https://fuchsia.googlesource.com/manifest\"@@@",
"@@@STEP_LOG_LINE@textproto@}@@@",
"@@@STEP_LOG_LINE@textproto@build {@@@",
"@@@STEP_LOG_LINE@textproto@ fint_params_path: \"specs/core.fint.textproto\"@@@",
"@@@STEP_LOG_LINE@textproto@ run_tests: true@@@",
"@@@STEP_LOG_LINE@textproto@ upload_results: true@@@",
"@@@STEP_LOG_LINE@textproto@ stats_gcs_bucket: \"fuchsia-infra\"@@@",
"@@@STEP_LOG_LINE@textproto@}@@@",
"@@@STEP_LOG_LINE@textproto@test {@@@",
"@@@STEP_LOG_LINE@textproto@ pave: true@@@",
"@@@STEP_LOG_LINE@textproto@ pool: \"fuchsia.tests\"@@@",
"@@@STEP_LOG_LINE@textproto@ swarming_expiration_timeout_secs: 600@@@",
"@@@STEP_LOG_LINE@textproto@ swarming_io_timeout_secs: 300@@@",
"@@@STEP_LOG_LINE@textproto@ timeout_secs: 1800@@@",
"@@@STEP_LOG_LINE@textproto@ default_service_account: \"service_account\"@@@",
"@@@STEP_LOG_LINE@textproto@ targets_serial: true@@@",
"@@@STEP_LOG_LINE@textproto@ target_shard_duration_secs: 600@@@",
"@@@STEP_LOG_LINE@textproto@ max_shards_per_env: 8@@@",
"@@@STEP_LOG_LINE@textproto@}@@@",
"@@@STEP_LOG_LINE@textproto@gcs_bucket: \"fuchsia-infra\"@@@",
"@@@STEP_LOG_LINE@textproto@artifact_gcs_bucket: \"fuchsia-infra-artifacts\"@@@",
"@@@STEP_LOG_LINE@textproto@@@@",
"@@@STEP_LOG_END@textproto@@@",
"@@@SET_BUILD_PROPERTY@artifact_gcs_bucket@\"fuchsia-infra-artifacts\"@@@",
"@@@SET_BUILD_PROPERTY@gcs_bucket@\"fuchsia-infra\"@@@"
]
},
{
"cmd": [
"vpython",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"ensure-directory",
"--mode",
"0777",
"[CLEANUP]/spec_workspace"
],
"infra_step": true,
"name": "load spec.makedirs",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"git",
"init"
],
"cwd": "[CLEANUP]/spec_workspace",
"name": "load spec.git init",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"git",
"remote",
"add",
"origin",
"https://fuchsia.googlesource.com/integration"
],
"cwd": "[CLEANUP]/spec_workspace",
"name": "load spec.git remote",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"git",
"config",
"fetch.uriprotocols",
"https"
],
"cwd": "[CLEANUP]/spec_workspace",
"name": "load spec.set fetch.uriprotocols",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [],
"name": "load spec.cache",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"vpython",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"copy",
"",
"[CACHE]/git/.GUARD_FILE"
],
"cwd": "[CLEANUP]/spec_workspace",
"infra_step": true,
"name": "load spec.cache.write guard file",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@",
"@@@STEP_LOG_END@.GUARD_FILE@@@"
]
},
{
"cmd": [
"vpython",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"ensure-directory",
"--mode",
"0777",
"[CACHE]/git/fuchsia.googlesource.com-integration"
],
"cwd": "[CLEANUP]/spec_workspace",
"infra_step": true,
"name": "load spec.cache.makedirs",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"git",
"init",
"--bare"
],
"cwd": "[CACHE]/git/fuchsia.googlesource.com-integration",
"name": "load spec.cache.git init",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"git",
"config",
"remote.origin.url",
"https://fuchsia.googlesource.com/integration"
],
"cwd": "[CACHE]/git/fuchsia.googlesource.com-integration",
"name": "load spec.cache.remote set-url",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"git",
"config",
"fetch.uriprotocols",
"https"
],
"cwd": "[CACHE]/git/fuchsia.googlesource.com-integration",
"name": "load spec.cache.set fetch.uriprotocols",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"git",
"config",
"--replace-all",
"remote.origin.fetch",
"+refs/heads/*:refs/heads/*",
"\\+refs/heads/\\*:.*"
],
"cwd": "[CACHE]/git/fuchsia.googlesource.com-integration",
"name": "load spec.cache.replace fetch configs",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"git",
"fetch",
"--prune",
"--tags",
"origin"
],
"cwd": "[CACHE]/git/fuchsia.googlesource.com-integration",
"name": "load spec.cache.git fetch",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"vpython",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"ensure-directory",
"--mode",
"0777",
"[CLEANUP]/spec_workspace/.git/objects/info"
],
"cwd": "[CLEANUP]/spec_workspace",
"infra_step": true,
"name": "load spec.cache.makedirs object/info",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"vpython",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"copy",
"[CACHE]/git/fuchsia.googlesource.com-integration/objects\n",
"[CLEANUP]/spec_workspace/.git/objects/info/alternates"
],
"cwd": "[CLEANUP]/spec_workspace",
"infra_step": true,
"name": "load spec.cache.alternates",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@",
"@@@STEP_LOG_LINE@alternates@[CACHE]/git/fuchsia.googlesource.com-integration/objects@@@",
"@@@STEP_LOG_END@alternates@@@"
]
},
{
"cmd": [
"vpython",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"remove",
"[CACHE]/git/.GUARD_FILE"
],
"cwd": "[CLEANUP]/spec_workspace",
"infra_step": true,
"name": "load spec.cache.remove guard file",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"git",
"fetch",
"--tags",
"origin",
"master"
],
"cwd": "[CLEANUP]/spec_workspace",
"name": "load spec.git fetch",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"git",
"checkout",
"-f",
"FETCH_HEAD"
],
"cwd": "[CLEANUP]/spec_workspace",
"name": "load spec.git checkout",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"git",
"rev-parse",
"HEAD"
],
"cwd": "[CLEANUP]/spec_workspace",
"name": "load spec.git rev-parse",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"git",
"clean",
"-f",
"-d",
"-x"
],
"cwd": "[CLEANUP]/spec_workspace",
"name": "load spec.git clean",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"vpython",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"copy",
"[CLEANUP]/spec_workspace/infra/config/generated/fuchsia/specs/try/builder.textproto",
"/path/to/tmp/"
],
"infra_step": true,
"name": "load spec.read spec",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [],
"name": "checkout"
},
{
"cmd": [],
"name": "checkout.install fuchsia/tools/jiri",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"vpython",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"ensure-directory",
"--mode",
"0777",
"[CACHE]/cipd/fuchsia/tools/jiri/pinned-jiri-version"
],
"infra_step": true,
"name": "checkout.install fuchsia/tools/jiri.ensure package directory",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"cipd",
"ensure",
"-root",
"[CACHE]/cipd/fuchsia/tools/jiri/pinned-jiri-version",
"-ensure-file",
"fuchsia/tools/jiri/${platform} pinned-jiri-version",
"-max-threads",
"0",
"-json-output",
"/path/to/tmp/json"
],
"infra_step": true,
"name": "checkout.install fuchsia/tools/jiri.ensure_installed",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@",
"@@@STEP_LOG_LINE@json.output@{@@@",
"@@@STEP_LOG_LINE@json.output@ \"result\": {@@@",
"@@@STEP_LOG_LINE@json.output@ \"\": [@@@",
"@@@STEP_LOG_LINE@json.output@ {@@@",
"@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"resolved-instance_id-of-pinned-jiri-vers\", @@@",
"@@@STEP_LOG_LINE@json.output@ \"package\": \"fuchsia/tools/jiri/resolved-platform\"@@@",
"@@@STEP_LOG_LINE@json.output@ }@@@",
"@@@STEP_LOG_LINE@json.output@ ]@@@",
"@@@STEP_LOG_LINE@json.output@ }@@@",
"@@@STEP_LOG_LINE@json.output@}@@@",
"@@@STEP_LOG_END@json.output@@@"
]
},
{
"cmd": [
"[CACHE]/cipd/fuchsia/tools/jiri/pinned-jiri-version/jiri",
"init",
"-vv",
"-time",
"-j=8",
"-analytics-opt=false",
"-rewrite-sso-to-https=true",
"-cache",
"[CACHE]/git",
"[START_DIR]/fuchsia"
],
"infra_step": true,
"name": "checkout.jiri init",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"[CACHE]/cipd/infra/tools/luci/gerrit/pinned-gerrit-version/gerrit",
"change-detail",
"-host",
"https://fuchsia-review.googlesource.com",
"-input",
"{\"change_id\": \"fuchsia~123456\", \"params\": {\"o\": [\"ALL_REVISIONS\"]}}",
"-output",
"/path/to/tmp/json"
],
"infra_step": true,
"name": "checkout.get change details",
"timeout": 600,
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@",
"@@@STEP_LOG_LINE@json.output@{@@@",
"@@@STEP_LOG_LINE@json.output@ \"branch\": \"master\", @@@",
"@@@STEP_LOG_LINE@json.output@ \"revisions\": {@@@",
"@@@STEP_LOG_LINE@json.output@ \"a1b2c3\": {@@@",
"@@@STEP_LOG_LINE@json.output@ \"_number\": 7, @@@",
"@@@STEP_LOG_LINE@json.output@ \"ref\": \"refs/changes/00/100/7\"@@@",
"@@@STEP_LOG_LINE@json.output@ }, @@@",
"@@@STEP_LOG_LINE@json.output@ \"d4e5f6\": {@@@",
"@@@STEP_LOG_LINE@json.output@ \"_number\": 3, @@@",
"@@@STEP_LOG_LINE@json.output@ \"ref\": \"refs/changes/00/100/3\"@@@",
"@@@STEP_LOG_LINE@json.output@ }, @@@",
"@@@STEP_LOG_LINE@json.output@ \"g7h8i9\": {@@@",
"@@@STEP_LOG_LINE@json.output@ \"_number\": 9, @@@",
"@@@STEP_LOG_LINE@json.output@ \"ref\": \"refs/changes/00/100/9\"@@@",
"@@@STEP_LOG_LINE@json.output@ }@@@",
"@@@STEP_LOG_LINE@json.output@ }@@@",
"@@@STEP_LOG_LINE@json.output@}@@@",
"@@@STEP_LOG_END@json.output@@@",
"@@@STEP_LOG_LINE@json.input@{@@@",
"@@@STEP_LOG_LINE@json.input@ \"change_id\": \"fuchsia~123456\", @@@",
"@@@STEP_LOG_LINE@json.input@ \"params\": {@@@",
"@@@STEP_LOG_LINE@json.input@ \"o\": [@@@",
"@@@STEP_LOG_LINE@json.input@ \"ALL_REVISIONS\"@@@",
"@@@STEP_LOG_LINE@json.input@ ]@@@",
"@@@STEP_LOG_LINE@json.input@ }@@@",
"@@@STEP_LOG_LINE@json.input@}@@@",
"@@@STEP_LOG_END@json.input@@@"
]
},
{
"cmd": [
"git",
"ls-remote",
"--heads",
"https://fuchsia.googlesource.com/manifest",
"master"
],
"cwd": "[START_DIR]/fuchsia",
"infra_step": true,
"name": "checkout.resolve HEAD",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"[CACHE]/cipd/fuchsia/tools/jiri/pinned-jiri-version/jiri",
"import",
"-vv",
"-time",
"-j=8",
"-name",
"integration",
"-revision",
"h3ll0",
"minimal",
"https://fuchsia.googlesource.com/manifest"
],
"cwd": "[START_DIR]/fuchsia",
"infra_step": true,
"name": "checkout.jiri import",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"vpython",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"copy",
"",
"[CACHE]/git/.GUARD_FILE"
],
"cwd": "[START_DIR]/fuchsia",
"infra_step": true,
"name": "checkout.write guard file",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@",
"@@@STEP_LOG_END@.GUARD_FILE@@@"
]
},
{
"cmd": [
"[CACHE]/cipd/fuchsia/tools/jiri/pinned-jiri-version/jiri",
"update",
"-vv",
"-time",
"-j=8",
"-autoupdate=false",
"-attempts=1",
"-run-hooks=false",
"-fetch-packages=false"
],
"cwd": "[START_DIR]/fuchsia",
"infra_step": true,
"name": "checkout.jiri update",
"timeout": 2700,
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"vpython",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"remove",
"[CACHE]/git/.GUARD_FILE"
],
"cwd": "[START_DIR]/fuchsia",
"infra_step": true,
"name": "checkout.remove guard file",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"[CACHE]/cipd/fuchsia/tools/jiri/pinned-jiri-version/jiri",
"patch",
"-vv",
"-time",
"-j=8",
"-host",
"https://fuchsia-review.googlesource.com",
"-project",
"fuchsia",
"-rebase=true",
"-rebase-branch",
"master",
"refs/changes/00/100/7"
],
"cwd": "[START_DIR]/fuchsia",
"name": "checkout.jiri patch",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"[CACHE]/cipd/fuchsia/tools/jiri/pinned-jiri-version/jiri",
"project",
"-vv",
"-time",
"-j=8",
"-json-output",
"/path/to/tmp/json",
"fuchsia"
],
"cwd": "[START_DIR]/fuchsia",
"name": "checkout.jiri project",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@",
"@@@STEP_LOG_LINE@json.output@[@@@",
"@@@STEP_LOG_LINE@json.output@ {@@@",
"@@@STEP_LOG_LINE@json.output@ \"branches\": [@@@",
"@@@STEP_LOG_LINE@json.output@ \"(HEAD detached at c22471f)\"@@@",
"@@@STEP_LOG_LINE@json.output@ ], @@@",
"@@@STEP_LOG_LINE@json.output@ \"current_branch\": \"\", @@@",
"@@@STEP_LOG_LINE@json.output@ \"name\": \"fuchsia\", @@@",
"@@@STEP_LOG_LINE@json.output@ \"path\": \"path/to/fuchsia\", @@@",
"@@@STEP_LOG_LINE@json.output@ \"relativePath\": \"fuchsia\", @@@",
"@@@STEP_LOG_LINE@json.output@ \"remote\": \"https://fuchsia.googlesource.com/fuchsia\", @@@",
"@@@STEP_LOG_LINE@json.output@ \"revision\": \"c22471f4e3f842ae18dd9adec82ed9eb78ed1127\"@@@",
"@@@STEP_LOG_LINE@json.output@ }@@@",
"@@@STEP_LOG_LINE@json.output@]@@@",
"@@@STEP_LOG_END@json.output@@@"
]
},
{
"cmd": [
"git",
"-C",
"path/to/fuchsia",
"log",
"-n",
"10"
],
"cwd": "[START_DIR]/fuchsia",
"name": "checkout.git log",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"[CACHE]/cipd/fuchsia/tools/jiri/pinned-jiri-version/jiri",
"run-hooks",
"-vv",
"-time",
"-j=8",
"-attempts=3",
"-local-manifest=true"
],
"cwd": "[START_DIR]/fuchsia",
"env": {
"HOME": "[START_DIR]/fuchsia",
"INFRA_RECIPES": "1"
},
"infra_step": true,
"name": "checkout.jiri run-hooks",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"[CACHE]/cipd/fuchsia/tools/jiri/pinned-jiri-version/jiri",
"fetch-packages",
"-vv",
"-time",
"-j=8",
"-attempts=3",
"-local-manifest=true"
],
"cwd": "[START_DIR]/fuchsia",
"infra_step": true,
"name": "checkout.jiri fetch-packages",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"[CACHE]/cipd/fuchsia/tools/jiri/pinned-jiri-version/jiri",
"project",
"-vv",
"-time",
"-j=8",
"-json-output",
"/path/to/tmp/json"
],
"cwd": "[START_DIR]/fuchsia",
"infra_step": true,
"name": "checkout.source-info",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@",
"@@@STEP_LOG_LINE@json.output@[@@@",
"@@@STEP_LOG_LINE@json.output@ {@@@",
"@@@STEP_LOG_LINE@json.output@ \"name\": \"integration\", @@@",
"@@@STEP_LOG_LINE@json.output@ \"relativePath\": \"integration\", @@@",
"@@@STEP_LOG_LINE@json.output@ \"remote\": \"https://fuchsia.googlesource.com/integration\", @@@",
"@@@STEP_LOG_LINE@json.output@ \"revision\": \"a491082dc1b632bbcd60ba3618d20b503c2de738\"@@@",
"@@@STEP_LOG_LINE@json.output@ }, @@@",
"@@@STEP_LOG_LINE@json.output@ {@@@",
"@@@STEP_LOG_LINE@json.output@ \"name\": \"fuchsia\", @@@",
"@@@STEP_LOG_LINE@json.output@ \"relativePath\": \".\", @@@",
"@@@STEP_LOG_LINE@json.output@ \"remote\": \"https://fuchsia.googlesource.com/fuchsia\", @@@",
"@@@STEP_LOG_LINE@json.output@ \"revision\": \"a491082dc1b632bbcd60ba3618d20b503c2de738\"@@@",
"@@@STEP_LOG_LINE@json.output@ }@@@",
"@@@STEP_LOG_LINE@json.output@]@@@",
"@@@STEP_LOG_END@json.output@@@"
]
},
{
"cmd": [
"[CACHE]/cipd/fuchsia/tools/jiri/pinned-jiri-version/jiri",
"snapshot",
"-vv",
"-time",
"-j=8",
"[CLEANUP]/jiri_snapshot.xml"
],
"cwd": "[START_DIR]/fuchsia",
"infra_step": true,
"name": "checkout.jiri snapshot",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"vpython",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"copy",
"[CLEANUP]/jiri_snapshot.xml",
"/path/to/tmp/"
],
"cwd": "[START_DIR]/fuchsia",
"infra_step": true,
"name": "checkout.read snapshot",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@",
"@@@STEP_LOG_END@jiri_snapshot.xml@@@"
]
},
{
"cmd": [],
"name": "got_revision",
"~followup_annotations": [
"@@@SET_BUILD_PROPERTY@got_revision@\"a491082dc1b632bbcd60ba3618d20b503c2de738\"@@@"
]
},
{
"cmd": [],
"name": "test multipliers",
"~followup_annotations": [
"@@@STEP_LOG_LINE@multipliers@[]@@@",
"@@@STEP_LOG_END@multipliers@@@"
]
},
{
"cmd": [
"git",
"show",
"HEAD",
"--format=%B",
"--no-patch"
],
"cwd": "[START_DIR]/fuchsia",
"name": "test multipliers.get commit msg",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@",
"@@@STEP_LOG_LINE@commit message@[foo] bar@@@",
"@@@STEP_LOG_LINE@commit message@baz@@@",
"@@@STEP_LOG_END@commit message@@@"
]
},
{
"cmd": [],
"name": "upload checkout results",
"~followup_annotations": [
"@@@SET_BUILD_PROPERTY@integration-revision-count@1@@@"
]
},
{
"cmd": [],
"name": "upload checkout results.install infra/gsutil",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"vpython",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"ensure-directory",
"--mode",
"0777",
"[CACHE]/cipd/infra/gsutil/version%3A4.41"
],
"infra_step": true,
"name": "upload checkout results.install infra/gsutil.ensure package directory",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"cipd",
"ensure",
"-root",
"[CACHE]/cipd/infra/gsutil/version%3A4.41",
"-ensure-file",
"infra/gsutil version:4.41",
"-max-threads",
"0",
"-json-output",
"/path/to/tmp/json"
],
"infra_step": true,
"name": "upload checkout results.install infra/gsutil.ensure_installed",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@",
"@@@STEP_LOG_LINE@json.output@{@@@",
"@@@STEP_LOG_LINE@json.output@ \"result\": {@@@",
"@@@STEP_LOG_LINE@json.output@ \"\": [@@@",
"@@@STEP_LOG_LINE@json.output@ {@@@",
"@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"resolved-instance_id-of-version:4.41----\", @@@",
"@@@STEP_LOG_LINE@json.output@ \"package\": \"infra/gsutil\"@@@",
"@@@STEP_LOG_LINE@json.output@ }@@@",
"@@@STEP_LOG_LINE@json.output@ ]@@@",
"@@@STEP_LOG_LINE@json.output@ }@@@",
"@@@STEP_LOG_LINE@json.output@}@@@",
"@@@STEP_LOG_END@json.output@@@"
]
},
{
"cmd": [
"vpython",
"-vpython-spec",
"RECIPE_MODULE[fuchsia::gsutil]/resources/gsutil.vpython",
"-u",
"[CACHE]/cipd/infra/gsutil/version%3A4.41/gsutil",
"-o",
"GSUtil:software_update_check_period=0",
"cp",
"-n",
"[CLEANUP]/jiri_snapshot.xml",
"gs://fuchsia-infra-artifacts/builds/8945511751514863184/jiri_snapshot.xml"
],
"infra_step": true,
"name": "upload checkout results.upload jiri_snapshot.xml to fuchsia-infra-artifacts",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@",
"@@@STEP_LINK@jiri_snapshot.xml@https://storage.cloud.google.com/fuchsia-infra-artifacts/builds/8945511751514863184/jiri_snapshot.xml@@@"
]
},
{
"cmd": [
"git",
"-C",
"[START_DIR]/fuchsia/integration",
"rev-list",
"--count",
"HEAD"
],
"name": "upload checkout results.set integration-revision-count property",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"[CACHE]/cipd/fuchsia/tools/jiri/pinned-jiri-version/jiri",
"source-manifest",
"-vv",
"-time",
"-j=8",
"/path/to/tmp/json"
],
"cwd": "[START_DIR]/fuchsia",
"name": "upload checkout results.jiri source-manifest",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@",
"@@@STEP_LOG_LINE@json.output[source manifest]@{@@@",
"@@@STEP_LOG_LINE@json.output[source manifest]@ \"directories\": {@@@",
"@@@STEP_LOG_LINE@json.output[source manifest]@ \"manifest\": {@@@",
"@@@STEP_LOG_LINE@json.output[source manifest]@ \"git_checkout\": {@@@",
"@@@STEP_LOG_LINE@json.output[source manifest]@ \"repo_url\": \"https://fuchsia.googlesource.com/manifest\", @@@",
"@@@STEP_LOG_LINE@json.output[source manifest]@ \"revision\": \"4c2b0da3c06341db5cebe4d02c78c93c3b2bd78b\"@@@",
"@@@STEP_LOG_LINE@json.output[source manifest]@ }@@@",
"@@@STEP_LOG_LINE@json.output[source manifest]@ }@@@",
"@@@STEP_LOG_LINE@json.output[source manifest]@ }@@@",
"@@@STEP_LOG_LINE@json.output[source manifest]@}@@@",
"@@@STEP_LOG_END@json.output[source manifest]@@@"
]
},
{
"cmd": [],
"name": "upload checkout results.upload source manifest",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"vpython",
"-vpython-spec",
"RECIPE_MODULE[fuchsia::gsutil]/resources/gsutil.vpython",
"-u",
"[CACHE]/cipd/infra/gsutil/version%3A4.41/gsutil",
"-o",
"GSUtil:software_update_check_period=0",
"cp",
"-n",
"{\"directories\": {\"manifest\": {\"git_checkout\": {\"repo_url\": \"https://fuchsia.googlesource.com/manifest\", \"revision\": \"4c2b0da3c06341db5cebe4d02c78c93c3b2bd78b\"}}}}",
"gs://fuchsia-infra-artifacts/builds/8945511751514863184/source_manifest.json"
],
"infra_step": true,
"name": "upload checkout results.upload source manifest.upload source_manifest.json to fuchsia-infra-artifacts",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@",
"@@@STEP_LINK@source_manifest.json@https://storage.cloud.google.com/fuchsia-infra-artifacts/builds/8945511751514863184/source_manifest.json@@@"
]
},
{
"cmd": [],
"name": "build",
"~followup_annotations": [
"@@@STEP_LOG_LINE@fint_params@field: \"value\"@@@",
"@@@STEP_LOG_END@fint_params@@@",
"@@@SET_BUILD_PROPERTY@fint_params@\"field: \\\"value\\\"\"@@@"
]
},
{
"cmd": [
"vpython",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"copy",
"[START_DIR]/fuchsia/specs/core.fint.textproto",
"/path/to/tmp/"
],
"infra_step": true,
"name": "build.read fint params",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@",
"@@@STEP_LOG_LINE@core.fint.textproto@field: \"value\"@@@",
"@@@STEP_LOG_END@core.fint.textproto@@@"
]
},
{
"cmd": [],
"name": "build.get changed files",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"[CACHE]/cipd/fuchsia/tools/jiri/pinned-jiri-version/jiri",
"project",
"-vv",
"-time",
"-j=8",
"-json-output",
"/path/to/tmp/json",
"fuchsia"
],
"cwd": "[START_DIR]/fuchsia",
"name": "build.get changed files.jiri project",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@",
"@@@STEP_LOG_LINE@json.output@[@@@",
"@@@STEP_LOG_LINE@json.output@ {@@@",
"@@@STEP_LOG_LINE@json.output@ \"name\": \"fuchsia\", @@@",
"@@@STEP_LOG_LINE@json.output@ \"path\": \"[START_DIR]/fuchsia/fuchsia\"@@@",
"@@@STEP_LOG_LINE@json.output@ }@@@",
"@@@STEP_LOG_LINE@json.output@]@@@",
"@@@STEP_LOG_END@json.output@@@"
]
},
{
"cmd": [
"git",
"diff-tree",
"--no-commit-id",
"--name-only",
"-r",
"-z",
"HEAD"
],
"cwd": "[START_DIR]/fuchsia/fuchsia",
"name": "build.get changed files.git diff-tree",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@",
"@@@STEP_LOG_LINE@files@foo.cc@@@",
"@@@STEP_LOG_LINE@files@bar.cc@@@",
"@@@STEP_LOG_END@files@@@"
]
},
{
"cmd": [
"[START_DIR]/fuchsia/tools/integration/bootstrap.sh",
"-o",
"[CLEANUP]/fint_tmp_1/fint"
],
"cwd": "[START_DIR]/fuchsia",
"name": "build.bootstrap fint",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"[CLEANUP]/fint_tmp_1/fint",
"set",
"-static",
"[START_DIR]/fuchsia/specs/core.fint.textproto",
"-context",
"checkout_dir: \"[START_DIR]/fuchsia\"\nbuild_dir: \"[START_DIR]/fuchsia/out/not-default\"\nartifact_dir: \"[CLEANUP]/fint_artifacts_tmp_1\"\nchanged_files {\n path: \"fuchsia/foo.cc\"\n}\nchanged_files {\n path: \"fuchsia/bar.cc\"\n}\ncache_dir: \"[CACHE]\"\ngoma_job_count: 80\n"
],
"cwd": "[START_DIR]/fuchsia",
"name": "build.gn gen",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@",
"@@@STEP_TEXT@run by `fint set`@@@",
"@@@STEP_LOG_LINE@context.textproto@checkout_dir: \"[START_DIR]/fuchsia\"@@@",
"@@@STEP_LOG_LINE@context.textproto@build_dir: \"[START_DIR]/fuchsia/out/not-default\"@@@",
"@@@STEP_LOG_LINE@context.textproto@artifact_dir: \"[CLEANUP]/fint_artifacts_tmp_1\"@@@",
"@@@STEP_LOG_LINE@context.textproto@changed_files {@@@",
"@@@STEP_LOG_LINE@context.textproto@ path: \"fuchsia/foo.cc\"@@@",
"@@@STEP_LOG_LINE@context.textproto@}@@@",
"@@@STEP_LOG_LINE@context.textproto@changed_files {@@@",
"@@@STEP_LOG_LINE@context.textproto@ path: \"fuchsia/bar.cc\"@@@",
"@@@STEP_LOG_LINE@context.textproto@}@@@",
"@@@STEP_LOG_LINE@context.textproto@cache_dir: \"[CACHE]\"@@@",
"@@@STEP_LOG_LINE@context.textproto@goma_job_count: 80@@@",
"@@@STEP_LOG_END@context.textproto@@@"
]
},
{
"cmd": [
"vpython",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"copy",
"[CLEANUP]/fint_artifacts_tmp_1/set_artifacts.json",
"/path/to/tmp/json"
],
"cwd": "[START_DIR]/fuchsia",
"infra_step": true,
"name": "build.read fint set artifacts",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@",
"@@@STEP_LOG_LINE@set_artifacts.json@skip_build: true@@@",
"@@@STEP_LOG_LINE@set_artifacts.json@use_goma: true@@@",
"@@@STEP_LOG_END@set_artifacts.json@@@"
]
},
{
"cmd": [],
"name": "check if build skipped",
"~followup_annotations": [
"@@@SET_BUILD_PROPERTY@skipped_because_unaffected@true@@@"
]
},
{
"name": "$result"
}
]