blob: 67d15ef05ceb8b0470b85cd06b4513fadc2e5d80 [file] [log] [blame]
[
{
"cmd": [],
"name": "resolve base commit"
},
{
"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]/linux_sysroot"
],
"infra_step": true,
"name": "checkout.jiri init",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"[CACHE]/cipd/fuchsia/tools/jiri/pinned-jiri-version/jiri",
"import",
"-vv",
"-time",
"-j=8",
"-name",
"integration",
"-revision",
"HEAD",
"minimal",
"https://fuchsia.googlesource.com/fuchsia"
],
"cwd": "[START_DIR]/linux_sysroot",
"infra_step": true,
"name": "checkout.jiri import",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"[CACHE]/cipd/fuchsia/tools/jiri/pinned-jiri-version/jiri",
"override",
"-vv",
"-time",
"-j=8",
"-revision",
"2d72510e447ab60a9728aeea2362d8be2cbd7789",
"fuchsia",
"https://fuchsia.googlesource.com/fuchsia"
],
"cwd": "[START_DIR]/linux_sysroot",
"infra_step": true,
"name": "checkout.jiri override",
"~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]/linux_sysroot",
"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"
],
"cwd": "[START_DIR]/linux_sysroot",
"infra_step": true,
"name": "checkout.jiri update",
"timeout": 1800,
"~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]/linux_sysroot",
"infra_step": true,
"name": "checkout.remove guard file",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"[CACHE]/cipd/fuchsia/tools/jiri/pinned-jiri-version/jiri",
"run-hooks",
"-vv",
"-time",
"-j=8",
"-attempts=3"
],
"cwd": "[START_DIR]/linux_sysroot",
"env": {
"HOME": "[START_DIR]/linux_sysroot",
"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",
"project",
"-vv",
"-time",
"-j=8",
"-json-output",
"/path/to/tmp/json"
],
"cwd": "[START_DIR]/linux_sysroot",
"infra_step": true,
"name": "checkout.source-info",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@",
"@@@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]/linux_sysroot",
"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]/linux_sysroot",
"infra_step": true,
"name": "checkout.read snapshot",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@",
"@@@STEP_LOG_END@jiri_snapshot.xml@@@"
]
},
{
"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]/linux_sysroot/specs/linux-sysroot.textproto",
"/path/to/tmp/"
],
"infra_step": true,
"name": "build.read fint params",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@",
"@@@STEP_LOG_LINE@linux-sysroot.textproto@field: \"value\"@@@",
"@@@STEP_LOG_END@linux-sysroot.textproto@@@"
]
},
{
"cmd": [
"[START_DIR]/linux_sysroot/tools/integration/bootstrap.sh",
"-o",
"[CLEANUP]/fint_tmp_1/fint"
],
"cwd": "[START_DIR]/linux_sysroot",
"name": "build.bootstrap fint",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"[CLEANUP]/fint_tmp_1/fint",
"set",
"-static",
"[START_DIR]/linux_sysroot/specs/linux-sysroot.textproto",
"-context",
"checkout_dir: \"[START_DIR]/linux_sysroot\"\nbuild_dir: \"[START_DIR]/linux_sysroot/out/not-default\"\nartifact_dir: \"[CLEANUP]/fint_artifacts_tmp_1\"\ncache_dir: \"[CACHE]\"\ngoma_job_count: 80\n"
],
"cwd": "[START_DIR]/linux_sysroot",
"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]/linux_sysroot\"@@@",
"@@@STEP_LOG_LINE@context.textproto@build_dir: \"[START_DIR]/linux_sysroot/out/not-default\"@@@",
"@@@STEP_LOG_LINE@context.textproto@artifact_dir: \"[CLEANUP]/fint_artifacts_tmp_1\"@@@",
"@@@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]/linux_sysroot",
"infra_step": true,
"name": "build.read fint set artifacts",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@",
"@@@STEP_LOG_LINE@set_artifacts.json@gn_trace_path: \"[CLEANUP]/fint_artifacts_tmp_1/mock-gn-trace.json\"@@@",
"@@@STEP_LOG_LINE@set_artifacts.json@use_goma: true@@@",
"@@@STEP_LOG_LINE@set_artifacts.json@metadata {@@@",
"@@@STEP_LOG_LINE@set_artifacts.json@ board: \"boards/x64.gni\"@@@",
"@@@STEP_LOG_LINE@set_artifacts.json@ optimize: \"debug\"@@@",
"@@@STEP_LOG_LINE@set_artifacts.json@ product: \"products/core.gni\"@@@",
"@@@STEP_LOG_LINE@set_artifacts.json@ target_arch: \"x64\"@@@",
"@@@STEP_LOG_LINE@set_artifacts.json@ variants: \"asan\"@@@",
"@@@STEP_LOG_LINE@set_artifacts.json@}@@@",
"@@@STEP_LOG_END@set_artifacts.json@@@"
]
},
{
"cmd": [
"vpython",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"copy",
"[START_DIR]/linux_sysroot/out/not-default/tool_paths.json",
"/path/to/tmp/"
],
"infra_step": true,
"name": "build.read tool_paths manifest",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@",
"@@@STEP_LOG_LINE@tool_paths.json@[@@@",
"@@@STEP_LOG_LINE@tool_paths.json@ {@@@",
"@@@STEP_LOG_LINE@tool_paths.json@ \"cpu\": \"x64\",@@@",
"@@@STEP_LOG_LINE@tool_paths.json@ \"name\": \"foo\",@@@",
"@@@STEP_LOG_LINE@tool_paths.json@ \"os\": \"linux\",@@@",
"@@@STEP_LOG_LINE@tool_paths.json@ \"path\": \"linux_x64/foo\"@@@",
"@@@STEP_LOG_LINE@tool_paths.json@ }@@@",
"@@@STEP_LOG_LINE@tool_paths.json@]@@@",
"@@@STEP_LOG_END@tool_paths.json@@@"
]
},
{
"cmd": [],
"name": "build.setup goma",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"python",
"-u",
"[START_DIR]/linux_sysroot/out/not-default/linux_x64/goma_ctl.py",
"restart"
],
"env": {
"GLOG_log_dir": "[CLEANUP]",
"GOMA_CACHE_DIR": "[CACHE]/goma",
"GOMA_DEPS_CACHE_FILE": "goma_deps_cache",
"GOMA_DUMP_STATS_FILE": "[START_DIR]/linux_sysroot/out/not-default/linux_x64/goma_stats.json",
"GOMA_LOCAL_OUTPUT_CACHE_DIR": "[CACHE]/goma/localoutputcache",
"GOMA_MAX_SUM_OUTPUT_SIZE_IN_MB": "256",
"GOMA_SERVER_HOST": "rbe-prod1.endpoints.fuchsia-infra-goma-prod.cloud.goog",
"GOMA_STORE_LOCAL_RUN_OUTPUT": "True",
"GOMA_TMP_DIR": "[CLEANUP]/goma",
"GOMA_USE_LOCAL": "False"
},
"infra_step": true,
"name": "build.setup goma.start goma",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [],
"name": "build.ninja",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"[CLEANUP]/fint_tmp_1/fint",
"build",
"-static",
"[START_DIR]/linux_sysroot/specs/linux-sysroot.textproto",
"-context",
"checkout_dir: \"[START_DIR]/linux_sysroot\"\nbuild_dir: \"[START_DIR]/linux_sysroot/out/not-default\"\nartifact_dir: \"[CLEANUP]/fint_artifacts_tmp_1\"\ncache_dir: \"[CACHE]\"\ngoma_job_count: 80\n"
],
"env": {
"GOMA_TMP_DIR": "[CLEANUP]/goma",
"GOMA_USE_LOCAL": "False"
},
"name": "build.ninja.fuchsia",
"timeout": 5400,
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@",
"@@@STEP_TEXT@run by `fint build`@@@",
"@@@STEP_LOG_LINE@context.textproto@checkout_dir: \"[START_DIR]/linux_sysroot\"@@@",
"@@@STEP_LOG_LINE@context.textproto@build_dir: \"[START_DIR]/linux_sysroot/out/not-default\"@@@",
"@@@STEP_LOG_LINE@context.textproto@artifact_dir: \"[CLEANUP]/fint_artifacts_tmp_1\"@@@",
"@@@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/build_artifacts.json",
"/path/to/tmp/json"
],
"env": {
"GOMA_TMP_DIR": "[CLEANUP]/goma",
"GOMA_USE_LOCAL": "False"
},
"infra_step": true,
"name": "build.read fint build artifacts",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@",
"@@@STEP_LOG_LINE@build_artifacts.json@built_targets: \"target1\"@@@",
"@@@STEP_LOG_LINE@build_artifacts.json@built_targets: \"target2\"@@@",
"@@@STEP_LOG_LINE@build_artifacts.json@built_images {@@@",
"@@@STEP_LOG_LINE@build_artifacts.json@ fields {@@@",
"@@@STEP_LOG_LINE@build_artifacts.json@ key: \"name\"@@@",
"@@@STEP_LOG_LINE@build_artifacts.json@ value {@@@",
"@@@STEP_LOG_LINE@build_artifacts.json@ string_value: \"foo\"@@@",
"@@@STEP_LOG_LINE@build_artifacts.json@ }@@@",
"@@@STEP_LOG_LINE@build_artifacts.json@ }@@@",
"@@@STEP_LOG_LINE@build_artifacts.json@ fields {@@@",
"@@@STEP_LOG_LINE@build_artifacts.json@ key: \"path\"@@@",
"@@@STEP_LOG_LINE@build_artifacts.json@ value {@@@",
"@@@STEP_LOG_LINE@build_artifacts.json@ string_value: \"foo.img\"@@@",
"@@@STEP_LOG_LINE@build_artifacts.json@ }@@@",
"@@@STEP_LOG_LINE@build_artifacts.json@ }@@@",
"@@@STEP_LOG_LINE@build_artifacts.json@ fields {@@@",
"@@@STEP_LOG_LINE@build_artifacts.json@ key: \"type\"@@@",
"@@@STEP_LOG_LINE@build_artifacts.json@ value {@@@",
"@@@STEP_LOG_LINE@build_artifacts.json@ string_value: \"blk\"@@@",
"@@@STEP_LOG_LINE@build_artifacts.json@ }@@@",
"@@@STEP_LOG_LINE@build_artifacts.json@ }@@@",
"@@@STEP_LOG_LINE@build_artifacts.json@}@@@",
"@@@STEP_LOG_LINE@build_artifacts.json@built_archives {@@@",
"@@@STEP_LOG_LINE@build_artifacts.json@ fields {@@@",
"@@@STEP_LOG_LINE@build_artifacts.json@ key: \"name\"@@@",
"@@@STEP_LOG_LINE@build_artifacts.json@ value {@@@",
"@@@STEP_LOG_LINE@build_artifacts.json@ string_value: \"archive\"@@@",
"@@@STEP_LOG_LINE@build_artifacts.json@ }@@@",
"@@@STEP_LOG_LINE@build_artifacts.json@ }@@@",
"@@@STEP_LOG_LINE@build_artifacts.json@ fields {@@@",
"@@@STEP_LOG_LINE@build_artifacts.json@ key: \"path\"@@@",
"@@@STEP_LOG_LINE@build_artifacts.json@ value {@@@",
"@@@STEP_LOG_LINE@build_artifacts.json@ string_value: \"build-archive.tgz\"@@@",
"@@@STEP_LOG_LINE@build_artifacts.json@ }@@@",
"@@@STEP_LOG_LINE@build_artifacts.json@ }@@@",
"@@@STEP_LOG_LINE@build_artifacts.json@ fields {@@@",
"@@@STEP_LOG_LINE@build_artifacts.json@ key: \"type\"@@@",
"@@@STEP_LOG_LINE@build_artifacts.json@ value {@@@",
"@@@STEP_LOG_LINE@build_artifacts.json@ string_value: \"tgz\"@@@",
"@@@STEP_LOG_LINE@build_artifacts.json@ }@@@",
"@@@STEP_LOG_LINE@build_artifacts.json@ }@@@",
"@@@STEP_LOG_LINE@build_artifacts.json@}@@@",
"@@@STEP_LOG_LINE@build_artifacts.json@ninja_log_path: \"/tmp/ninja_log.txt\"@@@",
"@@@STEP_LOG_LINE@build_artifacts.json@ninja_graph_path: \"/tmp/ninja_graph.dot\"@@@",
"@@@STEP_LOG_LINE@build_artifacts.json@ninja_compdb_path: \"/tmp/ninja_compdb.json\"@@@",
"@@@STEP_LOG_LINE@build_artifacts.json@ninja_duration_seconds: 900@@@",
"@@@STEP_LOG_END@build_artifacts.json@@@",
"@@@SET_BUILD_PROPERTY@ninja_duration_seconds@900@@@"
]
},
{
"cmd": [],
"name": "build.teardown goma",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"python",
"-u",
"[START_DIR]/linux_sysroot/out/not-default/linux_x64/goma_ctl.py",
"jsonstatus",
"[START_DIR]/linux_sysroot/out/not-default/linux_x64/jsonstatus"
],
"env": {
"GLOG_log_dir": "[CLEANUP]",
"GOMA_CACHE_DIR": "[CACHE]/goma",
"GOMA_DEPS_CACHE_FILE": "goma_deps_cache",
"GOMA_DUMP_STATS_FILE": "[START_DIR]/linux_sysroot/out/not-default/linux_x64/goma_stats.json",
"GOMA_LOCAL_OUTPUT_CACHE_DIR": "[CACHE]/goma/localoutputcache",
"GOMA_MAX_SUM_OUTPUT_SIZE_IN_MB": "256",
"GOMA_SERVER_HOST": "rbe-prod1.endpoints.fuchsia-infra-goma-prod.cloud.goog",
"GOMA_STORE_LOCAL_RUN_OUTPUT": "True",
"GOMA_TMP_DIR": "[CLEANUP]/goma",
"GOMA_USE_LOCAL": "False"
},
"name": "build.teardown goma.goma jsonstatus",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@",
"@@@STEP_LOG_LINE@json.output@{@@@",
"@@@STEP_LOG_LINE@json.output@ \"notice\": [@@@",
"@@@STEP_LOG_LINE@json.output@ {@@@",
"@@@STEP_LOG_LINE@json.output@ \"infra_status\": {@@@",
"@@@STEP_LOG_LINE@json.output@ \"num_user_error\": 0, @@@",
"@@@STEP_LOG_LINE@json.output@ \"ping_status_code\": 200@@@",
"@@@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": [
"python",
"-u",
"[START_DIR]/linux_sysroot/out/not-default/linux_x64/goma_ctl.py",
"stat"
],
"env": {
"GLOG_log_dir": "[CLEANUP]",
"GOMA_CACHE_DIR": "[CACHE]/goma",
"GOMA_DEPS_CACHE_FILE": "goma_deps_cache",
"GOMA_DUMP_STATS_FILE": "[START_DIR]/linux_sysroot/out/not-default/linux_x64/goma_stats.json",
"GOMA_LOCAL_OUTPUT_CACHE_DIR": "[CACHE]/goma/localoutputcache",
"GOMA_MAX_SUM_OUTPUT_SIZE_IN_MB": "256",
"GOMA_SERVER_HOST": "rbe-prod1.endpoints.fuchsia-infra-goma-prod.cloud.goog",
"GOMA_STORE_LOCAL_RUN_OUTPUT": "True",
"GOMA_TMP_DIR": "[CLEANUP]/goma",
"GOMA_USE_LOCAL": "False"
},
"name": "build.teardown goma.goma stats",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"python",
"-u",
"[START_DIR]/linux_sysroot/out/not-default/linux_x64/goma_ctl.py",
"stop"
],
"env": {
"GLOG_log_dir": "[CLEANUP]",
"GOMA_CACHE_DIR": "[CACHE]/goma",
"GOMA_DEPS_CACHE_FILE": "goma_deps_cache",
"GOMA_DUMP_STATS_FILE": "[START_DIR]/linux_sysroot/out/not-default/linux_x64/goma_stats.json",
"GOMA_LOCAL_OUTPUT_CACHE_DIR": "[CACHE]/goma/localoutputcache",
"GOMA_MAX_SUM_OUTPUT_SIZE_IN_MB": "256",
"GOMA_SERVER_HOST": "rbe-prod1.endpoints.fuchsia-infra-goma-prod.cloud.goog",
"GOMA_STORE_LOCAL_RUN_OUTPUT": "True",
"GOMA_TMP_DIR": "[CLEANUP]/goma",
"GOMA_USE_LOCAL": "False"
},
"name": "build.teardown goma.stop goma",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"vpython",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"copy",
"[CLEANUP]/compiler_proxy.WARNING",
"/path/to/tmp/"
],
"env": {
"GOMA_TMP_DIR": "[CLEANUP]/goma",
"GOMA_USE_LOCAL": "False"
},
"infra_step": true,
"name": "build.teardown goma.read goma_client warning log",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@",
"@@@STEP_LOG_LINE@compiler_proxy.WARNING@test log@@@",
"@@@STEP_LOG_END@compiler_proxy.WARNING@@@"
]
},
{
"cmd": [
"vpython",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"copy",
"[START_DIR]/linux_sysroot/out/not-default/linux_x64/goma_stats.json",
"/path/to/tmp/"
],
"env": {
"GOMA_TMP_DIR": "[CLEANUP]/goma",
"GOMA_USE_LOCAL": "False"
},
"infra_step": true,
"name": "build.teardown goma.read goma_stats.json",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@",
"@@@STEP_LOG_LINE@json.output@{@@@",
"@@@STEP_LOG_LINE@json.output@ \"build_info\": {@@@",
"@@@STEP_LOG_LINE@json.output@ \"build_id\": 8945511751514863184, @@@",
"@@@STEP_LOG_LINE@json.output@ \"builder\": \"builder\", @@@",
"@@@STEP_LOG_LINE@json.output@ \"time_stamp\": \"2012-05-14 12:53:21.500000\", @@@",
"@@@STEP_LOG_LINE@json.output@ \"time_stamp_int\": 1337000003000@@@",
"@@@STEP_LOG_LINE@json.output@ }@@@",
"@@@STEP_LOG_LINE@json.output@}@@@",
"@@@STEP_LOG_END@json.output@@@"
]
},
{
"cmd": [],
"name": "build.teardown goma.install infra/tools/bqupload",
"~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",
"[CACHE]/cipd/infra/tools/bqupload/git_revision%3Ad85fe78f303c3e969f815121e17c8b08868039ef"
],
"env": {
"GOMA_TMP_DIR": "[CLEANUP]/goma",
"GOMA_USE_LOCAL": "False"
},
"infra_step": true,
"name": "build.teardown goma.install infra/tools/bqupload.ensure package directory",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@3@@@"
]
},
{
"cmd": [
"cipd",
"ensure",
"-root",
"[CACHE]/cipd/infra/tools/bqupload/git_revision%3Ad85fe78f303c3e969f815121e17c8b08868039ef",
"-ensure-file",
"infra/tools/bqupload/${platform} git_revision:d85fe78f303c3e969f815121e17c8b08868039ef",
"-max-threads",
"0",
"-json-output",
"/path/to/tmp/json"
],
"env": {
"GOMA_TMP_DIR": "[CLEANUP]/goma",
"GOMA_USE_LOCAL": "False"
},
"infra_step": true,
"name": "build.teardown goma.install infra/tools/bqupload.ensure_installed",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@3@@@",
"@@@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:d85\", @@@",
"@@@STEP_LOG_LINE@json.output@ \"package\": \"infra/tools/bqupload/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/bqupload/git_revision%3Ad85fe78f303c3e969f815121e17c8b08868039ef/bqupload",
"fuchsia-infra.artifacts.builds_beta_goma",
"{\"build_info\": {\"build_id\": 8945511751514863184, \"builder\": \"builder\", \"time_stamp\": \"2012-05-14 12:53:21.500000\", \"time_stamp_int\": 1337000003000}}"
],
"env": {
"GOMA_TMP_DIR": "[CLEANUP]/goma",
"GOMA_USE_LOCAL": "False"
},
"name": "build.teardown goma.upload goma stats to bigquery",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"[START_DIR]/linux_sysroot/out/not-default/linux_x64/debroot",
"install",
"-out",
"[CLEANUP]/sysroot_tmp_1",
"[START_DIR]/linux_sysroot/tools/debroot/cmd/packages.lock"
],
"name": "generate sysroot"
},
{
"cmd": [],
"name": "cipd"
},
{
"cmd": [
"cipd",
"pkg-build",
"-pkg-def",
"{\"data\": [{\"dir\": \".\", \"exclude\": []}, {\"version_file\": \".versions/sysroot.cipd_version\"}], \"install_mode\": \"copy\", \"package\": \"fuchsia/third_party/sysroot/linux\", \"root\": \"[CLEANUP]/sysroot_tmp_1\"}",
"-out",
"[CLEANUP]/sysroot.cipd",
"-hash-algo",
"sha256",
"-json-output",
"/path/to/tmp/json"
],
"name": "cipd.build fuchsia/third_party/sysroot/linux",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@",
"@@@STEP_LOG_LINE@json.output@{@@@",
"@@@STEP_LOG_LINE@json.output@ \"result\": {@@@",
"@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"40-chars-fake-of-the-package-instance_id\", @@@",
"@@@STEP_LOG_LINE@json.output@ \"package\": \"fuchsia/third_party/sysroot/linux\"@@@",
"@@@STEP_LOG_LINE@json.output@ }@@@",
"@@@STEP_LOG_LINE@json.output@}@@@",
"@@@STEP_LOG_END@json.output@@@"
]
},
{
"cmd": [
"cipd",
"search",
"fuchsia/third_party/sysroot/linux",
"-tag",
"git_revision:2d72510e447ab60a9728aeea2362d8be2cbd7789",
"-json-output",
"/path/to/tmp/json"
],
"name": "cipd.cipd search fuchsia/third_party/sysroot/linux git_revision:2d72510e447ab60a9728aeea2362d8be2cbd7789",
"~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\": \"40-chars-fake-of-the-package-instance_id\", @@@",
"@@@STEP_LOG_LINE@json.output@ \"package\": \"fuchsia/third_party/sysroot/linux\"@@@",
"@@@STEP_LOG_LINE@json.output@ }@@@",
"@@@STEP_LOG_LINE@json.output@ ]@@@",
"@@@STEP_LOG_LINE@json.output@}@@@",
"@@@STEP_LOG_END@json.output@@@"
]
},
{
"cmd": [],
"name": "cipd.package is up-to-date",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"name": "$result"
}
]