2026-11-10T10:48:27.100+00:00 +0.054587 MANIFEST {"id": "P13", "case": "four-504-W", "side": "after", "sha": "965b08b3060575186415df240c898a50c8736c5d", "environment": "Ubuntu 24.04.4 LTS Linux x86_64; kernel 6.8.0-117-generic; dash 0.5.12-6ubuntu5 or bash 5.2.21 --posix; curl 8.5.0; GNU wget 1.21.4; BusyBox 1.36.1; Node v26.12.1; PowerShell 7.4.6 Core on Linux (helpers only)", "selected": {"surface": "P", "shell": null, "transport": null, "path": null, "mech": "W", "pty": false}, "selected_transport_version": "curl 8.5.0", "command": "/tmp/lead-32913-r1/evidence-capture/powershell-7.4.6/pwsh -NoLogo -NoProfile -File /tmp/lead-32913-r1/evidence-capture/runs-20261110T104757.726561Z/P13-four-504-W/after/observe.ps1", "env": {"HOME": "/tmp/lead-32913-r1/evidence-capture/runs-20261110T104757.726561Z/P13-four-504-W/after/home", "T3CODE_HOME": "/tmp/lead-32913-r1/evidence-capture/runs-20261110T104757.726561Z/P13-four-504-W/after/home/t3", "T3CODE_INSTALL_BIN_DIR": "/tmp/lead-32913-r1/evidence-capture/runs-20261110T104757.726561Z/P13-four-504-W/after/bin", "TMPDIR": "/tmp/lead-32913-r1/evidence-capture/runs-20261110T104757.726561Z/P13-four-504-W/after/tmp", "TMP": "/tmp/lead-32913-r1/evidence-capture/runs-20261110T104757.726561Z/P13-four-504-W/after/tmp", "TEMP": "/tmp/lead-32913-r1/evidence-capture/runs-20261110T104757.726561Z/P13-four-504-W/after/tmp", "TERM": "dumb", "LANG": "C.UTF-8", "LC_ALL": "C.UTF-8", "NO_COLOR": "1", "CAPTURE_TRANSPORT": "/tmp/lead-32913-r1/evidence-capture/runs-20261110T104757.726561Z/P13-four-504-W/after/transport.jsonl", "T3CODE_VERSION": "1.2.3", "T3CODE_RELEASE_BASE_URL": "http://127.0.0.1:46779", "PROCESSOR_ARCHITECTURE": "AMD64", "DOTNET_CLI_HOME": "/tmp/lead-32913-r1/evidence-capture/runs-20261110T104757.726561Z/P13-four-504-W/after/home", "POWERSHELL_TELEMETRY_OPTOUT": "1", "PATH": "/tmp/lead-32913-r1/evidence-capture/runs-20261110T104757.726561Z/P13-four-504-W/after/path", "CAPTURE_STAGING": "/tmp/lead-32913-r1/evidence-capture/runs-20261110T104757.726561Z/P13-four-504-W/after/helper-staging", "CAPTURE_URL": "http://127.0.0.1:46779/v1.2.3/SHA256SUMS", "CAPTURE_DEST": "/tmp/lead-32913-r1/evidence-capture/runs-20261110T104757.726561Z/P13-four-504-W/after/downloaded", "CAPTURE_SCRIPT": "/tmp/lead-32913-r1/evidence-capture/runs-20261110T104757.726561Z/P13-four-504-W/after/install.ps1"}, "original_source_sha256": "d24dd0357bd107d3643aeeb1e80eaebf2cb8d84928a5bbed3682a9a6b491f92c", "executed_source_sha256": "aa8076c2bf4fcde619aefc9d508256184eb13363fd26b5cf0c299586cd5643e2", "transforms": ["Set-PSDebug -Trace 1 observes execution of exact helper source, including disposal and request commands", "verbatim prologue and helper slice; real-HTTP synthetic caller; discovery origins only remapped"], "steps": "Start fixture; run command; deliver terminal Ctrl-C only when specified precondition is observed; capture exit, requests, install state, tracked PIDs."}
2026-11-10T10:48:27.104+00:00 +0.058341 SPAWN {"pid": 614837, "pty": false, "stdin": "noninteractive"}
2026-11-10T10:48:27.387+00:00 +0.341223 OUTPUT "DEBUG:    2+  >>>> & $env:CAPTURE_SCRIPT\n\n"
2026-11-10T10:48:27.452+00:00 +0.405994 OUTPUT "DEBUG:   16+  >>>> $ErrorActionPreference = \"Stop\"\n\n"
2026-11-10T10:48:27.452+00:00 +0.406549 OUTPUT "DEBUG:   17+  >>>> [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12\n\n"
2026-11-10T10:48:27.463+00:00 +0.417525 OUTPUT "DEBUG:   19+  >>>> $repo = \"pingdotgg/t3code\"\n"
2026-11-10T10:48:27.464+00:00 +0.418868 OUTPUT "\nDEBUG:   20+  >>>> $baseUrl = if ($env:T3CODE_RELEASE_BASE_URL) { $env:T3CODE_RELEASE_BASE_URL.TrimEnd(\"/\") } else { \"http://127.0.0.1:46779/$repo/releases/download\" }\n"
2026-11-10T10:48:27.466+00:00 +0.420663 OUTPUT "\nDEBUG:   20+ $baseUrl = if ( >>>> $env:T3CODE_RELEASE_BASE_URL) { $env:T3CODE_RELEASE_BASE_URL.TrimEnd(\"/\") } else { \"http://127.0.0.1:46779/$repo/releases/download\" }\n\n"
2026-11-10T10:48:27.467+00:00 +0.421880 OUTPUT "DEBUG:   20+ $baseUrl = if ($env:T3CODE_RELEASE_BASE_URL) {  >>>> $env:T3CODE_RELEASE_BASE_URL.TrimEnd(\"/\") } else { \"http://127.0.0.1:46779/$repo/releases/download\" }\n"
2026-11-10T10:48:27.468+00:00 +0.421957 OUTPUT "\n"
2026-11-10T10:48:27.476+00:00 +0.430151 OUTPUT "DEBUG:   21+  >>>> $t3Home = if ($env:T3CODE_HOME) { $env:T3CODE_HOME } else { Join-Path $HOME \".t3\" }\n\n"
2026-11-10T10:48:27.480+00:00 +0.433964 OUTPUT "DEBUG:   21+ $t3Home = if ( >>>> $env:T3CODE_HOME) { $env:T3CODE_HOME } else { Join-Path $HOME \".t3\" }\n\nDEBUG:   21+ $t3Home = if ($env:T3CODE_HOME) {  >>>> $env:T3CODE_HOME } else { Join-Path $HOME \".t3\" }\n\nDEBUG:   22+  >>>> $binDir = if ($env:T3CODE_INSTALL_BIN_DIR) { $env:T3CODE_INSTALL_BIN_DIR } else { Join-Path $HOME \".local\\bin\" }\n\nDEBUG:   22+ $binDir = if ( >>>> $env:T3CODE_INSTALL_BIN_DIR) { $env:T3CODE_INSTALL_BIN_DIR } else { Join-Path $HOME \".local\\bin\" }\n\nDEBUG:   22+ $binDir = if ($env:T3CODE_INSTALL_BIN_DIR) {  >>>> $env:T3CODE_INSTALL_BIN_DIR } else { Join-Path $HOME \".local\\bin\" }\n\nDEBUG:   24+  >>>> $binDir = $ExecutionContext.SessionState.Path.GetUnresolvedProviderPathFromPSPath($binDir)\n\n"
2026-11-10T10:48:27.484+00:00 +0.439550 OUTPUT "DEBUG:   31+  >>>> $terminal = -not [Console]::IsErrorRedirected -and $env:TERM -ne \"dumb\"\n"
2026-11-10T10:48:27.485+00:00 +0.439913 OUTPUT "\n"
2026-11-10T10:48:27.492+00:00 +0.446319 OUTPUT "DEBUG:   32+  >>>> $interactive = $terminal -and $Host.UI.SupportsVirtualTerminal\n\n"
2026-11-10T10:48:27.494+00:00 +0.448526 OUTPUT "DEBUG:   33+ if ( >>>> $interactive) {\n\nDEBUG:   39+  >>>> $esc = [char]27\n\nDEBUG:   40+  >>>> $reset = $bold = $muted = $accent = $green = \"\"\n\nDEBUG:   40+ $reset =  >>>> $bold = $muted = $accent = $green = \"\"\n\nDEBUG:   40+ $reset = $bold =  >>>> $muted = $accent = $green = \"\"\n\n"
2026-11-10T10:48:27.495+00:00 +0.449977 OUTPUT "DEBUG:   40+ $reset = $bold = $muted =  >>>> $accent = $green = \"\"\n\nDEBUG:   40+ $reset = $bold = $muted = $accent =  >>>> $green = \"\"\n\nDEBUG:   41+ if ( >>>> $interactive -and -not $env:NO_COLOR) {\n\n"
2026-11-10T10:48:27.497+00:00 +0.450992 OUTPUT "DEBUG:  120+  >>>> [Console]::Error.WriteLine(\"CAPTURE_DISPATCH terminal=$terminal interactive=$interactive mechanism=W encoding=$([Console]::Error.Encoding.WebName)\")\n\n"
2026-11-10T10:48:27.498+00:00 +0.452014 OUTPUT "DEBUG:  120+ [Console]::Error.WriteLine(\"CAPTURE_DISPATCH terminal=$terminal interactive=$interactive mechanism=W encoding=$( >>>> [Console]::Error.Encoding.WebName)\")\n"
2026-11-10T10:48:27.500+00:00 +0.454936 OUTPUT "\n"
2026-11-10T10:48:27.509+00:00 +0.463332 OUTPUT "CAPTURE_DISPATCH terminal=False interactive=False mechanism=W encoding=utf-8\n"
2026-11-10T10:48:27.510+00:00 +0.464858 OUTPUT "DEBUG:  122+  >>>> Fetch $env:CAPTURE_URL $env:CAPTURE_DEST\n"
2026-11-10T10:48:27.511+00:00 +0.464988 OUTPUT "\n"
2026-11-10T10:48:27.541+00:00 +0.495627 OUTPUT "DEBUG:   80+ function Fetch([string] $uri, [string] $destination, [switch] $progress)  >>>> {\n\nDEBUG:   81+   if ( >>>> -not $progress -or -not $interactive) {\n\n"
2026-11-10T10:48:27.543+00:00 +0.497303 OUTPUT "DEBUG:   82+      >>>> $ProgressPreference = if ($progress -and $terminal) { \"Continue\" } else { \"SilentlyContinue\" }\n"
2026-11-10T10:48:27.545+00:00 +0.499121 OUTPUT "\nDEBUG:   82+     $ProgressPreference = if ( >>>> $progress -and $terminal) { \"Continue\" } else { \"SilentlyContinue\" }\n\n"
2026-11-10T10:48:27.548+00:00 +0.502197 OUTPUT "DEBUG:   82+     $ProgressPreference = if ($progress -and $terminal) { \"Continue\" } else {  >>>> \"SilentlyContinue\" }\n\nDEBUG:   83+      >>>> Invoke-Retrying { Invoke-WebRequest -Uri $uri -OutFile $destination -UseBasicParsing }\n\n"
2026-11-10T10:48:27.554+00:00 +0.508467 OUTPUT "DEBUG:   74+ function Invoke-Retrying([scriptblock] $request)  >>>> {\n"
2026-11-10T10:48:27.555+00:00 +0.509498 OUTPUT "\nDEBUG:   75+   for ( >>>> $attempt = 1; ; $attempt++) {\n\nDEBUG:   76+     try { return  >>>> & $request }\n\n"
2026-11-10T10:48:27.557+00:00 +0.511585 OUTPUT "DEBUG:   83+     Invoke-Retrying  >>>> { Invoke-WebRequest -Uri $uri -OutFile $destination -UseBasicParsing }\n\nDEBUG:   83+     Invoke-Retrying {  >>>> Invoke-WebRequest -Uri $uri -OutFile $destination -UseBasicParsing }\n\n"
2026-11-10T10:48:27.734+00:00 +0.688632 SERVER {"request_t": 0.686224, "event": "request", "path": "/v1.2.3/SHA256SUMS", "endpoint": "sums", "attempt": 1, "status": 504, "behavior": 504, "accept": null}
2026-11-10T10:48:27.737+00:00 +0.691538 SERVER {"event": "body_complete", "endpoint": "sums", "bytes": 19}
2026-11-10T10:48:27.741+00:00 +0.695178 SERVER {"event": "request_handler_end", "endpoint": "sums"}
2026-11-10T10:48:27.823+00:00 +0.777399 OUTPUT "DEBUG:   77+     catch { if ( >>>> -not (Wait-Retry ([int]$_.Exception.Response.StatusCode) $attempt)) { throw } }\n\n"
2026-11-10T10:48:27.831+00:00 +0.785373 OUTPUT "DEBUG:   69+ function Wait-Retry([int] $status, [int] $attempt)  >>>> {\n\nDEBUG:   70+   if ( >>>> $attempt -ge 4 -or ($status -ge 400 -and $status -lt 500 -and $status -ne 408 -and $status -ne 429)) { return $false }\n\n"
2026-11-10T10:48:27.839+00:00 +0.793321 OUTPUT "DEBUG:   71+    >>>> Start-Sleep -Seconds ([Math]::Pow(2, $attempt - 1))\n\n"
2026-11-10T10:48:28.842+00:00 +1.796223 OUTPUT "DEBUG:   72+   return  >>>> $true\n\nDEBUG:   73+  >>>> }\n\n"
2026-11-10T10:48:28.845+00:00 +1.799211 OUTPUT "DEBUG:   75+   for ($attempt = 1; ;  >>>> $attempt++) {\n\n"
2026-11-10T10:48:28.850+00:00 +1.804547 OUTPUT "DEBUG:   76+     try { return  >>>> & $request }\n\nDEBUG:   83+     Invoke-Retrying  >>>> { Invoke-WebRequest -Uri $uri -OutFile $destination -UseBasicParsing }\n\n"
2026-11-10T10:48:28.854+00:00 +1.808178 OUTPUT "DEBUG:   83+     Invoke-Retrying {  >>>> Invoke-WebRequest -Uri $uri -OutFile $destination -UseBasicParsing }\n\n"
2026-11-10T10:48:28.859+00:00 +1.813821 SERVER {"request_t": 1.811391, "event": "request", "path": "/v1.2.3/SHA256SUMS", "endpoint": "sums", "attempt": 2, "status": 504, "behavior": 504, "accept": null}
2026-11-10T10:48:28.861+00:00 +1.815046 SERVER {"event": "body_complete", "endpoint": "sums", "bytes": 19}
2026-11-10T10:48:28.861+00:00 +1.815132 SERVER {"event": "request_handler_end", "endpoint": "sums"}
2026-11-10T10:48:28.870+00:00 +1.824034 OUTPUT "DEBUG:   77+     catch { if ( >>>> -not (Wait-Retry ([int]$_.Exception.Response.StatusCode) $attempt)) { throw } }\n"
2026-11-10T10:48:28.871+00:00 +1.825139 OUTPUT "\n"
2026-11-10T10:48:28.872+00:00 +1.826073 OUTPUT "DEBUG:   69+ function Wait-Retry([int] $status, [int] $attempt)  >>>> {\n\nDEBUG:   70+   if ( >>>> $attempt -ge 4 -or ($status -ge 400 -and $status -lt 500 -and $status -ne 408 -and $status -ne 429)) { return $false }\n\n"
2026-11-10T10:48:28.873+00:00 +1.827062 OUTPUT "DEBUG:   71+    >>>> Start-Sleep -Seconds ([Math]::Pow(2, $attempt - 1))\n\n"
2026-11-10T10:48:30.874+00:00 +3.828256 OUTPUT "DEBUG:   72+   return  >>>> $true\n\n"
2026-11-10T10:48:30.874+00:00 +3.828470 OUTPUT "DEBUG:   73+  >>>> }\n\n"
2026-11-10T10:48:30.874+00:00 +3.828492 OUTPUT "DEBUG:   75+   for ($attempt = 1; ;  >>>> $attempt++) {\n\n"
2026-11-10T10:48:30.875+00:00 +3.829407 OUTPUT "DEBUG:   76+     try { return  >>>> & $request }\n\nDEBUG:   83+     Invoke-Retrying  >>>> { Invoke-WebRequest -Uri $uri -OutFile $destination -UseBasicParsing }\n\nDEBUG:   83+     Invoke-Retrying {  >>>> Invoke-WebRequest -Uri $uri -OutFile $destination -UseBasicParsing }\n\n"
2026-11-10T10:48:30.879+00:00 +3.832992 SERVER {"request_t": 3.83058, "event": "request", "path": "/v1.2.3/SHA256SUMS", "endpoint": "sums", "attempt": 3, "status": 504, "behavior": 504, "accept": null}
2026-11-10T10:48:30.879+00:00 +3.833587 SERVER {"event": "body_complete", "endpoint": "sums", "bytes": 19}
2026-11-10T10:48:30.880+00:00 +3.834185 SERVER {"event": "request_handler_end", "endpoint": "sums"}
2026-11-10T10:48:30.885+00:00 +3.839715 OUTPUT "DEBUG:   77+     catch { if ( >>>> -not (Wait-Retry ([int]$_.Exception.Response.StatusCode) $attempt)) { throw } }\n\nDEBUG:   69+ function Wait-Retry([int] $status, [int] $attempt)  >>>> {\n\nDEBUG:   70+   if ( >>>> $attempt -ge 4 -or ($status -ge 400 -and $status -lt 500 -and $status -ne 408 -and $status -ne 429)) { return $false }\n\nDEBUG:   71+    >>>> Start-Sleep -Seconds ([Math]::Pow(2, $attempt - 1))\n\n"
2026-11-10T10:48:34.891+00:00 +7.845189 OUTPUT "DEBUG:   72+   return  >>>> $true\n\nDEBUG:   73+  >>>> }\n\nDEBUG:   75+   for ($attempt = 1; ;  >>>> $attempt++) {\n\nDEBUG:   76+     try { return  >>>> & $request }\n\nDEBUG:   83+     Invoke-Retrying  >>>> { Invoke-WebRequest -Uri $uri -OutFile $destination -UseBasicParsing }\n"
2026-11-10T10:48:34.891+00:00 +7.845464 OUTPUT "\n"
2026-11-10T10:48:34.891+00:00 +7.845587 OUTPUT "DEBUG:   83+     Invoke-Retrying {  >>>> Invoke-WebRequest -Uri $uri -OutFile $destination -UseBasicParsing }\n"
2026-11-10T10:48:34.891+00:00 +7.845652 OUTPUT "\n"
2026-11-10T10:48:34.904+00:00 +7.858821 SERVER {"request_t": 7.856386, "event": "request", "path": "/v1.2.3/SHA256SUMS", "endpoint": "sums", "attempt": 4, "status": 504, "behavior": 504, "accept": null}
2026-11-10T10:48:34.905+00:00 +7.859690 SERVER {"event": "body_complete", "endpoint": "sums", "bytes": 19}
2026-11-10T10:48:34.906+00:00 +7.860204 SERVER {"event": "request_handler_end", "endpoint": "sums"}
2026-11-10T10:48:34.911+00:00 +7.865680 OUTPUT "DEBUG:   77+     catch { if ( >>>> -not (Wait-Retry ([int]$_.Exception.Response.StatusCode) $attempt)) { throw } }\n"
2026-11-10T10:48:34.921+00:00 +7.875205 OUTPUT "\nDEBUG:   69+ function Wait-Retry([int] $status, [int] $attempt)  >>>> {\n\nDEBUG:   70+   if ( >>>> $attempt -ge 4 -or ($status -ge 400 -and $status -lt 500 -and $status -ne 408 -and $status -ne 429)) { return $false }\n\nDEBUG:   70+   if ($attempt -ge 4 -or ($status -ge 400 -and $status -lt 500 -and $status -ne 408 -and $status -ne 429)) { return  >>>> $false }\n\nDEBUG:   73+  >>>> }\n\nDEBUG:   77+     catch { if (-not (Wait-Retry ([int]$_.Exception.Response.StatusCode) $attempt)) {  >>>> throw } }\n\nDEBUG:  127+    >>>> [Console]::Error.WriteLine(\"EXCEPTION_TYPE=$($_.Exception.GetType().FullName)\")\n\nDEBUG:  127+   [Console]::Error.WriteLine(\"EXCEPTION_TYPE=$( >>>> $_.Exception.GetType().FullName)\")\n\n"
2026-11-10T10:48:34.928+00:00 +7.882581 OUTPUT "EXCEPTION_TYPE=Microsoft.PowerShell.Commands.HttpResponseException\nDEBUG:  128+    >>>> [Console]::Error.WriteLine(\"ORIGINAL_STATUS=$([int]$_.Exception.Response.StatusCode)\")\n\nDEBUG:  128+   [Console]::Error.WriteLine(\"ORIGINAL_STATUS=$( >>>> [int]$_.Exception.Response.StatusCode)\")\n\nORIGINAL_STATUS=504\nDEBUG:  129+    >>>> [Console]::Error.WriteLine(\"STATUS_VALUE=$($_.Exception.Response.StatusCode.value__)\")\n\nDEBUG:  129+   [Console]::Error.WriteLine(\"STATUS_VALUE=$( >>>> $_.Exception.Response.StatusCode.value__)\")\n\n"
2026-11-10T10:48:34.931+00:00 +7.885057 OUTPUT "STATUS_VALUE=504\n"
2026-11-10T10:48:34.931+00:00 +7.885933 OUTPUT "DEBUG:  130+    >>>> [Console]::Error.WriteLine(\"EXCEPTION=$($_.Exception.Message)\")\n\nDEBUG:  130+   [Console]::Error.WriteLine(\"EXCEPTION=$( >>>> $_.Exception.Message)\")\n\n"
2026-11-10T10:48:34.934+00:00 +7.888856 OUTPUT "EXCEPTION=Response status code does not indicate success: 504 (Gateway Timeout).\nDEBUG:  131+    >>>> throw\n\n"
2026-11-10T10:48:34.935+00:00 +7.889739 OUTPUT "DEBUG:  132+ } finally {  >>>> [Console]::Error.WriteLine(\"CAPTURE_CALLER_FINALLY\") }\n\n"
2026-11-10T10:48:34.937+00:00 +7.891286 OUTPUT "CAPTURE_CALLER_FINALLY\n"
2026-11-10T10:48:35.180+00:00 +8.134549 OUTPUT "Invoke-WebRequest: /tmp/lead-32913-r1/evidence-capture/runs-20261110T104757.726561Z/P13-four-504-W/after/install.ps1:83\nLine |\n  83 |  … -Retrying { Invoke-WebRequest -Uri $uri -OutFile $destination -UseBas …\n     |                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n     | synthetic HTTP 504 \n"
2026-11-10T10:48:35.327+00:00 +8.281665 SERVER_STATE_BEFORE_DRIVER_CLEANUP {"active_handlers": 0}
2026-11-10T10:48:35.351+00:00 +8.305083 RESULT {"exit_code": 1, "elapsed_seconds": 8.281276, "requests": 4, "interrupt_sent": false, "timeout": false, "state": {"marker": false, "files": [{"path": "home/.cache/powershell/StartupProfileData-NonInteractive", "bytes": 99812, "symlink": null}], "helper_outputs": [], "staging": [], "sidecars": [], "tracked_downloader_pids": [], "remaining_tracked_downloaders": []}, "symlink_executable_check": null}
