[ci-scan] Test failure: NameConfigWithPid pipe is being closed on Windows
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 18/100
- Tipo di issue
- Bug
- Chiarezza
- Da chiarire
- Stato di attività
- Attiva
- Stack tecnologico
- csharp
- Ambito
- testing-qa
Direzione di ricerca
The failing test is tracing/eventpipe/config/name_config_with_pid, whose NameConfigWithPid.Main writes through a StreamWriter and fails in WriteLine with a pipe-closed IOException. Read the test source and the linked Helix console log to see which process owns the pipe and when it closes. Reproducing needs a Windows crossgen2 composite run of this test. Done would mean the test passes reliably there, which the issue does not establish is a simple fix.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Build Information
Build: https://dev.azure.com/dnceng-public/public/_build/results?buildId=1659123
Build error leg or test failing: Windows crossgen2 composite / no-tiered-compilation runtime tests-tracing/eventpipe/config/name_config_with_pid/name_config_with_pid
Pipeline: runtime-coreclr crossgen2 outerloop, definition 134, main.
Impacted OS/architectures: Windows 11 x64 and Windows Server 2016 x86.
Queues: windows.amd64.open.rt and windows.10.amd64.open.rt.
First build it occurred: https://dev.azure.com/dnceng-public/public/_build/results?buildId=1646416 (finished 2026-10-23; earliest verified in the sampled window, not an established introduction).
Follow-up build: https://dev.azure.com/dnceng-public/public/_build/results?buildId=1661208 (finished 2026-11-03), identical ordered exception and entry-point stack frame.
KBE authoring guidance (ci-failure-scan)
Error Detailsis for readers. Paste the full exception, stack trace, or build error excerpt so the failure is understandable without opening the raw log.- Build Analysis parses only the single JSON block under
Error Message. ErrorMessageis a case-sensitive ordinalString.Containssubstring copied verbatim from the failing log.- Set
BuildRetrytotrueonly for a clear infrastructure retry case.ExcludeConsoleLogdisables Helix console-log scanning.
Error Details
NameConfigWithPid.Main fails while flushing its pipe writer. The exact exception and entry-point frame below belong to the same contiguous failing-test stack. Child output also reports Stack overflow.; this scan does not establish a common cause with other tests that report stack overflow.
The ordered pair was verified in ten distinct source-and-prior builds: 1646416, 1647811, 1648274, 1648697, 1652131, 1653815, 1655529, 1657378, 1658441, and 1659123, and again in follow-up 1661208. Eleven source-and-prior build inventories were inspected. The true origin may predate 2026-10-23; the other sampled failed build does not establish that the affected test passed.
The same Windows x64 exception and ordered entry-point frame also reproduce in crossgen2-composite gcstress builds 1658528 and 1659304. They are covered by this single matcher rather than a second issue.
Running test: tracing/eventpipe/config/name_config_with_pid/name_config_with_pid.cmd
Unhandled exception. System.IO.IOException: The pipe is being closed.
at System.IO.RandomAccess.WriteAtOffset(SafeFileHandle handle, ReadOnlySpan`1 buffer, Int64 fileOffset)
at System.IO.RandomAccess.WriteAtOffset(SafeFileHandle handle, ReadOnlySpan`1 buffer, Int64& fileOffset)
at System.IO.Strategies.OSFileStreamStrategy.Write(Byte[] buffer, Int32 offset, Int32 count)
at System.IO.Strategies.BufferedFileStreamStrategy.FlushWrite()
at System.IO.Strategies.BufferedFileStreamStrategy.Flush(Boolean flushToDisk)
at System.IO.StreamWriter.Flush(Boolean flushStream, Boolean flushEncoder)
at System.IO.StreamWriter.WriteLine(String value)
at NameConfigWithPid.Main(String[] args)
Error Message
{
"ErrorMessage": [
"Unhandled exception. System.IO.IOException: The pipe is being closed.",
" at NameConfigWithPid.Main(String[] args)"
],
"ErrorPattern": "",
"BuildRetry": false,
"ExcludeConsoleLog": false
}
Agentic workflow metadata (ci-failure-scan)
Workflow artifact: ci-failure-scan
Artifact kind: kbe-verification
Verified match count: 2 hits in failure.log
Both elements match twice, in order, within the failing test's exception output. Repeated direct/harness output is not counted as another build occurrence. No passing or skipped matches were found. Both ordered elements also match all three affected source consoles and all three selected follow-up consoles, plus the two crossgen2-composite gcstress consoles.
Filed by ci-failure-scan (detection only). ci-failure-fix walks open [ci-scan] KBEs and either opens a small fix PR or comments here to loop in owners — it never disables the test.
[!NOTE]
Generated by GitHub Copilot.
Generated by CI Outer-Loop Failure Scanner · copilot · gpt61 · ~907 AIC · ⌖ ~13 AIC · ⊞ 33.3K · ◷
Report
| Build | Repository | Test | Pull Request |
|---|---|---|---|
| 1665289 | dotnet/runtime | OutOfProcessTest.tracing/eventpipe/config/name_config_with_pid/name_config_with_pid.cmd | |
| 1663236 | dotnet/runtime | OutOfProcessTest.tracing/eventpipe/rundownvalidation/rundownvalidation/rundownvalidation.cmd |
Summary
| 24-Hour Hit Count | 7-Day Hit Count | 1-Month Count |
|---|---|---|
| 1 | 2 | 2 |
- Lingua principale
- C#
- Stelle
- 18.4k
- Fork
- 5.8k
- Merge medio
- 2g 12h
- PR unite (30g)
- 581
Preparare l'ambiente
Avvia il container di sviluppo del progetto nel browser, con il tuo account GitHub.
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di dotnet/runtime
-
area-System.Collections untriaged
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
dotnet/runtime#137167 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Incorrect loop bound in SizeOptIListSelectIterator.ToListForse già presa @equmagg l’ha presa 2 giorni fa. Apertaarea-System.Collections untriaged
Difficoltà 2/5 1-3 ore Idoneità per principianti 64/100
dotnet/runtime#137126 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
DbTransaction.SupportsSavepoints docs say Release/ReleaseAsync are expected to throw, but they are no-ops by designForse già presa @alaricd l’ha presa 4 giorni fa. Apertaarea-System.Transactions untriaged
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
dotnet/runtime#137040 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
FileSystemGlobbing: Matcher throws ArgumentOutOfRangeException when the rootDir is the same value as the fileForse già presa @makazeu l’ha presa 4 giorni fa. Apertaarea-Extensions-FileSystem
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
dotnet/runtime#136989 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Configuration binder source generator emits unqualified List<T> when binding arrays without implicit usingsForse già presa @makazeu l’ha presa 4 giorni fa. Apertaarea-Extensions-Configuration bug source-generator
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
dotnet/runtime#136972 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di dotnet/runtime
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
sebastienros/jint#4531 ·
I maintainer di solito rispondono entro 1 giorno
-
Unable to buildApertaBug
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
I maintainer di solito rispondono entro 1 giorno
-
Assert.That on a null non-generic IEnumerable throws ArgumentNullException, so IsNull() cannot passApertabug P2
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
I maintainer di solito rispondono entro 1 giorno
-
area/automation area/sdk kind/bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
unoplatform/uno.templates#2406 ·
I maintainer di solito rispondono entro 1 giorno
-
bug frontend ui
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
I maintainer di solito rispondono entro 1 giorno