blob: 0e066a31a5eb38a6bb5771c9e451902ea9fbed39 [file] [log] [blame]
[
{
"cmd": [],
"name": "checkout",
"~followup_annotations": [
"@@@SET_BUILD_PROPERTY@cached_revision@null@@@",
"@@@SET_BUILD_PROPERTY@checkout_info@{\"base_manifest_revision\": \"h3ll0\", \"manifest\": \"flower\", \"manifest_remote\": \"https://fuchsia.googlesource.com/integration\", \"patches\": []}@@@"
]
},
{
"cmd": [
"vpython",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"ensure-directory",
"--mode",
"0777",
"[START_DIR]/fuchsia"
],
"infra_step": true,
"luci_context": {
"realm": {
"name": "fuchsia:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "checkout.ensure checkout dir",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"git",
"ls-remote",
"--heads",
"https://fuchsia.googlesource.com/integration",
"main"
],
"cwd": "[START_DIR]/fuchsia",
"infra_step": true,
"luci_context": {
"realm": {
"name": "fuchsia:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "checkout.resolve head of 'main' branch",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [],
"name": "checkout.ensure jiri",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"vpython",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"copy",
"RECIPE_MODULE[fuchsia::jiri]/resources/tool_manifest.json",
"/path/to/tmp/json"
],
"cwd": "[START_DIR]/fuchsia",
"infra_step": true,
"luci_context": {
"realm": {
"name": "fuchsia:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "checkout.ensure jiri.read manifest",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@",
"@@@STEP_LOG_LINE@tool_manifest.json@{@@@",
"@@@STEP_LOG_LINE@tool_manifest.json@ \"path\": \"path/to/jiri\",@@@",
"@@@STEP_LOG_LINE@tool_manifest.json@ \"version\": \"version:pinned-version\"@@@",
"@@@STEP_LOG_LINE@tool_manifest.json@}@@@",
"@@@STEP_LOG_END@tool_manifest.json@@@"
]
},
{
"cmd": [],
"name": "checkout.ensure jiri.install path/to/jiri",
"~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",
"[START_DIR]/cipd_tool/path/to/jiri/version%3Apinned-version"
],
"cwd": "[START_DIR]/fuchsia",
"infra_step": true,
"luci_context": {
"realm": {
"name": "fuchsia:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "checkout.ensure jiri.install path/to/jiri.ensure package directory",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@3@@@"
]
},
{
"cmd": [
"cipd",
"ensure",
"-root",
"[START_DIR]/cipd_tool/path/to/jiri/version%3Apinned-version",
"-ensure-file",
"path/to/jiri version:pinned-version",
"-max-threads",
"0",
"-json-output",
"/path/to/tmp/json"
],
"cwd": "[START_DIR]/fuchsia",
"infra_step": true,
"luci_context": {
"realm": {
"name": "fuchsia:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "checkout.ensure jiri.install path/to/jiri.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-version:pinned-v\", @@@",
"@@@STEP_LOG_LINE@json.output@ \"package\": \"path/to/jiri\"@@@",
"@@@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": [
"[START_DIR]/cipd_tool/path/to/jiri/version%3Apinned-version/jiri",
"init",
"-vv",
"-time",
"-j=8",
"-analytics-opt=false",
"-rewrite-sso-to-https=true",
"-cache",
"[CACHE]/git",
"[START_DIR]/fuchsia"
],
"cwd": "[START_DIR]/fuchsia",
"infra_step": true,
"luci_context": {
"realm": {
"name": "fuchsia:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "checkout.jiri init",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"[START_DIR]/cipd_tool/path/to/jiri/version%3Apinned-version/jiri",
"import",
"-vv",
"-time",
"-j=8",
"-name",
"integration",
"-revision",
"h3ll0",
"flower",
"https://fuchsia.googlesource.com/integration"
],
"cwd": "[START_DIR]/fuchsia",
"infra_step": true,
"luci_context": {
"realm": {
"name": "fuchsia:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "checkout.jiri import",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"[START_DIR]/cipd_tool/path/to/jiri/version%3Apinned-version/jiri",
"override",
"-vv",
"-time",
"-j=8",
"-revision",
"2d72510e447ab60a9728aeea2362d8be2cbd7789",
"fuchsia",
"https://fuchsia.googlesource.com/fuchsia"
],
"cwd": "[START_DIR]/fuchsia",
"infra_step": true,
"luci_context": {
"realm": {
"name": "fuchsia:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"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]/fuchsia",
"infra_step": true,
"luci_context": {
"realm": {
"name": "fuchsia:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "checkout.write guard file",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"[START_DIR]/cipd_tool/path/to/jiri/version%3Apinned-version/jiri",
"update",
"-vv",
"-time",
"-j=8",
"-autoupdate=false",
"-attempts=1",
"-gc=true",
"-run-hooks=false",
"-fetch-packages=false"
],
"cwd": "[START_DIR]/fuchsia",
"infra_step": true,
"luci_context": {
"realm": {
"name": "fuchsia:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"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,
"luci_context": {
"realm": {
"name": "fuchsia:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "checkout.remove guard file",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"[START_DIR]/cipd_tool/path/to/jiri/version%3Apinned-version/jiri",
"run-hooks",
"-vv",
"-time",
"-j=8",
"-attempts=3",
"-hook-timeout=9"
],
"cwd": "[START_DIR]/fuchsia",
"env": {
"HOME": "[START_DIR]/fuchsia",
"INFRA_RECIPES": "1"
},
"infra_step": true,
"luci_context": {
"realm": {
"name": "fuchsia:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "checkout.jiri run-hooks",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"[START_DIR]/cipd_tool/path/to/jiri/version%3Apinned-version/jiri",
"project",
"-vv",
"-time",
"-j=8",
"-json-output",
"/path/to/tmp/json"
],
"cwd": "[START_DIR]/fuchsia",
"infra_step": true,
"luci_context": {
"realm": {
"name": "fuchsia:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "checkout.source-info",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@",
"@@@STEP_LOG_LINE@json.output@[]@@@",
"@@@STEP_LOG_END@json.output@@@"
]
},
{
"cmd": [
"[START_DIR]/cipd_tool/path/to/jiri/version%3Apinned-version/jiri",
"snapshot",
"-vv",
"-time",
"-j=8",
"[CLEANUP]/jiri_snapshot.xml"
],
"cwd": "[START_DIR]/fuchsia",
"infra_step": true,
"luci_context": {
"realm": {
"name": "fuchsia:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"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,
"luci_context": {
"realm": {
"name": "fuchsia:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "checkout.read snapshot",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@",
"@@@STEP_LOG_END@jiri_snapshot.xml@@@"
]
},
{
"cmd": [
"git",
"describe",
"--tags",
"--exact-match",
"2d72510e447ab60a9728aeea2362d8be2cbd7789"
],
"cwd": "[START_DIR]/fuchsia/integration",
"luci_context": {
"realm": {
"name": "fuchsia:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "ref to release version"
},
{
"cmd": [],
"name": "build",
"~followup_annotations": [
"@@@STEP_LOG_LINE@fint_params@field: \"value\"@@@",
"@@@STEP_LOG_END@fint_params@@@",
"@@@STEP_LOG_END@some_cmd_stdout@@@",
"@@@SET_BUILD_PROPERTY@fint_params@\"field: \\\"value\\\"\"@@@",
"@@@SET_BUILD_PROPERTY@fint_params_path@\"cts-artifacts.textproto\"@@@",
"@@@SET_BUILD_PROPERTY@ninja_duration_seconds@900@@@"
]
},
{
"cmd": [
"vpython",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"copy",
"[START_DIR]/fuchsia/cts-artifacts.textproto",
"/path/to/tmp/"
],
"infra_step": true,
"luci_context": {
"realm": {
"name": "fuchsia:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "build.read fint params",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@",
"@@@STEP_LOG_LINE@cts-artifacts.textproto@field: \"value\"@@@",
"@@@STEP_LOG_END@cts-artifacts.textproto@@@"
]
},
{
"cmd": [
"[START_DIR]/fuchsia/tools/integration/bootstrap.sh",
"-o",
"[CLEANUP]/fint_tmp_1/fint"
],
"cwd": "[START_DIR]/fuchsia",
"luci_context": {
"realm": {
"name": "fuchsia:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "build.bootstrap fint",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"[CLEANUP]/fint_tmp_1/fint",
"set",
"-static",
"[START_DIR]/fuchsia/cts-artifacts.textproto",
"-context",
"checkout_dir: \"[START_DIR]/fuchsia\"\nbuild_dir: \"[START_DIR]/fuchsia/out/not-default\"\nartifact_dir: \"[CLEANUP]/fint_artifacts_tmp_1\"\nsdk_id: \"5.20210102.3.1\"\ncache_dir: \"[CACHE]\"\ngoma_job_count: 80\n"
],
"cwd": "[START_DIR]/fuchsia",
"luci_context": {
"realm": {
"name": "fuchsia:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"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@sdk_id: \"5.20210102.3.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]/fuchsia",
"infra_step": true,
"luci_context": {
"realm": {
"name": "fuchsia:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "build.read fint set artifacts",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@",
"@@@STEP_LOG_LINE@set_artifacts.json@{@@@",
"@@@STEP_LOG_LINE@set_artifacts.json@ \"enable_rbe\": true,@@@",
"@@@STEP_LOG_LINE@set_artifacts.json@ \"gn_trace_path\": \"[CLEANUP]/fint_artifacts_tmp_1/mock-gn-trace.json\",@@@",
"@@@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\": [@@@",
"@@@STEP_LOG_LINE@set_artifacts.json@ \"asan\"@@@",
"@@@STEP_LOG_LINE@set_artifacts.json@ ]@@@",
"@@@STEP_LOG_LINE@set_artifacts.json@ },@@@",
"@@@STEP_LOG_LINE@set_artifacts.json@ \"use_goma\": true@@@",
"@@@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]/fuchsia/out/not-default/tool_paths.json",
"/path/to/tmp/"
],
"cwd": "[START_DIR]/fuchsia",
"infra_step": true,
"luci_context": {
"realm": {
"name": "fuchsia:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"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": [
"vpython",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"copy",
"[START_DIR]/fuchsia/out/not-default/tests.json",
"/path/to/tmp/"
],
"infra_step": true,
"luci_context": {
"realm": {
"name": "fuchsia:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "build.read tests.json",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@",
"@@@STEP_LOG_END@tests.json@@@"
]
},
{
"cmd": [
"vpython",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"copy",
"[START_DIR]/fuchsia/out/not-default/rbe_config.json",
"/path/to/tmp/"
],
"infra_step": true,
"luci_context": {
"realm": {
"name": "fuchsia:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "build.read rbe_config manifest",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@",
"@@@STEP_LOG_LINE@rbe_config.json@[@@@",
"@@@STEP_LOG_LINE@rbe_config.json@ {@@@",
"@@@STEP_LOG_LINE@rbe_config.json@ \"path\": \"../../path/to/rbe/config.cfg\"@@@",
"@@@STEP_LOG_LINE@rbe_config.json@ }@@@",
"@@@STEP_LOG_LINE@rbe_config.json@]@@@",
"@@@STEP_LOG_END@rbe_config.json@@@"
]
},
{
"cmd": [],
"name": "build.setup goma",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"python3",
"[START_DIR]/fuchsia/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]/fuchsia/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,
"luci_context": {
"realm": {
"name": "fuchsia:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "build.setup goma.start goma",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [],
"name": "build.setup remote execution",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"[START_DIR]/fuchsia/out/not-default/linux_x64/bootstrap",
"--re_proxy=[START_DIR]/fuchsia/out/not-default/linux_x64/reproxy",
"--cfg=[START_DIR]/fuchsia/path/to/rbe/config.cfg"
],
"env": {
"GOMA_TMP_DIR": "[CLEANUP]/goma",
"GOMA_USE_LOCAL": "False",
"RBE_deps_cache_dir": "[CACHE]/rbe/deps",
"RBE_instance": "",
"RBE_log_dir": "[CLEANUP]/rbe_tmp_1",
"RBE_log_format": "reducedtext",
"RBE_output_dir": "[CLEANUP]/rbe_tmp_1",
"RBE_proxy_log_dir": "[CLEANUP]/rbe_tmp_1",
"RBE_server_address": "unix://[CLEANUP]/rbe_tmp_1/reproxy.sock",
"RBE_use_application_default_credentials": "False",
"RBE_use_gce_credentials": "True"
},
"infra_step": true,
"luci_context": {
"realm": {
"name": "fuchsia:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "build.setup remote execution.start reproxy",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"[CLEANUP]/fint_tmp_1/fint",
"build",
"-static",
"[START_DIR]/fuchsia/cts-artifacts.textproto",
"-context",
"checkout_dir: \"[START_DIR]/fuchsia\"\nbuild_dir: \"[START_DIR]/fuchsia/out/not-default\"\nartifact_dir: \"[CLEANUP]/fint_artifacts_tmp_1\"\nsdk_id: \"5.20210102.3.1\"\ncache_dir: \"[CACHE]\"\ngoma_job_count: 80\n"
],
"env": {
"GOMA_TMP_DIR": "[CLEANUP]/goma",
"GOMA_USE_LOCAL": "False",
"RBE_deps_cache_dir": "[CACHE]/rbe/deps",
"RBE_instance": "",
"RBE_log_dir": "[CLEANUP]/rbe_tmp_1",
"RBE_log_format": "reducedtext",
"RBE_output_dir": "[CLEANUP]/rbe_tmp_1",
"RBE_proxy_log_dir": "[CLEANUP]/rbe_tmp_1",
"RBE_server_address": "unix://[CLEANUP]/rbe_tmp_1/reproxy.sock",
"RBE_use_application_default_credentials": "False",
"RBE_use_gce_credentials": "True"
},
"luci_context": {
"realm": {
"name": "fuchsia:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "build.ninja",
"timeout": 5400,
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@",
"@@@STEP_TEXT@run by `fint build`@@@",
"@@@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@sdk_id: \"5.20210102.3.1\"@@@",
"@@@STEP_LOG_LINE@context.textproto@cache_dir: \"[CACHE]\"@@@",
"@@@STEP_LOG_LINE@context.textproto@goma_job_count: 80@@@",
"@@@STEP_LOG_END@context.textproto@@@"
]
},
{
"cmd": [],
"name": "build.teardown remote execution",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"[START_DIR]/fuchsia/out/not-default/linux_x64/bootstrap",
"--shutdown",
"--cfg=[START_DIR]/fuchsia/path/to/rbe/config.cfg"
],
"env": {
"GOMA_TMP_DIR": "[CLEANUP]/goma",
"GOMA_USE_LOCAL": "False",
"RBE_deps_cache_dir": "[CACHE]/rbe/deps",
"RBE_instance": "",
"RBE_log_dir": "[CLEANUP]/rbe_tmp_1",
"RBE_log_format": "reducedtext",
"RBE_output_dir": "[CLEANUP]/rbe_tmp_1",
"RBE_proxy_log_dir": "[CLEANUP]/rbe_tmp_1",
"RBE_server_address": "unix://[CLEANUP]/rbe_tmp_1/reproxy.sock",
"RBE_use_application_default_credentials": "False",
"RBE_use_gce_credentials": "True"
},
"infra_step": true,
"luci_context": {
"realm": {
"name": "fuchsia:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "build.teardown remote execution.stop reproxy",
"~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]/rbe_tmp_1/bootstrap.WARNING",
"/path/to/tmp/"
],
"env": {
"GOMA_TMP_DIR": "[CLEANUP]/goma",
"GOMA_USE_LOCAL": "False",
"RBE_deps_cache_dir": "[CACHE]/rbe/deps",
"RBE_instance": "",
"RBE_log_dir": "[CLEANUP]/rbe_tmp_1",
"RBE_log_format": "reducedtext",
"RBE_output_dir": "[CLEANUP]/rbe_tmp_1",
"RBE_proxy_log_dir": "[CLEANUP]/rbe_tmp_1",
"RBE_server_address": "unix://[CLEANUP]/rbe_tmp_1/reproxy.sock",
"RBE_use_application_default_credentials": "False",
"RBE_use_gce_credentials": "True"
},
"infra_step": true,
"luci_context": {
"realm": {
"name": "fuchsia:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "build.teardown remote execution.read bootstrap_WARNING",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@",
"@@@STEP_LOG_LINE@bootstrap.WARNING@test log@@@",
"@@@STEP_LOG_END@bootstrap.WARNING@@@"
]
},
{
"cmd": [
"vpython",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"copy",
"[CLEANUP]/rbe_tmp_1/rbe_metrics.txt",
"/path/to/tmp/"
],
"env": {
"GOMA_TMP_DIR": "[CLEANUP]/goma",
"GOMA_USE_LOCAL": "False",
"RBE_deps_cache_dir": "[CACHE]/rbe/deps",
"RBE_instance": "",
"RBE_log_dir": "[CLEANUP]/rbe_tmp_1",
"RBE_log_format": "reducedtext",
"RBE_output_dir": "[CLEANUP]/rbe_tmp_1",
"RBE_proxy_log_dir": "[CLEANUP]/rbe_tmp_1",
"RBE_server_address": "unix://[CLEANUP]/rbe_tmp_1/reproxy.sock",
"RBE_use_application_default_credentials": "False",
"RBE_use_gce_credentials": "True"
},
"infra_step": true,
"luci_context": {
"realm": {
"name": "fuchsia:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "build.teardown remote execution.read rbe_metrics_txt",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@",
"@@@STEP_LOG_LINE@rbe_metrics.txt@test log@@@",
"@@@STEP_LOG_END@rbe_metrics.txt@@@"
]
},
{
"cmd": [
"vpython",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"copy",
"[CLEANUP]/rbe_tmp_1/reproxy.WARNING",
"/path/to/tmp/"
],
"env": {
"GOMA_TMP_DIR": "[CLEANUP]/goma",
"GOMA_USE_LOCAL": "False",
"RBE_deps_cache_dir": "[CACHE]/rbe/deps",
"RBE_instance": "",
"RBE_log_dir": "[CLEANUP]/rbe_tmp_1",
"RBE_log_format": "reducedtext",
"RBE_output_dir": "[CLEANUP]/rbe_tmp_1",
"RBE_proxy_log_dir": "[CLEANUP]/rbe_tmp_1",
"RBE_server_address": "unix://[CLEANUP]/rbe_tmp_1/reproxy.sock",
"RBE_use_application_default_credentials": "False",
"RBE_use_gce_credentials": "True"
},
"infra_step": true,
"luci_context": {
"realm": {
"name": "fuchsia:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "build.teardown remote execution.read reproxy_WARNING",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@",
"@@@STEP_LOG_LINE@reproxy.WARNING@test log@@@",
"@@@STEP_LOG_END@reproxy.WARNING@@@"
]
},
{
"cmd": [
"vpython",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"copy",
"[CLEANUP]/rbe_tmp_1/reproxy_outerr.log",
"/path/to/tmp/"
],
"env": {
"GOMA_TMP_DIR": "[CLEANUP]/goma",
"GOMA_USE_LOCAL": "False",
"RBE_deps_cache_dir": "[CACHE]/rbe/deps",
"RBE_instance": "",
"RBE_log_dir": "[CLEANUP]/rbe_tmp_1",
"RBE_log_format": "reducedtext",
"RBE_output_dir": "[CLEANUP]/rbe_tmp_1",
"RBE_proxy_log_dir": "[CLEANUP]/rbe_tmp_1",
"RBE_server_address": "unix://[CLEANUP]/rbe_tmp_1/reproxy.sock",
"RBE_use_application_default_credentials": "False",
"RBE_use_gce_credentials": "True"
},
"infra_step": true,
"luci_context": {
"realm": {
"name": "fuchsia:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "build.teardown remote execution.read reproxy_outerr_log",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@",
"@@@STEP_LOG_LINE@reproxy_outerr.log@test log@@@",
"@@@STEP_LOG_END@reproxy_outerr.log@@@"
]
},
{
"cmd": [
"vpython",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"copy",
"[CLEANUP]/rbe_tmp_1/rewrapper.WARNING",
"/path/to/tmp/"
],
"env": {
"GOMA_TMP_DIR": "[CLEANUP]/goma",
"GOMA_USE_LOCAL": "False",
"RBE_deps_cache_dir": "[CACHE]/rbe/deps",
"RBE_instance": "",
"RBE_log_dir": "[CLEANUP]/rbe_tmp_1",
"RBE_log_format": "reducedtext",
"RBE_output_dir": "[CLEANUP]/rbe_tmp_1",
"RBE_proxy_log_dir": "[CLEANUP]/rbe_tmp_1",
"RBE_server_address": "unix://[CLEANUP]/rbe_tmp_1/reproxy.sock",
"RBE_use_application_default_credentials": "False",
"RBE_use_gce_credentials": "True"
},
"infra_step": true,
"luci_context": {
"realm": {
"name": "fuchsia:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "build.teardown remote execution.read rewrapper_WARNING",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@",
"@@@STEP_LOG_LINE@rewrapper.WARNING@test log@@@",
"@@@STEP_LOG_END@rewrapper.WARNING@@@"
]
},
{
"cmd": [
"vpython",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"glob",
"[CLEANUP]/rbe_tmp_1",
"*.rrpl"
],
"env": {
"GOMA_TMP_DIR": "[CLEANUP]/goma",
"GOMA_USE_LOCAL": "False",
"RBE_deps_cache_dir": "[CACHE]/rbe/deps",
"RBE_instance": "",
"RBE_log_dir": "[CLEANUP]/rbe_tmp_1",
"RBE_log_format": "reducedtext",
"RBE_output_dir": "[CLEANUP]/rbe_tmp_1",
"RBE_proxy_log_dir": "[CLEANUP]/rbe_tmp_1",
"RBE_server_address": "unix://[CLEANUP]/rbe_tmp_1/reproxy.sock",
"RBE_use_application_default_credentials": "False",
"RBE_use_gce_credentials": "True"
},
"infra_step": true,
"luci_context": {
"realm": {
"name": "fuchsia:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "build.teardown remote execution.find rrpl files",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@",
"@@@STEP_LOG_LINE@glob@[CLEANUP]/rbe_tmp_1/reproxy_2021-10-16_22_52_23.rrpl@@@",
"@@@STEP_LOG_END@glob@@@"
]
},
{
"cmd": [
"vpython",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"copy",
"[CLEANUP]/rbe_tmp_1/reproxy_2021-10-16_22_52_23.rrpl",
"/path/to/tmp/"
],
"env": {
"GOMA_TMP_DIR": "[CLEANUP]/goma",
"GOMA_USE_LOCAL": "False",
"RBE_deps_cache_dir": "[CACHE]/rbe/deps",
"RBE_instance": "",
"RBE_log_dir": "[CLEANUP]/rbe_tmp_1",
"RBE_log_format": "reducedtext",
"RBE_output_dir": "[CLEANUP]/rbe_tmp_1",
"RBE_proxy_log_dir": "[CLEANUP]/rbe_tmp_1",
"RBE_server_address": "unix://[CLEANUP]/rbe_tmp_1/reproxy.sock",
"RBE_use_application_default_credentials": "False",
"RBE_use_gce_credentials": "True"
},
"infra_step": true,
"luci_context": {
"realm": {
"name": "fuchsia:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "build.teardown remote execution.read reproxy_2021-10-16_22_52_23_rrpl",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@",
"@@@STEP_LOG_LINE@reproxy_2021-10-16_22_52_23.rrpl@test log@@@",
"@@@STEP_LOG_END@reproxy_2021-10-16_22_52_23.rrpl@@@"
]
},
{
"cmd": [
"vpython",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"copy",
"[CLEANUP]/rbe_tmp_1/rbe_metrics.pb",
"/path/to/tmp/pb"
],
"env": {
"GOMA_TMP_DIR": "[CLEANUP]/goma",
"GOMA_USE_LOCAL": "False",
"RBE_deps_cache_dir": "[CACHE]/rbe/deps",
"RBE_instance": "",
"RBE_log_dir": "[CLEANUP]/rbe_tmp_1",
"RBE_log_format": "reducedtext",
"RBE_output_dir": "[CLEANUP]/rbe_tmp_1",
"RBE_proxy_log_dir": "[CLEANUP]/rbe_tmp_1",
"RBE_server_address": "unix://[CLEANUP]/rbe_tmp_1/reproxy.sock",
"RBE_use_application_default_credentials": "False",
"RBE_use_gce_credentials": "True"
},
"infra_step": true,
"luci_context": {
"realm": {
"name": "fuchsia:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "build.teardown remote execution.read rbe_metrics.pb",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@",
"@@@STEP_LOG_LINE@rbe_metrics.pb@environment {@@@",
"@@@STEP_LOG_LINE@rbe_metrics.pb@ key: \"bar\"@@@",
"@@@STEP_LOG_LINE@rbe_metrics.pb@ value: \"42\"@@@",
"@@@STEP_LOG_LINE@rbe_metrics.pb@}@@@",
"@@@STEP_LOG_LINE@rbe_metrics.pb@environment {@@@",
"@@@STEP_LOG_LINE@rbe_metrics.pb@ key: \"foo\"@@@",
"@@@STEP_LOG_LINE@rbe_metrics.pb@ value: \"false\"@@@",
"@@@STEP_LOG_LINE@rbe_metrics.pb@}@@@",
"@@@STEP_LOG_END@rbe_metrics.pb@@@"
]
},
{
"cmd": [],
"name": "build.teardown remote execution.ensure bqupload",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"vpython",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"copy",
"RECIPE_MODULE[fuchsia::bqupload]/resources/tool_manifest.json",
"/path/to/tmp/json"
],
"env": {
"GOMA_TMP_DIR": "[CLEANUP]/goma",
"GOMA_USE_LOCAL": "False",
"RBE_deps_cache_dir": "[CACHE]/rbe/deps",
"RBE_instance": "",
"RBE_log_dir": "[CLEANUP]/rbe_tmp_1",
"RBE_log_format": "reducedtext",
"RBE_output_dir": "[CLEANUP]/rbe_tmp_1",
"RBE_proxy_log_dir": "[CLEANUP]/rbe_tmp_1",
"RBE_server_address": "unix://[CLEANUP]/rbe_tmp_1/reproxy.sock",
"RBE_use_application_default_credentials": "False",
"RBE_use_gce_credentials": "True"
},
"infra_step": true,
"luci_context": {
"realm": {
"name": "fuchsia:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "build.teardown remote execution.ensure bqupload.read manifest",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@3@@@",
"@@@STEP_LOG_LINE@tool_manifest.json@{@@@",
"@@@STEP_LOG_LINE@tool_manifest.json@ \"path\": \"path/to/bqupload\",@@@",
"@@@STEP_LOG_LINE@tool_manifest.json@ \"version\": \"version:pinned-version\"@@@",
"@@@STEP_LOG_LINE@tool_manifest.json@}@@@",
"@@@STEP_LOG_END@tool_manifest.json@@@"
]
},
{
"cmd": [],
"name": "build.teardown remote execution.ensure bqupload.install path/to/bqupload",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@3@@@"
]
},
{
"cmd": [
"vpython",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"ensure-directory",
"--mode",
"0777",
"[START_DIR]/cipd_tool/path/to/bqupload/version%3Apinned-version"
],
"env": {
"GOMA_TMP_DIR": "[CLEANUP]/goma",
"GOMA_USE_LOCAL": "False",
"RBE_deps_cache_dir": "[CACHE]/rbe/deps",
"RBE_instance": "",
"RBE_log_dir": "[CLEANUP]/rbe_tmp_1",
"RBE_log_format": "reducedtext",
"RBE_output_dir": "[CLEANUP]/rbe_tmp_1",
"RBE_proxy_log_dir": "[CLEANUP]/rbe_tmp_1",
"RBE_server_address": "unix://[CLEANUP]/rbe_tmp_1/reproxy.sock",
"RBE_use_application_default_credentials": "False",
"RBE_use_gce_credentials": "True"
},
"infra_step": true,
"luci_context": {
"realm": {
"name": "fuchsia:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "build.teardown remote execution.ensure bqupload.install path/to/bqupload.ensure package directory",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@4@@@"
]
},
{
"cmd": [
"cipd",
"ensure",
"-root",
"[START_DIR]/cipd_tool/path/to/bqupload/version%3Apinned-version",
"-ensure-file",
"path/to/bqupload version:pinned-version",
"-max-threads",
"0",
"-json-output",
"/path/to/tmp/json"
],
"env": {
"GOMA_TMP_DIR": "[CLEANUP]/goma",
"GOMA_USE_LOCAL": "False",
"RBE_deps_cache_dir": "[CACHE]/rbe/deps",
"RBE_instance": "",
"RBE_log_dir": "[CLEANUP]/rbe_tmp_1",
"RBE_log_format": "reducedtext",
"RBE_output_dir": "[CLEANUP]/rbe_tmp_1",
"RBE_proxy_log_dir": "[CLEANUP]/rbe_tmp_1",
"RBE_server_address": "unix://[CLEANUP]/rbe_tmp_1/reproxy.sock",
"RBE_use_application_default_credentials": "False",
"RBE_use_gce_credentials": "True"
},
"infra_step": true,
"luci_context": {
"realm": {
"name": "fuchsia:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "build.teardown remote execution.ensure bqupload.install path/to/bqupload.ensure_installed",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@4@@@",
"@@@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:pinned-v\", @@@",
"@@@STEP_LOG_LINE@json.output@ \"package\": \"path/to/bqupload\"@@@",
"@@@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": [
"[START_DIR]/cipd_tool/path/to/bqupload/version%3Apinned-version/bqupload",
"fuchsia-engprod-metrics-prod.metrics.rbe_client_metrics",
"{\"build_id\": \"8945511751514863184\", \"builder_name\": \"builder\", \"created_at\": \"2012-05-14T12:53:21.500Z\", \"stats\": {\"environment\": [{\"key\": \"bar\", \"value\": \"42\"}, {\"key\": \"foo\", \"value\": \"false\"}]}}"
],
"env": {
"GOMA_TMP_DIR": "[CLEANUP]/goma",
"GOMA_USE_LOCAL": "False",
"RBE_deps_cache_dir": "[CACHE]/rbe/deps",
"RBE_instance": "",
"RBE_log_dir": "[CLEANUP]/rbe_tmp_1",
"RBE_log_format": "reducedtext",
"RBE_output_dir": "[CLEANUP]/rbe_tmp_1",
"RBE_proxy_log_dir": "[CLEANUP]/rbe_tmp_1",
"RBE_server_address": "unix://[CLEANUP]/rbe_tmp_1/reproxy.sock",
"RBE_use_application_default_credentials": "False",
"RBE_use_gce_credentials": "True"
},
"infra_step": true,
"luci_context": {
"realm": {
"name": "fuchsia:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "build.teardown remote execution.upload metrics",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@",
"@@@STEP_LOG_LINE@json.output@{@@@",
"@@@STEP_LOG_LINE@json.output@ \"environment\": [@@@",
"@@@STEP_LOG_LINE@json.output@ {@@@",
"@@@STEP_LOG_LINE@json.output@ \"key\": \"bar\", @@@",
"@@@STEP_LOG_LINE@json.output@ \"value\": \"42\"@@@",
"@@@STEP_LOG_LINE@json.output@ }, @@@",
"@@@STEP_LOG_LINE@json.output@ {@@@",
"@@@STEP_LOG_LINE@json.output@ \"key\": \"foo\", @@@",
"@@@STEP_LOG_LINE@json.output@ \"value\": \"false\"@@@",
"@@@STEP_LOG_LINE@json.output@ }@@@",
"@@@STEP_LOG_LINE@json.output@ ]@@@",
"@@@STEP_LOG_LINE@json.output@}@@@",
"@@@STEP_LOG_END@json.output@@@"
]
},
{
"cmd": [],
"name": "build.teardown goma",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"python3",
"[START_DIR]/fuchsia/out/not-default/linux_x64/goma_ctl.py",
"jsonstatus",
"[START_DIR]/fuchsia/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]/fuchsia/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"
},
"luci_context": {
"realm": {
"name": "fuchsia:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"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": [
"python3",
"[START_DIR]/fuchsia/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]/fuchsia/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"
},
"luci_context": {
"realm": {
"name": "fuchsia:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "build.teardown goma.goma stats",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"python3",
"[START_DIR]/fuchsia/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]/fuchsia/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"
},
"luci_context": {
"realm": {
"name": "fuchsia:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"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,
"luci_context": {
"realm": {
"name": "fuchsia:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"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]/fuchsia/out/not-default/linux_x64/goma_stats.json",
"/path/to/tmp/"
],
"env": {
"GOMA_TMP_DIR": "[CLEANUP]/goma",
"GOMA_USE_LOCAL": "False"
},
"infra_step": true,
"luci_context": {
"realm": {
"name": "fuchsia:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"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:23\", @@@",
"@@@STEP_LOG_LINE@json.output@ \"time_stamp_int\": 1337000004500@@@",
"@@@STEP_LOG_LINE@json.output@ }@@@",
"@@@STEP_LOG_LINE@json.output@}@@@",
"@@@STEP_LOG_END@json.output@@@"
]
},
{
"cmd": [
"[START_DIR]/cipd_tool/path/to/bqupload/version%3Apinned-version/bqupload",
"fuchsia-infra.artifacts.builds_beta_goma",
"{\"build_info\": {\"build_id\": 8945511751514863184, \"builder\": \"builder\", \"time_stamp\": \"2012-05-14 12:53:23\", \"time_stamp_int\": 1337000004500}}"
],
"env": {
"GOMA_TMP_DIR": "[CLEANUP]/goma",
"GOMA_USE_LOCAL": "False"
},
"luci_context": {
"realm": {
"name": "fuchsia:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "build.teardown goma.upload goma stats to bigquery",
"~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]/fint_artifacts_tmp_1/build_artifacts.json",
"/path/to/tmp/json"
],
"infra_step": true,
"luci_context": {
"realm": {
"name": "fuchsia:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "build.read fint build artifacts",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@",
"@@@STEP_LOG_LINE@build_artifacts.json@{@@@",
"@@@STEP_LOG_LINE@build_artifacts.json@ \"built_archives\": [@@@",
"@@@STEP_LOG_LINE@build_artifacts.json@ {@@@",
"@@@STEP_LOG_LINE@build_artifacts.json@ \"name\": \"archive\",@@@",
"@@@STEP_LOG_LINE@build_artifacts.json@ \"path\": \"build-archive.tgz\",@@@",
"@@@STEP_LOG_LINE@build_artifacts.json@ \"type\": \"tgz\"@@@",
"@@@STEP_LOG_LINE@build_artifacts.json@ }@@@",
"@@@STEP_LOG_LINE@build_artifacts.json@ ],@@@",
"@@@STEP_LOG_LINE@build_artifacts.json@ \"built_images\": [@@@",
"@@@STEP_LOG_LINE@build_artifacts.json@ {@@@",
"@@@STEP_LOG_LINE@build_artifacts.json@ \"name\": \"foo\",@@@",
"@@@STEP_LOG_LINE@build_artifacts.json@ \"path\": \"foo.img\",@@@",
"@@@STEP_LOG_LINE@build_artifacts.json@ \"type\": \"blk\"@@@",
"@@@STEP_LOG_LINE@build_artifacts.json@ }@@@",
"@@@STEP_LOG_LINE@build_artifacts.json@ ],@@@",
"@@@STEP_LOG_LINE@build_artifacts.json@ \"built_targets\": [@@@",
"@@@STEP_LOG_LINE@build_artifacts.json@ \"target1\",@@@",
"@@@STEP_LOG_LINE@build_artifacts.json@ \"target2\"@@@",
"@@@STEP_LOG_LINE@build_artifacts.json@ ],@@@",
"@@@STEP_LOG_LINE@build_artifacts.json@ \"log_files\": {@@@",
"@@@STEP_LOG_LINE@build_artifacts.json@ \"some_cmd_stdout\": \"/tmp/stdout.txt\"@@@",
"@@@STEP_LOG_LINE@build_artifacts.json@ },@@@",
"@@@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_LINE@build_artifacts.json@ \"ninja_graph_path\": \"/tmp/ninja_graph.dot\",@@@",
"@@@STEP_LOG_LINE@build_artifacts.json@ \"ninja_log_path\": \"/tmp/ninja_log.txt\"@@@",
"@@@STEP_LOG_LINE@build_artifacts.json@}@@@",
"@@@STEP_LOG_END@build_artifacts.json@@@"
]
},
{
"cmd": [],
"name": "build.read fint log files",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"vpython",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"copy",
"/tmp/stdout.txt",
"/path/to/tmp/"
],
"infra_step": true,
"luci_context": {
"realm": {
"name": "fuchsia:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "build.read fint log files.read stdout.txt",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"vpython",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"copy",
"[START_DIR]/fuchsia/out/not-default/cts_artifacts.json",
"/path/to/tmp/"
],
"infra_step": true,
"luci_context": {
"realm": {
"name": "fuchsia:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "read cts artifacts manifest",
"~followup_annotations": [
"@@@STEP_LOG_LINE@cts_artifacts.json@[@@@",
"@@@STEP_LOG_LINE@cts_artifacts.json@ \"foo.far\",@@@",
"@@@STEP_LOG_LINE@cts_artifacts.json@ \"bar.far\"@@@",
"@@@STEP_LOG_LINE@cts_artifacts.json@]@@@",
"@@@STEP_LOG_END@cts_artifacts.json@@@"
]
},
{
"cmd": [],
"name": "upload cts artifacts to cipd",
"~followup_annotations": [
"@@@SET_BUILD_PROPERTY@git_revision@\"2d72510e447ab60a9728aeea2362d8be2cbd7789\"@@@",
"@@@SET_BUILD_PROPERTY@instance_id@\"40-chars-fake-of-the-package-instance_id\"@@@",
"@@@SET_BUILD_PROPERTY@package@\"fuchsia/cts/{platform}\"@@@"
]
},
{
"cmd": [
"cipd",
"search",
"fuchsia/cts/{platform}",
"-tag",
"git_revision:2d72510e447ab60a9728aeea2362d8be2cbd7789",
"-json-output",
"/path/to/tmp/json"
],
"luci_context": {
"realm": {
"name": "fuchsia:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "upload cts artifacts to cipd.cipd search fuchsia/cts/{platform} 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_END@json.output@@@"
]
},
{
"cmd": [
"cipd",
"create",
"-pkg-def",
"{\"data\": [{\"file\": \"foo.far\"}, {\"file\": \"bar.far\"}, {\"version_file\": \".versions/cts.cipd_version\"}], \"install_mode\": \"copy\", \"package\": \"fuchsia/cts/{platform}\", \"root\": \"[START_DIR]/fuchsia/out/not-default\"}",
"-hash-algo",
"sha256",
"-ref",
"canary",
"-ref",
"latest",
"-tag",
"git_revision:2d72510e447ab60a9728aeea2362d8be2cbd7789",
"-metadata",
"bbid:8945511751514863184",
"-metadata",
"git_repository:https://fuchsia.googlesource.com/integration",
"-json-output",
"/path/to/tmp/json"
],
"luci_context": {
"realm": {
"name": "fuchsia:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "upload cts artifacts to cipd.create fuchsia/cts/{platform}",
"~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/cts/{platform}\"@@@",
"@@@STEP_LOG_LINE@json.output@ }@@@",
"@@@STEP_LOG_LINE@json.output@}@@@",
"@@@STEP_LOG_END@json.output@@@",
"@@@STEP_LINK@40-chars-fake-of-the-package-instance_id@https://chrome-infra-packages.appspot.com/p/fuchsia/cts/{platform}/+/40-chars-fake-of-the-package-instance_id@@@"
]
},
{
"name": "$result"
}
]