File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -310,14 +310,19 @@ jobs:
310310 if (-not $pipeReady) {
311311 Write-Host "=== Named Pipe not found, checking process state ===" -ForegroundColor Red
312312 Write-Host "Process running: $(-not $bgProcess.HasExited)"
313+ Write-Host "Background pwsh PID: $($bgProcess.Id)"
313314
314- # Debug: List pipe-related files
315+ # Debug: List pipe-related files and sockets
315316 if (-not $IsWindows) {
316317 Write-Host "=== /tmp pipe files (PowerShell) ===" -ForegroundColor Yellow
317318 Get-ChildItem /tmp -Filter "CoreFxPipe_*" -ErrorAction SilentlyContinue | ForEach-Object { Write-Host $_.FullName }
318319 Write-Host "=== /tmp (native ls) ===" -ForegroundColor Yellow
319- bash -c "ls -la /tmp/ | grep -i 'corefx\|pipe\|mcp' || echo 'No matching files'"
320+ bash -c "ls -la /tmp/ | grep -i 'corefx\|pipe\|mcp\|communication ' || echo 'No matching files'"
320321 bash -c "ls -la /tmp/ | head -20"
322+ Write-Host "=== lsof for background pwsh ===" -ForegroundColor Yellow
323+ bash -c "lsof -p $($bgProcess.Id) 2>/dev/null | grep -i 'unix\|pipe\|socket' | head -20 || echo 'No sockets found'"
324+ Write-Host "=== All CoreFx sockets (find) ===" -ForegroundColor Yellow
325+ bash -c "find /tmp /var/folders -name '*CoreFx*' -o -name '*PowerShell*' 2>/dev/null | head -10 || echo 'None found'"
321326 }
322327
323328 # Kill process first, then read outputs
You can’t perform that action at this time.
0 commit comments