blob: 8f6e0e5fd6148a792274912b26a5a4e12e9decdc [file] [log] [blame]
[
{
"cmd": [],
"name": "checkout super"
},
{
"cmd": [],
"name": "checkout super.options",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@",
"@@@STEP_SUMMARY_TEXT@remote: \"https://pigweed.googlesource.com/super\"\nequivalent_remotes {\n remotes: \"https://pigweed.googlesource.com/pigweed/pigweed\"\n remotes: \"https://pigweed.googlesource.com/pigweed/equiv\"\n}\n@@@"
]
},
{
"cmd": [],
"name": "checkout super.options with defaults",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@",
"@@@STEP_SUMMARY_TEXT@remote: \"https://pigweed.googlesource.com/super\"\nmanifest_file: \"default.xml\"\nrepo_init_timeout_sec: 20\nrepo_sync_timeout_sec: 120\nnumber_of_attempts: 3\nsubmodule_timeout_sec: 600\nequivalent_remotes {\n remotes: \"https://pigweed.googlesource.com/pigweed/pigweed\"\n remotes: \"https://pigweed.googlesource.com/pigweed/equiv\"\n}\n@@@"
]
},
{
"cmd": [],
"name": "checkout super.not matching branch names",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [],
"name": "checkout super.cache",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@",
"@@@STEP_SUMMARY_TEXT@miss@@@"
]
},
{
"cmd": [
"vpython3",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"ensure-directory",
"--mode",
"0o777",
"[CACHE]/git"
],
"infra_step": true,
"name": "checkout super.cache.ensure git cache dir",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"vpython3",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"copy",
"",
"[CACHE]/git/.GUARD_FILE"
],
"infra_step": true,
"name": "checkout super.cache.write git cache guard file",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"vpython3",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"ensure-directory",
"--mode",
"0o777",
"[CACHE]/git/pigweed.googlesource.com-super"
],
"infra_step": true,
"name": "checkout super.cache.makedirs",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"git",
"init"
],
"cwd": "[CACHE]/git/pigweed.googlesource.com-super",
"infra_step": true,
"name": "checkout super.cache.git init",
"timeout": 300.0,
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"git",
"config",
"remote.origin.url",
"https://pigweed.googlesource.com/super"
],
"cwd": "[CACHE]/git/pigweed.googlesource.com-super",
"infra_step": true,
"name": "checkout super.cache.remote set-url",
"timeout": 300.0,
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"git",
"config",
"fetch.uriprotocols",
"https"
],
"cwd": "[CACHE]/git/pigweed.googlesource.com-super",
"infra_step": true,
"name": "checkout super.cache.enable packfiles",
"timeout": 300.0,
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [],
"name": "checkout super.cache.timeout 10s",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"git",
"fetch",
"--prune",
"--tags",
"--jobs",
"4",
"origin",
"--no-recurse-submodules"
],
"cwd": "[CACHE]/git/pigweed.googlesource.com-super",
"infra_step": true,
"name": "checkout super.cache.git fetch",
"timeout": 1200.0,
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"git",
"merge",
"FETCH_HEAD"
],
"cwd": "[CACHE]/git/pigweed.googlesource.com-super",
"infra_step": true,
"name": "checkout super.cache.git merge",
"timeout": 600.0,
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [],
"name": "checkout super.cache.timeout 10s (2)",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"git",
"submodule",
"update",
"--recursive",
"--force",
"--jobs",
"4"
],
"cwd": "[CACHE]/git/pigweed.googlesource.com-super",
"infra_step": true,
"name": "checkout super.cache.git submodule update",
"timeout": 600,
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"vpython3",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"remove",
"[CACHE]/git/.GUARD_FILE"
],
"infra_step": true,
"name": "checkout super.cache.remove git cache guard file",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"vpython3",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"copytree",
"--symlinks",
"[CACHE]/git/pigweed.googlesource.com-super",
"[START_DIR]/co"
],
"infra_step": true,
"name": "checkout super.copy from cache",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [],
"name": "checkout super.git checkout",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [],
"name": "checkout super.git checkout.timeout 10s",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"vpython3",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"ensure-directory",
"--mode",
"0o777",
"[START_DIR]/co"
],
"infra_step": true,
"luci_context": {
"deadline": {
"grace_period": 30.0,
"soft_deadline": 1337000019.0
}
},
"name": "checkout super.git checkout.makedirs",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"git",
"init"
],
"cwd": "[START_DIR]/co",
"infra_step": true,
"name": "checkout super.git checkout.git init",
"timeout": 300.0,
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"git",
"remote",
"add",
"origin",
"https://pigweed.googlesource.com/super"
],
"cwd": "[START_DIR]/co",
"infra_step": true,
"name": "checkout super.git checkout.git remote",
"timeout": 600.0,
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"git",
"config",
"core.longpaths",
"true"
],
"cwd": "[START_DIR]/co",
"infra_step": true,
"name": "checkout super.git checkout.set core.longpaths",
"timeout": 300.0,
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"git",
"config",
"fetch.uriprotocols",
"https"
],
"cwd": "[START_DIR]/co",
"infra_step": true,
"name": "checkout super.git checkout.enable packfiles",
"timeout": 300.0,
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"git",
"fetch",
"--tags",
"--jobs",
"4",
"origin",
"main"
],
"cwd": "[START_DIR]/co",
"infra_step": true,
"name": "checkout super.git checkout.git fetch",
"timeout": 1200.0,
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"git",
"checkout",
"-f",
"FETCH_HEAD"
],
"cwd": "[START_DIR]/co",
"infra_step": true,
"name": "checkout super.git checkout.git checkout",
"timeout": 600.0,
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"git",
"rev-parse",
"HEAD"
],
"cwd": "[START_DIR]/co",
"infra_step": true,
"name": "checkout super.git checkout.git rev-parse",
"timeout": 300.0,
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"git",
"clean",
"-f",
"-d",
"-x"
],
"cwd": "[START_DIR]/co",
"infra_step": true,
"name": "checkout super.git checkout.git clean",
"timeout": 600.0,
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [],
"name": "checkout super.git log",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"git",
"log",
"--oneline",
"-n",
"10"
],
"cwd": "[START_DIR]/co",
"name": "checkout super.git log.[START_DIR]/co",
"timeout": 600.0,
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"git",
"clean",
"-f",
"-f",
"-d"
],
"cwd": "[START_DIR]/co",
"name": "checkout super.git clean",
"timeout": 600.0,
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"git",
"status"
],
"cwd": "[START_DIR]/co",
"name": "checkout super.git status",
"timeout": 600.0,
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"vpython3",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"ensure-directory",
"--mode",
"0o777",
"[START_DIR]/snapshot"
],
"infra_step": true,
"name": "checkout super.mkdir",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"git",
"submodule",
"status",
"--recursive"
],
"cwd": "[START_DIR]/co",
"name": "checkout super.submodule-status",
"timeout": 600.0,
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"vpython3",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"copy",
"submodule status filler text",
"[START_DIR]/snapshot/submodules.log"
],
"infra_step": true,
"name": "checkout super.write submodule snapshot",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@",
"@@@STEP_LOG_LINE@submodules.log@submodule status filler text@@@",
"@@@STEP_LOG_END@submodules.log@@@"
]
},
{
"cmd": [
"git",
"log",
"--oneline",
"-n",
"10"
],
"cwd": "[START_DIR]/co",
"name": "checkout super.log",
"timeout": 600.0,
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"vpython3",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"copy",
"",
"[START_DIR]/snapshot/git.log"
],
"infra_step": true,
"name": "checkout super.write git log",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@",
"@@@STEP_LOG_END@git.log@@@"
]
},
{
"cmd": [
"vpython3",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"copy",
"[START_DIR]/WORKSPACE",
"/path/to/tmp/"
],
"infra_step": true,
"name": "read old WORKSPACE",
"~followup_annotations": [
"@@@STEP_LOG_LINE@WORKSPACE@@@@",
"@@@STEP_LOG_LINE@WORKSPACE@git_repository(@@@",
"@@@STEP_LOG_LINE@WORKSPACE@ name = \"other-repo\"@@@",
"@@@STEP_LOG_LINE@WORKSPACE@ remote = \"https://pigweed.googlesource.com/other/repo.git\",@@@",
"@@@STEP_LOG_LINE@WORKSPACE@ commit = \"invalid commit line won't be found\",@@@",
"@@@STEP_LOG_LINE@WORKSPACE@)@@@",
"@@@STEP_LOG_LINE@WORKSPACE@@@@",
"@@@STEP_LOG_LINE@WORKSPACE@git_repository(@@@",
"@@@STEP_LOG_LINE@WORKSPACE@ module_name = \"pigweed\",@@@",
"@@@STEP_LOG_LINE@WORKSPACE@ # ROLL: Multiple@@@",
"@@@STEP_LOG_LINE@WORKSPACE@ # ROLL: roll@@@",
"@@@STEP_LOG_LINE@WORKSPACE@ # ROLL: comment@@@",
"@@@STEP_LOG_LINE@WORKSPACE@ # ROLL: lines!@@@",
"@@@STEP_LOG_LINE@WORKSPACE@ commit = \"1111111111111111111111111111111111111111\",@@@",
"@@@STEP_LOG_LINE@WORKSPACE@ remote = \"https://pigweed.googlesource.com/pigweed/pigweed.git\",@@@",
"@@@STEP_LOG_LINE@WORKSPACE@ git_repository_attribute_test = \"ignored\",@@@",
"@@@STEP_LOG_LINE@WORKSPACE@ strip_prefix = \"pw_toolchain_bazel\",@@@",
"@@@STEP_LOG_LINE@WORKSPACE@)@@@",
"@@@STEP_LOG_LINE@WORKSPACE@@@@",
"@@@STEP_LOG_LINE@WORKSPACE@git_repository(@@@",
"@@@STEP_LOG_LINE@WORKSPACE@ name = \"missing final quote/comma so will miss this line@@@",
"@@@STEP_LOG_LINE@WORKSPACE@ remote = \"https://pigweed.googlesource.com/third/repo.git\",@@@",
"@@@STEP_LOG_LINE@WORKSPACE@ commit = \"2222222222222222222222222222222222222222\",@@@",
"@@@STEP_LOG_LINE@WORKSPACE@)@@@",
"@@@STEP_LOG_END@WORKSPACE@@@"
]
},
{
"cmd": [],
"name": "found other remote 'https://pigweed.googlesource.com/other/repo.git'",
"~followup_annotations": [
"@@@STEP_LOG_LINE@lines@2 @@@",
"@@@STEP_LOG_LINE@lines@3 @@@",
"@@@STEP_LOG_LINE@lines@4 @@@",
"@@@STEP_LOG_LINE@lines@5 @@@",
"@@@STEP_LOG_LINE@lines@6 @@@",
"@@@STEP_LOG_LINE@lines@7 @@@",
"@@@STEP_LOG_LINE@lines@8 @@@",
"@@@STEP_LOG_LINE@lines@9 @@@",
"@@@STEP_LOG_LINE@lines@10 git_repository(@@@",
"@@@STEP_LOG_LINE@lines@11 name = \"other-repo\"@@@",
"@@@STEP_LOG_LINE@lines@12 remote = \"https://pigweed.googlesource.com/other/repo.git\",@@@",
"@@@STEP_LOG_LINE@lines@13 commit = \"invalid commit line won't be found\",@@@",
"@@@STEP_LOG_LINE@lines@14 )@@@",
"@@@STEP_LOG_LINE@lines@15 @@@",
"@@@STEP_LOG_LINE@lines@16 git_repository(@@@",
"@@@STEP_LOG_LINE@lines@17 module_name = \"pigweed\",@@@",
"@@@STEP_LOG_LINE@lines@18 # ROLL: Multiple@@@",
"@@@STEP_LOG_LINE@lines@19 # ROLL: roll@@@",
"@@@STEP_LOG_LINE@lines@20 # ROLL: comment@@@",
"@@@STEP_LOG_LINE@lines@21 # ROLL: lines!@@@",
"@@@STEP_LOG_LINE@lines@22 commit = \"1111111111111111111111111111111111111111\",@@@",
"@@@STEP_LOG_END@lines@@@"
]
},
{
"cmd": [],
"name": "found matching remote 'https://pigweed.googlesource.com/pigweed/pigweed.git'",
"~followup_annotations": [
"@@@STEP_LOG_LINE@lines@13 commit = \"invalid commit line won't be found\",@@@",
"@@@STEP_LOG_LINE@lines@14 )@@@",
"@@@STEP_LOG_LINE@lines@15 @@@",
"@@@STEP_LOG_LINE@lines@16 git_repository(@@@",
"@@@STEP_LOG_LINE@lines@17 module_name = \"pigweed\",@@@",
"@@@STEP_LOG_LINE@lines@18 # ROLL: Multiple@@@",
"@@@STEP_LOG_LINE@lines@19 # ROLL: roll@@@",
"@@@STEP_LOG_LINE@lines@20 # ROLL: comment@@@",
"@@@STEP_LOG_LINE@lines@21 # ROLL: lines!@@@",
"@@@STEP_LOG_LINE@lines@22 commit = \"1111111111111111111111111111111111111111\",@@@",
"@@@STEP_LOG_LINE@lines@23 remote = \"https://pigweed.googlesource.com/pigweed/pigweed.git\",@@@",
"@@@STEP_LOG_LINE@lines@24 git_repository_attribute_test = \"ignored\",@@@",
"@@@STEP_LOG_LINE@lines@25 strip_prefix = \"pw_toolchain_bazel\",@@@",
"@@@STEP_LOG_LINE@lines@26 )@@@",
"@@@STEP_LOG_LINE@lines@27 @@@",
"@@@STEP_LOG_LINE@lines@28 git_repository(@@@",
"@@@STEP_LOG_LINE@lines@29 name = \"missing final quote/comma so will miss this line@@@",
"@@@STEP_LOG_LINE@lines@30 remote = \"https://pigweed.googlesource.com/third/repo.git\",@@@",
"@@@STEP_LOG_LINE@lines@31 commit = \"2222222222222222222222222222222222222222\",@@@",
"@@@STEP_LOG_LINE@lines@32 )@@@",
"@@@STEP_LOG_LINE@lines@33 @@@",
"@@@STEP_LOG_END@lines@@@"
]
},
{
"cmd": [],
"name": "found other remote 'https://pigweed.googlesource.com/third/repo.git'",
"~followup_annotations": [
"@@@STEP_LOG_LINE@lines@20 # ROLL: comment@@@",
"@@@STEP_LOG_LINE@lines@21 # ROLL: lines!@@@",
"@@@STEP_LOG_LINE@lines@22 commit = \"1111111111111111111111111111111111111111\",@@@",
"@@@STEP_LOG_LINE@lines@23 remote = \"https://pigweed.googlesource.com/pigweed/pigweed\",@@@",
"@@@STEP_LOG_LINE@lines@24 git_repository_attribute_test = \"ignored\",@@@",
"@@@STEP_LOG_LINE@lines@25 strip_prefix = \"pw_toolchain_bazel\",@@@",
"@@@STEP_LOG_LINE@lines@26 )@@@",
"@@@STEP_LOG_LINE@lines@27 @@@",
"@@@STEP_LOG_LINE@lines@28 git_repository(@@@",
"@@@STEP_LOG_LINE@lines@29 name = \"missing final quote/comma so will miss this line@@@",
"@@@STEP_LOG_LINE@lines@30 remote = \"https://pigweed.googlesource.com/third/repo.git\",@@@",
"@@@STEP_LOG_LINE@lines@31 commit = \"2222222222222222222222222222222222222222\",@@@",
"@@@STEP_LOG_LINE@lines@32 )@@@",
"@@@STEP_LOG_LINE@lines@33 @@@",
"@@@STEP_LOG_LINE@lines@34 @@@",
"@@@STEP_LOG_LINE@lines@35 @@@",
"@@@STEP_LOG_LINE@lines@36 @@@",
"@@@STEP_LOG_LINE@lines@37 @@@",
"@@@STEP_LOG_LINE@lines@38 @@@",
"@@@STEP_LOG_LINE@lines@39 @@@",
"@@@STEP_LOG_LINE@lines@40 @@@",
"@@@STEP_LOG_END@lines@@@"
]
},
{
"cmd": [],
"name": "lines",
"~followup_annotations": [
"@@@STEP_LOG_LINE@0_center@23@@@",
"@@@STEP_LOG_END@0_center@@@",
"@@@STEP_LOG_LINE@1_orig@13 commit = \"invalid commit line won't be found\",@@@",
"@@@STEP_LOG_LINE@1_orig@14 )@@@",
"@@@STEP_LOG_LINE@1_orig@15 @@@",
"@@@STEP_LOG_LINE@1_orig@16 git_repository(@@@",
"@@@STEP_LOG_LINE@1_orig@17 module_name = \"pigweed\",@@@",
"@@@STEP_LOG_LINE@1_orig@18 # ROLL: Multiple@@@",
"@@@STEP_LOG_LINE@1_orig@19 # ROLL: roll@@@",
"@@@STEP_LOG_LINE@1_orig@20 # ROLL: comment@@@",
"@@@STEP_LOG_LINE@1_orig@21 # ROLL: lines!@@@",
"@@@STEP_LOG_LINE@1_orig@22 commit = \"1111111111111111111111111111111111111111\",@@@",
"@@@STEP_LOG_LINE@1_orig@23 remote = \"https://pigweed.googlesource.com/pigweed/pigweed\",@@@",
"@@@STEP_LOG_LINE@1_orig@24 git_repository_attribute_test = \"ignored\",@@@",
"@@@STEP_LOG_LINE@1_orig@25 strip_prefix = \"pw_toolchain_bazel\",@@@",
"@@@STEP_LOG_LINE@1_orig@26 )@@@",
"@@@STEP_LOG_LINE@1_orig@27 @@@",
"@@@STEP_LOG_LINE@1_orig@28 git_repository(@@@",
"@@@STEP_LOG_LINE@1_orig@29 name = \"missing final quote/comma so will miss this line@@@",
"@@@STEP_LOG_LINE@1_orig@30 remote = \"https://pigweed.googlesource.com/third/repo.git\",@@@",
"@@@STEP_LOG_LINE@1_orig@31 commit = \"2222222222222222222222222222222222222222\",@@@",
"@@@STEP_LOG_LINE@1_orig@32 )@@@",
"@@@STEP_LOG_LINE@1_orig@33 @@@",
"@@@STEP_LOG_END@1_orig@@@",
"@@@STEP_LOG_LINE@2_trimmed@15 @@@",
"@@@STEP_LOG_LINE@2_trimmed@16 git_repository(@@@",
"@@@STEP_LOG_LINE@2_trimmed@17 module_name = \"pigweed\",@@@",
"@@@STEP_LOG_LINE@2_trimmed@18 # ROLL: Multiple@@@",
"@@@STEP_LOG_LINE@2_trimmed@19 # ROLL: roll@@@",
"@@@STEP_LOG_LINE@2_trimmed@20 # ROLL: comment@@@",
"@@@STEP_LOG_LINE@2_trimmed@21 # ROLL: lines!@@@",
"@@@STEP_LOG_LINE@2_trimmed@22 commit = \"1111111111111111111111111111111111111111\",@@@",
"@@@STEP_LOG_LINE@2_trimmed@23 remote = \"https://pigweed.googlesource.com/pigweed/pigweed\",@@@",
"@@@STEP_LOG_LINE@2_trimmed@24 git_repository_attribute_test = \"ignored\",@@@",
"@@@STEP_LOG_LINE@2_trimmed@25 strip_prefix = \"pw_toolchain_bazel\",@@@",
"@@@STEP_LOG_LINE@2_trimmed@26 )@@@",
"@@@STEP_LOG_END@2_trimmed@@@",
"@@@STEP_LOG_LINE@3_sorted@23 remote = \"https://pigweed.googlesource.com/pigweed/pigweed\",@@@",
"@@@STEP_LOG_LINE@3_sorted@22 commit = \"1111111111111111111111111111111111111111\",@@@",
"@@@STEP_LOG_LINE@3_sorted@24 git_repository_attribute_test = \"ignored\",@@@",
"@@@STEP_LOG_LINE@3_sorted@21 # ROLL: lines!@@@",
"@@@STEP_LOG_LINE@3_sorted@25 strip_prefix = \"pw_toolchain_bazel\",@@@",
"@@@STEP_LOG_LINE@3_sorted@20 # ROLL: comment@@@",
"@@@STEP_LOG_LINE@3_sorted@26 )@@@",
"@@@STEP_LOG_LINE@3_sorted@19 # ROLL: roll@@@",
"@@@STEP_LOG_LINE@3_sorted@18 # ROLL: Multiple@@@",
"@@@STEP_LOG_LINE@3_sorted@17 module_name = \"pigweed\",@@@",
"@@@STEP_LOG_LINE@3_sorted@16 git_repository(@@@",
"@@@STEP_LOG_LINE@3_sorted@15 @@@",
"@@@STEP_LOG_END@3_sorted@@@"
]
},
{
"cmd": [
"vpython3",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"copy",
"git_repository(\n name = \"other-repo\"\n remote = \"https://pigweed.googlesource.com/other/repo.git\",\n commit = \"invalid commit line won't be found\",\n)\n\ngit_repository(\n module_name = \"pigweed\",\n # ROLL: Warning: this entry is automatically updated.\n # ROLL: Last updated 2012-05-14.\n # ROLL: By https://cr-buildbucket.appspot.com/build/0.\n commit = \"ffffffffffffffffffffffffffffffffffffffff\",\n remote = \"https://pigweed.googlesource.com/pigweed/pigweed\",\n git_repository_attribute_test = \"ignored\",\n strip_prefix = \"pw_toolchain_bazel\",\n)\n\ngit_repository(\n name = \"missing final quote/comma so will miss this line\n remote = \"https://pigweed.googlesource.com/third/repo.git\",\n commit = \"2222222222222222222222222222222222222222\",\n)\n",
"[START_DIR]/WORKSPACE"
],
"infra_step": true,
"name": "write new WORKSPACE",
"~followup_annotations": [
"@@@STEP_LOG_LINE@WORKSPACE@git_repository(@@@",
"@@@STEP_LOG_LINE@WORKSPACE@ name = \"other-repo\"@@@",
"@@@STEP_LOG_LINE@WORKSPACE@ remote = \"https://pigweed.googlesource.com/other/repo.git\",@@@",
"@@@STEP_LOG_LINE@WORKSPACE@ commit = \"invalid commit line won't be found\",@@@",
"@@@STEP_LOG_LINE@WORKSPACE@)@@@",
"@@@STEP_LOG_LINE@WORKSPACE@@@@",
"@@@STEP_LOG_LINE@WORKSPACE@git_repository(@@@",
"@@@STEP_LOG_LINE@WORKSPACE@ module_name = \"pigweed\",@@@",
"@@@STEP_LOG_LINE@WORKSPACE@ # ROLL: Warning: this entry is automatically updated.@@@",
"@@@STEP_LOG_LINE@WORKSPACE@ # ROLL: Last updated 2012-05-14.@@@",
"@@@STEP_LOG_LINE@WORKSPACE@ # ROLL: By https://cr-buildbucket.appspot.com/build/0.@@@",
"@@@STEP_LOG_LINE@WORKSPACE@ commit = \"ffffffffffffffffffffffffffffffffffffffff\",@@@",
"@@@STEP_LOG_LINE@WORKSPACE@ remote = \"https://pigweed.googlesource.com/pigweed/pigweed\",@@@",
"@@@STEP_LOG_LINE@WORKSPACE@ git_repository_attribute_test = \"ignored\",@@@",
"@@@STEP_LOG_LINE@WORKSPACE@ strip_prefix = \"pw_toolchain_bazel\",@@@",
"@@@STEP_LOG_LINE@WORKSPACE@)@@@",
"@@@STEP_LOG_LINE@WORKSPACE@@@@",
"@@@STEP_LOG_LINE@WORKSPACE@git_repository(@@@",
"@@@STEP_LOG_LINE@WORKSPACE@ name = \"missing final quote/comma so will miss this line@@@",
"@@@STEP_LOG_LINE@WORKSPACE@ remote = \"https://pigweed.googlesource.com/third/repo.git\",@@@",
"@@@STEP_LOG_LINE@WORKSPACE@ commit = \"2222222222222222222222222222222222222222\",@@@",
"@@@STEP_LOG_LINE@WORKSPACE@)@@@",
"@@@STEP_LOG_END@WORKSPACE@@@"
]
},
{
"cmd": [],
"name": "update result"
},
{
"cmd": [],
"name": "update result.old revision 1111111111111111111111111111111111111111",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [],
"name": "update result.project name pigweed",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"name": "$result"
}
]