| [ |
| { |
| "cmd": [], |
| "name": "install infra/tools/luci/gerrit" |
| }, |
| { |
| "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/latest" |
| ], |
| "infra_step": true, |
| "name": "install infra/tools/luci/gerrit.ensure package directory", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "cipd", |
| "ensure", |
| "-root", |
| "[CACHE]/cipd/infra/tools/luci/gerrit/latest", |
| "-ensure-file", |
| "infra/tools/luci/gerrit/${platform} latest", |
| "-max-threads", |
| "0", |
| "-json-output", |
| "/path/to/tmp/json" |
| ], |
| "infra_step": true, |
| "name": "install infra/tools/luci/gerrit.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@ {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"resolved-instance_id-of-latest----------\", @@@", |
| "@@@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/latest/gerrit", |
| "change-detail", |
| "-host", |
| "https://chromium-review.googlesource.com", |
| "-input", |
| "{\"change_id\": \"123456\"}", |
| "-output", |
| "/path/to/tmp/json" |
| ], |
| "infra_step": true, |
| "name": "get_gerrit_details", |
| "~followup_annotations": [ |
| "@@@STEP_LOG_LINE@json.output@{@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"branch\": \"master\"@@@", |
| "@@@STEP_LOG_LINE@json.output@}@@@", |
| "@@@STEP_LOG_END@json.output@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "install infra/tools/luci/gitiles" |
| }, |
| { |
| "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/gitiles/latest" |
| ], |
| "infra_step": true, |
| "name": "install infra/tools/luci/gitiles.ensure package directory", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "cipd", |
| "ensure", |
| "-root", |
| "[CACHE]/cipd/infra/tools/luci/gitiles/latest", |
| "-ensure-file", |
| "infra/tools/luci/gitiles/${platform} latest", |
| "-max-threads", |
| "0", |
| "-json-output", |
| "/path/to/tmp/json" |
| ], |
| "infra_step": true, |
| "name": "install infra/tools/luci/gitiles.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@ {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"resolved-instance_id-of-latest----------\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"package\": \"infra/tools/luci/gitiles/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/gitiles/latest/gitiles", |
| "refs", |
| "-json-output", |
| "/path/to/tmp/json", |
| "https://chromium.googlesource.com/project", |
| "refs/heads" |
| ], |
| "infra_step": true, |
| "name": "refs", |
| "~followup_annotations": [ |
| "@@@STEP_LOG_LINE@json.output@{@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"refs/heads/master\": \"deadbeef\"@@@", |
| "@@@STEP_LOG_LINE@json.output@}@@@", |
| "@@@STEP_LOG_END@json.output@@@" |
| ] |
| }, |
| { |
| "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@ build_type: \"debug\"@@@", |
| "@@@STEP_LOG_LINE@textproto@ board: \"boards/x64.gni\"@@@", |
| "@@@STEP_LOG_LINE@textproto@ product: \"products/core.gni\"@@@", |
| "@@@STEP_LOG_LINE@textproto@ run_tests: true@@@", |
| "@@@STEP_LOG_LINE@textproto@ target: \"x64\"@@@", |
| "@@@STEP_LOG_LINE@textproto@}@@@", |
| "@@@STEP_LOG_LINE@textproto@test {@@@", |
| "@@@STEP_LOG_LINE@textproto@ device_type: \"QEMU\"@@@", |
| "@@@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@ test_in_shards: true@@@", |
| "@@@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@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@\"\"@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "[CACHE]/cipd/infra/tools/luci/gitiles/latest/gitiles", |
| "refs", |
| "-json-output", |
| "/path/to/tmp/json", |
| "https://fuchsia.googlesource.com/integration", |
| "refs/heads" |
| ], |
| "infra_step": true, |
| "name": "load spec.refs", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LOG_LINE@json.output@{@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"refs/heads/master\": \"deadbeef\"@@@", |
| "@@@STEP_LOG_LINE@json.output@}@@@", |
| "@@@STEP_LOG_END@json.output@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "load spec.install fuchsia/infra/build_init", |
| "~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/infra/build_init/git_revision%3Abd277978791e1e35bf76e0df57f6aef14aef0757" |
| ], |
| "infra_step": true, |
| "name": "load spec.install fuchsia/infra/build_init.ensure package directory", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "cipd", |
| "ensure", |
| "-root", |
| "[CACHE]/cipd/fuchsia/infra/build_init/git_revision%3Abd277978791e1e35bf76e0df57f6aef14aef0757", |
| "-ensure-file", |
| "fuchsia/infra/build_init/${platform} git_revision:bd277978791e1e35bf76e0df57f6aef14aef0757", |
| "-max-threads", |
| "0", |
| "-json-output", |
| "/path/to/tmp/json" |
| ], |
| "infra_step": true, |
| "name": "load spec.install fuchsia/infra/build_init.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-git_revision:bd2\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"package\": \"fuchsia/infra/build_init/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/infra/build_init/git_revision%3Abd277978791e1e35bf76e0df57f6aef14aef0757/build_init", |
| "-spec_remote", |
| "https://fuchsia.googlesource.com/integration", |
| "-spec_path", |
| "infra/config/generated/project/specs/try/builder.textproto", |
| "-spec_ref", |
| "deadbeef" |
| ], |
| "cwd": "[CLEANUP]/build_init_workspace_tmp_1", |
| "infra_step": true, |
| "name": "load spec.build_init", |
| "stdin": "CNDsgNmu8bWSfBIXCgdwcm9qZWN0EgN0cnkaB2J1aWxkZXIiHHVzZXI6Y29tbWl0LWJvdEBjaHJvbWl1bS5vcmcyBgi5wqLYBXp2EkEKGWNocm9taXVtLmdvb2dsZXNvdXJjZS5jb20SB3Byb2plY3QaCGRlYWRiZWVmIhFyZWZzL2hlYWRzL21hc3RlchoxCiBjaHJvbWl1bS1yZXZpZXcuZ29vZ2xlc291cmNlLmNvbRIHcHJvamVjdBjAxAcgB5IBLRICIB4qJxIlaW52b2NhdGlvbnMvYnVpbGQ6ODk0NTUxMTc1MTUxNDg2MzE4NJoBGAoPY3FfZXhwZXJpbWVudGFsEgVmYWxzZQ==", |
| "timeout": 600, |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "got_revision", |
| "~followup_annotations": [ |
| "@@@SET_BUILD_PROPERTY@got_revision@\"deadbeef\"@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "python", |
| "-u", |
| "import sys; sys.exit(1)" |
| ], |
| "infra_step": true, |
| "name": "no parent_id", |
| "~followup_annotations": [ |
| "@@@STEP_TEXT@subbuilds can only be triggered by parent builds@@@", |
| "@@@STEP_EXCEPTION@@@" |
| ] |
| }, |
| { |
| "failure": { |
| "humanReason": "Infra Failure: Step('no parent_id') (retcode: 1)" |
| }, |
| "name": "$result" |
| } |
| ] |